ECS.Paginator.
ListAccountSettings
¶paginator = client.get_paginator('list_account_settings')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from ECS.Client.list_account_settings()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
name='serviceLongArnFormat'|'taskLongArnFormat'|'containerInstanceLongArnFormat'|'awsvpcTrunking'|'containerInsights',
value='string',
principalArn='string',
effectiveSettings=True|False,
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
The ARN of the principal, which can be a user, role, or the root user. If this field is omitted, the account settings are listed only for the authenticated user.
Note
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
true
, the account settings for the root user or the default setting for the principalArn
are returned. If false
, the account settings for the principalArn
are returned if they're set. Otherwise, no account settings are returned.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
{
'settings': [
{
'name': 'serviceLongArnFormat'|'taskLongArnFormat'|'containerInstanceLongArnFormat'|'awsvpcTrunking'|'containerInsights',
'value': 'string',
'principalArn': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
settings (list) --
The account settings for the resource.
(dict) --
The current account setting for a resource.
name (string) --
The Amazon ECS resource name.
value (string) --
Determines whether the account setting is on or off for the specified resource.
principalArn (string) --
The ARN of the principal. It can be a user, role, or the root user. If this field is omitted, the authenticated user is assumed.
NextToken (string) --
A token to resume pagination.