:doc:`PartnerCentralChannelAPI <../../partnercentral-channel>` / Paginator / ListProgramManagementAccounts

*****************************
ListProgramManagementAccounts
*****************************



.. py:class:: PartnerCentralChannelAPI.Paginator.ListProgramManagementAccounts

  ::

    
    paginator = client.get_paginator('list_program_management_accounts')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`PartnerCentralChannelAPI.Client.list_program_management_accounts`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/partnercentral-channel-2024-03-18/ListProgramManagementAccounts>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          catalog='string',
          displayNames=[
              'string',
          ],
          programs=[
              'SOLUTION_PROVIDER'|'DISTRIBUTION'|'DISTRIBUTION_SELLER',
          ],
          accountIds=[
              'string',
          ],
          statuses=[
              'PENDING'|'ACTIVE'|'INACTIVE',
          ],
          sort={
              'sortOrder': 'Ascending'|'Descending',
              'sortBy': 'UpdatedAt'
          },
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type catalog: string
    :param catalog: **[REQUIRED]** 

      The catalog identifier to filter accounts.

      

    
    :type displayNames: list
    :param displayNames: 

      Filter by display names.

      

    
      - *(string) --* 

      
  
    :type programs: list
    :param programs: 

      Filter by program types.

      

    
      - *(string) --* 

      
  
    :type accountIds: list
    :param accountIds: 

      Filter by AWS account IDs.

      

    
      - *(string) --* 

      
  
    :type statuses: list
    :param statuses: 

      Filter by program management account statuses.

      

    
      - *(string) --* 

      
  
    :type sort: dict
    :param sort: 

      Sorting options for the results.

      

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

        The sort order (ascending or descending).

        

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

        The field to sort by.

        

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

      
      ::

        {
            'items': [
                {
                    'id': 'string',
                    'revision': 'string',
                    'catalog': 'string',
                    'program': 'SOLUTION_PROVIDER'|'DISTRIBUTION'|'DISTRIBUTION_SELLER',
                    'displayName': 'string',
                    'accountId': 'string',
                    'arn': 'string',
                    'createdAt': datetime(2015, 1, 1),
                    'updatedAt': datetime(2015, 1, 1),
                    'startDate': datetime(2015, 1, 1),
                    'status': 'PENDING'|'ACTIVE'|'INACTIVE'
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **items** *(list) --* 

          List of program management accounts matching the criteria.

          
          

          - *(dict) --* 

            Summary information about a program management account.

            
            

            - **id** *(string) --* 

              The unique identifier of the program management account.

              
            

            - **revision** *(string) --* 

              The current revision number of the program management account.

              
            

            - **catalog** *(string) --* 

              The catalog identifier associated with the account.

              
            

            - **program** *(string) --* 

              The program type for the management account.

              
            

            - **displayName** *(string) --* 

              The display name of the program management account.

              
            

            - **accountId** *(string) --* 

              The AWS account ID associated with the program management account.

              
            

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

              The Amazon Resource Name (ARN) of the program management account.

              
            

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

              The timestamp when the account was created.

              
            

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

              The timestamp when the account was last updated.

              
            

            - **startDate** *(datetime) --* 

              The start date of the program management account.

              
            

            - **status** *(string) --* 

              The current status of the program management account.

              
        
      
        

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

          A token to resume pagination.

          
    