Interface AmazonApiGatewayAsync
-
- All Superinterfaces:
AmazonApiGateway
- All Known Implementing Classes:
AbstractAmazonApiGatewayAsync
,AmazonApiGatewayAsyncClient
public interface AmazonApiGatewayAsync extends AmazonApiGateway
Interface for accessing Amazon API Gateway asynchronously. Each asynchronous method will return a Java Future object representing the asynchronous operation; overloads which accept anAsyncHandler
can be used to receive notification when an asynchronous operation completes.Amazon API Gateway 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.
-
-
Method Summary
-
Methods inherited from interface com.amazonaws.services.apigateway.AmazonApiGateway
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, shutdown, testInvokeAuthorizer, testInvokeMethod, updateAccount, updateApiKey, updateAuthorizer, updateBasePathMapping, updateClientCertificate, updateDeployment, updateDomainName, updateIntegration, updateIntegrationResponse, updateMethod, updateMethodResponse, updateModel, updateResource, updateRestApi, updateStage
-
-
-
-
Method Detail
-
createApiKeyAsync
Future<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest createApiKeyRequest)
Create an ApiKey resource.
- Parameters:
createApiKeyRequest
- Request to create an ApiKey resource.- Returns:
- A Java Future containing the result of the CreateApiKey operation returned by the service.
-
createApiKeyAsync
Future<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest createApiKeyRequest, AsyncHandler<CreateApiKeyRequest,CreateApiKeyResult> asyncHandler)
Create an ApiKey resource.
- Parameters:
createApiKeyRequest
- 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.- Returns:
- A Java Future containing the result of the CreateApiKey operation returned by the service.
-
createAuthorizerAsync
Future<CreateAuthorizerResult> createAuthorizerAsync(CreateAuthorizerRequest createAuthorizerRequest)
Adds a new Authorizer resource to an existing RestApi resource.
- Parameters:
createAuthorizerRequest
- Request to add a new Authorizer to an existing RestApi resource.- Returns:
- A Java Future containing the result of the CreateAuthorizer operation returned by the service.
-
createAuthorizerAsync
Future<CreateAuthorizerResult> createAuthorizerAsync(CreateAuthorizerRequest createAuthorizerRequest, AsyncHandler<CreateAuthorizerRequest,CreateAuthorizerResult> asyncHandler)
Adds a new Authorizer resource to an existing RestApi resource.
- Parameters:
createAuthorizerRequest
- 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.- Returns:
- A Java Future containing the result of the CreateAuthorizer operation returned by the service.
-
createBasePathMappingAsync
Future<CreateBasePathMappingResult> createBasePathMappingAsync(CreateBasePathMappingRequest createBasePathMappingRequest)
Creates a new BasePathMapping resource.
- Parameters:
createBasePathMappingRequest
- Requests Amazon API Gateway to create a new BasePathMapping resource.- Returns:
- A Java Future containing the result of the CreateBasePathMapping operation returned by the service.
-
createBasePathMappingAsync
Future<CreateBasePathMappingResult> createBasePathMappingAsync(CreateBasePathMappingRequest createBasePathMappingRequest, AsyncHandler<CreateBasePathMappingRequest,CreateBasePathMappingResult> asyncHandler)
Creates a new BasePathMapping resource.
- Parameters:
createBasePathMappingRequest
- 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.- Returns:
- A Java Future containing the result of the CreateBasePathMapping operation returned by the service.
-
createDeploymentAsync
Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest)
Creates a Deployment resource, which makes a specified RestApi callable over the internet.
- Parameters:
createDeploymentRequest
- Requests Amazon API Gateway to create a Deployment resource.- Returns:
- A Java Future containing the result of the CreateDeployment operation returned by the service.
-
createDeploymentAsync
Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
Creates a Deployment resource, which makes a specified RestApi callable over the internet.
- Parameters:
createDeploymentRequest
- 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.- Returns:
- A Java Future containing the result of the CreateDeployment operation returned by the service.
-
createDomainNameAsync
Future<CreateDomainNameResult> createDomainNameAsync(CreateDomainNameRequest createDomainNameRequest)
Creates a new domain name.
- Parameters:
createDomainNameRequest
- A request to create a new domain name.- Returns:
- A Java Future containing the result of the CreateDomainName operation returned by the service.
-
createDomainNameAsync
Future<CreateDomainNameResult> createDomainNameAsync(CreateDomainNameRequest createDomainNameRequest, AsyncHandler<CreateDomainNameRequest,CreateDomainNameResult> asyncHandler)
Creates a new domain name.
- Parameters:
createDomainNameRequest
- 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.- Returns:
- A Java Future containing the result of the CreateDomainName operation returned by the service.
-
createModelAsync
Future<CreateModelResult> createModelAsync(CreateModelRequest createModelRequest)
-
createModelAsync
Future<CreateModelResult> createModelAsync(CreateModelRequest createModelRequest, AsyncHandler<CreateModelRequest,CreateModelResult> asyncHandler)
- Parameters:
createModelRequest
- 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.- Returns:
- A Java Future containing the result of the CreateModel operation returned by the service.
-
createResourceAsync
Future<CreateResourceResult> createResourceAsync(CreateResourceRequest createResourceRequest)
Creates a Resource resource.
- Parameters:
createResourceRequest
- Requests Amazon API Gateway to create a Resource resource.- Returns:
- A Java Future containing the result of the CreateResource operation returned by the service.
-
createResourceAsync
Future<CreateResourceResult> createResourceAsync(CreateResourceRequest createResourceRequest, AsyncHandler<CreateResourceRequest,CreateResourceResult> asyncHandler)
Creates a Resource resource.
- Parameters:
createResourceRequest
- 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.- Returns:
- A Java Future containing the result of the CreateResource operation returned by the service.
-
createRestApiAsync
Future<CreateRestApiResult> createRestApiAsync(CreateRestApiRequest createRestApiRequest)
Creates a new RestApi resource.
- Parameters:
createRestApiRequest
- The POST Request to add a new RestApi resource to your collection.- Returns:
- A Java Future containing the result of the CreateRestApi operation returned by the service.
-
createRestApiAsync
Future<CreateRestApiResult> createRestApiAsync(CreateRestApiRequest createRestApiRequest, AsyncHandler<CreateRestApiRequest,CreateRestApiResult> asyncHandler)
Creates a new RestApi resource.
- Parameters:
createRestApiRequest
- 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.- Returns:
- A Java Future containing the result of the CreateRestApi operation returned by the service.
-
createStageAsync
Future<CreateStageResult> createStageAsync(CreateStageRequest createStageRequest)
Creates a new Stage resource that references a pre-existing Deployment for the API.
- Parameters:
createStageRequest
- Requests Amazon API Gateway to create a Stage resource.- Returns:
- A Java Future containing the result of the CreateStage operation returned by the service.
-
createStageAsync
Future<CreateStageResult> createStageAsync(CreateStageRequest createStageRequest, AsyncHandler<CreateStageRequest,CreateStageResult> asyncHandler)
Creates a new Stage resource that references a pre-existing Deployment for the API.
- Parameters:
createStageRequest
- 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.- Returns:
- A Java Future containing the result of the CreateStage operation returned by the service.
-
deleteApiKeyAsync
Future<DeleteApiKeyResult> deleteApiKeyAsync(DeleteApiKeyRequest deleteApiKeyRequest)
Deletes the ApiKey resource.
- Parameters:
deleteApiKeyRequest
- A request to delete the ApiKey resource.- Returns:
- A Java Future containing the result of the DeleteApiKey operation returned by the service.
-
deleteApiKeyAsync
Future<DeleteApiKeyResult> deleteApiKeyAsync(DeleteApiKeyRequest deleteApiKeyRequest, AsyncHandler<DeleteApiKeyRequest,DeleteApiKeyResult> asyncHandler)
Deletes the ApiKey resource.
- Parameters:
deleteApiKeyRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteApiKey operation returned by the service.
-
deleteAuthorizerAsync
Future<DeleteAuthorizerResult> deleteAuthorizerAsync(DeleteAuthorizerRequest deleteAuthorizerRequest)
Deletes an existing Authorizer resource.
- Parameters:
deleteAuthorizerRequest
- Request to delete an existing Authorizer resource.- Returns:
- A Java Future containing the result of the DeleteAuthorizer operation returned by the service.
-
deleteAuthorizerAsync
Future<DeleteAuthorizerResult> deleteAuthorizerAsync(DeleteAuthorizerRequest deleteAuthorizerRequest, AsyncHandler<DeleteAuthorizerRequest,DeleteAuthorizerResult> asyncHandler)
Deletes an existing Authorizer resource.
- Parameters:
deleteAuthorizerRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteAuthorizer operation returned by the service.
-
deleteBasePathMappingAsync
Future<DeleteBasePathMappingResult> deleteBasePathMappingAsync(DeleteBasePathMappingRequest deleteBasePathMappingRequest)
Deletes the BasePathMapping resource.
- Parameters:
deleteBasePathMappingRequest
- A request to delete the BasePathMapping resource.- Returns:
- A Java Future containing the result of the DeleteBasePathMapping operation returned by the service.
-
deleteBasePathMappingAsync
Future<DeleteBasePathMappingResult> deleteBasePathMappingAsync(DeleteBasePathMappingRequest deleteBasePathMappingRequest, AsyncHandler<DeleteBasePathMappingRequest,DeleteBasePathMappingResult> asyncHandler)
Deletes the BasePathMapping resource.
- Parameters:
deleteBasePathMappingRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteBasePathMapping operation returned by the service.
-
deleteClientCertificateAsync
Future<DeleteClientCertificateResult> deleteClientCertificateAsync(DeleteClientCertificateRequest deleteClientCertificateRequest)
Deletes the ClientCertificate resource.
- Parameters:
deleteClientCertificateRequest
- A request to delete the ClientCertificate resource.- Returns:
- A Java Future containing the result of the DeleteClientCertificate operation returned by the service.
-
deleteClientCertificateAsync
Future<DeleteClientCertificateResult> deleteClientCertificateAsync(DeleteClientCertificateRequest deleteClientCertificateRequest, AsyncHandler<DeleteClientCertificateRequest,DeleteClientCertificateResult> asyncHandler)
Deletes the ClientCertificate resource.
- Parameters:
deleteClientCertificateRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteClientCertificate operation returned by the service.
-
deleteDeploymentAsync
Future<DeleteDeploymentResult> deleteDeploymentAsync(DeleteDeploymentRequest deleteDeploymentRequest)
Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
- Parameters:
deleteDeploymentRequest
- Requests Amazon API Gateway to delete a Deployment resource.- Returns:
- A Java Future containing the result of the DeleteDeployment operation returned by the service.
-
deleteDeploymentAsync
Future<DeleteDeploymentResult> deleteDeploymentAsync(DeleteDeploymentRequest deleteDeploymentRequest, AsyncHandler<DeleteDeploymentRequest,DeleteDeploymentResult> asyncHandler)
Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
- Parameters:
deleteDeploymentRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteDeployment operation returned by the service.
-
deleteDomainNameAsync
Future<DeleteDomainNameResult> deleteDomainNameAsync(DeleteDomainNameRequest deleteDomainNameRequest)
Deletes the DomainName resource.
- Parameters:
deleteDomainNameRequest
- A request to delete the DomainName resource.- Returns:
- A Java Future containing the result of the DeleteDomainName operation returned by the service.
-
deleteDomainNameAsync
Future<DeleteDomainNameResult> deleteDomainNameAsync(DeleteDomainNameRequest deleteDomainNameRequest, AsyncHandler<DeleteDomainNameRequest,DeleteDomainNameResult> asyncHandler)
Deletes the DomainName resource.
- Parameters:
deleteDomainNameRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteDomainName operation returned by the service.
-
deleteIntegrationAsync
Future<DeleteIntegrationResult> deleteIntegrationAsync(DeleteIntegrationRequest deleteIntegrationRequest)
Represents a delete integration.
- Parameters:
deleteIntegrationRequest
- Represents a delete integration request.- Returns:
- A Java Future containing the result of the DeleteIntegration operation returned by the service.
-
deleteIntegrationAsync
Future<DeleteIntegrationResult> deleteIntegrationAsync(DeleteIntegrationRequest deleteIntegrationRequest, AsyncHandler<DeleteIntegrationRequest,DeleteIntegrationResult> asyncHandler)
Represents a delete integration.
- Parameters:
deleteIntegrationRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteIntegration operation returned by the service.
-
deleteIntegrationResponseAsync
Future<DeleteIntegrationResponseResult> deleteIntegrationResponseAsync(DeleteIntegrationResponseRequest deleteIntegrationResponseRequest)
Represents a delete integration response.
- Parameters:
deleteIntegrationResponseRequest
- Represents a delete integration response request.- Returns:
- A Java Future containing the result of the DeleteIntegrationResponse operation returned by the service.
-
deleteIntegrationResponseAsync
Future<DeleteIntegrationResponseResult> deleteIntegrationResponseAsync(DeleteIntegrationResponseRequest deleteIntegrationResponseRequest, AsyncHandler<DeleteIntegrationResponseRequest,DeleteIntegrationResponseResult> asyncHandler)
Represents a delete integration response.
- Parameters:
deleteIntegrationResponseRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteIntegrationResponse operation returned by the service.
-
deleteMethodAsync
Future<DeleteMethodResult> deleteMethodAsync(DeleteMethodRequest deleteMethodRequest)
Deletes an existing Method resource.
- Parameters:
deleteMethodRequest
- Request to delete an existing Method resource.- Returns:
- A Java Future containing the result of the DeleteMethod operation returned by the service.
-
deleteMethodAsync
Future<DeleteMethodResult> deleteMethodAsync(DeleteMethodRequest deleteMethodRequest, AsyncHandler<DeleteMethodRequest,DeleteMethodResult> asyncHandler)
Deletes an existing Method resource.
- Parameters:
deleteMethodRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteMethod operation returned by the service.
-
deleteMethodResponseAsync
Future<DeleteMethodResponseResult> deleteMethodResponseAsync(DeleteMethodResponseRequest deleteMethodResponseRequest)
Deletes an existing MethodResponse resource.
- Parameters:
deleteMethodResponseRequest
- A request to delete an existing MethodResponse resource.- Returns:
- A Java Future containing the result of the DeleteMethodResponse operation returned by the service.
-
deleteMethodResponseAsync
Future<DeleteMethodResponseResult> deleteMethodResponseAsync(DeleteMethodResponseRequest deleteMethodResponseRequest, AsyncHandler<DeleteMethodResponseRequest,DeleteMethodResponseResult> asyncHandler)
Deletes an existing MethodResponse resource.
- Parameters:
deleteMethodResponseRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteMethodResponse operation returned by the service.
-
deleteModelAsync
Future<DeleteModelResult> deleteModelAsync(DeleteModelRequest deleteModelRequest)
Deletes a model.
- Parameters:
deleteModelRequest
- Request to delete an existing model in an existing RestApi resource.- Returns:
- A Java Future containing the result of the DeleteModel operation returned by the service.
-
deleteModelAsync
Future<DeleteModelResult> deleteModelAsync(DeleteModelRequest deleteModelRequest, AsyncHandler<DeleteModelRequest,DeleteModelResult> asyncHandler)
Deletes a model.
- Parameters:
deleteModelRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteModel operation returned by the service.
-
deleteResourceAsync
Future<DeleteResourceResult> deleteResourceAsync(DeleteResourceRequest deleteResourceRequest)
Deletes a Resource resource.
- Parameters:
deleteResourceRequest
- Request to delete a Resource.- Returns:
- A Java Future containing the result of the DeleteResource operation returned by the service.
-
deleteResourceAsync
Future<DeleteResourceResult> deleteResourceAsync(DeleteResourceRequest deleteResourceRequest, AsyncHandler<DeleteResourceRequest,DeleteResourceResult> asyncHandler)
Deletes a Resource resource.
- Parameters:
deleteResourceRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteResource operation returned by the service.
-
deleteRestApiAsync
Future<DeleteRestApiResult> deleteRestApiAsync(DeleteRestApiRequest deleteRestApiRequest)
Deletes the specified API.
- Parameters:
deleteRestApiRequest
- Request to delete the specified API from your collection.- Returns:
- A Java Future containing the result of the DeleteRestApi operation returned by the service.
-
deleteRestApiAsync
Future<DeleteRestApiResult> deleteRestApiAsync(DeleteRestApiRequest deleteRestApiRequest, AsyncHandler<DeleteRestApiRequest,DeleteRestApiResult> asyncHandler)
Deletes the specified API.
- Parameters:
deleteRestApiRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteRestApi operation returned by the service.
-
deleteStageAsync
Future<DeleteStageResult> deleteStageAsync(DeleteStageRequest deleteStageRequest)
Deletes a Stage resource.
- Parameters:
deleteStageRequest
- Requests Amazon API Gateway to delete a Stage resource.- Returns:
- A Java Future containing the result of the DeleteStage operation returned by the service.
-
deleteStageAsync
Future<DeleteStageResult> deleteStageAsync(DeleteStageRequest deleteStageRequest, AsyncHandler<DeleteStageRequest,DeleteStageResult> asyncHandler)
Deletes a Stage resource.
- Parameters:
deleteStageRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteStage operation returned by the service.
-
flushStageAuthorizersCacheAsync
Future<FlushStageAuthorizersCacheResult> flushStageAuthorizersCacheAsync(FlushStageAuthorizersCacheRequest flushStageAuthorizersCacheRequest)
Flushes all authorizer cache entries on a stage.
- Parameters:
flushStageAuthorizersCacheRequest
- Request to flush authorizer cache entries on a specified stage.- Returns:
- A Java Future containing the result of the FlushStageAuthorizersCache operation returned by the service.
-
flushStageAuthorizersCacheAsync
Future<FlushStageAuthorizersCacheResult> flushStageAuthorizersCacheAsync(FlushStageAuthorizersCacheRequest flushStageAuthorizersCacheRequest, AsyncHandler<FlushStageAuthorizersCacheRequest,FlushStageAuthorizersCacheResult> asyncHandler)
Flushes all authorizer cache entries on a stage.
- Parameters:
flushStageAuthorizersCacheRequest
- 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.- Returns:
- A Java Future containing the result of the FlushStageAuthorizersCache operation returned by the service.
-
flushStageCacheAsync
Future<FlushStageCacheResult> flushStageCacheAsync(FlushStageCacheRequest flushStageCacheRequest)
Flushes a stage's cache.
- Parameters:
flushStageCacheRequest
- Requests Amazon API Gateway to flush a stage's cache.- Returns:
- A Java Future containing the result of the FlushStageCache operation returned by the service.
-
flushStageCacheAsync
Future<FlushStageCacheResult> flushStageCacheAsync(FlushStageCacheRequest flushStageCacheRequest, AsyncHandler<FlushStageCacheRequest,FlushStageCacheResult> asyncHandler)
Flushes a stage's cache.
- Parameters:
flushStageCacheRequest
- 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.- Returns:
- A Java Future containing the result of the FlushStageCache operation returned by the service.
-
generateClientCertificateAsync
Future<GenerateClientCertificateResult> generateClientCertificateAsync(GenerateClientCertificateRequest generateClientCertificateRequest)
Generates a ClientCertificate resource.
- Parameters:
generateClientCertificateRequest
- A request to generate a ClientCertificate resource.- Returns:
- A Java Future containing the result of the GenerateClientCertificate operation returned by the service.
-
generateClientCertificateAsync
Future<GenerateClientCertificateResult> generateClientCertificateAsync(GenerateClientCertificateRequest generateClientCertificateRequest, AsyncHandler<GenerateClientCertificateRequest,GenerateClientCertificateResult> asyncHandler)
Generates a ClientCertificate resource.
- Parameters:
generateClientCertificateRequest
- 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.- Returns:
- A Java Future containing the result of the GenerateClientCertificate operation returned by the service.
-
getAccountAsync
Future<GetAccountResult> getAccountAsync(GetAccountRequest getAccountRequest)
Gets information about the current Account resource.
- Parameters:
getAccountRequest
- Requests Amazon API Gateway to get information about the current Account resource.- Returns:
- A Java Future containing the result of the GetAccount operation returned by the service.
-
getAccountAsync
Future<GetAccountResult> getAccountAsync(GetAccountRequest getAccountRequest, AsyncHandler<GetAccountRequest,GetAccountResult> asyncHandler)
Gets information about the current Account resource.
- Parameters:
getAccountRequest
- 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.- Returns:
- A Java Future containing the result of the GetAccount operation returned by the service.
-
getApiKeyAsync
Future<GetApiKeyResult> getApiKeyAsync(GetApiKeyRequest getApiKeyRequest)
Gets information about the current ApiKey resource.
- Parameters:
getApiKeyRequest
- A request to get information about the current ApiKey resource.- Returns:
- A Java Future containing the result of the GetApiKey operation returned by the service.
-
getApiKeyAsync
Future<GetApiKeyResult> getApiKeyAsync(GetApiKeyRequest getApiKeyRequest, AsyncHandler<GetApiKeyRequest,GetApiKeyResult> asyncHandler)
Gets information about the current ApiKey resource.
- Parameters:
getApiKeyRequest
- 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.- Returns:
- A Java Future containing the result of the GetApiKey operation returned by the service.
-
getApiKeysAsync
Future<GetApiKeysResult> getApiKeysAsync(GetApiKeysRequest getApiKeysRequest)
Gets information about the current ApiKeys resource.
- Parameters:
getApiKeysRequest
- A request to get information about the current ApiKeys resource.- Returns:
- A Java Future containing the result of the GetApiKeys operation returned by the service.
-
getApiKeysAsync
Future<GetApiKeysResult> getApiKeysAsync(GetApiKeysRequest getApiKeysRequest, AsyncHandler<GetApiKeysRequest,GetApiKeysResult> asyncHandler)
Gets information about the current ApiKeys resource.
- Parameters:
getApiKeysRequest
- 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.- Returns:
- A Java Future containing the result of the GetApiKeys operation returned by the service.
-
getAuthorizerAsync
Future<GetAuthorizerResult> getAuthorizerAsync(GetAuthorizerRequest getAuthorizerRequest)
Describe an existing Authorizer resource.
- Parameters:
getAuthorizerRequest
- Request to describe an existing Authorizer resource.- Returns:
- A Java Future containing the result of the GetAuthorizer operation returned by the service.
-
getAuthorizerAsync
Future<GetAuthorizerResult> getAuthorizerAsync(GetAuthorizerRequest getAuthorizerRequest, AsyncHandler<GetAuthorizerRequest,GetAuthorizerResult> asyncHandler)
Describe an existing Authorizer resource.
- Parameters:
getAuthorizerRequest
- 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.- Returns:
- A Java Future containing the result of the GetAuthorizer operation returned by the service.
-
getAuthorizersAsync
Future<GetAuthorizersResult> getAuthorizersAsync(GetAuthorizersRequest getAuthorizersRequest)
Describe an existing Authorizers resource.
- Parameters:
getAuthorizersRequest
- Request to describe an existing Authorizers resource.- Returns:
- A Java Future containing the result of the GetAuthorizers operation returned by the service.
-
getAuthorizersAsync
Future<GetAuthorizersResult> getAuthorizersAsync(GetAuthorizersRequest getAuthorizersRequest, AsyncHandler<GetAuthorizersRequest,GetAuthorizersResult> asyncHandler)
Describe an existing Authorizers resource.
- Parameters:
getAuthorizersRequest
- 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.- Returns:
- A Java Future containing the result of the GetAuthorizers operation returned by the service.
-
getBasePathMappingAsync
Future<GetBasePathMappingResult> getBasePathMappingAsync(GetBasePathMappingRequest getBasePathMappingRequest)
Describe a BasePathMapping resource.
- Parameters:
getBasePathMappingRequest
- Request to describe a BasePathMapping resource.- Returns:
- A Java Future containing the result of the GetBasePathMapping operation returned by the service.
-
getBasePathMappingAsync
Future<GetBasePathMappingResult> getBasePathMappingAsync(GetBasePathMappingRequest getBasePathMappingRequest, AsyncHandler<GetBasePathMappingRequest,GetBasePathMappingResult> asyncHandler)
Describe a BasePathMapping resource.
- Parameters:
getBasePathMappingRequest
- 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.- Returns:
- A Java Future containing the result of the GetBasePathMapping operation returned by the service.
-
getBasePathMappingsAsync
Future<GetBasePathMappingsResult> getBasePathMappingsAsync(GetBasePathMappingsRequest getBasePathMappingsRequest)
Represents a collection of BasePathMapping resources.
- Parameters:
getBasePathMappingsRequest
- A request to get information about a collection of BasePathMapping resources.- Returns:
- A Java Future containing the result of the GetBasePathMappings operation returned by the service.
-
getBasePathMappingsAsync
Future<GetBasePathMappingsResult> getBasePathMappingsAsync(GetBasePathMappingsRequest getBasePathMappingsRequest, AsyncHandler<GetBasePathMappingsRequest,GetBasePathMappingsResult> asyncHandler)
Represents a collection of BasePathMapping resources.
- Parameters:
getBasePathMappingsRequest
- 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.- Returns:
- A Java Future containing the result of the GetBasePathMappings operation returned by the service.
-
getClientCertificateAsync
Future<GetClientCertificateResult> getClientCertificateAsync(GetClientCertificateRequest getClientCertificateRequest)
Gets information about the current ClientCertificate resource.
- Parameters:
getClientCertificateRequest
- A request to get information about the current ClientCertificate resource.- Returns:
- A Java Future containing the result of the GetClientCertificate operation returned by the service.
-
getClientCertificateAsync
Future<GetClientCertificateResult> getClientCertificateAsync(GetClientCertificateRequest getClientCertificateRequest, AsyncHandler<GetClientCertificateRequest,GetClientCertificateResult> asyncHandler)
Gets information about the current ClientCertificate resource.
- Parameters:
getClientCertificateRequest
- 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.- Returns:
- A Java Future containing the result of the GetClientCertificate operation returned by the service.
-
getClientCertificatesAsync
Future<GetClientCertificatesResult> getClientCertificatesAsync(GetClientCertificatesRequest getClientCertificatesRequest)
Gets a collection of ClientCertificate resources.
- Parameters:
getClientCertificatesRequest
- A request to get information about a collection of ClientCertificate resources.- Returns:
- A Java Future containing the result of the GetClientCertificates operation returned by the service.
-
getClientCertificatesAsync
Future<GetClientCertificatesResult> getClientCertificatesAsync(GetClientCertificatesRequest getClientCertificatesRequest, AsyncHandler<GetClientCertificatesRequest,GetClientCertificatesResult> asyncHandler)
Gets a collection of ClientCertificate resources.
- Parameters:
getClientCertificatesRequest
- 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.- Returns:
- A Java Future containing the result of the GetClientCertificates operation returned by the service.
-
getDeploymentAsync
Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest getDeploymentRequest)
Gets information about a Deployment resource.
- Parameters:
getDeploymentRequest
- Requests Amazon API Gateway to get information about a Deployment resource.- Returns:
- A Java Future containing the result of the GetDeployment operation returned by the service.
-
getDeploymentAsync
Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest getDeploymentRequest, AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler)
Gets information about a Deployment resource.
- Parameters:
getDeploymentRequest
- 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.- Returns:
- A Java Future containing the result of the GetDeployment operation returned by the service.
-
getDeploymentsAsync
Future<GetDeploymentsResult> getDeploymentsAsync(GetDeploymentsRequest getDeploymentsRequest)
Gets information about a Deployments collection.
- Parameters:
getDeploymentsRequest
- Requests Amazon API Gateway to get information about a Deployments collection.- Returns:
- A Java Future containing the result of the GetDeployments operation returned by the service.
-
getDeploymentsAsync
Future<GetDeploymentsResult> getDeploymentsAsync(GetDeploymentsRequest getDeploymentsRequest, AsyncHandler<GetDeploymentsRequest,GetDeploymentsResult> asyncHandler)
Gets information about a Deployments collection.
- Parameters:
getDeploymentsRequest
- 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.- Returns:
- A Java Future containing the result of the GetDeployments operation returned by the service.
-
getDomainNameAsync
Future<GetDomainNameResult> getDomainNameAsync(GetDomainNameRequest getDomainNameRequest)
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
- Parameters:
getDomainNameRequest
- Request to get the name of a DomainName resource.- Returns:
- A Java Future containing the result of the GetDomainName operation returned by the service.
-
getDomainNameAsync
Future<GetDomainNameResult> getDomainNameAsync(GetDomainNameRequest getDomainNameRequest, AsyncHandler<GetDomainNameRequest,GetDomainNameResult> asyncHandler)
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
- Parameters:
getDomainNameRequest
- 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.- Returns:
- A Java Future containing the result of the GetDomainName operation returned by the service.
-
getDomainNamesAsync
Future<GetDomainNamesResult> getDomainNamesAsync(GetDomainNamesRequest getDomainNamesRequest)
Represents a collection of DomainName resources.
- Parameters:
getDomainNamesRequest
- Request to describe a collection of DomainName resources.- Returns:
- A Java Future containing the result of the GetDomainNames operation returned by the service.
-
getDomainNamesAsync
Future<GetDomainNamesResult> getDomainNamesAsync(GetDomainNamesRequest getDomainNamesRequest, AsyncHandler<GetDomainNamesRequest,GetDomainNamesResult> asyncHandler)
Represents a collection of DomainName resources.
- Parameters:
getDomainNamesRequest
- 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.- Returns:
- A Java Future containing the result of the GetDomainNames operation returned by the service.
-
getExportAsync
Future<GetExportResult> getExportAsync(GetExportRequest getExportRequest)
Exports a deployed version of a RestApi in a specified format.
-
getExportAsync
Future<GetExportResult> getExportAsync(GetExportRequest getExportRequest, AsyncHandler<GetExportRequest,GetExportResult> asyncHandler)
Exports a deployed version of a RestApi in a specified format.
- Parameters:
getExportRequest
- 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.- Returns:
- A Java Future containing the result of the GetExport operation returned by the service.
-
getIntegrationAsync
Future<GetIntegrationResult> getIntegrationAsync(GetIntegrationRequest getIntegrationRequest)
Represents a get integration.
- Parameters:
getIntegrationRequest
- Represents a get integration request.- Returns:
- A Java Future containing the result of the GetIntegration operation returned by the service.
-
getIntegrationAsync
Future<GetIntegrationResult> getIntegrationAsync(GetIntegrationRequest getIntegrationRequest, AsyncHandler<GetIntegrationRequest,GetIntegrationResult> asyncHandler)
Represents a get integration.
- Parameters:
getIntegrationRequest
- 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.- Returns:
- A Java Future containing the result of the GetIntegration operation returned by the service.
-
getIntegrationResponseAsync
Future<GetIntegrationResponseResult> getIntegrationResponseAsync(GetIntegrationResponseRequest getIntegrationResponseRequest)
Represents a get integration response.
- Parameters:
getIntegrationResponseRequest
- Represents a get integration response request.- Returns:
- A Java Future containing the result of the GetIntegrationResponse operation returned by the service.
-
getIntegrationResponseAsync
Future<GetIntegrationResponseResult> getIntegrationResponseAsync(GetIntegrationResponseRequest getIntegrationResponseRequest, AsyncHandler<GetIntegrationResponseRequest,GetIntegrationResponseResult> asyncHandler)
Represents a get integration response.
- Parameters:
getIntegrationResponseRequest
- 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.- Returns:
- A Java Future containing the result of the GetIntegrationResponse operation returned by the service.
-
getMethodAsync
Future<GetMethodResult> getMethodAsync(GetMethodRequest getMethodRequest)
Describe an existing Method resource.
- Parameters:
getMethodRequest
- Request to describe an existing Method resource.- Returns:
- A Java Future containing the result of the GetMethod operation returned by the service.
-
getMethodAsync
Future<GetMethodResult> getMethodAsync(GetMethodRequest getMethodRequest, AsyncHandler<GetMethodRequest,GetMethodResult> asyncHandler)
Describe an existing Method resource.
- Parameters:
getMethodRequest
- 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.- Returns:
- A Java Future containing the result of the GetMethod operation returned by the service.
-
getMethodResponseAsync
Future<GetMethodResponseResult> getMethodResponseAsync(GetMethodResponseRequest getMethodResponseRequest)
Describes a MethodResponse resource.
- Parameters:
getMethodResponseRequest
- Request to describe a MethodResponse resource.- Returns:
- A Java Future containing the result of the GetMethodResponse operation returned by the service.
-
getMethodResponseAsync
Future<GetMethodResponseResult> getMethodResponseAsync(GetMethodResponseRequest getMethodResponseRequest, AsyncHandler<GetMethodResponseRequest,GetMethodResponseResult> asyncHandler)
Describes a MethodResponse resource.
- Parameters:
getMethodResponseRequest
- 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.- Returns:
- A Java Future containing the result of the GetMethodResponse operation returned by the service.
-
getModelAsync
Future<GetModelResult> getModelAsync(GetModelRequest getModelRequest)
Describes an existing model defined for a RestApi resource.
- Parameters:
getModelRequest
- Request to list information about a model in an existing RestApi resource.- Returns:
- A Java Future containing the result of the GetModel operation returned by the service.
-
getModelAsync
Future<GetModelResult> getModelAsync(GetModelRequest getModelRequest, AsyncHandler<GetModelRequest,GetModelResult> asyncHandler)
Describes an existing model defined for a RestApi resource.
- Parameters:
getModelRequest
- 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.- Returns:
- A Java Future containing the result of the GetModel operation returned by the service.
-
getModelTemplateAsync
Future<GetModelTemplateResult> getModelTemplateAsync(GetModelTemplateRequest getModelTemplateRequest)
Generates a sample mapping template that can be used to transform a payload into the structure of a model.
- Parameters:
getModelTemplateRequest
- Request to generate a sample mapping template used to transform the payload.- Returns:
- A Java Future containing the result of the GetModelTemplate operation returned by the service.
-
getModelTemplateAsync
Future<GetModelTemplateResult> getModelTemplateAsync(GetModelTemplateRequest getModelTemplateRequest, AsyncHandler<GetModelTemplateRequest,GetModelTemplateResult> asyncHandler)
Generates a sample mapping template that can be used to transform a payload into the structure of a model.
- Parameters:
getModelTemplateRequest
- 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.- Returns:
- A Java Future containing the result of the GetModelTemplate operation returned by the service.
-
getModelsAsync
Future<GetModelsResult> getModelsAsync(GetModelsRequest getModelsRequest)
-
getModelsAsync
Future<GetModelsResult> getModelsAsync(GetModelsRequest getModelsRequest, AsyncHandler<GetModelsRequest,GetModelsResult> asyncHandler)
- Parameters:
getModelsRequest
- 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.- Returns:
- A Java Future containing the result of the GetModels operation returned by the service.
-
getResourceAsync
Future<GetResourceResult> getResourceAsync(GetResourceRequest getResourceRequest)
Lists information about a resource.
- Parameters:
getResourceRequest
- Request to list information about a resource.- Returns:
- A Java Future containing the result of the GetResource operation returned by the service.
-
getResourceAsync
Future<GetResourceResult> getResourceAsync(GetResourceRequest getResourceRequest, AsyncHandler<GetResourceRequest,GetResourceResult> asyncHandler)
Lists information about a resource.
- Parameters:
getResourceRequest
- 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.- Returns:
- A Java Future containing the result of the GetResource operation returned by the service.
-
getResourcesAsync
Future<GetResourcesResult> getResourcesAsync(GetResourcesRequest getResourcesRequest)
Lists information about a collection of Resource resources.
- Parameters:
getResourcesRequest
- Request to list information about a collection of resources.- Returns:
- A Java Future containing the result of the GetResources operation returned by the service.
-
getResourcesAsync
Future<GetResourcesResult> getResourcesAsync(GetResourcesRequest getResourcesRequest, AsyncHandler<GetResourcesRequest,GetResourcesResult> asyncHandler)
Lists information about a collection of Resource resources.
- Parameters:
getResourcesRequest
- 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.- Returns:
- A Java Future containing the result of the GetResources operation returned by the service.
-
getRestApiAsync
Future<GetRestApiResult> getRestApiAsync(GetRestApiRequest getRestApiRequest)
Lists the RestApi resource in the collection.
- Parameters:
getRestApiRequest
- The GET request to list an existing RestApi defined for your collection.- Returns:
- A Java Future containing the result of the GetRestApi operation returned by the service.
-
getRestApiAsync
Future<GetRestApiResult> getRestApiAsync(GetRestApiRequest getRestApiRequest, AsyncHandler<GetRestApiRequest,GetRestApiResult> asyncHandler)
Lists the RestApi resource in the collection.
- Parameters:
getRestApiRequest
- 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.- Returns:
- A Java Future containing the result of the GetRestApi operation returned by the service.
-
getRestApisAsync
Future<GetRestApisResult> getRestApisAsync(GetRestApisRequest getRestApisRequest)
Lists the RestApis resources for your collection.
- Parameters:
getRestApisRequest
- The GET request to list existing RestApis defined for your collection.- Returns:
- A Java Future containing the result of the GetRestApis operation returned by the service.
-
getRestApisAsync
Future<GetRestApisResult> getRestApisAsync(GetRestApisRequest getRestApisRequest, AsyncHandler<GetRestApisRequest,GetRestApisResult> asyncHandler)
Lists the RestApis resources for your collection.
- Parameters:
getRestApisRequest
- 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.- Returns:
- A Java Future containing the result of the GetRestApis operation returned by the service.
-
getSdkAsync
Future<GetSdkResult> getSdkAsync(GetSdkRequest getSdkRequest)
-
getSdkAsync
Future<GetSdkResult> getSdkAsync(GetSdkRequest getSdkRequest, AsyncHandler<GetSdkRequest,GetSdkResult> asyncHandler)
- Parameters:
getSdkRequest
- 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.- Returns:
- A Java Future containing the result of the GetSdk operation returned by the service.
-
getStageAsync
Future<GetStageResult> getStageAsync(GetStageRequest getStageRequest)
Gets information about a Stage resource.
- Parameters:
getStageRequest
- Requests Amazon API Gateway to get information about a Stage resource.- Returns:
- A Java Future containing the result of the GetStage operation returned by the service.
-
getStageAsync
Future<GetStageResult> getStageAsync(GetStageRequest getStageRequest, AsyncHandler<GetStageRequest,GetStageResult> asyncHandler)
Gets information about a Stage resource.
- Parameters:
getStageRequest
- 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.- Returns:
- A Java Future containing the result of the GetStage operation returned by the service.
-
getStagesAsync
Future<GetStagesResult> getStagesAsync(GetStagesRequest getStagesRequest)
Gets information about one or more Stage resources.
- Parameters:
getStagesRequest
- Requests Amazon API Gateway to get information about one or more Stage resources.- Returns:
- A Java Future containing the result of the GetStages operation returned by the service.
-
getStagesAsync
Future<GetStagesResult> getStagesAsync(GetStagesRequest getStagesRequest, AsyncHandler<GetStagesRequest,GetStagesResult> asyncHandler)
Gets information about one or more Stage resources.
- Parameters:
getStagesRequest
- 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.- Returns:
- A Java Future containing the result of the GetStages operation returned by the service.
-
importRestApiAsync
Future<ImportRestApiResult> importRestApiAsync(ImportRestApiRequest importRestApiRequest)
A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.
- Parameters:
importRestApiRequest
- A POST request to import an API to Amazon API Gateway using an input of an API definition file.- Returns:
- A Java Future containing the result of the ImportRestApi operation returned by the service.
-
importRestApiAsync
Future<ImportRestApiResult> importRestApiAsync(ImportRestApiRequest importRestApiRequest, AsyncHandler<ImportRestApiRequest,ImportRestApiResult> asyncHandler)
A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.
- Parameters:
importRestApiRequest
- 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.- Returns:
- A Java Future containing the result of the ImportRestApi operation returned by the service.
-
putIntegrationAsync
Future<PutIntegrationResult> putIntegrationAsync(PutIntegrationRequest putIntegrationRequest)
Represents a put integration.
- Parameters:
putIntegrationRequest
- Represents a put integration request.- Returns:
- A Java Future containing the result of the PutIntegration operation returned by the service.
-
putIntegrationAsync
Future<PutIntegrationResult> putIntegrationAsync(PutIntegrationRequest putIntegrationRequest, AsyncHandler<PutIntegrationRequest,PutIntegrationResult> asyncHandler)
Represents a put integration.
- Parameters:
putIntegrationRequest
- 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.- Returns:
- A Java Future containing the result of the PutIntegration operation returned by the service.
-
putIntegrationResponseAsync
Future<PutIntegrationResponseResult> putIntegrationResponseAsync(PutIntegrationResponseRequest putIntegrationResponseRequest)
Represents a put integration.
- Parameters:
putIntegrationResponseRequest
- Represents a put integration response request.- Returns:
- A Java Future containing the result of the PutIntegrationResponse operation returned by the service.
-
putIntegrationResponseAsync
Future<PutIntegrationResponseResult> putIntegrationResponseAsync(PutIntegrationResponseRequest putIntegrationResponseRequest, AsyncHandler<PutIntegrationResponseRequest,PutIntegrationResponseResult> asyncHandler)
Represents a put integration.
- Parameters:
putIntegrationResponseRequest
- 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.- Returns:
- A Java Future containing the result of the PutIntegrationResponse operation returned by the service.
-
putMethodAsync
Future<PutMethodResult> putMethodAsync(PutMethodRequest putMethodRequest)
Add a method to an existing Resource resource.
- Parameters:
putMethodRequest
- Request to add a method to an existing Resource resource.- Returns:
- A Java Future containing the result of the PutMethod operation returned by the service.
-
putMethodAsync
Future<PutMethodResult> putMethodAsync(PutMethodRequest putMethodRequest, AsyncHandler<PutMethodRequest,PutMethodResult> asyncHandler)
Add a method to an existing Resource resource.
- Parameters:
putMethodRequest
- 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.- Returns:
- A Java Future containing the result of the PutMethod operation returned by the service.
-
putMethodResponseAsync
Future<PutMethodResponseResult> putMethodResponseAsync(PutMethodResponseRequest putMethodResponseRequest)
Adds a MethodResponse to an existing Method resource.
- Parameters:
putMethodResponseRequest
- Request to add a MethodResponse to an existing Method resource.- Returns:
- A Java Future containing the result of the PutMethodResponse operation returned by the service.
-
putMethodResponseAsync
Future<PutMethodResponseResult> putMethodResponseAsync(PutMethodResponseRequest putMethodResponseRequest, AsyncHandler<PutMethodResponseRequest,PutMethodResponseResult> asyncHandler)
Adds a MethodResponse to an existing Method resource.
- Parameters:
putMethodResponseRequest
- 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.- Returns:
- A Java Future containing the result of the PutMethodResponse operation returned by the service.
-
putRestApiAsync
Future<PutRestApiResult> putRestApiAsync(PutRestApiRequest putRestApiRequest)
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.
- Parameters:
putRestApiRequest
- A PUT request to update an existing API, with external API definitions specified as the request body.- Returns:
- A Java Future containing the result of the PutRestApi operation returned by the service.
-
putRestApiAsync
Future<PutRestApiResult> putRestApiAsync(PutRestApiRequest putRestApiRequest, AsyncHandler<PutRestApiRequest,PutRestApiResult> asyncHandler)
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.
- Parameters:
putRestApiRequest
- 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.- Returns:
- A Java Future containing the result of the PutRestApi operation returned by the service.
-
testInvokeAuthorizerAsync
Future<TestInvokeAuthorizerResult> testInvokeAuthorizerAsync(TestInvokeAuthorizerRequest testInvokeAuthorizerRequest)
Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.
- Parameters:
testInvokeAuthorizerRequest
- Make a request to simulate the execution of an Authorizer.- Returns:
- A Java Future containing the result of the TestInvokeAuthorizer operation returned by the service.
-
testInvokeAuthorizerAsync
Future<TestInvokeAuthorizerResult> testInvokeAuthorizerAsync(TestInvokeAuthorizerRequest testInvokeAuthorizerRequest, AsyncHandler<TestInvokeAuthorizerRequest,TestInvokeAuthorizerResult> asyncHandler)
Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.
- Parameters:
testInvokeAuthorizerRequest
- 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.- Returns:
- A Java Future containing the result of the TestInvokeAuthorizer operation returned by the service.
-
testInvokeMethodAsync
Future<TestInvokeMethodResult> testInvokeMethodAsync(TestInvokeMethodRequest testInvokeMethodRequest)
Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.
- Parameters:
testInvokeMethodRequest
- Make a request to simulate the execution of a Method.- Returns:
- A Java Future containing the result of the TestInvokeMethod operation returned by the service.
-
testInvokeMethodAsync
Future<TestInvokeMethodResult> testInvokeMethodAsync(TestInvokeMethodRequest testInvokeMethodRequest, AsyncHandler<TestInvokeMethodRequest,TestInvokeMethodResult> asyncHandler)
Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.
- Parameters:
testInvokeMethodRequest
- 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.- Returns:
- A Java Future containing the result of the TestInvokeMethod operation returned by the service.
-
updateAccountAsync
Future<UpdateAccountResult> updateAccountAsync(UpdateAccountRequest updateAccountRequest)
Changes information about the current Account resource.
- Parameters:
updateAccountRequest
- Requests Amazon API Gateway to change information about the current Account resource.- Returns:
- A Java Future containing the result of the UpdateAccount operation returned by the service.
-
updateAccountAsync
Future<UpdateAccountResult> updateAccountAsync(UpdateAccountRequest updateAccountRequest, AsyncHandler<UpdateAccountRequest,UpdateAccountResult> asyncHandler)
Changes information about the current Account resource.
- Parameters:
updateAccountRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateAccount operation returned by the service.
-
updateApiKeyAsync
Future<UpdateApiKeyResult> updateApiKeyAsync(UpdateApiKeyRequest updateApiKeyRequest)
Changes information about an ApiKey resource.
- Parameters:
updateApiKeyRequest
- A request to change information about an ApiKey resource.- Returns:
- A Java Future containing the result of the UpdateApiKey operation returned by the service.
-
updateApiKeyAsync
Future<UpdateApiKeyResult> updateApiKeyAsync(UpdateApiKeyRequest updateApiKeyRequest, AsyncHandler<UpdateApiKeyRequest,UpdateApiKeyResult> asyncHandler)
Changes information about an ApiKey resource.
- Parameters:
updateApiKeyRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateApiKey operation returned by the service.
-
updateAuthorizerAsync
Future<UpdateAuthorizerResult> updateAuthorizerAsync(UpdateAuthorizerRequest updateAuthorizerRequest)
Updates an existing Authorizer resource.
- Parameters:
updateAuthorizerRequest
- Request to update an existing Authorizer resource.- Returns:
- A Java Future containing the result of the UpdateAuthorizer operation returned by the service.
-
updateAuthorizerAsync
Future<UpdateAuthorizerResult> updateAuthorizerAsync(UpdateAuthorizerRequest updateAuthorizerRequest, AsyncHandler<UpdateAuthorizerRequest,UpdateAuthorizerResult> asyncHandler)
Updates an existing Authorizer resource.
- Parameters:
updateAuthorizerRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateAuthorizer operation returned by the service.
-
updateBasePathMappingAsync
Future<UpdateBasePathMappingResult> updateBasePathMappingAsync(UpdateBasePathMappingRequest updateBasePathMappingRequest)
Changes information about the BasePathMapping resource.
- Parameters:
updateBasePathMappingRequest
- A request to change information about the BasePathMapping resource.- Returns:
- A Java Future containing the result of the UpdateBasePathMapping operation returned by the service.
-
updateBasePathMappingAsync
Future<UpdateBasePathMappingResult> updateBasePathMappingAsync(UpdateBasePathMappingRequest updateBasePathMappingRequest, AsyncHandler<UpdateBasePathMappingRequest,UpdateBasePathMappingResult> asyncHandler)
Changes information about the BasePathMapping resource.
- Parameters:
updateBasePathMappingRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateBasePathMapping operation returned by the service.
-
updateClientCertificateAsync
Future<UpdateClientCertificateResult> updateClientCertificateAsync(UpdateClientCertificateRequest updateClientCertificateRequest)
Changes information about an ClientCertificate resource.
- Parameters:
updateClientCertificateRequest
- A request to change information about an ClientCertificate resource.- Returns:
- A Java Future containing the result of the UpdateClientCertificate operation returned by the service.
-
updateClientCertificateAsync
Future<UpdateClientCertificateResult> updateClientCertificateAsync(UpdateClientCertificateRequest updateClientCertificateRequest, AsyncHandler<UpdateClientCertificateRequest,UpdateClientCertificateResult> asyncHandler)
Changes information about an ClientCertificate resource.
- Parameters:
updateClientCertificateRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateClientCertificate operation returned by the service.
-
updateDeploymentAsync
Future<UpdateDeploymentResult> updateDeploymentAsync(UpdateDeploymentRequest updateDeploymentRequest)
Changes information about a Deployment resource.
- Parameters:
updateDeploymentRequest
- Requests Amazon API Gateway to change information about a Deployment resource.- Returns:
- A Java Future containing the result of the UpdateDeployment operation returned by the service.
-
updateDeploymentAsync
Future<UpdateDeploymentResult> updateDeploymentAsync(UpdateDeploymentRequest updateDeploymentRequest, AsyncHandler<UpdateDeploymentRequest,UpdateDeploymentResult> asyncHandler)
Changes information about a Deployment resource.
- Parameters:
updateDeploymentRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateDeployment operation returned by the service.
-
updateDomainNameAsync
Future<UpdateDomainNameResult> updateDomainNameAsync(UpdateDomainNameRequest updateDomainNameRequest)
Changes information about the DomainName resource.
- Parameters:
updateDomainNameRequest
- A request to change information about the DomainName resource.- Returns:
- A Java Future containing the result of the UpdateDomainName operation returned by the service.
-
updateDomainNameAsync
Future<UpdateDomainNameResult> updateDomainNameAsync(UpdateDomainNameRequest updateDomainNameRequest, AsyncHandler<UpdateDomainNameRequest,UpdateDomainNameResult> asyncHandler)
Changes information about the DomainName resource.
- Parameters:
updateDomainNameRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateDomainName operation returned by the service.
-
updateIntegrationAsync
Future<UpdateIntegrationResult> updateIntegrationAsync(UpdateIntegrationRequest updateIntegrationRequest)
Represents an update integration.
- Parameters:
updateIntegrationRequest
- Represents an update integration request.- Returns:
- A Java Future containing the result of the UpdateIntegration operation returned by the service.
-
updateIntegrationAsync
Future<UpdateIntegrationResult> updateIntegrationAsync(UpdateIntegrationRequest updateIntegrationRequest, AsyncHandler<UpdateIntegrationRequest,UpdateIntegrationResult> asyncHandler)
Represents an update integration.
- Parameters:
updateIntegrationRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateIntegration operation returned by the service.
-
updateIntegrationResponseAsync
Future<UpdateIntegrationResponseResult> updateIntegrationResponseAsync(UpdateIntegrationResponseRequest updateIntegrationResponseRequest)
Represents an update integration response.
- Parameters:
updateIntegrationResponseRequest
- Represents an update integration response request.- Returns:
- A Java Future containing the result of the UpdateIntegrationResponse operation returned by the service.
-
updateIntegrationResponseAsync
Future<UpdateIntegrationResponseResult> updateIntegrationResponseAsync(UpdateIntegrationResponseRequest updateIntegrationResponseRequest, AsyncHandler<UpdateIntegrationResponseRequest,UpdateIntegrationResponseResult> asyncHandler)
Represents an update integration response.
- Parameters:
updateIntegrationResponseRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateIntegrationResponse operation returned by the service.
-
updateMethodAsync
Future<UpdateMethodResult> updateMethodAsync(UpdateMethodRequest updateMethodRequest)
Updates an existing Method resource.
- Parameters:
updateMethodRequest
- Request to update an existing Method resource.- Returns:
- A Java Future containing the result of the UpdateMethod operation returned by the service.
-
updateMethodAsync
Future<UpdateMethodResult> updateMethodAsync(UpdateMethodRequest updateMethodRequest, AsyncHandler<UpdateMethodRequest,UpdateMethodResult> asyncHandler)
Updates an existing Method resource.
- Parameters:
updateMethodRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateMethod operation returned by the service.
-
updateMethodResponseAsync
Future<UpdateMethodResponseResult> updateMethodResponseAsync(UpdateMethodResponseRequest updateMethodResponseRequest)
Updates an existing MethodResponse resource.
- Parameters:
updateMethodResponseRequest
- A request to update an existing MethodResponse resource.- Returns:
- A Java Future containing the result of the UpdateMethodResponse operation returned by the service.
-
updateMethodResponseAsync
Future<UpdateMethodResponseResult> updateMethodResponseAsync(UpdateMethodResponseRequest updateMethodResponseRequest, AsyncHandler<UpdateMethodResponseRequest,UpdateMethodResponseResult> asyncHandler)
Updates an existing MethodResponse resource.
- Parameters:
updateMethodResponseRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateMethodResponse operation returned by the service.
-
updateModelAsync
Future<UpdateModelResult> updateModelAsync(UpdateModelRequest updateModelRequest)
Changes information about a model.
- Parameters:
updateModelRequest
- Request to update an existing model in an existing RestApi resource.- Returns:
- A Java Future containing the result of the UpdateModel operation returned by the service.
-
updateModelAsync
Future<UpdateModelResult> updateModelAsync(UpdateModelRequest updateModelRequest, AsyncHandler<UpdateModelRequest,UpdateModelResult> asyncHandler)
Changes information about a model.
- Parameters:
updateModelRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateModel operation returned by the service.
-
updateResourceAsync
Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest updateResourceRequest)
Changes information about a Resource resource.
- Parameters:
updateResourceRequest
- Request to change information about a Resource resource.- Returns:
- A Java Future containing the result of the UpdateResource operation returned by the service.
-
updateResourceAsync
Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest updateResourceRequest, AsyncHandler<UpdateResourceRequest,UpdateResourceResult> asyncHandler)
Changes information about a Resource resource.
- Parameters:
updateResourceRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateResource operation returned by the service.
-
updateRestApiAsync
Future<UpdateRestApiResult> updateRestApiAsync(UpdateRestApiRequest updateRestApiRequest)
Changes information about the specified API.
- Parameters:
updateRestApiRequest
- Request to update an existing RestApi resource in your collection.- Returns:
- A Java Future containing the result of the UpdateRestApi operation returned by the service.
-
updateRestApiAsync
Future<UpdateRestApiResult> updateRestApiAsync(UpdateRestApiRequest updateRestApiRequest, AsyncHandler<UpdateRestApiRequest,UpdateRestApiResult> asyncHandler)
Changes information about the specified API.
- Parameters:
updateRestApiRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateRestApi operation returned by the service.
-
updateStageAsync
Future<UpdateStageResult> updateStageAsync(UpdateStageRequest updateStageRequest)
Changes information about a Stage resource.
- Parameters:
updateStageRequest
- Requests Amazon API Gateway to change information about a Stage resource.- Returns:
- A Java Future containing the result of the UpdateStage operation returned by the service.
-
updateStageAsync
Future<UpdateStageResult> updateStageAsync(UpdateStageRequest updateStageRequest, AsyncHandler<UpdateStageRequest,UpdateStageResult> asyncHandler)
Changes information about a Stage resource.
- Parameters:
updateStageRequest
- 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.- Returns:
- A Java Future containing the result of the UpdateStage operation returned by the service.
-
-