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

************
list_exports
************



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

  

  Lists all exported output values in the account and Region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the `Fn\:\:ImportValue <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-importvalue.html>`__ function.

   

  For more information, see `Get exported outputs from a deployed CloudFormation stack <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.html>`__.

  

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


  **Request Syntax**
  ::

    response = client.list_exports(
        NextToken='string'
    )
    
  :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**

    
    ::

      {
          'Exports': [
              {
                  'ExportingStackId': 'string',
                  'Name': 'string',
                  'Value': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Exports** *(list) --* 

        The output for the  ListExports action.

        
        

        - *(dict) --* 

          The ``Export`` structure describes the exported output values for a stack.

           

          For more information, see `Get exported outputs from a deployed CloudFormation stack <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.html>`__.

          
          

          - **ExportingStackId** *(string) --* 

            The stack that contains the exported output name and value.

            
          

          - **Name** *(string) --* 

            The name of exported output value. Use this name and the ``Fn::ImportValue`` function to import the associated value into other stacks. The name is defined in the ``Export`` field in the associated stack's ``Outputs`` section.

            
          

          - **Value** *(string) --* 

            The value of the exported output, such as a resource physical ID. This value is defined in the ``Export`` field in the associated stack's ``Outputs`` section.

            
      
    
      

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

        If the output exceeds 100 exported output values, a string that identifies the next page of exports. If there is no additional page, this value is null.

        
  