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

*****************************
list_hosted_zone_associations
*****************************



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

  

  Lists all hosted zone associations for a Route 53 Global Resolver resource with pagination support.

  

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


  **Request Syntax**
  ::

    response = client.list_hosted_zone_associations(
        maxResults=123,
        nextToken='string',
        resourceArn='string'
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to retrieve in a single call.

    

  
  :type nextToken: string
  :param nextToken: 

    A pagination token used for large sets of results that can't be returned in a single response.

    

  
  :type resourceArn: string
  :param resourceArn: **[REQUIRED]** 

    Amazon Resource Name (ARN) of the DNS view.

    

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

    
    ::

      {
          'nextToken': 'string',
          'hostedZoneAssociations': [
              {
                  '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) --* 
      

      - **nextToken** *(string) --* 

        A pagination token used for large sets of results that can't be returned in a single response. Provide this token in the next call to get the results not returned in this call.

        
      

      - **hostedZoneAssociations** *(list) --* 

        List of the private hosted zone associations.

        
        

        - *(dict) --* 

          Summary information about a hosted zone association.

          
          

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

            The unique identifier of the hosted zone association.

            
          

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

            The Amazon Resource Name (ARN) of the resource associated with the hosted zone.

            
          

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

            The ID of the hosted zone.

            
          

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

            The name of the hosted zone.

            
          

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

            The name of the hosted zone association.

            
          

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

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

            
          

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

            The date and time when the hosted zone association was last updated.

            
          

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

            The current status of the 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`

  