throw new IllegalArgumentException("uriInfo may not be null");
}
MultivaluedMap<String, String> form = uriInfo.getQueryParameters();
final CancelSpotInstanceRequestsType request = new CancelSpotInstanceRequestsType();
if(form != null && !form.isEmpty()){
SpotInstanceRequestIdSetType spotInstanceRequestIdSet =
DescribeSpotInstanceRequests.extractRequestIdSet(form);
request.setSpotInstanceRequestIdSet(spotInstanceRequestIdSet);
}
try {
return serviceRM.cancelSpotInstanceRequests(request);