throw new EC2ServiceException(ClientError.Unsupported, "Unsupported - only instanceType supported");
}
public DescribeInstancesResponse describeInstances(DescribeInstances describeInstances) {
EC2DescribeInstances request = new EC2DescribeInstances();
DescribeInstancesType dit = describeInstances.getDescribeInstances();
FilterSetType fst = dit.getFilterSet();
// -> toEC2DescribeInstances
DescribeInstancesInfoType diit = dit.getInstancesSet();
DescribeInstancesItemType[] items = diit.getItem();
if (null != items) { // -> can be empty
for (int i = 0; i < items.length; i++)
request.addInstanceId(items[i].getInstanceId());
}