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.
jsonErrorUnmarshallers
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,
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,
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,
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,
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, createBasePathMapping, createDeployment, createDomainName, createModel, createResource, createRestApi, createStage, deleteApiKey, deleteBasePathMapping, deleteClientCertificate, deleteDeployment, deleteDomainName, deleteIntegration, deleteIntegrationResponse, deleteMethod, deleteMethodResponse, deleteModel, deleteResource, deleteRestApi, deleteStage, flushStageCache, generateClientCertificate, getAccount, getApiKey, getApiKeys, getBasePathMapping, getBasePathMappings, getCachedResponseMetadata, getClientCertificate, getClientCertificates, getDeployment, getDeployments, getDomainName, getDomainNames, getIntegration, getIntegrationResponse, getMethod, getMethodResponse, getModel, getModels, getModelTemplate, getResource, getResources, getRestApi, getRestApis, getSdk, getStage, getStages, putIntegration, putIntegrationResponse, putMethod, putMethodResponse, testInvokeMethod, updateAccount, updateApiKey, updateBasePathMapping, updateClientCertificate, updateDeployment, updateDomainName, updateIntegration, updateIntegrationResponse, updateMethod, updateMethodResponse, updateModel, updateResource, updateRestApi, updateStage
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createApiKey, createBasePathMapping, createDeployment, createDomainName, createModel, createResource, createRestApi, createStage, deleteApiKey, deleteBasePathMapping, deleteClientCertificate, deleteDeployment, deleteDomainName, deleteIntegration, deleteIntegrationResponse, deleteMethod, deleteMethodResponse, deleteModel, deleteResource, deleteRestApi, deleteStage, flushStageCache, generateClientCertificate, getAccount, getApiKey, getApiKeys, getBasePathMapping, getBasePathMappings, getCachedResponseMetadata, getClientCertificate, getClientCertificates, getDeployment, getDeployments, getDomainName, getDomainNames, getIntegration, getIntegrationResponse, getMethod, getMethodResponse, getModel, getModels, getModelTemplate, getResource, getResources, getRestApi, getRestApis, getSdk, getStage, getStages, putIntegration, putIntegrationResponse, putMethod, putMethodResponse, setEndpoint, setRegion, testInvokeMethod, updateAccount, updateApiKey, updateBasePathMapping, updateClientCertificate, updateDeployment, updateDomainName, updateIntegration, updateIntegrationResponse, updateMethod, updateMethodResponse, updateModel, updateResource, updateRestApi, updateStage
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).
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, 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, 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, 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, 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 ExecutorService getExecutorService()
public Future<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest request)
createApiKeyAsync
in interface AmazonApiGatewayAsync
public Future<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest request, AsyncHandler<CreateApiKeyRequest,CreateApiKeyResult> asyncHandler)
createApiKeyAsync
in interface AmazonApiGatewayAsync
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 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 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 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 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 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 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 Future<CreateModelResult> createModelAsync(CreateModelRequest request)
AmazonApiGatewayAsync
createModelAsync
in interface AmazonApiGatewayAsync
request
- Request to add a new Model to an existing RestApi
resource.public 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 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 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 Future<CreateRestApiResult> createRestApiAsync(CreateRestApiRequest request)
AmazonApiGatewayAsync
Creates a new RestApi resource.
createRestApiAsync
in interface AmazonApiGatewayAsync
request
- Request to add a new RestApi resource to your collection.public Future<CreateRestApiResult> createRestApiAsync(CreateRestApiRequest request, AsyncHandler<CreateRestApiRequest,CreateRestApiResult> asyncHandler)
AmazonApiGatewayAsync
Creates a new RestApi resource.
createRestApiAsync
in interface AmazonApiGatewayAsync
request
- 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 Future<CreateStageResult> createStageAsync(CreateStageRequest request)
AmazonApiGatewayAsync
Creates a Stage resource.
createStageAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to create a Stage resource.public Future<CreateStageResult> createStageAsync(CreateStageRequest request, AsyncHandler<CreateStageRequest,CreateStageResult> asyncHandler)
AmazonApiGatewayAsync
Creates a Stage resource.
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 Future<Void> deleteApiKeyAsync(DeleteApiKeyRequest request)
AmazonApiGatewayAsync
Deletes the ApiKey resource.
deleteApiKeyAsync
in interface AmazonApiGatewayAsync
request
- A request to delete the ApiKey resource.public Future<Void> deleteApiKeyAsync(DeleteApiKeyRequest request, AsyncHandler<DeleteApiKeyRequest,Void> 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 Future<Void> deleteBasePathMappingAsync(DeleteBasePathMappingRequest request)
AmazonApiGatewayAsync
Deletes the BasePathMapping resource.
deleteBasePathMappingAsync
in interface AmazonApiGatewayAsync
request
- A request to delete the BasePathMapping resource.public Future<Void> deleteBasePathMappingAsync(DeleteBasePathMappingRequest request, AsyncHandler<DeleteBasePathMappingRequest,Void> 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 Future<Void> deleteClientCertificateAsync(DeleteClientCertificateRequest request)
deleteClientCertificateAsync
in interface AmazonApiGatewayAsync
public Future<Void> deleteClientCertificateAsync(DeleteClientCertificateRequest request, AsyncHandler<DeleteClientCertificateRequest,Void> asyncHandler)
deleteClientCertificateAsync
in interface AmazonApiGatewayAsync
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 Future<Void> 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 Future<Void> deleteDeploymentAsync(DeleteDeploymentRequest request, AsyncHandler<DeleteDeploymentRequest,Void> 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 Future<Void> deleteDomainNameAsync(DeleteDomainNameRequest request)
AmazonApiGatewayAsync
Deletes the DomainName resource.
deleteDomainNameAsync
in interface AmazonApiGatewayAsync
request
- A request to delete the DomainName resource.public Future<Void> deleteDomainNameAsync(DeleteDomainNameRequest request, AsyncHandler<DeleteDomainNameRequest,Void> 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 Future<Void> deleteIntegrationAsync(DeleteIntegrationRequest request)
AmazonApiGatewayAsync
Represents a delete integration.
deleteIntegrationAsync
in interface AmazonApiGatewayAsync
request
- Represents a delete integration request.public Future<Void> deleteIntegrationAsync(DeleteIntegrationRequest request, AsyncHandler<DeleteIntegrationRequest,Void> 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 Future<Void> deleteIntegrationResponseAsync(DeleteIntegrationResponseRequest request)
AmazonApiGatewayAsync
Represents a delete integration response.
deleteIntegrationResponseAsync
in interface AmazonApiGatewayAsync
request
- Represents a delete integration response request.public Future<Void> deleteIntegrationResponseAsync(DeleteIntegrationResponseRequest request, AsyncHandler<DeleteIntegrationResponseRequest,Void> 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 Future<Void> deleteMethodAsync(DeleteMethodRequest request)
AmazonApiGatewayAsync
Deletes an existing Method resource.
deleteMethodAsync
in interface AmazonApiGatewayAsync
request
- Request to delete an existing Method resource.public Future<Void> deleteMethodAsync(DeleteMethodRequest request, AsyncHandler<DeleteMethodRequest,Void> 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 Future<Void> deleteMethodResponseAsync(DeleteMethodResponseRequest request)
AmazonApiGatewayAsync
Deletes an existing MethodResponse resource.
deleteMethodResponseAsync
in interface AmazonApiGatewayAsync
request
- A request to delete an existing MethodResponse resource.public Future<Void> deleteMethodResponseAsync(DeleteMethodResponseRequest request, AsyncHandler<DeleteMethodResponseRequest,Void> 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 Future<Void> deleteModelAsync(DeleteModelRequest request)
AmazonApiGatewayAsync
Deletes a model.
deleteModelAsync
in interface AmazonApiGatewayAsync
request
- Request to delete an existing model in an existing RestApi
resource.public Future<Void> deleteModelAsync(DeleteModelRequest request, AsyncHandler<DeleteModelRequest,Void> 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 Future<Void> deleteResourceAsync(DeleteResourceRequest request)
AmazonApiGatewayAsync
Deletes a Resource resource.
deleteResourceAsync
in interface AmazonApiGatewayAsync
request
- Request to delete a Resource.public Future<Void> deleteResourceAsync(DeleteResourceRequest request, AsyncHandler<DeleteResourceRequest,Void> 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 Future<Void> deleteRestApiAsync(DeleteRestApiRequest request)
AmazonApiGatewayAsync
Deletes the specified API.
deleteRestApiAsync
in interface AmazonApiGatewayAsync
request
- Request to delete the specified API from your collection.public Future<Void> deleteRestApiAsync(DeleteRestApiRequest request, AsyncHandler<DeleteRestApiRequest,Void> 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 Future<Void> deleteStageAsync(DeleteStageRequest request)
AmazonApiGatewayAsync
Deletes a Stage resource.
deleteStageAsync
in interface AmazonApiGatewayAsync
request
- Requests Amazon API Gateway to delete a Stage resource.public Future<Void> deleteStageAsync(DeleteStageRequest request, AsyncHandler<DeleteStageRequest,Void> 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 Future<Void> 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 Future<Void> flushStageCacheAsync(FlushStageCacheRequest request, AsyncHandler<FlushStageCacheRequest,Void> 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 Future<GenerateClientCertificateResult> generateClientCertificateAsync(GenerateClientCertificateRequest request)
generateClientCertificateAsync
in interface AmazonApiGatewayAsync
public Future<GenerateClientCertificateResult> generateClientCertificateAsync(GenerateClientCertificateRequest request, AsyncHandler<GenerateClientCertificateRequest,GenerateClientCertificateResult> asyncHandler)
generateClientCertificateAsync
in interface AmazonApiGatewayAsync
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 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 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 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 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 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 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 Future<GetBasePathMappingResult> getBasePathMappingAsync(GetBasePathMappingRequest request)
AmazonApiGatewayAsync
Describe a BasePathMapping resource.
getBasePathMappingAsync
in interface AmazonApiGatewayAsync
request
- Request to describe a BasePathMapping resource.public 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 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 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 Future<GetClientCertificateResult> getClientCertificateAsync(GetClientCertificateRequest request)
getClientCertificateAsync
in interface AmazonApiGatewayAsync
public Future<GetClientCertificateResult> getClientCertificateAsync(GetClientCertificateRequest request, AsyncHandler<GetClientCertificateRequest,GetClientCertificateResult> asyncHandler)
getClientCertificateAsync
in interface AmazonApiGatewayAsync
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 Future<GetClientCertificatesResult> getClientCertificatesAsync(GetClientCertificatesRequest request)
getClientCertificatesAsync
in interface AmazonApiGatewayAsync
public Future<GetClientCertificatesResult> getClientCertificatesAsync(GetClientCertificatesRequest request, AsyncHandler<GetClientCertificatesRequest,GetClientCertificatesResult> asyncHandler)
getClientCertificatesAsync
in interface AmazonApiGatewayAsync
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 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 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 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 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 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 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 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 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 Future<GetIntegrationResult> getIntegrationAsync(GetIntegrationRequest request)
AmazonApiGatewayAsync
Represents a get integration.
getIntegrationAsync
in interface AmazonApiGatewayAsync
request
- Represents a get integration request.public 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 Future<GetIntegrationResponseResult> getIntegrationResponseAsync(GetIntegrationResponseRequest request)
AmazonApiGatewayAsync
Represents a get integration response.
getIntegrationResponseAsync
in interface AmazonApiGatewayAsync
request
- Represents a get integration response request.public 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 Future<GetMethodResult> getMethodAsync(GetMethodRequest request)
AmazonApiGatewayAsync
Describe an existing Method resource.
getMethodAsync
in interface AmazonApiGatewayAsync
request
- Request to describe an existing Method resource.public 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 Future<GetMethodResponseResult> getMethodResponseAsync(GetMethodResponseRequest request)
AmazonApiGatewayAsync
Describes a MethodResponse resource.
getMethodResponseAsync
in interface AmazonApiGatewayAsync
request
- Request to describe a MethodResponse resource.public 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 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 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 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 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 Future<GetModelsResult> getModelsAsync(GetModelsRequest request)
AmazonApiGatewayAsync
getModelsAsync
in interface AmazonApiGatewayAsync
request
- Request to list existing Models defined for a
RestApi resource.public 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 Future<GetResourceResult> getResourceAsync(GetResourceRequest request)
AmazonApiGatewayAsync
Lists information about a resource.
getResourceAsync
in interface AmazonApiGatewayAsync
request
- Request to list information about a resource.public 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 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 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 Future<GetRestApiResult> getRestApiAsync(GetRestApiRequest request)
AmazonApiGatewayAsync
Lists the RestApi resource in the collection.
getRestApiAsync
in interface AmazonApiGatewayAsync
request
- Request to list an existing RestApi defined for your
collection.public Future<GetRestApiResult> getRestApiAsync(GetRestApiRequest request, AsyncHandler<GetRestApiRequest,GetRestApiResult> asyncHandler)
AmazonApiGatewayAsync
Lists the RestApi resource in the collection.
getRestApiAsync
in interface AmazonApiGatewayAsync
request
- 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 Future<GetRestApisResult> getRestApisAsync(GetRestApisRequest request)
AmazonApiGatewayAsync
Lists the RestApis resources for your collection.
getRestApisAsync
in interface AmazonApiGatewayAsync
request
- Request to list existing RestApis defined for your
collection.public Future<GetRestApisResult> getRestApisAsync(GetRestApisRequest request, AsyncHandler<GetRestApisRequest,GetRestApisResult> asyncHandler)
AmazonApiGatewayAsync
Lists the RestApis resources for your collection.
getRestApisAsync
in interface AmazonApiGatewayAsync
request
- 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 Future<GetSdkResult> getSdkAsync(GetSdkRequest request)
getSdkAsync
in interface AmazonApiGatewayAsync
public Future<GetSdkResult> getSdkAsync(GetSdkRequest request, AsyncHandler<GetSdkRequest,GetSdkResult> asyncHandler)
getSdkAsync
in interface AmazonApiGatewayAsync
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 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 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 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 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 Future<PutIntegrationResult> putIntegrationAsync(PutIntegrationRequest request)
AmazonApiGatewayAsync
Represents a put integration.
putIntegrationAsync
in interface AmazonApiGatewayAsync
request
- Represents a put integration request.public 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 Future<PutIntegrationResponseResult> putIntegrationResponseAsync(PutIntegrationResponseRequest request)
AmazonApiGatewayAsync
Represents a put integration.
putIntegrationResponseAsync
in interface AmazonApiGatewayAsync
request
- Represents a put integration response request.public 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 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 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 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 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 Future<TestInvokeMethodResult> testInvokeMethodAsync(TestInvokeMethodRequest request)
testInvokeMethodAsync
in interface AmazonApiGatewayAsync
public Future<TestInvokeMethodResult> testInvokeMethodAsync(TestInvokeMethodRequest request, AsyncHandler<TestInvokeMethodRequest,TestInvokeMethodResult> asyncHandler)
testInvokeMethodAsync
in interface AmazonApiGatewayAsync
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 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 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 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 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 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 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 Future<UpdateClientCertificateResult> updateClientCertificateAsync(UpdateClientCertificateRequest request)
updateClientCertificateAsync
in interface AmazonApiGatewayAsync
public Future<UpdateClientCertificateResult> updateClientCertificateAsync(UpdateClientCertificateRequest request, AsyncHandler<UpdateClientCertificateRequest,UpdateClientCertificateResult> asyncHandler)
updateClientCertificateAsync
in interface AmazonApiGatewayAsync
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 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 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 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 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 Future<UpdateIntegrationResult> updateIntegrationAsync(UpdateIntegrationRequest request)
AmazonApiGatewayAsync
Represents an update integration.
updateIntegrationAsync
in interface AmazonApiGatewayAsync
request
- Represents an update integration request.public 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 Future<UpdateIntegrationResponseResult> updateIntegrationResponseAsync(UpdateIntegrationResponseRequest request)
AmazonApiGatewayAsync
Represents an update integration response.
updateIntegrationResponseAsync
in interface AmazonApiGatewayAsync
request
- Represents an update integration response request.public 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 Future<UpdateMethodResult> updateMethodAsync(UpdateMethodRequest request)
AmazonApiGatewayAsync
Updates an existing Method resource.
updateMethodAsync
in interface AmazonApiGatewayAsync
request
- Request to update an existing Method resource.public 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 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 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 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 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 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 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 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 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 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 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
Copyright © 2015. All rights reserved.