list_profile_resource_associations
¶
list_profile_resource_associations(
profile_id: ResourceId,
*,
config_overrides: Optional[Route53ProfilesClientConfig] = None,
resource_type: Optional[String] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListProfileResourceAssociationsResponse
Lists all the resource associations for the specified Route 53 Profile.
Parameters:
-
profile_id(ResourceId) –The ID of the Profile.
-
resource_type(Optional[String], default:None) –ID of a resource if you want information on only one type.
-
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.
-
InternalServiceErrorException–An internal server error occured. Retry your request.
-
InvalidNextTokenException–The
NextTokenyou provided isn;t valid. -
InvalidParameterException–One or more parameters in this request are not valid.
-
ResourceNotFoundException–The resource you are associating is not found.
-
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.