ListSlackChannelConfigurations - AWS Support App in Slack

ListSlackChannelConfigurations

Lists the Slack channel configurations for an AWS account.

Request Syntax

POST /control/list-slack-channel-configurations HTTP/1.1 Content-type: application/json { "nextToken": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

nextToken

If the results of a search are large, the API only returns a portion of the results and includes a nextToken pagination token in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When the API returns the last set of results, the response doesn't include a pagination token value.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: ^\S+$

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "nextToken": "string", "slackChannelConfigurations": [ { "channelId": "string", "channelName": "string", "channelRoleArn": "string", "notifyOnAddCorrespondenceToCase": boolean, "notifyOnCaseSeverity": "string", "notifyOnCreateOrReopenCase": boolean, "notifyOnResolveCase": boolean, "teamId": "string" } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

nextToken

The point where pagination should resume when the response returns only partial results.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: ^\S+$

slackChannelConfigurations

The configurations for a Slack channel.

Type: Array of SlackChannelConfiguration objects

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You don't have sufficient permission to perform this action.

HTTP Status Code: 403

InternalServerException

We can’t process your request right now because of a server issue. Try again later.

HTTP Status Code: 500

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: