Skip to content

UpdateSlackChannelConfigurationRequest

Source code in docs_src/capo_chatbot/types/update_slack_channel_configuration_request.py
class UpdateSlackChannelConfigurationRequest(TypedDict, closed=True):
    chat_configuration_arn: (
        "capo_chatbot.types.chat_configuration_arn.ChatConfigurationArn"
    )
    """<p>The Amazon Resource Name (ARN) of the SlackChannelConfiguration to update.</p>"""
    slack_channel_id: "capo_chatbot.types.slack_channel_id.SlackChannelId"
    """<p>The ID of the Slack channel.</p> <p>To get this ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example, ABCBBLZZZ. </p>"""
    slack_channel_name: NotRequired[
        "capo_chatbot.types.slack_channel_display_name.SlackChannelDisplayName"
    ]
    """<p>The name of the Slack channel.</p>"""
    sns_topic_arns: NotRequired["capo_chatbot.types.sns_topic_arn_list.SnsTopicArnList"]
    """<p>The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.</p>"""
    iam_role_arn: NotRequired["capo_chatbot.types.arn.Arn"]
    """<p>A user-defined role that AWS Chatbot assumes. This is not the service-linked role.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html">IAM policies for AWS Chatbot</a> in the <i> AWS Chatbot Administrator Guide</i>. </p>"""
    logging_level: NotRequired[
        "capo_chatbot.types.customer_cw_log_level.CustomerCwLogLevel"
    ]
    """<p>Logging levels include <code>ERROR</code>, <code>INFO</code>, or <code>NONE</code>.</p>"""
    guardrail_policy_arns: NotRequired[
        "capo_chatbot.types.guardrail_policy_arn_list.GuardrailPolicyArnList"
    ]
    """<p>The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed <code>AdministratorAccess</code> policy is applied by default if this is not set. </p>"""
    user_authorization_required: NotRequired[
        "capo_chatbot.types.boolean_account_preference.BooleanAccountPreference"
    ]
    """<p>Enables use of a user role requirement in your chat configuration.</p>"""

chat_configuration_arn instance-attribute

chat_configuration_arn: ChatConfigurationArn

The Amazon Resource Name (ARN) of the SlackChannelConfiguration to update.

guardrail_policy_arns instance-attribute

guardrail_policy_arns: NotRequired[GuardrailPolicyArnList]

The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed AdministratorAccess policy is applied by default if this is not set.

iam_role_arn instance-attribute

iam_role_arn: NotRequired[Arn]

A user-defined role that AWS Chatbot assumes. This is not the service-linked role.

For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.

logging_level instance-attribute

logging_level: NotRequired[CustomerCwLogLevel]

Logging levels include ERROR, INFO, or NONE.

slack_channel_id instance-attribute

slack_channel_id: SlackChannelId

The ID of the Slack channel.

To get this ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example, ABCBBLZZZ.

slack_channel_name instance-attribute

slack_channel_name: NotRequired[SlackChannelDisplayName]

The name of the Slack channel.

sns_topic_arns instance-attribute

sns_topic_arns: NotRequired[SnsTopicArnList]

The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.

user_authorization_required instance-attribute

user_authorization_required: NotRequired[BooleanAccountPreference]

Enables use of a user role requirement in your chat configuration.