@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_METRIC
ENDPOINT_PREFIX
builder, createApplication, createApplicationVersion, createCloudFormationChangeSet, createCloudFormationTemplate, deleteApplication, getApplication, getApplicationPolicy, getCachedResponseMetadata, getCloudFormationTemplate, listApplicationDependencies, listApplications, listApplicationVersions, putApplicationPolicy, unshareApplication, updateApplication
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, 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, createCloudFormationTemplate, deleteApplication, getApplication, getApplicationPolicy, getCachedResponseMetadata, getCloudFormationTemplate, listApplicationDependencies, listApplications, listApplicationVersions, putApplicationPolicy, unshareApplication, updateApplication
public static AWSServerlessApplicationRepositoryAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AWSServerlessApplicationRepositoryAsync
Creates an application, optionally including an AWS SAM file to create the first application version in the same call.
createApplicationAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Creates an application, optionally including an AWS SAM file to create the first application version in the same call.
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
Creates an application version.
createApplicationVersionAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<CreateApplicationVersionResult> createApplicationVersionAsync(CreateApplicationVersionRequest request, AsyncHandler<CreateApplicationVersionRequest,CreateApplicationVersionResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Creates an application version.
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
Creates an AWS CloudFormation change set for the given application.
createCloudFormationChangeSetAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<CreateCloudFormationChangeSetResult> createCloudFormationChangeSetAsync(CreateCloudFormationChangeSetRequest request, AsyncHandler<CreateCloudFormationChangeSetRequest,CreateCloudFormationChangeSetResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Creates an AWS CloudFormation change set for the given application.
createCloudFormationChangeSetAsync
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<CreateCloudFormationTemplateResult> createCloudFormationTemplateAsync(CreateCloudFormationTemplateRequest request)
AWSServerlessApplicationRepositoryAsync
Creates an AWS CloudFormation template.
createCloudFormationTemplateAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<CreateCloudFormationTemplateResult> createCloudFormationTemplateAsync(CreateCloudFormationTemplateRequest request, AsyncHandler<CreateCloudFormationTemplateRequest,CreateCloudFormationTemplateResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Creates an AWS CloudFormation template.
createCloudFormationTemplateAsync
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<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
AWSServerlessApplicationRepositoryAsync
Deletes the specified application.
deleteApplicationAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Deletes the specified application.
deleteApplicationAsync
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<GetApplicationResult> getApplicationAsync(GetApplicationRequest request)
AWSServerlessApplicationRepositoryAsync
Gets the specified application.
getApplicationAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Gets the specified application.
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
Retrieves the policy for the application.
getApplicationPolicyAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<GetApplicationPolicyResult> getApplicationPolicyAsync(GetApplicationPolicyRequest request, AsyncHandler<GetApplicationPolicyRequest,GetApplicationPolicyResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Retrieves the policy for the application.
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<GetCloudFormationTemplateResult> getCloudFormationTemplateAsync(GetCloudFormationTemplateRequest request)
AWSServerlessApplicationRepositoryAsync
Gets the specified AWS CloudFormation template.
getCloudFormationTemplateAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<GetCloudFormationTemplateResult> getCloudFormationTemplateAsync(GetCloudFormationTemplateRequest request, AsyncHandler<GetCloudFormationTemplateRequest,GetCloudFormationTemplateResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Gets the specified AWS CloudFormation template.
getCloudFormationTemplateAsync
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<ListApplicationDependenciesResult> listApplicationDependenciesAsync(ListApplicationDependenciesRequest request)
AWSServerlessApplicationRepositoryAsync
Retrieves the list of applications nested in the containing application.
listApplicationDependenciesAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<ListApplicationDependenciesResult> listApplicationDependenciesAsync(ListApplicationDependenciesRequest request, AsyncHandler<ListApplicationDependenciesRequest,ListApplicationDependenciesResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Retrieves the list of applications nested in the containing application.
listApplicationDependenciesAsync
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
Lists versions for the specified application.
listApplicationVersionsAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<ListApplicationVersionsResult> listApplicationVersionsAsync(ListApplicationVersionsRequest request, AsyncHandler<ListApplicationVersionsRequest,ListApplicationVersionsResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Lists versions for the specified application.
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
Lists applications owned by the requester.
listApplicationsAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Lists applications owned by the requester.
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
Sets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .
putApplicationPolicyAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<PutApplicationPolicyResult> putApplicationPolicyAsync(PutApplicationPolicyRequest request, AsyncHandler<PutApplicationPolicyRequest,PutApplicationPolicyResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Sets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .
putApplicationPolicyAsync
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<UnshareApplicationResult> unshareApplicationAsync(UnshareApplicationRequest request)
AWSServerlessApplicationRepositoryAsync
Unshares an application from an AWS Organization.
This operation can be called only from the organization's master account.
unshareApplicationAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<UnshareApplicationResult> unshareApplicationAsync(UnshareApplicationRequest request, AsyncHandler<UnshareApplicationRequest,UnshareApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Unshares an application from an AWS Organization.
This operation can be called only from the organization's master account.
unshareApplicationAsync
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<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
AWSServerlessApplicationRepositoryAsync
Updates the specified application.
updateApplicationAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Updates the specified application.
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