:doc:`IAMRolesAnywhere <../../rolesanywhere>` / Paginator / ListSubjects

************
ListSubjects
************



.. py:class:: IAMRolesAnywhere.Paginator.ListSubjects

  ::

    
    paginator = client.get_paginator('list_subjects')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`IAMRolesAnywhere.Client.list_subjects`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListSubjects>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          pageSize=123,
          PaginationConfig={
              'MaxItems': 123,
              'StartingToken': 'string'
          }
      )
      
    :type pageSize: integer
    :param pageSize: 

      The number of resources in the paginated list.

      

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

        

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

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

        

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

      
      ::

        {
            'subjects': [
                {
                    'subjectArn': 'string',
                    'subjectId': 'string',
                    'enabled': True|False,
                    'x509Subject': 'string',
                    'lastSeenAt': datetime(2015, 1, 1),
                    'createdAt': datetime(2015, 1, 1),
                    'updatedAt': datetime(2015, 1, 1)
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **subjects** *(list) --* 

          A list of subjects.

          
          

          - *(dict) --* 

            A summary representation of subjects.

            
            

            - **subjectArn** *(string) --* 

              The ARN of the resource.

              
            

            - **subjectId** *(string) --* 

              The id of the resource.

              
            

            - **enabled** *(boolean) --* 

              The enabled status of the subject.

              
            

            - **x509Subject** *(string) --* 

              The x509 principal identifier of the authenticating certificate.

              
            

            - **lastSeenAt** *(datetime) --* 

              The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.

              
            

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

              The ISO-8601 time stamp of when the certificate was first used in a temporary credential request.

              
            

            - **updatedAt** *(datetime) --* 

              The ISO-8601 timestamp when the subject was last updated.

              
        
      
        

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

          A token to resume pagination.

          
    