SupportApp.Client.
create_slack_channel_configuration
(**kwargs)¶Creates a Slack channel configuration for your Amazon Web Services account.
Note
A Slack channel can have up to 100 Amazon Web Services accounts. This means that only 100 accounts can add the same Slack channel to the Amazon Web Services Support App. We recommend that you only add the accounts that you need to manage support cases for your organization. This can reduce the notifications about case updates that you receive in the Slack channel.
Note
We recommend that you choose a private Slack channel so that only members in that channel have read and write access to your support cases. Anyone in your Slack channel can create, update, or resolve support cases for your account. Users require an invitation to join private channels.
See also: AWS API Documentation
Request Syntax
response = client.create_slack_channel_configuration(
channelId='string',
channelName='string',
channelRoleArn='string',
notifyOnAddCorrespondenceToCase=True|False,
notifyOnCaseSeverity='none'|'all'|'high',
notifyOnCreateOrReopenCase=True|False,
notifyOnResolveCase=True|False,
teamId='string'
)
[REQUIRED]
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
[REQUIRED]
The Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations on Amazon Web Services. For more information, see Managing access to the Amazon Web Services Support App in the Amazon Web Services Support User Guide .
[REQUIRED]
The case severity for a support case that you want to receive notifications.
If you specify high
or all
, you must specify true
for at least one of the following parameters:
notifyOnAddCorrespondenceToCase
notifyOnCreateOrReopenCase
notifyOnResolveCase
If you specify none
, the following parameters must be null or false
:
notifyOnAddCorrespondenceToCase
notifyOnCreateOrReopenCase
notifyOnResolveCase
Note
If you don't specify these parameters in your request, they default to false
.
[REQUIRED]
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.
dict
Response Syntax
{}
Response Structure
Exceptions
SupportApp.Client.exceptions.ServiceQuotaExceededException
SupportApp.Client.exceptions.ConflictException
SupportApp.Client.exceptions.AccessDeniedException
SupportApp.Client.exceptions.InternalServerException
SupportApp.Client.exceptions.ValidationException