@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSAppRunner
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSAppRunner
instead.
AWS App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code to a running service in the AWS cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to provision and configure AWS resources.
App Runner connects directly to your container registry or source code repository. It provides an automatic delivery pipeline with fully managed operations, high performance, scalability, and security.
For more information about App Runner, see the AWS App Runner Developer Guide. For release information, see the AWS App Runner Release Notes.
To install the Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools that you can use to access the API, see Tools for Amazon Web Services.
Endpoints
For a list of Region-specific endpoints that App Runner supports, see AWS App Runner endpoints and quotas in the AWS General Reference.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
AssociateCustomDomainResult |
associateCustomDomain(AssociateCustomDomainRequest associateCustomDomainRequest)
Associate your own domain name with the AWS App Runner subdomain URL of your App Runner service.
|
CreateAutoScalingConfigurationResult |
createAutoScalingConfiguration(CreateAutoScalingConfigurationRequest createAutoScalingConfigurationRequest)
Create an AWS App Runner automatic scaling configuration resource.
|
CreateConnectionResult |
createConnection(CreateConnectionRequest createConnectionRequest)
Create an AWS App Runner connection resource.
|
CreateServiceResult |
createService(CreateServiceRequest createServiceRequest)
Create an AWS App Runner service.
|
DeleteAutoScalingConfigurationResult |
deleteAutoScalingConfiguration(DeleteAutoScalingConfigurationRequest deleteAutoScalingConfigurationRequest)
Delete an AWS App Runner automatic scaling configuration resource.
|
DeleteConnectionResult |
deleteConnection(DeleteConnectionRequest deleteConnectionRequest)
Delete an AWS App Runner connection.
|
DeleteServiceResult |
deleteService(DeleteServiceRequest deleteServiceRequest)
Delete an AWS App Runner service.
|
DescribeAutoScalingConfigurationResult |
describeAutoScalingConfiguration(DescribeAutoScalingConfigurationRequest describeAutoScalingConfigurationRequest)
Return a full description of an AWS App Runner automatic scaling configuration resource.
|
DescribeCustomDomainsResult |
describeCustomDomains(DescribeCustomDomainsRequest describeCustomDomainsRequest)
Return a description of custom domain names that are associated with an AWS App Runner service.
|
DescribeServiceResult |
describeService(DescribeServiceRequest describeServiceRequest)
Return a full description of an AWS App Runner service.
|
DisassociateCustomDomainResult |
disassociateCustomDomain(DisassociateCustomDomainRequest disassociateCustomDomainRequest)
Disassociate a custom domain name from an AWS App Runner service.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
ListAutoScalingConfigurationsResult |
listAutoScalingConfigurations(ListAutoScalingConfigurationsRequest listAutoScalingConfigurationsRequest)
Returns a list of AWS App Runner automatic scaling configurations in your AWS account.
|
ListConnectionsResult |
listConnections(ListConnectionsRequest listConnectionsRequest)
Returns a list of AWS App Runner connections that are associated with your AWS account.
|
ListOperationsResult |
listOperations(ListOperationsRequest listOperationsRequest)
Return a list of operations that occurred on an AWS App Runner service.
|
ListServicesResult |
listServices(ListServicesRequest listServicesRequest)
Returns a list of running AWS App Runner services in your AWS account.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List tags that are associated with for an AWS App Runner resource.
|
PauseServiceResult |
pauseService(PauseServiceRequest pauseServiceRequest)
Pause an active AWS App Runner service.
|
ResumeServiceResult |
resumeService(ResumeServiceRequest resumeServiceRequest)
Resume an active AWS App Runner service.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartDeploymentResult |
startDeployment(StartDeploymentRequest startDeploymentRequest)
Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source
image repository to an AWS App Runner service.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Add tags to, or update the tag values of, an App Runner resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Remove tags from an App Runner resource.
|
UpdateServiceResult |
updateService(UpdateServiceRequest updateServiceRequest)
Update an AWS App Runner service.
|
static final String ENDPOINT_PREFIX
AssociateCustomDomainResult associateCustomDomain(AssociateCustomDomainRequest associateCustomDomainRequest)
Associate your own domain name with the AWS 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).
associateCustomDomainRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InternalServiceErrorException
- An unexpected service exception occurred.InvalidStateException
- You can't perform this action when the resource is in its current state.CreateAutoScalingConfigurationResult createAutoScalingConfiguration(CreateAutoScalingConfigurationRequest createAutoScalingConfigurationRequest)
Create an AWS 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 AWS Region. The tradeoff is a higher minimal cost.
Configure a lower MaxSize
to control your cost. The tradeoff is lower responsiveness during peak
demand.
createAutoScalingConfigurationRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InternalServiceErrorException
- An unexpected service exception occurred.ServiceQuotaExceededException
- App Runner can't create this resource. You've reached your account quota for this resource type.
For App Runner per-resource quotas, see AWS App Runner endpoints and quotas in the AWS General Reference.
CreateConnectionResult createConnection(CreateConnectionRequest createConnectionRequest)
Create an AWS 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.
createConnectionRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InternalServiceErrorException
- An unexpected service exception occurred.ServiceQuotaExceededException
- App Runner can't create this resource. You've reached your account quota for this resource type.
For App Runner per-resource quotas, see AWS App Runner endpoints and quotas in the AWS General Reference.
CreateServiceResult createService(CreateServiceRequest createServiceRequest)
Create an AWS 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.
createServiceRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InternalServiceErrorException
- An unexpected service exception occurred.ServiceQuotaExceededException
- App Runner can't create this resource. You've reached your account quota for this resource type.
For App Runner per-resource quotas, see AWS App Runner endpoints and quotas in the AWS General Reference.
DeleteAutoScalingConfigurationResult deleteAutoScalingConfiguration(DeleteAutoScalingConfigurationRequest deleteAutoScalingConfigurationRequest)
Delete an AWS 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.
deleteAutoScalingConfigurationRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InternalServiceErrorException
- An unexpected service exception occurred.ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.DeleteConnectionResult deleteConnection(DeleteConnectionRequest deleteConnectionRequest)
Delete an AWS 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.
deleteConnectionRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.InternalServiceErrorException
- An unexpected service exception occurred.DeleteServiceResult deleteService(DeleteServiceRequest deleteServiceRequest)
Delete an AWS 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.
deleteServiceRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.InvalidStateException
- You can't perform this action when the resource is in its current state.InternalServiceErrorException
- An unexpected service exception occurred.DescribeAutoScalingConfigurationResult describeAutoScalingConfiguration(DescribeAutoScalingConfigurationRequest describeAutoScalingConfigurationRequest)
Return a full description of an AWS App Runner automatic scaling configuration resource.
describeAutoScalingConfigurationRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InternalServiceErrorException
- An unexpected service exception occurred.ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.DescribeCustomDomainsResult describeCustomDomains(DescribeCustomDomainsRequest describeCustomDomainsRequest)
Return a description of custom domain names that are associated with an AWS App Runner service.
describeCustomDomainsRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InternalServiceErrorException
- An unexpected service exception occurred.ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.DescribeServiceResult describeService(DescribeServiceRequest describeServiceRequest)
Return a full description of an AWS App Runner service.
describeServiceRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.InternalServiceErrorException
- An unexpected service exception occurred.DisassociateCustomDomainResult disassociateCustomDomain(DisassociateCustomDomainRequest disassociateCustomDomainRequest)
Disassociate a custom domain name from an AWS 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.
disassociateCustomDomainRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InternalServiceErrorException
- An unexpected service exception occurred.ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.InvalidStateException
- You can't perform this action when the resource is in its current state.ListAutoScalingConfigurationsResult listAutoScalingConfigurations(ListAutoScalingConfigurationsRequest listAutoScalingConfigurationsRequest)
Returns a list of AWS App Runner automatic scaling configurations in your AWS 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.
listAutoScalingConfigurationsRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InternalServiceErrorException
- An unexpected service exception occurred.ListConnectionsResult listConnections(ListConnectionsRequest listConnectionsRequest)
Returns a list of AWS App Runner connections that are associated with your AWS account.
listConnectionsRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InternalServiceErrorException
- An unexpected service exception occurred.ListOperationsResult listOperations(ListOperationsRequest listOperationsRequest)
Return a list of operations that occurred on an AWS 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.
listOperationsRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InternalServiceErrorException
- An unexpected service exception occurred.ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.ListServicesResult listServices(ListServicesRequest listServicesRequest)
Returns a list of running AWS App Runner services in your AWS account.
listServicesRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InternalServiceErrorException
- An unexpected service exception occurred.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List tags that are associated with for an AWS App Runner resource. The response contains a list of tag key-value pairs.
listTagsForResourceRequest
- ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.InternalServiceErrorException
- An unexpected service exception occurred.InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InvalidStateException
- You can't perform this action when the resource is in its current state.PauseServiceResult pauseService(PauseServiceRequest pauseServiceRequest)
Pause an active AWS 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.
pauseServiceRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.InternalServiceErrorException
- An unexpected service exception occurred.InvalidStateException
- You can't perform this action when the resource is in its current state.ResumeServiceResult resumeService(ResumeServiceRequest resumeServiceRequest)
Resume an active AWS 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.
resumeServiceRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.InternalServiceErrorException
- An unexpected service exception occurred.InvalidStateException
- You can't perform this action when the resource is in its current state.StartDeploymentResult startDeployment(StartDeploymentRequest startDeploymentRequest)
Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an AWS 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.
startDeploymentRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.InternalServiceErrorException
- An unexpected service exception occurred.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair.
tagResourceRequest
- ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.InternalServiceErrorException
- An unexpected service exception occurred.InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InvalidStateException
- You can't perform this action when the resource is in its current state.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Remove tags from an App Runner resource.
untagResourceRequest
- ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.InternalServiceErrorException
- An unexpected service exception occurred.InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.InvalidStateException
- You can't perform this action when the resource is in its current state.UpdateServiceResult updateService(UpdateServiceRequest updateServiceRequest)
Update an AWS 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.
updateServiceRequest
- InvalidRequestException
- One or more input parameters aren't valid. Refer to the API action's document page, correct the input
parameters, and try the action again.ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.InvalidStateException
- You can't perform this action when the resource is in its current state.InternalServiceErrorException
- An unexpected service exception occurred.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.