list_keys
async
¶
list_keys(
*,
config_overrides: Optional[AsyncLocationClientConfig] = None,
max_results: Optional[int] = None,
next_token: Optional[Token] = None,
filter: Optional[ApiKeyFilter] = None,
) -> ListKeysResponse
Lists API key resources in your Amazon Web Services account.
For more information, see Use API keys to authenticate in the Amazon Location Service Developer Guide.
Parameters:
-
max_results(Optional[int], default:None) –An optional limit for the number of resources returned in a single call.
Default value:
100 -
next_token(Optional[Token], default:None) –The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value:
null -
filter(Optional[ApiKeyFilter], default:None) –Optionally filter the list to only
ActiveorExpiredAPI keys.
Raises:
-
AccessDeniedException–The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
-
InternalServerException–The request has failed to process because of an unknown server error, exception, or failure.
-
ThrottlingException–The request was denied because of request throttling.
-
ValidationException–The input failed to meet the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.