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)


338
339
340
341
342
343
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 338

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:



338
339
340
341
342
343
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 338

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