Class AmazonApiGatewayAsyncClient
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceClient
-
- com.amazonaws.services.apigateway.AmazonApiGatewayClient
-
- com.amazonaws.services.apigateway.AmazonApiGatewayAsyncClient
-
- All Implemented Interfaces:
AmazonApiGateway
,AmazonApiGatewayAsync
@ThreadSafe public class AmazonApiGatewayAsyncClient extends AmazonApiGatewayClient implements AmazonApiGatewayAsync
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.
-
-
Field Summary
-
Fields inherited from class com.amazonaws.services.apigateway.AmazonApiGatewayClient
configFactory
-
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
-
Constructor Summary
Constructors Constructor 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(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(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(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon API Gateway.
-
Method Summary
-
Methods inherited from class com.amazonaws.services.apigateway.AmazonApiGatewayClient
createApiKey, createAuthorizer, createBasePathMapping, createDeployment, createDomainName, createModel, createResource, createRestApi, createStage, deleteApiKey, deleteAuthorizer, deleteBasePathMapping, deleteClientCertificate, deleteDeployment, deleteDomainName, deleteIntegration, deleteIntegrationResponse, deleteMethod, deleteMethodResponse, deleteModel, deleteResource, deleteRestApi, deleteStage, flushStageAuthorizersCache, flushStageCache, generateClientCertificate, getAccount, getApiKey, getApiKeys, getAuthorizer, getAuthorizers, getBasePathMapping, getBasePathMappings, getCachedResponseMetadata, getClientCertificate, getClientCertificates, getDeployment, getDeployments, getDomainName, getDomainNames, getExport, getIntegration, getIntegrationResponse, getMethod, getMethodResponse, getModel, getModels, getModelTemplate, getResource, getResources, getRestApi, getRestApis, getSdk, getStage, getStages, importRestApi, putIntegration, putIntegrationResponse, putMethod, putMethodResponse, putRestApi, testInvokeAuthorizer, testInvokeMethod, updateAccount, updateApiKey, updateAuthorizer, updateBasePathMapping, updateClientCertificate, updateDeployment, updateDomainName, updateIntegration, updateIntegrationResponse, updateMethod, updateMethodResponse, updateModel, updateResource, updateRestApi, updateStage
-
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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, testInvokeAuthorizer, testInvokeMethod, updateAccount, updateApiKey, updateAuthorizer, updateBasePathMapping, updateClientCertificate, updateDeployment, updateDomainName, updateIntegration, updateIntegrationResponse, updateMethod, updateMethodResponse, updateModel, updateResource, updateRestApi, updateStage
-
-
-
-
Constructor Detail
-
AmazonApiGatewayAsyncClient
public AmazonApiGatewayAsyncClient()
Constructs a new asynchronous client to invoke service methods on Amazon API Gateway. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
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).
-
AmazonApiGatewayAsyncClient
public AmazonApiGatewayAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon API Gateway. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
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()
.- Parameters:
clientConfiguration
- The client configuration options controlling how this client connects to Amazon API Gateway (ex: proxy settings, retry counts, etc).- See Also:
DefaultAWSCredentialsProviderChain
,Executors.newFixedThreadPool(int)
-
AmazonApiGatewayAsyncClient
public AmazonApiGatewayAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on Amazon API Gateway using the specified AWS account credentials.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).
- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
Executors.newFixedThreadPool(int)
-
AmazonApiGatewayAsyncClient
public 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. Default client settings will be used.- Parameters:
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.
-
AmazonApiGatewayAsyncClient
public 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.- Parameters:
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.
-
AmazonApiGatewayAsyncClient
public AmazonApiGatewayAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on Amazon API Gateway using the specified AWS account credentials provider. Default client settings will be used.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).
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
Executors.newFixedThreadPool(int)
-
AmazonApiGatewayAsyncClient
public 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.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()
.- Parameters:
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).- See Also:
DefaultAWSCredentialsProviderChain
,Executors.newFixedThreadPool(int)
-
AmazonApiGatewayAsyncClient
public 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. Default client settings will be used.- Parameters:
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.
-
AmazonApiGatewayAsyncClient
public 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.- Parameters:
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.
-
-
Method Detail
-
getExecutorService
public ExecutorService getExecutorService()
Returns the executor service used by this client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
createApiKeyAsync
public Future<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest request)
Description copied from interface:AmazonApiGatewayAsync
Create an ApiKey resource.
- Specified by:
createApiKeyAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to create an ApiKey resource.- Returns:
- A Java Future containing the result of the CreateApiKey operation returned by the service.
-
createApiKeyAsync
public Future<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest request, AsyncHandler<CreateApiKeyRequest,CreateApiKeyResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Create an ApiKey resource.
- Specified by:
createApiKeyAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to create an ApiKey resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateApiKey operation returned by the service.
-
createAuthorizerAsync
public Future<CreateAuthorizerResult> createAuthorizerAsync(CreateAuthorizerRequest request)
Description copied from interface:AmazonApiGatewayAsync
Adds a new Authorizer resource to an existing RestApi resource.
- Specified by:
createAuthorizerAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<CreateAuthorizerResult> createAuthorizerAsync(CreateAuthorizerRequest request, AsyncHandler<CreateAuthorizerRequest,CreateAuthorizerResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Adds a new Authorizer resource to an existing RestApi resource.
- Specified by:
createAuthorizerAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to add a new Authorizer to an existing RestApi resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateAuthorizer operation returned by the service.
-
createBasePathMappingAsync
public Future<CreateBasePathMappingResult> createBasePathMappingAsync(CreateBasePathMappingRequest request)
Description copied from interface:AmazonApiGatewayAsync
Creates a new BasePathMapping resource.
- Specified by:
createBasePathMappingAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<CreateBasePathMappingResult> createBasePathMappingAsync(CreateBasePathMappingRequest request, AsyncHandler<CreateBasePathMappingRequest,CreateBasePathMappingResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Creates a new BasePathMapping resource.
- Specified by:
createBasePathMappingAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateBasePathMapping operation returned by the service.
-
createDeploymentAsync
public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request)
Description copied from interface:AmazonApiGatewayAsync
Creates a Deployment resource, which makes a specified RestApi callable over the internet.
- Specified by:
createDeploymentAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Creates a Deployment resource, which makes a specified RestApi callable over the internet.
- Specified by:
createDeploymentAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateDeployment operation returned by the service.
-
createDomainNameAsync
public Future<CreateDomainNameResult> createDomainNameAsync(CreateDomainNameRequest request)
Description copied from interface:AmazonApiGatewayAsync
Creates a new domain name.
- Specified by:
createDomainNameAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to create a new domain name.- Returns:
- A Java Future containing the result of the CreateDomainName operation returned by the service.
-
createDomainNameAsync
public Future<CreateDomainNameResult> createDomainNameAsync(CreateDomainNameRequest request, AsyncHandler<CreateDomainNameRequest,CreateDomainNameResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Creates a new domain name.
- Specified by:
createDomainNameAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateDomainName operation returned by the service.
-
createModelAsync
public Future<CreateModelResult> createModelAsync(CreateModelRequest request)
Description copied from interface:AmazonApiGatewayAsync
- Specified by:
createModelAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to add a new Model to an existing RestApi resource.- Returns:
- A Java Future containing the result of the CreateModel operation returned by the service.
-
createModelAsync
public Future<CreateModelResult> createModelAsync(CreateModelRequest request, AsyncHandler<CreateModelRequest,CreateModelResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
- Specified by:
createModelAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateModel operation returned by the service.
-
createResourceAsync
public Future<CreateResourceResult> createResourceAsync(CreateResourceRequest request)
Description copied from interface:AmazonApiGatewayAsync
Creates a Resource resource.
- Specified by:
createResourceAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<CreateResourceResult> createResourceAsync(CreateResourceRequest request, AsyncHandler<CreateResourceRequest,CreateResourceResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Creates a Resource resource.
- Specified by:
createResourceAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateResource operation returned by the service.
-
createRestApiAsync
public Future<CreateRestApiResult> createRestApiAsync(CreateRestApiRequest request)
Description copied from interface:AmazonApiGatewayAsync
Creates a new RestApi resource.
- Specified by:
createRestApiAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<CreateRestApiResult> createRestApiAsync(CreateRestApiRequest request, AsyncHandler<CreateRestApiRequest,CreateRestApiResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Creates a new RestApi resource.
- Specified by:
createRestApiAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- The POST Request to add a new RestApi resource to your collection.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateRestApi operation returned by the service.
-
createStageAsync
public Future<CreateStageResult> createStageAsync(CreateStageRequest request)
Description copied from interface:AmazonApiGatewayAsync
Creates a new Stage resource that references a pre-existing Deployment for the API.
- Specified by:
createStageAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<CreateStageResult> createStageAsync(CreateStageRequest request, AsyncHandler<CreateStageRequest,CreateStageResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Creates a new Stage resource that references a pre-existing Deployment for the API.
- Specified by:
createStageAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateStage operation returned by the service.
-
deleteApiKeyAsync
public Future<DeleteApiKeyResult> deleteApiKeyAsync(DeleteApiKeyRequest request)
Description copied from interface:AmazonApiGatewayAsync
Deletes the ApiKey resource.
- Specified by:
deleteApiKeyAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to delete the ApiKey resource.- Returns:
- A Java Future containing the result of the DeleteApiKey operation returned by the service.
-
deleteApiKeyAsync
public Future<DeleteApiKeyResult> deleteApiKeyAsync(DeleteApiKeyRequest request, AsyncHandler<DeleteApiKeyRequest,DeleteApiKeyResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Deletes the ApiKey resource.
- Specified by:
deleteApiKeyAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteApiKey operation returned by the service.
-
deleteAuthorizerAsync
public Future<DeleteAuthorizerResult> deleteAuthorizerAsync(DeleteAuthorizerRequest request)
Description copied from interface:AmazonApiGatewayAsync
Deletes an existing Authorizer resource.
- Specified by:
deleteAuthorizerAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to delete an existing Authorizer resource.- Returns:
- A Java Future containing the result of the DeleteAuthorizer operation returned by the service.
-
deleteAuthorizerAsync
public Future<DeleteAuthorizerResult> deleteAuthorizerAsync(DeleteAuthorizerRequest request, AsyncHandler<DeleteAuthorizerRequest,DeleteAuthorizerResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Deletes an existing Authorizer resource.
- Specified by:
deleteAuthorizerAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to delete an existing Authorizer resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteAuthorizer operation returned by the service.
-
deleteBasePathMappingAsync
public Future<DeleteBasePathMappingResult> deleteBasePathMappingAsync(DeleteBasePathMappingRequest request)
Description copied from interface:AmazonApiGatewayAsync
Deletes the BasePathMapping resource.
- Specified by:
deleteBasePathMappingAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to delete the BasePathMapping resource.- Returns:
- A Java Future containing the result of the DeleteBasePathMapping operation returned by the service.
-
deleteBasePathMappingAsync
public Future<DeleteBasePathMappingResult> deleteBasePathMappingAsync(DeleteBasePathMappingRequest request, AsyncHandler<DeleteBasePathMappingRequest,DeleteBasePathMappingResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Deletes the BasePathMapping resource.
- Specified by:
deleteBasePathMappingAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteBasePathMapping operation returned by the service.
-
deleteClientCertificateAsync
public Future<DeleteClientCertificateResult> deleteClientCertificateAsync(DeleteClientCertificateRequest request)
Description copied from interface:AmazonApiGatewayAsync
Deletes the ClientCertificate resource.
- Specified by:
deleteClientCertificateAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to delete the ClientCertificate resource.- Returns:
- A Java Future containing the result of the DeleteClientCertificate operation returned by the service.
-
deleteClientCertificateAsync
public Future<DeleteClientCertificateResult> deleteClientCertificateAsync(DeleteClientCertificateRequest request, AsyncHandler<DeleteClientCertificateRequest,DeleteClientCertificateResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Deletes the ClientCertificate resource.
- Specified by:
deleteClientCertificateAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to delete the ClientCertificate resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteClientCertificate operation returned by the service.
-
deleteDeploymentAsync
public Future<DeleteDeploymentResult> deleteDeploymentAsync(DeleteDeploymentRequest request)
Description copied from interface:AmazonApiGatewayAsync
Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
- Specified by:
deleteDeploymentAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<DeleteDeploymentResult> deleteDeploymentAsync(DeleteDeploymentRequest request, AsyncHandler<DeleteDeploymentRequest,DeleteDeploymentResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
- Specified by:
deleteDeploymentAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteDeployment operation returned by the service.
-
deleteDomainNameAsync
public Future<DeleteDomainNameResult> deleteDomainNameAsync(DeleteDomainNameRequest request)
Description copied from interface:AmazonApiGatewayAsync
Deletes the DomainName resource.
- Specified by:
deleteDomainNameAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to delete the DomainName resource.- Returns:
- A Java Future containing the result of the DeleteDomainName operation returned by the service.
-
deleteDomainNameAsync
public Future<DeleteDomainNameResult> deleteDomainNameAsync(DeleteDomainNameRequest request, AsyncHandler<DeleteDomainNameRequest,DeleteDomainNameResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Deletes the DomainName resource.
- Specified by:
deleteDomainNameAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteDomainName operation returned by the service.
-
deleteIntegrationAsync
public Future<DeleteIntegrationResult> deleteIntegrationAsync(DeleteIntegrationRequest request)
Description copied from interface:AmazonApiGatewayAsync
Represents a delete integration.
- Specified by:
deleteIntegrationAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Represents a delete integration request.- Returns:
- A Java Future containing the result of the DeleteIntegration operation returned by the service.
-
deleteIntegrationAsync
public Future<DeleteIntegrationResult> deleteIntegrationAsync(DeleteIntegrationRequest request, AsyncHandler<DeleteIntegrationRequest,DeleteIntegrationResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Represents a delete integration.
- Specified by:
deleteIntegrationAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteIntegration operation returned by the service.
-
deleteIntegrationResponseAsync
public Future<DeleteIntegrationResponseResult> deleteIntegrationResponseAsync(DeleteIntegrationResponseRequest request)
Description copied from interface:AmazonApiGatewayAsync
Represents a delete integration response.
- Specified by:
deleteIntegrationResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Represents a delete integration response request.- Returns:
- A Java Future containing the result of the DeleteIntegrationResponse operation returned by the service.
-
deleteIntegrationResponseAsync
public Future<DeleteIntegrationResponseResult> deleteIntegrationResponseAsync(DeleteIntegrationResponseRequest request, AsyncHandler<DeleteIntegrationResponseRequest,DeleteIntegrationResponseResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Represents a delete integration response.
- Specified by:
deleteIntegrationResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteIntegrationResponse operation returned by the service.
-
deleteMethodAsync
public Future<DeleteMethodResult> deleteMethodAsync(DeleteMethodRequest request)
Description copied from interface:AmazonApiGatewayAsync
Deletes an existing Method resource.
- Specified by:
deleteMethodAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to delete an existing Method resource.- Returns:
- A Java Future containing the result of the DeleteMethod operation returned by the service.
-
deleteMethodAsync
public Future<DeleteMethodResult> deleteMethodAsync(DeleteMethodRequest request, AsyncHandler<DeleteMethodRequest,DeleteMethodResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Deletes an existing Method resource.
- Specified by:
deleteMethodAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteMethod operation returned by the service.
-
deleteMethodResponseAsync
public Future<DeleteMethodResponseResult> deleteMethodResponseAsync(DeleteMethodResponseRequest request)
Description copied from interface:AmazonApiGatewayAsync
Deletes an existing MethodResponse resource.
- Specified by:
deleteMethodResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to delete an existing MethodResponse resource.- Returns:
- A Java Future containing the result of the DeleteMethodResponse operation returned by the service.
-
deleteMethodResponseAsync
public Future<DeleteMethodResponseResult> deleteMethodResponseAsync(DeleteMethodResponseRequest request, AsyncHandler<DeleteMethodResponseRequest,DeleteMethodResponseResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Deletes an existing MethodResponse resource.
- Specified by:
deleteMethodResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteMethodResponse operation returned by the service.
-
deleteModelAsync
public Future<DeleteModelResult> deleteModelAsync(DeleteModelRequest request)
Description copied from interface:AmazonApiGatewayAsync
Deletes a model.
- Specified by:
deleteModelAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<DeleteModelResult> deleteModelAsync(DeleteModelRequest request, AsyncHandler<DeleteModelRequest,DeleteModelResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Deletes a model.
- Specified by:
deleteModelAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteModel operation returned by the service.
-
deleteResourceAsync
public Future<DeleteResourceResult> deleteResourceAsync(DeleteResourceRequest request)
Description copied from interface:AmazonApiGatewayAsync
Deletes a Resource resource.
- Specified by:
deleteResourceAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to delete a Resource.- Returns:
- A Java Future containing the result of the DeleteResource operation returned by the service.
-
deleteResourceAsync
public Future<DeleteResourceResult> deleteResourceAsync(DeleteResourceRequest request, AsyncHandler<DeleteResourceRequest,DeleteResourceResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Deletes a Resource resource.
- Specified by:
deleteResourceAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteResource operation returned by the service.
-
deleteRestApiAsync
public Future<DeleteRestApiResult> deleteRestApiAsync(DeleteRestApiRequest request)
Description copied from interface:AmazonApiGatewayAsync
Deletes the specified API.
- Specified by:
deleteRestApiAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<DeleteRestApiResult> deleteRestApiAsync(DeleteRestApiRequest request, AsyncHandler<DeleteRestApiRequest,DeleteRestApiResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Deletes the specified API.
- Specified by:
deleteRestApiAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteRestApi operation returned by the service.
-
deleteStageAsync
public Future<DeleteStageResult> deleteStageAsync(DeleteStageRequest request)
Description copied from interface:AmazonApiGatewayAsync
Deletes a Stage resource.
- Specified by:
deleteStageAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<DeleteStageResult> deleteStageAsync(DeleteStageRequest request, AsyncHandler<DeleteStageRequest,DeleteStageResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Deletes a Stage resource.
- Specified by:
deleteStageAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteStage operation returned by the service.
-
flushStageAuthorizersCacheAsync
public Future<FlushStageAuthorizersCacheResult> flushStageAuthorizersCacheAsync(FlushStageAuthorizersCacheRequest request)
Description copied from interface:AmazonApiGatewayAsync
Flushes all authorizer cache entries on a stage.
- Specified by:
flushStageAuthorizersCacheAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<FlushStageAuthorizersCacheResult> flushStageAuthorizersCacheAsync(FlushStageAuthorizersCacheRequest request, AsyncHandler<FlushStageAuthorizersCacheRequest,FlushStageAuthorizersCacheResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Flushes all authorizer cache entries on a stage.
- Specified by:
flushStageAuthorizersCacheAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to flush authorizer cache entries on a specified stage.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the FlushStageAuthorizersCache operation returned by the service.
-
flushStageCacheAsync
public Future<FlushStageCacheResult> flushStageCacheAsync(FlushStageCacheRequest request)
Description copied from interface:AmazonApiGatewayAsync
Flushes a stage's cache.
- Specified by:
flushStageCacheAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<FlushStageCacheResult> flushStageCacheAsync(FlushStageCacheRequest request, AsyncHandler<FlushStageCacheRequest,FlushStageCacheResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Flushes a stage's cache.
- Specified by:
flushStageCacheAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the FlushStageCache operation returned by the service.
-
generateClientCertificateAsync
public Future<GenerateClientCertificateResult> generateClientCertificateAsync(GenerateClientCertificateRequest request)
Description copied from interface:AmazonApiGatewayAsync
Generates a ClientCertificate resource.
- Specified by:
generateClientCertificateAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to generate a ClientCertificate resource.- Returns:
- A Java Future containing the result of the GenerateClientCertificate operation returned by the service.
-
generateClientCertificateAsync
public Future<GenerateClientCertificateResult> generateClientCertificateAsync(GenerateClientCertificateRequest request, AsyncHandler<GenerateClientCertificateRequest,GenerateClientCertificateResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Generates a ClientCertificate resource.
- Specified by:
generateClientCertificateAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to generate a ClientCertificate resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GenerateClientCertificate operation returned by the service.
-
getAccountAsync
public Future<GetAccountResult> getAccountAsync(GetAccountRequest request)
Description copied from interface:AmazonApiGatewayAsync
Gets information about the current Account resource.
- Specified by:
getAccountAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetAccountResult> getAccountAsync(GetAccountRequest request, AsyncHandler<GetAccountRequest,GetAccountResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Gets information about the current Account resource.
- Specified by:
getAccountAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetAccount operation returned by the service.
-
getApiKeyAsync
public Future<GetApiKeyResult> getApiKeyAsync(GetApiKeyRequest request)
Description copied from interface:AmazonApiGatewayAsync
Gets information about the current ApiKey resource.
- Specified by:
getApiKeyAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetApiKeyResult> getApiKeyAsync(GetApiKeyRequest request, AsyncHandler<GetApiKeyRequest,GetApiKeyResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Gets information about the current ApiKey resource.
- Specified by:
getApiKeyAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetApiKey operation returned by the service.
-
getApiKeysAsync
public Future<GetApiKeysResult> getApiKeysAsync(GetApiKeysRequest request)
Description copied from interface:AmazonApiGatewayAsync
Gets information about the current ApiKeys resource.
- Specified by:
getApiKeysAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetApiKeysResult> getApiKeysAsync(GetApiKeysRequest request, AsyncHandler<GetApiKeysRequest,GetApiKeysResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Gets information about the current ApiKeys resource.
- Specified by:
getApiKeysAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetApiKeys operation returned by the service.
-
getAuthorizerAsync
public Future<GetAuthorizerResult> getAuthorizerAsync(GetAuthorizerRequest request)
Description copied from interface:AmazonApiGatewayAsync
Describe an existing Authorizer resource.
- Specified by:
getAuthorizerAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to describe an existing Authorizer resource.- Returns:
- A Java Future containing the result of the GetAuthorizer operation returned by the service.
-
getAuthorizerAsync
public Future<GetAuthorizerResult> getAuthorizerAsync(GetAuthorizerRequest request, AsyncHandler<GetAuthorizerRequest,GetAuthorizerResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Describe an existing Authorizer resource.
- Specified by:
getAuthorizerAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to describe an existing Authorizer resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetAuthorizer operation returned by the service.
-
getAuthorizersAsync
public Future<GetAuthorizersResult> getAuthorizersAsync(GetAuthorizersRequest request)
Description copied from interface:AmazonApiGatewayAsync
Describe an existing Authorizers resource.
- Specified by:
getAuthorizersAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to describe an existing Authorizers resource.- Returns:
- A Java Future containing the result of the GetAuthorizers operation returned by the service.
-
getAuthorizersAsync
public Future<GetAuthorizersResult> getAuthorizersAsync(GetAuthorizersRequest request, AsyncHandler<GetAuthorizersRequest,GetAuthorizersResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Describe an existing Authorizers resource.
- Specified by:
getAuthorizersAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to describe an existing Authorizers resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetAuthorizers operation returned by the service.
-
getBasePathMappingAsync
public Future<GetBasePathMappingResult> getBasePathMappingAsync(GetBasePathMappingRequest request)
Description copied from interface:AmazonApiGatewayAsync
Describe a BasePathMapping resource.
- Specified by:
getBasePathMappingAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to describe a BasePathMapping resource.- Returns:
- A Java Future containing the result of the GetBasePathMapping operation returned by the service.
-
getBasePathMappingAsync
public Future<GetBasePathMappingResult> getBasePathMappingAsync(GetBasePathMappingRequest request, AsyncHandler<GetBasePathMappingRequest,GetBasePathMappingResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Describe a BasePathMapping resource.
- Specified by:
getBasePathMappingAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetBasePathMapping operation returned by the service.
-
getBasePathMappingsAsync
public Future<GetBasePathMappingsResult> getBasePathMappingsAsync(GetBasePathMappingsRequest request)
Description copied from interface:AmazonApiGatewayAsync
Represents a collection of BasePathMapping resources.
- Specified by:
getBasePathMappingsAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetBasePathMappingsResult> getBasePathMappingsAsync(GetBasePathMappingsRequest request, AsyncHandler<GetBasePathMappingsRequest,GetBasePathMappingsResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Represents a collection of BasePathMapping resources.
- Specified by:
getBasePathMappingsAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetBasePathMappings operation returned by the service.
-
getClientCertificateAsync
public Future<GetClientCertificateResult> getClientCertificateAsync(GetClientCertificateRequest request)
Description copied from interface:AmazonApiGatewayAsync
Gets information about the current ClientCertificate resource.
- Specified by:
getClientCertificateAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetClientCertificateResult> getClientCertificateAsync(GetClientCertificateRequest request, AsyncHandler<GetClientCertificateRequest,GetClientCertificateResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Gets information about the current ClientCertificate resource.
- Specified by:
getClientCertificateAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to get information about the current ClientCertificate resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetClientCertificate operation returned by the service.
-
getClientCertificatesAsync
public Future<GetClientCertificatesResult> getClientCertificatesAsync(GetClientCertificatesRequest request)
Description copied from interface:AmazonApiGatewayAsync
Gets a collection of ClientCertificate resources.
- Specified by:
getClientCertificatesAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetClientCertificatesResult> getClientCertificatesAsync(GetClientCertificatesRequest request, AsyncHandler<GetClientCertificatesRequest,GetClientCertificatesResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Gets a collection of ClientCertificate resources.
- Specified by:
getClientCertificatesAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to get information about a collection of ClientCertificate resources.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetClientCertificates operation returned by the service.
-
getDeploymentAsync
public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request)
Description copied from interface:AmazonApiGatewayAsync
Gets information about a Deployment resource.
- Specified by:
getDeploymentAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request, AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Gets information about a Deployment resource.
- Specified by:
getDeploymentAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetDeployment operation returned by the service.
-
getDeploymentsAsync
public Future<GetDeploymentsResult> getDeploymentsAsync(GetDeploymentsRequest request)
Description copied from interface:AmazonApiGatewayAsync
Gets information about a Deployments collection.
- Specified by:
getDeploymentsAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetDeploymentsResult> getDeploymentsAsync(GetDeploymentsRequest request, AsyncHandler<GetDeploymentsRequest,GetDeploymentsResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Gets information about a Deployments collection.
- Specified by:
getDeploymentsAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetDeployments operation returned by the service.
-
getDomainNameAsync
public Future<GetDomainNameResult> getDomainNameAsync(GetDomainNameRequest request)
Description copied from interface:AmazonApiGatewayAsync
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
- Specified by:
getDomainNameAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetDomainNameResult> getDomainNameAsync(GetDomainNameRequest request, AsyncHandler<GetDomainNameRequest,GetDomainNameResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
- Specified by:
getDomainNameAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetDomainName operation returned by the service.
-
getDomainNamesAsync
public Future<GetDomainNamesResult> getDomainNamesAsync(GetDomainNamesRequest request)
Description copied from interface:AmazonApiGatewayAsync
Represents a collection of DomainName resources.
- Specified by:
getDomainNamesAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to describe a collection of DomainName resources.- Returns:
- A Java Future containing the result of the GetDomainNames operation returned by the service.
-
getDomainNamesAsync
public Future<GetDomainNamesResult> getDomainNamesAsync(GetDomainNamesRequest request, AsyncHandler<GetDomainNamesRequest,GetDomainNamesResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Represents a collection of DomainName resources.
- Specified by:
getDomainNamesAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetDomainNames operation returned by the service.
-
getExportAsync
public Future<GetExportResult> getExportAsync(GetExportRequest request)
Description copied from interface:AmazonApiGatewayAsync
Exports a deployed version of a RestApi in a specified format.
- Specified by:
getExportAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request a new export of a RestApi for a particular Stage.- Returns:
- A Java Future containing the result of the GetExport operation returned by the service.
-
getExportAsync
public Future<GetExportResult> getExportAsync(GetExportRequest request, AsyncHandler<GetExportRequest,GetExportResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Exports a deployed version of a RestApi in a specified format.
- Specified by:
getExportAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request a new export of a RestApi for a particular Stage.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetExport operation returned by the service.
-
getIntegrationAsync
public Future<GetIntegrationResult> getIntegrationAsync(GetIntegrationRequest request)
Description copied from interface:AmazonApiGatewayAsync
Represents a get integration.
- Specified by:
getIntegrationAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Represents a get integration request.- Returns:
- A Java Future containing the result of the GetIntegration operation returned by the service.
-
getIntegrationAsync
public Future<GetIntegrationResult> getIntegrationAsync(GetIntegrationRequest request, AsyncHandler<GetIntegrationRequest,GetIntegrationResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Represents a get integration.
- Specified by:
getIntegrationAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetIntegration operation returned by the service.
-
getIntegrationResponseAsync
public Future<GetIntegrationResponseResult> getIntegrationResponseAsync(GetIntegrationResponseRequest request)
Description copied from interface:AmazonApiGatewayAsync
Represents a get integration response.
- Specified by:
getIntegrationResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Represents a get integration response request.- Returns:
- A Java Future containing the result of the GetIntegrationResponse operation returned by the service.
-
getIntegrationResponseAsync
public Future<GetIntegrationResponseResult> getIntegrationResponseAsync(GetIntegrationResponseRequest request, AsyncHandler<GetIntegrationResponseRequest,GetIntegrationResponseResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Represents a get integration response.
- Specified by:
getIntegrationResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetIntegrationResponse operation returned by the service.
-
getMethodAsync
public Future<GetMethodResult> getMethodAsync(GetMethodRequest request)
Description copied from interface:AmazonApiGatewayAsync
Describe an existing Method resource.
- Specified by:
getMethodAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to describe an existing Method resource.- Returns:
- A Java Future containing the result of the GetMethod operation returned by the service.
-
getMethodAsync
public Future<GetMethodResult> getMethodAsync(GetMethodRequest request, AsyncHandler<GetMethodRequest,GetMethodResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Describe an existing Method resource.
- Specified by:
getMethodAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetMethod operation returned by the service.
-
getMethodResponseAsync
public Future<GetMethodResponseResult> getMethodResponseAsync(GetMethodResponseRequest request)
Description copied from interface:AmazonApiGatewayAsync
Describes a MethodResponse resource.
- Specified by:
getMethodResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to describe a MethodResponse resource.- Returns:
- A Java Future containing the result of the GetMethodResponse operation returned by the service.
-
getMethodResponseAsync
public Future<GetMethodResponseResult> getMethodResponseAsync(GetMethodResponseRequest request, AsyncHandler<GetMethodResponseRequest,GetMethodResponseResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Describes a MethodResponse resource.
- Specified by:
getMethodResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetMethodResponse operation returned by the service.
-
getModelAsync
public Future<GetModelResult> getModelAsync(GetModelRequest request)
Description copied from interface:AmazonApiGatewayAsync
Describes an existing model defined for a RestApi resource.
- Specified by:
getModelAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetModelResult> getModelAsync(GetModelRequest request, AsyncHandler<GetModelRequest,GetModelResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Describes an existing model defined for a RestApi resource.
- Specified by:
getModelAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetModel operation returned by the service.
-
getModelTemplateAsync
public Future<GetModelTemplateResult> getModelTemplateAsync(GetModelTemplateRequest request)
Description copied from interface:AmazonApiGatewayAsync
Generates a sample mapping template that can be used to transform a payload into the structure of a model.
- Specified by:
getModelTemplateAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetModelTemplateResult> getModelTemplateAsync(GetModelTemplateRequest request, AsyncHandler<GetModelTemplateRequest,GetModelTemplateResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Generates a sample mapping template that can be used to transform a payload into the structure of a model.
- Specified by:
getModelTemplateAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetModelTemplate operation returned by the service.
-
getModelsAsync
public Future<GetModelsResult> getModelsAsync(GetModelsRequest request)
Description copied from interface:AmazonApiGatewayAsync
- Specified by:
getModelsAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to list existing Models defined for a RestApi resource.- Returns:
- A Java Future containing the result of the GetModels operation returned by the service.
-
getModelsAsync
public Future<GetModelsResult> getModelsAsync(GetModelsRequest request, AsyncHandler<GetModelsRequest,GetModelsResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
- Specified by:
getModelsAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetModels operation returned by the service.
-
getResourceAsync
public Future<GetResourceResult> getResourceAsync(GetResourceRequest request)
Description copied from interface:AmazonApiGatewayAsync
Lists information about a resource.
- Specified by:
getResourceAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to list information about a resource.- Returns:
- A Java Future containing the result of the GetResource operation returned by the service.
-
getResourceAsync
public Future<GetResourceResult> getResourceAsync(GetResourceRequest request, AsyncHandler<GetResourceRequest,GetResourceResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Lists information about a resource.
- Specified by:
getResourceAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetResource operation returned by the service.
-
getResourcesAsync
public Future<GetResourcesResult> getResourcesAsync(GetResourcesRequest request)
Description copied from interface:AmazonApiGatewayAsync
Lists information about a collection of Resource resources.
- Specified by:
getResourcesAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetResourcesResult> getResourcesAsync(GetResourcesRequest request, AsyncHandler<GetResourcesRequest,GetResourcesResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Lists information about a collection of Resource resources.
- Specified by:
getResourcesAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetResources operation returned by the service.
-
getRestApiAsync
public Future<GetRestApiResult> getRestApiAsync(GetRestApiRequest request)
Description copied from interface:AmazonApiGatewayAsync
Lists the RestApi resource in the collection.
- Specified by:
getRestApiAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetRestApiResult> getRestApiAsync(GetRestApiRequest request, AsyncHandler<GetRestApiRequest,GetRestApiResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Lists the RestApi resource in the collection.
- Specified by:
getRestApiAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- The GET request to list an existing RestApi defined for your collection.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetRestApi operation returned by the service.
-
getRestApisAsync
public Future<GetRestApisResult> getRestApisAsync(GetRestApisRequest request)
Description copied from interface:AmazonApiGatewayAsync
Lists the RestApis resources for your collection.
- Specified by:
getRestApisAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetRestApisResult> getRestApisAsync(GetRestApisRequest request, AsyncHandler<GetRestApisRequest,GetRestApisResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Lists the RestApis resources for your collection.
- Specified by:
getRestApisAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- The GET request to list existing RestApis defined for your collection.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetRestApis operation returned by the service.
-
getSdkAsync
public Future<GetSdkResult> getSdkAsync(GetSdkRequest request)
Description copied from interface:AmazonApiGatewayAsync
- Specified by:
getSdkAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request a new generated client SDK for a RestApi and Stage.- Returns:
- A Java Future containing the result of the GetSdk operation returned by the service.
-
getSdkAsync
public Future<GetSdkResult> getSdkAsync(GetSdkRequest request, AsyncHandler<GetSdkRequest,GetSdkResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
- Specified by:
getSdkAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request a new generated client SDK for a RestApi and Stage.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetSdk operation returned by the service.
-
getStageAsync
public Future<GetStageResult> getStageAsync(GetStageRequest request)
Description copied from interface:AmazonApiGatewayAsync
Gets information about a Stage resource.
- Specified by:
getStageAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetStageResult> getStageAsync(GetStageRequest request, AsyncHandler<GetStageRequest,GetStageResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Gets information about a Stage resource.
- Specified by:
getStageAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetStage operation returned by the service.
-
getStagesAsync
public Future<GetStagesResult> getStagesAsync(GetStagesRequest request)
Description copied from interface:AmazonApiGatewayAsync
Gets information about one or more Stage resources.
- Specified by:
getStagesAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<GetStagesResult> getStagesAsync(GetStagesRequest request, AsyncHandler<GetStagesRequest,GetStagesResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Gets information about one or more Stage resources.
- Specified by:
getStagesAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the GetStages operation returned by the service.
-
importRestApiAsync
public Future<ImportRestApiResult> importRestApiAsync(ImportRestApiRequest request)
Description copied from interface:AmazonApiGatewayAsync
A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.
- Specified by:
importRestApiAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<ImportRestApiResult> importRestApiAsync(ImportRestApiRequest request, AsyncHandler<ImportRestApiRequest,ImportRestApiResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.
- Specified by:
importRestApiAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A POST request to import an API to Amazon API Gateway using an input of an API definition file.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ImportRestApi operation returned by the service.
-
putIntegrationAsync
public Future<PutIntegrationResult> putIntegrationAsync(PutIntegrationRequest request)
Description copied from interface:AmazonApiGatewayAsync
Represents a put integration.
- Specified by:
putIntegrationAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Represents a put integration request.- Returns:
- A Java Future containing the result of the PutIntegration operation returned by the service.
-
putIntegrationAsync
public Future<PutIntegrationResult> putIntegrationAsync(PutIntegrationRequest request, AsyncHandler<PutIntegrationRequest,PutIntegrationResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Represents a put integration.
- Specified by:
putIntegrationAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the PutIntegration operation returned by the service.
-
putIntegrationResponseAsync
public Future<PutIntegrationResponseResult> putIntegrationResponseAsync(PutIntegrationResponseRequest request)
Description copied from interface:AmazonApiGatewayAsync
Represents a put integration.
- Specified by:
putIntegrationResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Represents a put integration response request.- Returns:
- A Java Future containing the result of the PutIntegrationResponse operation returned by the service.
-
putIntegrationResponseAsync
public Future<PutIntegrationResponseResult> putIntegrationResponseAsync(PutIntegrationResponseRequest request, AsyncHandler<PutIntegrationResponseRequest,PutIntegrationResponseResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Represents a put integration.
- Specified by:
putIntegrationResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the PutIntegrationResponse operation returned by the service.
-
putMethodAsync
public Future<PutMethodResult> putMethodAsync(PutMethodRequest request)
Description copied from interface:AmazonApiGatewayAsync
Add a method to an existing Resource resource.
- Specified by:
putMethodAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<PutMethodResult> putMethodAsync(PutMethodRequest request, AsyncHandler<PutMethodRequest,PutMethodResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Add a method to an existing Resource resource.
- Specified by:
putMethodAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the PutMethod operation returned by the service.
-
putMethodResponseAsync
public Future<PutMethodResponseResult> putMethodResponseAsync(PutMethodResponseRequest request)
Description copied from interface:AmazonApiGatewayAsync
Adds a MethodResponse to an existing Method resource.
- Specified by:
putMethodResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<PutMethodResponseResult> putMethodResponseAsync(PutMethodResponseRequest request, AsyncHandler<PutMethodResponseRequest,PutMethodResponseResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Adds a MethodResponse to an existing Method resource.
- Specified by:
putMethodResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the PutMethodResponse operation returned by the service.
-
putRestApiAsync
public Future<PutRestApiResult> putRestApiAsync(PutRestApiRequest request)
Description copied from interface:AmazonApiGatewayAsync
A feature of the Amazon API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.
- Specified by:
putRestApiAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<PutRestApiResult> putRestApiAsync(PutRestApiRequest request, AsyncHandler<PutRestApiRequest,PutRestApiResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
A feature of the Amazon API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.
- Specified by:
putRestApiAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A PUT request to update an existing API, with external API definitions specified as the request body.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the PutRestApi operation returned by the service.
-
testInvokeAuthorizerAsync
public Future<TestInvokeAuthorizerResult> testInvokeAuthorizerAsync(TestInvokeAuthorizerRequest request)
Description copied from interface:AmazonApiGatewayAsync
Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.
- Specified by:
testInvokeAuthorizerAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<TestInvokeAuthorizerResult> testInvokeAuthorizerAsync(TestInvokeAuthorizerRequest request, AsyncHandler<TestInvokeAuthorizerRequest,TestInvokeAuthorizerResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.
- Specified by:
testInvokeAuthorizerAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Make a request to simulate the execution of an Authorizer.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the TestInvokeAuthorizer operation returned by the service.
-
testInvokeMethodAsync
public Future<TestInvokeMethodResult> testInvokeMethodAsync(TestInvokeMethodRequest request)
Description copied from interface:AmazonApiGatewayAsync
Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.
- Specified by:
testInvokeMethodAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<TestInvokeMethodResult> testInvokeMethodAsync(TestInvokeMethodRequest request, AsyncHandler<TestInvokeMethodRequest,TestInvokeMethodResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.
- Specified by:
testInvokeMethodAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Make a request to simulate the execution of a Method.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the TestInvokeMethod operation returned by the service.
-
updateAccountAsync
public Future<UpdateAccountResult> updateAccountAsync(UpdateAccountRequest request)
Description copied from interface:AmazonApiGatewayAsync
Changes information about the current Account resource.
- Specified by:
updateAccountAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<UpdateAccountResult> updateAccountAsync(UpdateAccountRequest request, AsyncHandler<UpdateAccountRequest,UpdateAccountResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Changes information about the current Account resource.
- Specified by:
updateAccountAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateAccount operation returned by the service.
-
updateApiKeyAsync
public Future<UpdateApiKeyResult> updateApiKeyAsync(UpdateApiKeyRequest request)
Description copied from interface:AmazonApiGatewayAsync
Changes information about an ApiKey resource.
- Specified by:
updateApiKeyAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<UpdateApiKeyResult> updateApiKeyAsync(UpdateApiKeyRequest request, AsyncHandler<UpdateApiKeyRequest,UpdateApiKeyResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Changes information about an ApiKey resource.
- Specified by:
updateApiKeyAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateApiKey operation returned by the service.
-
updateAuthorizerAsync
public Future<UpdateAuthorizerResult> updateAuthorizerAsync(UpdateAuthorizerRequest request)
Description copied from interface:AmazonApiGatewayAsync
Updates an existing Authorizer resource.
- Specified by:
updateAuthorizerAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to update an existing Authorizer resource.- Returns:
- A Java Future containing the result of the UpdateAuthorizer operation returned by the service.
-
updateAuthorizerAsync
public Future<UpdateAuthorizerResult> updateAuthorizerAsync(UpdateAuthorizerRequest request, AsyncHandler<UpdateAuthorizerRequest,UpdateAuthorizerResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Updates an existing Authorizer resource.
- Specified by:
updateAuthorizerAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to update an existing Authorizer resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateAuthorizer operation returned by the service.
-
updateBasePathMappingAsync
public Future<UpdateBasePathMappingResult> updateBasePathMappingAsync(UpdateBasePathMappingRequest request)
Description copied from interface:AmazonApiGatewayAsync
Changes information about the BasePathMapping resource.
- Specified by:
updateBasePathMappingAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<UpdateBasePathMappingResult> updateBasePathMappingAsync(UpdateBasePathMappingRequest request, AsyncHandler<UpdateBasePathMappingRequest,UpdateBasePathMappingResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Changes information about the BasePathMapping resource.
- Specified by:
updateBasePathMappingAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateBasePathMapping operation returned by the service.
-
updateClientCertificateAsync
public Future<UpdateClientCertificateResult> updateClientCertificateAsync(UpdateClientCertificateRequest request)
Description copied from interface:AmazonApiGatewayAsync
Changes information about an ClientCertificate resource.
- Specified by:
updateClientCertificateAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<UpdateClientCertificateResult> updateClientCertificateAsync(UpdateClientCertificateRequest request, AsyncHandler<UpdateClientCertificateRequest,UpdateClientCertificateResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Changes information about an ClientCertificate resource.
- Specified by:
updateClientCertificateAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to change information about an ClientCertificate resource.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateClientCertificate operation returned by the service.
-
updateDeploymentAsync
public Future<UpdateDeploymentResult> updateDeploymentAsync(UpdateDeploymentRequest request)
Description copied from interface:AmazonApiGatewayAsync
Changes information about a Deployment resource.
- Specified by:
updateDeploymentAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<UpdateDeploymentResult> updateDeploymentAsync(UpdateDeploymentRequest request, AsyncHandler<UpdateDeploymentRequest,UpdateDeploymentResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Changes information about a Deployment resource.
- Specified by:
updateDeploymentAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateDeployment operation returned by the service.
-
updateDomainNameAsync
public Future<UpdateDomainNameResult> updateDomainNameAsync(UpdateDomainNameRequest request)
Description copied from interface:AmazonApiGatewayAsync
Changes information about the DomainName resource.
- Specified by:
updateDomainNameAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<UpdateDomainNameResult> updateDomainNameAsync(UpdateDomainNameRequest request, AsyncHandler<UpdateDomainNameRequest,UpdateDomainNameResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Changes information about the DomainName resource.
- Specified by:
updateDomainNameAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateDomainName operation returned by the service.
-
updateIntegrationAsync
public Future<UpdateIntegrationResult> updateIntegrationAsync(UpdateIntegrationRequest request)
Description copied from interface:AmazonApiGatewayAsync
Represents an update integration.
- Specified by:
updateIntegrationAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Represents an update integration request.- Returns:
- A Java Future containing the result of the UpdateIntegration operation returned by the service.
-
updateIntegrationAsync
public Future<UpdateIntegrationResult> updateIntegrationAsync(UpdateIntegrationRequest request, AsyncHandler<UpdateIntegrationRequest,UpdateIntegrationResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Represents an update integration.
- Specified by:
updateIntegrationAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateIntegration operation returned by the service.
-
updateIntegrationResponseAsync
public Future<UpdateIntegrationResponseResult> updateIntegrationResponseAsync(UpdateIntegrationResponseRequest request)
Description copied from interface:AmazonApiGatewayAsync
Represents an update integration response.
- Specified by:
updateIntegrationResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Represents an update integration response request.- Returns:
- A Java Future containing the result of the UpdateIntegrationResponse operation returned by the service.
-
updateIntegrationResponseAsync
public Future<UpdateIntegrationResponseResult> updateIntegrationResponseAsync(UpdateIntegrationResponseRequest request, AsyncHandler<UpdateIntegrationResponseRequest,UpdateIntegrationResponseResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Represents an update integration response.
- Specified by:
updateIntegrationResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateIntegrationResponse operation returned by the service.
-
updateMethodAsync
public Future<UpdateMethodResult> updateMethodAsync(UpdateMethodRequest request)
Description copied from interface:AmazonApiGatewayAsync
Updates an existing Method resource.
- Specified by:
updateMethodAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to update an existing Method resource.- Returns:
- A Java Future containing the result of the UpdateMethod operation returned by the service.
-
updateMethodAsync
public Future<UpdateMethodResult> updateMethodAsync(UpdateMethodRequest request, AsyncHandler<UpdateMethodRequest,UpdateMethodResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Updates an existing Method resource.
- Specified by:
updateMethodAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateMethod operation returned by the service.
-
updateMethodResponseAsync
public Future<UpdateMethodResponseResult> updateMethodResponseAsync(UpdateMethodResponseRequest request)
Description copied from interface:AmazonApiGatewayAsync
Updates an existing MethodResponse resource.
- Specified by:
updateMethodResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- A request to update an existing MethodResponse resource.- Returns:
- A Java Future containing the result of the UpdateMethodResponse operation returned by the service.
-
updateMethodResponseAsync
public Future<UpdateMethodResponseResult> updateMethodResponseAsync(UpdateMethodResponseRequest request, AsyncHandler<UpdateMethodResponseRequest,UpdateMethodResponseResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Updates an existing MethodResponse resource.
- Specified by:
updateMethodResponseAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateMethodResponse operation returned by the service.
-
updateModelAsync
public Future<UpdateModelResult> updateModelAsync(UpdateModelRequest request)
Description copied from interface:AmazonApiGatewayAsync
Changes information about a model.
- Specified by:
updateModelAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<UpdateModelResult> updateModelAsync(UpdateModelRequest request, AsyncHandler<UpdateModelRequest,UpdateModelResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Changes information about a model.
- Specified by:
updateModelAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateModel operation returned by the service.
-
updateResourceAsync
public Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request)
Description copied from interface:AmazonApiGatewayAsync
Changes information about a Resource resource.
- Specified by:
updateResourceAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- Request to change information about a Resource resource.- Returns:
- A Java Future containing the result of the UpdateResource operation returned by the service.
-
updateResourceAsync
public Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request, AsyncHandler<UpdateResourceRequest,UpdateResourceResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Changes information about a Resource resource.
- Specified by:
updateResourceAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateResource operation returned by the service.
-
updateRestApiAsync
public Future<UpdateRestApiResult> updateRestApiAsync(UpdateRestApiRequest request)
Description copied from interface:AmazonApiGatewayAsync
Changes information about the specified API.
- Specified by:
updateRestApiAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<UpdateRestApiResult> updateRestApiAsync(UpdateRestApiRequest request, AsyncHandler<UpdateRestApiRequest,UpdateRestApiResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Changes information about the specified API.
- Specified by:
updateRestApiAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateRestApi operation returned by the service.
-
updateStageAsync
public Future<UpdateStageResult> updateStageAsync(UpdateStageRequest request)
Description copied from interface:AmazonApiGatewayAsync
Changes information about a Stage resource.
- Specified by:
updateStageAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
request
- 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
public Future<UpdateStageResult> updateStageAsync(UpdateStageRequest request, AsyncHandler<UpdateStageRequest,UpdateStageResult> asyncHandler)
Description copied from interface:AmazonApiGatewayAsync
Changes information about a Stage resource.
- Specified by:
updateStageAsync
in interfaceAmazonApiGatewayAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the UpdateStage operation returned by the service.
-
shutdown
public void shutdown()
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should callgetExecutorService().shutdown()
followed bygetExecutorService().awaitTermination()
prior to calling this method.- Specified by:
shutdown
in interfaceAmazonApiGateway
- Overrides:
shutdown
in classAmazonWebServiceClient
-
-