
software.amazon.awssdk.services.appconfig.AppConfigAsyncClient Maven / Gradle / Ivy
/*
* 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.appconfig;
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.appconfig.model.CreateApplicationRequest;
import software.amazon.awssdk.services.appconfig.model.CreateApplicationResponse;
import software.amazon.awssdk.services.appconfig.model.CreateConfigurationProfileRequest;
import software.amazon.awssdk.services.appconfig.model.CreateConfigurationProfileResponse;
import software.amazon.awssdk.services.appconfig.model.CreateDeploymentStrategyRequest;
import software.amazon.awssdk.services.appconfig.model.CreateDeploymentStrategyResponse;
import software.amazon.awssdk.services.appconfig.model.CreateEnvironmentRequest;
import software.amazon.awssdk.services.appconfig.model.CreateEnvironmentResponse;
import software.amazon.awssdk.services.appconfig.model.CreateExtensionAssociationRequest;
import software.amazon.awssdk.services.appconfig.model.CreateExtensionAssociationResponse;
import software.amazon.awssdk.services.appconfig.model.CreateExtensionRequest;
import software.amazon.awssdk.services.appconfig.model.CreateExtensionResponse;
import software.amazon.awssdk.services.appconfig.model.CreateHostedConfigurationVersionRequest;
import software.amazon.awssdk.services.appconfig.model.CreateHostedConfigurationVersionResponse;
import software.amazon.awssdk.services.appconfig.model.DeleteApplicationRequest;
import software.amazon.awssdk.services.appconfig.model.DeleteApplicationResponse;
import software.amazon.awssdk.services.appconfig.model.DeleteConfigurationProfileRequest;
import software.amazon.awssdk.services.appconfig.model.DeleteConfigurationProfileResponse;
import software.amazon.awssdk.services.appconfig.model.DeleteDeploymentStrategyRequest;
import software.amazon.awssdk.services.appconfig.model.DeleteDeploymentStrategyResponse;
import software.amazon.awssdk.services.appconfig.model.DeleteEnvironmentRequest;
import software.amazon.awssdk.services.appconfig.model.DeleteEnvironmentResponse;
import software.amazon.awssdk.services.appconfig.model.DeleteExtensionAssociationRequest;
import software.amazon.awssdk.services.appconfig.model.DeleteExtensionAssociationResponse;
import software.amazon.awssdk.services.appconfig.model.DeleteExtensionRequest;
import software.amazon.awssdk.services.appconfig.model.DeleteExtensionResponse;
import software.amazon.awssdk.services.appconfig.model.DeleteHostedConfigurationVersionRequest;
import software.amazon.awssdk.services.appconfig.model.DeleteHostedConfigurationVersionResponse;
import software.amazon.awssdk.services.appconfig.model.GetApplicationRequest;
import software.amazon.awssdk.services.appconfig.model.GetApplicationResponse;
import software.amazon.awssdk.services.appconfig.model.GetConfigurationProfileRequest;
import software.amazon.awssdk.services.appconfig.model.GetConfigurationProfileResponse;
import software.amazon.awssdk.services.appconfig.model.GetConfigurationRequest;
import software.amazon.awssdk.services.appconfig.model.GetConfigurationResponse;
import software.amazon.awssdk.services.appconfig.model.GetDeploymentRequest;
import software.amazon.awssdk.services.appconfig.model.GetDeploymentResponse;
import software.amazon.awssdk.services.appconfig.model.GetDeploymentStrategyRequest;
import software.amazon.awssdk.services.appconfig.model.GetDeploymentStrategyResponse;
import software.amazon.awssdk.services.appconfig.model.GetEnvironmentRequest;
import software.amazon.awssdk.services.appconfig.model.GetEnvironmentResponse;
import software.amazon.awssdk.services.appconfig.model.GetExtensionAssociationRequest;
import software.amazon.awssdk.services.appconfig.model.GetExtensionAssociationResponse;
import software.amazon.awssdk.services.appconfig.model.GetExtensionRequest;
import software.amazon.awssdk.services.appconfig.model.GetExtensionResponse;
import software.amazon.awssdk.services.appconfig.model.GetHostedConfigurationVersionRequest;
import software.amazon.awssdk.services.appconfig.model.GetHostedConfigurationVersionResponse;
import software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest;
import software.amazon.awssdk.services.appconfig.model.ListApplicationsResponse;
import software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest;
import software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesResponse;
import software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest;
import software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesResponse;
import software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest;
import software.amazon.awssdk.services.appconfig.model.ListDeploymentsResponse;
import software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest;
import software.amazon.awssdk.services.appconfig.model.ListEnvironmentsResponse;
import software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest;
import software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsResponse;
import software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest;
import software.amazon.awssdk.services.appconfig.model.ListExtensionsResponse;
import software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest;
import software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsResponse;
import software.amazon.awssdk.services.appconfig.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.appconfig.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.appconfig.model.StartDeploymentRequest;
import software.amazon.awssdk.services.appconfig.model.StartDeploymentResponse;
import software.amazon.awssdk.services.appconfig.model.StopDeploymentRequest;
import software.amazon.awssdk.services.appconfig.model.StopDeploymentResponse;
import software.amazon.awssdk.services.appconfig.model.TagResourceRequest;
import software.amazon.awssdk.services.appconfig.model.TagResourceResponse;
import software.amazon.awssdk.services.appconfig.model.UntagResourceRequest;
import software.amazon.awssdk.services.appconfig.model.UntagResourceResponse;
import software.amazon.awssdk.services.appconfig.model.UpdateApplicationRequest;
import software.amazon.awssdk.services.appconfig.model.UpdateApplicationResponse;
import software.amazon.awssdk.services.appconfig.model.UpdateConfigurationProfileRequest;
import software.amazon.awssdk.services.appconfig.model.UpdateConfigurationProfileResponse;
import software.amazon.awssdk.services.appconfig.model.UpdateDeploymentStrategyRequest;
import software.amazon.awssdk.services.appconfig.model.UpdateDeploymentStrategyResponse;
import software.amazon.awssdk.services.appconfig.model.UpdateEnvironmentRequest;
import software.amazon.awssdk.services.appconfig.model.UpdateEnvironmentResponse;
import software.amazon.awssdk.services.appconfig.model.UpdateExtensionAssociationRequest;
import software.amazon.awssdk.services.appconfig.model.UpdateExtensionAssociationResponse;
import software.amazon.awssdk.services.appconfig.model.UpdateExtensionRequest;
import software.amazon.awssdk.services.appconfig.model.UpdateExtensionResponse;
import software.amazon.awssdk.services.appconfig.model.ValidateConfigurationRequest;
import software.amazon.awssdk.services.appconfig.model.ValidateConfigurationResponse;
import software.amazon.awssdk.services.appconfig.paginators.ListApplicationsPublisher;
import software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesPublisher;
import software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesPublisher;
import software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsPublisher;
import software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsPublisher;
import software.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsPublisher;
import software.amazon.awssdk.services.appconfig.paginators.ListExtensionsPublisher;
import software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsPublisher;
/**
* Service client for accessing AppConfig asynchronously. This can be created using the static {@link #builder()}
* method.
*
*
* Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, and quickly deploy application
* configurations. AppConfig supports controlled deployments to applications of any size and includes built-in
* validation checks and monitoring. You can use AppConfig with applications hosted on Amazon EC2 instances, Lambda,
* containers, mobile applications, or IoT devices.
*
*
* To prevent errors when deploying application configurations, especially for production systems where a simple typo
* could cause an unexpected outage, AppConfig includes validators. A validator provides a syntactic or semantic check
* to ensure that the configuration you want to deploy works as intended. To validate your application configuration
* data, you provide a schema or an Amazon Web Services Lambda function that runs against the configuration. The
* configuration deployment or update can only proceed when the configuration data is valid.
*
*
* During a configuration deployment, AppConfig monitors the application to ensure that the deployment is successful. If
* the system encounters an error, AppConfig rolls back the change to minimize impact for your application users. You
* can configure a deployment strategy for each application or environment that includes deployment criteria, including
* velocity, bake time, and alarms to monitor. Similar to error monitoring, if a deployment triggers an alarm, AppConfig
* automatically rolls back to the previous version.
*
*
* AppConfig supports multiple use cases. Here are some examples:
*
*
* -
*
* Feature flags: Use AppConfig to turn on new features that require a timely deployment, such as a product
* launch or announcement.
*
*
* -
*
* Application tuning: Use AppConfig to carefully introduce changes to your application that can only be tested
* with production traffic.
*
*
* -
*
* Allow list: Use AppConfig to allow premium subscribers to access paid content.
*
*
* -
*
* Operational issues: Use AppConfig to reduce stress on your application when a dependency or other external
* factor impacts the system.
*
*
*
*
* This reference is intended to be used with the AppConfig User Guide.
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface AppConfigAsyncClient extends AwsClient {
String SERVICE_NAME = "appconfig";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "appconfig";
/**
*
* Creates an application. In AppConfig, an application is simply an organizational construct like a folder. This
* organizational construct has a relationship with some unit of executable code. For example, you could create an
* application called MyMobileApp to organize and manage configuration data for a mobile application installed by
* your users.
*
*
* @param createApplicationRequest
* @return A Java Future containing the result of the CreateApplication operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateApplication
* @see AWS
* API Documentation
*/
default CompletableFuture createApplication(CreateApplicationRequest createApplicationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an application. In AppConfig, an application is simply an organizational construct like a folder. This
* organizational construct has a relationship with some unit of executable code. For example, you could create an
* application called MyMobileApp to organize and manage configuration data for a mobile application installed by
* your users.
*
*
*
* This is a convenience which creates an instance of the {@link CreateApplicationRequest.Builder} avoiding the need
* to create one manually via {@link CreateApplicationRequest#builder()}
*
*
* @param createApplicationRequest
* A {@link Consumer} that will call methods on {@link CreateApplicationRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateApplication operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateApplication
* @see AWS
* API Documentation
*/
default CompletableFuture createApplication(
Consumer createApplicationRequest) {
return createApplication(CreateApplicationRequest.builder().applyMutation(createApplicationRequest).build());
}
/**
*
* Creates a configuration profile, which is information that enables AppConfig to access the configuration source.
* Valid configuration sources include the following:
*
*
* -
*
* Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted configuration store
*
*
* -
*
* Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) bucket
*
*
* -
*
* Pipelines stored in CodePipeline
*
*
* -
*
* Secrets stored in Secrets Manager
*
*
* -
*
* Standard and secure string parameters stored in Amazon Web Services Systems Manager Parameter Store
*
*
* -
*
* Configuration data in SSM documents stored in the Systems Manager document store
*
*
*
*
* A configuration profile includes the following information:
*
*
* -
*
* The URI location of the configuration data.
*
*
* -
*
* The Identity and Access Management (IAM) role that provides access to the configuration data.
*
*
* -
*
* A validator for the configuration data. Available validators include either a JSON Schema or an Amazon Web
* Services Lambda function.
*
*
*
*
* For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide.
*
*
* @param createConfigurationProfileRequest
* @return A Java Future containing the result of the CreateConfigurationProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateConfigurationProfile
* @see AWS API Documentation
*/
default CompletableFuture createConfigurationProfile(
CreateConfigurationProfileRequest createConfigurationProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a configuration profile, which is information that enables AppConfig to access the configuration source.
* Valid configuration sources include the following:
*
*
* -
*
* Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted configuration store
*
*
* -
*
* Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) bucket
*
*
* -
*
* Pipelines stored in CodePipeline
*
*
* -
*
* Secrets stored in Secrets Manager
*
*
* -
*
* Standard and secure string parameters stored in Amazon Web Services Systems Manager Parameter Store
*
*
* -
*
* Configuration data in SSM documents stored in the Systems Manager document store
*
*
*
*
* A configuration profile includes the following information:
*
*
* -
*
* The URI location of the configuration data.
*
*
* -
*
* The Identity and Access Management (IAM) role that provides access to the configuration data.
*
*
* -
*
* A validator for the configuration data. Available validators include either a JSON Schema or an Amazon Web
* Services Lambda function.
*
*
*
*
* For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link CreateConfigurationProfileRequest.Builder} avoiding
* the need to create one manually via {@link CreateConfigurationProfileRequest#builder()}
*
*
* @param createConfigurationProfileRequest
* A {@link Consumer} that will call methods on {@link CreateConfigurationProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateConfigurationProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateConfigurationProfile
* @see AWS API Documentation
*/
default CompletableFuture createConfigurationProfile(
Consumer createConfigurationProfileRequest) {
return createConfigurationProfile(CreateConfigurationProfileRequest.builder()
.applyMutation(createConfigurationProfileRequest).build());
}
/**
*
* Creates a deployment strategy that defines important criteria for rolling out your configuration to the
* designated targets. A deployment strategy includes the overall duration required, a percentage of targets to
* receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.
*
*
* @param createDeploymentStrategyRequest
* @return A Java Future containing the result of the CreateDeploymentStrategy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateDeploymentStrategy
* @see AWS API Documentation
*/
default CompletableFuture createDeploymentStrategy(
CreateDeploymentStrategyRequest createDeploymentStrategyRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a deployment strategy that defines important criteria for rolling out your configuration to the
* designated targets. A deployment strategy includes the overall duration required, a percentage of targets to
* receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.
*
*
*
* This is a convenience which creates an instance of the {@link CreateDeploymentStrategyRequest.Builder} avoiding
* the need to create one manually via {@link CreateDeploymentStrategyRequest#builder()}
*
*
* @param createDeploymentStrategyRequest
* A {@link Consumer} that will call methods on {@link CreateDeploymentStrategyRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateDeploymentStrategy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateDeploymentStrategy
* @see AWS API Documentation
*/
default CompletableFuture createDeploymentStrategy(
Consumer createDeploymentStrategyRequest) {
return createDeploymentStrategy(CreateDeploymentStrategyRequest.builder().applyMutation(createDeploymentStrategyRequest)
.build());
}
/**
*
* Creates an environment. For each application, you define one or more environments. An environment is a deployment
* group of AppConfig targets, such as applications in a Beta
or Production
environment.
* You can also define environments for application subcomponents such as the Web
, Mobile
* and Back-end
components for your application. You can configure Amazon CloudWatch alarms for each
* environment. The system monitors alarms during a configuration deployment. If an alarm is triggered, the system
* rolls back the configuration.
*
*
* @param createEnvironmentRequest
* @return A Java Future containing the result of the CreateEnvironment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - ResourceNotFoundException The requested resource could not be found.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateEnvironment
* @see AWS
* API Documentation
*/
default CompletableFuture createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an environment. For each application, you define one or more environments. An environment is a deployment
* group of AppConfig targets, such as applications in a Beta
or Production
environment.
* You can also define environments for application subcomponents such as the Web
, Mobile
* and Back-end
components for your application. You can configure Amazon CloudWatch alarms for each
* environment. The system monitors alarms during a configuration deployment. If an alarm is triggered, the system
* rolls back the configuration.
*
*
*
* This is a convenience which creates an instance of the {@link CreateEnvironmentRequest.Builder} avoiding the need
* to create one manually via {@link CreateEnvironmentRequest#builder()}
*
*
* @param createEnvironmentRequest
* A {@link Consumer} that will call methods on {@link CreateEnvironmentRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateEnvironment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - ResourceNotFoundException The requested resource could not be found.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateEnvironment
* @see AWS
* API Documentation
*/
default CompletableFuture createEnvironment(
Consumer createEnvironmentRequest) {
return createEnvironment(CreateEnvironmentRequest.builder().applyMutation(createEnvironmentRequest).build());
}
/**
*
* Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different
* points during the AppConfig workflow of creating or deploying a configuration.
*
*
* You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For
* most use cases, to create your own extension, you must create an Lambda function to perform any computation and
* processing defined in the extension. For more information about extensions, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
* @param createExtensionRequest
* @return A Java Future containing the result of the CreateExtension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceQuotaExceededException The number of hosted configuration versions exceeds the limit for the
* AppConfig hosted configuration store. Delete one or more versions and try again.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateExtension
* @see AWS API
* Documentation
*/
default CompletableFuture createExtension(CreateExtensionRequest createExtensionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different
* points during the AppConfig workflow of creating or deploying a configuration.
*
*
* You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For
* most use cases, to create your own extension, you must create an Lambda function to perform any computation and
* processing defined in the extension. For more information about extensions, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link CreateExtensionRequest.Builder} avoiding the need
* to create one manually via {@link CreateExtensionRequest#builder()}
*
*
* @param createExtensionRequest
* A {@link Consumer} that will call methods on {@link CreateExtensionRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateExtension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceQuotaExceededException The number of hosted configuration versions exceeds the limit for the
* AppConfig hosted configuration store. Delete one or more versions and try again.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateExtension
* @see AWS API
* Documentation
*/
default CompletableFuture createExtension(
Consumer createExtensionRequest) {
return createExtension(CreateExtensionRequest.builder().applyMutation(createExtensionRequest).build());
}
/**
*
* When you create an extension or configure an Amazon Web Services authored extension, you associate the extension
* with an AppConfig application, environment, or configuration profile. For example, you can choose to run the
* AppConfig deployment events to Amazon SNS
Amazon Web Services authored extension and receive
* notifications on an Amazon SNS topic anytime a configuration deployment is started for a specific application.
* Defining which extension to associate with an AppConfig resource is called an extension association. An
* extension association is a specified relationship between an extension and an AppConfig resource, such as an
* application or a configuration profile. For more information about extensions and associations, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
* @param createExtensionAssociationRequest
* @return A Java Future containing the result of the CreateExtensionAssociation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - ServiceQuotaExceededException The number of hosted configuration versions exceeds the limit for the
* AppConfig hosted configuration store. Delete one or more versions and try again.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateExtensionAssociation
* @see AWS API Documentation
*/
default CompletableFuture createExtensionAssociation(
CreateExtensionAssociationRequest createExtensionAssociationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* When you create an extension or configure an Amazon Web Services authored extension, you associate the extension
* with an AppConfig application, environment, or configuration profile. For example, you can choose to run the
* AppConfig deployment events to Amazon SNS
Amazon Web Services authored extension and receive
* notifications on an Amazon SNS topic anytime a configuration deployment is started for a specific application.
* Defining which extension to associate with an AppConfig resource is called an extension association. An
* extension association is a specified relationship between an extension and an AppConfig resource, such as an
* application or a configuration profile. For more information about extensions and associations, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link CreateExtensionAssociationRequest.Builder} avoiding
* the need to create one manually via {@link CreateExtensionAssociationRequest#builder()}
*
*
* @param createExtensionAssociationRequest
* A {@link Consumer} that will call methods on {@link CreateExtensionAssociationRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateExtensionAssociation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - ServiceQuotaExceededException The number of hosted configuration versions exceeds the limit for the
* AppConfig hosted configuration store. Delete one or more versions and try again.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateExtensionAssociation
* @see AWS API Documentation
*/
default CompletableFuture createExtensionAssociation(
Consumer createExtensionAssociationRequest) {
return createExtensionAssociation(CreateExtensionAssociationRequest.builder()
.applyMutation(createExtensionAssociationRequest).build());
}
/**
*
* Creates a new configuration in the AppConfig hosted configuration store.
*
*
* @param createHostedConfigurationVersionRequest
* @return A Java Future containing the result of the CreateHostedConfigurationVersion operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ServiceQuotaExceededException The number of hosted configuration versions exceeds the limit for the
* AppConfig hosted configuration store. Delete one or more versions and try again.
* - ResourceNotFoundException The requested resource could not be found.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - PayloadTooLargeException The configuration size is too large.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateHostedConfigurationVersion
* @see AWS API Documentation
*/
default CompletableFuture createHostedConfigurationVersion(
CreateHostedConfigurationVersionRequest createHostedConfigurationVersionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new configuration in the AppConfig hosted configuration store.
*
*
*
* This is a convenience which creates an instance of the {@link CreateHostedConfigurationVersionRequest.Builder}
* avoiding the need to create one manually via {@link CreateHostedConfigurationVersionRequest#builder()}
*
*
* @param createHostedConfigurationVersionRequest
* A {@link Consumer} that will call methods on {@link CreateHostedConfigurationVersionRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the CreateHostedConfigurationVersion operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ServiceQuotaExceededException The number of hosted configuration versions exceeds the limit for the
* AppConfig hosted configuration store. Delete one or more versions and try again.
* - ResourceNotFoundException The requested resource could not be found.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - PayloadTooLargeException The configuration size is too large.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.CreateHostedConfigurationVersion
* @see AWS API Documentation
*/
default CompletableFuture createHostedConfigurationVersion(
Consumer createHostedConfigurationVersionRequest) {
return createHostedConfigurationVersion(CreateHostedConfigurationVersionRequest.builder()
.applyMutation(createHostedConfigurationVersionRequest).build());
}
/**
*
* Deletes an application. Deleting an application does not delete a configuration from a host.
*
*
* @param deleteApplicationRequest
* @return A Java Future containing the result of the DeleteApplication operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteApplication
* @see AWS
* API Documentation
*/
default CompletableFuture deleteApplication(DeleteApplicationRequest deleteApplicationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an application. Deleting an application does not delete a configuration from a host.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteApplicationRequest.Builder} avoiding the need
* to create one manually via {@link DeleteApplicationRequest#builder()}
*
*
* @param deleteApplicationRequest
* A {@link Consumer} that will call methods on {@link DeleteApplicationRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteApplication operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteApplication
* @see AWS
* API Documentation
*/
default CompletableFuture deleteApplication(
Consumer deleteApplicationRequest) {
return deleteApplication(DeleteApplicationRequest.builder().applyMutation(deleteApplicationRequest).build());
}
/**
*
* Deletes a configuration profile. Deleting a configuration profile does not delete a configuration from a host.
*
*
* @param deleteConfigurationProfileRequest
* @return A Java Future containing the result of the DeleteConfigurationProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteConfigurationProfile
* @see AWS API Documentation
*/
default CompletableFuture deleteConfigurationProfile(
DeleteConfigurationProfileRequest deleteConfigurationProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a configuration profile. Deleting a configuration profile does not delete a configuration from a host.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteConfigurationProfileRequest.Builder} avoiding
* the need to create one manually via {@link DeleteConfigurationProfileRequest#builder()}
*
*
* @param deleteConfigurationProfileRequest
* A {@link Consumer} that will call methods on {@link DeleteConfigurationProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteConfigurationProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteConfigurationProfile
* @see AWS API Documentation
*/
default CompletableFuture deleteConfigurationProfile(
Consumer deleteConfigurationProfileRequest) {
return deleteConfigurationProfile(DeleteConfigurationProfileRequest.builder()
.applyMutation(deleteConfigurationProfileRequest).build());
}
/**
*
* Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.
*
*
* @param deleteDeploymentStrategyRequest
* @return A Java Future containing the result of the DeleteDeploymentStrategy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteDeploymentStrategy
* @see AWS API Documentation
*/
default CompletableFuture deleteDeploymentStrategy(
DeleteDeploymentStrategyRequest deleteDeploymentStrategyRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteDeploymentStrategyRequest.Builder} avoiding
* the need to create one manually via {@link DeleteDeploymentStrategyRequest#builder()}
*
*
* @param deleteDeploymentStrategyRequest
* A {@link Consumer} that will call methods on {@link DeleteDeploymentStrategyRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteDeploymentStrategy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteDeploymentStrategy
* @see AWS API Documentation
*/
default CompletableFuture deleteDeploymentStrategy(
Consumer deleteDeploymentStrategyRequest) {
return deleteDeploymentStrategy(DeleteDeploymentStrategyRequest.builder().applyMutation(deleteDeploymentStrategyRequest)
.build());
}
/**
*
* Deletes an environment. Deleting an environment does not delete a configuration from a host.
*
*
* @param deleteEnvironmentRequest
* @return A Java Future containing the result of the DeleteEnvironment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteEnvironment
* @see AWS
* API Documentation
*/
default CompletableFuture deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an environment. Deleting an environment does not delete a configuration from a host.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteEnvironmentRequest.Builder} avoiding the need
* to create one manually via {@link DeleteEnvironmentRequest#builder()}
*
*
* @param deleteEnvironmentRequest
* A {@link Consumer} that will call methods on {@link DeleteEnvironmentRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteEnvironment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteEnvironment
* @see AWS
* API Documentation
*/
default CompletableFuture deleteEnvironment(
Consumer deleteEnvironmentRequest) {
return deleteEnvironment(DeleteEnvironmentRequest.builder().applyMutation(deleteEnvironmentRequest).build());
}
/**
*
* Deletes an AppConfig extension. You must delete all associations to an extension before you delete the extension.
*
*
* @param deleteExtensionRequest
* @return A Java Future containing the result of the DeleteExtension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteExtension
* @see AWS API
* Documentation
*/
default CompletableFuture deleteExtension(DeleteExtensionRequest deleteExtensionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an AppConfig extension. You must delete all associations to an extension before you delete the extension.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteExtensionRequest.Builder} avoiding the need
* to create one manually via {@link DeleteExtensionRequest#builder()}
*
*
* @param deleteExtensionRequest
* A {@link Consumer} that will call methods on {@link DeleteExtensionRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteExtension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteExtension
* @see AWS API
* Documentation
*/
default CompletableFuture deleteExtension(
Consumer deleteExtensionRequest) {
return deleteExtension(DeleteExtensionRequest.builder().applyMutation(deleteExtensionRequest).build());
}
/**
*
* Deletes an extension association. This action doesn't delete extensions defined in the association.
*
*
* @param deleteExtensionAssociationRequest
* @return A Java Future containing the result of the DeleteExtensionAssociation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteExtensionAssociation
* @see AWS API Documentation
*/
default CompletableFuture deleteExtensionAssociation(
DeleteExtensionAssociationRequest deleteExtensionAssociationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an extension association. This action doesn't delete extensions defined in the association.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteExtensionAssociationRequest.Builder} avoiding
* the need to create one manually via {@link DeleteExtensionAssociationRequest#builder()}
*
*
* @param deleteExtensionAssociationRequest
* A {@link Consumer} that will call methods on {@link DeleteExtensionAssociationRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteExtensionAssociation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteExtensionAssociation
* @see AWS API Documentation
*/
default CompletableFuture deleteExtensionAssociation(
Consumer deleteExtensionAssociationRequest) {
return deleteExtensionAssociation(DeleteExtensionAssociationRequest.builder()
.applyMutation(deleteExtensionAssociationRequest).build());
}
/**
*
* Deletes a version of a configuration from the AppConfig hosted configuration store.
*
*
* @param deleteHostedConfigurationVersionRequest
* @return A Java Future containing the result of the DeleteHostedConfigurationVersion operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteHostedConfigurationVersion
* @see AWS API Documentation
*/
default CompletableFuture deleteHostedConfigurationVersion(
DeleteHostedConfigurationVersionRequest deleteHostedConfigurationVersionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a version of a configuration from the AppConfig hosted configuration store.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteHostedConfigurationVersionRequest.Builder}
* avoiding the need to create one manually via {@link DeleteHostedConfigurationVersionRequest#builder()}
*
*
* @param deleteHostedConfigurationVersionRequest
* A {@link Consumer} that will call methods on {@link DeleteHostedConfigurationVersionRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DeleteHostedConfigurationVersion operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.DeleteHostedConfigurationVersion
* @see AWS API Documentation
*/
default CompletableFuture deleteHostedConfigurationVersion(
Consumer deleteHostedConfigurationVersionRequest) {
return deleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest.builder()
.applyMutation(deleteHostedConfigurationVersionRequest).build());
}
/**
*
* Retrieves information about an application.
*
*
* @param getApplicationRequest
* @return A Java Future containing the result of the GetApplication operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetApplication
* @see AWS API
* Documentation
*/
default CompletableFuture getApplication(GetApplicationRequest getApplicationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetApplicationRequest.Builder} avoiding the need to
* create one manually via {@link GetApplicationRequest#builder()}
*
*
* @param getApplicationRequest
* A {@link Consumer} that will call methods on {@link GetApplicationRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetApplication operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetApplication
* @see AWS API
* Documentation
*/
default CompletableFuture getApplication(Consumer getApplicationRequest) {
return getApplication(GetApplicationRequest.builder().applyMutation(getApplicationRequest).build());
}
/**
*
* (Deprecated) Retrieves the latest deployed configuration.
*
*
*
* Note the following important information.
*
*
* -
*
* This API action is deprecated. Calls to receive configuration data should use the StartConfigurationSession and GetLatestConfiguration APIs instead.
*
*
* -
*
* GetConfiguration
is a priced call. For more information, see Pricing.
*
*
*
*
*
* @param getConfigurationRequest
* @return A Java Future containing the result of the GetConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetConfiguration
* @see AWS
* API Documentation
*
* @deprecated This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with
* StartConfigurationSession.
*/
@Deprecated
default CompletableFuture getConfiguration(GetConfigurationRequest getConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* (Deprecated) Retrieves the latest deployed configuration.
*
*
*
* Note the following important information.
*
*
* -
*
* This API action is deprecated. Calls to receive configuration data should use the StartConfigurationSession and GetLatestConfiguration APIs instead.
*
*
* -
*
* GetConfiguration
is a priced call. For more information, see Pricing.
*
*
*
*
*
* This is a convenience which creates an instance of the {@link GetConfigurationRequest.Builder} avoiding the need
* to create one manually via {@link GetConfigurationRequest#builder()}
*
*
* @param getConfigurationRequest
* A {@link Consumer} that will call methods on {@link GetConfigurationRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetConfiguration
* @see AWS
* API Documentation
*
* @deprecated This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with
* StartConfigurationSession.
*/
@Deprecated
default CompletableFuture getConfiguration(
Consumer getConfigurationRequest) {
return getConfiguration(GetConfigurationRequest.builder().applyMutation(getConfigurationRequest).build());
}
/**
*
* Retrieves information about a configuration profile.
*
*
* @param getConfigurationProfileRequest
* @return A Java Future containing the result of the GetConfigurationProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetConfigurationProfile
* @see AWS API Documentation
*/
default CompletableFuture getConfigurationProfile(
GetConfigurationProfileRequest getConfigurationProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about a configuration profile.
*
*
*
* This is a convenience which creates an instance of the {@link GetConfigurationProfileRequest.Builder} avoiding
* the need to create one manually via {@link GetConfigurationProfileRequest#builder()}
*
*
* @param getConfigurationProfileRequest
* A {@link Consumer} that will call methods on {@link GetConfigurationProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetConfigurationProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetConfigurationProfile
* @see AWS API Documentation
*/
default CompletableFuture getConfigurationProfile(
Consumer getConfigurationProfileRequest) {
return getConfigurationProfile(GetConfigurationProfileRequest.builder().applyMutation(getConfigurationProfileRequest)
.build());
}
/**
*
* Retrieves information about a configuration deployment.
*
*
* @param getDeploymentRequest
* @return A Java Future containing the result of the GetDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetDeployment
* @see AWS API
* Documentation
*/
default CompletableFuture getDeployment(GetDeploymentRequest getDeploymentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about a configuration deployment.
*
*
*
* This is a convenience which creates an instance of the {@link GetDeploymentRequest.Builder} avoiding the need to
* create one manually via {@link GetDeploymentRequest#builder()}
*
*
* @param getDeploymentRequest
* A {@link Consumer} that will call methods on {@link GetDeploymentRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetDeployment
* @see AWS API
* Documentation
*/
default CompletableFuture getDeployment(Consumer getDeploymentRequest) {
return getDeployment(GetDeploymentRequest.builder().applyMutation(getDeploymentRequest).build());
}
/**
*
* Retrieves information about a deployment strategy. A deployment strategy defines important criteria for rolling
* out your configuration to the designated targets. A deployment strategy includes the overall duration required, a
* percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage
* grows, and bake time.
*
*
* @param getDeploymentStrategyRequest
* @return A Java Future containing the result of the GetDeploymentStrategy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetDeploymentStrategy
* @see AWS API Documentation
*/
default CompletableFuture getDeploymentStrategy(
GetDeploymentStrategyRequest getDeploymentStrategyRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about a deployment strategy. A deployment strategy defines important criteria for rolling
* out your configuration to the designated targets. A deployment strategy includes the overall duration required, a
* percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage
* grows, and bake time.
*
*
*
* This is a convenience which creates an instance of the {@link GetDeploymentStrategyRequest.Builder} avoiding the
* need to create one manually via {@link GetDeploymentStrategyRequest#builder()}
*
*
* @param getDeploymentStrategyRequest
* A {@link Consumer} that will call methods on {@link GetDeploymentStrategyRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetDeploymentStrategy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetDeploymentStrategy
* @see AWS API Documentation
*/
default CompletableFuture getDeploymentStrategy(
Consumer getDeploymentStrategyRequest) {
return getDeploymentStrategy(GetDeploymentStrategyRequest.builder().applyMutation(getDeploymentStrategyRequest).build());
}
/**
*
* Retrieves information about an environment. An environment is a deployment group of AppConfig applications, such
* as applications in a Production
environment or in an EU_Region
environment. Each
* configuration deployment targets an environment. You can enable one or more Amazon CloudWatch alarms for an
* environment. If an alarm is triggered during a deployment, AppConfig roles back the configuration.
*
*
* @param getEnvironmentRequest
* @return A Java Future containing the result of the GetEnvironment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetEnvironment
* @see AWS API
* Documentation
*/
default CompletableFuture getEnvironment(GetEnvironmentRequest getEnvironmentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about an environment. An environment is a deployment group of AppConfig applications, such
* as applications in a Production
environment or in an EU_Region
environment. Each
* configuration deployment targets an environment. You can enable one or more Amazon CloudWatch alarms for an
* environment. If an alarm is triggered during a deployment, AppConfig roles back the configuration.
*
*
*
* This is a convenience which creates an instance of the {@link GetEnvironmentRequest.Builder} avoiding the need to
* create one manually via {@link GetEnvironmentRequest#builder()}
*
*
* @param getEnvironmentRequest
* A {@link Consumer} that will call methods on {@link GetEnvironmentRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetEnvironment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetEnvironment
* @see AWS API
* Documentation
*/
default CompletableFuture getEnvironment(Consumer getEnvironmentRequest) {
return getEnvironment(GetEnvironmentRequest.builder().applyMutation(getEnvironmentRequest).build());
}
/**
*
* Returns information about an AppConfig extension.
*
*
* @param getExtensionRequest
* @return A Java Future containing the result of the GetExtension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetExtension
* @see AWS API
* Documentation
*/
default CompletableFuture getExtension(GetExtensionRequest getExtensionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about an AppConfig extension.
*
*
*
* This is a convenience which creates an instance of the {@link GetExtensionRequest.Builder} avoiding the need to
* create one manually via {@link GetExtensionRequest#builder()}
*
*
* @param getExtensionRequest
* A {@link Consumer} that will call methods on {@link GetExtensionRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetExtension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetExtension
* @see AWS API
* Documentation
*/
default CompletableFuture getExtension(Consumer getExtensionRequest) {
return getExtension(GetExtensionRequest.builder().applyMutation(getExtensionRequest).build());
}
/**
*
* Returns information about an AppConfig extension association. For more information about extensions and
* associations, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
* @param getExtensionAssociationRequest
* @return A Java Future containing the result of the GetExtensionAssociation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetExtensionAssociation
* @see AWS API Documentation
*/
default CompletableFuture getExtensionAssociation(
GetExtensionAssociationRequest getExtensionAssociationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about an AppConfig extension association. For more information about extensions and
* associations, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link GetExtensionAssociationRequest.Builder} avoiding
* the need to create one manually via {@link GetExtensionAssociationRequest#builder()}
*
*
* @param getExtensionAssociationRequest
* A {@link Consumer} that will call methods on {@link GetExtensionAssociationRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetExtensionAssociation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetExtensionAssociation
* @see AWS API Documentation
*/
default CompletableFuture getExtensionAssociation(
Consumer getExtensionAssociationRequest) {
return getExtensionAssociation(GetExtensionAssociationRequest.builder().applyMutation(getExtensionAssociationRequest)
.build());
}
/**
*
* Retrieves information about a specific configuration version.
*
*
* @param getHostedConfigurationVersionRequest
* @return A Java Future containing the result of the GetHostedConfigurationVersion operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetHostedConfigurationVersion
* @see AWS API Documentation
*/
default CompletableFuture getHostedConfigurationVersion(
GetHostedConfigurationVersionRequest getHostedConfigurationVersionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about a specific configuration version.
*
*
*
* This is a convenience which creates an instance of the {@link GetHostedConfigurationVersionRequest.Builder}
* avoiding the need to create one manually via {@link GetHostedConfigurationVersionRequest#builder()}
*
*
* @param getHostedConfigurationVersionRequest
* A {@link Consumer} that will call methods on {@link GetHostedConfigurationVersionRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the GetHostedConfigurationVersion operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.GetHostedConfigurationVersion
* @see AWS API Documentation
*/
default CompletableFuture getHostedConfigurationVersion(
Consumer getHostedConfigurationVersionRequest) {
return getHostedConfigurationVersion(GetHostedConfigurationVersionRequest.builder()
.applyMutation(getHostedConfigurationVersionRequest).build());
}
/**
*
* Lists all applications in your Amazon Web Services account.
*
*
* @param listApplicationsRequest
* @return A Java Future containing the result of the ListApplications operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListApplications
* @see AWS
* API Documentation
*/
default CompletableFuture listApplications(ListApplicationsRequest listApplicationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists all applications in your Amazon Web Services account.
*
*
*
* This is a convenience which creates an instance of the {@link ListApplicationsRequest.Builder} avoiding the need
* to create one manually via {@link ListApplicationsRequest#builder()}
*
*
* @param listApplicationsRequest
* A {@link Consumer} that will call methods on {@link ListApplicationsRequest.Builder} to create a request.
* @return A Java Future containing the result of the ListApplications operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListApplications
* @see AWS
* API Documentation
*/
default CompletableFuture listApplications(
Consumer listApplicationsRequest) {
return listApplications(ListApplicationsRequest.builder().applyMutation(listApplicationsRequest).build());
}
/**
*
* Lists all applications in your Amazon Web Services account.
*
*
*
* This is a variant of
* {@link #listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest)} 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.appconfig.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListApplicationsResponse 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 #listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest)} operation.
*
*
* @param listApplicationsRequest
* @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.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListApplications
* @see AWS
* API Documentation
*/
default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists all applications in your Amazon Web Services account.
*
*
*
* This is a variant of
* {@link #listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest)} 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.appconfig.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListApplicationsResponse 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 #listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListApplicationsRequest.Builder} avoiding the need
* to create one manually via {@link ListApplicationsRequest#builder()}
*
*
* @param listApplicationsRequest
* A {@link Consumer} that will call methods on {@link ListApplicationsRequest.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.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListApplications
* @see AWS
* API Documentation
*/
default ListApplicationsPublisher listApplicationsPaginator(Consumer listApplicationsRequest) {
return listApplicationsPaginator(ListApplicationsRequest.builder().applyMutation(listApplicationsRequest).build());
}
/**
*
* Lists the configuration profiles for an application.
*
*
* @param listConfigurationProfilesRequest
* @return A Java Future containing the result of the ListConfigurationProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListConfigurationProfiles
* @see AWS API Documentation
*/
default CompletableFuture listConfigurationProfiles(
ListConfigurationProfilesRequest listConfigurationProfilesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the configuration profiles for an application.
*
*
*
* This is a convenience which creates an instance of the {@link ListConfigurationProfilesRequest.Builder} avoiding
* the need to create one manually via {@link ListConfigurationProfilesRequest#builder()}
*
*
* @param listConfigurationProfilesRequest
* A {@link Consumer} that will call methods on {@link ListConfigurationProfilesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListConfigurationProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListConfigurationProfiles
* @see AWS API Documentation
*/
default CompletableFuture listConfigurationProfiles(
Consumer listConfigurationProfilesRequest) {
return listConfigurationProfiles(ListConfigurationProfilesRequest.builder()
.applyMutation(listConfigurationProfilesRequest).build());
}
/**
*
* Lists the configuration profiles for an application.
*
*
*
* This is a variant of
* {@link #listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest)}
* 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.appconfig.paginators.ListConfigurationProfilesPublisher publisher = client.listConfigurationProfilesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesPublisher publisher = client.listConfigurationProfilesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesResponse 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 #listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest)}
* operation.
*
*
* @param listConfigurationProfilesRequest
* @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.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListConfigurationProfiles
* @see AWS API Documentation
*/
default ListConfigurationProfilesPublisher listConfigurationProfilesPaginator(
ListConfigurationProfilesRequest listConfigurationProfilesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the configuration profiles for an application.
*
*
*
* This is a variant of
* {@link #listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest)}
* 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.appconfig.paginators.ListConfigurationProfilesPublisher publisher = client.listConfigurationProfilesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesPublisher publisher = client.listConfigurationProfilesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesResponse 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 #listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListConfigurationProfilesRequest.Builder} avoiding
* the need to create one manually via {@link ListConfigurationProfilesRequest#builder()}
*
*
* @param listConfigurationProfilesRequest
* A {@link Consumer} that will call methods on {@link ListConfigurationProfilesRequest.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.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListConfigurationProfiles
* @see AWS API Documentation
*/
default ListConfigurationProfilesPublisher listConfigurationProfilesPaginator(
Consumer listConfigurationProfilesRequest) {
return listConfigurationProfilesPaginator(ListConfigurationProfilesRequest.builder()
.applyMutation(listConfigurationProfilesRequest).build());
}
/**
*
* Lists deployment strategies.
*
*
* @param listDeploymentStrategiesRequest
* @return A Java Future containing the result of the ListDeploymentStrategies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListDeploymentStrategies
* @see AWS API Documentation
*/
default CompletableFuture listDeploymentStrategies(
ListDeploymentStrategiesRequest listDeploymentStrategiesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists deployment strategies.
*
*
*
* This is a convenience which creates an instance of the {@link ListDeploymentStrategiesRequest.Builder} avoiding
* the need to create one manually via {@link ListDeploymentStrategiesRequest#builder()}
*
*
* @param listDeploymentStrategiesRequest
* A {@link Consumer} that will call methods on {@link ListDeploymentStrategiesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListDeploymentStrategies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListDeploymentStrategies
* @see AWS API Documentation
*/
default CompletableFuture listDeploymentStrategies(
Consumer listDeploymentStrategiesRequest) {
return listDeploymentStrategies(ListDeploymentStrategiesRequest.builder().applyMutation(listDeploymentStrategiesRequest)
.build());
}
/**
*
* Lists deployment strategies.
*
*
*
* This is a variant of
* {@link #listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest)}
* 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.appconfig.paginators.ListDeploymentStrategiesPublisher publisher = client.listDeploymentStrategiesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesPublisher publisher = client.listDeploymentStrategiesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesResponse 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 #listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest)}
* operation.
*
*
* @param listDeploymentStrategiesRequest
* @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.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListDeploymentStrategies
* @see AWS API Documentation
*/
default ListDeploymentStrategiesPublisher listDeploymentStrategiesPaginator(
ListDeploymentStrategiesRequest listDeploymentStrategiesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists deployment strategies.
*
*
*
* This is a variant of
* {@link #listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest)}
* 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.appconfig.paginators.ListDeploymentStrategiesPublisher publisher = client.listDeploymentStrategiesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesPublisher publisher = client.listDeploymentStrategiesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesResponse 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 #listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListDeploymentStrategiesRequest.Builder} avoiding
* the need to create one manually via {@link ListDeploymentStrategiesRequest#builder()}
*
*
* @param listDeploymentStrategiesRequest
* A {@link Consumer} that will call methods on {@link ListDeploymentStrategiesRequest.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.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListDeploymentStrategies
* @see AWS API Documentation
*/
default ListDeploymentStrategiesPublisher listDeploymentStrategiesPaginator(
Consumer listDeploymentStrategiesRequest) {
return listDeploymentStrategiesPaginator(ListDeploymentStrategiesRequest.builder()
.applyMutation(listDeploymentStrategiesRequest).build());
}
/**
*
* Lists the deployments for an environment in descending deployment number order.
*
*
* @param listDeploymentsRequest
* @return A Java Future containing the result of the ListDeployments operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListDeployments
* @see AWS API
* Documentation
*/
default CompletableFuture listDeployments(ListDeploymentsRequest listDeploymentsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the deployments for an environment in descending deployment number order.
*
*
*
* This is a convenience which creates an instance of the {@link ListDeploymentsRequest.Builder} avoiding the need
* to create one manually via {@link ListDeploymentsRequest#builder()}
*
*
* @param listDeploymentsRequest
* A {@link Consumer} that will call methods on {@link ListDeploymentsRequest.Builder} to create a request.
* @return A Java Future containing the result of the ListDeployments operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListDeployments
* @see AWS API
* Documentation
*/
default CompletableFuture listDeployments(
Consumer listDeploymentsRequest) {
return listDeployments(ListDeploymentsRequest.builder().applyMutation(listDeploymentsRequest).build());
}
/**
*
* Lists the deployments for an environment in descending deployment number order.
*
*
*
* This is a variant of
* {@link #listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest)} 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.appconfig.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListDeploymentsResponse 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 #listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest)} operation.
*
*
* @param listDeploymentsRequest
* @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.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListDeployments
* @see AWS API
* Documentation
*/
default ListDeploymentsPublisher listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the deployments for an environment in descending deployment number order.
*
*
*
* This is a variant of
* {@link #listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest)} 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.appconfig.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListDeploymentsResponse 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 #listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListDeploymentsRequest.Builder} avoiding the need
* to create one manually via {@link ListDeploymentsRequest#builder()}
*
*
* @param listDeploymentsRequest
* A {@link Consumer} that will call methods on {@link ListDeploymentsRequest.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.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListDeployments
* @see AWS API
* Documentation
*/
default ListDeploymentsPublisher listDeploymentsPaginator(Consumer listDeploymentsRequest) {
return listDeploymentsPaginator(ListDeploymentsRequest.builder().applyMutation(listDeploymentsRequest).build());
}
/**
*
* Lists the environments for an application.
*
*
* @param listEnvironmentsRequest
* @return A Java Future containing the result of the ListEnvironments operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListEnvironments
* @see AWS
* API Documentation
*/
default CompletableFuture listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the environments for an application.
*
*
*
* This is a convenience which creates an instance of the {@link ListEnvironmentsRequest.Builder} avoiding the need
* to create one manually via {@link ListEnvironmentsRequest#builder()}
*
*
* @param listEnvironmentsRequest
* A {@link Consumer} that will call methods on {@link ListEnvironmentsRequest.Builder} to create a request.
* @return A Java Future containing the result of the ListEnvironments operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListEnvironments
* @see AWS
* API Documentation
*/
default CompletableFuture listEnvironments(
Consumer listEnvironmentsRequest) {
return listEnvironments(ListEnvironmentsRequest.builder().applyMutation(listEnvironmentsRequest).build());
}
/**
*
* Lists the environments for an application.
*
*
*
* This is a variant of
* {@link #listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest)} 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.appconfig.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsResponse 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 #listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest)} operation.
*
*
* @param listEnvironmentsRequest
* @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.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListEnvironments
* @see AWS
* API Documentation
*/
default ListEnvironmentsPublisher listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the environments for an application.
*
*
*
* This is a variant of
* {@link #listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest)} 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.appconfig.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsResponse 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 #listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListEnvironmentsRequest.Builder} avoiding the need
* to create one manually via {@link ListEnvironmentsRequest#builder()}
*
*
* @param listEnvironmentsRequest
* A {@link Consumer} that will call methods on {@link ListEnvironmentsRequest.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.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListEnvironments
* @see AWS
* API Documentation
*/
default ListEnvironmentsPublisher listEnvironmentsPaginator(Consumer listEnvironmentsRequest) {
return listEnvironmentsPaginator(ListEnvironmentsRequest.builder().applyMutation(listEnvironmentsRequest).build());
}
/**
*
* Lists all AppConfig extension associations in the account. For more information about extensions and
* associations, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
* @param listExtensionAssociationsRequest
* @return A Java Future containing the result of the ListExtensionAssociations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListExtensionAssociations
* @see AWS API Documentation
*/
default CompletableFuture listExtensionAssociations(
ListExtensionAssociationsRequest listExtensionAssociationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists all AppConfig extension associations in the account. For more information about extensions and
* associations, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link ListExtensionAssociationsRequest.Builder} avoiding
* the need to create one manually via {@link ListExtensionAssociationsRequest#builder()}
*
*
* @param listExtensionAssociationsRequest
* A {@link Consumer} that will call methods on {@link ListExtensionAssociationsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListExtensionAssociations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListExtensionAssociations
* @see AWS API Documentation
*/
default CompletableFuture listExtensionAssociations(
Consumer listExtensionAssociationsRequest) {
return listExtensionAssociations(ListExtensionAssociationsRequest.builder()
.applyMutation(listExtensionAssociationsRequest).build());
}
/**
*
* Lists all AppConfig extension associations in the account. For more information about extensions and
* associations, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
*
* This is a variant of
* {@link #listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest)}
* 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.appconfig.paginators.ListExtensionAssociationsPublisher publisher = client.listExtensionAssociationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsPublisher publisher = client.listExtensionAssociationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsResponse 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 #listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest)}
* operation.
*
*
* @param listExtensionAssociationsRequest
* @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.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListExtensionAssociations
* @see AWS API Documentation
*/
default ListExtensionAssociationsPublisher listExtensionAssociationsPaginator(
ListExtensionAssociationsRequest listExtensionAssociationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists all AppConfig extension associations in the account. For more information about extensions and
* associations, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
*
* This is a variant of
* {@link #listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest)}
* 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.appconfig.paginators.ListExtensionAssociationsPublisher publisher = client.listExtensionAssociationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsPublisher publisher = client.listExtensionAssociationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsResponse 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 #listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListExtensionAssociationsRequest.Builder} avoiding
* the need to create one manually via {@link ListExtensionAssociationsRequest#builder()}
*
*
* @param listExtensionAssociationsRequest
* A {@link Consumer} that will call methods on {@link ListExtensionAssociationsRequest.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.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListExtensionAssociations
* @see AWS API Documentation
*/
default ListExtensionAssociationsPublisher listExtensionAssociationsPaginator(
Consumer listExtensionAssociationsRequest) {
return listExtensionAssociationsPaginator(ListExtensionAssociationsRequest.builder()
.applyMutation(listExtensionAssociationsRequest).build());
}
/**
*
* Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about
* extensions, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
* @param listExtensionsRequest
* @return A Java Future containing the result of the ListExtensions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListExtensions
* @see AWS API
* Documentation
*/
default CompletableFuture listExtensions(ListExtensionsRequest listExtensionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about
* extensions, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link ListExtensionsRequest.Builder} avoiding the need to
* create one manually via {@link ListExtensionsRequest#builder()}
*
*
* @param listExtensionsRequest
* A {@link Consumer} that will call methods on {@link ListExtensionsRequest.Builder} to create a request.
* @return A Java Future containing the result of the ListExtensions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListExtensions
* @see AWS API
* Documentation
*/
default CompletableFuture listExtensions(Consumer listExtensionsRequest) {
return listExtensions(ListExtensionsRequest.builder().applyMutation(listExtensionsRequest).build());
}
/**
*
* Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about
* extensions, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
*
* This is a variant of
* {@link #listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest)} 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.appconfig.paginators.ListExtensionsPublisher publisher = client.listExtensionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListExtensionsPublisher publisher = client.listExtensionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListExtensionsResponse 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 #listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest)} operation.
*
*
* @param listExtensionsRequest
* @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.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListExtensions
* @see AWS API
* Documentation
*/
default ListExtensionsPublisher listExtensionsPaginator(ListExtensionsRequest listExtensionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about
* extensions, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
*
* This is a variant of
* {@link #listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest)} 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.appconfig.paginators.ListExtensionsPublisher publisher = client.listExtensionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListExtensionsPublisher publisher = client.listExtensionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListExtensionsResponse 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 #listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListExtensionsRequest.Builder} avoiding the need to
* create one manually via {@link ListExtensionsRequest#builder()}
*
*
* @param listExtensionsRequest
* A {@link Consumer} that will call methods on {@link ListExtensionsRequest.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.
*
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListExtensions
* @see AWS API
* Documentation
*/
default ListExtensionsPublisher listExtensionsPaginator(Consumer listExtensionsRequest) {
return listExtensionsPaginator(ListExtensionsRequest.builder().applyMutation(listExtensionsRequest).build());
}
/**
*
* Lists configurations stored in the AppConfig hosted configuration store by version.
*
*
* @param listHostedConfigurationVersionsRequest
* @return A Java Future containing the result of the ListHostedConfigurationVersions operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListHostedConfigurationVersions
* @see AWS API Documentation
*/
default CompletableFuture listHostedConfigurationVersions(
ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists configurations stored in the AppConfig hosted configuration store by version.
*
*
*
* This is a convenience which creates an instance of the {@link ListHostedConfigurationVersionsRequest.Builder}
* avoiding the need to create one manually via {@link ListHostedConfigurationVersionsRequest#builder()}
*
*
* @param listHostedConfigurationVersionsRequest
* A {@link Consumer} that will call methods on {@link ListHostedConfigurationVersionsRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the ListHostedConfigurationVersions operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListHostedConfigurationVersions
* @see AWS API Documentation
*/
default CompletableFuture listHostedConfigurationVersions(
Consumer listHostedConfigurationVersionsRequest) {
return listHostedConfigurationVersions(ListHostedConfigurationVersionsRequest.builder()
.applyMutation(listHostedConfigurationVersionsRequest).build());
}
/**
*
* Lists configurations stored in the AppConfig hosted configuration store by version.
*
*
*
* This is a variant of
* {@link #listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest)}
* 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.appconfig.paginators.ListHostedConfigurationVersionsPublisher publisher = client.listHostedConfigurationVersionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsPublisher publisher = client.listHostedConfigurationVersionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsResponse 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 #listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest)}
* operation.
*
*
* @param listHostedConfigurationVersionsRequest
* @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.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListHostedConfigurationVersions
* @see AWS API Documentation
*/
default ListHostedConfigurationVersionsPublisher listHostedConfigurationVersionsPaginator(
ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists configurations stored in the AppConfig hosted configuration store by version.
*
*
*
* This is a variant of
* {@link #listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest)}
* 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.appconfig.paginators.ListHostedConfigurationVersionsPublisher publisher = client.listHostedConfigurationVersionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsPublisher publisher = client.listHostedConfigurationVersionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsResponse 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 #listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListHostedConfigurationVersionsRequest.Builder}
* avoiding the need to create one manually via {@link ListHostedConfigurationVersionsRequest#builder()}
*
*
* @param listHostedConfigurationVersionsRequest
* A {@link Consumer} that will call methods on {@link ListHostedConfigurationVersionsRequest.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.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListHostedConfigurationVersions
* @see AWS API Documentation
*/
default ListHostedConfigurationVersionsPublisher listHostedConfigurationVersionsPaginator(
Consumer listHostedConfigurationVersionsRequest) {
return listHostedConfigurationVersionsPaginator(ListHostedConfigurationVersionsRequest.builder()
.applyMutation(listHostedConfigurationVersionsRequest).build());
}
/**
*
* Retrieves the list of key-value tags assigned to the resource.
*
*
* @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.
*
* - ResourceNotFoundException The requested resource could not be found.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default CompletableFuture listTagsForResource(
ListTagsForResourceRequest listTagsForResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the list of key-value tags assigned to the resource.
*
*
*
* 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 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.
*
* - ResourceNotFoundException The requested resource could not be found.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default CompletableFuture listTagsForResource(
Consumer listTagsForResourceRequest) {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Starts a deployment.
*
*
* @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.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.StartDeployment
* @see AWS API
* Documentation
*/
default CompletableFuture startDeployment(StartDeploymentRequest startDeploymentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Starts a deployment.
*
*
*
* 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 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.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.StartDeployment
* @see AWS API
* Documentation
*/
default CompletableFuture startDeployment(
Consumer startDeploymentRequest) {
return startDeployment(StartDeploymentRequest.builder().applyMutation(startDeploymentRequest).build());
}
/**
*
* Stops a deployment. This API action works only on deployments that have a status of DEPLOYING
. This
* action moves the deployment to a status of ROLLED_BACK
.
*
*
* @param stopDeploymentRequest
* @return A Java Future containing the result of the StopDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.StopDeployment
* @see AWS API
* Documentation
*/
default CompletableFuture stopDeployment(StopDeploymentRequest stopDeploymentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Stops a deployment. This API action works only on deployments that have a status of DEPLOYING
. This
* action moves the deployment to a status of ROLLED_BACK
.
*
*
*
* This is a convenience which creates an instance of the {@link StopDeploymentRequest.Builder} avoiding the need to
* create one manually via {@link StopDeploymentRequest#builder()}
*
*
* @param stopDeploymentRequest
* A {@link Consumer} that will call methods on {@link StopDeploymentRequest.Builder} to create a request.
* @return A Java Future containing the result of the StopDeployment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.StopDeployment
* @see AWS API
* Documentation
*/
default CompletableFuture stopDeployment(Consumer stopDeploymentRequest) {
return stopDeployment(StopDeploymentRequest.builder().applyMutation(stopDeploymentRequest).build());
}
/**
*
* Assigns metadata to an AppConfig resource. Tags help organize and categorize your AppConfig resources. Each tag
* consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a
* resource.
*
*
* @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.
*
* - ResourceNotFoundException The requested resource could not be found.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.TagResource
* @see AWS API
* Documentation
*/
default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Assigns metadata to an AppConfig resource. Tags help organize and categorize your AppConfig resources. Each tag
* consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a
* resource.
*
*
*
* 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 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.
*
* - ResourceNotFoundException The requested resource could not be found.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.TagResource
* @see AWS API
* Documentation
*/
default CompletableFuture tagResource(Consumer tagResourceRequest) {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Deletes a tag key and value from an AppConfig 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.
*
* - ResourceNotFoundException The requested resource could not be found.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UntagResource
* @see AWS API
* Documentation
*/
default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a tag key and value from an AppConfig 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 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.
*
* - ResourceNotFoundException The requested resource could not be found.
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UntagResource
* @see AWS API
* Documentation
*/
default CompletableFuture untagResource(Consumer untagResourceRequest) {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Updates an application.
*
*
* @param updateApplicationRequest
* @return A Java Future containing the result of the UpdateApplication operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UpdateApplication
* @see AWS
* API Documentation
*/
default CompletableFuture updateApplication(UpdateApplicationRequest updateApplicationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateApplicationRequest.Builder} avoiding the need
* to create one manually via {@link UpdateApplicationRequest#builder()}
*
*
* @param updateApplicationRequest
* A {@link Consumer} that will call methods on {@link UpdateApplicationRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateApplication operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UpdateApplication
* @see AWS
* API Documentation
*/
default CompletableFuture updateApplication(
Consumer updateApplicationRequest) {
return updateApplication(UpdateApplicationRequest.builder().applyMutation(updateApplicationRequest).build());
}
/**
*
* Updates a configuration profile.
*
*
* @param updateConfigurationProfileRequest
* @return A Java Future containing the result of the UpdateConfigurationProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UpdateConfigurationProfile
* @see AWS API Documentation
*/
default CompletableFuture updateConfigurationProfile(
UpdateConfigurationProfileRequest updateConfigurationProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a configuration profile.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateConfigurationProfileRequest.Builder} avoiding
* the need to create one manually via {@link UpdateConfigurationProfileRequest#builder()}
*
*
* @param updateConfigurationProfileRequest
* A {@link Consumer} that will call methods on {@link UpdateConfigurationProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateConfigurationProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UpdateConfigurationProfile
* @see AWS API Documentation
*/
default CompletableFuture updateConfigurationProfile(
Consumer updateConfigurationProfileRequest) {
return updateConfigurationProfile(UpdateConfigurationProfileRequest.builder()
.applyMutation(updateConfigurationProfileRequest).build());
}
/**
*
* Updates a deployment strategy.
*
*
* @param updateDeploymentStrategyRequest
* @return A Java Future containing the result of the UpdateDeploymentStrategy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UpdateDeploymentStrategy
* @see AWS API Documentation
*/
default CompletableFuture updateDeploymentStrategy(
UpdateDeploymentStrategyRequest updateDeploymentStrategyRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a deployment strategy.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateDeploymentStrategyRequest.Builder} avoiding
* the need to create one manually via {@link UpdateDeploymentStrategyRequest#builder()}
*
*
* @param updateDeploymentStrategyRequest
* A {@link Consumer} that will call methods on {@link UpdateDeploymentStrategyRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateDeploymentStrategy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UpdateDeploymentStrategy
* @see AWS API Documentation
*/
default CompletableFuture updateDeploymentStrategy(
Consumer updateDeploymentStrategyRequest) {
return updateDeploymentStrategy(UpdateDeploymentStrategyRequest.builder().applyMutation(updateDeploymentStrategyRequest)
.build());
}
/**
*
* Updates an environment.
*
*
* @param updateEnvironmentRequest
* @return A Java Future containing the result of the UpdateEnvironment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UpdateEnvironment
* @see AWS
* API Documentation
*/
default CompletableFuture updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an environment.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateEnvironmentRequest.Builder} avoiding the need
* to create one manually via {@link UpdateEnvironmentRequest#builder()}
*
*
* @param updateEnvironmentRequest
* A {@link Consumer} that will call methods on {@link UpdateEnvironmentRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateEnvironment operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UpdateEnvironment
* @see AWS
* API Documentation
*/
default CompletableFuture updateEnvironment(
Consumer updateEnvironmentRequest) {
return updateEnvironment(UpdateEnvironmentRequest.builder().applyMutation(updateEnvironmentRequest).build());
}
/**
*
* Updates an AppConfig extension. For more information about extensions, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
* @param updateExtensionRequest
* @return A Java Future containing the result of the UpdateExtension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UpdateExtension
* @see AWS API
* Documentation
*/
default CompletableFuture updateExtension(UpdateExtensionRequest updateExtensionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an AppConfig extension. For more information about extensions, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateExtensionRequest.Builder} avoiding the need
* to create one manually via {@link UpdateExtensionRequest#builder()}
*
*
* @param updateExtensionRequest
* A {@link Consumer} that will call methods on {@link UpdateExtensionRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateExtension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UpdateExtension
* @see AWS API
* Documentation
*/
default CompletableFuture updateExtension(
Consumer updateExtensionRequest) {
return updateExtension(UpdateExtensionRequest.builder().applyMutation(updateExtensionRequest).build());
}
/**
*
* Updates an association. For more information about extensions and associations, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
* @param updateExtensionAssociationRequest
* @return A Java Future containing the result of the UpdateExtensionAssociation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UpdateExtensionAssociation
* @see AWS API Documentation
*/
default CompletableFuture updateExtensionAssociation(
UpdateExtensionAssociationRequest updateExtensionAssociationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an association. For more information about extensions and associations, see Working with
* AppConfig extensions in the AppConfig User Guide.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateExtensionAssociationRequest.Builder} avoiding
* the need to create one manually via {@link UpdateExtensionAssociationRequest#builder()}
*
*
* @param updateExtensionAssociationRequest
* A {@link Consumer} that will call methods on {@link UpdateExtensionAssociationRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateExtensionAssociation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.UpdateExtensionAssociation
* @see AWS API Documentation
*/
default CompletableFuture updateExtensionAssociation(
Consumer updateExtensionAssociationRequest) {
return updateExtensionAssociation(UpdateExtensionAssociationRequest.builder()
.applyMutation(updateExtensionAssociationRequest).build());
}
/**
*
* Uses the validators in a configuration profile to validate a configuration.
*
*
* @param validateConfigurationRequest
* @return A Java Future containing the result of the ValidateConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ValidateConfiguration
* @see AWS API Documentation
*/
default CompletableFuture validateConfiguration(
ValidateConfigurationRequest validateConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Uses the validators in a configuration profile to validate a configuration.
*
*
*
* This is a convenience which creates an instance of the {@link ValidateConfigurationRequest.Builder} avoiding the
* need to create one manually via {@link ValidateConfigurationRequest#builder()}
*
*
* @param validateConfigurationRequest
* A {@link Consumer} that will call methods on {@link ValidateConfigurationRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ValidateConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services
* service.
* - ResourceNotFoundException The requested resource could not be found.
* - InternalServerException There was an internal failure in the AppConfig service.
* - 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.
* - AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample AppConfigAsyncClient.ValidateConfiguration
* @see AWS API Documentation
*/
default CompletableFuture validateConfiguration(
Consumer validateConfigurationRequest) {
return validateConfiguration(ValidateConfigurationRequest.builder().applyMutation(validateConfigurationRequest).build());
}
@Override
default AppConfigServiceClientConfiguration serviceClientConfiguration() {
throw new UnsupportedOperationException();
}
/**
* Create a {@link AppConfigAsyncClient} 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 AppConfigAsyncClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link AppConfigAsyncClient}.
*/
static AppConfigAsyncClientBuilder builder() {
return new DefaultAppConfigAsyncClientBuilder();
}
}