If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead.
If you are using Amazon Lex V1, we recommend upgrading your bots to Amazon Lex V2. We are no longer adding new features to V1 and strongly recommend using V2 for all new bots.
ConversationLogsRequest
Provides the settings needed for conversation logs.
Contents
- iamRoleArn
-
The Amazon Resource Name (ARN) of an IAM role with permission to write to your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio encryption is enabled, this role also provides access permission for the AWS KMS key used for encrypting audio logs. For more information, see Creating an IAM Role and Policy for Conversation Logs.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Pattern:
^arn:[\w\-]+:iam::[\d]{12}:role/.+$
Required: Yes
- logSettings
-
The settings for your conversation logs. You can log the conversation text, conversation audio, or both.
Type: Array of LogSettingsRequest objects
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: