:doc:`LicenseManager <../../license-manager>` / Paginator / ListResourceInventory

*********************
ListResourceInventory
*********************



.. py:class:: LicenseManager.Paginator.ListResourceInventory

  ::

    
    paginator = client.get_paginator('list_resource_inventory')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`LicenseManager.Client.list_resource_inventory`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListResourceInventory>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          Filters=[
              {
                  'Name': 'string',
                  'Condition': 'EQUALS'|'NOT_EQUALS'|'BEGINS_WITH'|'CONTAINS',
                  'Value': 'string'
              },
          ],
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type Filters: list
    :param Filters: 

      Filters to scope the results. The following filters and logical operators are supported:

       

      
      * ``account_id`` - The ID of the Amazon Web Services account that owns the resource. Logical operators are ``EQUALS`` | ``NOT_EQUALS``.
       
      * ``application_name`` - The name of the application. Logical operators are ``EQUALS`` | ``BEGINS_WITH``.
       
      * ``license_included`` - The type of license included. Logical operators are ``EQUALS`` | ``NOT_EQUALS``. Possible values are ``sql-server-enterprise`` | ``sql-server-standard`` | ``sql-server-web`` | ``windows-server-datacenter``.
       
      * ``platform`` - The platform of the resource. Logical operators are ``EQUALS`` | ``BEGINS_WITH``.
       
      * ``resource_id`` - The ID of the resource. Logical operators are ``EQUALS`` | ``NOT_EQUALS``.
       
      * ``tag:<key>`` - The key/value combination of a tag assigned to the resource. Logical operators are ``EQUALS`` (single account) or ``EQUALS`` | ``NOT_EQUALS`` (cross account).
      

      

    
      - *(dict) --* 

        An inventory filter.

        

      
        - **Name** *(string) --* **[REQUIRED]** 

          Name of the filter.

          

        
        - **Condition** *(string) --* **[REQUIRED]** 

          Condition of the filter.

          

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

          Value of the filter.

          

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

      
      ::

        {
            'ResourceInventoryList': [
                {
                    'ResourceId': 'string',
                    'ResourceType': 'EC2_INSTANCE'|'EC2_HOST'|'EC2_AMI'|'RDS'|'SYSTEMS_MANAGER_MANAGED_INSTANCE',
                    'ResourceArn': 'string',
                    'Platform': 'string',
                    'PlatformVersion': 'string',
                    'ResourceOwningAccountId': 'string',
                    'MarketplaceProductCodes': [
                        'string',
                    ],
                    'UsageOperation': 'string',
                    'AmiId': 'string',
                    'HostId': 'string',
                    'Region': 'string',
                    'InstanceType': 'string'
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **ResourceInventoryList** *(list) --* 

          Information about the resources.

          
          

          - *(dict) --* 

            Details about a resource.

            
            

            - **ResourceId** *(string) --* 

              ID of the resource.

              
            

            - **ResourceType** *(string) --* 

              Type of resource.

              
            

            - **ResourceArn** *(string) --* 

              Amazon Resource Name (ARN) of the resource.

              
            

            - **Platform** *(string) --* 

              Platform of the resource.

              
            

            - **PlatformVersion** *(string) --* 

              Platform version of the resource in the inventory.

              
            

            - **ResourceOwningAccountId** *(string) --* 

              ID of the account that owns the resource.

              
            

            - **MarketplaceProductCodes** *(list) --* 

              List of Marketplace product codes associated with the resource.

              
              

              - *(string) --* 
          
            

            - **UsageOperation** *(string) --* 

              Usage operation value that corresponds to the license type for billing purposes.

              
            

            - **AmiId** *(string) --* 

              Amazon Machine Image (AMI) ID associated with the resource.

              
            

            - **HostId** *(string) --* 

              Dedicated Host ID where the resource is running.

              
            

            - **Region** *(string) --* 

              Region where the resource is located.

              
            

            - **InstanceType** *(string) --* 

              EC2 instance type of the resource.

              
        
      
    