com.amazonaws.services.lambda.AbstractAWSLambdaAsync Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-lambda Show documentation
Show all versions of aws-java-sdk-lambda Show documentation
The AWS Java SDK for AWS Lambda module holds the client classes that are used for communicating with AWS Lambda Service
/*
* Copyright 2010-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.lambda;
import com.amazonaws.services.lambda.model.*;
/**
* Abstract implementation of {@code AWSLambdaAsync}. 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 AbstractAWSLambdaAsync extends AbstractAWSLambda implements
AWSLambdaAsync {
protected AbstractAWSLambdaAsync() {
}
@Override
public java.util.concurrent.Future addPermissionAsync(
AddPermissionRequest request) {
return addPermissionAsync(request, null);
}
@Override
public java.util.concurrent.Future addPermissionAsync(
AddPermissionRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future createAliasAsync(
CreateAliasRequest request) {
return createAliasAsync(request, null);
}
@Override
public java.util.concurrent.Future createAliasAsync(
CreateAliasRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future createEventSourceMappingAsync(
CreateEventSourceMappingRequest request) {
return createEventSourceMappingAsync(request, null);
}
@Override
public java.util.concurrent.Future createEventSourceMappingAsync(
CreateEventSourceMappingRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future createFunctionAsync(
CreateFunctionRequest request) {
return createFunctionAsync(request, null);
}
@Override
public java.util.concurrent.Future createFunctionAsync(
CreateFunctionRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteAliasAsync(
DeleteAliasRequest request) {
return deleteAliasAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteAliasAsync(
DeleteAliasRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteEventSourceMappingAsync(
DeleteEventSourceMappingRequest request) {
return deleteEventSourceMappingAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteEventSourceMappingAsync(
DeleteEventSourceMappingRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future deleteFunctionAsync(
DeleteFunctionRequest request) {
return deleteFunctionAsync(request, null);
}
@Override
public java.util.concurrent.Future deleteFunctionAsync(
DeleteFunctionRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getAliasAsync(
GetAliasRequest request) {
return getAliasAsync(request, null);
}
@Override
public java.util.concurrent.Future getAliasAsync(
GetAliasRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getEventSourceMappingAsync(
GetEventSourceMappingRequest request) {
return getEventSourceMappingAsync(request, null);
}
@Override
public java.util.concurrent.Future getEventSourceMappingAsync(
GetEventSourceMappingRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getFunctionAsync(
GetFunctionRequest request) {
return getFunctionAsync(request, null);
}
@Override
public java.util.concurrent.Future getFunctionAsync(
GetFunctionRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getFunctionConfigurationAsync(
GetFunctionConfigurationRequest request) {
return getFunctionConfigurationAsync(request, null);
}
@Override
public java.util.concurrent.Future getFunctionConfigurationAsync(
GetFunctionConfigurationRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getPolicyAsync(
GetPolicyRequest request) {
return getPolicyAsync(request, null);
}
@Override
public java.util.concurrent.Future getPolicyAsync(
GetPolicyRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future invokeAsync(
InvokeRequest request) {
return invokeAsync(request, null);
}
@Override
public java.util.concurrent.Future invokeAsync(
InvokeRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
@Deprecated
public java.util.concurrent.Future invokeAsyncAsync(
InvokeAsyncRequest request) {
return invokeAsyncAsync(request, null);
}
@Override
@Deprecated
public java.util.concurrent.Future invokeAsyncAsync(
InvokeAsyncRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future listAliasesAsync(
ListAliasesRequest request) {
return listAliasesAsync(request, null);
}
@Override
public java.util.concurrent.Future listAliasesAsync(
ListAliasesRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future listEventSourceMappingsAsync(
ListEventSourceMappingsRequest request) {
return listEventSourceMappingsAsync(request, null);
}
@Override
public java.util.concurrent.Future listEventSourceMappingsAsync(
ListEventSourceMappingsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the ListEventSourceMappings
* operation.
*
* @see #listEventSourceMappingsAsync(ListEventSourceMappingsRequest)
*/
@Override
public java.util.concurrent.Future listEventSourceMappingsAsync() {
return listEventSourceMappingsAsync(new ListEventSourceMappingsRequest());
}
/**
* Simplified method form for invoking the ListEventSourceMappings operation
* with an AsyncHandler.
*
* @see #listEventSourceMappingsAsync(ListEventSourceMappingsRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future listEventSourceMappingsAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return listEventSourceMappingsAsync(
new ListEventSourceMappingsRequest(), asyncHandler);
}
@Override
public java.util.concurrent.Future listFunctionsAsync(
ListFunctionsRequest request) {
return listFunctionsAsync(request, null);
}
@Override
public java.util.concurrent.Future listFunctionsAsync(
ListFunctionsRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the ListFunctions operation.
*
* @see #listFunctionsAsync(ListFunctionsRequest)
*/
@Override
public java.util.concurrent.Future listFunctionsAsync() {
return listFunctionsAsync(new ListFunctionsRequest());
}
/**
* Simplified method form for invoking the ListFunctions operation with an
* AsyncHandler.
*
* @see #listFunctionsAsync(ListFunctionsRequest,
* com.amazonaws.handlers.AsyncHandler)
*/
public java.util.concurrent.Future listFunctionsAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return listFunctionsAsync(new ListFunctionsRequest(), asyncHandler);
}
@Override
public java.util.concurrent.Future listVersionsByFunctionAsync(
ListVersionsByFunctionRequest request) {
return listVersionsByFunctionAsync(request, null);
}
@Override
public java.util.concurrent.Future listVersionsByFunctionAsync(
ListVersionsByFunctionRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future publishVersionAsync(
PublishVersionRequest request) {
return publishVersionAsync(request, null);
}
@Override
public java.util.concurrent.Future publishVersionAsync(
PublishVersionRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future removePermissionAsync(
RemovePermissionRequest request) {
return removePermissionAsync(request, null);
}
@Override
public java.util.concurrent.Future removePermissionAsync(
RemovePermissionRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future updateAliasAsync(
UpdateAliasRequest request) {
return updateAliasAsync(request, null);
}
@Override
public java.util.concurrent.Future updateAliasAsync(
UpdateAliasRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future updateEventSourceMappingAsync(
UpdateEventSourceMappingRequest request) {
return updateEventSourceMappingAsync(request, null);
}
@Override
public java.util.concurrent.Future updateEventSourceMappingAsync(
UpdateEventSourceMappingRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future updateFunctionCodeAsync(
UpdateFunctionCodeRequest request) {
return updateFunctionCodeAsync(request, null);
}
@Override
public java.util.concurrent.Future updateFunctionCodeAsync(
UpdateFunctionCodeRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future updateFunctionConfigurationAsync(
UpdateFunctionConfigurationRequest request) {
return updateFunctionConfigurationAsync(request, null);
}
@Override
public java.util.concurrent.Future updateFunctionConfigurationAsync(
UpdateFunctionConfigurationRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy