EC2 / Client / modify_address_attribute
modify_address_attribute#
- EC2.Client.modify_address_attribute(**kwargs)#
- Modifies an attribute of the specified Elastic IP address. For requirements, see Using reverse DNS for email applications. - See also: AWS API Documentation - Request Syntax - response = client.modify_address_attribute( AllocationId='string', DomainName='string', DryRun=True|False ) - Parameters:
- AllocationId (string) – - [REQUIRED] - [EC2-VPC] The allocation ID. 
- DomainName (string) – The domain name to modify for the IP address. 
- DryRun (boolean) – 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.
 
- Return type:
- 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 Elastic 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.