Class: Aws::LexRuntimeV2::Types::Intent

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

Overview

The current intent that Amazon Lex V2 is attempting to fulfill.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#confirmation_stateString

Indicates whether the intent has been Confirmed, Denied, or None if the confirmation stage has not yet been reached.

Returns:

  • (String)


679
680
681
682
683
684
685
686
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 679

class Intent < Struct.new(
  :name,
  :slots,
  :state,
  :confirmation_state)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the intent.

Returns:

  • (String)


679
680
681
682
683
684
685
686
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 679

class Intent < Struct.new(
  :name,
  :slots,
  :state,
  :confirmation_state)
  SENSITIVE = []
  include Aws::Structure
end

#slotsHash<String,Types::Slot>

A map of all of the slots for the intent. The name of the slot maps to the value of the slot. If a slot has not been filled, the value is null.

Returns:



679
680
681
682
683
684
685
686
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 679

class Intent < Struct.new(
  :name,
  :slots,
  :state,
  :confirmation_state)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

Indicates the fulfillment state for the intent. The meanings of each value are as follows:

  • Failed – The bot failed to fulfill the intent.

  • Fulfilled – The bot has completed fulfillment of the intent.

  • FulfillmentInProgress – The bot is in the middle of fulfilling the intent.

  • InProgress – The bot is in the middle of eliciting the slot values that are necessary to fulfill the intent.

  • ReadyForFulfillment – The bot has elicited all the slot values for the intent and is ready to fulfill the intent.

  • Waiting – The bot is waiting for a response from the user (limited to streaming conversations).

Returns:

  • (String)


679
680
681
682
683
684
685
686
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 679

class Intent < Struct.new(
  :name,
  :slots,
  :state,
  :confirmation_state)
  SENSITIVE = []
  include Aws::Structure
end