Chatbot / Client / list_microsoft_teams_configured_teams

list_microsoft_teams_configured_teams#

Chatbot.Client.list_microsoft_teams_configured_teams(**kwargs)#

Lists all authorized MS teams for AWS Account

See also: AWS API Documentation

Request Syntax

response = client.list_microsoft_teams_configured_teams(
    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

{
    'ConfiguredTeams': [
        {
            'TenantId': 'string',
            'TeamId': 'string',
            'TeamName': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ConfiguredTeams (list) – A list of teams in Microsoft Teams that have been configured with AWS Chatbot.

      • (dict) – A Microsoft Teams team that has been authorized with AWS Chatbot.

        • TenantId (string) – The ID of the Microsoft Teams tenant.

        • TeamId (string) – The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide.

        • TeamName (string) – The name of the Microsoft Teams Team.

    • 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