You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::LexModelBuildingService::Types::ConversationLogsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ConversationLogsRequest as input to an Aws::Client method, you can use a vanilla 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
}

Provides the settings needed for conversation logs.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#iam_role_arnString

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.

Returns:

  • (String)

    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.

#log_settingsArray<Types::LogSettingsRequest>

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

Returns: