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.

GetBotChannelAssociationOutput

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

type GetBotChannelAssociationOutput struct { BotAlias *string `locationName:"botAlias" min:"1" type:"string"` BotConfiguration map[string]*string `locationName:"botConfiguration" min:"1" type:"map" sensitive:"true"` BotName *string `locationName:"botName" min:"2" type:"string"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"` Description *string `locationName:"description" type:"string"` FailureReason *string `locationName:"failureReason" type:"string"` Name *string `locationName:"name" min:"1" type:"string"` Status *string `locationName:"status" type:"string" enum:"ChannelStatus"` Type *string `locationName:"type" type:"string" enum:"ChannelType"` }

BotAlias

Type: *string

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

BotConfiguration

Type: map[string]*string

Provides information that the messaging platform needs to communicate with the Amazon Lex bot.

BotName

Type: *string

The name of the Amazon Lex bot.

CreatedDate

Type: *time.Time

The date that the association between the bot and the channel was created.

Description

Type: *string

A description of the association between the bot and the channel.

FailureReason

Type: *string

If status is FAILED, Amazon Lex provides the reason that it failed to create the association.

Name

Type: *string

The name of the association between the bot and the channel.

Status

Type: *string

The status of the bot channel.

  • CREATED - The channel has been created and is ready for use.

  • IN_PROGRESS - Channel creation is in progress.

  • FAILED - There was an error creating the channel. For information about the reason for the failure, see the failureReason field.

Type

Type: *string

The type of the messaging platform.

Method

GoString

func (s GetBotChannelAssociationOutput) GoString() string

GoString returns the string representation

SetBotAlias

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

SetBotAlias sets the BotAlias field's value.

SetBotConfiguration

func (s *GetBotChannelAssociationOutput) SetBotConfiguration(v map[string]*string) *GetBotChannelAssociationOutput

SetBotConfiguration sets the BotConfiguration field's value.

SetBotName

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

SetBotName sets the BotName field's value.

SetCreatedDate

func (s *GetBotChannelAssociationOutput) SetCreatedDate(v time.Time) *GetBotChannelAssociationOutput

SetCreatedDate sets the CreatedDate field's value.

SetDescription

func (s *GetBotChannelAssociationOutput) SetDescription(v string) *GetBotChannelAssociationOutput

SetDescription sets the Description field's value.

SetFailureReason

func (s *GetBotChannelAssociationOutput) SetFailureReason(v string) *GetBotChannelAssociationOutput

SetFailureReason sets the FailureReason field's value.

SetName

func (s *GetBotChannelAssociationOutput) SetName(v string) *GetBotChannelAssociationOutput

SetName sets the Name field's value.

SetStatus

func (s *GetBotChannelAssociationOutput) SetStatus(v string) *GetBotChannelAssociationOutput

SetStatus sets the Status field's value.

SetType

func (s *GetBotChannelAssociationOutput) SetType(v string) *GetBotChannelAssociationOutput

SetType sets the Type field's value.

String

func (s GetBotChannelAssociationOutput) String() string

String returns the string representation

On this page: