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

*****************
get_access_source
*****************



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

  

  Retrieves information about an access source.

  

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


  **Request Syntax**
  ::

    response = client.get_access_source(
        accessSourceId='string'
    )
    
  :type accessSourceId: string
  :param accessSourceId: **[REQUIRED]** 

    The unique identifier of the access source to retrieve.

    

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

    
    ::

      {
          'arn': 'string',
          'cidr': 'string',
          'createdAt': datetime(2015, 1, 1),
          'id': 'string',
          'ipAddressType': 'IPV4'|'IPV6',
          'name': 'string',
          'dnsViewId': 'string',
          'protocol': 'DO53'|'DOH'|'DOT',
          'status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'DELETING',
          'updatedAt': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **arn** *(string) --* 

        The Amazon Resource Name (ARN) of the access source.

        
      

      - **cidr** *(string) --* 

        The IP range for the rule's parameters in CIDR notation.

        
      

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

        The time and date the rule was created.

        
      

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

        ID for the rule.

        
      

      - **ipAddressType** *(string) --* 

        The IP address type.

        
      

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

        Name for the access source.

        
      

      - **dnsViewId** *(string) --* 

        ID for the DNS view that the rule is associated to.

        
      

      - **protocol** *(string) --* 

        The protocol determines how data is transmitted to a Global Resolver instance.

        
      

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

        Information about the status of the rule.

        
      

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

        The time and date the access source was updated.

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

  