@Test public void testNonInjectableMocks_shouldReturnNormal() { assertNotNull(sqs.changeMessageVisibilityBatch(new ChangeMessageVisibilityBatchRequest())); assertNotNull(sqs.addPermission(new AddPermissionRequest().withActions("one").withAWSAccountIds("two","three").withLabel("four").withQueueUrl("five"))); assertNotNull(sqs.listDeadLetterSourceQueues(new ListDeadLetterSourceQueuesRequest().withQueueUrl("ten"))); assertNotNull(sqs.getQueueAttributes(new GetQueueAttributesRequest().withAttributeNames(ImmutableList.of("eleven")).withQueueUrl("twelve"))); assertNotNull(sqs.setQueueAttributes(new SetQueueAttributesRequest().withAttributes(ImmutableMap.of("thirteen","fourteen")).withQueueUrl("fifteen"))); }
@Override public QueueCollection getDeadLetterSourceQueues( ListDeadLetterSourceQueuesRequest request) { ResourceCollectionImpl result = resource.getCollection("DeadLetterSourceQueues", request); if (result == null) return null; return new QueueCollectionImpl(result); }
public Observable<ListDeadLetterSourceQueuesResult> listDeadLetterSourceQueuesAsync(ListDeadLetterSourceQueuesRequest request) { return Observable.from(sqsClient.listDeadLetterSourceQueuesAsync(request)); }
/** * <p> * Returns a list of your queues that have the RedrivePolicy queue attribute * configured with a dead letter queue. * </p> * <p> * For more information about using dead letter queues, see <a href= * "http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html" * > Using Amazon SQS Dead Letter Queues </a> . * </p> * * @param listDeadLetterSourceQueuesRequest * Container for the necessary parameters to execute the * ListDeadLetterSourceQueues service method on AmazonSQS. * * @return The response from the ListDeadLetterSourceQueues service method, * as returned by AmazonSQS. * * @throws QueueDoesNotExistException * * @throws AmazonClientException * If any internal errors are encountered inside the client * while attempting to make the request or handle the response. * For example if a network connection is not available. * @throws AmazonServiceException * If an error response is returned by AmazonSQS indicating * either a problem with the data in the request, or a server * side issue. */ public ListDeadLetterSourceQueuesResult listDeadLetterSourceQueues( ListDeadLetterSourceQueuesRequest listDeadLetterSourceQueuesRequest) throws AmazonServiceException, AmazonClientException { return amazonSqsToBeExtended.listDeadLetterSourceQueues(listDeadLetterSourceQueuesRequest); }
/** * Retrieves the DeadLetterSourceQueues collection referenced by this * resource. */ QueueCollection getDeadLetterSourceQueues(ListDeadLetterSourceQueuesRequest request);