:doc:`ResilienceHub <../../resiliencehub>` / Paginator / ListAppAssessmentResourceDrifts

*******************************
ListAppAssessmentResourceDrifts
*******************************



.. py:class:: ResilienceHub.Paginator.ListAppAssessmentResourceDrifts

  ::

    
    paginator = client.get_paginator('list_app_assessment_resource_drifts')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`ResilienceHub.Client.list_app_assessment_resource_drifts`.

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


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          assessmentArn='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type assessmentArn: string
    :param assessmentArn: **[REQUIRED]** 

      Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn: ``partition``:resiliencehub: ``region``: ``account``:app-assessment/ ``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 PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

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

      
      ::

        {
            'resourceDrifts': [
                {
                    'appArn': 'string',
                    'appVersion': 'string',
                    'diffType': 'NotEqual'|'Added'|'Removed',
                    'referenceId': 'string',
                    'resourceIdentifier': {
                        'logicalResourceId': {
                            'eksSourceName': 'string',
                            'identifier': 'string',
                            'logicalStackName': 'string',
                            'resourceGroupName': 'string',
                            'terraformSourceName': 'string'
                        },
                        'resourceType': 'string'
                    }
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **resourceDrifts** *(list) --* 

          Indicates all the resource drifts detected for an assessed entity.

          
          

          - *(dict) --* 

            Indicates the resources that have drifted in the current application version.

            
            

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

              Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is: arn: ``partition``:resiliencehub: ``region``: ``account``:app-assessment/ ``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.

              
            

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

              Version of the application whose resources have drifted.

              
            

            - **diffType** *(string) --* 

              Indicates if the resource was added or removed.

              
            

            - **referenceId** *(string) --* 

              Reference identifier of the resource drift.

              
            

            - **resourceIdentifier** *(dict) --* 

              Identifier of the drifted resource.

              
              

              - **logicalResourceId** *(dict) --* 

                Logical identifier of the drifted resource.

                
                

                - **eksSourceName** *(string) --* 

                  Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.

                   

                  .. note::

                    

                    This parameter accepts values in "eks-cluster/namespace" format.

                    

                  
                

                - **identifier** *(string) --* 

                  Identifier of the resource.

                  
                

                - **logicalStackName** *(string) --* 

                  The name of the CloudFormation stack this resource belongs to.

                  
                

                - **resourceGroupName** *(string) --* 

                  The name of the resource group that this resource belongs to.

                  
                

                - **terraformSourceName** *(string) --* 

                  The name of the Terraform S3 state file this resource belongs to.

                  
            
              

              - **resourceType** *(string) --* 

                Type of the drifted resource.

                
          
        
      
        

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

          A token to resume pagination.

          
    