return toDescribeSecurityGroupsResponse(engine.describeSecurityGroups(request));
}
public DescribeSnapshotsResponse describeSnapshots(DescribeSnapshots describeSnapshots) {
EC2DescribeSnapshots request = new EC2DescribeSnapshots();
DescribeSnapshotsType dst = describeSnapshots.getDescribeSnapshots();
DescribeSnapshotsSetType dsst = dst.getSnapshotSet();
FilterSetType fst = dst.getFilterSet();
if (null != dsst) {
DescribeSnapshotsSetItemType[] items = dsst.getItem();
if (null != items) {
for (int i = 0; i < items.length; i++)