Skip to content

Update Slack Channel Configuration

chatbot_update_slack_channel_configuration R Documentation

Updates a Slack channel configuration

Description

Updates a Slack channel configuration.

Usage

chatbot_update_slack_channel_configuration(ChatConfigurationArn,
  SlackChannelId, SlackChannelName, SnsTopicArns, IamRoleArn,
  LoggingLevel, GuardrailPolicyArns, UserAuthorizationRequired)

Arguments

ChatConfigurationArn

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

SlackChannelId

[required] 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.

SlackChannelName

The name of the Slack channel.

SnsTopicArns

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

IamRoleArn

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.

LoggingLevel

Logging levels include ERROR, INFO, or NONE.

GuardrailPolicyArns

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.

UserAuthorizationRequired

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

Value

A list with the following syntax:

list(
  ChannelConfiguration = list(
    SlackTeamName = "string",
    SlackTeamId = "string",
    SlackChannelId = "string",
    SlackChannelName = "string",
    ChatConfigurationArn = "string",
    IamRoleArn = "string",
    SnsTopicArns = list(
      "string"
    ),
    ConfigurationName = "string",
    LoggingLevel = "string",
    GuardrailPolicyArns = list(
      "string"
    ),
    UserAuthorizationRequired = TRUE|FALSE,
    Tags = list(
      list(
        TagKey = "string",
        TagValue = "string"
      )
    ),
    State = "string",
    StateReason = "string"
  )
)

Request syntax

svc$update_slack_channel_configuration(
  ChatConfigurationArn = "string",
  SlackChannelId = "string",
  SlackChannelName = "string",
  SnsTopicArns = list(
    "string"
  ),
  IamRoleArn = "string",
  LoggingLevel = "string",
  GuardrailPolicyArns = list(
    "string"
  ),
  UserAuthorizationRequired = TRUE|FALSE
)