Interface AppConfigAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface AppConfigAsyncClient extends AwsClient
Service client for accessing AppConfig asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

AppConfig helps you safely change application behavior in production without redeploying code. Using feature flags and dynamic free-form configurations, you can control how your application runs in real time. This approach reduces risk, accelerates releases, and enables faster responses to issues. You can gradually roll out new features to specific users, monitor their impact, and expand availability with confidence. You can also update block lists, allow lists, throttling limits, and logging levels instantly, allowing you to mitigate issues and fine-tune performance without a deployment.

AppConfig supports a broad spectrum of use cases:

  • Feature flags and toggles – Gradually release new capabilities to targeted users, monitor impact, and instantly roll back changes if issues occur.

  • Application tuning – Introduce changes safely in production, measure their effects, and refine behavior without redeploying code.

  • Allow list or block list – Control access to features or restrict specific users in real time, without modifying application code.

  • Centralized configuration storage – Manage configuration data consistently across workloads. AppConfig can deploy configuration from the AppConfig hosted configuration store, Secrets Manager, Systems 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 data to manage in AppConfig

Before creating a configuration profile, identify the configuration data in your code that you want to manage dynamically using AppConfig. Common examples include feature flags, allow and block lists, logging levels, service limits, and throttling rules. These values tend to change frequently and can cause issues if misconfigured.

If your configuration data already exists in cloud services such as Systems Manager Parameter Store or Amazon S3, you can use AppConfig to validate, deploy, and manage that data more effectively.

2. Create a configuration profile in AppConfig

A configuration profile defines how AppConfig locates and manages your configuration data. It includes a URI that points to the data source and a profile type.

AppConfig supports two profile types

  • Feature flags – Enable controlled feature releases, gradual rollouts, and testing in production.

  • Free-form configurations – Store and retrieve configuration data from external sources and update it without redeploying code.

Both profile types help decouple configuration from code, support continuous delivery, and reduce deployment risk.

You can also add optional validators to ensure that configuration data is syntactically and semantically correct. During deployment, AppConfig evaluates these validators and automatically rolls back changes if validation fails.

Each configuration profile is associated with an application, which acts as a logical container for your configuration resources. For more information about creating a configuration profile, see Creating a configuration profile in AppConfig in the the AppConfig User Guide.

3. Deploy configuration data

When you start a deployment, AppConfig:

  1. Retrieves configuration data from the source defined in the configuration profile

  2. Validates the data using the configured validators

  3. Delivers the validated configuration to AppConfig Agent

The delivered configuration becomes the deployed version used by your application. For more information about deploying a configuration, see Deploying feature flags and configuration data in AppConfig.

4. Retrieve configuration data

Your application retrieves configuration data by calling a local endpoint exposed by AppConfig Agent, which caches the deployed configuration. Retrieving data is a metered event. AppConfig Agent supports a variety of use cases, as described in How to use AppConfig Agent to retrieve configuration data.

If the agent is not suitable for your use case, your application can retrieve configuration data directly from AppConfig by calling the StartConfigurationSession and GetLatestConfiguration API actions.

For more information about retrieving a configuration, see Retrieving feature flags and configuration data in AppConfig.

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

  • Field Details

  • Method Details

    • createApplication

      default CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest createApplicationRequest)

      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.

      Parameters:
      createApplicationRequest -
      Returns:
      A Java Future containing the result of the CreateApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • 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

        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.

      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createApplication

      default CompletableFuture<CreateApplicationResponse> createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)

      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 CreateApplicationRequest.Builder avoiding the need to create one manually via CreateApplicationRequest.builder()

      Parameters:
      createApplicationRequest - A Consumer that will call methods on CreateApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • 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

        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.

      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createConfigurationProfile

      default CompletableFuture<CreateConfigurationProfileResponse> createConfigurationProfile(CreateConfigurationProfileRequest createConfigurationProfileRequest)

      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.

      Parameters:
      createConfigurationProfileRequest -
      Returns:
      A Java Future containing the result of the CreateConfigurationProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

        Applications: 100 max

        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.

      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createConfigurationProfile

      default CompletableFuture<CreateConfigurationProfileResponse> createConfigurationProfile(Consumer<CreateConfigurationProfileRequest.Builder> createConfigurationProfileRequest)

      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 CreateConfigurationProfileRequest.Builder avoiding the need to create one manually via CreateConfigurationProfileRequest.builder()

      Parameters:
      createConfigurationProfileRequest - A Consumer that will call methods on CreateConfigurationProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateConfigurationProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

        Applications: 100 max

        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.

      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createDeploymentStrategy

      default CompletableFuture<CreateDeploymentStrategyResponse> createDeploymentStrategy(CreateDeploymentStrategyRequest createDeploymentStrategyRequest)

      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.

      Parameters:
      createDeploymentStrategyRequest -
      Returns:
      A Java Future containing the result of the CreateDeploymentStrategy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • 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

        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.

      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createDeploymentStrategy

      default CompletableFuture<CreateDeploymentStrategyResponse> createDeploymentStrategy(Consumer<CreateDeploymentStrategyRequest.Builder> createDeploymentStrategyRequest)

      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 CreateDeploymentStrategyRequest.Builder avoiding the need to create one manually via CreateDeploymentStrategyRequest.builder()

      Parameters:
      createDeploymentStrategyRequest - A Consumer that will call methods on CreateDeploymentStrategyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateDeploymentStrategy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • 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

        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.

      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createEnvironment

      default CompletableFuture<CreateEnvironmentResponse> createEnvironment(CreateEnvironmentRequest createEnvironmentRequest)

      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.

      Parameters:
      createEnvironmentRequest -
      Returns:
      A Java Future containing the result of the CreateEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • ResourceNotFoundException The requested resource could not be found.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • 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

        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.

      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createEnvironment

      default CompletableFuture<CreateEnvironmentResponse> createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest)

      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 CreateEnvironmentRequest.Builder avoiding the need to create one manually via CreateEnvironmentRequest.builder()

      Parameters:
      createEnvironmentRequest - A Consumer that will call methods on CreateEnvironmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • ResourceNotFoundException The requested resource could not be found.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • 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

        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.

      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createExperimentDefinition

      default CompletableFuture<CreateExperimentDefinitionResponse> createExperimentDefinition(CreateExperimentDefinitionRequest createExperimentDefinitionRequest)

      Creates an experiment definition in AppConfig. An experiment definition describes the purpose, scope, and operational configuration of an experiment, including the target audience, feature flag, and treatment configurations.

      Parameters:
      createExperimentDefinitionRequest -
      Returns:
      A Java Future containing the result of the CreateExperimentDefinition operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • 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

        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.

      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createExperimentDefinition

      default CompletableFuture<CreateExperimentDefinitionResponse> createExperimentDefinition(Consumer<CreateExperimentDefinitionRequest.Builder> createExperimentDefinitionRequest)

      Creates an experiment definition in AppConfig. An experiment definition describes the purpose, scope, and operational configuration of an experiment, including the target audience, feature flag, and treatment configurations.


      This is a convenience which creates an instance of the CreateExperimentDefinitionRequest.Builder avoiding the need to create one manually via CreateExperimentDefinitionRequest.builder()

      Parameters:
      createExperimentDefinitionRequest - A Consumer that will call methods on CreateExperimentDefinitionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateExperimentDefinition operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • 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

        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.

      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createExtension

      default CompletableFuture<CreateExtensionResponse> createExtension(CreateExtensionRequest createExtensionRequest)

      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.

      Parameters:
      createExtensionRequest -
      Returns:
      A Java Future containing the result of the CreateExtension operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

        Applications: 100 max

        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.

      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createExtension

      default CompletableFuture<CreateExtensionResponse> createExtension(Consumer<CreateExtensionRequest.Builder> createExtensionRequest)

      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 CreateExtensionRequest.Builder avoiding the need to create one manually via CreateExtensionRequest.builder()

      Parameters:
      createExtensionRequest - A Consumer that will call methods on CreateExtensionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateExtension operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

        Applications: 100 max

        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.

      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createExtensionAssociation

      default CompletableFuture<CreateExtensionAssociationResponse> createExtensionAssociation(CreateExtensionAssociationRequest createExtensionAssociationRequest)

      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.

      Parameters:
      createExtensionAssociationRequest -
      Returns:
      A Java Future containing the result of the CreateExtensionAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

        Applications: 100 max

        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.

      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createExtensionAssociation

      default CompletableFuture<CreateExtensionAssociationResponse> createExtensionAssociation(Consumer<CreateExtensionAssociationRequest.Builder> createExtensionAssociationRequest)

      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 CreateExtensionAssociationRequest.Builder avoiding the need to create one manually via CreateExtensionAssociationRequest.builder()

      Parameters:
      createExtensionAssociationRequest - A Consumer that will call methods on CreateExtensionAssociationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateExtensionAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • ServiceQuotaExceededException The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:

        Applications: 100 max

        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.

      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createHostedConfigurationVersion

      default CompletableFuture<CreateHostedConfigurationVersionResponse> createHostedConfigurationVersion(CreateHostedConfigurationVersionRequest createHostedConfigurationVersionRequest)

      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.

      Parameters:
      createHostedConfigurationVersionRequest -
      Returns:
      A Java Future containing the result of the CreateHostedConfigurationVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • 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

        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.

      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • PayloadTooLargeException The configuration size is too large.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createHostedConfigurationVersion

      default CompletableFuture<CreateHostedConfigurationVersionResponse> createHostedConfigurationVersion(Consumer<CreateHostedConfigurationVersionRequest.Builder> createHostedConfigurationVersionRequest)

      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 CreateHostedConfigurationVersionRequest.Builder avoiding the need to create one manually via CreateHostedConfigurationVersionRequest.builder()

      Parameters:
      createHostedConfigurationVersionRequest - A Consumer that will call methods on CreateHostedConfigurationVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateHostedConfigurationVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • 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

        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.

      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • PayloadTooLargeException The configuration size is too large.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteApplication

      default CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest deleteApplicationRequest)

      Deletes an application.

      Parameters:
      deleteApplicationRequest -
      Returns:
      A Java Future containing the result of the DeleteApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteApplication

      default CompletableFuture<DeleteApplicationResponse> deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)

      Deletes an application.


      This is a convenience which creates an instance of the DeleteApplicationRequest.Builder avoiding the need to create one manually via DeleteApplicationRequest.builder()

      Parameters:
      deleteApplicationRequest - A Consumer that will call methods on DeleteApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteConfigurationProfile

      default CompletableFuture<DeleteConfigurationProfileResponse> deleteConfigurationProfile(DeleteConfigurationProfileRequest deleteConfigurationProfileRequest)

      Deletes a configuration profile.

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

      Parameters:
      deleteConfigurationProfileRequest -
      Returns:
      A Java Future containing the result of the DeleteConfigurationProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteConfigurationProfile

      default CompletableFuture<DeleteConfigurationProfileResponse> deleteConfigurationProfile(Consumer<DeleteConfigurationProfileRequest.Builder> deleteConfigurationProfileRequest)

      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 DeleteConfigurationProfileRequest.Builder avoiding the need to create one manually via DeleteConfigurationProfileRequest.builder()

      Parameters:
      deleteConfigurationProfileRequest - A Consumer that will call methods on DeleteConfigurationProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteConfigurationProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteDeploymentStrategy

      default CompletableFuture<DeleteDeploymentStrategyResponse> deleteDeploymentStrategy(DeleteDeploymentStrategyRequest deleteDeploymentStrategyRequest)

      Deletes a deployment strategy.

      Parameters:
      deleteDeploymentStrategyRequest -
      Returns:
      A Java Future containing the result of the DeleteDeploymentStrategy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteDeploymentStrategy

      default CompletableFuture<DeleteDeploymentStrategyResponse> deleteDeploymentStrategy(Consumer<DeleteDeploymentStrategyRequest.Builder> deleteDeploymentStrategyRequest)

      Deletes a deployment strategy.


      This is a convenience which creates an instance of the DeleteDeploymentStrategyRequest.Builder avoiding the need to create one manually via DeleteDeploymentStrategyRequest.builder()

      Parameters:
      deleteDeploymentStrategyRequest - A Consumer that will call methods on DeleteDeploymentStrategyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteDeploymentStrategy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteEnvironment

      default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest)

      Deletes an environment.

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

      Parameters:
      deleteEnvironmentRequest -
      Returns:
      A Java Future containing the result of the DeleteEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteEnvironment

      default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest)

      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 DeleteEnvironmentRequest.Builder avoiding the need to create one manually via DeleteEnvironmentRequest.builder()

      Parameters:
      deleteEnvironmentRequest - A Consumer that will call methods on DeleteEnvironmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteExperimentDefinition

      default CompletableFuture<DeleteExperimentDefinitionResponse> deleteExperimentDefinition(DeleteExperimentDefinitionRequest deleteExperimentDefinitionRequest)

      Deletes an experiment definition. You can archive the definition to hide it from the active list while preserving it for future reference, or permanently delete it along with all associated run history.

      Parameters:
      deleteExperimentDefinitionRequest -
      Returns:
      A Java Future containing the result of the DeleteExperimentDefinition operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteExperimentDefinition

      default CompletableFuture<DeleteExperimentDefinitionResponse> deleteExperimentDefinition(Consumer<DeleteExperimentDefinitionRequest.Builder> deleteExperimentDefinitionRequest)

      Deletes an experiment definition. You can archive the definition to hide it from the active list while preserving it for future reference, or permanently delete it along with all associated run history.


      This is a convenience which creates an instance of the DeleteExperimentDefinitionRequest.Builder avoiding the need to create one manually via DeleteExperimentDefinitionRequest.builder()

      Parameters:
      deleteExperimentDefinitionRequest - A Consumer that will call methods on DeleteExperimentDefinitionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteExperimentDefinition operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteExtension

      default CompletableFuture<DeleteExtensionResponse> deleteExtension(DeleteExtensionRequest deleteExtensionRequest)

      Deletes an AppConfig extension. You must delete all associations to an extension before you delete the extension.

      Parameters:
      deleteExtensionRequest -
      Returns:
      A Java Future containing the result of the DeleteExtension operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteExtension

      default CompletableFuture<DeleteExtensionResponse> deleteExtension(Consumer<DeleteExtensionRequest.Builder> deleteExtensionRequest)

      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 DeleteExtensionRequest.Builder avoiding the need to create one manually via DeleteExtensionRequest.builder()

      Parameters:
      deleteExtensionRequest - A Consumer that will call methods on DeleteExtensionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteExtension operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteExtensionAssociation

      default CompletableFuture<DeleteExtensionAssociationResponse> deleteExtensionAssociation(DeleteExtensionAssociationRequest deleteExtensionAssociationRequest)

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

      Parameters:
      deleteExtensionAssociationRequest -
      Returns:
      A Java Future containing the result of the DeleteExtensionAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteExtensionAssociation

      default CompletableFuture<DeleteExtensionAssociationResponse> deleteExtensionAssociation(Consumer<DeleteExtensionAssociationRequest.Builder> deleteExtensionAssociationRequest)

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


      This is a convenience which creates an instance of the DeleteExtensionAssociationRequest.Builder avoiding the need to create one manually via DeleteExtensionAssociationRequest.builder()

      Parameters:
      deleteExtensionAssociationRequest - A Consumer that will call methods on DeleteExtensionAssociationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteExtensionAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteHostedConfigurationVersion

      default CompletableFuture<DeleteHostedConfigurationVersionResponse> deleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest deleteHostedConfigurationVersionRequest)

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

      Parameters:
      deleteHostedConfigurationVersionRequest -
      Returns:
      A Java Future containing the result of the DeleteHostedConfigurationVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteHostedConfigurationVersion

      default CompletableFuture<DeleteHostedConfigurationVersionResponse> deleteHostedConfigurationVersion(Consumer<DeleteHostedConfigurationVersionRequest.Builder> deleteHostedConfigurationVersionRequest)

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


      This is a convenience which creates an instance of the DeleteHostedConfigurationVersionRequest.Builder avoiding the need to create one manually via DeleteHostedConfigurationVersionRequest.builder()

      Parameters:
      deleteHostedConfigurationVersionRequest - A Consumer that will call methods on DeleteHostedConfigurationVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteHostedConfigurationVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccountSettings

      default CompletableFuture<GetAccountSettingsResponse> getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest)

      Returns information about the status of the DeletionProtection parameter.

      Parameters:
      getAccountSettingsRequest -
      Returns:
      A Java Future containing the result of the GetAccountSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccountSettings

      default CompletableFuture<GetAccountSettingsResponse> getAccountSettings(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest)

      Returns information about the status of the DeletionProtection parameter.


      This is a convenience which creates an instance of the GetAccountSettingsRequest.Builder avoiding the need to create one manually via GetAccountSettingsRequest.builder()

      Parameters:
      getAccountSettingsRequest - A Consumer that will call methods on GetAccountSettingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAccountSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getApplication

      default CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest getApplicationRequest)

      Retrieves information about an application.

      Parameters:
      getApplicationRequest -
      Returns:
      A Java Future containing the result of the GetApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getApplication

      default CompletableFuture<GetApplicationResponse> getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)

      Retrieves information about an application.


      This is a convenience which creates an instance of the GetApplicationRequest.Builder avoiding the need to create one manually via GetApplicationRequest.builder()

      Parameters:
      getApplicationRequest - A Consumer that will call methods on GetApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConfiguration

      @Deprecated default CompletableFuture<GetConfigurationResponse> getConfiguration(GetConfigurationRequest getConfigurationRequest)
      Deprecated.
      This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.

      (Deprecated) Retrieves the latest deployed configuration.

      Note the following important information.

      Parameters:
      getConfigurationRequest -
      Returns:
      A Java Future containing the result of the GetConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConfiguration

      Deprecated.
      This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.

      (Deprecated) Retrieves the latest deployed configuration.

      Note the following important information.


      This is a convenience which creates an instance of the GetConfigurationRequest.Builder avoiding the need to create one manually via GetConfigurationRequest.builder()

      Parameters:
      getConfigurationRequest - A Consumer that will call methods on GetConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConfigurationProfile

      default CompletableFuture<GetConfigurationProfileResponse> getConfigurationProfile(GetConfigurationProfileRequest getConfigurationProfileRequest)

      Retrieves information about a configuration profile.

      Parameters:
      getConfigurationProfileRequest -
      Returns:
      A Java Future containing the result of the GetConfigurationProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getConfigurationProfile

      default CompletableFuture<GetConfigurationProfileResponse> getConfigurationProfile(Consumer<GetConfigurationProfileRequest.Builder> getConfigurationProfileRequest)

      Retrieves information about a configuration profile.


      This is a convenience which creates an instance of the GetConfigurationProfileRequest.Builder avoiding the need to create one manually via GetConfigurationProfileRequest.builder()

      Parameters:
      getConfigurationProfileRequest - A Consumer that will call methods on GetConfigurationProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetConfigurationProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDeployment

      default CompletableFuture<GetDeploymentResponse> getDeployment(GetDeploymentRequest getDeploymentRequest)

      Retrieves information about a configuration deployment.

      Parameters:
      getDeploymentRequest -
      Returns:
      A Java Future containing the result of the GetDeployment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDeployment

      default CompletableFuture<GetDeploymentResponse> getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest)

      Retrieves information about a configuration deployment.


      This is a convenience which creates an instance of the GetDeploymentRequest.Builder avoiding the need to create one manually via GetDeploymentRequest.builder()

      Parameters:
      getDeploymentRequest - A Consumer that will call methods on GetDeploymentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetDeployment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDeploymentStrategy

      default CompletableFuture<GetDeploymentStrategyResponse> getDeploymentStrategy(GetDeploymentStrategyRequest getDeploymentStrategyRequest)

      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.

      Parameters:
      getDeploymentStrategyRequest -
      Returns:
      A Java Future containing the result of the GetDeploymentStrategy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDeploymentStrategy

      default CompletableFuture<GetDeploymentStrategyResponse> getDeploymentStrategy(Consumer<GetDeploymentStrategyRequest.Builder> getDeploymentStrategyRequest)

      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 GetDeploymentStrategyRequest.Builder avoiding the need to create one manually via GetDeploymentStrategyRequest.builder()

      Parameters:
      getDeploymentStrategyRequest - A Consumer that will call methods on GetDeploymentStrategyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetDeploymentStrategy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEnvironment

      default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest)

      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.

      Parameters:
      getEnvironmentRequest -
      Returns:
      A Java Future containing the result of the GetEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEnvironment

      default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest)

      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 GetEnvironmentRequest.Builder avoiding the need to create one manually via GetEnvironmentRequest.builder()

      Parameters:
      getEnvironmentRequest - A Consumer that will call methods on GetEnvironmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getExperimentDefinition

      default CompletableFuture<GetExperimentDefinitionResponse> getExperimentDefinition(GetExperimentDefinitionRequest getExperimentDefinitionRequest)

      Retrieves information about an experiment definition.

      Parameters:
      getExperimentDefinitionRequest -
      Returns:
      A Java Future containing the result of the GetExperimentDefinition operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getExperimentDefinition

      default CompletableFuture<GetExperimentDefinitionResponse> getExperimentDefinition(Consumer<GetExperimentDefinitionRequest.Builder> getExperimentDefinitionRequest)

      Retrieves information about an experiment definition.


      This is a convenience which creates an instance of the GetExperimentDefinitionRequest.Builder avoiding the need to create one manually via GetExperimentDefinitionRequest.builder()

      Parameters:
      getExperimentDefinitionRequest - A Consumer that will call methods on GetExperimentDefinitionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetExperimentDefinition operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getExperimentRun

      default CompletableFuture<GetExperimentRunResponse> getExperimentRun(GetExperimentRunRequest getExperimentRunRequest)

      Retrieves information about an experiment run, including its status, start time, and exposure settings.

      Parameters:
      getExperimentRunRequest -
      Returns:
      A Java Future containing the result of the GetExperimentRun operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getExperimentRun

      default CompletableFuture<GetExperimentRunResponse> getExperimentRun(Consumer<GetExperimentRunRequest.Builder> getExperimentRunRequest)

      Retrieves information about an experiment run, including its status, start time, and exposure settings.


      This is a convenience which creates an instance of the GetExperimentRunRequest.Builder avoiding the need to create one manually via GetExperimentRunRequest.builder()

      Parameters:
      getExperimentRunRequest - A Consumer that will call methods on GetExperimentRunRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetExperimentRun operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getExtension

      default CompletableFuture<GetExtensionResponse> getExtension(GetExtensionRequest getExtensionRequest)

      Returns information about an AppConfig extension.

      Parameters:
      getExtensionRequest -
      Returns:
      A Java Future containing the result of the GetExtension operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getExtension

      default CompletableFuture<GetExtensionResponse> getExtension(Consumer<GetExtensionRequest.Builder> getExtensionRequest)

      Returns information about an AppConfig extension.


      This is a convenience which creates an instance of the GetExtensionRequest.Builder avoiding the need to create one manually via GetExtensionRequest.builder()

      Parameters:
      getExtensionRequest - A Consumer that will call methods on GetExtensionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetExtension operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getExtensionAssociation

      default CompletableFuture<GetExtensionAssociationResponse> getExtensionAssociation(GetExtensionAssociationRequest getExtensionAssociationRequest)

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

      Parameters:
      getExtensionAssociationRequest -
      Returns:
      A Java Future containing the result of the GetExtensionAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getExtensionAssociation

      default CompletableFuture<GetExtensionAssociationResponse> getExtensionAssociation(Consumer<GetExtensionAssociationRequest.Builder> getExtensionAssociationRequest)

      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 GetExtensionAssociationRequest.Builder avoiding the need to create one manually via GetExtensionAssociationRequest.builder()

      Parameters:
      getExtensionAssociationRequest - A Consumer that will call methods on GetExtensionAssociationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetExtensionAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getHostedConfigurationVersion

      default CompletableFuture<GetHostedConfigurationVersionResponse> getHostedConfigurationVersion(GetHostedConfigurationVersionRequest getHostedConfigurationVersionRequest)

      Retrieves information about a specific configuration version.

      Parameters:
      getHostedConfigurationVersionRequest -
      Returns:
      A Java Future containing the result of the GetHostedConfigurationVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getHostedConfigurationVersion

      default CompletableFuture<GetHostedConfigurationVersionResponse> getHostedConfigurationVersion(Consumer<GetHostedConfigurationVersionRequest.Builder> getHostedConfigurationVersionRequest)

      Retrieves information about a specific configuration version.


      This is a convenience which creates an instance of the GetHostedConfigurationVersionRequest.Builder avoiding the need to create one manually via GetHostedConfigurationVersionRequest.builder()

      Parameters:
      getHostedConfigurationVersionRequest - A Consumer that will call methods on GetHostedConfigurationVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetHostedConfigurationVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApplications

      default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest)

      Lists all applications in your Amazon Web Services account.

      Parameters:
      listApplicationsRequest -
      Returns:
      A Java Future containing the result of the ListApplications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApplications

      default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)

      Lists all applications in your Amazon Web Services account.


      This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need to create one manually via ListApplicationsRequest.builder()

      Parameters:
      listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListApplications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApplicationsPaginator

      default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)

      This is a variant of listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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

      Parameters:
      listApplicationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listApplicationsPaginator

      default ListApplicationsPublisher listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)

      This is a variant of listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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


      This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need to create one manually via ListApplicationsRequest.builder()

      Parameters:
      listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConfigurationProfiles

      default CompletableFuture<ListConfigurationProfilesResponse> listConfigurationProfiles(ListConfigurationProfilesRequest listConfigurationProfilesRequest)

      Lists the configuration profiles for an application.

      Parameters:
      listConfigurationProfilesRequest -
      Returns:
      A Java Future containing the result of the ListConfigurationProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConfigurationProfiles

      default CompletableFuture<ListConfigurationProfilesResponse> listConfigurationProfiles(Consumer<ListConfigurationProfilesRequest.Builder> listConfigurationProfilesRequest)

      Lists the configuration profiles for an application.


      This is a convenience which creates an instance of the ListConfigurationProfilesRequest.Builder avoiding the need to create one manually via ListConfigurationProfilesRequest.builder()

      Parameters:
      listConfigurationProfilesRequest - A Consumer that will call methods on ListConfigurationProfilesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListConfigurationProfiles operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConfigurationProfilesPaginator

      default ListConfigurationProfilesPublisher listConfigurationProfilesPaginator(ListConfigurationProfilesRequest listConfigurationProfilesRequest)

      This is a variant of listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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

      Parameters:
      listConfigurationProfilesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConfigurationProfilesPaginator

      default ListConfigurationProfilesPublisher listConfigurationProfilesPaginator(Consumer<ListConfigurationProfilesRequest.Builder> listConfigurationProfilesRequest)

      This is a variant of listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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


      This is a convenience which creates an instance of the ListConfigurationProfilesRequest.Builder avoiding the need to create one manually via ListConfigurationProfilesRequest.builder()

      Parameters:
      listConfigurationProfilesRequest - A Consumer that will call methods on ListConfigurationProfilesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDeploymentStrategies

      default CompletableFuture<ListDeploymentStrategiesResponse> listDeploymentStrategies(ListDeploymentStrategiesRequest listDeploymentStrategiesRequest)

      Lists deployment strategies.

      Parameters:
      listDeploymentStrategiesRequest -
      Returns:
      A Java Future containing the result of the ListDeploymentStrategies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDeploymentStrategies

      default CompletableFuture<ListDeploymentStrategiesResponse> listDeploymentStrategies(Consumer<ListDeploymentStrategiesRequest.Builder> listDeploymentStrategiesRequest)

      Lists deployment strategies.


      This is a convenience which creates an instance of the ListDeploymentStrategiesRequest.Builder avoiding the need to create one manually via ListDeploymentStrategiesRequest.builder()

      Parameters:
      listDeploymentStrategiesRequest - A Consumer that will call methods on ListDeploymentStrategiesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListDeploymentStrategies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDeploymentStrategiesPaginator

      default ListDeploymentStrategiesPublisher listDeploymentStrategiesPaginator(ListDeploymentStrategiesRequest listDeploymentStrategiesRequest)

      This is a variant of listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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

      Parameters:
      listDeploymentStrategiesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDeploymentStrategiesPaginator

      default ListDeploymentStrategiesPublisher listDeploymentStrategiesPaginator(Consumer<ListDeploymentStrategiesRequest.Builder> listDeploymentStrategiesRequest)

      This is a variant of listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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


      This is a convenience which creates an instance of the ListDeploymentStrategiesRequest.Builder avoiding the need to create one manually via ListDeploymentStrategiesRequest.builder()

      Parameters:
      listDeploymentStrategiesRequest - A Consumer that will call methods on ListDeploymentStrategiesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDeployments

      default CompletableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest listDeploymentsRequest)

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

      Parameters:
      listDeploymentsRequest -
      Returns:
      A Java Future containing the result of the ListDeployments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDeployments

      default CompletableFuture<ListDeploymentsResponse> listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)

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


      This is a convenience which creates an instance of the ListDeploymentsRequest.Builder avoiding the need to create one manually via ListDeploymentsRequest.builder()

      Parameters:
      listDeploymentsRequest - A Consumer that will call methods on ListDeploymentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListDeployments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDeploymentsPaginator

      default ListDeploymentsPublisher listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest)

      This is a variant of listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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

      Parameters:
      listDeploymentsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDeploymentsPaginator

      default ListDeploymentsPublisher listDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)

      This is a variant of listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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


      This is a convenience which creates an instance of the ListDeploymentsRequest.Builder avoiding the need to create one manually via ListDeploymentsRequest.builder()

      Parameters:
      listDeploymentsRequest - A Consumer that will call methods on ListDeploymentsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironments

      default CompletableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest)

      Lists the environments for an application.

      Parameters:
      listEnvironmentsRequest -
      Returns:
      A Java Future containing the result of the ListEnvironments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironments

      default CompletableFuture<ListEnvironmentsResponse> listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)

      Lists the environments for an application.


      This is a convenience which creates an instance of the ListEnvironmentsRequest.Builder avoiding the need to create one manually via ListEnvironmentsRequest.builder()

      Parameters:
      listEnvironmentsRequest - A Consumer that will call methods on ListEnvironmentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListEnvironments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironmentsPaginator

      default ListEnvironmentsPublisher listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest)

      This is a variant of listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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

      Parameters:
      listEnvironmentsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironmentsPaginator

      default ListEnvironmentsPublisher listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)

      This is a variant of listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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


      This is a convenience which creates an instance of the ListEnvironmentsRequest.Builder avoiding the need to create one manually via ListEnvironmentsRequest.builder()

      Parameters:
      listEnvironmentsRequest - A Consumer that will call methods on ListEnvironmentsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExperimentDefinitions

      default CompletableFuture<ListExperimentDefinitionsResponse> listExperimentDefinitions(ListExperimentDefinitionsRequest listExperimentDefinitionsRequest)

      Lists the experiment definitions for an account. You can filter results by application, configuration profile, environment, or status.

      Parameters:
      listExperimentDefinitionsRequest -
      Returns:
      A Java Future containing the result of the ListExperimentDefinitions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExperimentDefinitions

      default CompletableFuture<ListExperimentDefinitionsResponse> listExperimentDefinitions(Consumer<ListExperimentDefinitionsRequest.Builder> listExperimentDefinitionsRequest)

      Lists the experiment definitions for an account. You can filter results by application, configuration profile, environment, or status.


      This is a convenience which creates an instance of the ListExperimentDefinitionsRequest.Builder avoiding the need to create one manually via ListExperimentDefinitionsRequest.builder()

      Parameters:
      listExperimentDefinitionsRequest - A Consumer that will call methods on ListExperimentDefinitionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListExperimentDefinitions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExperimentDefinitionsPaginator

      default ListExperimentDefinitionsPublisher listExperimentDefinitionsPaginator(ListExperimentDefinitionsRequest listExperimentDefinitionsRequest)

      This is a variant of listExperimentDefinitions(software.amazon.awssdk.services.appconfig.model.ListExperimentDefinitionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listExperimentDefinitions(software.amazon.awssdk.services.appconfig.model.ListExperimentDefinitionsRequest) operation.

      Parameters:
      listExperimentDefinitionsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExperimentDefinitionsPaginator

      default ListExperimentDefinitionsPublisher listExperimentDefinitionsPaginator(Consumer<ListExperimentDefinitionsRequest.Builder> listExperimentDefinitionsRequest)

      This is a variant of listExperimentDefinitions(software.amazon.awssdk.services.appconfig.model.ListExperimentDefinitionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listExperimentDefinitions(software.amazon.awssdk.services.appconfig.model.ListExperimentDefinitionsRequest) operation.


      This is a convenience which creates an instance of the ListExperimentDefinitionsRequest.Builder avoiding the need to create one manually via ListExperimentDefinitionsRequest.builder()

      Parameters:
      listExperimentDefinitionsRequest - A Consumer that will call methods on ListExperimentDefinitionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExperimentRunEvents

      default CompletableFuture<ListExperimentRunEventsResponse> listExperimentRunEvents(ListExperimentRunEventsRequest listExperimentRunEventsRequest)

      Lists the events for a specified experiment run. Events provide a timeline of actions and state changes that occurred during the run.

      Parameters:
      listExperimentRunEventsRequest -
      Returns:
      A Java Future containing the result of the ListExperimentRunEvents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExperimentRunEvents

      default CompletableFuture<ListExperimentRunEventsResponse> listExperimentRunEvents(Consumer<ListExperimentRunEventsRequest.Builder> listExperimentRunEventsRequest)

      Lists the events for a specified experiment run. Events provide a timeline of actions and state changes that occurred during the run.


      This is a convenience which creates an instance of the ListExperimentRunEventsRequest.Builder avoiding the need to create one manually via ListExperimentRunEventsRequest.builder()

      Parameters:
      listExperimentRunEventsRequest - A Consumer that will call methods on ListExperimentRunEventsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListExperimentRunEvents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExperimentRunEventsPaginator

      default ListExperimentRunEventsPublisher listExperimentRunEventsPaginator(ListExperimentRunEventsRequest listExperimentRunEventsRequest)

      This is a variant of listExperimentRunEvents(software.amazon.awssdk.services.appconfig.model.ListExperimentRunEventsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listExperimentRunEvents(software.amazon.awssdk.services.appconfig.model.ListExperimentRunEventsRequest) operation.

      Parameters:
      listExperimentRunEventsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExperimentRunEventsPaginator

      default ListExperimentRunEventsPublisher listExperimentRunEventsPaginator(Consumer<ListExperimentRunEventsRequest.Builder> listExperimentRunEventsRequest)

      This is a variant of listExperimentRunEvents(software.amazon.awssdk.services.appconfig.model.ListExperimentRunEventsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listExperimentRunEvents(software.amazon.awssdk.services.appconfig.model.ListExperimentRunEventsRequest) operation.


      This is a convenience which creates an instance of the ListExperimentRunEventsRequest.Builder avoiding the need to create one manually via ListExperimentRunEventsRequest.builder()

      Parameters:
      listExperimentRunEventsRequest - A Consumer that will call methods on ListExperimentRunEventsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExperimentRuns

      default CompletableFuture<ListExperimentRunsResponse> listExperimentRuns(ListExperimentRunsRequest listExperimentRunsRequest)

      Lists the experiment runs for a specified experiment definition. You can filter by status.

      Parameters:
      listExperimentRunsRequest -
      Returns:
      A Java Future containing the result of the ListExperimentRuns operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExperimentRuns

      default CompletableFuture<ListExperimentRunsResponse> listExperimentRuns(Consumer<ListExperimentRunsRequest.Builder> listExperimentRunsRequest)

      Lists the experiment runs for a specified experiment definition. You can filter by status.


      This is a convenience which creates an instance of the ListExperimentRunsRequest.Builder avoiding the need to create one manually via ListExperimentRunsRequest.builder()

      Parameters:
      listExperimentRunsRequest - A Consumer that will call methods on ListExperimentRunsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListExperimentRuns operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExperimentRunsPaginator

      default ListExperimentRunsPublisher listExperimentRunsPaginator(ListExperimentRunsRequest listExperimentRunsRequest)

      This is a variant of listExperimentRuns(software.amazon.awssdk.services.appconfig.model.ListExperimentRunsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listExperimentRuns(software.amazon.awssdk.services.appconfig.model.ListExperimentRunsRequest) operation.

      Parameters:
      listExperimentRunsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExperimentRunsPaginator

      default ListExperimentRunsPublisher listExperimentRunsPaginator(Consumer<ListExperimentRunsRequest.Builder> listExperimentRunsRequest)

      This is a variant of listExperimentRuns(software.amazon.awssdk.services.appconfig.model.ListExperimentRunsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

      Note: If you prefer to have control on service calls, use the listExperimentRuns(software.amazon.awssdk.services.appconfig.model.ListExperimentRunsRequest) operation.


      This is a convenience which creates an instance of the ListExperimentRunsRequest.Builder avoiding the need to create one manually via ListExperimentRunsRequest.builder()

      Parameters:
      listExperimentRunsRequest - A Consumer that will call methods on ListExperimentRunsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensionAssociations

      default CompletableFuture<ListExtensionAssociationsResponse> listExtensionAssociations(ListExtensionAssociationsRequest listExtensionAssociationsRequest)

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

      Parameters:
      listExtensionAssociationsRequest -
      Returns:
      A Java Future containing the result of the ListExtensionAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensionAssociations

      default CompletableFuture<ListExtensionAssociationsResponse> listExtensionAssociations(Consumer<ListExtensionAssociationsRequest.Builder> listExtensionAssociationsRequest)

      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 ListExtensionAssociationsRequest.Builder avoiding the need to create one manually via ListExtensionAssociationsRequest.builder()

      Parameters:
      listExtensionAssociationsRequest - A Consumer that will call methods on ListExtensionAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListExtensionAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensionAssociationsPaginator

      default ListExtensionAssociationsPublisher listExtensionAssociationsPaginator(ListExtensionAssociationsRequest listExtensionAssociationsRequest)

      This is a variant of listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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

      Parameters:
      listExtensionAssociationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensionAssociationsPaginator

      default ListExtensionAssociationsPublisher listExtensionAssociationsPaginator(Consumer<ListExtensionAssociationsRequest.Builder> listExtensionAssociationsRequest)

      This is a variant of listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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


      This is a convenience which creates an instance of the ListExtensionAssociationsRequest.Builder avoiding the need to create one manually via ListExtensionAssociationsRequest.builder()

      Parameters:
      listExtensionAssociationsRequest - A Consumer that will call methods on ListExtensionAssociationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensions

      default CompletableFuture<ListExtensionsResponse> listExtensions(ListExtensionsRequest listExtensionsRequest)

      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.

      Parameters:
      listExtensionsRequest -
      Returns:
      A Java Future containing the result of the ListExtensions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensions

      default CompletableFuture<ListExtensionsResponse> listExtensions(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest)

      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 ListExtensionsRequest.Builder avoiding the need to create one manually via ListExtensionsRequest.builder()

      Parameters:
      listExtensionsRequest - A Consumer that will call methods on ListExtensionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListExtensions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensionsPaginator

      default ListExtensionsPublisher listExtensionsPaginator(ListExtensionsRequest listExtensionsRequest)

      This is a variant of listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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

      Parameters:
      listExtensionsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensionsPaginator

      default ListExtensionsPublisher listExtensionsPaginator(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest)

      This is a variant of listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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


      This is a convenience which creates an instance of the ListExtensionsRequest.Builder avoiding the need to create one manually via ListExtensionsRequest.builder()

      Parameters:
      listExtensionsRequest - A Consumer that will call methods on ListExtensionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listHostedConfigurationVersions

      default CompletableFuture<ListHostedConfigurationVersionsResponse> listHostedConfigurationVersions(ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest)

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

      Parameters:
      listHostedConfigurationVersionsRequest -
      Returns:
      A Java Future containing the result of the ListHostedConfigurationVersions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listHostedConfigurationVersions

      default CompletableFuture<ListHostedConfigurationVersionsResponse> listHostedConfigurationVersions(Consumer<ListHostedConfigurationVersionsRequest.Builder> listHostedConfigurationVersionsRequest)

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


      This is a convenience which creates an instance of the ListHostedConfigurationVersionsRequest.Builder avoiding the need to create one manually via ListHostedConfigurationVersionsRequest.builder()

      Parameters:
      listHostedConfigurationVersionsRequest - A Consumer that will call methods on ListHostedConfigurationVersionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListHostedConfigurationVersions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listHostedConfigurationVersionsPaginator

      default ListHostedConfigurationVersionsPublisher listHostedConfigurationVersionsPaginator(ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest)

      This is a variant of listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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

      Parameters:
      listHostedConfigurationVersionsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listHostedConfigurationVersionsPaginator

      default ListHostedConfigurationVersionsPublisher listHostedConfigurationVersionsPaginator(Consumer<ListHostedConfigurationVersionsRequest.Builder> listHostedConfigurationVersionsRequest)

      This is a variant of listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

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

      The following are few ways to use the response class:

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

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

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


      This is a convenience which creates an instance of the ListHostedConfigurationVersionsRequest.Builder avoiding the need to create one manually via ListHostedConfigurationVersionsRequest.builder()

      Parameters:
      listHostedConfigurationVersionsRequest - A Consumer that will call methods on ListHostedConfigurationVersionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

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

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

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


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startDeployment

      default CompletableFuture<StartDeploymentResponse> startDeployment(StartDeploymentRequest startDeploymentRequest)

      Starts a deployment.

      AppConfig Agent supports deploying feature flag or free-form configuration data to specific segments or individual users during a gradual rollout. Entity-based gradual deployments ensure that once a user or segment receives a configuration version, they continue to receive that same version throughout the deployment period, regardless of which compute resource serves their requests. For more information, see Using AppConfig Agent for user-based or entity-based gradual deployments

      Parameters:
      startDeploymentRequest -
      Returns:
      A Java Future containing the result of the StartDeployment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startDeployment

      default CompletableFuture<StartDeploymentResponse> startDeployment(Consumer<StartDeploymentRequest.Builder> startDeploymentRequest)

      Starts a deployment.

      AppConfig Agent supports deploying feature flag or free-form configuration data to specific segments or individual users during a gradual rollout. Entity-based gradual deployments ensure that once a user or segment receives a configuration version, they continue to receive that same version throughout the deployment period, regardless of which compute resource serves their requests. For more information, see Using AppConfig Agent for user-based or entity-based gradual deployments


      This is a convenience which creates an instance of the StartDeploymentRequest.Builder avoiding the need to create one manually via StartDeploymentRequest.builder()

      Parameters:
      startDeploymentRequest - A Consumer that will call methods on StartDeploymentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartDeployment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startExperimentRun

      default CompletableFuture<StartExperimentRunResponse> startExperimentRun(StartExperimentRunRequest startExperimentRunRequest)

      Starts an experiment run for the specified experiment definition. An experiment run delivers treatments to the target audience and collects metrics. You can start multiple experiment runs from the same experiment definition.

      Parameters:
      startExperimentRunRequest -
      Returns:
      A Java Future containing the result of the StartExperimentRun operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startExperimentRun

      default CompletableFuture<StartExperimentRunResponse> startExperimentRun(Consumer<StartExperimentRunRequest.Builder> startExperimentRunRequest)

      Starts an experiment run for the specified experiment definition. An experiment run delivers treatments to the target audience and collects metrics. You can start multiple experiment runs from the same experiment definition.


      This is a convenience which creates an instance of the StartExperimentRunRequest.Builder avoiding the need to create one manually via StartExperimentRunRequest.builder()

      Parameters:
      startExperimentRunRequest - A Consumer that will call methods on StartExperimentRunRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartExperimentRun operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopDeployment

      default CompletableFuture<StopDeploymentResponse> stopDeployment(StopDeploymentRequest stopDeploymentRequest)

      Stops a deployment. This API action works only on deployments that have a status of DEPLOYING, unless an AllowRevert parameter is supplied. If the AllowRevert parameter is supplied, the status of an in-progress deployment will be ROLLED_BACK. The status of a completed deployment will be REVERTED. AppConfig only allows a revert within 72 hours of deployment completion.

      Parameters:
      stopDeploymentRequest -
      Returns:
      A Java Future containing the result of the StopDeployment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopDeployment

      default CompletableFuture<StopDeploymentResponse> stopDeployment(Consumer<StopDeploymentRequest.Builder> stopDeploymentRequest)

      Stops a deployment. This API action works only on deployments that have a status of DEPLOYING, unless an AllowRevert parameter is supplied. If the AllowRevert parameter is supplied, the status of an in-progress deployment will be ROLLED_BACK. The status of a completed deployment will be REVERTED. AppConfig only allows a revert within 72 hours of deployment completion.


      This is a convenience which creates an instance of the StopDeploymentRequest.Builder avoiding the need to create one manually via StopDeploymentRequest.builder()

      Parameters:
      stopDeploymentRequest - A Consumer that will call methods on StopDeploymentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StopDeployment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopExperimentRun

      default CompletableFuture<StopExperimentRunResponse> stopExperimentRun(StopExperimentRunRequest stopExperimentRunRequest)

      Stops a running experiment. Stopping an experiment run ends audience exposure and returns users to the currently deployed feature flag configuration.

      Parameters:
      stopExperimentRunRequest -
      Returns:
      A Java Future containing the result of the StopExperimentRun operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopExperimentRun

      default CompletableFuture<StopExperimentRunResponse> stopExperimentRun(Consumer<StopExperimentRunRequest.Builder> stopExperimentRunRequest)

      Stops a running experiment. Stopping an experiment run ends audience exposure and returns users to the currently deployed feature flag configuration.


      This is a convenience which creates an instance of the StopExperimentRunRequest.Builder avoiding the need to create one manually via StopExperimentRunRequest.builder()

      Parameters:
      stopExperimentRunRequest - A Consumer that will call methods on StopExperimentRunRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StopExperimentRun operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      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.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      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 TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Deletes a tag key and value from an AppConfig resource.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Deletes a tag key and value from an AppConfig resource.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException The requested resource could not be found.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAccountSettings

      default CompletableFuture<UpdateAccountSettingsResponse> updateAccountSettings(UpdateAccountSettingsRequest updateAccountSettingsRequest)

      Updates the value of the DeletionProtection parameter.

      Parameters:
      updateAccountSettingsRequest -
      Returns:
      A Java Future containing the result of the UpdateAccountSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAccountSettings

      default CompletableFuture<UpdateAccountSettingsResponse> updateAccountSettings(Consumer<UpdateAccountSettingsRequest.Builder> updateAccountSettingsRequest)

      Updates the value of the DeletionProtection parameter.


      This is a convenience which creates an instance of the UpdateAccountSettingsRequest.Builder avoiding the need to create one manually via UpdateAccountSettingsRequest.builder()

      Parameters:
      updateAccountSettingsRequest - A Consumer that will call methods on UpdateAccountSettingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAccountSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateApplication

      default CompletableFuture<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest updateApplicationRequest)

      Updates an application.

      Parameters:
      updateApplicationRequest -
      Returns:
      A Java Future containing the result of the UpdateApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateApplication

      default CompletableFuture<UpdateApplicationResponse> updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)

      Updates an application.


      This is a convenience which creates an instance of the UpdateApplicationRequest.Builder avoiding the need to create one manually via UpdateApplicationRequest.builder()

      Parameters:
      updateApplicationRequest - A Consumer that will call methods on UpdateApplicationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateApplication operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateConfigurationProfile

      default CompletableFuture<UpdateConfigurationProfileResponse> updateConfigurationProfile(UpdateConfigurationProfileRequest updateConfigurationProfileRequest)

      Updates a configuration profile.

      Parameters:
      updateConfigurationProfileRequest -
      Returns:
      A Java Future containing the result of the UpdateConfigurationProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateConfigurationProfile

      default CompletableFuture<UpdateConfigurationProfileResponse> updateConfigurationProfile(Consumer<UpdateConfigurationProfileRequest.Builder> updateConfigurationProfileRequest)

      Updates a configuration profile.


      This is a convenience which creates an instance of the UpdateConfigurationProfileRequest.Builder avoiding the need to create one manually via UpdateConfigurationProfileRequest.builder()

      Parameters:
      updateConfigurationProfileRequest - A Consumer that will call methods on UpdateConfigurationProfileRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateConfigurationProfile operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateDeploymentStrategy

      default CompletableFuture<UpdateDeploymentStrategyResponse> updateDeploymentStrategy(UpdateDeploymentStrategyRequest updateDeploymentStrategyRequest)

      Updates a deployment strategy.

      Parameters:
      updateDeploymentStrategyRequest -
      Returns:
      A Java Future containing the result of the UpdateDeploymentStrategy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateDeploymentStrategy

      default CompletableFuture<UpdateDeploymentStrategyResponse> updateDeploymentStrategy(Consumer<UpdateDeploymentStrategyRequest.Builder> updateDeploymentStrategyRequest)

      Updates a deployment strategy.


      This is a convenience which creates an instance of the UpdateDeploymentStrategyRequest.Builder avoiding the need to create one manually via UpdateDeploymentStrategyRequest.builder()

      Parameters:
      updateDeploymentStrategyRequest - A Consumer that will call methods on UpdateDeploymentStrategyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateDeploymentStrategy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateEnvironment

      default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)

      Updates an environment.

      Parameters:
      updateEnvironmentRequest -
      Returns:
      A Java Future containing the result of the UpdateEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateEnvironment

      default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest)

      Updates an environment.


      This is a convenience which creates an instance of the UpdateEnvironmentRequest.Builder avoiding the need to create one manually via UpdateEnvironmentRequest.builder()

      Parameters:
      updateEnvironmentRequest - A Consumer that will call methods on UpdateEnvironmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateExperimentDefinition

      default CompletableFuture<UpdateExperimentDefinitionResponse> updateExperimentDefinition(UpdateExperimentDefinitionRequest updateExperimentDefinitionRequest)

      Updates an experiment definition. You can update treatments, the control, audience rules, and other properties. You cannot update an experiment definition while an experiment run is active.

      Parameters:
      updateExperimentDefinitionRequest -
      Returns:
      A Java Future containing the result of the UpdateExperimentDefinition operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateExperimentDefinition

      default CompletableFuture<UpdateExperimentDefinitionResponse> updateExperimentDefinition(Consumer<UpdateExperimentDefinitionRequest.Builder> updateExperimentDefinitionRequest)

      Updates an experiment definition. You can update treatments, the control, audience rules, and other properties. You cannot update an experiment definition while an experiment run is active.


      This is a convenience which creates an instance of the UpdateExperimentDefinitionRequest.Builder avoiding the need to create one manually via UpdateExperimentDefinitionRequest.builder()

      Parameters:
      updateExperimentDefinitionRequest - A Consumer that will call methods on UpdateExperimentDefinitionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateExperimentDefinition operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateExperimentRun

      default CompletableFuture<UpdateExperimentRunResponse> updateExperimentRun(UpdateExperimentRunRequest updateExperimentRunRequest)

      Updates a running experiment. Use this operation to increase audience exposure, modify treatment assignment overrides, or update the description of an active experiment run. Audience exposure can only be increased, not decreased.

      Parameters:
      updateExperimentRunRequest -
      Returns:
      A Java Future containing the result of the UpdateExperimentRun operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateExperimentRun

      default CompletableFuture<UpdateExperimentRunResponse> updateExperimentRun(Consumer<UpdateExperimentRunRequest.Builder> updateExperimentRunRequest)

      Updates a running experiment. Use this operation to increase audience exposure, modify treatment assignment overrides, or update the description of an active experiment run. Audience exposure can only be increased, not decreased.


      This is a convenience which creates an instance of the UpdateExperimentRunRequest.Builder avoiding the need to create one manually via UpdateExperimentRunRequest.builder()

      Parameters:
      updateExperimentRunRequest - A Consumer that will call methods on UpdateExperimentRunRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateExperimentRun operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateExtension

      default CompletableFuture<UpdateExtensionResponse> updateExtension(UpdateExtensionRequest updateExtensionRequest)

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

      Parameters:
      updateExtensionRequest -
      Returns:
      A Java Future containing the result of the UpdateExtension operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateExtension

      default CompletableFuture<UpdateExtensionResponse> updateExtension(Consumer<UpdateExtensionRequest.Builder> updateExtensionRequest)

      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 UpdateExtensionRequest.Builder avoiding the need to create one manually via UpdateExtensionRequest.builder()

      Parameters:
      updateExtensionRequest - A Consumer that will call methods on UpdateExtensionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateExtension operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateExtensionAssociation

      default CompletableFuture<UpdateExtensionAssociationResponse> updateExtensionAssociation(UpdateExtensionAssociationRequest updateExtensionAssociationRequest)

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

      Parameters:
      updateExtensionAssociationRequest -
      Returns:
      A Java Future containing the result of the UpdateExtensionAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateExtensionAssociation

      default CompletableFuture<UpdateExtensionAssociationResponse> updateExtensionAssociation(Consumer<UpdateExtensionAssociationRequest.Builder> updateExtensionAssociationRequest)

      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 UpdateExtensionAssociationRequest.Builder avoiding the need to create one manually via UpdateExtensionAssociationRequest.builder()

      Parameters:
      updateExtensionAssociationRequest - A Consumer that will call methods on UpdateExtensionAssociationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateExtensionAssociation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • validateConfiguration

      default CompletableFuture<ValidateConfigurationResponse> validateConfiguration(ValidateConfigurationRequest validateConfigurationRequest)

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

      Parameters:
      validateConfigurationRequest -
      Returns:
      A Java Future containing the result of the ValidateConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • validateConfiguration

      default CompletableFuture<ValidateConfigurationResponse> validateConfiguration(Consumer<ValidateConfigurationRequest.Builder> validateConfigurationRequest)

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


      This is a convenience which creates an instance of the ValidateConfigurationRequest.Builder avoiding the need to create one manually via ValidateConfigurationRequest.builder()

      Parameters:
      validateConfigurationRequest - A Consumer that will call methods on ValidateConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ValidateConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • BadRequestException The input fails to satisfy the constraints specified by an Amazon Web Services service.
      • ResourceNotFoundException The requested resource could not be found.
      • InternalServerException There was an internal failure in the AppConfig service.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AppConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • waiter

      default AppConfigAsyncWaiter waiter()
      Create an instance of AppConfigAsyncWaiter using this client.

      Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.

      Returns:
      an instance of AppConfigAsyncWaiter
    • serviceClientConfiguration

      default AppConfigServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static AppConfigAsyncClient create()
      Create a AppConfigAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      static AppConfigAsyncClientBuilder builder()
      Create a builder that can be used to configure and create a AppConfigAsyncClient.