All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.apprunner.AppRunnerAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for App Runner module holds the client classes that are used for communicating with App Runner.

There is a newer version: 2.29.39
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.apprunner;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.apprunner.model.AssociateCustomDomainRequest;
import software.amazon.awssdk.services.apprunner.model.AssociateCustomDomainResponse;
import software.amazon.awssdk.services.apprunner.model.CreateAutoScalingConfigurationRequest;
import software.amazon.awssdk.services.apprunner.model.CreateAutoScalingConfigurationResponse;
import software.amazon.awssdk.services.apprunner.model.CreateConnectionRequest;
import software.amazon.awssdk.services.apprunner.model.CreateConnectionResponse;
import software.amazon.awssdk.services.apprunner.model.CreateObservabilityConfigurationRequest;
import software.amazon.awssdk.services.apprunner.model.CreateObservabilityConfigurationResponse;
import software.amazon.awssdk.services.apprunner.model.CreateServiceRequest;
import software.amazon.awssdk.services.apprunner.model.CreateServiceResponse;
import software.amazon.awssdk.services.apprunner.model.CreateVpcConnectorRequest;
import software.amazon.awssdk.services.apprunner.model.CreateVpcConnectorResponse;
import software.amazon.awssdk.services.apprunner.model.CreateVpcIngressConnectionRequest;
import software.amazon.awssdk.services.apprunner.model.CreateVpcIngressConnectionResponse;
import software.amazon.awssdk.services.apprunner.model.DeleteAutoScalingConfigurationRequest;
import software.amazon.awssdk.services.apprunner.model.DeleteAutoScalingConfigurationResponse;
import software.amazon.awssdk.services.apprunner.model.DeleteConnectionRequest;
import software.amazon.awssdk.services.apprunner.model.DeleteConnectionResponse;
import software.amazon.awssdk.services.apprunner.model.DeleteObservabilityConfigurationRequest;
import software.amazon.awssdk.services.apprunner.model.DeleteObservabilityConfigurationResponse;
import software.amazon.awssdk.services.apprunner.model.DeleteServiceRequest;
import software.amazon.awssdk.services.apprunner.model.DeleteServiceResponse;
import software.amazon.awssdk.services.apprunner.model.DeleteVpcConnectorRequest;
import software.amazon.awssdk.services.apprunner.model.DeleteVpcConnectorResponse;
import software.amazon.awssdk.services.apprunner.model.DeleteVpcIngressConnectionRequest;
import software.amazon.awssdk.services.apprunner.model.DeleteVpcIngressConnectionResponse;
import software.amazon.awssdk.services.apprunner.model.DescribeAutoScalingConfigurationRequest;
import software.amazon.awssdk.services.apprunner.model.DescribeAutoScalingConfigurationResponse;
import software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest;
import software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsResponse;
import software.amazon.awssdk.services.apprunner.model.DescribeObservabilityConfigurationRequest;
import software.amazon.awssdk.services.apprunner.model.DescribeObservabilityConfigurationResponse;
import software.amazon.awssdk.services.apprunner.model.DescribeServiceRequest;
import software.amazon.awssdk.services.apprunner.model.DescribeServiceResponse;
import software.amazon.awssdk.services.apprunner.model.DescribeVpcConnectorRequest;
import software.amazon.awssdk.services.apprunner.model.DescribeVpcConnectorResponse;
import software.amazon.awssdk.services.apprunner.model.DescribeVpcIngressConnectionRequest;
import software.amazon.awssdk.services.apprunner.model.DescribeVpcIngressConnectionResponse;
import software.amazon.awssdk.services.apprunner.model.DisassociateCustomDomainRequest;
import software.amazon.awssdk.services.apprunner.model.DisassociateCustomDomainResponse;
import software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest;
import software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsResponse;
import software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest;
import software.amazon.awssdk.services.apprunner.model.ListConnectionsResponse;
import software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest;
import software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsResponse;
import software.amazon.awssdk.services.apprunner.model.ListOperationsRequest;
import software.amazon.awssdk.services.apprunner.model.ListOperationsResponse;
import software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationRequest;
import software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationResponse;
import software.amazon.awssdk.services.apprunner.model.ListServicesRequest;
import software.amazon.awssdk.services.apprunner.model.ListServicesResponse;
import software.amazon.awssdk.services.apprunner.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.apprunner.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest;
import software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsResponse;
import software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest;
import software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsResponse;
import software.amazon.awssdk.services.apprunner.model.PauseServiceRequest;
import software.amazon.awssdk.services.apprunner.model.PauseServiceResponse;
import software.amazon.awssdk.services.apprunner.model.ResumeServiceRequest;
import software.amazon.awssdk.services.apprunner.model.ResumeServiceResponse;
import software.amazon.awssdk.services.apprunner.model.StartDeploymentRequest;
import software.amazon.awssdk.services.apprunner.model.StartDeploymentResponse;
import software.amazon.awssdk.services.apprunner.model.TagResourceRequest;
import software.amazon.awssdk.services.apprunner.model.TagResourceResponse;
import software.amazon.awssdk.services.apprunner.model.UntagResourceRequest;
import software.amazon.awssdk.services.apprunner.model.UntagResourceResponse;
import software.amazon.awssdk.services.apprunner.model.UpdateDefaultAutoScalingConfigurationRequest;
import software.amazon.awssdk.services.apprunner.model.UpdateDefaultAutoScalingConfigurationResponse;
import software.amazon.awssdk.services.apprunner.model.UpdateServiceRequest;
import software.amazon.awssdk.services.apprunner.model.UpdateServiceResponse;
import software.amazon.awssdk.services.apprunner.model.UpdateVpcIngressConnectionRequest;
import software.amazon.awssdk.services.apprunner.model.UpdateVpcIngressConnectionResponse;
import software.amazon.awssdk.services.apprunner.paginators.DescribeCustomDomainsPublisher;
import software.amazon.awssdk.services.apprunner.paginators.ListAutoScalingConfigurationsPublisher;
import software.amazon.awssdk.services.apprunner.paginators.ListConnectionsPublisher;
import software.amazon.awssdk.services.apprunner.paginators.ListObservabilityConfigurationsPublisher;
import software.amazon.awssdk.services.apprunner.paginators.ListOperationsPublisher;
import software.amazon.awssdk.services.apprunner.paginators.ListServicesForAutoScalingConfigurationPublisher;
import software.amazon.awssdk.services.apprunner.paginators.ListServicesPublisher;
import software.amazon.awssdk.services.apprunner.paginators.ListVpcConnectorsPublisher;
import software.amazon.awssdk.services.apprunner.paginators.ListVpcIngressConnectionsPublisher;

/**
 * Service client for accessing AWS App Runner asynchronously. This can be created using the static {@link #builder()}
 * method.The asynchronous client performs non-blocking I/O when configured with any {@code SdkAsyncHttpClient}
 * supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
 * some cases such as credentials retrieval and endpoint discovery as part of the async API call.
 *
 * App Runner
 * 

* 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. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface AppRunnerAsyncClient extends AwsClient { String SERVICE_NAME = "apprunner"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "apprunner"; /** *

* 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). *

* * @param associateCustomDomainRequest * @return A Java Future containing the result of the AssociateCustomDomain operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.AssociateCustomDomain * @see AWS API Documentation */ default CompletableFuture associateCustomDomain( AssociateCustomDomainRequest associateCustomDomainRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link AssociateCustomDomainRequest.Builder} avoiding the * need to create one manually via {@link AssociateCustomDomainRequest#builder()} *

* * @param associateCustomDomainRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.AssociateCustomDomainRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateCustomDomain operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.AssociateCustomDomain * @see AWS API Documentation */ default CompletableFuture associateCustomDomain( Consumer associateCustomDomainRequest) { return associateCustomDomain(AssociateCustomDomainRequest.builder().applyMutation(associateCustomDomainRequest).build()); } /** *

* Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create * or update App Runner services and you require non-default auto scaling settings. You can share an auto scaling * configuration across multiple services. *

*

* Create multiple revisions of a configuration by calling this action multiple times using the same * AutoScalingConfigurationName. The call returns incremental * AutoScalingConfigurationRevision values. When you create a service and configure an auto scaling * configuration resource, the service uses the latest active revision of the auto scaling configuration by default. * You can optionally configure the service to use a specific revision. *

*

* Configure a higher MinSize to increase the spread of your App Runner service over more Availability * Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. *

*

* Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak * demand. *

* * @param createAutoScalingConfigurationRequest * @return A Java Future containing the result of the CreateAutoScalingConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ServiceQuotaExceededException App Runner can't create this resource. You've reached your account * quota for this resource type.

    *

    * For App Runner per-resource quotas, see App Runner endpoints and quotas * in the Amazon Web Services General Reference.

  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.CreateAutoScalingConfiguration * @see AWS API Documentation */ default CompletableFuture createAutoScalingConfiguration( CreateAutoScalingConfigurationRequest createAutoScalingConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create * or update App Runner services and you require non-default auto scaling settings. You can share an auto scaling * configuration across multiple services. *

*

* Create multiple revisions of a configuration by calling this action multiple times using the same * AutoScalingConfigurationName. The call returns incremental * AutoScalingConfigurationRevision values. When you create a service and configure an auto scaling * configuration resource, the service uses the latest active revision of the auto scaling configuration by default. * You can optionally configure the service to use a specific revision. *

*

* Configure a higher MinSize to increase the spread of your App Runner service over more Availability * Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. *

*

* Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak * demand. *

*
*

* This is a convenience which creates an instance of the {@link CreateAutoScalingConfigurationRequest.Builder} * avoiding the need to create one manually via {@link CreateAutoScalingConfigurationRequest#builder()} *

* * @param createAutoScalingConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.CreateAutoScalingConfigurationRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreateAutoScalingConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ServiceQuotaExceededException App Runner can't create this resource. You've reached your account * quota for this resource type.

    *

    * For App Runner per-resource quotas, see App Runner endpoints and quotas * in the Amazon Web Services General Reference.

  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.CreateAutoScalingConfiguration * @see AWS API Documentation */ default CompletableFuture createAutoScalingConfiguration( Consumer createAutoScalingConfigurationRequest) { return createAutoScalingConfiguration(CreateAutoScalingConfigurationRequest.builder() .applyMutation(createAutoScalingConfigurationRequest).build()); } /** *

* 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. *

* * @param createConnectionRequest * @return A Java Future containing the result of the CreateConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ServiceQuotaExceededException App Runner can't create this resource. You've reached your account * quota for this resource type.

    *

    * For App Runner per-resource quotas, see App Runner endpoints and quotas * in the Amazon Web Services General Reference.

  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.CreateConnection * @see AWS * API Documentation */ default CompletableFuture createConnection(CreateConnectionRequest createConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreateConnectionRequest.Builder} avoiding the need * to create one manually via {@link CreateConnectionRequest#builder()} *

* * @param createConnectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.CreateConnectionRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ServiceQuotaExceededException App Runner can't create this resource. You've reached your account * quota for this resource type.

    *

    * For App Runner per-resource quotas, see App Runner endpoints and quotas * in the Amazon Web Services General Reference.

  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.CreateConnection * @see AWS * API Documentation */ default CompletableFuture createConnection( Consumer createConnectionRequest) { return createConnection(CreateConnectionRequest.builder().applyMutation(createConnectionRequest).build()); } /** *

* Create an App Runner observability configuration resource. App Runner requires this resource when you create or * update App Runner services and you want to enable non-default observability features. You can share an * observability configuration across multiple services. *

*

* Create multiple revisions of a configuration by calling this action multiple times using the same * ObservabilityConfigurationName. The call returns incremental * ObservabilityConfigurationRevision values. When you create a service and configure an observability * configuration resource, the service uses the latest active revision of the observability configuration by * default. You can optionally configure the service to use a specific revision. *

*

* The observability configuration resource is designed to configure multiple features (currently one feature, * tracing). This action takes optional parameters that describe the configuration of these features (currently one * parameter, TraceConfiguration). If you don't specify a feature parameter, App Runner doesn't enable * the feature. *

* * @param createObservabilityConfigurationRequest * @return A Java Future containing the result of the CreateObservabilityConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ServiceQuotaExceededException App Runner can't create this resource. You've reached your account * quota for this resource type.

    *

    * For App Runner per-resource quotas, see App Runner endpoints and quotas * in the Amazon Web Services General Reference.

  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.CreateObservabilityConfiguration * @see AWS API Documentation */ default CompletableFuture createObservabilityConfiguration( CreateObservabilityConfigurationRequest createObservabilityConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Create an App Runner observability configuration resource. App Runner requires this resource when you create or * update App Runner services and you want to enable non-default observability features. You can share an * observability configuration across multiple services. *

*

* Create multiple revisions of a configuration by calling this action multiple times using the same * ObservabilityConfigurationName. The call returns incremental * ObservabilityConfigurationRevision values. When you create a service and configure an observability * configuration resource, the service uses the latest active revision of the observability configuration by * default. You can optionally configure the service to use a specific revision. *

*

* The observability configuration resource is designed to configure multiple features (currently one feature, * tracing). This action takes optional parameters that describe the configuration of these features (currently one * parameter, TraceConfiguration). If you don't specify a feature parameter, App Runner doesn't enable * the feature. *

*
*

* This is a convenience which creates an instance of the {@link CreateObservabilityConfigurationRequest.Builder} * avoiding the need to create one manually via {@link CreateObservabilityConfigurationRequest#builder()} *

* * @param createObservabilityConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.CreateObservabilityConfigurationRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreateObservabilityConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ServiceQuotaExceededException App Runner can't create this resource. You've reached your account * quota for this resource type.

    *

    * For App Runner per-resource quotas, see App Runner endpoints and quotas * in the Amazon Web Services General Reference.

  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.CreateObservabilityConfiguration * @see AWS API Documentation */ default CompletableFuture createObservabilityConfiguration( Consumer createObservabilityConfigurationRequest) { return createObservabilityConfiguration(CreateObservabilityConfigurationRequest.builder() .applyMutation(createObservabilityConfigurationRequest).build()); } /** *

* 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. *

* * @param createServiceRequest * @return A Java Future containing the result of the CreateService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ServiceQuotaExceededException App Runner can't create this resource. You've reached your account * quota for this resource type.

    *

    * For App Runner per-resource quotas, see App Runner endpoints and quotas * in the Amazon Web Services General Reference.

  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.CreateService * @see AWS API * Documentation */ default CompletableFuture createService(CreateServiceRequest createServiceRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreateServiceRequest.Builder} avoiding the need to * create one manually via {@link CreateServiceRequest#builder()} *

* * @param createServiceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.CreateServiceRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ServiceQuotaExceededException App Runner can't create this resource. You've reached your account * quota for this resource type.

    *

    * For App Runner per-resource quotas, see App Runner endpoints and quotas * in the Amazon Web Services General Reference.

  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.CreateService * @see AWS API * Documentation */ default CompletableFuture createService(Consumer createServiceRequest) { return createService(CreateServiceRequest.builder().applyMutation(createServiceRequest).build()); } /** *

* 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). *

* * @param createVpcConnectorRequest * @return A Java Future containing the result of the CreateVpcConnector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ServiceQuotaExceededException App Runner can't create this resource. You've reached your account * quota for this resource type.

    *

    * For App Runner per-resource quotas, see App Runner endpoints and quotas * in the Amazon Web Services General Reference.

  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.CreateVpcConnector * @see AWS * API Documentation */ default CompletableFuture createVpcConnector(CreateVpcConnectorRequest createVpcConnectorRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreateVpcConnectorRequest.Builder} avoiding the * need to create one manually via {@link CreateVpcConnectorRequest#builder()} *

* * @param createVpcConnectorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.CreateVpcConnectorRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateVpcConnector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ServiceQuotaExceededException App Runner can't create this resource. You've reached your account * quota for this resource type.

    *

    * For App Runner per-resource quotas, see App Runner endpoints and quotas * in the Amazon Web Services General Reference.

  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.CreateVpcConnector * @see AWS * API Documentation */ default CompletableFuture createVpcConnector( Consumer createVpcConnectorRequest) { return createVpcConnector(CreateVpcConnectorRequest.builder().applyMutation(createVpcConnectorRequest).build()); } /** *

* 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. *

* * @param createVpcIngressConnectionRequest * @return A Java Future containing the result of the CreateVpcIngressConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ServiceQuotaExceededException App Runner can't create this resource. You've reached your account * quota for this resource type.

    *

    * For App Runner per-resource quotas, see App Runner endpoints and quotas * in the Amazon Web Services General Reference.

  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.CreateVpcIngressConnection * @see AWS API Documentation */ default CompletableFuture createVpcIngressConnection( CreateVpcIngressConnectionRequest createVpcIngressConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreateVpcIngressConnectionRequest.Builder} avoiding * the need to create one manually via {@link CreateVpcIngressConnectionRequest#builder()} *

* * @param createVpcIngressConnectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.CreateVpcIngressConnectionRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreateVpcIngressConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ServiceQuotaExceededException App Runner can't create this resource. You've reached your account * quota for this resource type.

    *

    * For App Runner per-resource quotas, see App Runner endpoints and quotas * in the Amazon Web Services General Reference.

  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.CreateVpcIngressConnection * @see AWS API Documentation */ default CompletableFuture createVpcIngressConnection( Consumer createVpcIngressConnectionRequest) { return createVpcIngressConnection(CreateVpcIngressConnectionRequest.builder() .applyMutation(createVpcIngressConnectionRequest).build()); } /** *

* 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. *

* * @param deleteAutoScalingConfigurationRequest * @return A Java Future containing the result of the DeleteAutoScalingConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DeleteAutoScalingConfiguration * @see AWS API Documentation */ default CompletableFuture deleteAutoScalingConfiguration( DeleteAutoScalingConfigurationRequest deleteAutoScalingConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteAutoScalingConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DeleteAutoScalingConfigurationRequest#builder()} *

* * @param deleteAutoScalingConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DeleteAutoScalingConfigurationRequest.Builder} to * create a request. * @return A Java Future containing the result of the DeleteAutoScalingConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DeleteAutoScalingConfiguration * @see AWS API Documentation */ default CompletableFuture deleteAutoScalingConfiguration( Consumer deleteAutoScalingConfigurationRequest) { return deleteAutoScalingConfiguration(DeleteAutoScalingConfigurationRequest.builder() .applyMutation(deleteAutoScalingConfigurationRequest).build()); } /** *

* 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. *

* * @param deleteConnectionRequest * @return A Java Future containing the result of the DeleteConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DeleteConnection * @see AWS * API Documentation */ default CompletableFuture deleteConnection(DeleteConnectionRequest deleteConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteConnectionRequest.Builder} avoiding the need * to create one manually via {@link DeleteConnectionRequest#builder()} *

* * @param deleteConnectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DeleteConnectionRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DeleteConnection * @see AWS * API Documentation */ default CompletableFuture deleteConnection( Consumer deleteConnectionRequest) { return deleteConnection(DeleteConnectionRequest.builder().applyMutation(deleteConnectionRequest).build()); } /** *

* 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. *

* * @param deleteObservabilityConfigurationRequest * @return A Java Future containing the result of the DeleteObservabilityConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DeleteObservabilityConfiguration * @see AWS API Documentation */ default CompletableFuture deleteObservabilityConfiguration( DeleteObservabilityConfigurationRequest deleteObservabilityConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteObservabilityConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DeleteObservabilityConfigurationRequest#builder()} *

* * @param deleteObservabilityConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DeleteObservabilityConfigurationRequest.Builder} to * create a request. * @return A Java Future containing the result of the DeleteObservabilityConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DeleteObservabilityConfiguration * @see AWS API Documentation */ default CompletableFuture deleteObservabilityConfiguration( Consumer deleteObservabilityConfigurationRequest) { return deleteObservabilityConfiguration(DeleteObservabilityConfigurationRequest.builder() .applyMutation(deleteObservabilityConfigurationRequest).build()); } /** *

* 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. *

*
* * @param deleteServiceRequest * @return A Java Future containing the result of the DeleteService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DeleteService * @see AWS API * Documentation */ default CompletableFuture deleteService(DeleteServiceRequest deleteServiceRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteServiceRequest.Builder} avoiding the need to * create one manually via {@link DeleteServiceRequest#builder()} *

* * @param deleteServiceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DeleteServiceRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DeleteService * @see AWS API * Documentation */ default CompletableFuture deleteService(Consumer deleteServiceRequest) { return deleteService(DeleteServiceRequest.builder().applyMutation(deleteServiceRequest).build()); } /** *

* Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner * services. *

* * @param deleteVpcConnectorRequest * @return A Java Future containing the result of the DeleteVpcConnector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DeleteVpcConnector * @see AWS * API Documentation */ default CompletableFuture deleteVpcConnector(DeleteVpcConnectorRequest deleteVpcConnectorRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteVpcConnectorRequest.Builder} avoiding the * need to create one manually via {@link DeleteVpcConnectorRequest#builder()} *

* * @param deleteVpcConnectorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DeleteVpcConnectorRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteVpcConnector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DeleteVpcConnector * @see AWS * API Documentation */ default CompletableFuture deleteVpcConnector( Consumer deleteVpcConnectorRequest) { return deleteVpcConnector(DeleteVpcConnectorRequest.builder().applyMutation(deleteVpcConnectorRequest).build()); } /** *

* 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 *

    *
  • *
* * @param deleteVpcIngressConnectionRequest * @return A Java Future containing the result of the DeleteVpcIngressConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DeleteVpcIngressConnection * @see AWS API Documentation */ default CompletableFuture deleteVpcIngressConnection( DeleteVpcIngressConnectionRequest deleteVpcIngressConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteVpcIngressConnectionRequest.Builder} avoiding * the need to create one manually via {@link DeleteVpcIngressConnectionRequest#builder()} *

* * @param deleteVpcIngressConnectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DeleteVpcIngressConnectionRequest.Builder} to * create a request. * @return A Java Future containing the result of the DeleteVpcIngressConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DeleteVpcIngressConnection * @see AWS API Documentation */ default CompletableFuture deleteVpcIngressConnection( Consumer deleteVpcIngressConnectionRequest) { return deleteVpcIngressConnection(DeleteVpcIngressConnectionRequest.builder() .applyMutation(deleteVpcIngressConnectionRequest).build()); } /** *

* Return a full description of an App Runner automatic scaling configuration resource. *

* * @param describeAutoScalingConfigurationRequest * @return A Java Future containing the result of the DescribeAutoScalingConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeAutoScalingConfiguration * @see AWS API Documentation */ default CompletableFuture describeAutoScalingConfiguration( DescribeAutoScalingConfigurationRequest describeAutoScalingConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Return a full description of an App Runner automatic scaling configuration resource. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAutoScalingConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DescribeAutoScalingConfigurationRequest#builder()} *

* * @param describeAutoScalingConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DescribeAutoScalingConfigurationRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeAutoScalingConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeAutoScalingConfiguration * @see AWS API Documentation */ default CompletableFuture describeAutoScalingConfiguration( Consumer describeAutoScalingConfigurationRequest) { return describeAutoScalingConfiguration(DescribeAutoScalingConfigurationRequest.builder() .applyMutation(describeAutoScalingConfigurationRequest).build()); } /** *

* Return a description of custom domain names that are associated with an App Runner service. *

* * @param describeCustomDomainsRequest * @return A Java Future containing the result of the DescribeCustomDomains operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeCustomDomains * @see AWS API Documentation */ default CompletableFuture describeCustomDomains( DescribeCustomDomainsRequest describeCustomDomainsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DescribeCustomDomainsRequest.Builder} avoiding the * need to create one manually via {@link DescribeCustomDomainsRequest#builder()} *

* * @param describeCustomDomainsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeCustomDomains operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeCustomDomains * @see AWS API Documentation */ default CompletableFuture describeCustomDomains( Consumer describeCustomDomainsRequest) { return describeCustomDomains(DescribeCustomDomainsRequest.builder().applyMutation(describeCustomDomainsRequest).build()); } /** *

* This is a variant of * {@link #describeCustomDomains(software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.DescribeCustomDomainsPublisher publisher = client.describeCustomDomainsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.DescribeCustomDomainsPublisher publisher = client.describeCustomDomainsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #describeCustomDomains(software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest)} * operation. *

* * @param describeCustomDomainsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeCustomDomains * @see AWS API Documentation */ default DescribeCustomDomainsPublisher describeCustomDomainsPaginator( DescribeCustomDomainsRequest describeCustomDomainsRequest) { return new DescribeCustomDomainsPublisher(this, describeCustomDomainsRequest); } /** *

* This is a variant of * {@link #describeCustomDomains(software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.DescribeCustomDomainsPublisher publisher = client.describeCustomDomainsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.DescribeCustomDomainsPublisher publisher = client.describeCustomDomainsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #describeCustomDomains(software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeCustomDomainsRequest.Builder} avoiding the * need to create one manually via {@link DescribeCustomDomainsRequest#builder()} *

* * @param describeCustomDomainsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DescribeCustomDomainsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeCustomDomains * @see AWS API Documentation */ default DescribeCustomDomainsPublisher describeCustomDomainsPaginator( Consumer describeCustomDomainsRequest) { return describeCustomDomainsPaginator(DescribeCustomDomainsRequest.builder().applyMutation(describeCustomDomainsRequest) .build()); } /** *

* Return a full description of an App Runner observability configuration resource. *

* * @param describeObservabilityConfigurationRequest * @return A Java Future containing the result of the DescribeObservabilityConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeObservabilityConfiguration * @see AWS API Documentation */ default CompletableFuture describeObservabilityConfiguration( DescribeObservabilityConfigurationRequest describeObservabilityConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Return a full description of an App Runner observability configuration resource. *

*
*

* This is a convenience which creates an instance of the {@link DescribeObservabilityConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DescribeObservabilityConfigurationRequest#builder()} *

* * @param describeObservabilityConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DescribeObservabilityConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeObservabilityConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeObservabilityConfiguration * @see AWS API Documentation */ default CompletableFuture describeObservabilityConfiguration( Consumer describeObservabilityConfigurationRequest) { return describeObservabilityConfiguration(DescribeObservabilityConfigurationRequest.builder() .applyMutation(describeObservabilityConfigurationRequest).build()); } /** *

* Return a full description of an App Runner service. *

* * @param describeServiceRequest * @return A Java Future containing the result of the DescribeService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeService * @see AWS API * Documentation */ default CompletableFuture describeService(DescribeServiceRequest describeServiceRequest) { throw new UnsupportedOperationException(); } /** *

* Return a full description of an App Runner service. *

*
*

* This is a convenience which creates an instance of the {@link DescribeServiceRequest.Builder} avoiding the need * to create one manually via {@link DescribeServiceRequest#builder()} *

* * @param describeServiceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DescribeServiceRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeService * @see AWS API * Documentation */ default CompletableFuture describeService( Consumer describeServiceRequest) { return describeService(DescribeServiceRequest.builder().applyMutation(describeServiceRequest).build()); } /** *

* Return a description of an App Runner VPC connector resource. *

* * @param describeVpcConnectorRequest * @return A Java Future containing the result of the DescribeVpcConnector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeVpcConnector * @see AWS API Documentation */ default CompletableFuture describeVpcConnector( DescribeVpcConnectorRequest describeVpcConnectorRequest) { throw new UnsupportedOperationException(); } /** *

* Return a description of an App Runner VPC connector resource. *

*
*

* This is a convenience which creates an instance of the {@link DescribeVpcConnectorRequest.Builder} avoiding the * need to create one manually via {@link DescribeVpcConnectorRequest#builder()} *

* * @param describeVpcConnectorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DescribeVpcConnectorRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeVpcConnector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeVpcConnector * @see AWS API Documentation */ default CompletableFuture describeVpcConnector( Consumer describeVpcConnectorRequest) { return describeVpcConnector(DescribeVpcConnectorRequest.builder().applyMutation(describeVpcConnectorRequest).build()); } /** *

* Return a full description of an App Runner VPC Ingress Connection resource. *

* * @param describeVpcIngressConnectionRequest * @return A Java Future containing the result of the DescribeVpcIngressConnection operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeVpcIngressConnection * @see AWS API Documentation */ default CompletableFuture describeVpcIngressConnection( DescribeVpcIngressConnectionRequest describeVpcIngressConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* Return a full description of an App Runner VPC Ingress Connection resource. *

*
*

* This is a convenience which creates an instance of the {@link DescribeVpcIngressConnectionRequest.Builder} * avoiding the need to create one manually via {@link DescribeVpcIngressConnectionRequest#builder()} *

* * @param describeVpcIngressConnectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DescribeVpcIngressConnectionRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeVpcIngressConnection operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DescribeVpcIngressConnection * @see AWS API Documentation */ default CompletableFuture describeVpcIngressConnection( Consumer describeVpcIngressConnectionRequest) { return describeVpcIngressConnection(DescribeVpcIngressConnectionRequest.builder() .applyMutation(describeVpcIngressConnectionRequest).build()); } /** *

* 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. *

* * @param disassociateCustomDomainRequest * @return A Java Future containing the result of the DisassociateCustomDomain operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DisassociateCustomDomain * @see AWS API Documentation */ default CompletableFuture disassociateCustomDomain( DisassociateCustomDomainRequest disassociateCustomDomainRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DisassociateCustomDomainRequest.Builder} avoiding * the need to create one manually via {@link DisassociateCustomDomainRequest#builder()} *

* * @param disassociateCustomDomainRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.DisassociateCustomDomainRequest.Builder} to create * a request. * @return A Java Future containing the result of the DisassociateCustomDomain operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.DisassociateCustomDomain * @see AWS API Documentation */ default CompletableFuture disassociateCustomDomain( Consumer disassociateCustomDomainRequest) { return disassociateCustomDomain(DisassociateCustomDomainRequest.builder().applyMutation(disassociateCustomDomainRequest) .build()); } /** *

* 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. *

* * @param listAutoScalingConfigurationsRequest * @return A Java Future containing the result of the ListAutoScalingConfigurations operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListAutoScalingConfigurations * @see AWS API Documentation */ default CompletableFuture listAutoScalingConfigurations( ListAutoScalingConfigurationsRequest listAutoScalingConfigurationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListAutoScalingConfigurationsRequest.Builder} * avoiding the need to create one manually via {@link ListAutoScalingConfigurationsRequest#builder()} *

* * @param listAutoScalingConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListAutoScalingConfigurations operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListAutoScalingConfigurations * @see AWS API Documentation */ default CompletableFuture listAutoScalingConfigurations( Consumer listAutoScalingConfigurationsRequest) { return listAutoScalingConfigurations(ListAutoScalingConfigurationsRequest.builder() .applyMutation(listAutoScalingConfigurationsRequest).build()); } /** *

* This is a variant of * {@link #listAutoScalingConfigurations(software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListAutoScalingConfigurationsPublisher publisher = client.listAutoScalingConfigurationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListAutoScalingConfigurationsPublisher publisher = client.listAutoScalingConfigurationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listAutoScalingConfigurations(software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest)} * operation. *

* * @param listAutoScalingConfigurationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListAutoScalingConfigurations * @see AWS API Documentation */ default ListAutoScalingConfigurationsPublisher listAutoScalingConfigurationsPaginator( ListAutoScalingConfigurationsRequest listAutoScalingConfigurationsRequest) { return new ListAutoScalingConfigurationsPublisher(this, listAutoScalingConfigurationsRequest); } /** *

* This is a variant of * {@link #listAutoScalingConfigurations(software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListAutoScalingConfigurationsPublisher publisher = client.listAutoScalingConfigurationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListAutoScalingConfigurationsPublisher publisher = client.listAutoScalingConfigurationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listAutoScalingConfigurations(software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListAutoScalingConfigurationsRequest.Builder} * avoiding the need to create one manually via {@link ListAutoScalingConfigurationsRequest#builder()} *

* * @param listAutoScalingConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListAutoScalingConfigurationsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListAutoScalingConfigurations * @see AWS API Documentation */ default ListAutoScalingConfigurationsPublisher listAutoScalingConfigurationsPaginator( Consumer listAutoScalingConfigurationsRequest) { return listAutoScalingConfigurationsPaginator(ListAutoScalingConfigurationsRequest.builder() .applyMutation(listAutoScalingConfigurationsRequest).build()); } /** *

* Returns a list of App Runner connections that are associated with your Amazon Web Services account. *

* * @param listConnectionsRequest * @return A Java Future containing the result of the ListConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListConnections * @see AWS API * Documentation */ default CompletableFuture listConnections(ListConnectionsRequest listConnectionsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListConnectionsRequest.Builder} avoiding the need * to create one manually via {@link ListConnectionsRequest#builder()} *

* * @param listConnectionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListConnections * @see AWS API * Documentation */ default CompletableFuture listConnections( Consumer listConnectionsRequest) { return listConnections(ListConnectionsRequest.builder().applyMutation(listConnectionsRequest).build()); } /** *

* This is a variant of * {@link #listConnections(software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListConnectionsPublisher publisher = client.listConnectionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListConnectionsPublisher publisher = client.listConnectionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListConnectionsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listConnections(software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest)} operation. *

* * @param listConnectionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListConnections * @see AWS API * Documentation */ default ListConnectionsPublisher listConnectionsPaginator(ListConnectionsRequest listConnectionsRequest) { return new ListConnectionsPublisher(this, listConnectionsRequest); } /** *

* This is a variant of * {@link #listConnections(software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListConnectionsPublisher publisher = client.listConnectionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListConnectionsPublisher publisher = client.listConnectionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListConnectionsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listConnections(software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListConnectionsRequest.Builder} avoiding the need * to create one manually via {@link ListConnectionsRequest#builder()} *

* * @param listConnectionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListConnectionsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListConnections * @see AWS API * Documentation */ default ListConnectionsPublisher listConnectionsPaginator(Consumer listConnectionsRequest) { return listConnectionsPaginator(ListConnectionsRequest.builder().applyMutation(listConnectionsRequest).build()); } /** *

* 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. *

* * @param listObservabilityConfigurationsRequest * @return A Java Future containing the result of the ListObservabilityConfigurations operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListObservabilityConfigurations * @see AWS API Documentation */ default CompletableFuture listObservabilityConfigurations( ListObservabilityConfigurationsRequest listObservabilityConfigurationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListObservabilityConfigurationsRequest.Builder} * avoiding the need to create one manually via {@link ListObservabilityConfigurationsRequest#builder()} *

* * @param listObservabilityConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListObservabilityConfigurations operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListObservabilityConfigurations * @see AWS API Documentation */ default CompletableFuture listObservabilityConfigurations( Consumer listObservabilityConfigurationsRequest) { return listObservabilityConfigurations(ListObservabilityConfigurationsRequest.builder() .applyMutation(listObservabilityConfigurationsRequest).build()); } /** *

* This is a variant of * {@link #listObservabilityConfigurations(software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListObservabilityConfigurationsPublisher publisher = client.listObservabilityConfigurationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListObservabilityConfigurationsPublisher publisher = client.listObservabilityConfigurationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listObservabilityConfigurations(software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest)} * operation. *

* * @param listObservabilityConfigurationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListObservabilityConfigurations * @see AWS API Documentation */ default ListObservabilityConfigurationsPublisher listObservabilityConfigurationsPaginator( ListObservabilityConfigurationsRequest listObservabilityConfigurationsRequest) { return new ListObservabilityConfigurationsPublisher(this, listObservabilityConfigurationsRequest); } /** *

* This is a variant of * {@link #listObservabilityConfigurations(software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListObservabilityConfigurationsPublisher publisher = client.listObservabilityConfigurationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListObservabilityConfigurationsPublisher publisher = client.listObservabilityConfigurationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listObservabilityConfigurations(software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListObservabilityConfigurationsRequest.Builder} * avoiding the need to create one manually via {@link ListObservabilityConfigurationsRequest#builder()} *

* * @param listObservabilityConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListObservabilityConfigurationsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListObservabilityConfigurations * @see AWS API Documentation */ default ListObservabilityConfigurationsPublisher listObservabilityConfigurationsPaginator( Consumer listObservabilityConfigurationsRequest) { return listObservabilityConfigurationsPaginator(ListObservabilityConfigurationsRequest.builder() .applyMutation(listObservabilityConfigurationsRequest).build()); } /** *

* 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. *

* * @param listOperationsRequest * @return A Java Future containing the result of the ListOperations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListOperations * @see AWS API * Documentation */ default CompletableFuture listOperations(ListOperationsRequest listOperationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListOperationsRequest.Builder} avoiding the need to * create one manually via {@link ListOperationsRequest#builder()} *

* * @param listOperationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListOperationsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListOperations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListOperations * @see AWS API * Documentation */ default CompletableFuture listOperations(Consumer listOperationsRequest) { return listOperations(ListOperationsRequest.builder().applyMutation(listOperationsRequest).build()); } /** *

* This is a variant of * {@link #listOperations(software.amazon.awssdk.services.apprunner.model.ListOperationsRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListOperationsPublisher publisher = client.listOperationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListOperationsPublisher publisher = client.listOperationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListOperationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listOperations(software.amazon.awssdk.services.apprunner.model.ListOperationsRequest)} operation. *

* * @param listOperationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListOperations * @see AWS API * Documentation */ default ListOperationsPublisher listOperationsPaginator(ListOperationsRequest listOperationsRequest) { return new ListOperationsPublisher(this, listOperationsRequest); } /** *

* This is a variant of * {@link #listOperations(software.amazon.awssdk.services.apprunner.model.ListOperationsRequest)} operation. The * return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListOperationsPublisher publisher = client.listOperationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListOperationsPublisher publisher = client.listOperationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListOperationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listOperations(software.amazon.awssdk.services.apprunner.model.ListOperationsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListOperationsRequest.Builder} avoiding the need to * create one manually via {@link ListOperationsRequest#builder()} *

* * @param listOperationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListOperationsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListOperations * @see AWS API * Documentation */ default ListOperationsPublisher listOperationsPaginator(Consumer listOperationsRequest) { return listOperationsPaginator(ListOperationsRequest.builder().applyMutation(listOperationsRequest).build()); } /** *

* Returns a list of running App Runner services in your Amazon Web Services account. *

* * @param listServicesRequest * @return A Java Future containing the result of the ListServices operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListServices * @see AWS API * Documentation */ default CompletableFuture listServices(ListServicesRequest listServicesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of running App Runner services in your Amazon Web Services account. *

*
*

* This is a convenience which creates an instance of the {@link ListServicesRequest.Builder} avoiding the need to * create one manually via {@link ListServicesRequest#builder()} *

* * @param listServicesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListServicesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListServices operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListServices * @see AWS API * Documentation */ default CompletableFuture listServices(Consumer listServicesRequest) { return listServices(ListServicesRequest.builder().applyMutation(listServicesRequest).build()); } /** *

* Returns a list of the associated App Runner services using an auto scaling configuration. *

* * @param listServicesForAutoScalingConfigurationRequest * @return A Java Future containing the result of the ListServicesForAutoScalingConfiguration operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListServicesForAutoScalingConfiguration * @see AWS API Documentation */ default CompletableFuture listServicesForAutoScalingConfiguration( ListServicesForAutoScalingConfigurationRequest listServicesForAutoScalingConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of the associated App Runner services using an auto scaling configuration. *

*
*

* This is a convenience which creates an instance of the * {@link ListServicesForAutoScalingConfigurationRequest.Builder} avoiding the need to create one manually via * {@link ListServicesForAutoScalingConfigurationRequest#builder()} *

* * @param listServicesForAutoScalingConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the ListServicesForAutoScalingConfiguration operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListServicesForAutoScalingConfiguration * @see AWS API Documentation */ default CompletableFuture listServicesForAutoScalingConfiguration( Consumer listServicesForAutoScalingConfigurationRequest) { return listServicesForAutoScalingConfiguration(ListServicesForAutoScalingConfigurationRequest.builder() .applyMutation(listServicesForAutoScalingConfigurationRequest).build()); } /** *

* This is a variant of * {@link #listServicesForAutoScalingConfiguration(software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListServicesForAutoScalingConfigurationPublisher publisher = client.listServicesForAutoScalingConfigurationPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListServicesForAutoScalingConfigurationPublisher publisher = client.listServicesForAutoScalingConfigurationPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listServicesForAutoScalingConfiguration(software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationRequest)} * operation. *

* * @param listServicesForAutoScalingConfigurationRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListServicesForAutoScalingConfiguration * @see AWS API Documentation */ default ListServicesForAutoScalingConfigurationPublisher listServicesForAutoScalingConfigurationPaginator( ListServicesForAutoScalingConfigurationRequest listServicesForAutoScalingConfigurationRequest) { return new ListServicesForAutoScalingConfigurationPublisher(this, listServicesForAutoScalingConfigurationRequest); } /** *

* This is a variant of * {@link #listServicesForAutoScalingConfiguration(software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListServicesForAutoScalingConfigurationPublisher publisher = client.listServicesForAutoScalingConfigurationPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListServicesForAutoScalingConfigurationPublisher publisher = client.listServicesForAutoScalingConfigurationPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listServicesForAutoScalingConfiguration(software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the * {@link ListServicesForAutoScalingConfigurationRequest.Builder} avoiding the need to create one manually via * {@link ListServicesForAutoScalingConfigurationRequest#builder()} *

* * @param listServicesForAutoScalingConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListServicesForAutoScalingConfigurationRequest.Builder} * to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListServicesForAutoScalingConfiguration * @see AWS API Documentation */ default ListServicesForAutoScalingConfigurationPublisher listServicesForAutoScalingConfigurationPaginator( Consumer listServicesForAutoScalingConfigurationRequest) { return listServicesForAutoScalingConfigurationPaginator(ListServicesForAutoScalingConfigurationRequest.builder() .applyMutation(listServicesForAutoScalingConfigurationRequest).build()); } /** *

* This is a variant of {@link #listServices(software.amazon.awssdk.services.apprunner.model.ListServicesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListServicesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listServices(software.amazon.awssdk.services.apprunner.model.ListServicesRequest)} operation. *

* * @param listServicesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListServices * @see AWS API * Documentation */ default ListServicesPublisher listServicesPaginator(ListServicesRequest listServicesRequest) { return new ListServicesPublisher(this, listServicesRequest); } /** *

* This is a variant of {@link #listServices(software.amazon.awssdk.services.apprunner.model.ListServicesRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListServicesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listServices(software.amazon.awssdk.services.apprunner.model.ListServicesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListServicesRequest.Builder} avoiding the need to * create one manually via {@link ListServicesRequest#builder()} *

* * @param listServicesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListServicesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListServices * @see AWS API * Documentation */ default ListServicesPublisher listServicesPaginator(Consumer listServicesRequest) { return listServicesPaginator(ListServicesRequest.builder().applyMutation(listServicesRequest).build()); } /** *

* List tags that are associated with for an App Runner resource. The response contains a list of tag key-value * pairs. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListTagsForResource * @see AWS * API Documentation */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListTagsForResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListTagsForResource * @see AWS * API Documentation */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Returns a list of App Runner VPC connectors in your Amazon Web Services account. *

* * @param listVpcConnectorsRequest * @return A Java Future containing the result of the ListVpcConnectors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListVpcConnectors * @see AWS * API Documentation */ default CompletableFuture listVpcConnectors(ListVpcConnectorsRequest listVpcConnectorsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of App Runner VPC connectors in your Amazon Web Services account. *

*
*

* This is a convenience which creates an instance of the {@link ListVpcConnectorsRequest.Builder} avoiding the need * to create one manually via {@link ListVpcConnectorsRequest#builder()} *

* * @param listVpcConnectorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListVpcConnectors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListVpcConnectors * @see AWS * API Documentation */ default CompletableFuture listVpcConnectors( Consumer listVpcConnectorsRequest) { return listVpcConnectors(ListVpcConnectorsRequest.builder().applyMutation(listVpcConnectorsRequest).build()); } /** *

* This is a variant of * {@link #listVpcConnectors(software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListVpcConnectorsPublisher publisher = client.listVpcConnectorsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListVpcConnectorsPublisher publisher = client.listVpcConnectorsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listVpcConnectors(software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest)} * operation. *

* * @param listVpcConnectorsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListVpcConnectors * @see AWS * API Documentation */ default ListVpcConnectorsPublisher listVpcConnectorsPaginator(ListVpcConnectorsRequest listVpcConnectorsRequest) { return new ListVpcConnectorsPublisher(this, listVpcConnectorsRequest); } /** *

* This is a variant of * {@link #listVpcConnectors(software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest)} operation. * The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will * internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListVpcConnectorsPublisher publisher = client.listVpcConnectorsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListVpcConnectorsPublisher publisher = client.listVpcConnectorsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listVpcConnectors(software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListVpcConnectorsRequest.Builder} avoiding the need * to create one manually via {@link ListVpcConnectorsRequest#builder()} *

* * @param listVpcConnectorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListVpcConnectorsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListVpcConnectors * @see AWS * API Documentation */ default ListVpcConnectorsPublisher listVpcConnectorsPaginator( Consumer listVpcConnectorsRequest) { return listVpcConnectorsPaginator(ListVpcConnectorsRequest.builder().applyMutation(listVpcConnectorsRequest).build()); } /** *

* Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account. *

* * @param listVpcIngressConnectionsRequest * @return A Java Future containing the result of the ListVpcIngressConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListVpcIngressConnections * @see AWS API Documentation */ default CompletableFuture listVpcIngressConnections( ListVpcIngressConnectionsRequest listVpcIngressConnectionsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListVpcIngressConnectionsRequest.Builder} avoiding * the need to create one manually via {@link ListVpcIngressConnectionsRequest#builder()} *

* * @param listVpcIngressConnectionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListVpcIngressConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListVpcIngressConnections * @see AWS API Documentation */ default CompletableFuture listVpcIngressConnections( Consumer listVpcIngressConnectionsRequest) { return listVpcIngressConnections(ListVpcIngressConnectionsRequest.builder() .applyMutation(listVpcIngressConnectionsRequest).build()); } /** *

* This is a variant of * {@link #listVpcIngressConnections(software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListVpcIngressConnectionsPublisher publisher = client.listVpcIngressConnectionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListVpcIngressConnectionsPublisher publisher = client.listVpcIngressConnectionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listVpcIngressConnections(software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest)} * operation. *

* * @param listVpcIngressConnectionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListVpcIngressConnections * @see AWS API Documentation */ default ListVpcIngressConnectionsPublisher listVpcIngressConnectionsPaginator( ListVpcIngressConnectionsRequest listVpcIngressConnectionsRequest) { return new ListVpcIngressConnectionsPublisher(this, listVpcIngressConnectionsRequest); } /** *

* This is a variant of * {@link #listVpcIngressConnections(software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListVpcIngressConnectionsPublisher publisher = client.listVpcIngressConnectionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.apprunner.paginators.ListVpcIngressConnectionsPublisher publisher = client.listVpcIngressConnectionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* 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 * {@link #listVpcIngressConnections(software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListVpcIngressConnectionsRequest.Builder} avoiding * the need to create one manually via {@link ListVpcIngressConnectionsRequest#builder()} *

* * @param listVpcIngressConnectionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ListVpcIngressConnectionsRequest.Builder} to create * a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ListVpcIngressConnections * @see AWS API Documentation */ default ListVpcIngressConnectionsPublisher listVpcIngressConnectionsPaginator( Consumer listVpcIngressConnectionsRequest) { return listVpcIngressConnectionsPaginator(ListVpcIngressConnectionsRequest.builder() .applyMutation(listVpcIngressConnectionsRequest).build()); } /** *

* 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. *

* * @param pauseServiceRequest * @return A Java Future containing the result of the PauseService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.PauseService * @see AWS API * Documentation */ default CompletableFuture pauseService(PauseServiceRequest pauseServiceRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link PauseServiceRequest.Builder} avoiding the need to * create one manually via {@link PauseServiceRequest#builder()} *

* * @param pauseServiceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.PauseServiceRequest.Builder} to create a request. * @return A Java Future containing the result of the PauseService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.PauseService * @see AWS API * Documentation */ default CompletableFuture pauseService(Consumer pauseServiceRequest) { return pauseService(PauseServiceRequest.builder().applyMutation(pauseServiceRequest).build()); } /** *

* 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. *

* * @param resumeServiceRequest * @return A Java Future containing the result of the ResumeService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ResumeService * @see AWS API * Documentation */ default CompletableFuture resumeService(ResumeServiceRequest resumeServiceRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ResumeServiceRequest.Builder} avoiding the need to * create one manually via {@link ResumeServiceRequest#builder()} *

* * @param resumeServiceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.ResumeServiceRequest.Builder} to create a request. * @return A Java Future containing the result of the ResumeService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.ResumeService * @see AWS API * Documentation */ default CompletableFuture resumeService(Consumer resumeServiceRequest) { return resumeService(ResumeServiceRequest.builder().applyMutation(resumeServiceRequest).build()); } /** *

* 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. *

* * @param startDeploymentRequest * @return A Java Future containing the result of the StartDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.StartDeployment * @see AWS API * Documentation */ default CompletableFuture startDeployment(StartDeploymentRequest startDeploymentRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link StartDeploymentRequest.Builder} avoiding the need * to create one manually via {@link StartDeploymentRequest#builder()} *

* * @param startDeploymentRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.StartDeploymentRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.StartDeployment * @see AWS API * Documentation */ default CompletableFuture startDeployment( Consumer startDeploymentRequest) { return startDeployment(StartDeploymentRequest.builder().applyMutation(startDeploymentRequest).build()); } /** *

* Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.TagResource * @see AWS API * Documentation */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.TagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.TagResource * @see AWS API * Documentation */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Remove tags from an App Runner resource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.UntagResource * @see AWS API * Documentation */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Remove tags from an App Runner resource. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.UntagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.UntagResource * @see AWS API * Documentation */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Update an auto scaling configuration to be the default. The existing default auto scaling configuration will be * set to non-default automatically. *

* * @param updateDefaultAutoScalingConfigurationRequest * @return A Java Future containing the result of the UpdateDefaultAutoScalingConfiguration operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.UpdateDefaultAutoScalingConfiguration * @see AWS API Documentation */ default CompletableFuture updateDefaultAutoScalingConfiguration( UpdateDefaultAutoScalingConfigurationRequest updateDefaultAutoScalingConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* 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 * {@link UpdateDefaultAutoScalingConfigurationRequest.Builder} avoiding the need to create one manually via * {@link UpdateDefaultAutoScalingConfigurationRequest#builder()} *

* * @param updateDefaultAutoScalingConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.UpdateDefaultAutoScalingConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateDefaultAutoScalingConfiguration operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.UpdateDefaultAutoScalingConfiguration * @see AWS API Documentation */ default CompletableFuture updateDefaultAutoScalingConfiguration( Consumer updateDefaultAutoScalingConfigurationRequest) { return updateDefaultAutoScalingConfiguration(UpdateDefaultAutoScalingConfigurationRequest.builder() .applyMutation(updateDefaultAutoScalingConfigurationRequest).build()); } /** *

* 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. *

* * @param updateServiceRequest * @return A Java Future containing the result of the UpdateService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.UpdateService * @see AWS API * Documentation */ default CompletableFuture updateService(UpdateServiceRequest updateServiceRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link UpdateServiceRequest.Builder} avoiding the need to * create one manually via {@link UpdateServiceRequest#builder()} *

* * @param updateServiceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.UpdateServiceRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateService operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.UpdateService * @see AWS API * Documentation */ default CompletableFuture updateService(Consumer updateServiceRequest) { return updateService(UpdateServiceRequest.builder().applyMutation(updateServiceRequest).build()); } /** *

* 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 *

    *
  • *
* * @param updateVpcIngressConnectionRequest * @return A Java Future containing the result of the UpdateVpcIngressConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.UpdateVpcIngressConnection * @see AWS API Documentation */ default CompletableFuture updateVpcIngressConnection( UpdateVpcIngressConnectionRequest updateVpcIngressConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link UpdateVpcIngressConnectionRequest.Builder} avoiding * the need to create one manually via {@link UpdateVpcIngressConnectionRequest#builder()} *

* * @param updateVpcIngressConnectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.apprunner.model.UpdateVpcIngressConnectionRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateVpcIngressConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException One or more input parameters aren't valid. Refer to the API action's document * page, correct the input parameters, and try the action again.
  • *
  • ResourceNotFoundException A resource doesn't exist for the specified Amazon Resource Name (ARN) in * your Amazon Web Services account.
  • *
  • InvalidStateException You can't perform this action when the resource is in its current state.
  • *
  • InternalServiceErrorException An unexpected service exception occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • AppRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample AppRunnerAsyncClient.UpdateVpcIngressConnection * @see AWS API Documentation */ default CompletableFuture updateVpcIngressConnection( Consumer updateVpcIngressConnectionRequest) { return updateVpcIngressConnection(UpdateVpcIngressConnectionRequest.builder() .applyMutation(updateVpcIngressConnectionRequest).build()); } @Override default AppRunnerServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * Create a {@link AppRunnerAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static AppRunnerAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link AppRunnerAsyncClient}. */ static AppRunnerAsyncClientBuilder builder() { return new DefaultAppRunnerAsyncClientBuilder(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy