AWSLexGetSessionResponse

Objective-C

@interface AWSLexGetSessionResponse

Swift

class AWSLexGetSessionResponse
  • A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the PostContent, PostText, or PutSession operation.

    You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSLexActiveContext *> *_Nullable activeContexts;

    Swift

    var activeContexts: [AWSLexActiveContext]? { get set }
  • Describes the current state of the bot.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLexDialogAction *_Nullable dialogAction;

    Swift

    var dialogAction: AWSLexDialogAction? { get set }
  • An array of information about the intents used in the session. The array can contain a maximum of three summaries. If more than three intents are used in the session, the recentIntentSummaryView operation contains information about the last three intents used.

    If you set the checkpointLabelFilter parameter in the request, the array contains only the intents with the specified label.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSLexIntentSummary *> *_Nullable recentIntentSummaryView;

    Swift

    var recentIntentSummaryView: [AWSLexIntentSummary]? { get set }
  • Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable sessionAttributes;

    Swift

    var sessionAttributes: [String : String]? { get set }
  • A unique identifier for the session.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable sessionId;

    Swift

    var sessionId: String? { get set }