:doc:`Route53Profiles <../../route53profiles>` / Client / get_profile_association

***********************
get_profile_association
***********************



.. py:method:: Route53Profiles.Client.get_profile_association(**kwargs)

  

  Retrieves a Route 53 Profile association for a VPC. A VPC can have only one Profile association, but a Profile can be associated with up to 5000 VPCs.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53profiles-2018-05-10/GetProfileAssociation>`_  


  **Request Syntax**
  ::

    response = client.get_profile_association(
        ProfileAssociationId='string'
    )
    
  :type ProfileAssociationId: string
  :param ProfileAssociationId: **[REQUIRED]** 

    The identifier of the association you want to get information about.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'ProfileAssociation': {
              'CreationTime': datetime(2015, 1, 1),
              'Id': 'string',
              'ModificationTime': datetime(2015, 1, 1),
              'Name': 'string',
              'OwnerId': 'string',
              'ProfileId': 'string',
              'ResourceId': 'string',
              'Status': 'COMPLETE'|'DELETING'|'UPDATING'|'CREATING'|'DELETED'|'FAILED',
              'StatusMessage': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ProfileAssociation** *(dict) --* 

        Information about the Profile association that you specified in a ``GetProfileAssociation`` request.

        
        

        - **CreationTime** *(datetime) --* 

          The date and time that the Profile association was created, in Unix time format and Coordinated Universal Time (UTC).

          
        

        - **Id** *(string) --* 

          ID of the Profile association.

          
        

        - **ModificationTime** *(datetime) --* 

          The date and time that the Profile association was modified, in Unix time format and Coordinated Universal Time (UTC).

          
        

        - **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.

          
    
  
  **Exceptions**
  
  *   :py:class:`Route53Profiles.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Route53Profiles.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Route53Profiles.Client.exceptions.ValidationException`

  
  *   :py:class:`Route53Profiles.Client.exceptions.AccessDeniedException`

  