AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb

Overview

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
}

Provides the settings needed for conversation logs.

Constant Summary collapse

SENSITIVE =
[]

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)


352
353
354
355
356
357
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 352

class ConversationLogsRequest < Struct.new(
  :log_settings,
  :iam_role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#log_settingsArray<Types::LogSettingsRequest>

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

Returns:



352
353
354
355
356
357
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 352

class ConversationLogsRequest < Struct.new(
  :log_settings,
  :iam_role_arn)
  SENSITIVE = []
  include Aws::Structure
end