amazonka-lex-models-2.0: Amazon Lex Model Building Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Read ConversationLogsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.ConversationLogsRequest

Show ConversationLogsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.ConversationLogsRequest

NFData ConversationLogsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.ConversationLogsRequest

Methods

rnf :: ConversationLogsRequest -> () #

Eq ConversationLogsRequest Source # 
Instance details

Defined in Amazonka.LexModels.Types.ConversationLogsRequest

Hashable 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" "amazonka-lex-models-2.0-8Q1WIjnrCCIAMPuyNOCiG7" '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.