list_profiles
async
¶
list_profiles(
*,
config_overrides: Optional[AsyncRoute53ProfilesClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListProfilesResponse
Lists all the Route 53 Profiles associated with your Amazon Web Services account.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of objects that you want to return for this request. If more objects are available, in the response, a
NextTokenvalue, which you can use in a subsequent call to get the next batch of objects, is provided.If you don't specify a value for
MaxResults, up to 100 objects are returned. -
next_token(Optional[NextToken], default:None) –For the first call to this list request, omit this value.
When you request a list of objects, at most the number of objects specified by
MaxResultsis returned. If more objects are available for retrieval, aNextTokenvalue is returned in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.
Raises:
-
AccessDeniedException–The current account doesn't have the IAM permissions required to perform the specified operation.
-
InvalidNextTokenException–The
NextTokenyou provided isn;t valid. -
InvalidParameterException–One or more parameters in this request are not valid.
-
ThrottlingException–The request was throttled. Try again in a few minutes.
-
ValidationException–You have provided an invalid command.
-
UnknownServiceError–The service returned an error code this client does not model.