You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::LexModelBuildingService::Types::CreateIntentVersionResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#checksumString

Checksum of the intent version created.

Returns:

  • (String)


508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#conclusion_statementTypes::Statement

After the Lambda function specified in the fulfillmentActivity field fulfills the intent, Amazon Lex conveys this statement to the user.

Returns:



508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#confirmation_promptTypes::Prompt

If defined, the prompt that Amazon Lex uses to confirm the user's intent before fulfilling it.

Returns:



508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#created_dateTime

The date that the intent was created.

Returns:

  • (Time)


508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#descriptionString

A description of the intent.

Returns:

  • (String)


508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#dialog_code_hookTypes::CodeHook

If defined, Amazon Lex invokes this Lambda function for each user input.

Returns:



508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#follow_up_promptTypes::FollowUpPrompt

If defined, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.



508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#fulfillment_activityTypes::FulfillmentActivity

Describes how the intent is fulfilled.



508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#last_updated_dateTime

The date that the intent was updated.

Returns:

  • (Time)


508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#nameString

The name of the intent.

Returns:

  • (String)


508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#parent_intent_signatureString

A unique identifier for a built-in intent.

Returns:

  • (String)


508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#rejection_statementTypes::Statement

If the user answers "no" to the question defined in confirmationPrompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled.

Returns:



508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#sample_utterancesArray<String>

An array of sample utterances configured for the intent.

Returns:

  • (Array<String>)


508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#slotsArray<Types::Slot>

An array of slot types that defines the information required to fulfill the intent.

Returns:



508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end

#versionString

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

Returns:

  • (String)


508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 508

class CreateIntentVersionResponse < Struct.new(
  :name,
  :description,
  :slots,
  :sample_utterances,
  :confirmation_prompt,
  :rejection_statement,
  :follow_up_prompt,
  :conclusion_statement,
  :dialog_code_hook,
  :fulfillment_activity,
  :parent_intent_signature,
  :last_updated_date,
  :created_date,
  :version,
  :checksum)
  include Aws::Structure
end