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

********************
update_access_source
********************



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

  

  Updates the configuration of an access source.

  

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


  **Request Syntax**
  ::

    response = client.update_access_source(
        accessSourceId='string',
        cidr='string',
        ipAddressType='IPV4'|'IPV6',
        name='string',
        protocol='DO53'|'DOH'|'DOT'
    )
    
  :type accessSourceId: string
  :param accessSourceId: **[REQUIRED]** 

    The unique identifier of the access source to update.

    

  
  :type cidr: string
  :param cidr: 

    The CIDR block for the access source.

    

  
  :type ipAddressType: string
  :param ipAddressType: 

    The IP address type for the access source.

    

  
  :type name: string
  :param name: 

    The name of the access source.

    

  
  :type protocol: string
  :param protocol: 

    The protocol for the access source.

    

  
  
  :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 updated access source.

        
      

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

        The CIDR block of the updated access source.

        
      

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

        The date and time when the access source was originally created.

        
      

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

        The unique identifier of the updated access source.

        
      

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

        The IP address type of the updated access source.

        
      

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

        The name of the updated access source.

        
      

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

        The ID of the DNS view associated with the updated access source.

        
      

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

        The protocol of the updated access source.

        
      

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

        The current status of the updated access source.

        
      

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

        The date and time when the access source was last updated.

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

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

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

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

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

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

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

  