Route53Profiles / Client / list_profile_resource_associations
list_profile_resource_associations¶
- Route53Profiles.Client.list_profile_resource_associations(**kwargs)¶
Lists all the resource associations for the specified Route 53 Profile.
See also: AWS API Documentation
Request Syntax
response = client.list_profile_resource_associations( ProfileId='string', ResourceType='string', ResourceArn='string', MaxResults=123, NextToken='string' )
- Parameters:
ProfileId (string) –
[REQUIRED]
The ID of the Profile.
ResourceType (string) – ID of a resource if you want information on only one type.
ResourceArn (string) – The Amazon Resource Name (ARN) of a resource. If you specify this parameter, only the association with that resource is returned.
MaxResults (integer) –
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.NextToken (string) –
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.
- Return type:
dict
- Returns:
Response Syntax
{ 'ProfileResourceAssociations': [ { 'Id': 'string', 'Name': 'string', 'OwnerId': 'string', 'ProfileId': 'string', 'ResourceArn': 'string', 'ResourceType': 'string', 'ResourceProperties': 'string', 'Status': 'COMPLETE'|'DELETING'|'UPDATING'|'CREATING'|'DELETED'|'FAILED', 'StatusMessage': 'string', 'CreationTime': datetime(2015, 1, 1), 'ModificationTime': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
ProfileResourceAssociations (list) –
Information about the profile resource association that you specified in a
GetProfileResourceAssociationrequest.(dict) –
The association between a Route 53 Profile and resources.
Id (string) –
ID of the Profile resource association.
Name (string) –
Name of the Profile resource association.
OwnerId (string) –
Amazon Web Services account ID of the Profile resource association owner.
ProfileId (string) –
Profile ID of the Profile that the resources are associated with.
ResourceArn (string) –
The Amazon Resource Name (ARN) of the resource association.
ResourceType (string) –
Resource type, such as a private hosted zone, interface VPC endpoint, Resolver query log configuration, or DNS Firewall rule group.
ResourceProperties (string) –
If the DNS resource is a DNS Firewall rule group, this indicates the priority.
Status (string) –
Status of the Profile resource association.
StatusMessage (string) –
Additional information about the Profile resource association.
CreationTime (datetime) –
The date and time that the Profile resource association was created, in Unix time format and Coordinated Universal Time (UTC).
ModificationTime (datetime) –
The date and time that the Profile resource association was modified, in Unix time format and Coordinated Universal Time (UTC).
NextToken (string) –
If more than
MaxResultsresource associations match the specified criteria, you can submit anotherListProfileResourceAssociationsrequest to get the next group of results. In the next request, specify the value ofNextTokenfrom the previous response.
Exceptions