@ThreadSafe public class AmazonApiGatewayAsyncClient extends AmazonApiGatewayClient implements AmazonApiGatewayAsync
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Amazon API Gateway helps developers deliver robust, secure and scalable mobile and web application backends. Amazon API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.
Modifier and Type | Field and Description |
---|---|
private static int |
DEFAULT_THREAD_POOL_SIZE |
private java.util.concurrent.ExecutorService |
executorService |
configFactory
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AmazonApiGatewayAsyncClient()
Constructs a new asynchronous client to invoke service methods on Amazon
API Gateway.
|
AmazonApiGatewayAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on Amazon
API Gateway using the specified AWS account credentials.
|
AmazonApiGatewayAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
API Gateway using the specified AWS account credentials, executor
service, and client configuration options.
|
AmazonApiGatewayAsyncClient(AWSCredentials awsCredentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
API Gateway using the specified AWS account credentials and executor
service.
|
AmazonApiGatewayAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on Amazon
API Gateway using the specified AWS account credentials provider.
|
AmazonApiGatewayAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon
API Gateway using the provided AWS account credentials provider and
client configuration options.
|
AmazonApiGatewayAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
API Gateway using the specified AWS account credentials provider,
executor service, and client configuration options.
|
AmazonApiGatewayAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
API Gateway using the specified AWS account credentials provider and
executor service.
|
AmazonApiGatewayAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon
API Gateway.
|
createApiKey, createAuthorizer, createBasePathMapping, createDeployment, createDomainName, createModel, createResource, createRestApi, createStage, deleteApiKey, deleteAuthorizer, deleteBasePathMapping, deleteClientCertificate, deleteDeployment, deleteDomainName, deleteIntegration, deleteIntegrationResponse, deleteMethod, deleteMethodResponse, deleteModel, deleteResource, deleteRestApi, deleteStage, flushStageAuthorizersCache, flushStageCache, generateClientCertificate, getAccount, getApiKey, getApiKeys, getAuthorizer, getAuthorizers, getBasePathMapping, getBasePathMappings, getCachedResponseMetadata, getClientCertificate, getClientCertificates, getDeployment, getDeployments, getDomainName, getDomainNames, getExport, getIntegration, getIntegrationResponse, getMethod, getMethodResponse, getModel, getModels, getModelTemplate, getResource, getResources, getRestApi, getRestApis, getSdk, getStage, getStages, importRestApi, putIntegration, putIntegrationResponse, putMethod, putMethodResponse, putRestApi, testInvokeAuthorizer, testInvokeMethod, updateAccount, updateApiKey, updateAuthorizer, updateBasePathMapping, updateClientCertificate, updateDeployment, updateDomainName, updateIntegration, updateIntegrationResponse, updateMethod, updateMethodResponse, updateModel, updateResource, updateRestApi, updateStage
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createApiKey, createAuthorizer, createBasePathMapping, createDeployment, createDomainName, createModel, createResource, createRestApi, createStage, deleteApiKey, deleteAuthorizer, deleteBasePathMapping, deleteClientCertificate, deleteDeployment, deleteDomainName, deleteIntegration, deleteIntegrationResponse, deleteMethod, deleteMethodResponse, deleteModel, deleteResource, deleteRestApi, deleteStage, flushStageAuthorizersCache, flushStageCache, generateClientCertificate, getAccount, getApiKey, getApiKeys, getAuthorizer, getAuthorizers, getBasePathMapping, getBasePathMappings, getCachedResponseMetadata, getClientCertificate, getClientCertificates, getDeployment, getDeployments, getDomainName, getDomainNames, getExport, getIntegration, getIntegrationResponse, getMethod, getMethodResponse, getModel, getModels, getModelTemplate, getResource, getResources, getRestApi, getRestApis, getSdk, getStage, getStages, importRestApi, putIntegration, putIntegrationResponse, putMethod, putMethodResponse, putRestApi, setEndpoint, setRegion, testInvokeAuthorizer, testInvokeMethod, updateAccount, updateApiKey, updateAuthorizer, updateBasePathMapping, updateClientCertificate, updateDeployment, updateDomainName, updateIntegration, updateIntegrationResponse, updateMethod, updateMethodResponse, updateModel, updateResource, updateRestApi, updateStage
private static final int DEFAULT_THREAD_POOL_SIZE
private final java.util.concurrent.ExecutorService executorService
public AmazonApiGatewayAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonApiGatewayAsyncClient(ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client
connects to Amazon API Gateway (ex: proxy settings, retry counts,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonApiGatewayAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.Executors.newFixedThreadPool(int)
public AmazonApiGatewayAsyncClient(AWSCredentials awsCredentials, java.util.concurrent.ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AmazonApiGatewayAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public AmazonApiGatewayAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AmazonApiGatewayAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonApiGatewayAsyncClient(AWSCredentialsProvider awsCredentialsProvider, java.util.concurrent.ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AmazonApiGatewayAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public java.util.concurrent.ExecutorService getExecutorService()
public java.util.concurrent.Future<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest request)
AmazonApiGatewayAsync
Create an ApiKey resource.
createApiKeyAsync
in interface AmazonApiGatewayAsync
request
- Request to create an ApiKey resource.public java.util.concurrent.Future<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest request, AsyncHandler<CreateApiKeyRequest,CreateApiKeyResult> asyncHandler)
AmazonApiGatewayAsync
Create an ApiKey resource.
createApiKeyAsync
in interface AmazonApiGatewayAsync
request
- Request to create an ApiKey resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateAuthorizerResult> createAuthorizerAsync(CreateAuthorizerRequest request)
AmazonApiGatewayAsync
Adds a new Authorizer resource to an existing RestApi resource.
createAuthorizerAsync
in interface AmazonApiGatewayAsync
request
- Request to add a new Authorizer to an existing
RestApi resource.public java.util.concurrent.Future<CreateAuthorizerResult> createAuthorizerAsync(CreateAuthorizerRequest request, AsyncHandler<CreateAuthorizerRequest,CreateAuthorizerResult> asyncHandler)
AmazonApiGatewayAsync
Adds a new Authorizer resource to an existing RestApi resource.
createAuthorizerAsync
in interface AmazonApiGatewayAsync
request
- Request to add a new Authorizer to an existing
RestApi resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateBasePathMappingResult> createBasePathMappingAsync(CreateBasePathMappingRequest request)
AmazonApiGatewayAsync
Creates a new BasePathMapping resource.
createBasePathMappingAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to create a new BasePathMapping
resource.public java.util.concurrent.Future<CreateBasePathMappingResult> createBasePathMappingAsync(CreateBasePathMappingRequest request, AsyncHandler<CreateBasePathMappingRequest,CreateBasePathMappingResult> asyncHandler)
AmazonApiGatewayAsync
Creates a new BasePathMapping resource.
createBasePathMappingAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to create a new BasePathMapping
resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request)
AmazonApiGatewayAsync
Creates a Deployment resource, which makes a specified RestApi callable over the internet.
createDeploymentAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to create a Deployment
resource.public java.util.concurrent.Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
AmazonApiGatewayAsync
Creates a Deployment resource, which makes a specified RestApi callable over the internet.
createDeploymentAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to create a Deployment
resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateDomainNameResult> createDomainNameAsync(CreateDomainNameRequest request)
AmazonApiGatewayAsync
Creates a new domain name.
createDomainNameAsync
in interface AmazonApiGatewayAsync
request
- A request to create a new domain name.public java.util.concurrent.Future<CreateDomainNameResult> createDomainNameAsync(CreateDomainNameRequest request, AsyncHandler<CreateDomainNameRequest,CreateDomainNameResult> asyncHandler)
AmazonApiGatewayAsync
Creates a new domain name.
createDomainNameAsync
in interface AmazonApiGatewayAsync
request
- A request to create a new domain name.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateModelResult> createModelAsync(CreateModelRequest request)
AmazonApiGatewayAsync
createModelAsync
in interface AmazonApiGatewayAsync
request
- Request to add a new Model to an existing RestApi
resource.public java.util.concurrent.Future<CreateModelResult> createModelAsync(CreateModelRequest request, AsyncHandler<CreateModelRequest,CreateModelResult> asyncHandler)
AmazonApiGatewayAsync
createModelAsync
in interface AmazonApiGatewayAsync
request
- Request to add a new Model to an existing RestApi
resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateResourceResult> createResourceAsync(CreateResourceRequest request)
AmazonApiGatewayAsync
Creates a Resource resource.
createResourceAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to create a Resource resource.public java.util.concurrent.Future<CreateResourceResult> createResourceAsync(CreateResourceRequest request, AsyncHandler<CreateResourceRequest,CreateResourceResult> asyncHandler)
AmazonApiGatewayAsync
Creates a Resource resource.
createResourceAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to create a Resource resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateRestApiResult> createRestApiAsync(CreateRestApiRequest request)
AmazonApiGatewayAsync
Creates a new RestApi resource.
createRestApiAsync
in interface AmazonApiGatewayAsync
request
- The POST Request to add a new RestApi resource to your
collection.public java.util.concurrent.Future<CreateRestApiResult> createRestApiAsync(CreateRestApiRequest request, AsyncHandler<CreateRestApiRequest,CreateRestApiResult> asyncHandler)
AmazonApiGatewayAsync
Creates a new RestApi resource.
createRestApiAsync
in interface AmazonApiGatewayAsync
request
- The POST Request to add a new RestApi resource to your
collection.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateStageResult> createStageAsync(CreateStageRequest request)
AmazonApiGatewayAsync
Creates a new Stage resource that references a pre-existing Deployment for the API.
createStageAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to create a Stage resource.public java.util.concurrent.Future<CreateStageResult> createStageAsync(CreateStageRequest request, AsyncHandler<CreateStageRequest,CreateStageResult> asyncHandler)
AmazonApiGatewayAsync
Creates a new Stage resource that references a pre-existing Deployment for the API.
createStageAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to create a Stage resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteApiKeyResult> deleteApiKeyAsync(DeleteApiKeyRequest request)
AmazonApiGatewayAsync
Deletes the ApiKey resource.
deleteApiKeyAsync
in interface AmazonApiGatewayAsync
request
- A request to delete the ApiKey resource.public java.util.concurrent.Future<DeleteApiKeyResult> deleteApiKeyAsync(DeleteApiKeyRequest request, AsyncHandler<DeleteApiKeyRequest,DeleteApiKeyResult> asyncHandler)
AmazonApiGatewayAsync
Deletes the ApiKey resource.
deleteApiKeyAsync
in interface AmazonApiGatewayAsync
request
- A request to delete the ApiKey resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteAuthorizerResult> deleteAuthorizerAsync(DeleteAuthorizerRequest request)
AmazonApiGatewayAsync
Deletes an existing Authorizer resource.
deleteAuthorizerAsync
in interface AmazonApiGatewayAsync
request
- Request to delete an existing Authorizer resource.public java.util.concurrent.Future<DeleteAuthorizerResult> deleteAuthorizerAsync(DeleteAuthorizerRequest request, AsyncHandler<DeleteAuthorizerRequest,DeleteAuthorizerResult> asyncHandler)
AmazonApiGatewayAsync
Deletes an existing Authorizer resource.
deleteAuthorizerAsync
in interface AmazonApiGatewayAsync
request
- Request to delete an existing Authorizer resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteBasePathMappingResult> deleteBasePathMappingAsync(DeleteBasePathMappingRequest request)
AmazonApiGatewayAsync
Deletes the BasePathMapping resource.
deleteBasePathMappingAsync
in interface AmazonApiGatewayAsync
request
- A request to delete the BasePathMapping resource.public java.util.concurrent.Future<DeleteBasePathMappingResult> deleteBasePathMappingAsync(DeleteBasePathMappingRequest request, AsyncHandler<DeleteBasePathMappingRequest,DeleteBasePathMappingResult> asyncHandler)
AmazonApiGatewayAsync
Deletes the BasePathMapping resource.
deleteBasePathMappingAsync
in interface AmazonApiGatewayAsync
request
- A request to delete the BasePathMapping resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteClientCertificateResult> deleteClientCertificateAsync(DeleteClientCertificateRequest request)
AmazonApiGatewayAsync
Deletes the ClientCertificate resource.
deleteClientCertificateAsync
in interface AmazonApiGatewayAsync
request
- A request to delete the ClientCertificate resource.public java.util.concurrent.Future<DeleteClientCertificateResult> deleteClientCertificateAsync(DeleteClientCertificateRequest request, AsyncHandler<DeleteClientCertificateRequest,DeleteClientCertificateResult> asyncHandler)
AmazonApiGatewayAsync
Deletes the ClientCertificate resource.
deleteClientCertificateAsync
in interface AmazonApiGatewayAsync
request
- A request to delete the ClientCertificate resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteDeploymentResult> deleteDeploymentAsync(DeleteDeploymentRequest request)
AmazonApiGatewayAsync
Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
deleteDeploymentAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to delete a Deployment
resource.public java.util.concurrent.Future<DeleteDeploymentResult> deleteDeploymentAsync(DeleteDeploymentRequest request, AsyncHandler<DeleteDeploymentRequest,DeleteDeploymentResult> asyncHandler)
AmazonApiGatewayAsync
Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
deleteDeploymentAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to delete a Deployment
resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteDomainNameResult> deleteDomainNameAsync(DeleteDomainNameRequest request)
AmazonApiGatewayAsync
Deletes the DomainName resource.
deleteDomainNameAsync
in interface AmazonApiGatewayAsync
request
- A request to delete the DomainName resource.public java.util.concurrent.Future<DeleteDomainNameResult> deleteDomainNameAsync(DeleteDomainNameRequest request, AsyncHandler<DeleteDomainNameRequest,DeleteDomainNameResult> asyncHandler)
AmazonApiGatewayAsync
Deletes the DomainName resource.
deleteDomainNameAsync
in interface AmazonApiGatewayAsync
request
- A request to delete the DomainName resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteIntegrationResult> deleteIntegrationAsync(DeleteIntegrationRequest request)
AmazonApiGatewayAsync
Represents a delete integration.
deleteIntegrationAsync
in interface AmazonApiGatewayAsync
request
- Represents a delete integration request.public java.util.concurrent.Future<DeleteIntegrationResult> deleteIntegrationAsync(DeleteIntegrationRequest request, AsyncHandler<DeleteIntegrationRequest,DeleteIntegrationResult> asyncHandler)
AmazonApiGatewayAsync
Represents a delete integration.
deleteIntegrationAsync
in interface AmazonApiGatewayAsync
request
- Represents a delete integration request.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteIntegrationResponseResult> deleteIntegrationResponseAsync(DeleteIntegrationResponseRequest request)
AmazonApiGatewayAsync
Represents a delete integration response.
deleteIntegrationResponseAsync
in interface AmazonApiGatewayAsync
request
- Represents a delete integration response request.public java.util.concurrent.Future<DeleteIntegrationResponseResult> deleteIntegrationResponseAsync(DeleteIntegrationResponseRequest request, AsyncHandler<DeleteIntegrationResponseRequest,DeleteIntegrationResponseResult> asyncHandler)
AmazonApiGatewayAsync
Represents a delete integration response.
deleteIntegrationResponseAsync
in interface AmazonApiGatewayAsync
request
- Represents a delete integration response request.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteMethodResult> deleteMethodAsync(DeleteMethodRequest request)
AmazonApiGatewayAsync
Deletes an existing Method resource.
deleteMethodAsync
in interface AmazonApiGatewayAsync
request
- Request to delete an existing Method resource.public java.util.concurrent.Future<DeleteMethodResult> deleteMethodAsync(DeleteMethodRequest request, AsyncHandler<DeleteMethodRequest,DeleteMethodResult> asyncHandler)
AmazonApiGatewayAsync
Deletes an existing Method resource.
deleteMethodAsync
in interface AmazonApiGatewayAsync
request
- Request to delete an existing Method resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteMethodResponseResult> deleteMethodResponseAsync(DeleteMethodResponseRequest request)
AmazonApiGatewayAsync
Deletes an existing MethodResponse resource.
deleteMethodResponseAsync
in interface AmazonApiGatewayAsync
request
- A request to delete an existing MethodResponse resource.public java.util.concurrent.Future<DeleteMethodResponseResult> deleteMethodResponseAsync(DeleteMethodResponseRequest request, AsyncHandler<DeleteMethodResponseRequest,DeleteMethodResponseResult> asyncHandler)
AmazonApiGatewayAsync
Deletes an existing MethodResponse resource.
deleteMethodResponseAsync
in interface AmazonApiGatewayAsync
request
- A request to delete an existing MethodResponse resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteModelResult> deleteModelAsync(DeleteModelRequest request)
AmazonApiGatewayAsync
Deletes a model.
deleteModelAsync
in interface AmazonApiGatewayAsync
request
- Request to delete an existing model in an existing RestApi
resource.public java.util.concurrent.Future<DeleteModelResult> deleteModelAsync(DeleteModelRequest request, AsyncHandler<DeleteModelRequest,DeleteModelResult> asyncHandler)
AmazonApiGatewayAsync
Deletes a model.
deleteModelAsync
in interface AmazonApiGatewayAsync
request
- Request to delete an existing model in an existing RestApi
resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteResourceResult> deleteResourceAsync(DeleteResourceRequest request)
AmazonApiGatewayAsync
Deletes a Resource resource.
deleteResourceAsync
in interface AmazonApiGatewayAsync
request
- Request to delete a Resource.public java.util.concurrent.Future<DeleteResourceResult> deleteResourceAsync(DeleteResourceRequest request, AsyncHandler<DeleteResourceRequest,DeleteResourceResult> asyncHandler)
AmazonApiGatewayAsync
Deletes a Resource resource.
deleteResourceAsync
in interface AmazonApiGatewayAsync
request
- Request to delete a Resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteRestApiResult> deleteRestApiAsync(DeleteRestApiRequest request)
AmazonApiGatewayAsync
Deletes the specified API.
deleteRestApiAsync
in interface AmazonApiGatewayAsync
request
- Request to delete the specified API from your collection.public java.util.concurrent.Future<DeleteRestApiResult> deleteRestApiAsync(DeleteRestApiRequest request, AsyncHandler<DeleteRestApiRequest,DeleteRestApiResult> asyncHandler)
AmazonApiGatewayAsync
Deletes the specified API.
deleteRestApiAsync
in interface AmazonApiGatewayAsync
request
- Request to delete the specified API from your collection.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteStageResult> deleteStageAsync(DeleteStageRequest request)
AmazonApiGatewayAsync
Deletes a Stage resource.
deleteStageAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to delete a Stage resource.public java.util.concurrent.Future<DeleteStageResult> deleteStageAsync(DeleteStageRequest request, AsyncHandler<DeleteStageRequest,DeleteStageResult> asyncHandler)
AmazonApiGatewayAsync
Deletes a Stage resource.
deleteStageAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to delete a Stage resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<FlushStageAuthorizersCacheResult> flushStageAuthorizersCacheAsync(FlushStageAuthorizersCacheRequest request)
AmazonApiGatewayAsync
Flushes all authorizer cache entries on a stage.
flushStageAuthorizersCacheAsync
in interface AmazonApiGatewayAsync
request
- Request to flush authorizer cache entries on a specified stage.public java.util.concurrent.Future<FlushStageAuthorizersCacheResult> flushStageAuthorizersCacheAsync(FlushStageAuthorizersCacheRequest request, AsyncHandler<FlushStageAuthorizersCacheRequest,FlushStageAuthorizersCacheResult> asyncHandler)
AmazonApiGatewayAsync
Flushes all authorizer cache entries on a stage.
flushStageAuthorizersCacheAsync
in interface AmazonApiGatewayAsync
request
- Request to flush authorizer cache entries on a specified stage.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<FlushStageCacheResult> flushStageCacheAsync(FlushStageCacheRequest request)
AmazonApiGatewayAsync
Flushes a stage's cache.
flushStageCacheAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to flush a stage's cache.public java.util.concurrent.Future<FlushStageCacheResult> flushStageCacheAsync(FlushStageCacheRequest request, AsyncHandler<FlushStageCacheRequest,FlushStageCacheResult> asyncHandler)
AmazonApiGatewayAsync
Flushes a stage's cache.
flushStageCacheAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to flush a stage's cache.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GenerateClientCertificateResult> generateClientCertificateAsync(GenerateClientCertificateRequest request)
AmazonApiGatewayAsync
Generates a ClientCertificate resource.
generateClientCertificateAsync
in interface AmazonApiGatewayAsync
request
- A request to generate a ClientCertificate resource.public java.util.concurrent.Future<GenerateClientCertificateResult> generateClientCertificateAsync(GenerateClientCertificateRequest request, AsyncHandler<GenerateClientCertificateRequest,GenerateClientCertificateResult> asyncHandler)
AmazonApiGatewayAsync
Generates a ClientCertificate resource.
generateClientCertificateAsync
in interface AmazonApiGatewayAsync
request
- A request to generate a ClientCertificate resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetAccountResult> getAccountAsync(GetAccountRequest request)
AmazonApiGatewayAsync
Gets information about the current Account resource.
getAccountAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to get information about the current
Account resource.public java.util.concurrent.Future<GetAccountResult> getAccountAsync(GetAccountRequest request, AsyncHandler<GetAccountRequest,GetAccountResult> asyncHandler)
AmazonApiGatewayAsync
Gets information about the current Account resource.
getAccountAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to get information about the current
Account resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetApiKeyResult> getApiKeyAsync(GetApiKeyRequest request)
AmazonApiGatewayAsync
Gets information about the current ApiKey resource.
getApiKeyAsync
in interface AmazonApiGatewayAsync
request
- A request to get information about the current ApiKey
resource.public java.util.concurrent.Future<GetApiKeyResult> getApiKeyAsync(GetApiKeyRequest request, AsyncHandler<GetApiKeyRequest,GetApiKeyResult> asyncHandler)
AmazonApiGatewayAsync
Gets information about the current ApiKey resource.
getApiKeyAsync
in interface AmazonApiGatewayAsync
request
- A request to get information about the current ApiKey
resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetApiKeysResult> getApiKeysAsync(GetApiKeysRequest request)
AmazonApiGatewayAsync
Gets information about the current ApiKeys resource.
getApiKeysAsync
in interface AmazonApiGatewayAsync
request
- A request to get information about the current ApiKeys
resource.public java.util.concurrent.Future<GetApiKeysResult> getApiKeysAsync(GetApiKeysRequest request, AsyncHandler<GetApiKeysRequest,GetApiKeysResult> asyncHandler)
AmazonApiGatewayAsync
Gets information about the current ApiKeys resource.
getApiKeysAsync
in interface AmazonApiGatewayAsync
request
- A request to get information about the current ApiKeys
resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetAuthorizerResult> getAuthorizerAsync(GetAuthorizerRequest request)
AmazonApiGatewayAsync
Describe an existing Authorizer resource.
getAuthorizerAsync
in interface AmazonApiGatewayAsync
request
- Request to describe an existing Authorizer resource.public java.util.concurrent.Future<GetAuthorizerResult> getAuthorizerAsync(GetAuthorizerRequest request, AsyncHandler<GetAuthorizerRequest,GetAuthorizerResult> asyncHandler)
AmazonApiGatewayAsync
Describe an existing Authorizer resource.
getAuthorizerAsync
in interface AmazonApiGatewayAsync
request
- Request to describe an existing Authorizer resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetAuthorizersResult> getAuthorizersAsync(GetAuthorizersRequest request)
AmazonApiGatewayAsync
Describe an existing Authorizers resource.
getAuthorizersAsync
in interface AmazonApiGatewayAsync
request
- Request to describe an existing Authorizers resource.public java.util.concurrent.Future<GetAuthorizersResult> getAuthorizersAsync(GetAuthorizersRequest request, AsyncHandler<GetAuthorizersRequest,GetAuthorizersResult> asyncHandler)
AmazonApiGatewayAsync
Describe an existing Authorizers resource.
getAuthorizersAsync
in interface AmazonApiGatewayAsync
request
- Request to describe an existing Authorizers resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetBasePathMappingResult> getBasePathMappingAsync(GetBasePathMappingRequest request)
AmazonApiGatewayAsync
Describe a BasePathMapping resource.
getBasePathMappingAsync
in interface AmazonApiGatewayAsync
request
- Request to describe a BasePathMapping resource.public java.util.concurrent.Future<GetBasePathMappingResult> getBasePathMappingAsync(GetBasePathMappingRequest request, AsyncHandler<GetBasePathMappingRequest,GetBasePathMappingResult> asyncHandler)
AmazonApiGatewayAsync
Describe a BasePathMapping resource.
getBasePathMappingAsync
in interface AmazonApiGatewayAsync
request
- Request to describe a BasePathMapping resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetBasePathMappingsResult> getBasePathMappingsAsync(GetBasePathMappingsRequest request)
AmazonApiGatewayAsync
Represents a collection of BasePathMapping resources.
getBasePathMappingsAsync
in interface AmazonApiGatewayAsync
request
- A request to get information about a collection of
BasePathMapping resources.public java.util.concurrent.Future<GetBasePathMappingsResult> getBasePathMappingsAsync(GetBasePathMappingsRequest request, AsyncHandler<GetBasePathMappingsRequest,GetBasePathMappingsResult> asyncHandler)
AmazonApiGatewayAsync
Represents a collection of BasePathMapping resources.
getBasePathMappingsAsync
in interface AmazonApiGatewayAsync
request
- A request to get information about a collection of
BasePathMapping resources.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetClientCertificateResult> getClientCertificateAsync(GetClientCertificateRequest request)
AmazonApiGatewayAsync
Gets information about the current ClientCertificate resource.
getClientCertificateAsync
in interface AmazonApiGatewayAsync
request
- A request to get information about the current
ClientCertificate resource.public java.util.concurrent.Future<GetClientCertificateResult> getClientCertificateAsync(GetClientCertificateRequest request, AsyncHandler<GetClientCertificateRequest,GetClientCertificateResult> asyncHandler)
AmazonApiGatewayAsync
Gets information about the current ClientCertificate resource.
getClientCertificateAsync
in interface AmazonApiGatewayAsync
request
- A request to get information about the current
ClientCertificate resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetClientCertificatesResult> getClientCertificatesAsync(GetClientCertificatesRequest request)
AmazonApiGatewayAsync
Gets a collection of ClientCertificate resources.
getClientCertificatesAsync
in interface AmazonApiGatewayAsync
request
- A request to get information about a collection of
ClientCertificate resources.public java.util.concurrent.Future<GetClientCertificatesResult> getClientCertificatesAsync(GetClientCertificatesRequest request, AsyncHandler<GetClientCertificatesRequest,GetClientCertificatesResult> asyncHandler)
AmazonApiGatewayAsync
Gets a collection of ClientCertificate resources.
getClientCertificatesAsync
in interface AmazonApiGatewayAsync
request
- A request to get information about a collection of
ClientCertificate resources.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request)
AmazonApiGatewayAsync
Gets information about a Deployment resource.
getDeploymentAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to get information about a
Deployment resource.public java.util.concurrent.Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request, AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler)
AmazonApiGatewayAsync
Gets information about a Deployment resource.
getDeploymentAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to get information about a
Deployment resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetDeploymentsResult> getDeploymentsAsync(GetDeploymentsRequest request)
AmazonApiGatewayAsync
Gets information about a Deployments collection.
getDeploymentsAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to get information about a
Deployments collection.public java.util.concurrent.Future<GetDeploymentsResult> getDeploymentsAsync(GetDeploymentsRequest request, AsyncHandler<GetDeploymentsRequest,GetDeploymentsResult> asyncHandler)
AmazonApiGatewayAsync
Gets information about a Deployments collection.
getDeploymentsAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to get information about a
Deployments collection.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetDomainNameResult> getDomainNameAsync(GetDomainNameRequest request)
AmazonApiGatewayAsync
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
getDomainNameAsync
in interface AmazonApiGatewayAsync
request
- Request to get the name of a DomainName resource.public java.util.concurrent.Future<GetDomainNameResult> getDomainNameAsync(GetDomainNameRequest request, AsyncHandler<GetDomainNameRequest,GetDomainNameResult> asyncHandler)
AmazonApiGatewayAsync
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
getDomainNameAsync
in interface AmazonApiGatewayAsync
request
- Request to get the name of a DomainName resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetDomainNamesResult> getDomainNamesAsync(GetDomainNamesRequest request)
AmazonApiGatewayAsync
Represents a collection of DomainName resources.
getDomainNamesAsync
in interface AmazonApiGatewayAsync
request
- Request to describe a collection of DomainName resources.public java.util.concurrent.Future<GetDomainNamesResult> getDomainNamesAsync(GetDomainNamesRequest request, AsyncHandler<GetDomainNamesRequest,GetDomainNamesResult> asyncHandler)
AmazonApiGatewayAsync
Represents a collection of DomainName resources.
getDomainNamesAsync
in interface AmazonApiGatewayAsync
request
- Request to describe a collection of DomainName resources.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetExportResult> getExportAsync(GetExportRequest request)
AmazonApiGatewayAsync
Exports a deployed version of a RestApi in a specified format.
getExportAsync
in interface AmazonApiGatewayAsync
request
- Request a new export of a RestApi for a particular
Stage.public java.util.concurrent.Future<GetExportResult> getExportAsync(GetExportRequest request, AsyncHandler<GetExportRequest,GetExportResult> asyncHandler)
AmazonApiGatewayAsync
Exports a deployed version of a RestApi in a specified format.
getExportAsync
in interface AmazonApiGatewayAsync
request
- Request a new export of a RestApi for a particular
Stage.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetIntegrationResult> getIntegrationAsync(GetIntegrationRequest request)
AmazonApiGatewayAsync
Represents a get integration.
getIntegrationAsync
in interface AmazonApiGatewayAsync
request
- Represents a get integration request.public java.util.concurrent.Future<GetIntegrationResult> getIntegrationAsync(GetIntegrationRequest request, AsyncHandler<GetIntegrationRequest,GetIntegrationResult> asyncHandler)
AmazonApiGatewayAsync
Represents a get integration.
getIntegrationAsync
in interface AmazonApiGatewayAsync
request
- Represents a get integration request.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetIntegrationResponseResult> getIntegrationResponseAsync(GetIntegrationResponseRequest request)
AmazonApiGatewayAsync
Represents a get integration response.
getIntegrationResponseAsync
in interface AmazonApiGatewayAsync
request
- Represents a get integration response request.public java.util.concurrent.Future<GetIntegrationResponseResult> getIntegrationResponseAsync(GetIntegrationResponseRequest request, AsyncHandler<GetIntegrationResponseRequest,GetIntegrationResponseResult> asyncHandler)
AmazonApiGatewayAsync
Represents a get integration response.
getIntegrationResponseAsync
in interface AmazonApiGatewayAsync
request
- Represents a get integration response request.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetMethodResult> getMethodAsync(GetMethodRequest request)
AmazonApiGatewayAsync
Describe an existing Method resource.
getMethodAsync
in interface AmazonApiGatewayAsync
request
- Request to describe an existing Method resource.public java.util.concurrent.Future<GetMethodResult> getMethodAsync(GetMethodRequest request, AsyncHandler<GetMethodRequest,GetMethodResult> asyncHandler)
AmazonApiGatewayAsync
Describe an existing Method resource.
getMethodAsync
in interface AmazonApiGatewayAsync
request
- Request to describe an existing Method resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetMethodResponseResult> getMethodResponseAsync(GetMethodResponseRequest request)
AmazonApiGatewayAsync
Describes a MethodResponse resource.
getMethodResponseAsync
in interface AmazonApiGatewayAsync
request
- Request to describe a MethodResponse resource.public java.util.concurrent.Future<GetMethodResponseResult> getMethodResponseAsync(GetMethodResponseRequest request, AsyncHandler<GetMethodResponseRequest,GetMethodResponseResult> asyncHandler)
AmazonApiGatewayAsync
Describes a MethodResponse resource.
getMethodResponseAsync
in interface AmazonApiGatewayAsync
request
- Request to describe a MethodResponse resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetModelResult> getModelAsync(GetModelRequest request)
AmazonApiGatewayAsync
Describes an existing model defined for a RestApi resource.
getModelAsync
in interface AmazonApiGatewayAsync
request
- Request to list information about a model in an existing
RestApi resource.public java.util.concurrent.Future<GetModelResult> getModelAsync(GetModelRequest request, AsyncHandler<GetModelRequest,GetModelResult> asyncHandler)
AmazonApiGatewayAsync
Describes an existing model defined for a RestApi resource.
getModelAsync
in interface AmazonApiGatewayAsync
request
- Request to list information about a model in an existing
RestApi resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetModelTemplateResult> getModelTemplateAsync(GetModelTemplateRequest request)
AmazonApiGatewayAsync
Generates a sample mapping template that can be used to transform a payload into the structure of a model.
getModelTemplateAsync
in interface AmazonApiGatewayAsync
request
- Request to generate a sample mapping template used to transform
the payload.public java.util.concurrent.Future<GetModelTemplateResult> getModelTemplateAsync(GetModelTemplateRequest request, AsyncHandler<GetModelTemplateRequest,GetModelTemplateResult> asyncHandler)
AmazonApiGatewayAsync
Generates a sample mapping template that can be used to transform a payload into the structure of a model.
getModelTemplateAsync
in interface AmazonApiGatewayAsync
request
- Request to generate a sample mapping template used to transform
the payload.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetModelsResult> getModelsAsync(GetModelsRequest request)
AmazonApiGatewayAsync
getModelsAsync
in interface AmazonApiGatewayAsync
request
- Request to list existing Models defined for a
RestApi resource.public java.util.concurrent.Future<GetModelsResult> getModelsAsync(GetModelsRequest request, AsyncHandler<GetModelsRequest,GetModelsResult> asyncHandler)
AmazonApiGatewayAsync
getModelsAsync
in interface AmazonApiGatewayAsync
request
- Request to list existing Models defined for a
RestApi resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetResourceResult> getResourceAsync(GetResourceRequest request)
AmazonApiGatewayAsync
Lists information about a resource.
getResourceAsync
in interface AmazonApiGatewayAsync
request
- Request to list information about a resource.public java.util.concurrent.Future<GetResourceResult> getResourceAsync(GetResourceRequest request, AsyncHandler<GetResourceRequest,GetResourceResult> asyncHandler)
AmazonApiGatewayAsync
Lists information about a resource.
getResourceAsync
in interface AmazonApiGatewayAsync
request
- Request to list information about a resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetResourcesResult> getResourcesAsync(GetResourcesRequest request)
AmazonApiGatewayAsync
Lists information about a collection of Resource resources.
getResourcesAsync
in interface AmazonApiGatewayAsync
request
- Request to list information about a collection of resources.public java.util.concurrent.Future<GetResourcesResult> getResourcesAsync(GetResourcesRequest request, AsyncHandler<GetResourcesRequest,GetResourcesResult> asyncHandler)
AmazonApiGatewayAsync
Lists information about a collection of Resource resources.
getResourcesAsync
in interface AmazonApiGatewayAsync
request
- Request to list information about a collection of resources.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetRestApiResult> getRestApiAsync(GetRestApiRequest request)
AmazonApiGatewayAsync
Lists the RestApi resource in the collection.
getRestApiAsync
in interface AmazonApiGatewayAsync
request
- The GET request to list an existing RestApi defined for
your collection.public java.util.concurrent.Future<GetRestApiResult> getRestApiAsync(GetRestApiRequest request, AsyncHandler<GetRestApiRequest,GetRestApiResult> asyncHandler)
AmazonApiGatewayAsync
Lists the RestApi resource in the collection.
getRestApiAsync
in interface AmazonApiGatewayAsync
request
- The GET request to list an existing RestApi defined for
your collection.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetRestApisResult> getRestApisAsync(GetRestApisRequest request)
AmazonApiGatewayAsync
Lists the RestApis resources for your collection.
getRestApisAsync
in interface AmazonApiGatewayAsync
request
- The GET request to list existing RestApis defined for your
collection.public java.util.concurrent.Future<GetRestApisResult> getRestApisAsync(GetRestApisRequest request, AsyncHandler<GetRestApisRequest,GetRestApisResult> asyncHandler)
AmazonApiGatewayAsync
Lists the RestApis resources for your collection.
getRestApisAsync
in interface AmazonApiGatewayAsync
request
- The GET request to list existing RestApis defined for your
collection.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetSdkResult> getSdkAsync(GetSdkRequest request)
AmazonApiGatewayAsync
getSdkAsync
in interface AmazonApiGatewayAsync
request
- Request a new generated client SDK for a RestApi and
Stage.public java.util.concurrent.Future<GetSdkResult> getSdkAsync(GetSdkRequest request, AsyncHandler<GetSdkRequest,GetSdkResult> asyncHandler)
AmazonApiGatewayAsync
getSdkAsync
in interface AmazonApiGatewayAsync
request
- Request a new generated client SDK for a RestApi and
Stage.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetStageResult> getStageAsync(GetStageRequest request)
AmazonApiGatewayAsync
Gets information about a Stage resource.
getStageAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to get information about a
Stage resource.public java.util.concurrent.Future<GetStageResult> getStageAsync(GetStageRequest request, AsyncHandler<GetStageRequest,GetStageResult> asyncHandler)
AmazonApiGatewayAsync
Gets information about a Stage resource.
getStageAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to get information about a
Stage resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetStagesResult> getStagesAsync(GetStagesRequest request)
AmazonApiGatewayAsync
Gets information about one or more Stage resources.
getStagesAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to get information about one or more
Stage resources.public java.util.concurrent.Future<GetStagesResult> getStagesAsync(GetStagesRequest request, AsyncHandler<GetStagesRequest,GetStagesResult> asyncHandler)
AmazonApiGatewayAsync
Gets information about one or more Stage resources.
getStagesAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to get information about one or more
Stage resources.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ImportRestApiResult> importRestApiAsync(ImportRestApiRequest request)
AmazonApiGatewayAsync
A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.
importRestApiAsync
in interface AmazonApiGatewayAsync
request
- A POST request to import an API to Amazon API Gateway using an
input of an API definition file.public java.util.concurrent.Future<ImportRestApiResult> importRestApiAsync(ImportRestApiRequest request, AsyncHandler<ImportRestApiRequest,ImportRestApiResult> asyncHandler)
AmazonApiGatewayAsync
A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.
importRestApiAsync
in interface AmazonApiGatewayAsync
request
- A POST request to import an API to Amazon API Gateway using an
input of an API definition file.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<PutIntegrationResult> putIntegrationAsync(PutIntegrationRequest request)
AmazonApiGatewayAsync
Represents a put integration.
putIntegrationAsync
in interface AmazonApiGatewayAsync
request
- Represents a put integration request.public java.util.concurrent.Future<PutIntegrationResult> putIntegrationAsync(PutIntegrationRequest request, AsyncHandler<PutIntegrationRequest,PutIntegrationResult> asyncHandler)
AmazonApiGatewayAsync
Represents a put integration.
putIntegrationAsync
in interface AmazonApiGatewayAsync
request
- Represents a put integration request.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<PutIntegrationResponseResult> putIntegrationResponseAsync(PutIntegrationResponseRequest request)
AmazonApiGatewayAsync
Represents a put integration.
putIntegrationResponseAsync
in interface AmazonApiGatewayAsync
request
- Represents a put integration response request.public java.util.concurrent.Future<PutIntegrationResponseResult> putIntegrationResponseAsync(PutIntegrationResponseRequest request, AsyncHandler<PutIntegrationResponseRequest,PutIntegrationResponseResult> asyncHandler)
AmazonApiGatewayAsync
Represents a put integration.
putIntegrationResponseAsync
in interface AmazonApiGatewayAsync
request
- Represents a put integration response request.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<PutMethodResult> putMethodAsync(PutMethodRequest request)
AmazonApiGatewayAsync
Add a method to an existing Resource resource.
putMethodAsync
in interface AmazonApiGatewayAsync
request
- Request to add a method to an existing Resource resource.public java.util.concurrent.Future<PutMethodResult> putMethodAsync(PutMethodRequest request, AsyncHandler<PutMethodRequest,PutMethodResult> asyncHandler)
AmazonApiGatewayAsync
Add a method to an existing Resource resource.
putMethodAsync
in interface AmazonApiGatewayAsync
request
- Request to add a method to an existing Resource resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<PutMethodResponseResult> putMethodResponseAsync(PutMethodResponseRequest request)
AmazonApiGatewayAsync
Adds a MethodResponse to an existing Method resource.
putMethodResponseAsync
in interface AmazonApiGatewayAsync
request
- Request to add a MethodResponse to an existing
Method resource.public java.util.concurrent.Future<PutMethodResponseResult> putMethodResponseAsync(PutMethodResponseRequest request, AsyncHandler<PutMethodResponseRequest,PutMethodResponseResult> asyncHandler)
AmazonApiGatewayAsync
Adds a MethodResponse to an existing Method resource.
putMethodResponseAsync
in interface AmazonApiGatewayAsync
request
- Request to add a MethodResponse to an existing
Method resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<PutRestApiResult> putRestApiAsync(PutRestApiRequest request)
AmazonApiGatewayAsync
A feature of the Amazon API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.
putRestApiAsync
in interface AmazonApiGatewayAsync
request
- A PUT request to update an existing API, with external API
definitions specified as the request body.public java.util.concurrent.Future<PutRestApiResult> putRestApiAsync(PutRestApiRequest request, AsyncHandler<PutRestApiRequest,PutRestApiResult> asyncHandler)
AmazonApiGatewayAsync
A feature of the Amazon API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.
putRestApiAsync
in interface AmazonApiGatewayAsync
request
- A PUT request to update an existing API, with external API
definitions specified as the request body.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<TestInvokeAuthorizerResult> testInvokeAuthorizerAsync(TestInvokeAuthorizerRequest request)
AmazonApiGatewayAsync
Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.
testInvokeAuthorizerAsync
in interface AmazonApiGatewayAsync
request
- Make a request to simulate the execution of an Authorizer.public java.util.concurrent.Future<TestInvokeAuthorizerResult> testInvokeAuthorizerAsync(TestInvokeAuthorizerRequest request, AsyncHandler<TestInvokeAuthorizerRequest,TestInvokeAuthorizerResult> asyncHandler)
AmazonApiGatewayAsync
Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.
testInvokeAuthorizerAsync
in interface AmazonApiGatewayAsync
request
- Make a request to simulate the execution of an Authorizer.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<TestInvokeMethodResult> testInvokeMethodAsync(TestInvokeMethodRequest request)
AmazonApiGatewayAsync
Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.
testInvokeMethodAsync
in interface AmazonApiGatewayAsync
request
- Make a request to simulate the execution of a Method.public java.util.concurrent.Future<TestInvokeMethodResult> testInvokeMethodAsync(TestInvokeMethodRequest request, AsyncHandler<TestInvokeMethodRequest,TestInvokeMethodResult> asyncHandler)
AmazonApiGatewayAsync
Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.
testInvokeMethodAsync
in interface AmazonApiGatewayAsync
request
- Make a request to simulate the execution of a Method.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateAccountResult> updateAccountAsync(UpdateAccountRequest request)
AmazonApiGatewayAsync
Changes information about the current Account resource.
updateAccountAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to change information about the
current Account resource.public java.util.concurrent.Future<UpdateAccountResult> updateAccountAsync(UpdateAccountRequest request, AsyncHandler<UpdateAccountRequest,UpdateAccountResult> asyncHandler)
AmazonApiGatewayAsync
Changes information about the current Account resource.
updateAccountAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to change information about the
current Account resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateApiKeyResult> updateApiKeyAsync(UpdateApiKeyRequest request)
AmazonApiGatewayAsync
Changes information about an ApiKey resource.
updateApiKeyAsync
in interface AmazonApiGatewayAsync
request
- A request to change information about an ApiKey resource.public java.util.concurrent.Future<UpdateApiKeyResult> updateApiKeyAsync(UpdateApiKeyRequest request, AsyncHandler<UpdateApiKeyRequest,UpdateApiKeyResult> asyncHandler)
AmazonApiGatewayAsync
Changes information about an ApiKey resource.
updateApiKeyAsync
in interface AmazonApiGatewayAsync
request
- A request to change information about an ApiKey resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateAuthorizerResult> updateAuthorizerAsync(UpdateAuthorizerRequest request)
AmazonApiGatewayAsync
Updates an existing Authorizer resource.
updateAuthorizerAsync
in interface AmazonApiGatewayAsync
request
- Request to update an existing Authorizer resource.public java.util.concurrent.Future<UpdateAuthorizerResult> updateAuthorizerAsync(UpdateAuthorizerRequest request, AsyncHandler<UpdateAuthorizerRequest,UpdateAuthorizerResult> asyncHandler)
AmazonApiGatewayAsync
Updates an existing Authorizer resource.
updateAuthorizerAsync
in interface AmazonApiGatewayAsync
request
- Request to update an existing Authorizer resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateBasePathMappingResult> updateBasePathMappingAsync(UpdateBasePathMappingRequest request)
AmazonApiGatewayAsync
Changes information about the BasePathMapping resource.
updateBasePathMappingAsync
in interface AmazonApiGatewayAsync
request
- A request to change information about the BasePathMapping
resource.public java.util.concurrent.Future<UpdateBasePathMappingResult> updateBasePathMappingAsync(UpdateBasePathMappingRequest request, AsyncHandler<UpdateBasePathMappingRequest,UpdateBasePathMappingResult> asyncHandler)
AmazonApiGatewayAsync
Changes information about the BasePathMapping resource.
updateBasePathMappingAsync
in interface AmazonApiGatewayAsync
request
- A request to change information about the BasePathMapping
resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateClientCertificateResult> updateClientCertificateAsync(UpdateClientCertificateRequest request)
AmazonApiGatewayAsync
Changes information about an ClientCertificate resource.
updateClientCertificateAsync
in interface AmazonApiGatewayAsync
request
- A request to change information about an ClientCertificate
resource.public java.util.concurrent.Future<UpdateClientCertificateResult> updateClientCertificateAsync(UpdateClientCertificateRequest request, AsyncHandler<UpdateClientCertificateRequest,UpdateClientCertificateResult> asyncHandler)
AmazonApiGatewayAsync
Changes information about an ClientCertificate resource.
updateClientCertificateAsync
in interface AmazonApiGatewayAsync
request
- A request to change information about an ClientCertificate
resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateDeploymentResult> updateDeploymentAsync(UpdateDeploymentRequest request)
AmazonApiGatewayAsync
Changes information about a Deployment resource.
updateDeploymentAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to change information about a
Deployment resource.public java.util.concurrent.Future<UpdateDeploymentResult> updateDeploymentAsync(UpdateDeploymentRequest request, AsyncHandler<UpdateDeploymentRequest,UpdateDeploymentResult> asyncHandler)
AmazonApiGatewayAsync
Changes information about a Deployment resource.
updateDeploymentAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to change information about a
Deployment resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateDomainNameResult> updateDomainNameAsync(UpdateDomainNameRequest request)
AmazonApiGatewayAsync
Changes information about the DomainName resource.
updateDomainNameAsync
in interface AmazonApiGatewayAsync
request
- A request to change information about the DomainName
resource.public java.util.concurrent.Future<UpdateDomainNameResult> updateDomainNameAsync(UpdateDomainNameRequest request, AsyncHandler<UpdateDomainNameRequest,UpdateDomainNameResult> asyncHandler)
AmazonApiGatewayAsync
Changes information about the DomainName resource.
updateDomainNameAsync
in interface AmazonApiGatewayAsync
request
- A request to change information about the DomainName
resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateIntegrationResult> updateIntegrationAsync(UpdateIntegrationRequest request)
AmazonApiGatewayAsync
Represents an update integration.
updateIntegrationAsync
in interface AmazonApiGatewayAsync
request
- Represents an update integration request.public java.util.concurrent.Future<UpdateIntegrationResult> updateIntegrationAsync(UpdateIntegrationRequest request, AsyncHandler<UpdateIntegrationRequest,UpdateIntegrationResult> asyncHandler)
AmazonApiGatewayAsync
Represents an update integration.
updateIntegrationAsync
in interface AmazonApiGatewayAsync
request
- Represents an update integration request.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateIntegrationResponseResult> updateIntegrationResponseAsync(UpdateIntegrationResponseRequest request)
AmazonApiGatewayAsync
Represents an update integration response.
updateIntegrationResponseAsync
in interface AmazonApiGatewayAsync
request
- Represents an update integration response request.public java.util.concurrent.Future<UpdateIntegrationResponseResult> updateIntegrationResponseAsync(UpdateIntegrationResponseRequest request, AsyncHandler<UpdateIntegrationResponseRequest,UpdateIntegrationResponseResult> asyncHandler)
AmazonApiGatewayAsync
Represents an update integration response.
updateIntegrationResponseAsync
in interface AmazonApiGatewayAsync
request
- Represents an update integration response request.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateMethodResult> updateMethodAsync(UpdateMethodRequest request)
AmazonApiGatewayAsync
Updates an existing Method resource.
updateMethodAsync
in interface AmazonApiGatewayAsync
request
- Request to update an existing Method resource.public java.util.concurrent.Future<UpdateMethodResult> updateMethodAsync(UpdateMethodRequest request, AsyncHandler<UpdateMethodRequest,UpdateMethodResult> asyncHandler)
AmazonApiGatewayAsync
Updates an existing Method resource.
updateMethodAsync
in interface AmazonApiGatewayAsync
request
- Request to update an existing Method resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateMethodResponseResult> updateMethodResponseAsync(UpdateMethodResponseRequest request)
AmazonApiGatewayAsync
Updates an existing MethodResponse resource.
updateMethodResponseAsync
in interface AmazonApiGatewayAsync
request
- A request to update an existing MethodResponse resource.public java.util.concurrent.Future<UpdateMethodResponseResult> updateMethodResponseAsync(UpdateMethodResponseRequest request, AsyncHandler<UpdateMethodResponseRequest,UpdateMethodResponseResult> asyncHandler)
AmazonApiGatewayAsync
Updates an existing MethodResponse resource.
updateMethodResponseAsync
in interface AmazonApiGatewayAsync
request
- A request to update an existing MethodResponse resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateModelResult> updateModelAsync(UpdateModelRequest request)
AmazonApiGatewayAsync
Changes information about a model.
updateModelAsync
in interface AmazonApiGatewayAsync
request
- Request to update an existing model in an existing RestApi
resource.public java.util.concurrent.Future<UpdateModelResult> updateModelAsync(UpdateModelRequest request, AsyncHandler<UpdateModelRequest,UpdateModelResult> asyncHandler)
AmazonApiGatewayAsync
Changes information about a model.
updateModelAsync
in interface AmazonApiGatewayAsync
request
- Request to update an existing model in an existing RestApi
resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request)
AmazonApiGatewayAsync
Changes information about a Resource resource.
updateResourceAsync
in interface AmazonApiGatewayAsync
request
- Request to change information about a Resource resource.public java.util.concurrent.Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request, AsyncHandler<UpdateResourceRequest,UpdateResourceResult> asyncHandler)
AmazonApiGatewayAsync
Changes information about a Resource resource.
updateResourceAsync
in interface AmazonApiGatewayAsync
request
- Request to change information about a Resource resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateRestApiResult> updateRestApiAsync(UpdateRestApiRequest request)
AmazonApiGatewayAsync
Changes information about the specified API.
updateRestApiAsync
in interface AmazonApiGatewayAsync
request
- Request to update an existing RestApi resource in your
collection.public java.util.concurrent.Future<UpdateRestApiResult> updateRestApiAsync(UpdateRestApiRequest request, AsyncHandler<UpdateRestApiRequest,UpdateRestApiResult> asyncHandler)
AmazonApiGatewayAsync
Changes information about the specified API.
updateRestApiAsync
in interface AmazonApiGatewayAsync
request
- Request to update an existing RestApi resource in your
collection.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateStageResult> updateStageAsync(UpdateStageRequest request)
AmazonApiGatewayAsync
Changes information about a Stage resource.
updateStageAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to change information about a
Stage resource.public java.util.concurrent.Future<UpdateStageResult> updateStageAsync(UpdateStageRequest request, AsyncHandler<UpdateStageRequest,UpdateStageResult> asyncHandler)
AmazonApiGatewayAsync
Changes information about a Stage resource.
updateStageAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to change information about a
Stage resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by
getExecutorService().awaitTermination()
prior to calling this
method.shutdown
in interface AmazonApiGateway
shutdown
in class AmazonWebServiceClient