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

Description

 
Synopsis

Documentation

data ConversationLogsRequest Source #

Provides the settings needed for conversation logs.

See: newConversationLogsRequest smart constructor.

Constructors

ConversationLogsRequest' 

Fields

  • logSettings :: [LogSettingsRequest]

    The settings for your conversation logs. You can log the conversation text, conversation audio, or both.

  • iamRoleArn :: Text

    The Amazon Resource Name (ARN) of an IAM role with permission to write to your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio encryption is enabled, this role also provides access permission for the AWS KMS key used for encrypting audio logs. For more information, see Creating an IAM Role and Policy for Conversation Logs.

Instances

Instances details
Eq ConversationLogsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.ConversationLogsRequest

Read ConversationLogsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.ConversationLogsRequest

Show ConversationLogsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.ConversationLogsRequest

Generic ConversationLogsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.ConversationLogsRequest

Associated Types

type Rep ConversationLogsRequest :: Type -> Type #

NFData ConversationLogsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.ConversationLogsRequest

Methods

rnf :: ConversationLogsRequest -> () #

Hashable ConversationLogsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.ConversationLogsRequest

ToJSON ConversationLogsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.ConversationLogsRequest

type Rep ConversationLogsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.ConversationLogsRequest

type Rep ConversationLogsRequest = D1 ('MetaData "ConversationLogsRequest" "Amazonka.LexModels.Types.ConversationLogsRequest" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "ConversationLogsRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [LogSettingsRequest]) :*: S1 ('MetaSel ('Just "iamRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newConversationLogsRequest Source #

Create a value of ConversationLogsRequest 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:logSettings:ConversationLogsRequest', conversationLogsRequest_logSettings - The settings for your conversation logs. You can log the conversation text, conversation audio, or both.

$sel:iamRoleArn:ConversationLogsRequest', conversationLogsRequest_iamRoleArn - The Amazon Resource Name (ARN) of an IAM role with permission to write to your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio encryption is enabled, this role also provides access permission for the AWS KMS key used for encrypting audio logs. For more information, see Creating an IAM Role and Policy for Conversation Logs.

conversationLogsRequest_logSettings :: Lens' ConversationLogsRequest [LogSettingsRequest] Source #

The settings for your conversation logs. You can log the conversation text, conversation audio, or both.

conversationLogsRequest_iamRoleArn :: Lens' ConversationLogsRequest Text Source #

The Amazon Resource Name (ARN) of an IAM role with permission to write to your CloudWatch Logs for text logs and your S3 bucket for audio logs. If audio encryption is enabled, this role also provides access permission for the AWS KMS key used for encrypting audio logs. For more information, see Creating an IAM Role and Policy for Conversation Logs.