:doc:`AppMesh <../../appmesh>` / Paginator / ListVirtualServices

*******************
ListVirtualServices
*******************



.. py:class:: AppMesh.Paginator.ListVirtualServices

  ::

    
    paginator = client.get_paginator('list_virtual_services')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`AppMesh.Client.list_virtual_services`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices>`_    


    **Request Syntax**
    ::

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

      The name of the service mesh to list virtual services in.

      

    
    :type meshOwner: string
    :param meshOwner: 

      The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see `Working with shared meshes <https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html>`__.

      

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

      
      ::

        {
            'virtualServices': [
                {
                    'arn': 'string',
                    'createdAt': datetime(2015, 1, 1),
                    'lastUpdatedAt': datetime(2015, 1, 1),
                    'meshName': 'string',
                    'meshOwner': 'string',
                    'resourceOwner': 'string',
                    'version': 123,
                    'virtualServiceName': 'string'
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **virtualServices** *(list) --* 

          The list of existing virtual services for the specified service mesh.

          
          

          - *(dict) --* 

            An object that represents a virtual service returned by a list operation.

            
            

            - **arn** *(string) --* 

              The full Amazon Resource Name (ARN) for the virtual service.

              
            

            - **createdAt** *(datetime) --* 

              The Unix epoch timestamp in seconds for when the resource was created.

              
            

            - **lastUpdatedAt** *(datetime) --* 

              The Unix epoch timestamp in seconds for when the resource was last updated.

              
            

            - **meshName** *(string) --* 

              The name of the service mesh that the virtual service resides in.

              
            

            - **meshOwner** *(string) --* 

              The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see `Working with shared meshes <https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html>`__.

              
            

            - **resourceOwner** *(string) --* 

              The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see `Working with shared meshes <https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html>`__.

              
            

            - **version** *(integer) --* 

              The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.

              
            

            - **virtualServiceName** *(string) --* 

              The name of the virtual service.

              
        
      
        

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

          A token to resume pagination.

          
    