Skip to content

ConversationLogsRequest

Source code in docs_src/capo_lex_model_building_service/types/conversation_logs_request.py
class ConversationLogsRequest(TypedDict, closed=True):
    log_settings: "capo_lex_model_building_service.types.log_settings_request_list.LogSettingsRequestList"
    """<p>The settings for your conversation logs. You can log the conversation text, conversation audio, or both.</p>"""
    iam_role_arn: "capo_lex_model_building_service.types.iam_role_arn.IamRoleArn"
    """<p>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 <a href="https://docs.aws.amazon.com/lex/latest/dg/conversation-logs-role-and-policy.html">Creating an IAM Role and Policy for Conversation Logs</a>.</p>"""

iam_role_arn instance-attribute

iam_role_arn: 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.

log_settings instance-attribute

log_settings: LogSettingsRequestList

The settings for your conversation logs. You can log the conversation text, conversation audio, or both.