DescribeAddresses
Description
Lists elastic IP addresses assigned to your account or provides information about a specific address.
Request Parameters
Name | Description | Required |
---|---|---|
| Elastic IP address to describe. Type: String Default: None | No |
Response Elements
Name | Description |
---|---|
|
Type: |
Ancestor: None
Children: requestId
, addressesSet
requestId
The ID of the request.
Type: xsd:string
Ancestor: DescribeAddressesResponseType
Children: None
addressesSet
The set of IP addresses.
Type: DescribeAddressesResponseInfoType
Ancestor: DescribeAddressesResponseType
Children: item
item
Information about an instance.
Type: DescribeAddressesResponseItemType
Ancestor: addressesSet
Children: publicIp
, instanceId
publicIp
The public IP address.
Type: xsd:string
Ancestor: item
Children: None
instanceId
The ID of the instance.
Type: xsd:string
Ancestor: item
Children: None
Examples
Example Request
This example describes elastic IP addresses assigned to the account. Amazon EC2 returns 67.202.55.255 which is assigned to instance i-f15ebb98 and 67.202.55.233 which is not assigned to an instance.
https://ec2.amazonaws.com/?Action=DescribeAddresses&PublicIp.1=67.202.55.255 &PublicIp.1=67.202.55.233&AuthParams
Example Response
<DescribeAddressesResponse xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <addressesSet> <item> <instanceId>i-f15ebb98</instanceId> <publicIp>67.202.55.255</publicIp> </item> <item> <publicIp>67.202.55.233</publicIp> </item> </addressesSet> </DescribeAddressesResponse>