:doc:`EC2 <../../ec2>` / Client / reset_address_attribute

***********************
reset_address_attribute
***********************



.. py:method:: EC2.Client.reset_address_attribute(**kwargs)

  

  Resets the attribute of the specified IP address. For requirements, see `Using reverse DNS for email applications <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetAddressAttribute>`_  


  **Request Syntax**
  ::

    response = client.reset_address_attribute(
        AllocationId='string',
        Attribute='domain-name',
        DryRun=True|False
    )
    
  :type AllocationId: string
  :param AllocationId: **[REQUIRED]** 

    [EC2-VPC] The allocation ID.

    

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

    The attribute of the IP address.

    

  
  :type DryRun: boolean
  :param DryRun: 

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ``DryRunOperation``. Otherwise, it is ``UnauthorizedOperation``.

    

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

    
    ::

      {
          'Address': {
              'PublicIp': 'string',
              'AllocationId': 'string',
              'PtrRecord': 'string',
              'PtrRecordUpdate': {
                  'Value': 'string',
                  'Status': 'string',
                  'Reason': 'string'
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Address** *(dict) --* 

        Information about the IP address.

        
        

        - **PublicIp** *(string) --* 

          The public IP address.

          
        

        - **AllocationId** *(string) --* 

          [EC2-VPC] The allocation ID.

          
        

        - **PtrRecord** *(string) --* 

          The pointer (PTR) record for the IP address.

          
        

        - **PtrRecordUpdate** *(dict) --* 

          The updated PTR record for the IP address.

          
          

          - **Value** *(string) --* 

            The value for the PTR record update.

            
          

          - **Status** *(string) --* 

            The status of the PTR record update.

            
          

          - **Reason** *(string) --* 

            The reason for the PTR record update.

            
      
    
  