SupportApp / Client / create_slack_channel_configuration

create_slack_channel_configuration#

SupportApp.Client.create_slack_channel_configuration(**kwargs)#

Creates a Slack channel configuration for your Amazon Web Services account.

Note

  • You can add up to 5 Slack workspaces for your account.

  • You can add up to 20 Slack channels for your account.

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'
)
Parameters:
  • channelId (string) –

    [REQUIRED]

    The channel ID in Slack. This ID identifies a channel within a Slack workspace.

  • channelName (string) – The name of the Slack channel that you configure for the Amazon Web Services Support App.

  • channelRoleArn (string) –

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

  • notifyOnAddCorrespondenceToCase (boolean) – Whether you want to get notified when a support case has a new correspondence.

  • notifyOnCaseSeverity (string) –

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

  • notifyOnCreateOrReopenCase (boolean) – Whether you want to get notified when a support case is created or reopened.

  • notifyOnResolveCase (boolean) – Whether you want to get notified when a support case is resolved.

  • teamId (string) –

    [REQUIRED]

    The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • SupportApp.Client.exceptions.ServiceQuotaExceededException

  • SupportApp.Client.exceptions.ConflictException

  • SupportApp.Client.exceptions.AccessDeniedException

  • SupportApp.Client.exceptions.InternalServerException

  • SupportApp.Client.exceptions.ValidationException