chatbot / Client / describe_slack_workspaces
describe_slack_workspaces#
- chatbot.Client.describe_slack_workspaces(**kwargs)#
Lists all authorized Slack Workspaces for AWS Account
See also: AWS API Documentation
Request Syntax
response = client.describe_slack_workspaces( MaxResults=123, NextToken='string' )
- Parameters:
MaxResults (integer) – The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
NextToken (string) – An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
- Return type:
dict
- Returns:
Response Syntax
{ 'SlackWorkspaces': [ { 'SlackTeamId': 'string', 'SlackTeamName': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
SlackWorkspaces (list) – A list of Slack Workspaces registered with AWS Chatbot.
(dict) – A Slack Workspace.
SlackTeamId (string) – The ID of the Slack workspace authorized with AWS Chatbot.
SlackTeamName (string) – Name of the Slack Workspace.
NextToken (string) – An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
Exceptions
chatbot.Client.exceptions.DescribeSlackWorkspacesException
chatbot.Client.exceptions.InvalidRequestException
chatbot.Client.exceptions.InvalidParameterException