Lists the account settings for a specified principal
Source:R/ecs_operations.R
ecs_list_account_settings.RdLists the account settings for a specified principal.
See https://www.paws-r-sdk.com/docs/ecs_list_account_settings/ for full documentation.
Usage
ecs_list_account_settings(
name = NULL,
value = NULL,
principalArn = NULL,
effectiveSettings = NULL,
nextToken = NULL,
maxResults = NULL
)Arguments
- name
The name of the account setting you want to list the settings for.
- value
The value of the account settings to filter results with. You must also specify an account setting name to use this parameter.
- principalArn
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.
In order to use this parameter, you must be the root user, or the principal.
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
- effectiveSettings
Determines whether to return the effective settings. If
true, the account settings for the root user or the default setting for theprincipalArnare returned. Iffalse, the account settings for theprincipalArnare returned if they're set. Otherwise, no account settings are returned.- nextToken
The
nextTokenvalue returned from alist_account_settingsrequest indicating that more results are available to fulfill the request and further calls will be needed. IfmaxResultswas provided, it's possible the number of results to be fewer thanmaxResults.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
- maxResults
The maximum number of account setting results returned by
list_account_settingsin paginated output. When this parameter is used,list_account_settingsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherlist_account_settingsrequest with the returnednextTokenvalue. This value can be between 1 and 10. If this parameter isn't used, thenlist_account_settingsreturns up to 10 results and anextTokenvalue if applicable.