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.

CreateBotVersionOutput

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

type CreateBotVersionOutput 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 identifying the version of the bot that was created.

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 when the bot version was created.

Description

Type: *string

A description of the bot.

FailureReason

Type: *string

If status is FAILED, Amazon Lex provides the reason that 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 when the $LATEST version of this bot was updated.

Locale

Type: *string

Specifies the target locale for the bot.

Name

Type: *string

The name of the bot.

Status

Type: *string

When you send a request to create or update a bot, Amazon Lex sets the status response element to BUILDING. After Amazon Lex builds the bot, it sets status to READY. If Amazon Lex can't build the bot, it sets status to FAILED. Amazon Lex returns the reason for the failure in the failureReason response element.

Version

Type: *string

The version of the bot.

VoiceId

Type: *string

The Amazon Polly voice ID that Amazon Lex uses for voice interactions with the user.

Method

GoString

func (s CreateBotVersionOutput) GoString() string

GoString returns the string representation

SetAbortStatement

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

SetAbortStatement sets the AbortStatement field's value.

SetChecksum

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

SetChecksum sets the Checksum field's value.

SetChildDirected

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

SetChildDirected sets the ChildDirected field's value.

SetClarificationPrompt

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

SetClarificationPrompt sets the ClarificationPrompt field's value.

SetCreatedDate

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

SetCreatedDate sets the CreatedDate field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetFailureReason

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

SetFailureReason sets the FailureReason field's value.

SetIdleSessionTTLInSeconds

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

SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value.

SetIntents

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

SetIntents sets the Intents field's value.

SetLastUpdatedDate

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

SetLastUpdatedDate sets the LastUpdatedDate field's value.

SetLocale

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

SetLocale sets the Locale field's value.

SetName

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

SetName sets the Name field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetVersion

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

SetVersion sets the Version field's value.

SetVoiceId

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

SetVoiceId sets the VoiceId field's value.

String

func (s CreateBotVersionOutput) String() string

String returns the string representation

On this page: