@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.
The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find and deploy serverless applications in the AWS Cloud. For more information about serverless applications, see Serverless Computing and Applications on the AWS website.
The AWS Serverless Application Repository is deeply integrated with the AWS Lambda console, so that developers of all levels can get started with serverless computing without needing to learn anything new. You can use category keywords to browse for applications such as web and mobile backends, data processing applications, or chatbots. You can also search for applications by name, publisher, or event source. To use an application, you simply choose it, configure any required fields, and deploy it with a few clicks.
You can also easily publish applications, sharing them publicly with the community at large, or privately within your team or across your organization. To publish a serverless application (or app), you can use the AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS SDKs to upload the code. Along with the code, you upload a simple manifest file, also known as the AWS Serverless Application Model (AWS SAM) template. For more information about AWS SAM, see AWS Serverless Application Model (AWS SAM) on the AWS Labs GitHub repository.
The AWS Serverless Application Repository Developer Guide contains more information about the two developer experiences available:
Consuming Applications – Browse for applications and view information about them, including source code and readme files. Also install, configure, and deploy applications of your choosing.
Publishing Applications – Configure and upload applications to make them available to other developers, and publish new versions of applications.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createApplication, createApplicationVersion, createCloudFormationChangeSet, createCloudFormationTemplate, deleteApplication, getApplication, getApplicationPolicy, getCachedResponseMetadata, getCloudFormationTemplate, listApplicationDependencies, listApplications, listApplicationVersions, putApplicationPolicy, unshareApplication, updateApplicationaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, 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, createCloudFormationTemplate, deleteApplication, getApplication, getApplicationPolicy, getCachedResponseMetadata, getCloudFormationTemplate, listApplicationDependencies, listApplications, listApplicationVersions, putApplicationPolicy, unshareApplication, updateApplicationpublic static AWSServerlessApplicationRepositoryAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AWSServerlessApplicationRepositoryAsyncCreates an application, optionally including an AWS SAM file to create the first application version in the same call.
createApplicationAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncCreates an application, optionally including an AWS SAM file to create the first application version in the same call.
createApplicationAsync 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)
AWSServerlessApplicationRepositoryAsyncCreates an application version.
createApplicationVersionAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<CreateApplicationVersionResult> createApplicationVersionAsync(CreateApplicationVersionRequest request, AsyncHandler<CreateApplicationVersionRequest,CreateApplicationVersionResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncCreates an application version.
createApplicationVersionAsync 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)
AWSServerlessApplicationRepositoryAsyncCreates an AWS CloudFormation change set for the given application.
createCloudFormationChangeSetAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<CreateCloudFormationChangeSetResult> createCloudFormationChangeSetAsync(CreateCloudFormationChangeSetRequest request, AsyncHandler<CreateCloudFormationChangeSetRequest,CreateCloudFormationChangeSetResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncCreates an AWS CloudFormation change set for the given application.
createCloudFormationChangeSetAsync 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<CreateCloudFormationTemplateResult> createCloudFormationTemplateAsync(CreateCloudFormationTemplateRequest request)
AWSServerlessApplicationRepositoryAsyncCreates an AWS CloudFormation template.
createCloudFormationTemplateAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<CreateCloudFormationTemplateResult> createCloudFormationTemplateAsync(CreateCloudFormationTemplateRequest request, AsyncHandler<CreateCloudFormationTemplateRequest,CreateCloudFormationTemplateResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncCreates an AWS CloudFormation template.
createCloudFormationTemplateAsync 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<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
AWSServerlessApplicationRepositoryAsyncDeletes the specified application.
deleteApplicationAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncDeletes the specified application.
deleteApplicationAsync 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<GetApplicationResult> getApplicationAsync(GetApplicationRequest request)
AWSServerlessApplicationRepositoryAsyncGets the specified application.
getApplicationAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncGets the specified application.
getApplicationAsync 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)
AWSServerlessApplicationRepositoryAsyncRetrieves the policy for the application.
getApplicationPolicyAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<GetApplicationPolicyResult> getApplicationPolicyAsync(GetApplicationPolicyRequest request, AsyncHandler<GetApplicationPolicyRequest,GetApplicationPolicyResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncRetrieves the policy for the application.
getApplicationPolicyAsync 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<GetCloudFormationTemplateResult> getCloudFormationTemplateAsync(GetCloudFormationTemplateRequest request)
AWSServerlessApplicationRepositoryAsyncGets the specified AWS CloudFormation template.
getCloudFormationTemplateAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<GetCloudFormationTemplateResult> getCloudFormationTemplateAsync(GetCloudFormationTemplateRequest request, AsyncHandler<GetCloudFormationTemplateRequest,GetCloudFormationTemplateResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncGets the specified AWS CloudFormation template.
getCloudFormationTemplateAsync 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<ListApplicationDependenciesResult> listApplicationDependenciesAsync(ListApplicationDependenciesRequest request)
AWSServerlessApplicationRepositoryAsyncRetrieves the list of applications nested in the containing application.
listApplicationDependenciesAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<ListApplicationDependenciesResult> listApplicationDependenciesAsync(ListApplicationDependenciesRequest request, AsyncHandler<ListApplicationDependenciesRequest,ListApplicationDependenciesResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncRetrieves the list of applications nested in the containing application.
listApplicationDependenciesAsync 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)
AWSServerlessApplicationRepositoryAsyncLists versions for the specified application.
listApplicationVersionsAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<ListApplicationVersionsResult> listApplicationVersionsAsync(ListApplicationVersionsRequest request, AsyncHandler<ListApplicationVersionsRequest,ListApplicationVersionsResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncLists versions for the specified application.
listApplicationVersionsAsync 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)
AWSServerlessApplicationRepositoryAsyncLists applications owned by the requester.
listApplicationsAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncLists applications owned by the requester.
listApplicationsAsync 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)
AWSServerlessApplicationRepositoryAsyncSets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .
putApplicationPolicyAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<PutApplicationPolicyResult> putApplicationPolicyAsync(PutApplicationPolicyRequest request, AsyncHandler<PutApplicationPolicyRequest,PutApplicationPolicyResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncSets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .
putApplicationPolicyAsync 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<UnshareApplicationResult> unshareApplicationAsync(UnshareApplicationRequest request)
AWSServerlessApplicationRepositoryAsyncUnshares an application from an AWS Organization.
This operation can be called only from the organization's master account.
unshareApplicationAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<UnshareApplicationResult> unshareApplicationAsync(UnshareApplicationRequest request, AsyncHandler<UnshareApplicationRequest,UnshareApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncUnshares an application from an AWS Organization.
This operation can be called only from the organization's master account.
unshareApplicationAsync 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<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
AWSServerlessApplicationRepositoryAsyncUpdates the specified application.
updateApplicationAsync in interface AWSServerlessApplicationRepositoryAsyncpublic Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsyncUpdates the specified application.
updateApplicationAsync 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 AWSServerlessApplicationRepositoryClient