:doc:`Outposts <../../outposts>` / Paginator / ListAssetInstances

******************
ListAssetInstances
******************



.. py:class:: Outposts.Paginator.ListAssetInstances

  ::

    
    paginator = client.get_paginator('list_asset_instances')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`Outposts.Client.list_asset_instances`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssetInstances>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          OutpostIdentifier='string',
          AssetIdFilter=[
              'string',
          ],
          InstanceTypeFilter=[
              'string',
          ],
          AccountIdFilter=[
              'string',
          ],
          AwsServiceFilter=[
              'AWS'|'EC2'|'ELASTICACHE'|'ELB'|'RDS'|'ROUTE53',
          ],
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type OutpostIdentifier: string
    :param OutpostIdentifier: **[REQUIRED]** 

      The ID of the Outpost.

      

    
    :type AssetIdFilter: list
    :param AssetIdFilter: 

      Filters the results by asset ID.

      

    
      - *(string) --* 

      
  
    :type InstanceTypeFilter: list
    :param InstanceTypeFilter: 

      Filters the results by instance ID.

      

    
      - *(string) --* 

      
  
    :type AccountIdFilter: list
    :param AccountIdFilter: 

      Filters the results by account ID.

      

    
      - *(string) --* 

        The ID of the Amazon Web Services account.

        

      
  
    :type AwsServiceFilter: list
    :param AwsServiceFilter: 

      Filters the results by Amazon Web Services service.

      

    
      - *(string) --* 

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

      
      ::

        {
            'AssetInstances': [
                {
                    'InstanceId': 'string',
                    'InstanceType': 'string',
                    'AssetId': 'string',
                    'AccountId': 'string',
                    'AwsServiceName': 'AWS'|'EC2'|'ELASTICACHE'|'ELB'|'RDS'|'ROUTE53'
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **AssetInstances** *(list) --* 

          List of instances owned by all accounts on the Outpost. Does not include Amazon EBS or Amazon S3 instances.

          
          

          - *(dict) --* 

            An Amazon EC2 instance.

            
            

            - **InstanceId** *(string) --* 

              The ID of the instance.

              
            

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

              The type of instance.

              
            

            - **AssetId** *(string) --* 

              The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.

              
            

            - **AccountId** *(string) --* 

              The ID of the Amazon Web Services account.

              
            

            - **AwsServiceName** *(string) --* 

              The Amazon Web Services service name of the instance.

              
        
      
    