SSOAdmin / Client / list_application_grants
list_application_grants#
- SSOAdmin.Client.list_application_grants(**kwargs)#
List the grants associated with an application.
See also: AWS API Documentation
Request Syntax
response = client.list_application_grants( ApplicationArn='string', NextToken='string' )
- Parameters:
ApplicationArn (string) –
[REQUIRED]
Specifies the ARN of the application whose grants you want to list.
NextToken (string) – Specifies that you want to receive the next page of results. Valid only if you received a
NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call’sNextToken
response to request the next page of results.
- Return type:
dict
- Returns:
Response Syntax
{ 'Grants': [ { 'Grant': { 'AuthorizationCode': { 'RedirectUris': [ 'string', ] }, 'JwtBearer': { 'AuthorizedTokenIssuers': [ { 'AuthorizedAudiences': [ 'string', ], 'TrustedTokenIssuerArn': 'string' }, ] } }, 'GrantType': 'authorization_code'|'refresh_token'|'urn:ietf:params:oauth:grant-type:jwt-bearer'|'urn:ietf:params:oauth:grant-type:token-exchange' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
Grants (list) –
An array list of structures that describe the requested grants.
(dict) –
~~~[ TODO: ADD DESCRIPTION HERE ]~~~
Grant (dict) –
~~~[ TODO: ADD DESCRIPTION HERE ]~~~
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
AuthorizationCode
,JwtBearer
. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBER
is as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
AuthorizationCode (dict) –
~~~[ TODO: ADD DESCRIPTION HERE ]~~~
RedirectUris (list) –
~~~[ TODO: ADD DESCRIPTION HERE ]~~~
(string) –
JwtBearer (dict) –
~~~[ TODO: ADD DESCRIPTION HERE ]~~~
AuthorizedTokenIssuers (list) –
~~~[ TODO: ADD DESCRIPTION HERE ]~~~
(dict) –
A structure that describes a trusted token issuer and associates it with a set of authorized audiences.
AuthorizedAudiences (list) –
An array list of authorized audiences, or applications, that can consume the tokens generated by the associated trusted token issuer.
(string) –
TrustedTokenIssuerArn (string) –
The ARN of the trusted token issuer.
GrantType (string) –
~~~[ TODO: ADD DESCRIPTION HERE ]~~~
NextToken (string) –
If present, this value indicates that more output is available than is included in the current response. Use this value in the
NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response element comes back asnull
. This indicates that this is the last page of results.
Exceptions
SSOAdmin.Client.exceptions.ThrottlingException
SSOAdmin.Client.exceptions.InternalServerException
SSOAdmin.Client.exceptions.ResourceNotFoundException
SSOAdmin.Client.exceptions.AccessDeniedException
SSOAdmin.Client.exceptions.ValidationException