EC2.Client.
reset_address_attribute
(**kwargs)¶Resets the attribute of the specified IP address. For requirements, see Using reverse DNS for email applications.
See also: AWS API Documentation
Request Syntax
response = client.reset_address_attribute(
AllocationId='string',
Attribute='domain-name',
DryRun=True|False
)
[REQUIRED]
[EC2-VPC] The allocation ID.
[REQUIRED]
The attribute of the IP address.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.dict
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.