Download
Download the latest AWS SDK for Java
New Features
| Change | Description |
|---|---|
| Amazon EC2 Volume Status Checks |
The new Amazon Elastic Compute Cloud API version 2012-03-01 introduces four new
API actions to support volume status checks: DescribeVolumeStatus, DescribeVolumeAttribute,
EnableVolumeIO, and ModifyVolumeAttribute.
The following sample first retrieves the status of a specific volume and then retrieves the status information for all volumes associated with the account:
AmazonEC2Client ec2 = new AmazonEC2Client(myAwsCredentials);
// retrieve status for a specific volume, by volume id
System.out.println(ec2.describeVolumeStatus(
new DescribeVolumeStatusRequest().withVolumesIds(myVolumeId));
// retrieve status for every volume and page through the results
DescribeVolumeStatusRequest request = new DescribeVolumeStatusRequest();
DescribeVolumeStatusResult result = null;
do {
result = ec2.describeVolumeStatus(request);
request.setNextToken(result.getNextToken());
for (VolumeStatus status : result.getVolumeStatus()) {
System.out.println(status.getVolumeId() + " "
+ status.getVolumeStatusInfo().getStatus());
}
} while (result.getNextToken() != null);
|
Resolved Issues
| Amazon Simple Workflow Service Endpoint |
The Amazon Simple Workflow Service client in the SDK has been updated with the correct default endpoint. |
Supported API Versions
This release of the SDK supports the following API versions:
| Service | API Version |
|---|---|
| Amazon CloudFront | 2010-11-01 |
| Amazon CloudWatch | 2010-08-01 |
| Amazon DynamoDB | 2011-12-05 |
| Amazon Elastic Compute Cloud (EC2) | 2012-03-01 |
| Amazon Elastic MapReduce | 2009-03-31 |
| Amazon ElastiCache | 2011-07-15 |
| Amazon Relational Database Service (RDS) | 2012-01-15 |
| Amazon Route 53 | 2011-05-05 |
| Amazon Simple Email Service (SES) | 2010-12-01 |
| Amazon Simple Notification Service (SNS) | 2010-03-31 |
| Amazon Simple Queue Service | 2011-10-01 |
| Amazon Simple Storage Service (S3) | 2006-03-01 |
| Amazon Simple Workflow Service (SWF) | 2012-01-25 |
| Amazon SimpleDB | 2009-04-15 |
| Auto Scaling | 2011-01-01 |
| AWS Cloud Formation | 2010-05-15 |
| AWS Elastic Beanstalk | 2010-12-01 |
| AWS Identity and Access Management | 2010-05-08 |
| AWS Import/Export | 2010-06-01 |
| AWS Security Token Service | 2011-06-15 |
| Elastic Load Balancing | 2011-11-15 |