ConversationLogsRequest - Amazon Lex

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: