Class: Aws::LexModelBuildingService::Types::LogSettingsRequest

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 LogSettingsRequest data as a hash:

{
  log_type: "AUDIO", # required, accepts AUDIO, TEXT
  destination: "CLOUDWATCH_LOGS", # required, accepts CLOUDWATCH_LOGS, S3
  kms_key_arn: "KmsKeyArn",
  resource_arn: "ResourceArn", # required
}

Settings used to configure delivery mode and destination for conversation logs.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destinationString

Where the logs will be delivered. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.

Returns:

  • (String)


2809
2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2809

class LogSettingsRequest < Struct.new(
  :log_type,
  :destination,
  :kms_key_arn,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_arnString

The Amazon Resource Name (ARN) of the AWS KMS customer managed key for encrypting audio logs delivered to an S3 bucket. The key does not apply to CloudWatch Logs and is optional for S3 buckets.

Returns:

  • (String)


2809
2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2809

class LogSettingsRequest < Struct.new(
  :log_type,
  :destination,
  :kms_key_arn,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#log_typeString

The type of logging to enable. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.

Returns:

  • (String)


2809
2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2809

class LogSettingsRequest < Struct.new(
  :log_type,
  :destination,
  :kms_key_arn,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be delivered.

Returns:

  • (String)


2809
2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2809

class LogSettingsRequest < Struct.new(
  :log_type,
  :destination,
  :kms_key_arn,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end