:doc:`Route53GlobalResolver <../../route53globalresolver>` / Client / get_hosted_zone_association

***************************
get_hosted_zone_association
***************************



.. py:method:: Route53GlobalResolver.Client.get_hosted_zone_association(**kwargs)

  

  Retrieves information about a hosted zone association.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53globalresolver-2022-09-27/GetHostedZoneAssociation>`_  


  **Request Syntax**
  ::

    response = client.get_hosted_zone_association(
        hostedZoneAssociationId='string'
    )
    
  :type hostedZoneAssociationId: string
  :param hostedZoneAssociationId: **[REQUIRED]** 

    ID of the private hosted zone association.

    

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

    
    ::

      {
          'id': 'string',
          'resourceArn': 'string',
          'hostedZoneId': 'string',
          'hostedZoneName': 'string',
          'name': 'string',
          'createdAt': datetime(2015, 1, 1),
          'updatedAt': datetime(2015, 1, 1),
          'status': 'CREATING'|'OPERATIONAL'|'DELETING'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **id** *(string) --* 

        ID of the private hosted zone association.

        
      

      - **resourceArn** *(string) --* 

        Amazon Resource Name (ARN) of the DNS view the private hosted zone is associated to.

        
      

      - **hostedZoneId** *(string) --* 

        ID of the hosted zone associated to the DNS view.

        
      

      - **hostedZoneName** *(string) --* 

        Name of the domain associated with the private hosted zone.

        
      

      - **name** *(string) --* 

        Name of the private hosted zone association.

        
      

      - **createdAt** *(datetime) --* 

        The time and date the private hosted zone association was created.

        
      

      - **updatedAt** *(datetime) --* 

        The time and date the private hosted zone association was updated.

        
      

      - **status** *(string) --* 

        The operational status of the private hosted zone association.

        
  
  **Exceptions**
  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.InternalServerException`

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

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

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

  
  *   :py:class:`Route53GlobalResolver.Client.exceptions.ResourceNotFoundException`

  