:doc:`ResilienceHub <../../resiliencehub>` / Client / list_app_input_sources

**********************
list_app_input_sources
**********************



.. py:method:: ResilienceHub.Client.list_app_input_sources(**kwargs)

  

  Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see `Discover the structure and describe your Resilience Hub application <https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppInputSources>`_  


  **Request Syntax**
  ::

    response = client.list_app_input_sources(
        appArn='string',
        appVersion='string',
        maxResults=123,
        nextToken='string'
    )
    
  :type appArn: string
  :param appArn: **[REQUIRED]** 

    Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: ``partition``:resiliencehub: ``region``: ``account``:app/ ``app-id``. For more information about ARNs, see `Amazon Resource Names (ARNs) <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__ in the *Amazon Web Services General Reference* guide.

    

  
  :type appVersion: string
  :param appVersion: **[REQUIRED]** 

    Resilience Hub application version.

    

  
  :type maxResults: integer
  :param maxResults: 

    Maximum number of input sources to be displayed per Resilience Hub application.

    

  
  :type nextToken: string
  :param nextToken: 

    Null, or the token from a previous call to get the next set of results.

    

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

    
    ::

      {
          'appInputSources': [
              {
                  'eksSourceClusterNamespace': {
                      'eksClusterArn': 'string',
                      'namespace': 'string'
                  },
                  'importType': 'CfnStack'|'Resource'|'AppRegistryApp'|'ResourceGroup'|'Terraform'|'EKS',
                  'resourceCount': 123,
                  'sourceArn': 'string',
                  'sourceName': 'string',
                  'terraformSource': {
                      's3StateFileUrl': 'string'
                  }
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **appInputSources** *(list) --* 

        The list of Resilience Hub application input sources.

        
        

        - *(dict) --* 

          The list of Resilience Hub application input sources.

          
          

          - **eksSourceClusterNamespace** *(dict) --* 

            The namespace on your Amazon Elastic Kubernetes Service cluster.

            
            

            - **eksClusterArn** *(string) --* 

              Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service cluster. The format for this ARN is: arn: ``aws``:eks: ``region``: ``account-id``:cluster/ ``cluster-name``. For more information about ARNs, see `Amazon Resource Names (ARNs) <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__ in the *Amazon Web Services General Reference* guide.

              
            

            - **namespace** *(string) --* 

              Name of the namespace that is located on your Amazon Elastic Kubernetes Service cluster.

              
        
          

          - **importType** *(string) --* 

            The resource type of the input source.

            
          

          - **resourceCount** *(integer) --* 

            The number of resources.

            
          

          - **sourceArn** *(string) --* 

            The Amazon Resource Name (ARN) of the input source. For more information about ARNs, see `Amazon Resource Names (ARNs) <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__ in the *Amazon Web Services General Reference* guide.

            
          

          - **sourceName** *(string) --* 

            The name of the input source.

            
          

          - **terraformSource** *(dict) --* 

            The name of the Terraform s3 state ﬁle.

            
            

            - **s3StateFileUrl** *(string) --* 

              The URL of the Terraform s3 state file you need to import.

              
        
      
    
      

      - **nextToken** *(string) --* 

        Token for the next set of results, or null if there are no more results.

        
  
  **Exceptions**
  
  *   :py:class:`ResilienceHub.Client.exceptions.InternalServerException`

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

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

  
  *   :py:class:`ResilienceHub.Client.exceptions.ValidationException`

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

  