Interface ConversationLogsRequest.Builder

    • Method Detail

      • logSettings

        ConversationLogsRequest.Builder logSettings​(Collection<LogSettingsRequest> logSettings)

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

        Parameters:
        logSettings - The settings for your conversation logs. You can log the conversation text, conversation audio, or both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logSettings

        ConversationLogsRequest.Builder logSettings​(LogSettingsRequest... logSettings)

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

        Parameters:
        logSettings - The settings for your conversation logs. You can log the conversation text, conversation audio, or both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iamRoleArn

        ConversationLogsRequest.Builder iamRoleArn​(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.