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::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)


3000
3001
3002
3003
3004
3005
3006
3007
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 3000

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)


3000
3001
3002
3003
3004
3005
3006
3007
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 3000

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)


3000
3001
3002
3003
3004
3005
3006
3007
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 3000

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)


3000
3001
3002
3003
3004
3005
3006
3007
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 3000

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