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.

GetBotChannelAssociationsInput

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

type GetBotChannelAssociationsInput struct { BotAlias *string `location:"uri" locationName:"aliasName" min:"1" type:"string" required:"true"` BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"` MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NameContains *string `location:"querystring" locationName:"nameContains" min:"1" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` }

BotAlias

Type: *string

An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.

BotAlias is a required field

BotName

Type: *string

The name of the Amazon Lex bot in the association.

BotName is a required field

MaxResults

Type: *int64

The maximum number of associations to return in the response. The default is 50.

NameContains

Type: *string

Substring to match in channel association names. An association will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To return all bot channel associations, use a hyphen ("-") as the nameContains parameter.

NextToken

Type: *string

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

Method

GoString

func (s GetBotChannelAssociationsInput) GoString() string

GoString returns the string representation

SetBotAlias

func (s *GetBotChannelAssociationsInput) SetBotAlias(v string) *GetBotChannelAssociationsInput

SetBotAlias sets the BotAlias field's value.

SetBotName

func (s *GetBotChannelAssociationsInput) SetBotName(v string) *GetBotChannelAssociationsInput

SetBotName sets the BotName field's value.

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNameContains

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

SetNameContains sets the NameContains field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s GetBotChannelAssociationsInput) String() string

String returns the string representation

Validate

func (s *GetBotChannelAssociationsInput) Validate() error

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

On this page: