AWSLexPutSessionRequest Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSLexModel.h
AWSLexModel.m

  accept

The message that Amazon Lex returns in the response can be either text or speech based depending on the value of this field.

  • If the value is text/plain; charset=utf-8, Amazon Lex returns text in the response.

  • If the value begins with audio/, Amazon Lex returns speech in the response. Amazon Lex uses Amazon Polly to generate the speech in the configuration that you specify. For example, if you specify audio/mpeg as the value, Amazon Lex returns speech in the MPEG format.

  • If the value is audio/pcm, the speech is returned as audio/pcm in 16-bit, little endian format.

  • The following are the accepted values:

    • audio/mpeg

    • audio/ogg

    • audio/pcm

    • audio/* (defaults to mpeg)

    • text/plain; charset=utf-8

@property (nonatomic, strong) NSString *accept

Declared In

AWSLexModel.h

  botAlias

The alias in use for the bot that contains the session data.

@property (nonatomic, strong) NSString *botAlias

Declared In

AWSLexModel.h

  botName

The name of the bot that contains the session data.

@property (nonatomic, strong) NSString *botName

Declared In

AWSLexModel.h

  dialogAction

Sets the next action that the bot should take to fulfill the conversation.

@property (nonatomic, strong) AWSLexDialogAction *dialogAction

Declared In

AWSLexModel.h

  sessionAttributes

Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.

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

Declared In

AWSLexModel.h

  userId

The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.

@property (nonatomic, strong) NSString *userId

Declared In

AWSLexModel.h