Organizations.Paginator.
ListChildren
¶paginator = client.get_paginator('list_children')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Organizations.Client.list_children()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ParentId='string',
ChildType='ACCOUNT'|'ORGANIZATIONAL_UNIT',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The unique identifier (ID) for the parent root or OU whose children you want to list.
The regex pattern for a parent ID string requires one of the following:
[REQUIRED]
Filters the output to include only the specified child type.
A dictionary that provides parameters to control pagination.
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.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'Children': [
{
'Id': 'string',
'Type': 'ACCOUNT'|'ORGANIZATIONAL_UNIT'
},
],
}
Response Structure
(dict) --
Children (list) --
The list of children of the specified parent container.
(dict) --
Contains a list of child entities, either OUs or accounts.
Id (string) --
The unique identifier (ID) of this child entity.
The regex pattern for a child ID string requires one of the following:
Type (string) --
The type of this child entity.