PartnerCentralChannelAPI / Paginator / ListProgramManagementAccounts
ListProgramManagementAccounts¶
- class PartnerCentralChannelAPI.Paginator.ListProgramManagementAccounts¶
paginator = client.get_paginator('list_program_management_accounts')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
PartnerCentralChannelAPI.Client.list_program_management_accounts().See also: AWS API Documentation
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' } )
- Parameters:
catalog (string) –
[REQUIRED]
The catalog identifier to filter accounts.
displayNames (list) –
Filter by display names.
(string) –
programs (list) –
Filter by program types.
(string) –
accountIds (list) –
Filter by AWS account IDs.
(string) –
statuses (list) –
Filter by program management account statuses.
(string) –
sort (dict) –
Sorting options for the results.
sortOrder (string) – [REQUIRED]
The sort order (ascending or descending).
sortBy (string) – [REQUIRED]
The field to sort by.
PaginationConfig (dict) –
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
NextTokenwill 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
NextTokenfrom a previous response.
- Return type:
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.