Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data ConversationLogsRequest Source #
Provides the settings needed for conversation logs.
See: newConversationLogsRequest
smart constructor.
ConversationLogsRequest' | |
|
Instances
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.