com.amazonaws.services.sqs.model.ListQueueTagsRequest Java Examples

The following examples show how to use com.amazonaws.services.sqs.model.ListQueueTagsRequest. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AmazonSQSVirtualQueuesClient.java    From amazon-sqs-java-temporary-queues-client with Apache License 2.0 4 votes vote down vote up
@Override
public ListQueueTagsResult listQueueTags(ListQueueTagsRequest request) {
    return getVirtualQueue(request.getQueueUrl())
            .map(virtualQueue -> virtualQueue.listQueueTags())
            .orElseGet(() -> amazonSqsToBeExtended.listQueueTags(request));
}
 
Example #2
Source File: AbstractAmazonSQSClientWrapper.java    From amazon-sqs-java-temporary-queues-client with Apache License 2.0 4 votes vote down vote up
@Override
public ListQueueTagsResult listQueueTags(ListQueueTagsRequest request) {
    request.getRequestClientOptions().appendUserAgent(userAgent);
    return amazonSqsToBeExtended.listQueueTags(request);
}
 
Example #3
Source File: MockSQS.java    From amazon-sqs-java-temporary-queues-client with Apache License 2.0 4 votes vote down vote up
@Override
public ListQueueTagsResult listQueueTags(ListQueueTagsRequest request) {
    return getQueue(request.getQueueUrl()).listQueueTags();
}
 
Example #4
Source File: AbstractAmazonSQSClientWrapperTest.java    From amazon-sqs-java-temporary-queues-client with Apache License 2.0 4 votes vote down vote up
@Test
public void listQueueTags() {
    assertWrappedMethod(AmazonSQS::listQueueTags, new ListQueueTagsRequest());
}
 
Example #5
Source File: AmazonSQSExtendedClientBase.java    From amazon-sqs-java-extended-client-lib with Apache License 2.0 4 votes vote down vote up
/** {@inheritDoc} */
@Override public ListQueueTagsResult listQueueTags(final ListQueueTagsRequest listQueueTagsRequest) {
	return amazonSqsToBeExtended.listQueueTags(listQueueTagsRequest);
}