class Aws::LexModelBuildingService::Types::ConversationLogsRequest

Provides the settings needed for conversation logs.

@note When making an API call, you may pass ConversationLogsRequest

data as a hash:

    {
      log_settings: [ # required
        {
          log_type: "AUDIO", # required, accepts AUDIO, TEXT
          destination: "CLOUDWATCH_LOGS", # required, accepts CLOUDWATCH_LOGS, S3
          kms_key_arn: "KmsKeyArn",
          resource_arn: "ResourceArn", # required
        },
      ],
      iam_role_arn: "IamRoleArn", # required
    }

@!attribute [rw] log_settings

The settings for your conversation logs. You can log the
conversation text, conversation audio, or both.
@return [Array<Types::LogSettingsRequest>]

@!attribute [rw] iam_role_arn

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][1].

[1]: https://docs.aws.amazon.com/lex/latest/dg/conversation-logs-role-and-policy.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/ConversationLogsRequest AWS API Documentation

Constants

SENSITIVE