Route53Profiles / Client / list_profile_associations
list_profile_associations¶
- Route53Profiles.Client.list_profile_associations(**kwargs)¶
Lists all the VPCs that the specified Route 53 Profile is associated with.
See also: AWS API Documentation
Request Syntax
response = client.list_profile_associations( ResourceId='string', ProfileId='string', MaxResults=123, NextToken='string' )
- Parameters:
ResourceId (string) – ID of the VPC.
ProfileId (string) – ID of the Profile.
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
{ 'ProfileAssociations': [ { 'Id': 'string', 'Name': 'string', 'OwnerId': 'string', 'ProfileId': 'string', 'ResourceId': 'string', 'Status': 'COMPLETE'|'DELETING'|'UPDATING'|'CREATING'|'DELETED'|'FAILED', 'StatusMessage': 'string', 'CreationTime': datetime(2015, 1, 1), 'ModificationTime': datetime(2015, 1, 1), 'Priority': 123 }, ], 'NextToken': 'string' }
Response Structure
(dict) –
ProfileAssociations (list) –
A complex type that containts settings information about the profile’s VPC associations.
(dict) –
An association between a Route 53 Profile and a VPC.
Id (string) –
ID of the Profile association.
Name (string) –
Name of the Profile association.
OwnerId (string) –
Amazon Web Services account ID of the Profile association owner.
ProfileId (string) –
ID of the Profile.
ResourceId (string) –
The Amazon Resource Name (ARN) of the VPC.
Status (string) –
Status of the Profile association.
StatusMessage (string) –
Additional information about the Profile association.
CreationTime (datetime) –
The date and time that the Profile association was created, in Unix time format and Coordinated Universal Time (UTC).
ModificationTime (datetime) –
The date and time that the Profile association was modified, in Unix time format and Coordinated Universal Time (UTC).
Priority (integer) –
The priority of the Profile association. Route 53 VPC Resolver evaluates the Profile associations for a VPC in priority order, starting with the lowest value. Associations created without a priority have priority 100.
NextToken (string) –
If more than
MaxResultsprofile associations match the specified criteria, you can submit anotherListProfileAssociationsrequest to get the next group of results. In the next request, specify the value ofNextTokenfrom the previous response.
Exceptions