:doc:`NetworkManager <../../networkmanager>` / Client / get_transit_gateway_registrations

*********************************
get_transit_gateway_registrations
*********************************



.. py:method:: NetworkManager.Client.get_transit_gateway_registrations(**kwargs)

  

  Gets information about the transit gateway registrations in a specified global network.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRegistrations>`_  


  **Request Syntax**
  ::

    response = client.get_transit_gateway_registrations(
        GlobalNetworkId='string',
        TransitGatewayArns=[
            'string',
        ],
        MaxResults=123,
        NextToken='string'
    )
    
  :type GlobalNetworkId: string
  :param GlobalNetworkId: **[REQUIRED]** 

    The ID of the global network.

    

  
  :type TransitGatewayArns: list
  :param TransitGatewayArns: 

    The Amazon Resource Names (ARNs) of one or more transit gateways. The maximum is 10.

    

  
    - *(string) --* 

    

  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return.

    

  
  :type NextToken: string
  :param NextToken: 

    The token for the next page of results.

    

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

    
    ::

      {
          'TransitGatewayRegistrations': [
              {
                  'GlobalNetworkId': 'string',
                  'TransitGatewayArn': 'string',
                  'State': {
                      'Code': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'|'FAILED',
                      'Message': 'string'
                  }
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **TransitGatewayRegistrations** *(list) --* 

        The transit gateway registrations.

        
        

        - *(dict) --* 

          Describes the registration of a transit gateway to a global network.

          
          

          - **GlobalNetworkId** *(string) --* 

            The ID of the global network.

            
          

          - **TransitGatewayArn** *(string) --* 

            The Amazon Resource Name (ARN) of the transit gateway.

            
          

          - **State** *(dict) --* 

            The state of the transit gateway registration.

            
            

            - **Code** *(string) --* 

              The code for the state reason.

              
            

            - **Message** *(string) --* 

              The message for the state reason.

              
        
      
    
      

      - **NextToken** *(string) --* 

        The token for the next page of results.

        
  
  **Exceptions**
  
  *   :py:class:`NetworkManager.Client.exceptions.ValidationException`

  
  *   :py:class:`NetworkManager.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ThrottlingException`

  
  *   :py:class:`NetworkManager.Client.exceptions.InternalServerException`

  