@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, deleteApplication, 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, deleteApplication, getApplication, getApplicationPolicy, getCachedResponseMetadata, listApplications, listApplicationVersions, putApplicationPolicy, 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 ChangeSet for the given application.
createCloudFormationChangeSetAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<CreateCloudFormationChangeSetResult> createCloudFormationChangeSetAsync(CreateCloudFormationChangeSetRequest request, AsyncHandler<CreateCloudFormationChangeSetRequest,CreateCloudFormationChangeSetResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Creates an AWS CloudFormation ChangeSet 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<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
Gets the policy for the specified application.
getApplicationPolicyAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<GetApplicationPolicyResult> getApplicationPolicyAsync(GetApplicationPolicyRequest request, AsyncHandler<GetApplicationPolicyRequest,GetApplicationPolicyResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Gets the policy for the specified 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<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
Puts the policy for the specified application.
putApplicationPolicyAsync
in interface AWSServerlessApplicationRepositoryAsync
public Future<PutApplicationPolicyResult> putApplicationPolicyAsync(PutApplicationPolicyRequest request, AsyncHandler<PutApplicationPolicyRequest,PutApplicationPolicyResult> asyncHandler)
AWSServerlessApplicationRepositoryAsync
Puts the policy for the specified application.
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<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
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.