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

*******************************
list_app_version_app_components
*******************************



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

  

  Lists all the Application Components in the Resilience Hub application.

  

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


  **Request Syntax**
  ::

    response = client.list_app_version_app_components(
        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]** 

    Version of the Application Component.

    

  
  :type maxResults: integer
  :param maxResults: 

    Maximum number of Application Components to be displayed per Resilience Hub application version.

    

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

    
    ::

      {
          'appArn': 'string',
          'appComponents': [
              {
                  'additionalInfo': {
                      'string': [
                          'string',
                      ]
                  },
                  'id': 'string',
                  'name': 'string',
                  'type': 'string'
              },
          ],
          'appVersion': 'string',
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **appArn** *(string) --* 

        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.

        
      

      - **appComponents** *(list) --* 

        Defines an Application Component.

        
        

        - *(dict) --* 

          Defines an Application Component.

          
          

          - **additionalInfo** *(dict) --* 

            Additional configuration parameters for an Resilience Hub application. If you want to implement ``additionalInfo`` through the Resilience Hub console rather than using an API call, see `Configure the application configuration parameters <https://docs.aws.amazon.com/resilience-hub/latest/userguide/app-config-param.html>`__.

             

            .. note::

              

              Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.

               

              Key: ``"failover-regions"``

               

              Value: ``"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"``

              

            
            

            - *(string) --* 
              

              - *(list) --* 
                

                - *(string) --* 
            
        
      
          

          - **id** *(string) --* 

            Identifier of the Application Component.

            
          

          - **name** *(string) --* 

            Name of the Application Component.

            
          

          - **type** *(string) --* 

            The type of Application Component.

            
      
    
      

      - **appVersion** *(string) --* 

        Resilience Hub application version.

        
      

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

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

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

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

  