@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAmplifyAsyncClient extends AWSAmplifyClient implements AWSAmplifyAsync
AsyncHandler
can be used to receive notification when
an asynchronous operation completes.
Amplify is a fully managed continuous deployment and hosting service for modern web apps.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createApp, createBranch, createDomainAssociation, deleteApp, deleteBranch, deleteDomainAssociation, deleteJob, getApp, getBranch, getCachedResponseMetadata, getDomainAssociation, getJob, listApps, listBranches, listDomainAssociations, listJobs, startJob, stopJob, updateApp, updateBranch, updateDomainAssociation
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
createApp, createBranch, createDomainAssociation, deleteApp, deleteBranch, deleteDomainAssociation, deleteJob, getApp, getBranch, getCachedResponseMetadata, getDomainAssociation, getJob, listApps, listBranches, listDomainAssociations, listJobs, startJob, stopJob, updateApp, updateBranch, updateDomainAssociation
public static AWSAmplifyAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateAppResult> createAppAsync(CreateAppRequest request)
AWSAmplifyAsync
Creates a new Amplify App.
createAppAsync
in interface AWSAmplifyAsync
request
- Request structure used to create Apps in Amplify.public Future<CreateAppResult> createAppAsync(CreateAppRequest request, AsyncHandler<CreateAppRequest,CreateAppResult> asyncHandler)
AWSAmplifyAsync
Creates a new Amplify App.
createAppAsync
in interface AWSAmplifyAsync
request
- Request structure used to create Apps in Amplify.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<CreateBranchResult> createBranchAsync(CreateBranchRequest request)
AWSAmplifyAsync
Creates a new Branch for an Amplify App.
createBranchAsync
in interface AWSAmplifyAsync
request
- Request structure for a branch create request.public Future<CreateBranchResult> createBranchAsync(CreateBranchRequest request, AsyncHandler<CreateBranchRequest,CreateBranchResult> asyncHandler)
AWSAmplifyAsync
Creates a new Branch for an Amplify App.
createBranchAsync
in interface AWSAmplifyAsync
request
- Request structure for a branch create request.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<CreateDomainAssociationResult> createDomainAssociationAsync(CreateDomainAssociationRequest request)
AWSAmplifyAsync
Create a new DomainAssociation on an App
createDomainAssociationAsync
in interface AWSAmplifyAsync
request
- Request structure for create Domain Association request.public Future<CreateDomainAssociationResult> createDomainAssociationAsync(CreateDomainAssociationRequest request, AsyncHandler<CreateDomainAssociationRequest,CreateDomainAssociationResult> asyncHandler)
AWSAmplifyAsync
Create a new DomainAssociation on an App
createDomainAssociationAsync
in interface AWSAmplifyAsync
request
- Request structure for create Domain Association request.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<DeleteAppResult> deleteAppAsync(DeleteAppRequest request)
AWSAmplifyAsync
Delete an existing Amplify App by appId.
deleteAppAsync
in interface AWSAmplifyAsync
request
- Request structure for an Amplify App delete request.public Future<DeleteAppResult> deleteAppAsync(DeleteAppRequest request, AsyncHandler<DeleteAppRequest,DeleteAppResult> asyncHandler)
AWSAmplifyAsync
Delete an existing Amplify App by appId.
deleteAppAsync
in interface AWSAmplifyAsync
request
- Request structure for an Amplify App delete request.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<DeleteBranchResult> deleteBranchAsync(DeleteBranchRequest request)
AWSAmplifyAsync
Deletes a branch for an Amplify App.
deleteBranchAsync
in interface AWSAmplifyAsync
request
- Request structure for delete branch request.public Future<DeleteBranchResult> deleteBranchAsync(DeleteBranchRequest request, AsyncHandler<DeleteBranchRequest,DeleteBranchResult> asyncHandler)
AWSAmplifyAsync
Deletes a branch for an Amplify App.
deleteBranchAsync
in interface AWSAmplifyAsync
request
- Request structure for delete branch request.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<DeleteDomainAssociationResult> deleteDomainAssociationAsync(DeleteDomainAssociationRequest request)
AWSAmplifyAsync
Deletes a DomainAssociation.
deleteDomainAssociationAsync
in interface AWSAmplifyAsync
request
- Request structure for the delete Domain Association request.public Future<DeleteDomainAssociationResult> deleteDomainAssociationAsync(DeleteDomainAssociationRequest request, AsyncHandler<DeleteDomainAssociationRequest,DeleteDomainAssociationResult> asyncHandler)
AWSAmplifyAsync
Deletes a DomainAssociation.
deleteDomainAssociationAsync
in interface AWSAmplifyAsync
request
- Request structure for the delete Domain Association request.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<DeleteJobResult> deleteJobAsync(DeleteJobRequest request)
AWSAmplifyAsync
Delete a job, for an Amplify branch, part of Amplify App.
deleteJobAsync
in interface AWSAmplifyAsync
request
- Request structure for delete job request.public Future<DeleteJobResult> deleteJobAsync(DeleteJobRequest request, AsyncHandler<DeleteJobRequest,DeleteJobResult> asyncHandler)
AWSAmplifyAsync
Delete a job, for an Amplify branch, part of Amplify App.
deleteJobAsync
in interface AWSAmplifyAsync
request
- Request structure for delete job request.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<GetAppResult> getAppAsync(GetAppRequest request)
AWSAmplifyAsync
Retrieves an existing Amplify App by appId.
getAppAsync
in interface AWSAmplifyAsync
request
- Request structure for get App request.public Future<GetAppResult> getAppAsync(GetAppRequest request, AsyncHandler<GetAppRequest,GetAppResult> asyncHandler)
AWSAmplifyAsync
Retrieves an existing Amplify App by appId.
getAppAsync
in interface AWSAmplifyAsync
request
- Request structure for get App request.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<GetBranchResult> getBranchAsync(GetBranchRequest request)
AWSAmplifyAsync
Retrieves a branch for an Amplify App.
getBranchAsync
in interface AWSAmplifyAsync
request
- Result structure for get branch request.public Future<GetBranchResult> getBranchAsync(GetBranchRequest request, AsyncHandler<GetBranchRequest,GetBranchResult> asyncHandler)
AWSAmplifyAsync
Retrieves a branch for an Amplify App.
getBranchAsync
in interface AWSAmplifyAsync
request
- Result structure for get branch request.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<GetDomainAssociationResult> getDomainAssociationAsync(GetDomainAssociationRequest request)
AWSAmplifyAsync
Retrieves domain info that corresponds to an appId and domainName.
getDomainAssociationAsync
in interface AWSAmplifyAsync
request
- Request structure for the get Domain Association request.public Future<GetDomainAssociationResult> getDomainAssociationAsync(GetDomainAssociationRequest request, AsyncHandler<GetDomainAssociationRequest,GetDomainAssociationResult> asyncHandler)
AWSAmplifyAsync
Retrieves domain info that corresponds to an appId and domainName.
getDomainAssociationAsync
in interface AWSAmplifyAsync
request
- Request structure for the get Domain Association request.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<GetJobResult> getJobAsync(GetJobRequest request)
AWSAmplifyAsync
Get a job for a branch, part of an Amplify App.
getJobAsync
in interface AWSAmplifyAsync
request
- Request structure for get job request.public Future<GetJobResult> getJobAsync(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResult> asyncHandler)
AWSAmplifyAsync
Get a job for a branch, part of an Amplify App.
getJobAsync
in interface AWSAmplifyAsync
request
- Request structure for get job request.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<ListAppsResult> listAppsAsync(ListAppsRequest request)
AWSAmplifyAsync
Lists existing Amplify Apps.
listAppsAsync
in interface AWSAmplifyAsync
request
- Request structure for an Amplify App list request.public Future<ListAppsResult> listAppsAsync(ListAppsRequest request, AsyncHandler<ListAppsRequest,ListAppsResult> asyncHandler)
AWSAmplifyAsync
Lists existing Amplify Apps.
listAppsAsync
in interface AWSAmplifyAsync
request
- Request structure for an Amplify App list request.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<ListBranchesResult> listBranchesAsync(ListBranchesRequest request)
AWSAmplifyAsync
Lists branches for an Amplify App.
listBranchesAsync
in interface AWSAmplifyAsync
request
- Request structure for list branches request.public Future<ListBranchesResult> listBranchesAsync(ListBranchesRequest request, AsyncHandler<ListBranchesRequest,ListBranchesResult> asyncHandler)
AWSAmplifyAsync
Lists branches for an Amplify App.
listBranchesAsync
in interface AWSAmplifyAsync
request
- Request structure for list branches request.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<ListDomainAssociationsResult> listDomainAssociationsAsync(ListDomainAssociationsRequest request)
AWSAmplifyAsync
List domains with an app
listDomainAssociationsAsync
in interface AWSAmplifyAsync
request
- Request structure for the list Domain Associations request.public Future<ListDomainAssociationsResult> listDomainAssociationsAsync(ListDomainAssociationsRequest request, AsyncHandler<ListDomainAssociationsRequest,ListDomainAssociationsResult> asyncHandler)
AWSAmplifyAsync
List domains with an app
listDomainAssociationsAsync
in interface AWSAmplifyAsync
request
- Request structure for the list Domain Associations request.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<ListJobsResult> listJobsAsync(ListJobsRequest request)
AWSAmplifyAsync
List Jobs for a branch, part of an Amplify App.
listJobsAsync
in interface AWSAmplifyAsync
request
- Request structure for list job request.public Future<ListJobsResult> listJobsAsync(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
AWSAmplifyAsync
List Jobs for a branch, part of an Amplify App.
listJobsAsync
in interface AWSAmplifyAsync
request
- Request structure for list job request.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<StartJobResult> startJobAsync(StartJobRequest request)
AWSAmplifyAsync
Starts a new job for a branch, part of an Amplify App.
startJobAsync
in interface AWSAmplifyAsync
request
- Request structure for Start job request.public Future<StartJobResult> startJobAsync(StartJobRequest request, AsyncHandler<StartJobRequest,StartJobResult> asyncHandler)
AWSAmplifyAsync
Starts a new job for a branch, part of an Amplify App.
startJobAsync
in interface AWSAmplifyAsync
request
- Request structure for Start job request.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<StopJobResult> stopJobAsync(StopJobRequest request)
AWSAmplifyAsync
Stop a job that is in progress, for an Amplify branch, part of Amplify App.
stopJobAsync
in interface AWSAmplifyAsync
request
- Request structure for stop job request.public Future<StopJobResult> stopJobAsync(StopJobRequest request, AsyncHandler<StopJobRequest,StopJobResult> asyncHandler)
AWSAmplifyAsync
Stop a job that is in progress, for an Amplify branch, part of Amplify App.
stopJobAsync
in interface AWSAmplifyAsync
request
- Request structure for stop job request.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<UpdateAppResult> updateAppAsync(UpdateAppRequest request)
AWSAmplifyAsync
Updates an existing Amplify App.
updateAppAsync
in interface AWSAmplifyAsync
request
- Request structure for update App request.public Future<UpdateAppResult> updateAppAsync(UpdateAppRequest request, AsyncHandler<UpdateAppRequest,UpdateAppResult> asyncHandler)
AWSAmplifyAsync
Updates an existing Amplify App.
updateAppAsync
in interface AWSAmplifyAsync
request
- Request structure for update App request.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<UpdateBranchResult> updateBranchAsync(UpdateBranchRequest request)
AWSAmplifyAsync
Updates a branch for an Amplify App.
updateBranchAsync
in interface AWSAmplifyAsync
request
- Request structure for update branch request.public Future<UpdateBranchResult> updateBranchAsync(UpdateBranchRequest request, AsyncHandler<UpdateBranchRequest,UpdateBranchResult> asyncHandler)
AWSAmplifyAsync
Updates a branch for an Amplify App.
updateBranchAsync
in interface AWSAmplifyAsync
request
- Request structure for update branch request.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<UpdateDomainAssociationResult> updateDomainAssociationAsync(UpdateDomainAssociationRequest request)
AWSAmplifyAsync
Create a new DomainAssociation on an App
updateDomainAssociationAsync
in interface AWSAmplifyAsync
request
- Request structure for update Domain Association request.public Future<UpdateDomainAssociationResult> updateDomainAssociationAsync(UpdateDomainAssociationRequest request, AsyncHandler<UpdateDomainAssociationRequest,UpdateDomainAssociationResult> asyncHandler)
AWSAmplifyAsync
Create a new DomainAssociation on an App
updateDomainAssociationAsync
in interface AWSAmplifyAsync
request
- Request structure for update Domain Association request.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 AWSAmplify
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.