:doc:`Chatbot <../../chatbot>` / Client / list_microsoft_teams_channel_configurations

*******************************************
list_microsoft_teams_channel_configurations
*******************************************



.. py:method:: Chatbot.Client.list_microsoft_teams_channel_configurations(**kwargs)

  

  Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/ListMicrosoftTeamsChannelConfigurations>`_  


  **Request Syntax**
  ::

    response = client.list_microsoft_teams_channel_configurations(
        MaxResults=123,
        NextToken='string',
        TeamId='string'
    )
    
  :type MaxResults: integer
  :param MaxResults: 

    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.

    

  
  :type NextToken: string
  :param NextToken: 

    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.

    

  
  :type TeamId: string
  :param TeamId: 

    The ID of the Microsoft Teams 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 information, see `Step 1\: Configure a Microsoft Teams client <https://docs.aws.amazon.com/chatbot/latest/adminguide/teams-setup.html#teams-client-setup>`__ in the *AWS Chatbot Administrator Guide*.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'NextToken': 'string',
          'TeamChannelConfigurations': [
              {
                  'ChannelId': 'string',
                  'ChannelName': 'string',
                  'TeamId': 'string',
                  'TeamName': 'string',
                  'TenantId': 'string',
                  'ChatConfigurationArn': 'string',
                  'IamRoleArn': 'string',
                  'SnsTopicArns': [
                      'string',
                  ],
                  'ConfigurationName': 'string',
                  'LoggingLevel': 'string',
                  'GuardrailPolicyArns': [
                      'string',
                  ],
                  'UserAuthorizationRequired': True|False,
                  'Tags': [
                      {
                          'TagKey': 'string',
                          'TagValue': 'string'
                      },
                  ],
                  'State': 'string',
                  'StateReason': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        
      

      - **TeamChannelConfigurations** *(list) --* 

        A list of AWS Chatbot channel configurations for Microsoft Teams.

        
        

        - *(dict) --* 

          An AWS Chatbot configuration for Microsoft Teams.

          
          

          - **ChannelId** *(string) --* 

            The ID of the Microsoft Teams channel.

            
          

          - **ChannelName** *(string) --* 

            The name of the Microsoft Teams channel.

            
          

          - **TeamId** *(string) --* 

            The ID of the Microsoft Teams 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 information, see `Step 1\: Configure a Microsoft Teams client <https://docs.aws.amazon.com/chatbot/latest/adminguide/teams-setup.html#teams-client-setup>`__ in the *AWS Chatbot Administrator Guide*.

            
          

          - **TeamName** *(string) --* 

            The name of the Microsoft Teams Team.

            
          

          - **TenantId** *(string) --* 

            The ID of the Microsoft Teams tenant.

            
          

          - **ChatConfigurationArn** *(string) --* 

            The Amazon Resource Name (ARN) of the MicrosoftTeamsChannelConfiguration associated with the user identity to delete.

            
          

          - **IamRoleArn** *(string) --* 

            A user-defined role that AWS Chatbot assumes. This is not the service-linked role.

             

            For more information, see `IAM policies for AWS Chatbot <https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-iam-policies.html>`__ in the *AWS Chatbot Administrator Guide*.

            
          

          - **SnsTopicArns** *(list) --* 

            The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.

            
            

            - *(string) --* 
        
          

          - **ConfigurationName** *(string) --* 

            The name of the configuration.

            
          

          - **LoggingLevel** *(string) --* 

            Logging levels include ``ERROR``, ``INFO``, or ``NONE``.

            
          

          - **GuardrailPolicyArns** *(list) --* 

            The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed ``AdministratorAccess`` policy is applied by default if this is not set.

            
            

            - *(string) --* 
        
          

          - **UserAuthorizationRequired** *(boolean) --* 

            Enables use of a user role requirement in your chat configuration.

            
          

          - **Tags** *(list) --* 

            A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

            
            

            - *(dict) --* 

              A key-value pair. A tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty (null) strings.

               

              .. warning::

                 

                Do not include confidential or sensitive information in this field.

                 

               

              For more information, see `User-Defined Tag Restrictions <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html>`__ in the *AWS Billing and Cost Management User Guide*.

              
              

              - **TagKey** *(string) --* 

                The key of the tag.

                
              

              - **TagValue** *(string) --* 

                The value of the tag.

                
          
        
          

          - **State** *(string) --* 

            Either ``ENABLED`` or ``DISABLED``. The resource returns ``DISABLED`` if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.

            
          

          - **StateReason** *(string) --* 

            Provided if State is ``DISABLED``. Provides context as to why the resource is disabled.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`Chatbot.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`Chatbot.Client.exceptions.ListTeamsChannelConfigurationsException`

  
  *   :py:class:`Chatbot.Client.exceptions.InvalidRequestException`

  