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.

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

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

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

Overview

Note:

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

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.

Possible values:

  • CLOUDWATCH_LOGS
  • S3

Returns:

  • (String)

    Where the logs will be delivered.

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

    The Amazon Resource Name (ARN) of the AWS KMS customer managed key for encrypting audio logs delivered to an S3 bucket.

#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.

Possible values:

  • AUDIO
  • TEXT

Returns:

  • (String)

    The type of logging to enable.

#resource_arnString

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

Returns:

  • (String)

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