:doc:`CloudFormation <../../cloudformation>` / Client / list_type_registrations

***********************
list_type_registrations
***********************



.. py:method:: CloudFormation.Client.list_type_registrations(**kwargs)

  

  Returns a list of registration tokens for the specified extension(s).

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypeRegistrations>`_  


  **Request Syntax**
  ::

    response = client.list_type_registrations(
        Type='RESOURCE'|'MODULE'|'HOOK',
        TypeName='string',
        TypeArn='string',
        RegistrationStatusFilter='COMPLETE'|'IN_PROGRESS'|'FAILED',
        MaxResults=123,
        NextToken='string'
    )
    
  :type Type: string
  :param Type: 

    The kind of extension.

     

    Conditional: You must specify either ``TypeName`` and ``Type``, or ``Arn``.

    

  
  :type TypeName: string
  :param TypeName: 

    The name of the extension.

     

    Conditional: You must specify either ``TypeName`` and ``Type``, or ``Arn``.

    

  
  :type TypeArn: string
  :param TypeArn: 

    The Amazon Resource Name (ARN) of the extension.

     

    Conditional: You must specify either ``TypeName`` and ``Type``, or ``Arn``.

    

  
  :type RegistrationStatusFilter: string
  :param RegistrationStatusFilter: 

    The current status of the extension registration request.

     

    The default is ``IN_PROGRESS``.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a ``NextToken`` value that you can assign to the ``NextToken`` request parameter to get the next set of results.

    

  
  :type NextToken: string
  :param NextToken: 

    The token for the next set of items to return. (You received this token from a previous call.)

    

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

    
    ::

      {
          'RegistrationTokenList': [
              'string',
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **RegistrationTokenList** *(list) --* 

        A list of extension registration tokens.

         

        Use  DescribeTypeRegistration to return detailed information about a type registration request.

        
        

        - *(string) --* 
    
      

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

        If the request doesn't return all the remaining results, ``NextToken`` is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's ``NextToken`` parameter. If the request returns all results, ``NextToken`` is set to ``null``.

        
  
  **Exceptions**
  
  *   :py:class:`CloudFormation.Client.exceptions.CFNRegistryException`

  