@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSAppRunnerAsync extends AbstractAWSAppRunner implements AWSAppRunnerAsync
AWSAppRunnerAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
associateCustomDomain, createAutoScalingConfiguration, createConnection, createService, deleteAutoScalingConfiguration, deleteConnection, deleteService, describeAutoScalingConfiguration, describeCustomDomains, describeService, disassociateCustomDomain, getCachedResponseMetadata, listAutoScalingConfigurations, listConnections, listOperations, listServices, listTagsForResource, pauseService, resumeService, shutdown, startDeployment, tagResource, untagResource, updateService
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateCustomDomain, createAutoScalingConfiguration, createConnection, createService, deleteAutoScalingConfiguration, deleteConnection, deleteService, describeAutoScalingConfiguration, describeCustomDomains, describeService, disassociateCustomDomain, getCachedResponseMetadata, listAutoScalingConfigurations, listConnections, listOperations, listServices, listTagsForResource, pauseService, resumeService, shutdown, startDeployment, tagResource, untagResource, updateService
public Future<AssociateCustomDomainResult> associateCustomDomainAsync(AssociateCustomDomainRequest request)
AWSAppRunnerAsync
Associate your own domain name with the App Runner subdomain URL of your App Runner service.
After you call AssociateCustomDomain
and receive a successful response, use the information in the
CustomDomain record that's returned to add CNAME records to your Domain Name System (DNS). For each mapped
domain name, add a mapping to the target App Runner subdomain and one or more certificate validation records. App
Runner then performs DNS validation to verify that you own or control the domain name that you associated. App
Runner tracks domain validity in a certificate stored in AWS Certificate Manager (ACM).
associateCustomDomainAsync
in interface AWSAppRunnerAsync
public Future<AssociateCustomDomainResult> associateCustomDomainAsync(AssociateCustomDomainRequest request, AsyncHandler<AssociateCustomDomainRequest,AssociateCustomDomainResult> asyncHandler)
AWSAppRunnerAsync
Associate your own domain name with the App Runner subdomain URL of your App Runner service.
After you call AssociateCustomDomain
and receive a successful response, use the information in the
CustomDomain record that's returned to add CNAME records to your Domain Name System (DNS). For each mapped
domain name, add a mapping to the target App Runner subdomain and one or more certificate validation records. App
Runner then performs DNS validation to verify that you own or control the domain name that you associated. App
Runner tracks domain validity in a certificate stored in AWS Certificate Manager (ACM).
associateCustomDomainAsync
in interface AWSAppRunnerAsync
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<CreateAutoScalingConfigurationResult> createAutoScalingConfigurationAsync(CreateAutoScalingConfigurationRequest request)
AWSAppRunnerAsync
Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create App Runner services that require non-default auto scaling settings. You can share an auto scaling configuration across multiple services.
Create multiple revisions of a configuration by using the same AutoScalingConfigurationName
and
different AutoScalingConfigurationRevision
values. When you create a service, you can set it to use
the latest active revision of an auto scaling configuration or a specific revision.
Configure a higher MinSize
to increase the spread of your App Runner service over more Availability
Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost.
Configure a lower MaxSize
to control your cost. The tradeoff is lower responsiveness during peak
demand.
createAutoScalingConfigurationAsync
in interface AWSAppRunnerAsync
public Future<CreateAutoScalingConfigurationResult> createAutoScalingConfigurationAsync(CreateAutoScalingConfigurationRequest request, AsyncHandler<CreateAutoScalingConfigurationRequest,CreateAutoScalingConfigurationResult> asyncHandler)
AWSAppRunnerAsync
Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create App Runner services that require non-default auto scaling settings. You can share an auto scaling configuration across multiple services.
Create multiple revisions of a configuration by using the same AutoScalingConfigurationName
and
different AutoScalingConfigurationRevision
values. When you create a service, you can set it to use
the latest active revision of an auto scaling configuration or a specific revision.
Configure a higher MinSize
to increase the spread of your App Runner service over more Availability
Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost.
Configure a lower MaxSize
to control your cost. The tradeoff is lower responsiveness during peak
demand.
createAutoScalingConfigurationAsync
in interface AWSAppRunnerAsync
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<CreateConnectionResult> createConnectionAsync(CreateConnectionRequest request)
AWSAppRunnerAsync
Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from certain third-party providers. You can share a connection across multiple services.
A connection resource is needed to access GitHub repositories. GitHub requires a user interface approval process through the App Runner console before you can use the connection.
createConnectionAsync
in interface AWSAppRunnerAsync
public Future<CreateConnectionResult> createConnectionAsync(CreateConnectionRequest request, AsyncHandler<CreateConnectionRequest,CreateConnectionResult> asyncHandler)
AWSAppRunnerAsync
Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from certain third-party providers. You can share a connection across multiple services.
A connection resource is needed to access GitHub repositories. GitHub requires a user interface approval process through the App Runner console before you can use the connection.
createConnectionAsync
in interface AWSAppRunnerAsync
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<CreateServiceResult> createServiceAsync(CreateServiceRequest request)
AWSAppRunnerAsync
Create an App Runner service. After the service is created, the action also automatically starts a deployment.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and
the ListOperations call to
track the operation's progress.
createServiceAsync
in interface AWSAppRunnerAsync
public Future<CreateServiceResult> createServiceAsync(CreateServiceRequest request, AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler)
AWSAppRunnerAsync
Create an App Runner service. After the service is created, the action also automatically starts a deployment.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and
the ListOperations call to
track the operation's progress.
createServiceAsync
in interface AWSAppRunnerAsync
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<DeleteAutoScalingConfigurationResult> deleteAutoScalingConfigurationAsync(DeleteAutoScalingConfigurationRequest request)
AWSAppRunnerAsync
Delete an App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.
deleteAutoScalingConfigurationAsync
in interface AWSAppRunnerAsync
public Future<DeleteAutoScalingConfigurationResult> deleteAutoScalingConfigurationAsync(DeleteAutoScalingConfigurationRequest request, AsyncHandler<DeleteAutoScalingConfigurationRequest,DeleteAutoScalingConfigurationResult> asyncHandler)
AWSAppRunnerAsync
Delete an App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.
deleteAutoScalingConfigurationAsync
in interface AWSAppRunnerAsync
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<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest request)
AWSAppRunnerAsync
Delete an App Runner connection. You must first ensure that there are no running App Runner services that use
this connection. If there are any, the DeleteConnection
action fails.
deleteConnectionAsync
in interface AWSAppRunnerAsync
public Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest request, AsyncHandler<DeleteConnectionRequest,DeleteConnectionResult> asyncHandler)
AWSAppRunnerAsync
Delete an App Runner connection. You must first ensure that there are no running App Runner services that use
this connection. If there are any, the DeleteConnection
action fails.
deleteConnectionAsync
in interface AWSAppRunnerAsync
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<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest request)
AWSAppRunnerAsync
Delete an App Runner service.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and
the ListOperations call to track the operation's progress.
deleteServiceAsync
in interface AWSAppRunnerAsync
public Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest request, AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler)
AWSAppRunnerAsync
Delete an App Runner service.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and
the ListOperations call to track the operation's progress.
deleteServiceAsync
in interface AWSAppRunnerAsync
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<DescribeAutoScalingConfigurationResult> describeAutoScalingConfigurationAsync(DescribeAutoScalingConfigurationRequest request)
AWSAppRunnerAsync
Return a full description of an App Runner automatic scaling configuration resource.
describeAutoScalingConfigurationAsync
in interface AWSAppRunnerAsync
public Future<DescribeAutoScalingConfigurationResult> describeAutoScalingConfigurationAsync(DescribeAutoScalingConfigurationRequest request, AsyncHandler<DescribeAutoScalingConfigurationRequest,DescribeAutoScalingConfigurationResult> asyncHandler)
AWSAppRunnerAsync
Return a full description of an App Runner automatic scaling configuration resource.
describeAutoScalingConfigurationAsync
in interface AWSAppRunnerAsync
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<DescribeCustomDomainsResult> describeCustomDomainsAsync(DescribeCustomDomainsRequest request)
AWSAppRunnerAsync
Return a description of custom domain names that are associated with an App Runner service.
describeCustomDomainsAsync
in interface AWSAppRunnerAsync
public Future<DescribeCustomDomainsResult> describeCustomDomainsAsync(DescribeCustomDomainsRequest request, AsyncHandler<DescribeCustomDomainsRequest,DescribeCustomDomainsResult> asyncHandler)
AWSAppRunnerAsync
Return a description of custom domain names that are associated with an App Runner service.
describeCustomDomainsAsync
in interface AWSAppRunnerAsync
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<DescribeServiceResult> describeServiceAsync(DescribeServiceRequest request)
AWSAppRunnerAsync
Return a full description of an App Runner service.
describeServiceAsync
in interface AWSAppRunnerAsync
public Future<DescribeServiceResult> describeServiceAsync(DescribeServiceRequest request, AsyncHandler<DescribeServiceRequest,DescribeServiceResult> asyncHandler)
AWSAppRunnerAsync
Return a full description of an App Runner service.
describeServiceAsync
in interface AWSAppRunnerAsync
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<DisassociateCustomDomainResult> disassociateCustomDomainAsync(DisassociateCustomDomainRequest request)
AWSAppRunnerAsync
Disassociate a custom domain name from an App Runner service.
Certificates tracking domain validity are associated with a custom domain and are stored in AWS Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for 30 days after a domain is disassociated from your service.
disassociateCustomDomainAsync
in interface AWSAppRunnerAsync
public Future<DisassociateCustomDomainResult> disassociateCustomDomainAsync(DisassociateCustomDomainRequest request, AsyncHandler<DisassociateCustomDomainRequest,DisassociateCustomDomainResult> asyncHandler)
AWSAppRunnerAsync
Disassociate a custom domain name from an App Runner service.
Certificates tracking domain validity are associated with a custom domain and are stored in AWS Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for 30 days after a domain is disassociated from your service.
disassociateCustomDomainAsync
in interface AWSAppRunnerAsync
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<ListAutoScalingConfigurationsResult> listAutoScalingConfigurationsAsync(ListAutoScalingConfigurationsRequest request)
AWSAppRunnerAsync
Returns a list of App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all configurations in your account. You can optionally query only the latest revision of each requested name.
listAutoScalingConfigurationsAsync
in interface AWSAppRunnerAsync
public Future<ListAutoScalingConfigurationsResult> listAutoScalingConfigurationsAsync(ListAutoScalingConfigurationsRequest request, AsyncHandler<ListAutoScalingConfigurationsRequest,ListAutoScalingConfigurationsResult> asyncHandler)
AWSAppRunnerAsync
Returns a list of App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all configurations in your account. You can optionally query only the latest revision of each requested name.
listAutoScalingConfigurationsAsync
in interface AWSAppRunnerAsync
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<ListConnectionsResult> listConnectionsAsync(ListConnectionsRequest request)
AWSAppRunnerAsync
Returns a list of App Runner connections that are associated with your Amazon Web Services account.
listConnectionsAsync
in interface AWSAppRunnerAsync
public Future<ListConnectionsResult> listConnectionsAsync(ListConnectionsRequest request, AsyncHandler<ListConnectionsRequest,ListConnectionsResult> asyncHandler)
AWSAppRunnerAsync
Returns a list of App Runner connections that are associated with your Amazon Web Services account.
listConnectionsAsync
in interface AWSAppRunnerAsync
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<ListOperationsResult> listOperationsAsync(ListOperationsRequest request)
AWSAppRunnerAsync
Return a list of operations that occurred on an App Runner service.
The resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the last started operation.
listOperationsAsync
in interface AWSAppRunnerAsync
public Future<ListOperationsResult> listOperationsAsync(ListOperationsRequest request, AsyncHandler<ListOperationsRequest,ListOperationsResult> asyncHandler)
AWSAppRunnerAsync
Return a list of operations that occurred on an App Runner service.
The resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the last started operation.
listOperationsAsync
in interface AWSAppRunnerAsync
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<ListServicesResult> listServicesAsync(ListServicesRequest request)
AWSAppRunnerAsync
Returns a list of running App Runner services in your Amazon Web Services account.
listServicesAsync
in interface AWSAppRunnerAsync
public Future<ListServicesResult> listServicesAsync(ListServicesRequest request, AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
AWSAppRunnerAsync
Returns a list of running App Runner services in your Amazon Web Services account.
listServicesAsync
in interface AWSAppRunnerAsync
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)
AWSAppRunnerAsync
List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs.
listTagsForResourceAsync
in interface AWSAppRunnerAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSAppRunnerAsync
List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs.
listTagsForResourceAsync
in interface AWSAppRunnerAsync
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<PauseServiceResult> pauseServiceAsync(PauseServiceRequest request)
AWSAppRunnerAsync
Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is removed).
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and
the ListOperations call to track the operation's progress.
pauseServiceAsync
in interface AWSAppRunnerAsync
public Future<PauseServiceResult> pauseServiceAsync(PauseServiceRequest request, AsyncHandler<PauseServiceRequest,PauseServiceResult> asyncHandler)
AWSAppRunnerAsync
Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is removed).
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and
the ListOperations call to track the operation's progress.
pauseServiceAsync
in interface AWSAppRunnerAsync
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<ResumeServiceResult> resumeServiceAsync(ResumeServiceRequest request)
AWSAppRunnerAsync
Resume an active App Runner service. App Runner provisions compute capacity for the service.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and
the ListOperations call to track the operation's progress.
resumeServiceAsync
in interface AWSAppRunnerAsync
public Future<ResumeServiceResult> resumeServiceAsync(ResumeServiceRequest request, AsyncHandler<ResumeServiceRequest,ResumeServiceResult> asyncHandler)
AWSAppRunnerAsync
Resume an active App Runner service. App Runner provisions compute capacity for the service.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and
the ListOperations call to track the operation's progress.
resumeServiceAsync
in interface AWSAppRunnerAsync
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)
AWSAppRunnerAsync
Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner service.
For a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker image. In both cases, App Runner then deploys the new image to your service and starts a new container instance.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and
the ListOperations call to track the operation's progress.
startDeploymentAsync
in interface AWSAppRunnerAsync
public Future<StartDeploymentResult> startDeploymentAsync(StartDeploymentRequest request, AsyncHandler<StartDeploymentRequest,StartDeploymentResult> asyncHandler)
AWSAppRunnerAsync
Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner service.
For a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker image. In both cases, App Runner then deploys the new image to your service and starts a new container instance.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and
the ListOperations call to track the operation's progress.
startDeploymentAsync
in interface AWSAppRunnerAsync
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)
AWSAppRunnerAsync
Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair.
tagResourceAsync
in interface AWSAppRunnerAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSAppRunnerAsync
Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair.
tagResourceAsync
in interface AWSAppRunnerAsync
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)
AWSAppRunnerAsync
Remove tags from an App Runner resource.
untagResourceAsync
in interface AWSAppRunnerAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSAppRunnerAsync
Remove tags from an App Runner resource.
untagResourceAsync
in interface AWSAppRunnerAsync
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<UpdateServiceResult> updateServiceAsync(UpdateServiceRequest request)
AWSAppRunnerAsync
Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service.
To update the tags applied to your service, use the separate actions TagResource and UntagResource.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and
the ListOperations call to track the operation's progress.
updateServiceAsync
in interface AWSAppRunnerAsync
public Future<UpdateServiceResult> updateServiceAsync(UpdateServiceRequest request, AsyncHandler<UpdateServiceRequest,UpdateServiceResult> asyncHandler)
AWSAppRunnerAsync
Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service.
To update the tags applied to your service, use the separate actions TagResource and UntagResource.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and
the ListOperations call to track the operation's progress.
updateServiceAsync
in interface AWSAppRunnerAsync
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.