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.

GetBotOutput

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

type GetBotOutput struct { AbortStatement *Statement `locationName:"abortStatement" type:"structure"` Checksum *string `locationName:"checksum" type:"string"` ChildDirected *bool `locationName:"childDirected" type:"boolean"` ClarificationPrompt *Prompt `locationName:"clarificationPrompt" type:"structure"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"` Description *string `locationName:"description" type:"string"` FailureReason *string `locationName:"failureReason" type:"string"` IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"` Intents []*Intent `locationName:"intents" type:"list"` LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"` Locale *string `locationName:"locale" type:"string" enum:"Locale"` Name *string `locationName:"name" min:"2" type:"string"` Status *string `locationName:"status" type:"string" enum:"Status"` Version *string `locationName:"version" min:"1" type:"string"` VoiceId *string `locationName:"voiceId" type:"string"` }

AbortStatement

A collection of messages that convey information to the user. At runtime, Amazon Lex selects the message to convey.

Checksum

Type: *string

Checksum of the bot used to identify a specific revision of the bot's $LATEST version.

ChildDirected

Type: *bool

For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying true or false in the childDirected field. By specifying true in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifying false in the childDirected field, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the childDirected field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA.

If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ. (https://aws.amazon.com/lex/faqs#data-security)

ClarificationPrompt

Obtains information from the user. To define a prompt, provide one or more messages and specify the number of attempts to get information from the user. If you provide more than one message, Amazon Lex chooses one of the messages to use to prompt the user. For more information, see how-it-works.

CreatedDate

Type: *time.Time

The date that the bot was created.

Description

Type: *string

A description of the bot.

FailureReason

Type: *string

If status is FAILED, Amazon Lex explains why it failed to build the bot.

IdleSessionTTLInSeconds

Type: *int64

The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. For more information, see PutBot.

Intents

Identifies the specific version of an intent.

LastUpdatedDate

Type: *time.Time

The date that the bot was updated. When you create a resource, the creation date and last updated date are the same.

Locale

Type: *string

The target locale for the bot.

Name

Type: *string

The name of the bot.

Status

Type: *string

The status of the bot. If the bot is ready to run, the status is READY. If there was a problem with building the bot, the status is FAILED and the failureReason explains why the bot did not build. If the bot was saved but not built, the status is NOT BUILT.

Version

Type: *string

The version of the bot. For a new bot, the version is always $LATEST.

VoiceId

Type: *string

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. For more information, see PutBot.

Method

GoString

func (s GetBotOutput) GoString() string

GoString returns the string representation

SetAbortStatement

func (s *GetBotOutput) SetAbortStatement(v *Statement) *GetBotOutput

SetAbortStatement sets the AbortStatement field's value.

SetChecksum

func (s *GetBotOutput) SetChecksum(v string) *GetBotOutput

SetChecksum sets the Checksum field's value.

SetChildDirected

func (s *GetBotOutput) SetChildDirected(v bool) *GetBotOutput

SetChildDirected sets the ChildDirected field's value.

SetClarificationPrompt

func (s *GetBotOutput) SetClarificationPrompt(v *Prompt) *GetBotOutput

SetClarificationPrompt sets the ClarificationPrompt field's value.

SetCreatedDate

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

SetCreatedDate sets the CreatedDate field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetFailureReason

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

SetFailureReason sets the FailureReason field's value.

SetIdleSessionTTLInSeconds

func (s *GetBotOutput) SetIdleSessionTTLInSeconds(v int64) *GetBotOutput

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

SetIntents

func (s *GetBotOutput) SetIntents(v []*Intent) *GetBotOutput

SetIntents sets the Intents field's value.

SetLastUpdatedDate

func (s *GetBotOutput) SetLastUpdatedDate(v time.Time) *GetBotOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

SetLocale

func (s *GetBotOutput) SetLocale(v string) *GetBotOutput

SetLocale sets the Locale field's value.

SetName

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

SetName sets the Name field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetVersion

func (s *GetBotOutput) SetVersion(v string) *GetBotOutput

SetVersion sets the Version field's value.

SetVoiceId

func (s *GetBotOutput) SetVoiceId(v string) *GetBotOutput

SetVoiceId sets the VoiceId field's value.

String

func (s GetBotOutput) String() string

String returns the string representation

On this page: