@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 enables developers to develop and deploy cloud-powered mobile and web apps. Amplify Hosting provides a continuous delivery and hosting service for web applications. For more information, see the Amplify Hosting User Guide. The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation for client app development. For more information, see the Amplify Framework.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createApp, createBackendEnvironment, createBranch, createDeployment, createDomainAssociation, createWebhook, deleteApp, deleteBackendEnvironment, deleteBranch, deleteDomainAssociation, deleteJob, deleteWebhook, generateAccessLogs, getApp, getArtifactUrl, getBackendEnvironment, getBranch, getCachedResponseMetadata, getDomainAssociation, getJob, getWebhook, listApps, listArtifacts, listBackendEnvironments, listBranches, listDomainAssociations, listJobs, listTagsForResource, listWebhooks, startDeployment, startJob, stopJob, tagResource, untagResource, updateApp, updateBranch, updateDomainAssociation, updateWebhook
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, createBackendEnvironment, createBranch, createDeployment, createDomainAssociation, createWebhook, deleteApp, deleteBackendEnvironment, deleteBranch, deleteDomainAssociation, deleteJob, deleteWebhook, generateAccessLogs, getApp, getArtifactUrl, getBackendEnvironment, getBranch, getCachedResponseMetadata, getDomainAssociation, getJob, getWebhook, listApps, listArtifacts, listBackendEnvironments, listBranches, listDomainAssociations, listJobs, listTagsForResource, listWebhooks, startDeployment, startJob, stopJob, tagResource, untagResource, updateApp, updateBranch, updateDomainAssociation, updateWebhook
public static AWSAmplifyAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateAppResult> createAppAsync(CreateAppRequest request)
AWSAmplifyAsync
Creates a new Amplify app.
createAppAsync
in interface AWSAmplifyAsync
request
- The 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
- The 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<CreateBackendEnvironmentResult> createBackendEnvironmentAsync(CreateBackendEnvironmentRequest request)
AWSAmplifyAsync
Creates a new backend environment for an Amplify app.
This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
createBackendEnvironmentAsync
in interface AWSAmplifyAsync
request
- The request structure for the backend environment create request.public Future<CreateBackendEnvironmentResult> createBackendEnvironmentAsync(CreateBackendEnvironmentRequest request, AsyncHandler<CreateBackendEnvironmentRequest,CreateBackendEnvironmentResult> asyncHandler)
AWSAmplifyAsync
Creates a new backend environment for an Amplify app.
This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
createBackendEnvironmentAsync
in interface AWSAmplifyAsync
request
- The request structure for the backend environment 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<CreateBranchResult> createBranchAsync(CreateBranchRequest request)
AWSAmplifyAsync
Creates a new branch for an Amplify app.
createBranchAsync
in interface AWSAmplifyAsync
request
- The request structure for the create branch 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
- The request structure for the create 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<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request)
AWSAmplifyAsync
Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a repository.
The maximum duration between the CreateDeployment
call and the StartDeployment
call
cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment
call and the associated
Job
will fail.
createDeploymentAsync
in interface AWSAmplifyAsync
request
- The request structure for the create a new deployment request.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
AWSAmplifyAsync
Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a repository.
The maximum duration between the CreateDeployment
call and the StartDeployment
call
cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment
call and the associated
Job
will fail.
createDeploymentAsync
in interface AWSAmplifyAsync
request
- The request structure for the create a new deployment 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
Creates a new domain association for an Amplify app. This action associates a custom domain with the Amplify app
createDomainAssociationAsync
in interface AWSAmplifyAsync
request
- The request structure for the create domain association request.public Future<CreateDomainAssociationResult> createDomainAssociationAsync(CreateDomainAssociationRequest request, AsyncHandler<CreateDomainAssociationRequest,CreateDomainAssociationResult> asyncHandler)
AWSAmplifyAsync
Creates a new domain association for an Amplify app. This action associates a custom domain with the Amplify app
createDomainAssociationAsync
in interface AWSAmplifyAsync
request
- The request structure for the 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<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest request)
AWSAmplifyAsync
Creates a new webhook on an Amplify app.
createWebhookAsync
in interface AWSAmplifyAsync
request
- The request structure for the create webhook request.public Future<CreateWebhookResult> createWebhookAsync(CreateWebhookRequest request, AsyncHandler<CreateWebhookRequest,CreateWebhookResult> asyncHandler)
AWSAmplifyAsync
Creates a new webhook on an Amplify app.
createWebhookAsync
in interface AWSAmplifyAsync
request
- The request structure for the create webhook 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
Deletes an existing Amplify app specified by an app ID.
deleteAppAsync
in interface AWSAmplifyAsync
request
- Describes the request structure for the delete app request.public Future<DeleteAppResult> deleteAppAsync(DeleteAppRequest request, AsyncHandler<DeleteAppRequest,DeleteAppResult> asyncHandler)
AWSAmplifyAsync
Deletes an existing Amplify app specified by an app ID.
deleteAppAsync
in interface AWSAmplifyAsync
request
- Describes the request structure for the delete 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<DeleteBackendEnvironmentResult> deleteBackendEnvironmentAsync(DeleteBackendEnvironmentRequest request)
AWSAmplifyAsync
Deletes a backend environment for an Amplify app.
This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
deleteBackendEnvironmentAsync
in interface AWSAmplifyAsync
request
- The request structure for the delete backend environment request.public Future<DeleteBackendEnvironmentResult> deleteBackendEnvironmentAsync(DeleteBackendEnvironmentRequest request, AsyncHandler<DeleteBackendEnvironmentRequest,DeleteBackendEnvironmentResult> asyncHandler)
AWSAmplifyAsync
Deletes a backend environment for an Amplify app.
This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
deleteBackendEnvironmentAsync
in interface AWSAmplifyAsync
request
- The request structure for the delete backend environment 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
- The request structure for the 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
- The request structure for the 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 domain association for an Amplify app.
deleteDomainAssociationAsync
in interface AWSAmplifyAsync
request
- The request structure for the delete domain association request.public Future<DeleteDomainAssociationResult> deleteDomainAssociationAsync(DeleteDomainAssociationRequest request, AsyncHandler<DeleteDomainAssociationRequest,DeleteDomainAssociationResult> asyncHandler)
AWSAmplifyAsync
Deletes a domain association for an Amplify app.
deleteDomainAssociationAsync
in interface AWSAmplifyAsync
request
- The 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
Deletes a job for a branch of an Amplify app.
deleteJobAsync
in interface AWSAmplifyAsync
request
- The request structure for the delete job request.public Future<DeleteJobResult> deleteJobAsync(DeleteJobRequest request, AsyncHandler<DeleteJobRequest,DeleteJobResult> asyncHandler)
AWSAmplifyAsync
Deletes a job for a branch of an Amplify app.
deleteJobAsync
in interface AWSAmplifyAsync
request
- The request structure for the 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<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest request)
AWSAmplifyAsync
Deletes a webhook.
deleteWebhookAsync
in interface AWSAmplifyAsync
request
- The request structure for the delete webhook request.public Future<DeleteWebhookResult> deleteWebhookAsync(DeleteWebhookRequest request, AsyncHandler<DeleteWebhookRequest,DeleteWebhookResult> asyncHandler)
AWSAmplifyAsync
Deletes a webhook.
deleteWebhookAsync
in interface AWSAmplifyAsync
request
- The request structure for the delete webhook 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<GenerateAccessLogsResult> generateAccessLogsAsync(GenerateAccessLogsRequest request)
AWSAmplifyAsync
Returns the website access logs for a specific time range using a presigned URL.
generateAccessLogsAsync
in interface AWSAmplifyAsync
request
- The request structure for the generate access logs request.public Future<GenerateAccessLogsResult> generateAccessLogsAsync(GenerateAccessLogsRequest request, AsyncHandler<GenerateAccessLogsRequest,GenerateAccessLogsResult> asyncHandler)
AWSAmplifyAsync
Returns the website access logs for a specific time range using a presigned URL.
generateAccessLogsAsync
in interface AWSAmplifyAsync
request
- The request structure for the generate access logs 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
Returns an existing Amplify app specified by an app ID.
getAppAsync
in interface AWSAmplifyAsync
request
- The request structure for the get app request.public Future<GetAppResult> getAppAsync(GetAppRequest request, AsyncHandler<GetAppRequest,GetAppResult> asyncHandler)
AWSAmplifyAsync
Returns an existing Amplify app specified by an app ID.
getAppAsync
in interface AWSAmplifyAsync
request
- The request structure for the 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<GetArtifactUrlResult> getArtifactUrlAsync(GetArtifactUrlRequest request)
AWSAmplifyAsync
Returns the artifact info that corresponds to an artifact id.
getArtifactUrlAsync
in interface AWSAmplifyAsync
request
- Returns the request structure for the get artifact request.public Future<GetArtifactUrlResult> getArtifactUrlAsync(GetArtifactUrlRequest request, AsyncHandler<GetArtifactUrlRequest,GetArtifactUrlResult> asyncHandler)
AWSAmplifyAsync
Returns the artifact info that corresponds to an artifact id.
getArtifactUrlAsync
in interface AWSAmplifyAsync
request
- Returns the request structure for the get artifact 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<GetBackendEnvironmentResult> getBackendEnvironmentAsync(GetBackendEnvironmentRequest request)
AWSAmplifyAsync
Returns a backend environment for an Amplify app.
This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
getBackendEnvironmentAsync
in interface AWSAmplifyAsync
request
- The request structure for the get backend environment request.public Future<GetBackendEnvironmentResult> getBackendEnvironmentAsync(GetBackendEnvironmentRequest request, AsyncHandler<GetBackendEnvironmentRequest,GetBackendEnvironmentResult> asyncHandler)
AWSAmplifyAsync
Returns a backend environment for an Amplify app.
This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
getBackendEnvironmentAsync
in interface AWSAmplifyAsync
request
- The request structure for the get backend environment 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
Returns a branch for an Amplify app.
getBranchAsync
in interface AWSAmplifyAsync
request
- The request structure for the get branch request.public Future<GetBranchResult> getBranchAsync(GetBranchRequest request, AsyncHandler<GetBranchRequest,GetBranchResult> asyncHandler)
AWSAmplifyAsync
Returns a branch for an Amplify app.
getBranchAsync
in interface AWSAmplifyAsync
request
- The request structure for the 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
Returns the domain information for an Amplify app.
getDomainAssociationAsync
in interface AWSAmplifyAsync
request
- The request structure for the get domain association request.public Future<GetDomainAssociationResult> getDomainAssociationAsync(GetDomainAssociationRequest request, AsyncHandler<GetDomainAssociationRequest,GetDomainAssociationResult> asyncHandler)
AWSAmplifyAsync
Returns the domain information for an Amplify app.
getDomainAssociationAsync
in interface AWSAmplifyAsync
request
- The 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
Returns a job for a branch of an Amplify app.
getJobAsync
in interface AWSAmplifyAsync
request
- The request structure for the get job request.public Future<GetJobResult> getJobAsync(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResult> asyncHandler)
AWSAmplifyAsync
Returns a job for a branch of an Amplify app.
getJobAsync
in interface AWSAmplifyAsync
request
- The request structure for the 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<GetWebhookResult> getWebhookAsync(GetWebhookRequest request)
AWSAmplifyAsync
Returns the webhook information that corresponds to a specified webhook ID.
getWebhookAsync
in interface AWSAmplifyAsync
request
- The request structure for the get webhook request.public Future<GetWebhookResult> getWebhookAsync(GetWebhookRequest request, AsyncHandler<GetWebhookRequest,GetWebhookResult> asyncHandler)
AWSAmplifyAsync
Returns the webhook information that corresponds to a specified webhook ID.
getWebhookAsync
in interface AWSAmplifyAsync
request
- The request structure for the get webhook 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
Returns a list of the existing Amplify apps.
listAppsAsync
in interface AWSAmplifyAsync
request
- The request structure for the list apps request.public Future<ListAppsResult> listAppsAsync(ListAppsRequest request, AsyncHandler<ListAppsRequest,ListAppsResult> asyncHandler)
AWSAmplifyAsync
Returns a list of the existing Amplify apps.
listAppsAsync
in interface AWSAmplifyAsync
request
- The request structure for the list apps 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<ListArtifactsResult> listArtifactsAsync(ListArtifactsRequest request)
AWSAmplifyAsync
Returns a list of artifacts for a specified app, branch, and job.
listArtifactsAsync
in interface AWSAmplifyAsync
request
- Describes the request structure for the list artifacts request.public Future<ListArtifactsResult> listArtifactsAsync(ListArtifactsRequest request, AsyncHandler<ListArtifactsRequest,ListArtifactsResult> asyncHandler)
AWSAmplifyAsync
Returns a list of artifacts for a specified app, branch, and job.
listArtifactsAsync
in interface AWSAmplifyAsync
request
- Describes the request structure for the list artifacts 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<ListBackendEnvironmentsResult> listBackendEnvironmentsAsync(ListBackendEnvironmentsRequest request)
AWSAmplifyAsync
Lists the backend environments for an Amplify app.
This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
listBackendEnvironmentsAsync
in interface AWSAmplifyAsync
request
- The request structure for the list backend environments request.public Future<ListBackendEnvironmentsResult> listBackendEnvironmentsAsync(ListBackendEnvironmentsRequest request, AsyncHandler<ListBackendEnvironmentsRequest,ListBackendEnvironmentsResult> asyncHandler)
AWSAmplifyAsync
Lists the backend environments for an Amplify app.
This API is available only to Amplify Gen 1 applications where the backend is created using Amplify Studio or the Amplify command line interface (CLI). This API isn’t available to Amplify Gen 2 applications. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
listBackendEnvironmentsAsync
in interface AWSAmplifyAsync
request
- The request structure for the list backend environments 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 the branches of an Amplify app.
listBranchesAsync
in interface AWSAmplifyAsync
request
- The request structure for the list branches request.public Future<ListBranchesResult> listBranchesAsync(ListBranchesRequest request, AsyncHandler<ListBranchesRequest,ListBranchesResult> asyncHandler)
AWSAmplifyAsync
Lists the branches of an Amplify app.
listBranchesAsync
in interface AWSAmplifyAsync
request
- The request structure for the 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
Returns the domain associations for an Amplify app.
listDomainAssociationsAsync
in interface AWSAmplifyAsync
request
- The request structure for the list domain associations request.public Future<ListDomainAssociationsResult> listDomainAssociationsAsync(ListDomainAssociationsRequest request, AsyncHandler<ListDomainAssociationsRequest,ListDomainAssociationsResult> asyncHandler)
AWSAmplifyAsync
Returns the domain associations for an Amplify app.
listDomainAssociationsAsync
in interface AWSAmplifyAsync
request
- The 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
Lists the jobs for a branch of an Amplify app.
listJobsAsync
in interface AWSAmplifyAsync
request
- The request structure for the list jobs request.public Future<ListJobsResult> listJobsAsync(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
AWSAmplifyAsync
Lists the jobs for a branch of an Amplify app.
listJobsAsync
in interface AWSAmplifyAsync
request
- The request structure for the list jobs 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSAmplifyAsync
Returns a list of tags for a specified Amazon Resource Name (ARN).
listTagsForResourceAsync
in interface AWSAmplifyAsync
request
- The request structure to use to list tags for a resource.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSAmplifyAsync
Returns a list of tags for a specified Amazon Resource Name (ARN).
listTagsForResourceAsync
in interface AWSAmplifyAsync
request
- The request structure to use to list tags for a resource.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<ListWebhooksResult> listWebhooksAsync(ListWebhooksRequest request)
AWSAmplifyAsync
Returns a list of webhooks for an Amplify app.
listWebhooksAsync
in interface AWSAmplifyAsync
request
- The request structure for the list webhooks request.public Future<ListWebhooksResult> listWebhooksAsync(ListWebhooksRequest request, AsyncHandler<ListWebhooksRequest,ListWebhooksResult> asyncHandler)
AWSAmplifyAsync
Returns a list of webhooks for an Amplify app.
listWebhooksAsync
in interface AWSAmplifyAsync
request
- The request structure for the list webhooks 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<StartDeploymentResult> startDeploymentAsync(StartDeploymentRequest request)
AWSAmplifyAsync
Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a repository.
The maximum duration between the CreateDeployment
call and the StartDeployment
call
cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment
call and the associated
Job
will fail.
startDeploymentAsync
in interface AWSAmplifyAsync
request
- The request structure for the start a deployment request.public Future<StartDeploymentResult> startDeploymentAsync(StartDeploymentRequest request, AsyncHandler<StartDeploymentRequest,StartDeploymentResult> asyncHandler)
AWSAmplifyAsync
Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a repository.
The maximum duration between the CreateDeployment
call and the StartDeployment
call
cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment
call and the associated
Job
will fail.
startDeploymentAsync
in interface AWSAmplifyAsync
request
- The request structure for the start a deployment 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 of an Amplify app.
startJobAsync
in interface AWSAmplifyAsync
request
- The request structure for the start job request.public Future<StartJobResult> startJobAsync(StartJobRequest request, AsyncHandler<StartJobRequest,StartJobResult> asyncHandler)
AWSAmplifyAsync
Starts a new job for a branch of an Amplify app.
startJobAsync
in interface AWSAmplifyAsync
request
- The request structure for the 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
Stops a job that is in progress for a branch of an Amplify app.
stopJobAsync
in interface AWSAmplifyAsync
request
- The request structure for the stop job request.public Future<StopJobResult> stopJobAsync(StopJobRequest request, AsyncHandler<StopJobRequest,StopJobResult> asyncHandler)
AWSAmplifyAsync
Stops a job that is in progress for a branch of an Amplify app.
stopJobAsync
in interface AWSAmplifyAsync
request
- The request structure for the 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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSAmplifyAsync
Tags the resource with a tag key and value.
tagResourceAsync
in interface AWSAmplifyAsync
request
- The request structure to tag a resource with a tag key and value.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSAmplifyAsync
Tags the resource with a tag key and value.
tagResourceAsync
in interface AWSAmplifyAsync
request
- The request structure to tag a resource with a tag key and value.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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSAmplifyAsync
Untags a resource with a specified Amazon Resource Name (ARN).
untagResourceAsync
in interface AWSAmplifyAsync
request
- The request structure for the untag resource request.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSAmplifyAsync
Untags a resource with a specified Amazon Resource Name (ARN).
untagResourceAsync
in interface AWSAmplifyAsync
request
- The request structure for the untag resource 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
- The request structure for the update app request.public Future<UpdateAppResult> updateAppAsync(UpdateAppRequest request, AsyncHandler<UpdateAppRequest,UpdateAppResult> asyncHandler)
AWSAmplifyAsync
Updates an existing Amplify app.
updateAppAsync
in interface AWSAmplifyAsync
request
- The request structure for the 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
- The request structure for the 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
- The request structure for the 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
Creates a new domain association for an Amplify app.
updateDomainAssociationAsync
in interface AWSAmplifyAsync
request
- The request structure for the update domain association request.public Future<UpdateDomainAssociationResult> updateDomainAssociationAsync(UpdateDomainAssociationRequest request, AsyncHandler<UpdateDomainAssociationRequest,UpdateDomainAssociationResult> asyncHandler)
AWSAmplifyAsync
Creates a new domain association for an Amplify app.
updateDomainAssociationAsync
in interface AWSAmplifyAsync
request
- The request structure for the 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 Future<UpdateWebhookResult> updateWebhookAsync(UpdateWebhookRequest request)
AWSAmplifyAsync
Updates a webhook.
updateWebhookAsync
in interface AWSAmplifyAsync
request
- The request structure for the update webhook request.public Future<UpdateWebhookResult> updateWebhookAsync(UpdateWebhookRequest request, AsyncHandler<UpdateWebhookRequest,UpdateWebhookResult> asyncHandler)
AWSAmplifyAsync
Updates a webhook.
updateWebhookAsync
in interface AWSAmplifyAsync
request
- The request structure for the update webhook 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 AWSAmplifyClient