Route53Profiles / Client / get_profile_association
get_profile_association¶
- Route53Profiles.Client.get_profile_association(**kwargs)¶
Retrieves a Route 53 Profile association for a VPC. A VPC can have up to two Profile associations, and a Profile can be associated with up to 1,000 VPCs.
See also: AWS API Documentation
Request Syntax
response = client.get_profile_association( ProfileAssociationId='string' )
- Parameters:
ProfileAssociationId (string) –
[REQUIRED]
The identifier of the association you want to get information about.
- Return type:
dict
- Returns:
Response Syntax
{ 'ProfileAssociation': { '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 } }
Response Structure
(dict) –
ProfileAssociation (dict) –
Information about the Profile association that you specified in a
GetProfileAssociationrequest.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.
Exceptions