@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAppRunnerClient extends AmazonWebServiceClient implements AWSAppRunner
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 Amazon Web Services Cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to provision and configure Amazon Web Services 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 App Runner Developer Guide. For release information, see the 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 App Runner endpoints and quotas in the Amazon Web Services General Reference.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AssociateCustomDomainResult |
associateCustomDomain(AssociateCustomDomainRequest request)
Associate your own domain name with the App Runner subdomain URL of your App Runner service.
|
static AWSAppRunnerClientBuilder |
builder() |
CreateAutoScalingConfigurationResult |
createAutoScalingConfiguration(CreateAutoScalingConfigurationRequest request)
Create an App Runner automatic scaling configuration resource.
|
CreateConnectionResult |
createConnection(CreateConnectionRequest request)
Create an App Runner connection resource.
|
CreateObservabilityConfigurationResult |
createObservabilityConfiguration(CreateObservabilityConfigurationRequest request)
Create an App Runner observability configuration resource.
|
CreateServiceResult |
createService(CreateServiceRequest request)
Create an App Runner service.
|
CreateVpcConnectorResult |
createVpcConnector(CreateVpcConnectorRequest request)
Create an App Runner VPC connector resource.
|
CreateVpcIngressConnectionResult |
createVpcIngressConnection(CreateVpcIngressConnectionRequest request)
Create an App Runner VPC Ingress Connection resource.
|
DeleteAutoScalingConfigurationResult |
deleteAutoScalingConfiguration(DeleteAutoScalingConfigurationRequest request)
Delete an App Runner automatic scaling configuration resource.
|
DeleteConnectionResult |
deleteConnection(DeleteConnectionRequest request)
Delete an App Runner connection.
|
DeleteObservabilityConfigurationResult |
deleteObservabilityConfiguration(DeleteObservabilityConfigurationRequest request)
Delete an App Runner observability configuration resource.
|
DeleteServiceResult |
deleteService(DeleteServiceRequest request)
Delete an App Runner service.
|
DeleteVpcConnectorResult |
deleteVpcConnector(DeleteVpcConnectorRequest request)
Delete an App Runner VPC connector resource.
|
DeleteVpcIngressConnectionResult |
deleteVpcIngressConnection(DeleteVpcIngressConnectionRequest request)
Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service.
|
DescribeAutoScalingConfigurationResult |
describeAutoScalingConfiguration(DescribeAutoScalingConfigurationRequest request)
Return a full description of an App Runner automatic scaling configuration resource.
|
DescribeCustomDomainsResult |
describeCustomDomains(DescribeCustomDomainsRequest request)
Return a description of custom domain names that are associated with an App Runner service.
|
DescribeObservabilityConfigurationResult |
describeObservabilityConfiguration(DescribeObservabilityConfigurationRequest request)
Return a full description of an App Runner observability configuration resource.
|
DescribeServiceResult |
describeService(DescribeServiceRequest request)
Return a full description of an App Runner service.
|
DescribeVpcConnectorResult |
describeVpcConnector(DescribeVpcConnectorRequest request)
Return a description of an App Runner VPC connector resource.
|
DescribeVpcIngressConnectionResult |
describeVpcIngressConnection(DescribeVpcIngressConnectionRequest request)
Return a full description of an App Runner VPC Ingress Connection resource.
|
DisassociateCustomDomainResult |
disassociateCustomDomain(DisassociateCustomDomainRequest request)
Disassociate a custom domain name from an 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 request)
Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account.
|
ListConnectionsResult |
listConnections(ListConnectionsRequest request)
Returns a list of App Runner connections that are associated with your Amazon Web Services account.
|
ListObservabilityConfigurationsResult |
listObservabilityConfigurations(ListObservabilityConfigurationsRequest request)
Returns a list of active App Runner observability configurations in your Amazon Web Services account.
|
ListOperationsResult |
listOperations(ListOperationsRequest request)
Return a list of operations that occurred on an App Runner service.
|
ListServicesResult |
listServices(ListServicesRequest request)
Returns a list of running App Runner services in your Amazon Web Services account.
|
ListServicesForAutoScalingConfigurationResult |
listServicesForAutoScalingConfiguration(ListServicesForAutoScalingConfigurationRequest request)
Returns a list of the associated App Runner services using an auto scaling configuration.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
List tags that are associated with for an App Runner resource.
|
ListVpcConnectorsResult |
listVpcConnectors(ListVpcConnectorsRequest request)
Returns a list of App Runner VPC connectors in your Amazon Web Services account.
|
ListVpcIngressConnectionsResult |
listVpcIngressConnections(ListVpcIngressConnectionsRequest request)
Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
|
PauseServiceResult |
pauseService(PauseServiceRequest request)
Pause an active App Runner service.
|
ResumeServiceResult |
resumeService(ResumeServiceRequest request)
Resume an active App Runner service.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartDeploymentResult |
startDeployment(StartDeploymentRequest request)
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.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Add tags to, or update the tag values of, an App Runner resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Remove tags from an App Runner resource.
|
UpdateDefaultAutoScalingConfigurationResult |
updateDefaultAutoScalingConfiguration(UpdateDefaultAutoScalingConfigurationRequest request)
Update an auto scaling configuration to be the default.
|
UpdateServiceResult |
updateService(UpdateServiceRequest request)
Update an App Runner service.
|
UpdateVpcIngressConnectionResult |
updateVpcIngressConnection(UpdateVpcIngressConnectionRequest request)
Update an existing App Runner VPC Ingress Connection resource.
|
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
public static AWSAppRunnerClientBuilder builder()
public AssociateCustomDomainResult associateCustomDomain(AssociateCustomDomainRequest request)
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).
associateCustomDomain
in interface AWSAppRunner
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.public CreateAutoScalingConfigurationResult createAutoScalingConfiguration(CreateAutoScalingConfigurationRequest request)
Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create or update App Runner services and you require non-default auto scaling settings. You can share an auto scaling configuration across multiple services.
Create multiple revisions of a configuration by calling this action multiple times using the same
AutoScalingConfigurationName
. The call returns incremental
AutoScalingConfigurationRevision
values. When you create a service and configure an auto scaling
configuration resource, the service uses the latest active revision of the auto scaling configuration by default.
You can optionally configure the service to use 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.
createAutoScalingConfiguration
in interface AWSAppRunner
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 App Runner endpoints and quotas in the Amazon Web Services General Reference.
public CreateConnectionResult createConnection(CreateConnectionRequest request)
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 and Bitbucket repositories. Both require a user interface approval process through the App Runner console before you can use the connection.
createConnection
in interface AWSAppRunner
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 App Runner endpoints and quotas in the Amazon Web Services General Reference.
public CreateObservabilityConfigurationResult createObservabilityConfiguration(CreateObservabilityConfigurationRequest request)
Create an App Runner observability configuration resource. App Runner requires this resource when you create or update App Runner services and you want to enable non-default observability features. You can share an observability configuration across multiple services.
Create multiple revisions of a configuration by calling this action multiple times using the same
ObservabilityConfigurationName
. The call returns incremental
ObservabilityConfigurationRevision
values. When you create a service and configure an observability
configuration resource, the service uses the latest active revision of the observability configuration by
default. You can optionally configure the service to use a specific revision.
The observability configuration resource is designed to configure multiple features (currently one feature,
tracing). This action takes optional parameters that describe the configuration of these features (currently one
parameter, TraceConfiguration
). If you don't specify a feature parameter, App Runner doesn't enable
the feature.
createObservabilityConfiguration
in interface AWSAppRunner
createObservabilityConfigurationRequest
- 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 App Runner endpoints and quotas in the Amazon Web Services General Reference.
public CreateServiceResult createService(CreateServiceRequest request)
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.
createService
in interface AWSAppRunner
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 App Runner endpoints and quotas in the Amazon Web Services General Reference.
public CreateVpcConnectorResult createVpcConnector(CreateVpcConnectorRequest request)
Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud (Amazon VPC).
createVpcConnector
in interface AWSAppRunner
createVpcConnectorRequest
- 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 App Runner endpoints and quotas in the Amazon Web Services General Reference.
public CreateVpcIngressConnectionResult createVpcIngressConnection(CreateVpcIngressConnectionRequest request)
Create an App Runner VPC Ingress Connection resource. App Runner requires this resource when you want to associate your App Runner service with an Amazon VPC endpoint.
createVpcIngressConnection
in interface AWSAppRunner
createVpcIngressConnectionRequest
- 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.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 App Runner endpoints and quotas in the Amazon Web Services General Reference.
public DeleteAutoScalingConfigurationResult deleteAutoScalingConfiguration(DeleteAutoScalingConfigurationRequest request)
Delete an App Runner automatic scaling configuration resource. You can delete a top level auto scaling configuration, a specific revision of one, or all revisions associated with the top level configuration. You can't delete the default auto scaling configuration or a configuration that's used by one or more App Runner services.
deleteAutoScalingConfiguration
in interface AWSAppRunner
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 Amazon Web Services
account.public DeleteConnectionResult deleteConnection(DeleteConnectionRequest request)
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.
deleteConnection
in interface AWSAppRunner
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 Amazon Web Services
account.InternalServiceErrorException
- An unexpected service exception occurred.public DeleteObservabilityConfigurationResult deleteObservabilityConfiguration(DeleteObservabilityConfigurationRequest request)
Delete an App Runner observability 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.
deleteObservabilityConfiguration
in interface AWSAppRunner
deleteObservabilityConfigurationRequest
- 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 Amazon Web Services
account.public DeleteServiceResult deleteService(DeleteServiceRequest request)
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.
Make sure that you don't have any active VPCIngressConnections associated with the service you want to delete.
deleteService
in interface AWSAppRunner
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 Amazon Web Services
account.InvalidStateException
- You can't perform this action when the resource is in its current state.InternalServiceErrorException
- An unexpected service exception occurred.public DeleteVpcConnectorResult deleteVpcConnector(DeleteVpcConnectorRequest request)
Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services.
deleteVpcConnector
in interface AWSAppRunner
deleteVpcConnectorRequest
- 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 Amazon Web Services
account.public DeleteVpcIngressConnectionResult deleteVpcIngressConnection(DeleteVpcIngressConnectionRequest request)
Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service. The VPC Ingress Connection must be in one of the following states to be deleted:
AVAILABLE
FAILED_CREATION
FAILED_UPDATE
FAILED_DELETION
deleteVpcIngressConnection
in interface AWSAppRunner
deleteVpcIngressConnectionRequest
- 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 Amazon Web Services
account.InvalidStateException
- You can't perform this action when the resource is in its current state.public DescribeAutoScalingConfigurationResult describeAutoScalingConfiguration(DescribeAutoScalingConfigurationRequest request)
Return a full description of an App Runner automatic scaling configuration resource.
describeAutoScalingConfiguration
in interface AWSAppRunner
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 Amazon Web Services
account.public DescribeCustomDomainsResult describeCustomDomains(DescribeCustomDomainsRequest request)
Return a description of custom domain names that are associated with an App Runner service.
describeCustomDomains
in interface AWSAppRunner
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 Amazon Web Services
account.public DescribeObservabilityConfigurationResult describeObservabilityConfiguration(DescribeObservabilityConfigurationRequest request)
Return a full description of an App Runner observability configuration resource.
describeObservabilityConfiguration
in interface AWSAppRunner
describeObservabilityConfigurationRequest
- 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 Amazon Web Services
account.public DescribeServiceResult describeService(DescribeServiceRequest request)
Return a full description of an App Runner service.
describeService
in interface AWSAppRunner
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 Amazon Web Services
account.InternalServiceErrorException
- An unexpected service exception occurred.public DescribeVpcConnectorResult describeVpcConnector(DescribeVpcConnectorRequest request)
Return a description of an App Runner VPC connector resource.
describeVpcConnector
in interface AWSAppRunner
describeVpcConnectorRequest
- 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 Amazon Web Services
account.public DescribeVpcIngressConnectionResult describeVpcIngressConnection(DescribeVpcIngressConnectionRequest request)
Return a full description of an App Runner VPC Ingress Connection resource.
describeVpcIngressConnection
in interface AWSAppRunner
describeVpcIngressConnectionRequest
- 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 Amazon Web Services
account.public DisassociateCustomDomainResult disassociateCustomDomain(DisassociateCustomDomainRequest request)
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.
disassociateCustomDomain
in interface AWSAppRunner
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 Amazon Web Services
account.InvalidStateException
- You can't perform this action when the resource is in its current state.public ListAutoScalingConfigurationsResult listAutoScalingConfigurations(ListAutoScalingConfigurationsRequest request)
Returns a list of active 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 active configurations in your account. You can optionally query only the latest revision of each requested name.
To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned
by ListAutoScalingConfigurations
.
listAutoScalingConfigurations
in interface AWSAppRunner
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.public ListConnectionsResult listConnections(ListConnectionsRequest request)
Returns a list of App Runner connections that are associated with your Amazon Web Services account.
listConnections
in interface AWSAppRunner
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.public ListObservabilityConfigurationsResult listObservabilityConfigurations(ListObservabilityConfigurationsRequest request)
Returns a list of active App Runner observability configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name.
To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned
by ListObservabilityConfigurations
.
listObservabilityConfigurations
in interface AWSAppRunner
listObservabilityConfigurationsRequest
- 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.public ListOperationsResult listOperations(ListOperationsRequest request)
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.
listOperations
in interface AWSAppRunner
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 Amazon Web Services
account.public ListServicesResult listServices(ListServicesRequest request)
Returns a list of running App Runner services in your Amazon Web Services account.
listServices
in interface AWSAppRunner
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.public ListServicesForAutoScalingConfigurationResult listServicesForAutoScalingConfiguration(ListServicesForAutoScalingConfigurationRequest request)
Returns a list of the associated App Runner services using an auto scaling configuration.
listServicesForAutoScalingConfiguration
in interface AWSAppRunner
listServicesForAutoScalingConfigurationRequest
- 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 Amazon Web Services
account.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs.
listTagsForResource
in interface AWSAppRunner
listTagsForResourceRequest
- ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon Web Services
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.public ListVpcConnectorsResult listVpcConnectors(ListVpcConnectorsRequest request)
Returns a list of App Runner VPC connectors in your Amazon Web Services account.
listVpcConnectors
in interface AWSAppRunner
listVpcConnectorsRequest
- 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.public ListVpcIngressConnectionsResult listVpcIngressConnections(ListVpcIngressConnectionsRequest request)
Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
listVpcIngressConnections
in interface AWSAppRunner
listVpcIngressConnectionsRequest
- 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.public PauseServiceResult pauseService(PauseServiceRequest request)
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.
pauseService
in interface AWSAppRunner
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 Amazon Web Services
account.InternalServiceErrorException
- An unexpected service exception occurred.InvalidStateException
- You can't perform this action when the resource is in its current state.public ResumeServiceResult resumeService(ResumeServiceRequest request)
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.
resumeService
in interface AWSAppRunner
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 Amazon Web Services
account.InternalServiceErrorException
- An unexpected service exception occurred.InvalidStateException
- You can't perform this action when the resource is in its current state.public StartDeploymentResult startDeployment(StartDeploymentRequest request)
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.
startDeployment
in interface AWSAppRunner
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 Amazon Web Services
account.InternalServiceErrorException
- An unexpected service exception occurred.public TagResourceResult tagResource(TagResourceRequest request)
Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair.
tagResource
in interface AWSAppRunner
tagResourceRequest
- ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon Web Services
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.public UntagResourceResult untagResource(UntagResourceRequest request)
Remove tags from an App Runner resource.
untagResource
in interface AWSAppRunner
untagResourceRequest
- ResourceNotFoundException
- A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon Web Services
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.public UpdateDefaultAutoScalingConfigurationResult updateDefaultAutoScalingConfiguration(UpdateDefaultAutoScalingConfigurationRequest request)
Update an auto scaling configuration to be the default. The existing default auto scaling configuration will be set to non-default automatically.
updateDefaultAutoScalingConfiguration
in interface AWSAppRunner
updateDefaultAutoScalingConfigurationRequest
- 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 Amazon Web Services
account.public UpdateServiceResult updateService(UpdateServiceRequest request)
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.
updateService
in interface AWSAppRunner
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 Amazon Web Services
account.InvalidStateException
- You can't perform this action when the resource is in its current state.InternalServiceErrorException
- An unexpected service exception occurred.public UpdateVpcIngressConnectionResult updateVpcIngressConnection(UpdateVpcIngressConnectionRequest request)
Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection must be in one of the following states to be updated:
AVAILABLE
FAILED_CREATION
FAILED_UPDATE
updateVpcIngressConnection
in interface AWSAppRunner
updateVpcIngressConnectionRequest
- 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 Amazon Web Services
account.InvalidStateException
- You can't perform this action when the resource is in its current state.InternalServiceErrorException
- An unexpected service exception occurred.public 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 the request.
getCachedResponseMetadata
in interface AWSAppRunner
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSAppRunner
shutdown
in class AmazonWebServiceClient