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

software.amazon.awssdk.services.appconfig.AppConfigClient 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.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.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.appconfig.model.AppConfigException;
import software.amazon.awssdk.services.appconfig.model.BadRequestException;
import software.amazon.awssdk.services.appconfig.model.ConflictException;
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.GetAccountSettingsRequest;
import software.amazon.awssdk.services.appconfig.model.GetAccountSettingsResponse;
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.InternalServerException;
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.PayloadTooLargeException;
import software.amazon.awssdk.services.appconfig.model.ResourceNotFoundException;
import software.amazon.awssdk.services.appconfig.model.ServiceQuotaExceededException;
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.UpdateAccountSettingsRequest;
import software.amazon.awssdk.services.appconfig.model.UpdateAccountSettingsResponse;
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.ListApplicationsIterable;
import software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable;
import software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable;
import software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable;
import software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable;
import software.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable;
import software.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable;
import software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable;

/**
 * Service client for accessing AppConfig. This can be created using the static {@link #builder()} method.
 *
 * 

* AppConfig feature flags and dynamic configurations help software builders quickly and securely adjust application * behavior in production environments without full code deployments. AppConfig speeds up software release frequency, * improves application resiliency, and helps you address emergent issues more quickly. With feature flags, you can * gradually release new capabilities to users and measure the impact of those changes before fully deploying the new * capabilities to all users. With operational flags and dynamic configurations, you can update block lists, allow * lists, throttling limits, logging verbosity, and perform other operational tuning to quickly respond to issues in * production environments. *

* *

* AppConfig is a capability of Amazon Web Services Systems Manager. *

*
*

* Despite the fact that application configuration content can vary greatly from application to application, AppConfig * supports the following use cases, which cover a broad spectrum of customer needs: *

*
    *
  • *

    * Feature flags and toggles - Safely release new capabilities to your customers in a controlled environment. * Instantly roll back changes if you experience a problem. *

    *
  • *
  • *

    * Application tuning - Carefully introduce application changes while testing the impact of those changes with * users in production environments. *

    *
  • *
  • *

    * Allow list or block list - Control access to premium features or instantly block specific users without * deploying new code. *

    *
  • *
  • *

    * Centralized configuration storage - Keep your configuration data organized and consistent across all of your * workloads. You can use AppConfig to deploy configuration data stored in the AppConfig hosted configuration store, * Secrets Manager, Systems Manager, Parameter Store, or Amazon S3. *

    *
  • *
*

* How AppConfig works *

*

* This section provides a high-level description of how AppConfig works and how you get started. *

*
*
1. Identify configuration values in code you want to manage in the cloud
*
*

* Before you start creating AppConfig artifacts, we recommend you identify configuration data in your code that you * want to dynamically manage using AppConfig. Good examples include feature flags or toggles, allow and block lists, * logging verbosity, service limits, and throttling rules, to name a few. *

*

* If your configuration data already exists in the cloud, you can take advantage of AppConfig validation, deployment, * and extension features to further streamline configuration data management. *

*
*
2. Create an application namespace
*
*

* To create a namespace, you create an AppConfig artifact called an application. An application is simply an * organizational construct like a folder. *

*
*
3. Create environments
*
*

* For each AppConfig application, you define one or more environments. An environment is a logical grouping of targets, * such as applications in a Beta or Production environment, Lambda functions, or containers. * You can also define environments for application subcomponents, such as the Web, Mobile, * and Back-end. *

*

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

*
*
4. Create a configuration profile
*
*

* A configuration profile includes, among other things, a URI that enables AppConfig to locate your configuration data * in its stored location and a profile type. AppConfig supports two configuration profile types: feature flags and * freeform configurations. Feature flag configuration profiles store their data in the AppConfig hosted configuration * store and the URI is simply hosted. For freeform configuration profiles, you can store your data in the * AppConfig hosted configuration store or any Amazon Web Services service that integrates with AppConfig, as described * in * Creating a free form configuration profile in the the AppConfig User Guide. *

*

* A configuration profile can also include optional validators to ensure your configuration data is syntactically and * semantically correct. AppConfig performs a check using the validators when you start a deployment. If any errors are * detected, the deployment rolls back to the previous configuration data. *

*
*
5. Deploy configuration data
*
*

* When you create a new deployment, you specify the following: *

*
    *
  • *

    * An application ID *

    *
  • *
  • *

    * A configuration profile ID *

    *
  • *
  • *

    * A configuration version *

    *
  • *
  • *

    * An environment ID where you want to deploy the configuration data *

    *
  • *
  • *

    * A deployment strategy ID that defines how fast you want the changes to take effect *

    *
  • *
*

* When you call the StartDeployment API * action, AppConfig performs the following tasks: *

*
    *
  1. *

    * Retrieves the configuration data from the underlying data store by using the location URI in the configuration * profile. *

    *
  2. *
  3. *

    * Verifies the configuration data is syntactically and semantically correct by using the validators you specified when * you created your configuration profile. *

    *
  4. *
  5. *

    * Caches a copy of the data so it is ready to be retrieved by your application. This cached copy is called the * deployed data. *

    *
  6. *
*
*
6. Retrieve the configuration
*
*

* You can configure AppConfig Agent as a local host and have the agent poll AppConfig for configuration updates. The * agent calls the StartConfigurationSession and GetLatestConfiguration API actions and caches your configuration data locally. To retrieve the data, your * application makes an HTTP call to the localhost server. AppConfig Agent supports several use cases, as described in * * Simplified retrieval methods in the the AppConfig User Guide. *

*

* If AppConfig Agent isn't supported for your use case, you can configure your application to poll AppConfig for * configuration updates by directly calling the StartConfigurationSession and GetLatestConfiguration API actions. *

*
*
*

* This reference is intended to be used with the AppConfig User Guide. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface AppConfigClient 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 Result of the CreateApplication operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateApplication * @see AWS * API Documentation */ default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws BadRequestException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.CreateApplicationRequest.Builder} to create a * request. * @return Result of the CreateApplication operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateApplication * @see AWS * API Documentation */ default CreateApplicationResponse createApplication(Consumer createApplicationRequest) throws BadRequestException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 Result of the CreateConfigurationProfile operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateConfigurationProfile * @see AWS API Documentation */ default CreateConfigurationProfileResponse createConfigurationProfile( CreateConfigurationProfileRequest createConfigurationProfileRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.CreateConfigurationProfileRequest.Builder} to * create a request. * @return Result of the CreateConfigurationProfile operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateConfigurationProfile * @see AWS API Documentation */ default CreateConfigurationProfileResponse createConfigurationProfile( Consumer createConfigurationProfileRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppConfigException { 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 Result of the CreateDeploymentStrategy operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateDeploymentStrategy * @see AWS API Documentation */ default CreateDeploymentStrategyResponse createDeploymentStrategy( CreateDeploymentStrategyRequest createDeploymentStrategyRequest) throws InternalServerException, ServiceQuotaExceededException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.CreateDeploymentStrategyRequest.Builder} to create * a request. * @return Result of the CreateDeploymentStrategy operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateDeploymentStrategy * @see AWS API Documentation */ default CreateDeploymentStrategyResponse createDeploymentStrategy( Consumer createDeploymentStrategyRequest) throws InternalServerException, ServiceQuotaExceededException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 Result of the CreateEnvironment operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateEnvironment * @see AWS * API Documentation */ default CreateEnvironmentResponse createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) throws InternalServerException, ResourceNotFoundException, BadRequestException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.CreateEnvironmentRequest.Builder} to create a * request. * @return Result of the CreateEnvironment operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateEnvironment * @see AWS * API Documentation */ default CreateEnvironmentResponse createEnvironment(Consumer createEnvironmentRequest) throws InternalServerException, ResourceNotFoundException, BadRequestException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppConfigException { 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 * an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and * processing defined in the extension. If you plan to create custom versions of the Amazon Web Services authored * notification extensions, you only need to specify an Amazon Resource Name (ARN) in the Uri field for * the new extension version. *

*
    *
  • *

    * For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the * Uri field. *

    *
  • *
  • *

    * For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the Uri * field. *

    *
  • *
  • *

    * For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the * Uri field. *

    *
  • *
*

* For more information about extensions, see Extending * workflows in the AppConfig User Guide. *

* * @param createExtensionRequest * @return Result of the CreateExtension operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * The request could not be processed because of conflict in the current state of the resource. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateExtension * @see AWS API * Documentation */ default CreateExtensionResponse createExtension(CreateExtensionRequest createExtensionRequest) throws BadRequestException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 * an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and * processing defined in the extension. If you plan to create custom versions of the Amazon Web Services authored * notification extensions, you only need to specify an Amazon Resource Name (ARN) in the Uri field for * the new extension version. *

*
    *
  • *

    * For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the * Uri field. *

    *
  • *
  • *

    * For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the Uri * field. *

    *
  • *
  • *

    * For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the * Uri field. *

    *
  • *
*

* For more information about extensions, see Extending * workflows 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 software.amazon.awssdk.services.appconfig.model.CreateExtensionRequest.Builder} to create a * request. * @return Result of the CreateExtension operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * The request could not be processed because of conflict in the current state of the resource. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateExtension * @see AWS API * Documentation */ default CreateExtensionResponse createExtension(Consumer createExtensionRequest) throws BadRequestException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 Extending * workflows in the AppConfig User Guide. *

* * @param createExtensionAssociationRequest * @return Result of the CreateExtensionAssociation operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateExtensionAssociation * @see AWS API Documentation */ default CreateExtensionAssociationResponse createExtensionAssociation( CreateExtensionAssociationRequest createExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppConfigException { 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 Extending * workflows 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 software.amazon.awssdk.services.appconfig.model.CreateExtensionAssociationRequest.Builder} to * create a request. * @return Result of the CreateExtensionAssociation operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateExtensionAssociation * @see AWS API Documentation */ default CreateExtensionAssociationResponse createExtensionAssociation( Consumer createExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppConfigException { return createExtensionAssociation(CreateExtensionAssociationRequest.builder() .applyMutation(createExtensionAssociationRequest).build()); } /** *

* Creates a new configuration in the AppConfig hosted configuration store. If you're creating a feature flag, we * recommend you familiarize yourself with the JSON schema for feature flag data. For more information, see Type reference for AWS.AppConfig.FeatureFlags in the AppConfig User Guide. *

* * @param createHostedConfigurationVersionRequest * @return Result of the CreateHostedConfigurationVersion operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws ConflictException * The request could not be processed because of conflict in the current state of the resource. * @throws PayloadTooLargeException * The configuration size is too large. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateHostedConfigurationVersion * @see AWS API Documentation */ default CreateHostedConfigurationVersionResponse createHostedConfigurationVersion( CreateHostedConfigurationVersionRequest createHostedConfigurationVersionRequest) throws BadRequestException, ServiceQuotaExceededException, ResourceNotFoundException, ConflictException, PayloadTooLargeException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* Creates a new configuration in the AppConfig hosted configuration store. If you're creating a feature flag, we * recommend you familiarize yourself with the JSON schema for feature flag data. For more information, see Type reference for AWS.AppConfig.FeatureFlags in the AppConfig User Guide. *

*
*

* 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 software.amazon.awssdk.services.appconfig.model.CreateHostedConfigurationVersionRequest.Builder} to * create a request. * @return Result of the CreateHostedConfigurationVersion operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ServiceQuotaExceededException * The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment * doesn't exceed the following service quotas:

*

* Applications: 100 max *

*

* Deployment strategies: 20 max *

*

* Configuration profiles: 100 max per application *

*

* Environments: 20 max per application *

*

* To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota * increase. For more information about quotas and to request an increase, see Service quotas for * AppConfig in the Amazon Web Services General Reference. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws ConflictException * The request could not be processed because of conflict in the current state of the resource. * @throws PayloadTooLargeException * The configuration size is too large. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.CreateHostedConfigurationVersion * @see AWS API Documentation */ default CreateHostedConfigurationVersionResponse createHostedConfigurationVersion( Consumer createHostedConfigurationVersionRequest) throws BadRequestException, ServiceQuotaExceededException, ResourceNotFoundException, ConflictException, PayloadTooLargeException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return createHostedConfigurationVersion(CreateHostedConfigurationVersionRequest.builder() .applyMutation(createHostedConfigurationVersionRequest).build()); } /** *

* Deletes an application. *

* * @param deleteApplicationRequest * @return Result of the DeleteApplication operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteApplication * @see AWS * API Documentation */ default DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* Deletes an application. *

*
*

* 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 software.amazon.awssdk.services.appconfig.model.DeleteApplicationRequest.Builder} to create a * request. * @return Result of the DeleteApplication operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteApplication * @see AWS * API Documentation */ default DeleteApplicationResponse deleteApplication(Consumer deleteApplicationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return deleteApplication(DeleteApplicationRequest.builder().applyMutation(deleteApplicationRequest).build()); } /** *

* Deletes a configuration profile. *

*

* To prevent users from unintentionally deleting actively-used configuration profiles, enable deletion protection. *

* * @param deleteConfigurationProfileRequest * @return Result of the DeleteConfigurationProfile operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws ConflictException * The request could not be processed because of conflict in the current state of the resource. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteConfigurationProfile * @see AWS API Documentation */ default DeleteConfigurationProfileResponse deleteConfigurationProfile( DeleteConfigurationProfileRequest deleteConfigurationProfileRequest) throws ResourceNotFoundException, ConflictException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* Deletes a configuration profile. *

*

* To prevent users from unintentionally deleting actively-used configuration profiles, enable deletion protection. *

*
*

* 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 software.amazon.awssdk.services.appconfig.model.DeleteConfigurationProfileRequest.Builder} to * create a request. * @return Result of the DeleteConfigurationProfile operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws ConflictException * The request could not be processed because of conflict in the current state of the resource. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteConfigurationProfile * @see AWS API Documentation */ default DeleteConfigurationProfileResponse deleteConfigurationProfile( Consumer deleteConfigurationProfileRequest) throws ResourceNotFoundException, ConflictException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return deleteConfigurationProfile(DeleteConfigurationProfileRequest.builder() .applyMutation(deleteConfigurationProfileRequest).build()); } /** *

* Deletes a deployment strategy. *

* * @param deleteDeploymentStrategyRequest * @return Result of the DeleteDeploymentStrategy operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteDeploymentStrategy * @see AWS API Documentation */ default DeleteDeploymentStrategyResponse deleteDeploymentStrategy( DeleteDeploymentStrategyRequest deleteDeploymentStrategyRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* Deletes a deployment strategy. *

*
*

* 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 software.amazon.awssdk.services.appconfig.model.DeleteDeploymentStrategyRequest.Builder} to create * a request. * @return Result of the DeleteDeploymentStrategy operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteDeploymentStrategy * @see AWS API Documentation */ default DeleteDeploymentStrategyResponse deleteDeploymentStrategy( Consumer deleteDeploymentStrategyRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return deleteDeploymentStrategy(DeleteDeploymentStrategyRequest.builder().applyMutation(deleteDeploymentStrategyRequest) .build()); } /** *

* Deletes an environment. *

*

* To prevent users from unintentionally deleting actively-used environments, enable deletion protection. *

* * @param deleteEnvironmentRequest * @return Result of the DeleteEnvironment operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws ConflictException * The request could not be processed because of conflict in the current state of the resource. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteEnvironment * @see AWS * API Documentation */ default DeleteEnvironmentResponse deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) throws ResourceNotFoundException, ConflictException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* Deletes an environment. *

*

* To prevent users from unintentionally deleting actively-used environments, enable deletion protection. *

*
*

* 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 software.amazon.awssdk.services.appconfig.model.DeleteEnvironmentRequest.Builder} to create a * request. * @return Result of the DeleteEnvironment operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws ConflictException * The request could not be processed because of conflict in the current state of the resource. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteEnvironment * @see AWS * API Documentation */ default DeleteEnvironmentResponse deleteEnvironment(Consumer deleteEnvironmentRequest) throws ResourceNotFoundException, ConflictException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 Result of the DeleteExtension operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteExtension * @see AWS API * Documentation */ default DeleteExtensionResponse deleteExtension(DeleteExtensionRequest deleteExtensionRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.DeleteExtensionRequest.Builder} to create a * request. * @return Result of the DeleteExtension operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteExtension * @see AWS API * Documentation */ default DeleteExtensionResponse deleteExtension(Consumer deleteExtensionRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return deleteExtension(DeleteExtensionRequest.builder().applyMutation(deleteExtensionRequest).build()); } /** *

* Deletes an extension association. This action doesn't delete extensions defined in the association. *

* * @param deleteExtensionAssociationRequest * @return Result of the DeleteExtensionAssociation operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteExtensionAssociation * @see AWS API Documentation */ default DeleteExtensionAssociationResponse deleteExtensionAssociation( DeleteExtensionAssociationRequest deleteExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.DeleteExtensionAssociationRequest.Builder} to * create a request. * @return Result of the DeleteExtensionAssociation operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteExtensionAssociation * @see AWS API Documentation */ default DeleteExtensionAssociationResponse deleteExtensionAssociation( Consumer deleteExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return deleteExtensionAssociation(DeleteExtensionAssociationRequest.builder() .applyMutation(deleteExtensionAssociationRequest).build()); } /** *

* Deletes a version of a configuration from the AppConfig hosted configuration store. *

* * @param deleteHostedConfigurationVersionRequest * @return Result of the DeleteHostedConfigurationVersion operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteHostedConfigurationVersion * @see AWS API Documentation */ default DeleteHostedConfigurationVersionResponse deleteHostedConfigurationVersion( DeleteHostedConfigurationVersionRequest deleteHostedConfigurationVersionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.DeleteHostedConfigurationVersionRequest.Builder} to * create a request. * @return Result of the DeleteHostedConfigurationVersion operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.DeleteHostedConfigurationVersion * @see AWS API Documentation */ default DeleteHostedConfigurationVersionResponse deleteHostedConfigurationVersion( Consumer deleteHostedConfigurationVersionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return deleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest.builder() .applyMutation(deleteHostedConfigurationVersionRequest).build()); } /** *

* Returns information about the status of the DeletionProtection parameter. *

* * @param getAccountSettingsRequest * @return Result of the GetAccountSettings operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetAccountSettings * @see AWS * API Documentation */ default GetAccountSettingsResponse getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* Returns information about the status of the DeletionProtection parameter. *

*
*

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

* * @param getAccountSettingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appconfig.model.GetAccountSettingsRequest.Builder} to create a * request. * @return Result of the GetAccountSettings operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetAccountSettings * @see AWS * API Documentation */ default GetAccountSettingsResponse getAccountSettings(Consumer getAccountSettingsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return getAccountSettings(GetAccountSettingsRequest.builder().applyMutation(getAccountSettingsRequest).build()); } /** *

* Retrieves information about an application. *

* * @param getApplicationRequest * @return Result of the GetApplication operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetApplication * @see AWS API * Documentation */ default GetApplicationResponse getApplication(GetApplicationRequest getApplicationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.GetApplicationRequest.Builder} to create a request. * @return Result of the GetApplication operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetApplication * @see AWS API * Documentation */ default GetApplicationResponse getApplication(Consumer getApplicationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return getApplication(GetApplicationRequest.builder().applyMutation(getApplicationRequest).build()); } /** *

* (Deprecated) Retrieves the latest deployed configuration. *

* *

* Note the following important information. *

* *
* * @param getConfigurationRequest * @return Result of the GetConfiguration operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetConfiguration * @see AWS * API Documentation * * @deprecated This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with * StartConfigurationSession. */ @Deprecated default GetConfigurationResponse getConfiguration(GetConfigurationRequest getConfigurationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* (Deprecated) Retrieves the latest deployed configuration. *

* *

* Note the following important information. *

* *

*

* 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 software.amazon.awssdk.services.appconfig.model.GetConfigurationRequest.Builder} to create a * request. * @return Result of the GetConfiguration operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetConfiguration * @see AWS * API Documentation * * @deprecated This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with * StartConfigurationSession. */ @Deprecated default GetConfigurationResponse getConfiguration(Consumer getConfigurationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return getConfiguration(GetConfigurationRequest.builder().applyMutation(getConfigurationRequest).build()); } /** *

* Retrieves information about a configuration profile. *

* * @param getConfigurationProfileRequest * @return Result of the GetConfigurationProfile operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetConfigurationProfile * @see AWS API Documentation */ default GetConfigurationProfileResponse getConfigurationProfile(GetConfigurationProfileRequest getConfigurationProfileRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.GetConfigurationProfileRequest.Builder} to create a * request. * @return Result of the GetConfigurationProfile operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetConfigurationProfile * @see AWS API Documentation */ default GetConfigurationProfileResponse getConfigurationProfile( Consumer getConfigurationProfileRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return getConfigurationProfile(GetConfigurationProfileRequest.builder().applyMutation(getConfigurationProfileRequest) .build()); } /** *

* Retrieves information about a configuration deployment. *

* * @param getDeploymentRequest * @return Result of the GetDeployment operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetDeployment * @see AWS API * Documentation */ default GetDeploymentResponse getDeployment(GetDeploymentRequest getDeploymentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.GetDeploymentRequest.Builder} to create a request. * @return Result of the GetDeployment operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetDeployment * @see AWS API * Documentation */ default GetDeploymentResponse getDeployment(Consumer getDeploymentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 Result of the GetDeploymentStrategy operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetDeploymentStrategy * @see AWS API Documentation */ default GetDeploymentStrategyResponse getDeploymentStrategy(GetDeploymentStrategyRequest getDeploymentStrategyRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.GetDeploymentStrategyRequest.Builder} to create a * request. * @return Result of the GetDeploymentStrategy operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetDeploymentStrategy * @see AWS API Documentation */ default GetDeploymentStrategyResponse getDeploymentStrategy( Consumer getDeploymentStrategyRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 Result of the GetEnvironment operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetEnvironment * @see AWS API * Documentation */ default GetEnvironmentResponse getEnvironment(GetEnvironmentRequest getEnvironmentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.GetEnvironmentRequest.Builder} to create a request. * @return Result of the GetEnvironment operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetEnvironment * @see AWS API * Documentation */ default GetEnvironmentResponse getEnvironment(Consumer getEnvironmentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return getEnvironment(GetEnvironmentRequest.builder().applyMutation(getEnvironmentRequest).build()); } /** *

* Returns information about an AppConfig extension. *

* * @param getExtensionRequest * @return Result of the GetExtension operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetExtension * @see AWS API * Documentation */ default GetExtensionResponse getExtension(GetExtensionRequest getExtensionRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.GetExtensionRequest.Builder} to create a request. * @return Result of the GetExtension operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetExtension * @see AWS API * Documentation */ default GetExtensionResponse getExtension(Consumer getExtensionRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return getExtension(GetExtensionRequest.builder().applyMutation(getExtensionRequest).build()); } /** *

* Returns information about an AppConfig extension association. For more information about extensions and * associations, see Extending * workflows in the AppConfig User Guide. *

* * @param getExtensionAssociationRequest * @return Result of the GetExtensionAssociation operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetExtensionAssociation * @see AWS API Documentation */ default GetExtensionAssociationResponse getExtensionAssociation(GetExtensionAssociationRequest getExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* Returns information about an AppConfig extension association. For more information about extensions and * associations, see Extending * workflows 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 software.amazon.awssdk.services.appconfig.model.GetExtensionAssociationRequest.Builder} to create a * request. * @return Result of the GetExtensionAssociation operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetExtensionAssociation * @see AWS API Documentation */ default GetExtensionAssociationResponse getExtensionAssociation( Consumer getExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return getExtensionAssociation(GetExtensionAssociationRequest.builder().applyMutation(getExtensionAssociationRequest) .build()); } /** *

* Retrieves information about a specific configuration version. *

* * @param getHostedConfigurationVersionRequest * @return Result of the GetHostedConfigurationVersion operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetHostedConfigurationVersion * @see AWS API Documentation */ default GetHostedConfigurationVersionResponse getHostedConfigurationVersion( GetHostedConfigurationVersionRequest getHostedConfigurationVersionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.GetHostedConfigurationVersionRequest.Builder} to * create a request. * @return Result of the GetHostedConfigurationVersion operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.GetHostedConfigurationVersion * @see AWS API Documentation */ default GetHostedConfigurationVersionResponse getHostedConfigurationVersion( Consumer getHostedConfigurationVersionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return getHostedConfigurationVersion(GetHostedConfigurationVersionRequest.builder() .applyMutation(getHostedConfigurationVersionRequest).build()); } /** *

* Lists all applications in your Amazon Web Services account. *

* * @param listApplicationsRequest * @return Result of the ListApplications operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListApplications * @see AWS * API Documentation */ default ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest.Builder} to create a * request. * @return Result of the ListApplications operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListApplications * @see AWS * API Documentation */ default ListApplicationsResponse listApplications(Consumer listApplicationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listApplications(ListApplicationsRequest.builder().applyMutation(listApplicationsRequest).build()); } /** *

* This is a variant of * {@link #listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client
     *             .listApplicationsPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListApplicationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest)} operation. *

* * @param listApplicationsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListApplications * @see AWS * API Documentation */ default ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return new ListApplicationsIterable(this, listApplicationsRequest); } /** *

* This is a variant of * {@link #listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client
     *             .listApplicationsPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListApplicationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListApplications * @see AWS * API Documentation */ default ListApplicationsIterable listApplicationsPaginator(Consumer listApplicationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listApplicationsPaginator(ListApplicationsRequest.builder().applyMutation(listApplicationsRequest).build()); } /** *

* Lists the configuration profiles for an application. *

* * @param listConfigurationProfilesRequest * @return Result of the ListConfigurationProfiles operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListConfigurationProfiles * @see AWS API Documentation */ default ListConfigurationProfilesResponse listConfigurationProfiles( ListConfigurationProfilesRequest listConfigurationProfilesRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest.Builder} to create * a request. * @return Result of the ListConfigurationProfiles operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListConfigurationProfiles * @see AWS API Documentation */ default ListConfigurationProfilesResponse listConfigurationProfiles( Consumer listConfigurationProfilesRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listConfigurationProfiles(ListConfigurationProfilesRequest.builder() .applyMutation(listConfigurationProfilesRequest).build()); } /** *

* This is a variant of * {@link #listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client.listConfigurationProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client
     *             .listConfigurationProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client.listConfigurationProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest)} * operation. *

* * @param listConfigurationProfilesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListConfigurationProfiles * @see AWS API Documentation */ default ListConfigurationProfilesIterable listConfigurationProfilesPaginator( ListConfigurationProfilesRequest listConfigurationProfilesRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return new ListConfigurationProfilesIterable(this, listConfigurationProfilesRequest); } /** *

* This is a variant of * {@link #listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client.listConfigurationProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client
     *             .listConfigurationProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client.listConfigurationProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest.Builder} to create * a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListConfigurationProfiles * @see AWS API Documentation */ default ListConfigurationProfilesIterable listConfigurationProfilesPaginator( Consumer listConfigurationProfilesRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listConfigurationProfilesPaginator(ListConfigurationProfilesRequest.builder() .applyMutation(listConfigurationProfilesRequest).build()); } /** *

* Lists deployment strategies. *

* * @param listDeploymentStrategiesRequest * @return Result of the ListDeploymentStrategies operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListDeploymentStrategies * @see AWS API Documentation */ default ListDeploymentStrategiesResponse listDeploymentStrategies( ListDeploymentStrategiesRequest listDeploymentStrategiesRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest.Builder} to create * a request. * @return Result of the ListDeploymentStrategies operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListDeploymentStrategies * @see AWS API Documentation */ default ListDeploymentStrategiesResponse listDeploymentStrategies( Consumer listDeploymentStrategiesRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listDeploymentStrategies(ListDeploymentStrategiesRequest.builder().applyMutation(listDeploymentStrategiesRequest) .build()); } /** *

* This is a variant of * {@link #listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client.listDeploymentStrategiesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client
     *             .listDeploymentStrategiesPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client.listDeploymentStrategiesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest)} * operation. *

* * @param listDeploymentStrategiesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListDeploymentStrategies * @see AWS API Documentation */ default ListDeploymentStrategiesIterable listDeploymentStrategiesPaginator( ListDeploymentStrategiesRequest listDeploymentStrategiesRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return new ListDeploymentStrategiesIterable(this, listDeploymentStrategiesRequest); } /** *

* This is a variant of * {@link #listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client.listDeploymentStrategiesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client
     *             .listDeploymentStrategiesPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client.listDeploymentStrategiesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest.Builder} to create * a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListDeploymentStrategies * @see AWS API Documentation */ default ListDeploymentStrategiesIterable listDeploymentStrategiesPaginator( Consumer listDeploymentStrategiesRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listDeploymentStrategiesPaginator(ListDeploymentStrategiesRequest.builder() .applyMutation(listDeploymentStrategiesRequest).build()); } /** *

* Lists the deployments for an environment in descending deployment number order. *

* * @param listDeploymentsRequest * @return Result of the ListDeployments operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListDeployments * @see AWS API * Documentation */ default ListDeploymentsResponse listDeployments(ListDeploymentsRequest listDeploymentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest.Builder} to create a * request. * @return Result of the ListDeployments operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListDeployments * @see AWS API * Documentation */ default ListDeploymentsResponse listDeployments(Consumer listDeploymentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listDeployments(ListDeploymentsRequest.builder().applyMutation(listDeploymentsRequest).build()); } /** *

* This is a variant of * {@link #listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client
     *             .listDeploymentsPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListDeploymentsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest)} operation. *

* * @param listDeploymentsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListDeployments * @see AWS API * Documentation */ default ListDeploymentsIterable listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return new ListDeploymentsIterable(this, listDeploymentsRequest); } /** *

* This is a variant of * {@link #listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client
     *             .listDeploymentsPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListDeploymentsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListDeployments * @see AWS API * Documentation */ default ListDeploymentsIterable listDeploymentsPaginator(Consumer listDeploymentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listDeploymentsPaginator(ListDeploymentsRequest.builder().applyMutation(listDeploymentsRequest).build()); } /** *

* Lists the environments for an application. *

* * @param listEnvironmentsRequest * @return Result of the ListEnvironments operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListEnvironments * @see AWS * API Documentation */ default ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest.Builder} to create a * request. * @return Result of the ListEnvironments operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListEnvironments * @see AWS * API Documentation */ default ListEnvironmentsResponse listEnvironments(Consumer listEnvironmentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listEnvironments(ListEnvironmentsRequest.builder().applyMutation(listEnvironmentsRequest).build()); } /** *

* This is a variant of * {@link #listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client
     *             .listEnvironmentsPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListEnvironmentsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest)} operation. *

* * @param listEnvironmentsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListEnvironments * @see AWS * API Documentation */ default ListEnvironmentsIterable listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return new ListEnvironmentsIterable(this, listEnvironmentsRequest); } /** *

* This is a variant of * {@link #listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client
     *             .listEnvironmentsPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListEnvironmentsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListEnvironments * @see AWS * API Documentation */ default ListEnvironmentsIterable listEnvironmentsPaginator(Consumer listEnvironmentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listEnvironmentsPaginator(ListEnvironmentsRequest.builder().applyMutation(listEnvironmentsRequest).build()); } /** *

* Lists all AppConfig extension associations in the account. For more information about extensions and * associations, see Extending * workflows in the AppConfig User Guide. *

* * @param listExtensionAssociationsRequest * @return Result of the ListExtensionAssociations operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListExtensionAssociations * @see AWS API Documentation */ default ListExtensionAssociationsResponse listExtensionAssociations( ListExtensionAssociationsRequest listExtensionAssociationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* Lists all AppConfig extension associations in the account. For more information about extensions and * associations, see Extending * workflows 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 software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest.Builder} to create * a request. * @return Result of the ListExtensionAssociations operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListExtensionAssociations * @see AWS API Documentation */ default ListExtensionAssociationsResponse listExtensionAssociations( Consumer listExtensionAssociationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listExtensionAssociations(ListExtensionAssociationsRequest.builder() .applyMutation(listExtensionAssociationsRequest).build()); } /** *

* This is a variant of * {@link #listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable responses = client.listExtensionAssociationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable responses = client
     *             .listExtensionAssociationsPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable responses = client.listExtensionAssociationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest)} * operation. *

* * @param listExtensionAssociationsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListExtensionAssociations * @see AWS API Documentation */ default ListExtensionAssociationsIterable listExtensionAssociationsPaginator( ListExtensionAssociationsRequest listExtensionAssociationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return new ListExtensionAssociationsIterable(this, listExtensionAssociationsRequest); } /** *

* This is a variant of * {@link #listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable responses = client.listExtensionAssociationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable responses = client
     *             .listExtensionAssociationsPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable responses = client.listExtensionAssociationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest.Builder} to create * a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListExtensionAssociations * @see AWS API Documentation */ default ListExtensionAssociationsIterable listExtensionAssociationsPaginator( Consumer listExtensionAssociationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 Extending * workflows in the AppConfig User Guide. *

* * @param listExtensionsRequest * @return Result of the ListExtensions operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListExtensions * @see AWS API * Documentation */ default ListExtensionsResponse listExtensions(ListExtensionsRequest listExtensionsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about * extensions, see Extending * workflows 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 software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest.Builder} to create a request. * @return Result of the ListExtensions operation returned by the service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListExtensions * @see AWS API * Documentation */ default ListExtensionsResponse listExtensions(Consumer listExtensionsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listExtensions(ListExtensionsRequest.builder().applyMutation(listExtensionsRequest).build()); } /** *

* This is a variant of * {@link #listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable responses = client.listExtensionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable responses = client
     *             .listExtensionsPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListExtensionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable responses = client.listExtensionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest)} operation. *

* * @param listExtensionsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListExtensions * @see AWS API * Documentation */ default ListExtensionsIterable listExtensionsPaginator(ListExtensionsRequest listExtensionsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return new ListExtensionsIterable(this, listExtensionsRequest); } /** *

* This is a variant of * {@link #listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable responses = client.listExtensionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable responses = client
     *             .listExtensionsPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListExtensionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable responses = client.listExtensionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListExtensions * @see AWS API * Documentation */ default ListExtensionsIterable listExtensionsPaginator(Consumer listExtensionsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { return listExtensionsPaginator(ListExtensionsRequest.builder().applyMutation(listExtensionsRequest).build()); } /** *

* Lists configurations stored in the AppConfig hosted configuration store by version. *

* * @param listHostedConfigurationVersionsRequest * @return Result of the ListHostedConfigurationVersions operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListHostedConfigurationVersions * @see AWS API Documentation */ default ListHostedConfigurationVersionsResponse listHostedConfigurationVersions( ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest.Builder} to * create a request. * @return Result of the ListHostedConfigurationVersions operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListHostedConfigurationVersions * @see AWS API Documentation */ default ListHostedConfigurationVersionsResponse listHostedConfigurationVersions( Consumer listHostedConfigurationVersionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return listHostedConfigurationVersions(ListHostedConfigurationVersionsRequest.builder() .applyMutation(listHostedConfigurationVersionsRequest).build()); } /** *

* This is a variant of * {@link #listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client.listHostedConfigurationVersionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client
     *             .listHostedConfigurationVersionsPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client.listHostedConfigurationVersionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest)} * operation. *

* * @param listHostedConfigurationVersionsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListHostedConfigurationVersions * @see AWS API Documentation */ default ListHostedConfigurationVersionsIterable listHostedConfigurationVersionsPaginator( ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return new ListHostedConfigurationVersionsIterable(this, listHostedConfigurationVersionsRequest); } /** *

* This is a variant of * {@link #listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client.listHostedConfigurationVersionsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client
     *             .listHostedConfigurationVersionsPaginator(request);
     *     for (software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client.listHostedConfigurationVersionsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@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 software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest.Builder} to * create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListHostedConfigurationVersions * @see AWS API Documentation */ default ListHostedConfigurationVersionsIterable listHostedConfigurationVersionsPaginator( Consumer listHostedConfigurationVersionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return listHostedConfigurationVersionsPaginator(ListHostedConfigurationVersionsRequest.builder() .applyMutation(listHostedConfigurationVersionsRequest).build()); } /** *

* Retrieves the list of key-value tags assigned to the resource. *

* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListTagsForResource * @see AWS * API Documentation */ default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.ListTagsForResourceRequest.Builder} to create a * request. * @return Result of the ListTagsForResource operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ListTagsForResource * @see AWS * API Documentation */ default ListTagsForResourceResponse listTagsForResource( Consumer listTagsForResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Starts a deployment. *

* * @param startDeploymentRequest * @return Result of the StartDeployment operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws ConflictException * The request could not be processed because of conflict in the current state of the resource. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.StartDeployment * @see AWS API * Documentation */ default StartDeploymentResponse startDeployment(StartDeploymentRequest startDeploymentRequest) throws BadRequestException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.StartDeploymentRequest.Builder} to create a * request. * @return Result of the StartDeployment operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws ConflictException * The request could not be processed because of conflict in the current state of the resource. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.StartDeployment * @see AWS API * Documentation */ default StartDeploymentResponse startDeployment(Consumer startDeploymentRequest) throws BadRequestException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 Result of the StopDeployment operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.StopDeployment * @see AWS API * Documentation */ default StopDeploymentResponse stopDeployment(StopDeploymentRequest stopDeploymentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.StopDeploymentRequest.Builder} to create a request. * @return Result of the StopDeployment operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.StopDeployment * @see AWS API * Documentation */ default StopDeploymentResponse stopDeployment(Consumer stopDeploymentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException { 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 Result of the TagResource operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.TagResourceRequest.Builder} to create a request. * @return Result of the TagResource operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(Consumer tagResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Deletes a tag key and value from an AppConfig resource. *

* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UntagResource * @see AWS API * Documentation */ default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.UntagResourceRequest.Builder} to create a request. * @return Result of the UntagResource operation returned by the service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UntagResource * @see AWS API * Documentation */ default UntagResourceResponse untagResource(Consumer untagResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Updates the value of the DeletionProtection parameter. *

* * @param updateAccountSettingsRequest * @return Result of the UpdateAccountSettings operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateAccountSettings * @see AWS API Documentation */ default UpdateAccountSettingsResponse updateAccountSettings(UpdateAccountSettingsRequest updateAccountSettingsRequest) throws BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* Updates the value of the DeletionProtection parameter. *

*
*

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

* * @param updateAccountSettingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.appconfig.model.UpdateAccountSettingsRequest.Builder} to create a * request. * @return Result of the UpdateAccountSettings operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateAccountSettings * @see AWS API Documentation */ default UpdateAccountSettingsResponse updateAccountSettings( Consumer updateAccountSettingsRequest) throws BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return updateAccountSettings(UpdateAccountSettingsRequest.builder().applyMutation(updateAccountSettingsRequest).build()); } /** *

* Updates an application. *

* * @param updateApplicationRequest * @return Result of the UpdateApplication operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateApplication * @see AWS * API Documentation */ default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.UpdateApplicationRequest.Builder} to create a * request. * @return Result of the UpdateApplication operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateApplication * @see AWS * API Documentation */ default UpdateApplicationResponse updateApplication(Consumer updateApplicationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return updateApplication(UpdateApplicationRequest.builder().applyMutation(updateApplicationRequest).build()); } /** *

* Updates a configuration profile. *

* * @param updateConfigurationProfileRequest * @return Result of the UpdateConfigurationProfile operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateConfigurationProfile * @see AWS API Documentation */ default UpdateConfigurationProfileResponse updateConfigurationProfile( UpdateConfigurationProfileRequest updateConfigurationProfileRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.UpdateConfigurationProfileRequest.Builder} to * create a request. * @return Result of the UpdateConfigurationProfile operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateConfigurationProfile * @see AWS API Documentation */ default UpdateConfigurationProfileResponse updateConfigurationProfile( Consumer updateConfigurationProfileRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return updateConfigurationProfile(UpdateConfigurationProfileRequest.builder() .applyMutation(updateConfigurationProfileRequest).build()); } /** *

* Updates a deployment strategy. *

* * @param updateDeploymentStrategyRequest * @return Result of the UpdateDeploymentStrategy operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateDeploymentStrategy * @see AWS API Documentation */ default UpdateDeploymentStrategyResponse updateDeploymentStrategy( UpdateDeploymentStrategyRequest updateDeploymentStrategyRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.UpdateDeploymentStrategyRequest.Builder} to create * a request. * @return Result of the UpdateDeploymentStrategy operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateDeploymentStrategy * @see AWS API Documentation */ default UpdateDeploymentStrategyResponse updateDeploymentStrategy( Consumer updateDeploymentStrategyRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return updateDeploymentStrategy(UpdateDeploymentStrategyRequest.builder().applyMutation(updateDeploymentStrategyRequest) .build()); } /** *

* Updates an environment. *

* * @param updateEnvironmentRequest * @return Result of the UpdateEnvironment operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateEnvironment * @see AWS * API Documentation */ default UpdateEnvironmentResponse updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.UpdateEnvironmentRequest.Builder} to create a * request. * @return Result of the UpdateEnvironment operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateEnvironment * @see AWS * API Documentation */ default UpdateEnvironmentResponse updateEnvironment(Consumer updateEnvironmentRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return updateEnvironment(UpdateEnvironmentRequest.builder().applyMutation(updateEnvironmentRequest).build()); } /** *

* Updates an AppConfig extension. For more information about extensions, see Extending * workflows in the AppConfig User Guide. *

* * @param updateExtensionRequest * @return Result of the UpdateExtension operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws ConflictException * The request could not be processed because of conflict in the current state of the resource. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateExtension * @see AWS API * Documentation */ default UpdateExtensionResponse updateExtension(UpdateExtensionRequest updateExtensionRequest) throws BadRequestException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* Updates an AppConfig extension. For more information about extensions, see Extending * workflows 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 software.amazon.awssdk.services.appconfig.model.UpdateExtensionRequest.Builder} to create a * request. * @return Result of the UpdateExtension operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws ConflictException * The request could not be processed because of conflict in the current state of the resource. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateExtension * @see AWS API * Documentation */ default UpdateExtensionResponse updateExtension(Consumer updateExtensionRequest) throws BadRequestException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return updateExtension(UpdateExtensionRequest.builder().applyMutation(updateExtensionRequest).build()); } /** *

* Updates an association. For more information about extensions and associations, see Extending * workflows in the AppConfig User Guide. *

* * @param updateExtensionAssociationRequest * @return Result of the UpdateExtensionAssociation operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateExtensionAssociation * @see AWS API Documentation */ default UpdateExtensionAssociationResponse updateExtensionAssociation( UpdateExtensionAssociationRequest updateExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { throw new UnsupportedOperationException(); } /** *

* Updates an association. For more information about extensions and associations, see Extending * workflows 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 software.amazon.awssdk.services.appconfig.model.UpdateExtensionAssociationRequest.Builder} to * create a request. * @return Result of the UpdateExtensionAssociation operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.UpdateExtensionAssociation * @see AWS API Documentation */ default UpdateExtensionAssociationResponse updateExtensionAssociation( Consumer updateExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return updateExtensionAssociation(UpdateExtensionAssociationRequest.builder() .applyMutation(updateExtensionAssociationRequest).build()); } /** *

* Uses the validators in a configuration profile to validate a configuration. *

* * @param validateConfigurationRequest * @return Result of the ValidateConfiguration operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ValidateConfiguration * @see AWS API Documentation */ default ValidateConfigurationResponse validateConfiguration(ValidateConfigurationRequest validateConfigurationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { 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 software.amazon.awssdk.services.appconfig.model.ValidateConfigurationRequest.Builder} to create a * request. * @return Result of the ValidateConfiguration operation returned by the service. * @throws BadRequestException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ResourceNotFoundException * The requested resource could not be found. * @throws InternalServerException * There was an internal failure in the AppConfig service. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws AppConfigException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample AppConfigClient.ValidateConfiguration * @see AWS API Documentation */ default ValidateConfigurationResponse validateConfiguration( Consumer validateConfigurationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException { return validateConfiguration(ValidateConfigurationRequest.builder().applyMutation(validateConfigurationRequest).build()); } /** * Create a {@link AppConfigClient} 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 AppConfigClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link AppConfigClient}. */ static AppConfigClientBuilder builder() { return new DefaultAppConfigClientBuilder(); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } @Override default AppConfigServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy