@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_METRIC
ENDPOINT_PREFIX
builder, createApplication, createApplicationVersion, createCloudFormationChangeSet, getApplication, getApplicationPolicy, getCachedResponseMetadata, listApplications, listApplicationVersions, putApplicationPolicy, updateApplication
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createApplication, createApplicationVersion, createCloudFormationChangeSet, getApplication, getApplicationPolicy, getCachedResponseMetadata, listApplications, listApplicationVersions, putApplicationPolicy, updateApplication
public static AWSServerlessApplicationRepositoryAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AWSServerlessApplicationRepositoryAsync
createApplicationAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
createApplicationAsync
in interface AWSServerlessApplicationRepositoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the 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)
AWSServerlessApplicationRepositoryAsync
createApplicationVersionAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<CreateApplicationVersionResult> createApplicationVersionAsync(CreateApplicationVersionRequest request, AsyncHandler<CreateApplicationVersionRequest,CreateApplicationVersionResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
createApplicationVersionAsync
in interface AWSServerlessApplicationRepositoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the 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)
AWSServerlessApplicationRepositoryAsync
createCloudFormationChangeSetAsync
in interface AWSServerlessApplicationRepositoryAsync
request
- Create application ChangeSet requestpublic Future<CreateCloudFormationChangeSetResult> createCloudFormationChangeSetAsync(CreateCloudFormationChangeSetRequest request, AsyncHandler<CreateCloudFormationChangeSetRequest,CreateCloudFormationChangeSetResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
createCloudFormationChangeSetAsync
in interface AWSServerlessApplicationRepositoryAsync
request
- 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)
AWSServerlessApplicationRepositoryAsync
getApplicationAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
getApplicationAsync
in interface AWSServerlessApplicationRepositoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the 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)
AWSServerlessApplicationRepositoryAsync
getApplicationPolicyAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<GetApplicationPolicyResult> getApplicationPolicyAsync(GetApplicationPolicyRequest request, AsyncHandler<GetApplicationPolicyRequest,GetApplicationPolicyResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
getApplicationPolicyAsync
in interface AWSServerlessApplicationRepositoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the 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)
AWSServerlessApplicationRepositoryAsync
listApplicationVersionsAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<ListApplicationVersionsResult> listApplicationVersionsAsync(ListApplicationVersionsRequest request, AsyncHandler<ListApplicationVersionsRequest,ListApplicationVersionsResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
listApplicationVersionsAsync
in interface AWSServerlessApplicationRepositoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the 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)
AWSServerlessApplicationRepositoryAsync
listApplicationsAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
listApplicationsAsync
in interface AWSServerlessApplicationRepositoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the 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)
AWSServerlessApplicationRepositoryAsync
putApplicationPolicyAsync
in interface AWSServerlessApplicationRepositoryAsync
request
- Put policy requestpublic Future<PutApplicationPolicyResult> putApplicationPolicyAsync(PutApplicationPolicyRequest request, AsyncHandler<PutApplicationPolicyRequest,PutApplicationPolicyResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
putApplicationPolicyAsync
in interface AWSServerlessApplicationRepositoryAsync
request
- 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)
AWSServerlessApplicationRepositoryAsync
updateApplicationAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
updateApplicationAsync
in interface AWSServerlessApplicationRepositoryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the 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 AWSServerlessApplicationRepository
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.