@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSServerlessApplicationRepositoryAsyncClient extends AWSServerlessApplicationRepositoryClient implements AWSServerlessApplicationRepositoryAsync
AsyncHandler can be used to
receive notification when an asynchronous operation completes.
AWS Serverless Repository
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createApplication, createApplicationVersion, createCloudFormationChangeSet, getApplication, getApplicationPolicy, getCachedResponseMetadata, listApplications, listApplicationVersions, putApplicationPolicy, updateApplicationaddRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateApplication, createApplicationVersion, createCloudFormationChangeSet, getApplication, getApplicationPolicy, getCachedResponseMetadata, listApplications, listApplicationVersions, putApplicationPolicy, updateApplicationpublic static AWSServerlessApplicationRepositoryAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AWSServerlessApplicationRepositoryAsynccreateApplicationAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsynccreateApplicationAsync in interface AWSServerlessApplicationRepositoryAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateApplicationVersionResult> createApplicationVersionAsync(CreateApplicationVersionRequest request)
AWSServerlessApplicationRepositoryAsynccreateApplicationVersionAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<CreateApplicationVersionResult> createApplicationVersionAsync(CreateApplicationVersionRequest request, AsyncHandler<CreateApplicationVersionRequest,CreateApplicationVersionResult> asyncHandler)
AWSServerlessApplicationRepositoryAsynccreateApplicationVersionAsync in interface AWSServerlessApplicationRepositoryAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateCloudFormationChangeSetResult> createCloudFormationChangeSetAsync(CreateCloudFormationChangeSetRequest request)
AWSServerlessApplicationRepositoryAsynccreateCloudFormationChangeSetAsync in interface AWSServerlessApplicationRepositoryAsyncrequest - Create application ChangeSet requestpublic Future<CreateCloudFormationChangeSetResult> createCloudFormationChangeSetAsync(CreateCloudFormationChangeSetRequest request, AsyncHandler<CreateCloudFormationChangeSetRequest,CreateCloudFormationChangeSetResult> asyncHandler)
AWSServerlessApplicationRepositoryAsynccreateCloudFormationChangeSetAsync in interface AWSServerlessApplicationRepositoryAsyncrequest - Create application ChangeSet requestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request)
AWSServerlessApplicationRepositoryAsyncgetApplicationAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncgetApplicationAsync in interface AWSServerlessApplicationRepositoryAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetApplicationPolicyResult> getApplicationPolicyAsync(GetApplicationPolicyRequest request)
AWSServerlessApplicationRepositoryAsyncgetApplicationPolicyAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<GetApplicationPolicyResult> getApplicationPolicyAsync(GetApplicationPolicyRequest request, AsyncHandler<GetApplicationPolicyRequest,GetApplicationPolicyResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncgetApplicationPolicyAsync in interface AWSServerlessApplicationRepositoryAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListApplicationVersionsResult> listApplicationVersionsAsync(ListApplicationVersionsRequest request)
AWSServerlessApplicationRepositoryAsynclistApplicationVersionsAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<ListApplicationVersionsResult> listApplicationVersionsAsync(ListApplicationVersionsRequest request, AsyncHandler<ListApplicationVersionsRequest,ListApplicationVersionsResult> asyncHandler)
AWSServerlessApplicationRepositoryAsynclistApplicationVersionsAsync in interface AWSServerlessApplicationRepositoryAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request)
AWSServerlessApplicationRepositoryAsynclistApplicationsAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AWSServerlessApplicationRepositoryAsynclistApplicationsAsync in interface AWSServerlessApplicationRepositoryAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutApplicationPolicyResult> putApplicationPolicyAsync(PutApplicationPolicyRequest request)
AWSServerlessApplicationRepositoryAsyncputApplicationPolicyAsync in interface AWSServerlessApplicationRepositoryAsyncrequest - Put policy requestpublic Future<PutApplicationPolicyResult> putApplicationPolicyAsync(PutApplicationPolicyRequest request, AsyncHandler<PutApplicationPolicyRequest,PutApplicationPolicyResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncputApplicationPolicyAsync in interface AWSServerlessApplicationRepositoryAsyncrequest - Put policy requestasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
AWSServerlessApplicationRepositoryAsyncupdateApplicationAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncupdateApplicationAsync in interface AWSServerlessApplicationRepositoryAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSServerlessApplicationRepositoryshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.