Note:

You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . chatbot ]

update-slack-channel-configuration

Description

Updates a Slack channel configuration.

See also: AWS API Documentation

Synopsis

  update-slack-channel-configuration
--chat-configuration-arn <value>
--slack-channel-id <value>
[--slack-channel-name <value>]
[--sns-topic-arns <value>]
[--iam-role-arn <value>]
[--logging-level <value>]
[--guardrail-policy-arns <value>]
[--user-authorization-required | --no-user-authorization-required]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]

Options

--chat-configuration-arn (string)

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

--slack-channel-id (string)

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 (string)

The name of the Slack channel.

--sns-topic-arns (list)

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

(string)

Syntax:

"string" "string" ...

--iam-role-arn (string)

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 (string)

Logging levels include ERROR , INFO , or NONE .

--guardrail-policy-arns (list)

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.

(string)

Syntax:

"string" "string" ...

--user-authorization-required | --no-user-authorization-required (boolean)

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

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

Global Options

--debug (boolean)

Turn on debug logging.

--endpoint-url (string)

Override command's default URL with the given URL.

--no-verify-ssl (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

--no-paginate (boolean)

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

--output (string)

The formatting style for command output.

  • json
  • text
  • table

--query (string)

A JMESPath query to use in filtering the response data.

--profile (string)

Use a specific profile from your credential file.

--region (string)

The region to use. Overrides config/env settings.

--version (string)

Display the version of this tool.

--color (string)

Turn on/off color output.

  • on
  • off
  • auto

--no-sign-request (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

--ca-bundle (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

--cli-read-timeout (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

--cli-connect-timeout (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

Output

ChannelConfiguration -> (structure)

The configuration for a Slack channel configured with AWS Chatbot.

SlackTeamName -> (string)

Name of the Slack workspace.

SlackTeamId -> (string)

The ID of the Slack workspace authorized with Amazon Chime.

SlackChannelId -> (string)

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 -> (string)

The name of the Slack channel.

ChatConfigurationArn -> (string)

The Amazon Resource Number (ARN) of the SlackChannelConfiguration.

IamRoleArn -> (string)

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 .

SnsTopicArns -> (list)

The ARNs of the SNS topics that deliver notifications to AWS Chatbot.

(string)

ConfigurationName -> (string)

The name of the configuration.

LoggingLevel -> (string)

Logging levels include ERROR , INFO , or NONE .

GuardrailPolicyArns -> (list)

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.

(string)

UserAuthorizationRequired -> (boolean)

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

Tags -> (list)

A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

(structure)

A key-value pair. A tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty (null) strings.

Warning

Do not include confidential or sensitive information in this field.

For more information, see User-Defined Tag Restrictions in the AWS Billing and Cost Management User Guide .

TagKey -> (string)

The key of the tag.

TagValue -> (string)

The value of the tag.

State -> (string)

Either ENABLED or DISABLED . The resource returns DISABLED if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.

StateReason -> (string)

Provided if State is DISABLED . Provides context as to why the resource is disabled.