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

Description

 
Synopsis

Documentation

data LogSettingsResponse Source #

The settings for conversation logs.

See: newLogSettingsResponse smart constructor.

Constructors

LogSettingsResponse' 

Fields

  • destination :: Maybe Destination

    The destination where logs are delivered.

  • kmsKeyArn :: Maybe Text

    The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket.

  • logType :: Maybe LogType

    The type of logging that is enabled.

  • resourceArn :: Maybe Text

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

  • resourcePrefix :: Maybe Text

    The resource prefix is the first part of the S3 object key within the S3 bucket that you specified to contain audio logs. For CloudWatch Logs it is the prefix of the log stream name within the log group that you specified.

Instances

Instances details
Eq LogSettingsResponse Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsResponse

Read LogSettingsResponse Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsResponse

Show LogSettingsResponse Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsResponse

Generic LogSettingsResponse Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsResponse

Associated Types

type Rep LogSettingsResponse :: Type -> Type #

NFData LogSettingsResponse Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsResponse

Methods

rnf :: LogSettingsResponse -> () #

Hashable LogSettingsResponse Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsResponse

FromJSON LogSettingsResponse Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsResponse

type Rep LogSettingsResponse Source # 
Instance details

Defined in Amazonka.LexModels.Types.LogSettingsResponse

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

newLogSettingsResponse :: LogSettingsResponse Source #

Create a value of LogSettingsResponse 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:destination:LogSettingsResponse', logSettingsResponse_destination - The destination where logs are delivered.

$sel:kmsKeyArn:LogSettingsResponse', logSettingsResponse_kmsKeyArn - The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket.

$sel:logType:LogSettingsResponse', logSettingsResponse_logType - The type of logging that is enabled.

$sel:resourceArn:LogSettingsResponse', logSettingsResponse_resourceArn - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered.

$sel:resourcePrefix:LogSettingsResponse', logSettingsResponse_resourcePrefix - The resource prefix is the first part of the S3 object key within the S3 bucket that you specified to contain audio logs. For CloudWatch Logs it is the prefix of the log stream name within the log group that you specified.

logSettingsResponse_destination :: Lens' LogSettingsResponse (Maybe Destination) Source #

The destination where logs are delivered.

logSettingsResponse_kmsKeyArn :: Lens' LogSettingsResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket.

logSettingsResponse_logType :: Lens' LogSettingsResponse (Maybe LogType) Source #

The type of logging that is enabled.

logSettingsResponse_resourceArn :: Lens' LogSettingsResponse (Maybe Text) Source #

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

logSettingsResponse_resourcePrefix :: Lens' LogSettingsResponse (Maybe Text) Source #

The resource prefix is the first part of the S3 object key within the S3 bucket that you specified to contain audio logs. For CloudWatch Logs it is the prefix of the log stream name within the log group that you specified.