AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetBotsInput

import "github.com/aws/aws-sdk-go/service/lexmodelbuildingservice"

type GetBotsInput struct { MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NameContains *string `location:"querystring" locationName:"nameContains" min:"2" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` }

MaxResults

Type: *int64

The maximum number of bots to return in the response that the request will return. The default is 10.

NameContains

Type: *string

Substring to match in bot names. A bot will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

NextToken

Type: *string

A pagination token that fetches the next page of bots. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of bots, specify the pagination token in the next request.

Method

GoString

func (s GetBotsInput) GoString() string

GoString returns the string representation

SetMaxResults

func (s *GetBotsInput) SetMaxResults(v int64) *GetBotsInput

SetMaxResults sets the MaxResults field's value.

SetNameContains

func (s *GetBotsInput) SetNameContains(v string) *GetBotsInput

SetNameContains sets the NameContains field's value.

SetNextToken

func (s *GetBotsInput) SetNextToken(v string) *GetBotsInput

SetNextToken sets the NextToken field's value.

String

func (s GetBotsInput) String() string

String returns the string representation

Validate

func (s *GetBotsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: