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.

CreateIntentVersionOutput

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

type CreateIntentVersionOutput struct { Checksum *string `locationName:"checksum" type:"string"` ConclusionStatement *Statement `locationName:"conclusionStatement" type:"structure"` ConfirmationPrompt *Prompt `locationName:"confirmationPrompt" type:"structure"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"` Description *string `locationName:"description" type:"string"` DialogCodeHook *CodeHook `locationName:"dialogCodeHook" type:"structure"` FollowUpPrompt *FollowUpPrompt `locationName:"followUpPrompt" type:"structure"` FulfillmentActivity *FulfillmentActivity `locationName:"fulfillmentActivity" type:"structure"` LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"` Name *string `locationName:"name" min:"1" type:"string"` ParentIntentSignature *string `locationName:"parentIntentSignature" type:"string"` RejectionStatement *Statement `locationName:"rejectionStatement" type:"structure"` SampleUtterances []*string `locationName:"sampleUtterances" type:"list"` Slots []*Slot `locationName:"slots" type:"list"` Version *string `locationName:"version" min:"1" type:"string"` }

Checksum

Type: *string

Checksum of the intent version created.

ConclusionStatement

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

ConfirmationPrompt

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 intent was created.

Description

Type: *string

A description of the intent.

DialogCodeHook

Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot..

FollowUpPrompt

A prompt for additional activity after an intent is fulfilled. For example, after the OrderPizza intent is fulfilled, you might prompt the user to find out whether the user wants to order drinks.

FulfillmentActivity

Describes how the intent is fulfilled after the user provides all of the information required for the intent. You can provide a Lambda function to process the intent, or you can return the intent information to the client application. We recommend that you use a Lambda function so that the relevant logic lives in the Cloud and limit the client-side code primarily to presentation. If you need to update the logic, you only update the Lambda function; you don't need to upgrade your client application.

Consider the following examples:

  • In a pizza ordering application, after the user provides all of the information for placing an order, you use a Lambda function to place an order with a pizzeria.

  • In a gaming application, when a user says "pick up a rock," this information must go back to the client application so that it can perform the operation and update the graphics. In this case, you want Amazon Lex to return the intent data to the client.

LastUpdatedDate

Type: *time.Time

The date that the intent was updated.

Name

Type: *string

The name of the intent.

ParentIntentSignature

Type: *string

A unique identifier for a built-in intent.

RejectionStatement

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

SampleUtterances

Type: []*string

An array of sample utterances configured for the intent.

Slots

Identifies the version of a specific slot.

Version

Type: *string

The version number assigned to the new version of the intent.

Method

GoString

func (s CreateIntentVersionOutput) GoString() string

GoString returns the string representation

SetChecksum

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

SetChecksum sets the Checksum field's value.

SetConclusionStatement

func (s *CreateIntentVersionOutput) SetConclusionStatement(v *Statement) *CreateIntentVersionOutput

SetConclusionStatement sets the ConclusionStatement field's value.

SetConfirmationPrompt

func (s *CreateIntentVersionOutput) SetConfirmationPrompt(v *Prompt) *CreateIntentVersionOutput

SetConfirmationPrompt sets the ConfirmationPrompt field's value.

SetCreatedDate

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

SetCreatedDate sets the CreatedDate field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetDialogCodeHook

func (s *CreateIntentVersionOutput) SetDialogCodeHook(v *CodeHook) *CreateIntentVersionOutput

SetDialogCodeHook sets the DialogCodeHook field's value.

SetFollowUpPrompt

func (s *CreateIntentVersionOutput) SetFollowUpPrompt(v *FollowUpPrompt) *CreateIntentVersionOutput

SetFollowUpPrompt sets the FollowUpPrompt field's value.

SetFulfillmentActivity

func (s *CreateIntentVersionOutput) SetFulfillmentActivity(v *FulfillmentActivity) *CreateIntentVersionOutput

SetFulfillmentActivity sets the FulfillmentActivity field's value.

SetLastUpdatedDate

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

SetLastUpdatedDate sets the LastUpdatedDate field's value.

SetName

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

SetName sets the Name field's value.

SetParentIntentSignature

func (s *CreateIntentVersionOutput) SetParentIntentSignature(v string) *CreateIntentVersionOutput

SetParentIntentSignature sets the ParentIntentSignature field's value.

SetRejectionStatement

func (s *CreateIntentVersionOutput) SetRejectionStatement(v *Statement) *CreateIntentVersionOutput

SetRejectionStatement sets the RejectionStatement field's value.

SetSampleUtterances

func (s *CreateIntentVersionOutput) SetSampleUtterances(v []*string) *CreateIntentVersionOutput

SetSampleUtterances sets the SampleUtterances field's value.

SetSlots

func (s *CreateIntentVersionOutput) SetSlots(v []*Slot) *CreateIntentVersionOutput

SetSlots sets the Slots field's value.

SetVersion

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

SetVersion sets the Version field's value.

String

func (s CreateIntentVersionOutput) String() string

String returns the string representation

On this page: