libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LexModels.Types.LogSettingsRequest

Description

 
Synopsis

Documentation

data LogSettingsRequest Source #

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

See: newLogSettingsRequest smart constructor.

Constructors

LogSettingsRequest' 

Fields

  • kmsKeyArn :: Maybe Text

    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.

  • logType :: LogType

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

  • destination :: Destination

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

  • resourceArn :: Text

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

Instances

Instances details
Eq LogSettingsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsRequest

Read LogSettingsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsRequest

Show LogSettingsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsRequest

Generic LogSettingsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsRequest

Associated Types

type Rep LogSettingsRequest :: Type -> Type #

NFData LogSettingsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsRequest

Methods

rnf :: LogSettingsRequest -> () #

Hashable LogSettingsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsRequest

ToJSON LogSettingsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsRequest

type Rep LogSettingsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsRequest

type Rep LogSettingsRequest = D1 ('MetaData "LogSettingsRequest" "Amazonka.LexModels.Types.LogSettingsRequest" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "LogSettingsRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "kmsKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "logType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LogType)) :*: (S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Destination) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newLogSettingsRequest Source #

Create a value of LogSettingsRequest with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:kmsKeyArn:LogSettingsRequest', logSettingsRequest_kmsKeyArn - 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.

$sel:logType:LogSettingsRequest', logSettingsRequest_logType - The type of logging to enable. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.

$sel:destination:LogSettingsRequest', logSettingsRequest_destination - Where the logs will be delivered. Text logs are delivered to a CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.

$sel:resourceArn:LogSettingsRequest', logSettingsRequest_resourceArn - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs should be delivered.

logSettingsRequest_kmsKeyArn :: Lens' LogSettingsRequest (Maybe Text) Source #

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.

logSettingsRequest_logType :: Lens' LogSettingsRequest LogType Source #

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

logSettingsRequest_destination :: Lens' LogSettingsRequest Destination Source #

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

logSettingsRequest_resourceArn :: Lens' LogSettingsRequest Text Source #

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