AmplifyGen3 / Paginator / ListAccessControls
ListAccessControls¶
- class AmplifyGen3.Paginator.ListAccessControls¶
paginator = client.get_paginator('list_access_controls')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
AmplifyGen3.Client.list_access_controls().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( AppName='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
AppName (string) –
[REQUIRED]
The name of the app.
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
{ 'AccessControls': [ { 'EnvironmentName': 'string', 'ProviderType': 'OIDC'|'IAM_IDENTITY_CENTER', 'Scope': 'ALL_DEPLOYMENTS'|'NON_ACTIVE_DEPLOYMENTS', 'Rule': { 'AnyAuthenticatedUser': {}, 'UserClaims': [ { 'Key': 'string', 'Operator': 'EQUALS'|'CONTAINS'|'BEGINS_WITH'|'ENDS_WITH', 'Value': 'string' }, ] }, 'Status': 'ENABLING'|'ENABLED'|'ENABLE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'DISABLING'|'DISABLED'|'DISABLE_FAILED', 'EnabledAt': datetime(2015, 1, 1) }, ], }
Response Structure
(dict) –
AccessControls (list) –
The access control configurations.
(dict) –
Summary information for an environment’s access control configuration.
EnvironmentName (string) –
The name of the environment.
ProviderType (string) –
The type of identity provider.
Scope (string) –
The scope that the access control configuration applies to.
Rule (dict) –
The rule that determines which users are granted access.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
AnyAuthenticatedUser,UserClaims. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
AnyAuthenticatedUser (dict) –
Admits any user who signs in successfully.
UserClaims (list) –
Admits users whose token claims match the specified conditions.
(dict) –
A condition that a user’s claims must satisfy to be granted access.
Key (string) –
The name of the user claim to evaluate.
Operator (string) –
The operator used to compare the claim value.
Value (string) –
The value to compare the claim against.
Status (string) –
The status of the access control configuration.
EnabledAt (datetime) –
The time at which access control was enabled for the environment.