@Override public SubscriptionCollection getSubscriptions(ListSubscriptionsRequest request) { ResourceCollectionImpl result = service.getCollection("Subscriptions", request); if (result == null) return null; return new SubscriptionCollectionImpl(result); }
@Override public ListSubscriptionsResult listSubscriptions(ListSubscriptionsRequest listSubscriptionsRequest) throws AmazonServiceException, AmazonClientException { throw new UnsupportedOperationException(); }
@Override public SubscriptionCollection getSubscriptions() { return getSubscriptions((ListSubscriptionsRequest)null); }
@Override public ListSubscriptionsResult listSubscriptions(ListSubscriptionsRequest listSubscriptionsRequest) throws AmazonClientException { return listSubscriptions(); }
/** * Retrieves the Subscriptions collection referenced by this resource. */ SubscriptionCollection getSubscriptions(ListSubscriptionsRequest request);