Interface AppRunnerClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateCustomDomainResponse
associateCustomDomain
(Consumer<AssociateCustomDomainRequest.Builder> associateCustomDomainRequest) Associate your own domain name with the App Runner subdomain URL of your App Runner service.default AssociateCustomDomainResponse
associateCustomDomain
(AssociateCustomDomainRequest associateCustomDomainRequest) Associate your own domain name with the App Runner subdomain URL of your App Runner service.static AppRunnerClientBuilder
builder()
Create a builder that can be used to configure and create aAppRunnerClient
.static AppRunnerClient
create()
Create aAppRunnerClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createAutoScalingConfiguration
(Consumer<CreateAutoScalingConfigurationRequest.Builder> createAutoScalingConfigurationRequest) Create an App Runner automatic scaling configuration resource.createAutoScalingConfiguration
(CreateAutoScalingConfigurationRequest createAutoScalingConfigurationRequest) Create an App Runner automatic scaling configuration resource.default CreateConnectionResponse
createConnection
(Consumer<CreateConnectionRequest.Builder> createConnectionRequest) Create an App Runner connection resource.default CreateConnectionResponse
createConnection
(CreateConnectionRequest createConnectionRequest) Create an App Runner connection resource.createObservabilityConfiguration
(Consumer<CreateObservabilityConfigurationRequest.Builder> createObservabilityConfigurationRequest) Create an App Runner observability configuration resource.createObservabilityConfiguration
(CreateObservabilityConfigurationRequest createObservabilityConfigurationRequest) Create an App Runner observability configuration resource.default CreateServiceResponse
createService
(Consumer<CreateServiceRequest.Builder> createServiceRequest) Create an App Runner service.default CreateServiceResponse
createService
(CreateServiceRequest createServiceRequest) Create an App Runner service.default CreateVpcConnectorResponse
createVpcConnector
(Consumer<CreateVpcConnectorRequest.Builder> createVpcConnectorRequest) Create an App Runner VPC connector resource.default CreateVpcConnectorResponse
createVpcConnector
(CreateVpcConnectorRequest createVpcConnectorRequest) Create an App Runner VPC connector resource.createVpcIngressConnection
(Consumer<CreateVpcIngressConnectionRequest.Builder> createVpcIngressConnectionRequest) Create an App Runner VPC Ingress Connection resource.createVpcIngressConnection
(CreateVpcIngressConnectionRequest createVpcIngressConnectionRequest) Create an App Runner VPC Ingress Connection resource.deleteAutoScalingConfiguration
(Consumer<DeleteAutoScalingConfigurationRequest.Builder> deleteAutoScalingConfigurationRequest) Delete an App Runner automatic scaling configuration resource.deleteAutoScalingConfiguration
(DeleteAutoScalingConfigurationRequest deleteAutoScalingConfigurationRequest) Delete an App Runner automatic scaling configuration resource.default DeleteConnectionResponse
deleteConnection
(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest) Delete an App Runner connection.default DeleteConnectionResponse
deleteConnection
(DeleteConnectionRequest deleteConnectionRequest) Delete an App Runner connection.deleteObservabilityConfiguration
(Consumer<DeleteObservabilityConfigurationRequest.Builder> deleteObservabilityConfigurationRequest) Delete an App Runner observability configuration resource.deleteObservabilityConfiguration
(DeleteObservabilityConfigurationRequest deleteObservabilityConfigurationRequest) Delete an App Runner observability configuration resource.default DeleteServiceResponse
deleteService
(Consumer<DeleteServiceRequest.Builder> deleteServiceRequest) Delete an App Runner service.default DeleteServiceResponse
deleteService
(DeleteServiceRequest deleteServiceRequest) Delete an App Runner service.default DeleteVpcConnectorResponse
deleteVpcConnector
(Consumer<DeleteVpcConnectorRequest.Builder> deleteVpcConnectorRequest) Delete an App Runner VPC connector resource.default DeleteVpcConnectorResponse
deleteVpcConnector
(DeleteVpcConnectorRequest deleteVpcConnectorRequest) Delete an App Runner VPC connector resource.deleteVpcIngressConnection
(Consumer<DeleteVpcIngressConnectionRequest.Builder> deleteVpcIngressConnectionRequest) Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service.deleteVpcIngressConnection
(DeleteVpcIngressConnectionRequest deleteVpcIngressConnectionRequest) Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service.describeAutoScalingConfiguration
(Consumer<DescribeAutoScalingConfigurationRequest.Builder> describeAutoScalingConfigurationRequest) Return a full description of an App Runner automatic scaling configuration resource.describeAutoScalingConfiguration
(DescribeAutoScalingConfigurationRequest describeAutoScalingConfigurationRequest) Return a full description of an App Runner automatic scaling configuration resource.default DescribeCustomDomainsResponse
describeCustomDomains
(Consumer<DescribeCustomDomainsRequest.Builder> describeCustomDomainsRequest) Return a description of custom domain names that are associated with an App Runner service.default DescribeCustomDomainsResponse
describeCustomDomains
(DescribeCustomDomainsRequest describeCustomDomainsRequest) Return a description of custom domain names that are associated with an App Runner service.default DescribeCustomDomainsIterable
describeCustomDomainsPaginator
(Consumer<DescribeCustomDomainsRequest.Builder> describeCustomDomainsRequest) This is a variant ofdescribeCustomDomains(software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest)
operation.default DescribeCustomDomainsIterable
describeCustomDomainsPaginator
(DescribeCustomDomainsRequest describeCustomDomainsRequest) This is a variant ofdescribeCustomDomains(software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest)
operation.describeObservabilityConfiguration
(Consumer<DescribeObservabilityConfigurationRequest.Builder> describeObservabilityConfigurationRequest) Return a full description of an App Runner observability configuration resource.describeObservabilityConfiguration
(DescribeObservabilityConfigurationRequest describeObservabilityConfigurationRequest) Return a full description of an App Runner observability configuration resource.default DescribeServiceResponse
describeService
(Consumer<DescribeServiceRequest.Builder> describeServiceRequest) Return a full description of an App Runner service.default DescribeServiceResponse
describeService
(DescribeServiceRequest describeServiceRequest) Return a full description of an App Runner service.default DescribeVpcConnectorResponse
describeVpcConnector
(Consumer<DescribeVpcConnectorRequest.Builder> describeVpcConnectorRequest) Return a description of an App Runner VPC connector resource.default DescribeVpcConnectorResponse
describeVpcConnector
(DescribeVpcConnectorRequest describeVpcConnectorRequest) Return a description of an App Runner VPC connector resource.describeVpcIngressConnection
(Consumer<DescribeVpcIngressConnectionRequest.Builder> describeVpcIngressConnectionRequest) Return a full description of an App Runner VPC Ingress Connection resource.describeVpcIngressConnection
(DescribeVpcIngressConnectionRequest describeVpcIngressConnectionRequest) Return a full description of an App Runner VPC Ingress Connection resource.default DisassociateCustomDomainResponse
disassociateCustomDomain
(Consumer<DisassociateCustomDomainRequest.Builder> disassociateCustomDomainRequest) Disassociate a custom domain name from an App Runner service.default DisassociateCustomDomainResponse
disassociateCustomDomain
(DisassociateCustomDomainRequest disassociateCustomDomainRequest) Disassociate a custom domain name from an App Runner service.listAutoScalingConfigurations
(Consumer<ListAutoScalingConfigurationsRequest.Builder> listAutoScalingConfigurationsRequest) Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account.listAutoScalingConfigurations
(ListAutoScalingConfigurationsRequest listAutoScalingConfigurationsRequest) Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account.listAutoScalingConfigurationsPaginator
(Consumer<ListAutoScalingConfigurationsRequest.Builder> listAutoScalingConfigurationsRequest) This is a variant oflistAutoScalingConfigurations(software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest)
operation.listAutoScalingConfigurationsPaginator
(ListAutoScalingConfigurationsRequest listAutoScalingConfigurationsRequest) This is a variant oflistAutoScalingConfigurations(software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest)
operation.default ListConnectionsResponse
listConnections
(Consumer<ListConnectionsRequest.Builder> listConnectionsRequest) Returns a list of App Runner connections that are associated with your Amazon Web Services account.default ListConnectionsResponse
listConnections
(ListConnectionsRequest listConnectionsRequest) Returns a list of App Runner connections that are associated with your Amazon Web Services account.default ListConnectionsIterable
listConnectionsPaginator
(Consumer<ListConnectionsRequest.Builder> listConnectionsRequest) This is a variant oflistConnections(software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest)
operation.default ListConnectionsIterable
listConnectionsPaginator
(ListConnectionsRequest listConnectionsRequest) This is a variant oflistConnections(software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest)
operation.listObservabilityConfigurations
(Consumer<ListObservabilityConfigurationsRequest.Builder> listObservabilityConfigurationsRequest) Returns a list of active App Runner observability configurations in your Amazon Web Services account.listObservabilityConfigurations
(ListObservabilityConfigurationsRequest listObservabilityConfigurationsRequest) Returns a list of active App Runner observability configurations in your Amazon Web Services account.listObservabilityConfigurationsPaginator
(Consumer<ListObservabilityConfigurationsRequest.Builder> listObservabilityConfigurationsRequest) This is a variant oflistObservabilityConfigurations(software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest)
operation.listObservabilityConfigurationsPaginator
(ListObservabilityConfigurationsRequest listObservabilityConfigurationsRequest) This is a variant oflistObservabilityConfigurations(software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest)
operation.default ListOperationsResponse
listOperations
(Consumer<ListOperationsRequest.Builder> listOperationsRequest) Return a list of operations that occurred on an App Runner service.default ListOperationsResponse
listOperations
(ListOperationsRequest listOperationsRequest) Return a list of operations that occurred on an App Runner service.default ListOperationsIterable
listOperationsPaginator
(Consumer<ListOperationsRequest.Builder> listOperationsRequest) This is a variant oflistOperations(software.amazon.awssdk.services.apprunner.model.ListOperationsRequest)
operation.default ListOperationsIterable
listOperationsPaginator
(ListOperationsRequest listOperationsRequest) This is a variant oflistOperations(software.amazon.awssdk.services.apprunner.model.ListOperationsRequest)
operation.default ListServicesResponse
listServices
(Consumer<ListServicesRequest.Builder> listServicesRequest) Returns a list of running App Runner services in your Amazon Web Services account.default ListServicesResponse
listServices
(ListServicesRequest listServicesRequest) Returns a list of running App Runner services in your Amazon Web Services account.listServicesForAutoScalingConfiguration
(Consumer<ListServicesForAutoScalingConfigurationRequest.Builder> listServicesForAutoScalingConfigurationRequest) Returns a list of the associated App Runner services using an auto scaling configuration.listServicesForAutoScalingConfiguration
(ListServicesForAutoScalingConfigurationRequest listServicesForAutoScalingConfigurationRequest) Returns a list of the associated App Runner services using an auto scaling configuration.listServicesForAutoScalingConfigurationPaginator
(Consumer<ListServicesForAutoScalingConfigurationRequest.Builder> listServicesForAutoScalingConfigurationRequest) listServicesForAutoScalingConfigurationPaginator
(ListServicesForAutoScalingConfigurationRequest listServicesForAutoScalingConfigurationRequest) default ListServicesIterable
listServicesPaginator
(Consumer<ListServicesRequest.Builder> listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.apprunner.model.ListServicesRequest)
operation.default ListServicesIterable
listServicesPaginator
(ListServicesRequest listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.apprunner.model.ListServicesRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List tags that are associated with for an App Runner resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) List tags that are associated with for an App Runner resource.default ListVpcConnectorsResponse
listVpcConnectors
(Consumer<ListVpcConnectorsRequest.Builder> listVpcConnectorsRequest) Returns a list of App Runner VPC connectors in your Amazon Web Services account.default ListVpcConnectorsResponse
listVpcConnectors
(ListVpcConnectorsRequest listVpcConnectorsRequest) Returns a list of App Runner VPC connectors in your Amazon Web Services account.default ListVpcConnectorsIterable
listVpcConnectorsPaginator
(Consumer<ListVpcConnectorsRequest.Builder> listVpcConnectorsRequest) This is a variant oflistVpcConnectors(software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest)
operation.default ListVpcConnectorsIterable
listVpcConnectorsPaginator
(ListVpcConnectorsRequest listVpcConnectorsRequest) This is a variant oflistVpcConnectors(software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest)
operation.listVpcIngressConnections
(Consumer<ListVpcIngressConnectionsRequest.Builder> listVpcIngressConnectionsRequest) Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.listVpcIngressConnections
(ListVpcIngressConnectionsRequest listVpcIngressConnectionsRequest) Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.listVpcIngressConnectionsPaginator
(Consumer<ListVpcIngressConnectionsRequest.Builder> listVpcIngressConnectionsRequest) This is a variant oflistVpcIngressConnections(software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest)
operation.listVpcIngressConnectionsPaginator
(ListVpcIngressConnectionsRequest listVpcIngressConnectionsRequest) This is a variant oflistVpcIngressConnections(software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest)
operation.default PauseServiceResponse
pauseService
(Consumer<PauseServiceRequest.Builder> pauseServiceRequest) Pause an active App Runner service.default PauseServiceResponse
pauseService
(PauseServiceRequest pauseServiceRequest) Pause an active App Runner service.default ResumeServiceResponse
resumeService
(Consumer<ResumeServiceRequest.Builder> resumeServiceRequest) Resume an active App Runner service.default ResumeServiceResponse
resumeService
(ResumeServiceRequest resumeServiceRequest) Resume an active App Runner service.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartDeploymentResponse
startDeployment
(Consumer<StartDeploymentRequest.Builder> 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 App Runner service.default StartDeploymentResponse
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 App Runner service.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add tags to, or update the tag values of, an App Runner resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Add tags to, or update the tag values of, an App Runner resource.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove tags from an App Runner resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Remove tags from an App Runner resource.updateDefaultAutoScalingConfiguration
(Consumer<UpdateDefaultAutoScalingConfigurationRequest.Builder> updateDefaultAutoScalingConfigurationRequest) Update an auto scaling configuration to be the default.updateDefaultAutoScalingConfiguration
(UpdateDefaultAutoScalingConfigurationRequest updateDefaultAutoScalingConfigurationRequest) Update an auto scaling configuration to be the default.default UpdateServiceResponse
updateService
(Consumer<UpdateServiceRequest.Builder> updateServiceRequest) Update an App Runner service.default UpdateServiceResponse
updateService
(UpdateServiceRequest updateServiceRequest) Update an App Runner service.updateVpcIngressConnection
(Consumer<UpdateVpcIngressConnectionRequest.Builder> updateVpcIngressConnectionRequest) Update an existing App Runner VPC Ingress Connection resource.updateVpcIngressConnection
(UpdateVpcIngressConnectionRequest updateVpcIngressConnectionRequest) Update an existing App Runner VPC Ingress Connection resource.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
associateCustomDomain
default AssociateCustomDomainResponse associateCustomDomain(AssociateCustomDomainRequest associateCustomDomainRequest) throws InvalidRequestException, InternalServiceErrorException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException 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).- Parameters:
associateCustomDomainRequest
-- Returns:
- Result of the AssociateCustomDomain operation returned by the service.
- See Also:
-
associateCustomDomain
default AssociateCustomDomainResponse associateCustomDomain(Consumer<AssociateCustomDomainRequest.Builder> associateCustomDomainRequest) throws InvalidRequestException, InternalServiceErrorException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException 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).
This is a convenience which creates an instance of the
AssociateCustomDomainRequest.Builder
avoiding the need to create one manually viaAssociateCustomDomainRequest.builder()
- Parameters:
associateCustomDomainRequest
- AConsumer
that will call methods onAssociateCustomDomainRequest.Builder
to create a request.- Returns:
- Result of the AssociateCustomDomain operation returned by the service.
- See Also:
-
createAutoScalingConfiguration
default CreateAutoScalingConfigurationResponse createAutoScalingConfiguration(CreateAutoScalingConfigurationRequest createAutoScalingConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppRunnerException 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 incrementalAutoScalingConfigurationRevision
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.- Parameters:
createAutoScalingConfigurationRequest
-- Returns:
- Result of the CreateAutoScalingConfiguration operation returned by the service.
- See Also:
-
createAutoScalingConfiguration
default CreateAutoScalingConfigurationResponse createAutoScalingConfiguration(Consumer<CreateAutoScalingConfigurationRequest.Builder> createAutoScalingConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppRunnerException 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 incrementalAutoScalingConfigurationRevision
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.
This is a convenience which creates an instance of the
CreateAutoScalingConfigurationRequest.Builder
avoiding the need to create one manually viaCreateAutoScalingConfigurationRequest.builder()
- Parameters:
createAutoScalingConfigurationRequest
- AConsumer
that will call methods onCreateAutoScalingConfigurationRequest.Builder
to create a request.- Returns:
- Result of the CreateAutoScalingConfiguration operation returned by the service.
- See Also:
-
createConnection
default CreateConnectionResponse createConnection(CreateConnectionRequest createConnectionRequest) throws InvalidRequestException, InternalServiceErrorException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppRunnerException 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.
- Parameters:
createConnectionRequest
-- Returns:
- Result of the CreateConnection operation returned by the service.
- See Also:
-
createConnection
default CreateConnectionResponse createConnection(Consumer<CreateConnectionRequest.Builder> createConnectionRequest) throws InvalidRequestException, InternalServiceErrorException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
CreateConnectionRequest.Builder
avoiding the need to create one manually viaCreateConnectionRequest.builder()
- Parameters:
createConnectionRequest
- AConsumer
that will call methods onCreateConnectionRequest.Builder
to create a request.- Returns:
- Result of the CreateConnection operation returned by the service.
- See Also:
-
createObservabilityConfiguration
default CreateObservabilityConfigurationResponse createObservabilityConfiguration(CreateObservabilityConfigurationRequest createObservabilityConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppRunnerException 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 incrementalObservabilityConfigurationRevision
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.- Parameters:
createObservabilityConfigurationRequest
-- Returns:
- Result of the CreateObservabilityConfiguration operation returned by the service.
- See Also:
-
createObservabilityConfiguration
default CreateObservabilityConfigurationResponse createObservabilityConfiguration(Consumer<CreateObservabilityConfigurationRequest.Builder> createObservabilityConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppRunnerException 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 incrementalObservabilityConfigurationRevision
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.
This is a convenience which creates an instance of the
CreateObservabilityConfigurationRequest.Builder
avoiding the need to create one manually viaCreateObservabilityConfigurationRequest.builder()
- Parameters:
createObservabilityConfigurationRequest
- AConsumer
that will call methods onCreateObservabilityConfigurationRequest.Builder
to create a request.- Returns:
- Result of the CreateObservabilityConfiguration operation returned by the service.
- See Also:
-
createService
default CreateServiceResponse createService(CreateServiceRequest createServiceRequest) throws InvalidRequestException, InternalServiceErrorException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppRunnerException 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.- Parameters:
createServiceRequest
-- Returns:
- Result of the CreateService operation returned by the service.
- See Also:
-
createService
default CreateServiceResponse createService(Consumer<CreateServiceRequest.Builder> createServiceRequest) throws InvalidRequestException, InternalServiceErrorException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
CreateServiceRequest.Builder
avoiding the need to create one manually viaCreateServiceRequest.builder()
- Parameters:
createServiceRequest
- AConsumer
that will call methods onCreateServiceRequest.Builder
to create a request.- Returns:
- Result of the CreateService operation returned by the service.
- See Also:
-
createVpcConnector
default CreateVpcConnectorResponse createVpcConnector(CreateVpcConnectorRequest createVpcConnectorRequest) throws InvalidRequestException, InternalServiceErrorException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppRunnerException 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).
- Parameters:
createVpcConnectorRequest
-- Returns:
- Result of the CreateVpcConnector operation returned by the service.
- See Also:
-
createVpcConnector
default CreateVpcConnectorResponse createVpcConnector(Consumer<CreateVpcConnectorRequest.Builder> createVpcConnectorRequest) throws InvalidRequestException, InternalServiceErrorException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppRunnerException 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).
This is a convenience which creates an instance of the
CreateVpcConnectorRequest.Builder
avoiding the need to create one manually viaCreateVpcConnectorRequest.builder()
- Parameters:
createVpcConnectorRequest
- AConsumer
that will call methods onCreateVpcConnectorRequest.Builder
to create a request.- Returns:
- Result of the CreateVpcConnector operation returned by the service.
- See Also:
-
createVpcIngressConnection
default CreateVpcIngressConnectionResponse createVpcIngressConnection(CreateVpcIngressConnectionRequest createVpcIngressConnectionRequest) throws InvalidRequestException, InvalidStateException, InternalServiceErrorException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppRunnerException 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.
- Parameters:
createVpcIngressConnectionRequest
-- Returns:
- Result of the CreateVpcIngressConnection operation returned by the service.
- See Also:
-
createVpcIngressConnection
default CreateVpcIngressConnectionResponse createVpcIngressConnection(Consumer<CreateVpcIngressConnectionRequest.Builder> createVpcIngressConnectionRequest) throws InvalidRequestException, InvalidStateException, InternalServiceErrorException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
CreateVpcIngressConnectionRequest.Builder
avoiding the need to create one manually viaCreateVpcIngressConnectionRequest.builder()
- Parameters:
createVpcIngressConnectionRequest
- AConsumer
that will call methods onCreateVpcIngressConnectionRequest.Builder
to create a request.- Returns:
- Result of the CreateVpcIngressConnection operation returned by the service.
- See Also:
-
deleteAutoScalingConfiguration
default DeleteAutoScalingConfigurationResponse deleteAutoScalingConfiguration(DeleteAutoScalingConfigurationRequest deleteAutoScalingConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException 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.
- Parameters:
deleteAutoScalingConfigurationRequest
-- Returns:
- Result of the DeleteAutoScalingConfiguration operation returned by the service.
- See Also:
-
deleteAutoScalingConfiguration
default DeleteAutoScalingConfigurationResponse deleteAutoScalingConfiguration(Consumer<DeleteAutoScalingConfigurationRequest.Builder> deleteAutoScalingConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
DeleteAutoScalingConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteAutoScalingConfigurationRequest.builder()
- Parameters:
deleteAutoScalingConfigurationRequest
- AConsumer
that will call methods onDeleteAutoScalingConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DeleteAutoScalingConfiguration operation returned by the service.
- See Also:
-
deleteConnection
default DeleteConnectionResponse deleteConnection(DeleteConnectionRequest deleteConnectionRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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.- Parameters:
deleteConnectionRequest
-- Returns:
- Result of the DeleteConnection operation returned by the service.
- See Also:
-
deleteConnection
default DeleteConnectionResponse deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
DeleteConnectionRequest.Builder
avoiding the need to create one manually viaDeleteConnectionRequest.builder()
- Parameters:
deleteConnectionRequest
- AConsumer
that will call methods onDeleteConnectionRequest.Builder
to create a request.- Returns:
- Result of the DeleteConnection operation returned by the service.
- See Also:
-
deleteObservabilityConfiguration
default DeleteObservabilityConfigurationResponse deleteObservabilityConfiguration(DeleteObservabilityConfigurationRequest deleteObservabilityConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException 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.
- Parameters:
deleteObservabilityConfigurationRequest
-- Returns:
- Result of the DeleteObservabilityConfiguration operation returned by the service.
- See Also:
-
deleteObservabilityConfiguration
default DeleteObservabilityConfigurationResponse deleteObservabilityConfiguration(Consumer<DeleteObservabilityConfigurationRequest.Builder> deleteObservabilityConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
DeleteObservabilityConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteObservabilityConfigurationRequest.builder()
- Parameters:
deleteObservabilityConfigurationRequest
- AConsumer
that will call methods onDeleteObservabilityConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DeleteObservabilityConfiguration operation returned by the service.
- See Also:
-
deleteService
default DeleteServiceResponse deleteService(DeleteServiceRequest deleteServiceRequest) throws InvalidRequestException, ResourceNotFoundException, InvalidStateException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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.
- Parameters:
deleteServiceRequest
-- Returns:
- Result of the DeleteService operation returned by the service.
- See Also:
-
deleteService
default DeleteServiceResponse deleteService(Consumer<DeleteServiceRequest.Builder> deleteServiceRequest) throws InvalidRequestException, ResourceNotFoundException, InvalidStateException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
DeleteServiceRequest.Builder
avoiding the need to create one manually viaDeleteServiceRequest.builder()
- Parameters:
deleteServiceRequest
- AConsumer
that will call methods onDeleteServiceRequest.Builder
to create a request.- Returns:
- Result of the DeleteService operation returned by the service.
- See Also:
-
deleteVpcConnector
default DeleteVpcConnectorResponse deleteVpcConnector(DeleteVpcConnectorRequest deleteVpcConnectorRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services.
- Parameters:
deleteVpcConnectorRequest
-- Returns:
- Result of the DeleteVpcConnector operation returned by the service.
- See Also:
-
deleteVpcConnector
default DeleteVpcConnectorResponse deleteVpcConnector(Consumer<DeleteVpcConnectorRequest.Builder> deleteVpcConnectorRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services.
This is a convenience which creates an instance of the
DeleteVpcConnectorRequest.Builder
avoiding the need to create one manually viaDeleteVpcConnectorRequest.builder()
- Parameters:
deleteVpcConnectorRequest
- AConsumer
that will call methods onDeleteVpcConnectorRequest.Builder
to create a request.- Returns:
- Result of the DeleteVpcConnector operation returned by the service.
- See Also:
-
deleteVpcIngressConnection
default DeleteVpcIngressConnectionResponse deleteVpcIngressConnection(DeleteVpcIngressConnectionRequest deleteVpcIngressConnectionRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException 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
- Parameters:
deleteVpcIngressConnectionRequest
-- Returns:
- Result of the DeleteVpcIngressConnection operation returned by the service.
- See Also:
-
-
deleteVpcIngressConnection
default DeleteVpcIngressConnectionResponse deleteVpcIngressConnection(Consumer<DeleteVpcIngressConnectionRequest.Builder> deleteVpcIngressConnectionRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException 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
This is a convenience which creates an instance of the
DeleteVpcIngressConnectionRequest.Builder
avoiding the need to create one manually viaDeleteVpcIngressConnectionRequest.builder()
- Parameters:
deleteVpcIngressConnectionRequest
- AConsumer
that will call methods onDeleteVpcIngressConnectionRequest.Builder
to create a request.- Returns:
- Result of the DeleteVpcIngressConnection operation returned by the service.
- See Also:
-
-
describeAutoScalingConfiguration
default DescribeAutoScalingConfigurationResponse describeAutoScalingConfiguration(DescribeAutoScalingConfigurationRequest describeAutoScalingConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Return a full description of an App Runner automatic scaling configuration resource.
- Parameters:
describeAutoScalingConfigurationRequest
-- Returns:
- Result of the DescribeAutoScalingConfiguration operation returned by the service.
- See Also:
-
describeAutoScalingConfiguration
default DescribeAutoScalingConfigurationResponse describeAutoScalingConfiguration(Consumer<DescribeAutoScalingConfigurationRequest.Builder> describeAutoScalingConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Return a full description of an App Runner automatic scaling configuration resource.
This is a convenience which creates an instance of the
DescribeAutoScalingConfigurationRequest.Builder
avoiding the need to create one manually viaDescribeAutoScalingConfigurationRequest.builder()
- Parameters:
describeAutoScalingConfigurationRequest
- AConsumer
that will call methods onDescribeAutoScalingConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DescribeAutoScalingConfiguration operation returned by the service.
- See Also:
-
describeCustomDomains
default DescribeCustomDomainsResponse describeCustomDomains(DescribeCustomDomainsRequest describeCustomDomainsRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Return a description of custom domain names that are associated with an App Runner service.
- Parameters:
describeCustomDomainsRequest
-- Returns:
- Result of the DescribeCustomDomains operation returned by the service.
- See Also:
-
describeCustomDomains
default DescribeCustomDomainsResponse describeCustomDomains(Consumer<DescribeCustomDomainsRequest.Builder> describeCustomDomainsRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Return a description of custom domain names that are associated with an App Runner service.
This is a convenience which creates an instance of the
DescribeCustomDomainsRequest.Builder
avoiding the need to create one manually viaDescribeCustomDomainsRequest.builder()
- Parameters:
describeCustomDomainsRequest
- AConsumer
that will call methods onDescribeCustomDomainsRequest.Builder
to create a request.- Returns:
- Result of the DescribeCustomDomains operation returned by the service.
- See Also:
-
describeCustomDomainsPaginator
default DescribeCustomDomainsIterable describeCustomDomainsPaginator(DescribeCustomDomainsRequest describeCustomDomainsRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
describeCustomDomains(software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.DescribeCustomDomainsIterable responses = client.describeCustomDomainsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.DescribeCustomDomainsIterable responses = client .describeCustomDomainsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.DescribeCustomDomainsIterable responses = client.describeCustomDomainsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCustomDomains(software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest)
operation.- Parameters:
describeCustomDomainsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeCustomDomainsPaginator
default DescribeCustomDomainsIterable describeCustomDomainsPaginator(Consumer<DescribeCustomDomainsRequest.Builder> describeCustomDomainsRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
describeCustomDomains(software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.DescribeCustomDomainsIterable responses = client.describeCustomDomainsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.DescribeCustomDomainsIterable responses = client .describeCustomDomainsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.DescribeCustomDomainsIterable responses = client.describeCustomDomainsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeCustomDomains(software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest)
operation.
This is a convenience which creates an instance of the
DescribeCustomDomainsRequest.Builder
avoiding the need to create one manually viaDescribeCustomDomainsRequest.builder()
- Parameters:
describeCustomDomainsRequest
- AConsumer
that will call methods onDescribeCustomDomainsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeObservabilityConfiguration
default DescribeObservabilityConfigurationResponse describeObservabilityConfiguration(DescribeObservabilityConfigurationRequest describeObservabilityConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Return a full description of an App Runner observability configuration resource.
- Parameters:
describeObservabilityConfigurationRequest
-- Returns:
- Result of the DescribeObservabilityConfiguration operation returned by the service.
- See Also:
-
describeObservabilityConfiguration
default DescribeObservabilityConfigurationResponse describeObservabilityConfiguration(Consumer<DescribeObservabilityConfigurationRequest.Builder> describeObservabilityConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Return a full description of an App Runner observability configuration resource.
This is a convenience which creates an instance of the
DescribeObservabilityConfigurationRequest.Builder
avoiding the need to create one manually viaDescribeObservabilityConfigurationRequest.builder()
- Parameters:
describeObservabilityConfigurationRequest
- AConsumer
that will call methods onDescribeObservabilityConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DescribeObservabilityConfiguration operation returned by the service.
- See Also:
-
describeService
default DescribeServiceResponse describeService(DescribeServiceRequest describeServiceRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException Return a full description of an App Runner service.
- Parameters:
describeServiceRequest
-- Returns:
- Result of the DescribeService operation returned by the service.
- See Also:
-
describeService
default DescribeServiceResponse describeService(Consumer<DescribeServiceRequest.Builder> describeServiceRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException Return a full description of an App Runner service.
This is a convenience which creates an instance of the
DescribeServiceRequest.Builder
avoiding the need to create one manually viaDescribeServiceRequest.builder()
- Parameters:
describeServiceRequest
- AConsumer
that will call methods onDescribeServiceRequest.Builder
to create a request.- Returns:
- Result of the DescribeService operation returned by the service.
- See Also:
-
describeVpcConnector
default DescribeVpcConnectorResponse describeVpcConnector(DescribeVpcConnectorRequest describeVpcConnectorRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Return a description of an App Runner VPC connector resource.
- Parameters:
describeVpcConnectorRequest
-- Returns:
- Result of the DescribeVpcConnector operation returned by the service.
- See Also:
-
describeVpcConnector
default DescribeVpcConnectorResponse describeVpcConnector(Consumer<DescribeVpcConnectorRequest.Builder> describeVpcConnectorRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Return a description of an App Runner VPC connector resource.
This is a convenience which creates an instance of the
DescribeVpcConnectorRequest.Builder
avoiding the need to create one manually viaDescribeVpcConnectorRequest.builder()
- Parameters:
describeVpcConnectorRequest
- AConsumer
that will call methods onDescribeVpcConnectorRequest.Builder
to create a request.- Returns:
- Result of the DescribeVpcConnector operation returned by the service.
- See Also:
-
describeVpcIngressConnection
default DescribeVpcIngressConnectionResponse describeVpcIngressConnection(DescribeVpcIngressConnectionRequest describeVpcIngressConnectionRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Return a full description of an App Runner VPC Ingress Connection resource.
- Parameters:
describeVpcIngressConnectionRequest
-- Returns:
- Result of the DescribeVpcIngressConnection operation returned by the service.
- See Also:
-
describeVpcIngressConnection
default DescribeVpcIngressConnectionResponse describeVpcIngressConnection(Consumer<DescribeVpcIngressConnectionRequest.Builder> describeVpcIngressConnectionRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Return a full description of an App Runner VPC Ingress Connection resource.
This is a convenience which creates an instance of the
DescribeVpcIngressConnectionRequest.Builder
avoiding the need to create one manually viaDescribeVpcIngressConnectionRequest.builder()
- Parameters:
describeVpcIngressConnectionRequest
- AConsumer
that will call methods onDescribeVpcIngressConnectionRequest.Builder
to create a request.- Returns:
- Result of the DescribeVpcIngressConnection operation returned by the service.
- See Also:
-
disassociateCustomDomain
default DisassociateCustomDomainResponse disassociateCustomDomain(DisassociateCustomDomainRequest disassociateCustomDomainRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException 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.
- Parameters:
disassociateCustomDomainRequest
-- Returns:
- Result of the DisassociateCustomDomain operation returned by the service.
- See Also:
-
disassociateCustomDomain
default DisassociateCustomDomainResponse disassociateCustomDomain(Consumer<DisassociateCustomDomainRequest.Builder> disassociateCustomDomainRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
DisassociateCustomDomainRequest.Builder
avoiding the need to create one manually viaDisassociateCustomDomainRequest.builder()
- Parameters:
disassociateCustomDomainRequest
- AConsumer
that will call methods onDisassociateCustomDomainRequest.Builder
to create a request.- Returns:
- Result of the DisassociateCustomDomain operation returned by the service.
- See Also:
-
listAutoScalingConfigurations
default ListAutoScalingConfigurationsResponse listAutoScalingConfigurations(ListAutoScalingConfigurationsRequest listAutoScalingConfigurationsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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
.- Parameters:
listAutoScalingConfigurationsRequest
-- Returns:
- Result of the ListAutoScalingConfigurations operation returned by the service.
- See Also:
-
listAutoScalingConfigurations
default ListAutoScalingConfigurationsResponse listAutoScalingConfigurations(Consumer<ListAutoScalingConfigurationsRequest.Builder> listAutoScalingConfigurationsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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
.
This is a convenience which creates an instance of the
ListAutoScalingConfigurationsRequest.Builder
avoiding the need to create one manually viaListAutoScalingConfigurationsRequest.builder()
- Parameters:
listAutoScalingConfigurationsRequest
- AConsumer
that will call methods onListAutoScalingConfigurationsRequest.Builder
to create a request.- Returns:
- Result of the ListAutoScalingConfigurations operation returned by the service.
- See Also:
-
listAutoScalingConfigurationsPaginator
default ListAutoScalingConfigurationsIterable listAutoScalingConfigurationsPaginator(ListAutoScalingConfigurationsRequest listAutoScalingConfigurationsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listAutoScalingConfigurations(software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListAutoScalingConfigurationsIterable responses = client.listAutoScalingConfigurationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListAutoScalingConfigurationsIterable responses = client .listAutoScalingConfigurationsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListAutoScalingConfigurationsIterable responses = client.listAutoScalingConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAutoScalingConfigurations(software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest)
operation.- Parameters:
listAutoScalingConfigurationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAutoScalingConfigurationsPaginator
default ListAutoScalingConfigurationsIterable listAutoScalingConfigurationsPaginator(Consumer<ListAutoScalingConfigurationsRequest.Builder> listAutoScalingConfigurationsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listAutoScalingConfigurations(software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListAutoScalingConfigurationsIterable responses = client.listAutoScalingConfigurationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListAutoScalingConfigurationsIterable responses = client .listAutoScalingConfigurationsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListAutoScalingConfigurationsIterable responses = client.listAutoScalingConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAutoScalingConfigurations(software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest)
operation.
This is a convenience which creates an instance of the
ListAutoScalingConfigurationsRequest.Builder
avoiding the need to create one manually viaListAutoScalingConfigurationsRequest.builder()
- Parameters:
listAutoScalingConfigurationsRequest
- AConsumer
that will call methods onListAutoScalingConfigurationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listConnections
default ListConnectionsResponse listConnections(ListConnectionsRequest listConnectionsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException Returns a list of App Runner connections that are associated with your Amazon Web Services account.
- Parameters:
listConnectionsRequest
-- Returns:
- Result of the ListConnections operation returned by the service.
- See Also:
-
listConnections
default ListConnectionsResponse listConnections(Consumer<ListConnectionsRequest.Builder> listConnectionsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException Returns a list of App Runner connections that are associated with your Amazon Web Services account.
This is a convenience which creates an instance of the
ListConnectionsRequest.Builder
avoiding the need to create one manually viaListConnectionsRequest.builder()
- Parameters:
listConnectionsRequest
- AConsumer
that will call methods onListConnectionsRequest.Builder
to create a request.- Returns:
- Result of the ListConnections operation returned by the service.
- See Also:
-
listConnectionsPaginator
default ListConnectionsIterable listConnectionsPaginator(ListConnectionsRequest listConnectionsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listConnections(software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListConnectionsIterable responses = client.listConnectionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListConnectionsIterable responses = client .listConnectionsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListConnectionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListConnectionsIterable responses = client.listConnectionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnections(software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest)
operation.- Parameters:
listConnectionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listConnectionsPaginator
default ListConnectionsIterable listConnectionsPaginator(Consumer<ListConnectionsRequest.Builder> listConnectionsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listConnections(software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListConnectionsIterable responses = client.listConnectionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListConnectionsIterable responses = client .listConnectionsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListConnectionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListConnectionsIterable responses = client.listConnectionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnections(software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest)
operation.
This is a convenience which creates an instance of the
ListConnectionsRequest.Builder
avoiding the need to create one manually viaListConnectionsRequest.builder()
- Parameters:
listConnectionsRequest
- AConsumer
that will call methods onListConnectionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listObservabilityConfigurations
default ListObservabilityConfigurationsResponse listObservabilityConfigurations(ListObservabilityConfigurationsRequest listObservabilityConfigurationsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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
.- Parameters:
listObservabilityConfigurationsRequest
-- Returns:
- Result of the ListObservabilityConfigurations operation returned by the service.
- See Also:
-
listObservabilityConfigurations
default ListObservabilityConfigurationsResponse listObservabilityConfigurations(Consumer<ListObservabilityConfigurationsRequest.Builder> listObservabilityConfigurationsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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
.
This is a convenience which creates an instance of the
ListObservabilityConfigurationsRequest.Builder
avoiding the need to create one manually viaListObservabilityConfigurationsRequest.builder()
- Parameters:
listObservabilityConfigurationsRequest
- AConsumer
that will call methods onListObservabilityConfigurationsRequest.Builder
to create a request.- Returns:
- Result of the ListObservabilityConfigurations operation returned by the service.
- See Also:
-
listObservabilityConfigurationsPaginator
default ListObservabilityConfigurationsIterable listObservabilityConfigurationsPaginator(ListObservabilityConfigurationsRequest listObservabilityConfigurationsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listObservabilityConfigurations(software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListObservabilityConfigurationsIterable responses = client.listObservabilityConfigurationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListObservabilityConfigurationsIterable responses = client .listObservabilityConfigurationsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListObservabilityConfigurationsIterable responses = client.listObservabilityConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listObservabilityConfigurations(software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest)
operation.- Parameters:
listObservabilityConfigurationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listObservabilityConfigurationsPaginator
default ListObservabilityConfigurationsIterable listObservabilityConfigurationsPaginator(Consumer<ListObservabilityConfigurationsRequest.Builder> listObservabilityConfigurationsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listObservabilityConfigurations(software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListObservabilityConfigurationsIterable responses = client.listObservabilityConfigurationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListObservabilityConfigurationsIterable responses = client .listObservabilityConfigurationsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListObservabilityConfigurationsIterable responses = client.listObservabilityConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listObservabilityConfigurations(software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest)
operation.
This is a convenience which creates an instance of the
ListObservabilityConfigurationsRequest.Builder
avoiding the need to create one manually viaListObservabilityConfigurationsRequest.builder()
- Parameters:
listObservabilityConfigurationsRequest
- AConsumer
that will call methods onListObservabilityConfigurationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOperations
default ListOperationsResponse listOperations(ListOperationsRequest listOperationsRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException 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.
- Parameters:
listOperationsRequest
-- Returns:
- Result of the ListOperations operation returned by the service.
- See Also:
-
listOperations
default ListOperationsResponse listOperations(Consumer<ListOperationsRequest.Builder> listOperationsRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
ListOperationsRequest.Builder
avoiding the need to create one manually viaListOperationsRequest.builder()
- Parameters:
listOperationsRequest
- AConsumer
that will call methods onListOperationsRequest.Builder
to create a request.- Returns:
- Result of the ListOperations operation returned by the service.
- See Also:
-
listOperationsPaginator
default ListOperationsIterable listOperationsPaginator(ListOperationsRequest listOperationsRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listOperations(software.amazon.awssdk.services.apprunner.model.ListOperationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListOperationsIterable responses = client.listOperationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListOperationsIterable responses = client .listOperationsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListOperationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListOperationsIterable responses = client.listOperationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOperations(software.amazon.awssdk.services.apprunner.model.ListOperationsRequest)
operation.- Parameters:
listOperationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOperationsPaginator
default ListOperationsIterable listOperationsPaginator(Consumer<ListOperationsRequest.Builder> listOperationsRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listOperations(software.amazon.awssdk.services.apprunner.model.ListOperationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListOperationsIterable responses = client.listOperationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListOperationsIterable responses = client .listOperationsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListOperationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListOperationsIterable responses = client.listOperationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOperations(software.amazon.awssdk.services.apprunner.model.ListOperationsRequest)
operation.
This is a convenience which creates an instance of the
ListOperationsRequest.Builder
avoiding the need to create one manually viaListOperationsRequest.builder()
- Parameters:
listOperationsRequest
- AConsumer
that will call methods onListOperationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServices
default ListServicesResponse listServices(ListServicesRequest listServicesRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException Returns a list of running App Runner services in your Amazon Web Services account.
- Parameters:
listServicesRequest
-- Returns:
- Result of the ListServices operation returned by the service.
- See Also:
-
listServices
default ListServicesResponse listServices(Consumer<ListServicesRequest.Builder> listServicesRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException Returns a list of running App Runner services in your Amazon Web Services account.
This is a convenience which creates an instance of the
ListServicesRequest.Builder
avoiding the need to create one manually viaListServicesRequest.builder()
- Parameters:
listServicesRequest
- AConsumer
that will call methods onListServicesRequest.Builder
to create a request.- Returns:
- Result of the ListServices operation returned by the service.
- See Also:
-
listServicesPaginator
default ListServicesIterable listServicesPaginator(ListServicesRequest listServicesRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listServices(software.amazon.awssdk.services.apprunner.model.ListServicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListServicesIterable responses = client.listServicesPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListServicesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServices(software.amazon.awssdk.services.apprunner.model.ListServicesRequest)
operation.- Parameters:
listServicesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServicesPaginator
default ListServicesIterable listServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listServices(software.amazon.awssdk.services.apprunner.model.ListServicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListServicesIterable responses = client.listServicesPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListServicesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServices(software.amazon.awssdk.services.apprunner.model.ListServicesRequest)
operation.
This is a convenience which creates an instance of the
ListServicesRequest.Builder
avoiding the need to create one manually viaListServicesRequest.builder()
- Parameters:
listServicesRequest
- AConsumer
that will call methods onListServicesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServicesForAutoScalingConfiguration
default ListServicesForAutoScalingConfigurationResponse listServicesForAutoScalingConfiguration(ListServicesForAutoScalingConfigurationRequest listServicesForAutoScalingConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Returns a list of the associated App Runner services using an auto scaling configuration.
- Parameters:
listServicesForAutoScalingConfigurationRequest
-- Returns:
- Result of the ListServicesForAutoScalingConfiguration operation returned by the service.
- See Also:
-
listServicesForAutoScalingConfiguration
default ListServicesForAutoScalingConfigurationResponse listServicesForAutoScalingConfiguration(Consumer<ListServicesForAutoScalingConfigurationRequest.Builder> listServicesForAutoScalingConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Returns a list of the associated App Runner services using an auto scaling configuration.
This is a convenience which creates an instance of the
ListServicesForAutoScalingConfigurationRequest.Builder
avoiding the need to create one manually viaListServicesForAutoScalingConfigurationRequest.builder()
- Parameters:
listServicesForAutoScalingConfigurationRequest
- AConsumer
that will call methods onListServicesForAutoScalingConfigurationRequest.Builder
to create a request.- Returns:
- Result of the ListServicesForAutoScalingConfiguration operation returned by the service.
- See Also:
-
listServicesForAutoScalingConfigurationPaginator
default ListServicesForAutoScalingConfigurationIterable listServicesForAutoScalingConfigurationPaginator(ListServicesForAutoScalingConfigurationRequest listServicesForAutoScalingConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listServicesForAutoScalingConfiguration(software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListServicesForAutoScalingConfigurationIterable responses = client.listServicesForAutoScalingConfigurationPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListServicesForAutoScalingConfigurationIterable responses = client .listServicesForAutoScalingConfigurationPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListServicesForAutoScalingConfigurationIterable responses = client.listServicesForAutoScalingConfigurationPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServicesForAutoScalingConfiguration(software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationRequest)
operation.- Parameters:
listServicesForAutoScalingConfigurationRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServicesForAutoScalingConfigurationPaginator
default ListServicesForAutoScalingConfigurationIterable listServicesForAutoScalingConfigurationPaginator(Consumer<ListServicesForAutoScalingConfigurationRequest.Builder> listServicesForAutoScalingConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listServicesForAutoScalingConfiguration(software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListServicesForAutoScalingConfigurationIterable responses = client.listServicesForAutoScalingConfigurationPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListServicesForAutoScalingConfigurationIterable responses = client .listServicesForAutoScalingConfigurationPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListServicesForAutoScalingConfigurationIterable responses = client.listServicesForAutoScalingConfigurationPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServicesForAutoScalingConfiguration(software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationRequest)
operation.
This is a convenience which creates an instance of the
ListServicesForAutoScalingConfigurationRequest.Builder
avoiding the need to create one manually viaListServicesForAutoScalingConfigurationRequest.builder()
- Parameters:
listServicesForAutoScalingConfigurationRequest
- AConsumer
that will call methods onListServicesForAutoScalingConfigurationRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InternalServiceErrorException, InvalidRequestException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, InternalServiceErrorException, InvalidRequestException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listVpcConnectors
default ListVpcConnectorsResponse listVpcConnectors(ListVpcConnectorsRequest listVpcConnectorsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException Returns a list of App Runner VPC connectors in your Amazon Web Services account.
- Parameters:
listVpcConnectorsRequest
-- Returns:
- Result of the ListVpcConnectors operation returned by the service.
- See Also:
-
listVpcConnectors
default ListVpcConnectorsResponse listVpcConnectors(Consumer<ListVpcConnectorsRequest.Builder> listVpcConnectorsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException Returns a list of App Runner VPC connectors in your Amazon Web Services account.
This is a convenience which creates an instance of the
ListVpcConnectorsRequest.Builder
avoiding the need to create one manually viaListVpcConnectorsRequest.builder()
- Parameters:
listVpcConnectorsRequest
- AConsumer
that will call methods onListVpcConnectorsRequest.Builder
to create a request.- Returns:
- Result of the ListVpcConnectors operation returned by the service.
- See Also:
-
listVpcConnectorsPaginator
default ListVpcConnectorsIterable listVpcConnectorsPaginator(ListVpcConnectorsRequest listVpcConnectorsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listVpcConnectors(software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListVpcConnectorsIterable responses = client.listVpcConnectorsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListVpcConnectorsIterable responses = client .listVpcConnectorsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListVpcConnectorsIterable responses = client.listVpcConnectorsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVpcConnectors(software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest)
operation.- Parameters:
listVpcConnectorsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listVpcConnectorsPaginator
default ListVpcConnectorsIterable listVpcConnectorsPaginator(Consumer<ListVpcConnectorsRequest.Builder> listVpcConnectorsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listVpcConnectors(software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListVpcConnectorsIterable responses = client.listVpcConnectorsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListVpcConnectorsIterable responses = client .listVpcConnectorsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListVpcConnectorsIterable responses = client.listVpcConnectorsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVpcConnectors(software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest)
operation.
This is a convenience which creates an instance of the
ListVpcConnectorsRequest.Builder
avoiding the need to create one manually viaListVpcConnectorsRequest.builder()
- Parameters:
listVpcConnectorsRequest
- AConsumer
that will call methods onListVpcConnectorsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listVpcIngressConnections
default ListVpcIngressConnectionsResponse listVpcIngressConnections(ListVpcIngressConnectionsRequest listVpcIngressConnectionsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
- Parameters:
listVpcIngressConnectionsRequest
-- Returns:
- Result of the ListVpcIngressConnections operation returned by the service.
- See Also:
-
listVpcIngressConnections
default ListVpcIngressConnectionsResponse listVpcIngressConnections(Consumer<ListVpcIngressConnectionsRequest.Builder> listVpcIngressConnectionsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
This is a convenience which creates an instance of the
ListVpcIngressConnectionsRequest.Builder
avoiding the need to create one manually viaListVpcIngressConnectionsRequest.builder()
- Parameters:
listVpcIngressConnectionsRequest
- AConsumer
that will call methods onListVpcIngressConnectionsRequest.Builder
to create a request.- Returns:
- Result of the ListVpcIngressConnections operation returned by the service.
- See Also:
-
listVpcIngressConnectionsPaginator
default ListVpcIngressConnectionsIterable listVpcIngressConnectionsPaginator(ListVpcIngressConnectionsRequest listVpcIngressConnectionsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listVpcIngressConnections(software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListVpcIngressConnectionsIterable responses = client.listVpcIngressConnectionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListVpcIngressConnectionsIterable responses = client .listVpcIngressConnectionsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListVpcIngressConnectionsIterable responses = client.listVpcIngressConnectionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVpcIngressConnections(software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest)
operation.- Parameters:
listVpcIngressConnectionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listVpcIngressConnectionsPaginator
default ListVpcIngressConnectionsIterable listVpcIngressConnectionsPaginator(Consumer<ListVpcIngressConnectionsRequest.Builder> listVpcIngressConnectionsRequest) throws InvalidRequestException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException This is a variant of
listVpcIngressConnections(software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.apprunner.paginators.ListVpcIngressConnectionsIterable responses = client.listVpcIngressConnectionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.apprunner.paginators.ListVpcIngressConnectionsIterable responses = client .listVpcIngressConnectionsPaginator(request); for (software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.apprunner.paginators.ListVpcIngressConnectionsIterable responses = client.listVpcIngressConnectionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listVpcIngressConnections(software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest)
operation.
This is a convenience which creates an instance of the
ListVpcIngressConnectionsRequest.Builder
avoiding the need to create one manually viaListVpcIngressConnectionsRequest.builder()
- Parameters:
listVpcIngressConnectionsRequest
- AConsumer
that will call methods onListVpcIngressConnectionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
pauseService
default PauseServiceResponse pauseService(PauseServiceRequest pauseServiceRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceErrorException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException 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.- Parameters:
pauseServiceRequest
-- Returns:
- Result of the PauseService operation returned by the service.
- See Also:
-
pauseService
default PauseServiceResponse pauseService(Consumer<PauseServiceRequest.Builder> pauseServiceRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceErrorException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
PauseServiceRequest.Builder
avoiding the need to create one manually viaPauseServiceRequest.builder()
- Parameters:
pauseServiceRequest
- AConsumer
that will call methods onPauseServiceRequest.Builder
to create a request.- Returns:
- Result of the PauseService operation returned by the service.
- See Also:
-
resumeService
default ResumeServiceResponse resumeService(ResumeServiceRequest resumeServiceRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceErrorException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException 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.- Parameters:
resumeServiceRequest
-- Returns:
- Result of the ResumeService operation returned by the service.
- See Also:
-
resumeService
default ResumeServiceResponse resumeService(Consumer<ResumeServiceRequest.Builder> resumeServiceRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceErrorException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
ResumeServiceRequest.Builder
avoiding the need to create one manually viaResumeServiceRequest.builder()
- Parameters:
resumeServiceRequest
- AConsumer
that will call methods onResumeServiceRequest.Builder
to create a request.- Returns:
- Result of the ResumeService operation returned by the service.
- See Also:
-
startDeployment
default StartDeploymentResponse startDeployment(StartDeploymentRequest startDeploymentRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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.- Parameters:
startDeploymentRequest
-- Returns:
- Result of the StartDeployment operation returned by the service.
- See Also:
-
startDeployment
default StartDeploymentResponse startDeployment(Consumer<StartDeploymentRequest.Builder> startDeploymentRequest) throws InvalidRequestException, ResourceNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
StartDeploymentRequest.Builder
avoiding the need to create one manually viaStartDeploymentRequest.builder()
- Parameters:
startDeploymentRequest
- AConsumer
that will call methods onStartDeploymentRequest.Builder
to create a request.- Returns:
- Result of the StartDeployment operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, InternalServiceErrorException, InvalidRequestException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, InternalServiceErrorException, InvalidRequestException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, InternalServiceErrorException, InvalidRequestException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException Remove tags from an App Runner resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, InternalServiceErrorException, InvalidRequestException, InvalidStateException, AwsServiceException, SdkClientException, AppRunnerException Remove tags from an App Runner resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateDefaultAutoScalingConfiguration
default UpdateDefaultAutoScalingConfigurationResponse updateDefaultAutoScalingConfiguration(UpdateDefaultAutoScalingConfigurationRequest updateDefaultAutoScalingConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Update an auto scaling configuration to be the default. The existing default auto scaling configuration will be set to non-default automatically.
- Parameters:
updateDefaultAutoScalingConfigurationRequest
-- Returns:
- Result of the UpdateDefaultAutoScalingConfiguration operation returned by the service.
- See Also:
-
updateDefaultAutoScalingConfiguration
default UpdateDefaultAutoScalingConfigurationResponse updateDefaultAutoScalingConfiguration(Consumer<UpdateDefaultAutoScalingConfigurationRequest.Builder> updateDefaultAutoScalingConfigurationRequest) throws InvalidRequestException, InternalServiceErrorException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppRunnerException Update an auto scaling configuration to be the default. The existing default auto scaling configuration will be set to non-default automatically.
This is a convenience which creates an instance of the
UpdateDefaultAutoScalingConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateDefaultAutoScalingConfigurationRequest.builder()
- Parameters:
updateDefaultAutoScalingConfigurationRequest
- AConsumer
that will call methods onUpdateDefaultAutoScalingConfigurationRequest.Builder
to create a request.- Returns:
- Result of the UpdateDefaultAutoScalingConfiguration operation returned by the service.
- See Also:
-
updateService
default UpdateServiceResponse updateService(UpdateServiceRequest updateServiceRequest) throws InvalidRequestException, ResourceNotFoundException, InvalidStateException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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.- Parameters:
updateServiceRequest
-- Returns:
- Result of the UpdateService operation returned by the service.
- See Also:
-
updateService
default UpdateServiceResponse updateService(Consumer<UpdateServiceRequest.Builder> updateServiceRequest) throws InvalidRequestException, ResourceNotFoundException, InvalidStateException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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.
This is a convenience which creates an instance of the
UpdateServiceRequest.Builder
avoiding the need to create one manually viaUpdateServiceRequest.builder()
- Parameters:
updateServiceRequest
- AConsumer
that will call methods onUpdateServiceRequest.Builder
to create a request.- Returns:
- Result of the UpdateService operation returned by the service.
- See Also:
-
updateVpcIngressConnection
default UpdateVpcIngressConnectionResponse updateVpcIngressConnection(UpdateVpcIngressConnectionRequest updateVpcIngressConnectionRequest) throws InvalidRequestException, ResourceNotFoundException, InvalidStateException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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
- Parameters:
updateVpcIngressConnectionRequest
-- Returns:
- Result of the UpdateVpcIngressConnection operation returned by the service.
- See Also:
-
-
updateVpcIngressConnection
default UpdateVpcIngressConnectionResponse updateVpcIngressConnection(Consumer<UpdateVpcIngressConnectionRequest.Builder> updateVpcIngressConnectionRequest) throws InvalidRequestException, ResourceNotFoundException, InvalidStateException, InternalServiceErrorException, AwsServiceException, SdkClientException, AppRunnerException 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
This is a convenience which creates an instance of the
UpdateVpcIngressConnectionRequest.Builder
avoiding the need to create one manually viaUpdateVpcIngressConnectionRequest.builder()
- Parameters:
updateVpcIngressConnectionRequest
- AConsumer
that will call methods onUpdateVpcIngressConnectionRequest.Builder
to create a request.- Returns:
- Result of the UpdateVpcIngressConnection operation returned by the service.
- See Also:
-
-
create
Create aAppRunnerClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aAppRunnerClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-