com.amazonaws.services.logs.AbstractAWSLogsAsync Maven / Gradle / Ivy
/*
* Copyright 2011-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this file except in compliance with the License. A copy of the License is
* located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.logs;
import com.amazonaws.services.logs.model.*;
/**
* Abstract implementation of {@code AWSLogsAsync}. Convenient method forms pass
* through to the corresponding overload that takes a request object and an
* {@code AsyncHandler}, which throws an {@code UnsupportedOperationException}.
*/
public class AbstractAWSLogsAsync extends AbstractAWSLogs implements
AWSLogsAsync {
protected AbstractAWSLogsAsync() {
}
@Override
public java.util.concurrent.Future cancelExportTaskAsync(
CancelExportTaskRequest request) {
return cancelExportTaskAsync(request, null);
}
@Override
public java.util.concurrent.Future cancelExportTaskAsync(
CancelExportTaskRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future createExportTaskAsync(
CreateExportTaskRequest request) {
return createExportTaskAsync(request, null);
}
@Override
public java.util.concurrent.Future createExportTaskAsync(
CreateExportTaskRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future createLogGroupAsync(
CreateLogGroupRequest request) {
return createLogGroupAsync(request, null);
}
@Override
public java.util.concurrent.Future createLogGroupAsync(
CreateLogGroupRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future createLogStreamAsync(
CreateLogStreamRequest request) {
return createLogStreamAsync(request, null);
}
@Override
public java.util.concurrent.Future createLogStreamAsync(
CreateLogStreamRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteDestinationAsync(
DeleteDestinationRequest request) {
return deleteDestinationAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteDestinationAsync(
DeleteDestinationRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteLogGroupAsync(
DeleteLogGroupRequest request) {
return deleteLogGroupAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteLogGroupAsync(
DeleteLogGroupRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteLogStreamAsync(
DeleteLogStreamRequest request) {
return deleteLogStreamAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteLogStreamAsync(
DeleteLogStreamRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteMetricFilterAsync(
DeleteMetricFilterRequest request) {
return deleteMetricFilterAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteMetricFilterAsync(
DeleteMetricFilterRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteRetentionPolicyAsync(
DeleteRetentionPolicyRequest request) {
return deleteRetentionPolicyAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteRetentionPolicyAsync(
DeleteRetentionPolicyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteSubscriptionFilterAsync(
DeleteSubscriptionFilterRequest request) {
return deleteSubscriptionFilterAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteSubscriptionFilterAsync(
DeleteSubscriptionFilterRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future describeDestinationsAsync(
DescribeDestinationsRequest request) {
return describeDestinationsAsync(request, null);
}
@Override
public java.util.concurrent.Future describeDestinationsAsync(
DescribeDestinationsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the DescribeDestinations operation.
*
* @see #describeDestinationsAsync(DescribeDestinationsRequest)
*/
@Override
public java.util.concurrent.Future describeDestinationsAsync() {
return describeDestinationsAsync(new DescribeDestinationsRequest());
}
/**
* Simplified method form for invoking the DescribeDestinations operation
* with an AsyncHandler.
*
* @see #describeDestinationsAsync(DescribeDestinationsRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future describeDestinationsAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return describeDestinationsAsync(new DescribeDestinationsRequest(),
asyncHandler);
}
@Override
public java.util.concurrent.Future describeExportTasksAsync(
DescribeExportTasksRequest request) {
return describeExportTasksAsync(request, null);
}
@Override
public java.util.concurrent.Future describeExportTasksAsync(
DescribeExportTasksRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future describeLogGroupsAsync(
DescribeLogGroupsRequest request) {
return describeLogGroupsAsync(request, null);
}
@Override
public java.util.concurrent.Future describeLogGroupsAsync(
DescribeLogGroupsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the DescribeLogGroups operation.
*
* @see #describeLogGroupsAsync(DescribeLogGroupsRequest)
*/
@Override
public java.util.concurrent.Future describeLogGroupsAsync() {
return describeLogGroupsAsync(new DescribeLogGroupsRequest());
}
/**
* Simplified method form for invoking the DescribeLogGroups operation with
* an AsyncHandler.
*
* @see #describeLogGroupsAsync(DescribeLogGroupsRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future describeLogGroupsAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return describeLogGroupsAsync(new DescribeLogGroupsRequest(),
asyncHandler);
}
@Override
public java.util.concurrent.Future describeLogStreamsAsync(
DescribeLogStreamsRequest request) {
return describeLogStreamsAsync(request, null);
}
@Override
public java.util.concurrent.Future describeLogStreamsAsync(
DescribeLogStreamsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future describeMetricFiltersAsync(
DescribeMetricFiltersRequest request) {
return describeMetricFiltersAsync(request, null);
}
@Override
public java.util.concurrent.Future describeMetricFiltersAsync(
DescribeMetricFiltersRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future describeSubscriptionFiltersAsync(
DescribeSubscriptionFiltersRequest request) {
return describeSubscriptionFiltersAsync(request, null);
}
@Override
public java.util.concurrent.Future describeSubscriptionFiltersAsync(
DescribeSubscriptionFiltersRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future filterLogEventsAsync(
FilterLogEventsRequest request) {
return filterLogEventsAsync(request, null);
}
@Override
public java.util.concurrent.Future filterLogEventsAsync(
FilterLogEventsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getLogEventsAsync(
GetLogEventsRequest request) {
return getLogEventsAsync(request, null);
}
@Override
public java.util.concurrent.Future getLogEventsAsync(
GetLogEventsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putDestinationAsync(
PutDestinationRequest request) {
return putDestinationAsync(request, null);
}
@Override
public java.util.concurrent.Future putDestinationAsync(
PutDestinationRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putDestinationPolicyAsync(
PutDestinationPolicyRequest request) {
return putDestinationPolicyAsync(request, null);
}
@Override
public java.util.concurrent.Future putDestinationPolicyAsync(
PutDestinationPolicyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putLogEventsAsync(
PutLogEventsRequest request) {
return putLogEventsAsync(request, null);
}
@Override
public java.util.concurrent.Future putLogEventsAsync(
PutLogEventsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putMetricFilterAsync(
PutMetricFilterRequest request) {
return putMetricFilterAsync(request, null);
}
@Override
public java.util.concurrent.Future putMetricFilterAsync(
PutMetricFilterRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putRetentionPolicyAsync(
PutRetentionPolicyRequest request) {
return putRetentionPolicyAsync(request, null);
}
@Override
public java.util.concurrent.Future putRetentionPolicyAsync(
PutRetentionPolicyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future putSubscriptionFilterAsync(
PutSubscriptionFilterRequest request) {
return putSubscriptionFilterAsync(request, null);
}
@Override
public java.util.concurrent.Future putSubscriptionFilterAsync(
PutSubscriptionFilterRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future testMetricFilterAsync(
TestMetricFilterRequest request) {
return testMetricFilterAsync(request, null);
}
@Override
public java.util.concurrent.Future testMetricFilterAsync(
TestMetricFilterRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy