Interface Route53RecoveryControlConfigAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface Route53RecoveryControlConfigAsyncClient extends AwsClient
Service client for accessing AWS Route53 Recovery Control Config 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.

Recovery Control Configuration API Reference for Amazon Route 53 Application Recovery Controller

  • Field Details

  • Method Details

    • createCluster

      default CompletableFuture<CreateClusterResponse> createCluster(CreateClusterRequest createClusterRequest)

      Create a new cluster. A cluster is a set of redundant Regional endpoints against which you can run API calls to update or get the state of one or more routing controls. Each cluster has a name, status, Amazon Resource Name (ARN), and an array of the five cluster endpoints (one for each supported Amazon Web Services Region) that you can use with API calls to the cluster data plane.

      Parameters:
      createClusterRequest - Creates a cluster.
      Returns:
      A Java Future containing the result of the CreateCluster 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • ServiceQuotaExceededException 402 response
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCluster

      default CompletableFuture<CreateClusterResponse> createCluster(Consumer<CreateClusterRequest.Builder> createClusterRequest)

      Create a new cluster. A cluster is a set of redundant Regional endpoints against which you can run API calls to update or get the state of one or more routing controls. Each cluster has a name, status, Amazon Resource Name (ARN), and an array of the five cluster endpoints (one for each supported Amazon Web Services Region) that you can use with API calls to the cluster data plane.


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

      Parameters:
      createClusterRequest - A Consumer that will call methods on CreateClusterRequest.Builder to create a request. Creates a cluster.
      Returns:
      A Java Future containing the result of the CreateCluster 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • ServiceQuotaExceededException 402 response
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createControlPanel

      default CompletableFuture<CreateControlPanelResponse> createControlPanel(CreateControlPanelRequest createControlPanelRequest)

      Creates a new control panel. A control panel represents a group of routing controls that can be changed together in a single transaction. You can use a control panel to centrally view the operational status of applications across your organization, and trigger multi-app failovers in a single transaction, for example, to fail over an Availability Zone or Amazon Web Services Region.

      Parameters:
      createControlPanelRequest - The details of the control panel that you're creating.
      Returns:
      A Java Future containing the result of the CreateControlPanel 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • ServiceQuotaExceededException 402 response
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createControlPanel

      default CompletableFuture<CreateControlPanelResponse> createControlPanel(Consumer<CreateControlPanelRequest.Builder> createControlPanelRequest)

      Creates a new control panel. A control panel represents a group of routing controls that can be changed together in a single transaction. You can use a control panel to centrally view the operational status of applications across your organization, and trigger multi-app failovers in a single transaction, for example, to fail over an Availability Zone or Amazon Web Services Region.


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

      Parameters:
      createControlPanelRequest - A Consumer that will call methods on CreateControlPanelRequest.Builder to create a request. The details of the control panel that you're creating.
      Returns:
      A Java Future containing the result of the CreateControlPanel 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • ServiceQuotaExceededException 402 response
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRoutingControl

      default CompletableFuture<CreateRoutingControlResponse> createRoutingControl(CreateRoutingControlRequest createRoutingControlRequest)

      Creates a new routing control.

      A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.

      To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.

      Parameters:
      createRoutingControlRequest - The details of the routing control that you're creating.
      Returns:
      A Java Future containing the result of the CreateRoutingControl 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • ServiceQuotaExceededException 402 response
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRoutingControl

      default CompletableFuture<CreateRoutingControlResponse> createRoutingControl(Consumer<CreateRoutingControlRequest.Builder> createRoutingControlRequest)

      Creates a new routing control.

      A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.

      To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.


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

      Parameters:
      createRoutingControlRequest - A Consumer that will call methods on CreateRoutingControlRequest.Builder to create a request. The details of the routing control that you're creating.
      Returns:
      A Java Future containing the result of the CreateRoutingControl 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • ServiceQuotaExceededException 402 response
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSafetyRule

      default CompletableFuture<CreateSafetyRuleResponse> createSafetyRule(CreateSafetyRuleRequest createSafetyRuleRequest)

      Creates a safety rule in a control panel. Safety rules let you add safeguards around changing routing control states, and for enabling and disabling routing controls, to help prevent unexpected outcomes.

      There are two types of safety rules: assertion rules and gating rules.

      Assertion rule: An assertion rule enforces that, when you change a routing control state, that a certain criteria is met. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.

      Gating rule: A gating rule lets you configure a gating routing control as an overall "on/off" switch for a group of routing controls. Or, you can configure more complex gating scenarios, for example by configuring multiple gating routing controls.

      For more information, see Safety rules in the Amazon Route 53 Application Recovery Controller Developer Guide.

      Parameters:
      createSafetyRuleRequest - The request body that you include when you create a safety rule.
      Returns:
      A Java Future containing the result of the CreateSafetyRule 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSafetyRule

      default CompletableFuture<CreateSafetyRuleResponse> createSafetyRule(Consumer<CreateSafetyRuleRequest.Builder> createSafetyRuleRequest)

      Creates a safety rule in a control panel. Safety rules let you add safeguards around changing routing control states, and for enabling and disabling routing controls, to help prevent unexpected outcomes.

      There are two types of safety rules: assertion rules and gating rules.

      Assertion rule: An assertion rule enforces that, when you change a routing control state, that a certain criteria is met. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.

      Gating rule: A gating rule lets you configure a gating routing control as an overall "on/off" switch for a group of routing controls. Or, you can configure more complex gating scenarios, for example by configuring multiple gating routing controls.

      For more information, see Safety rules in the Amazon Route 53 Application Recovery Controller Developer Guide.


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

      Parameters:
      createSafetyRuleRequest - A Consumer that will call methods on CreateSafetyRuleRequest.Builder to create a request. The request body that you include when you create a safety rule.
      Returns:
      A Java Future containing the result of the CreateSafetyRule 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCluster

      default CompletableFuture<DeleteClusterResponse> deleteCluster(DeleteClusterRequest deleteClusterRequest)

      Delete a cluster.

      Parameters:
      deleteClusterRequest -
      Returns:
      A Java Future containing the result of the DeleteCluster 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCluster

      default CompletableFuture<DeleteClusterResponse> deleteCluster(Consumer<DeleteClusterRequest.Builder> deleteClusterRequest)

      Delete a cluster.


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

      Parameters:
      deleteClusterRequest - A Consumer that will call methods on DeleteClusterRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteCluster 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteControlPanel

      default CompletableFuture<DeleteControlPanelResponse> deleteControlPanel(DeleteControlPanelRequest deleteControlPanelRequest)

      Deletes a control panel.

      Parameters:
      deleteControlPanelRequest -
      Returns:
      A Java Future containing the result of the DeleteControlPanel 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteControlPanel

      default CompletableFuture<DeleteControlPanelResponse> deleteControlPanel(Consumer<DeleteControlPanelRequest.Builder> deleteControlPanelRequest)

      Deletes a control panel.


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

      Parameters:
      deleteControlPanelRequest - A Consumer that will call methods on DeleteControlPanelRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteControlPanel 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRoutingControl

      default CompletableFuture<DeleteRoutingControlResponse> deleteRoutingControl(DeleteRoutingControlRequest deleteRoutingControlRequest)

      Deletes a routing control.

      Parameters:
      deleteRoutingControlRequest -
      Returns:
      A Java Future containing the result of the DeleteRoutingControl 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRoutingControl

      default CompletableFuture<DeleteRoutingControlResponse> deleteRoutingControl(Consumer<DeleteRoutingControlRequest.Builder> deleteRoutingControlRequest)

      Deletes a routing control.


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

      Parameters:
      deleteRoutingControlRequest - A Consumer that will call methods on DeleteRoutingControlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteRoutingControl 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSafetyRule

      default CompletableFuture<DeleteSafetyRuleResponse> deleteSafetyRule(DeleteSafetyRuleRequest deleteSafetyRuleRequest)

      Deletes a safety rule.

      />
      Parameters:
      deleteSafetyRuleRequest -
      Returns:
      A Java Future containing the result of the DeleteSafetyRule 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSafetyRule

      default CompletableFuture<DeleteSafetyRuleResponse> deleteSafetyRule(Consumer<DeleteSafetyRuleRequest.Builder> deleteSafetyRuleRequest)

      Deletes a safety rule.

      />

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

      Parameters:
      deleteSafetyRuleRequest - A Consumer that will call methods on DeleteSafetyRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteSafetyRule 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeCluster

      default CompletableFuture<DescribeClusterResponse> describeCluster(DescribeClusterRequest describeClusterRequest)

      Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN).

      Parameters:
      describeClusterRequest -
      Returns:
      A Java Future containing the result of the DescribeCluster 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeCluster

      default CompletableFuture<DescribeClusterResponse> describeCluster(Consumer<DescribeClusterRequest.Builder> describeClusterRequest)

      Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN).


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

      Parameters:
      describeClusterRequest - A Consumer that will call methods on DescribeClusterRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeCluster 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeControlPanel

      default CompletableFuture<DescribeControlPanelResponse> describeControlPanel(DescribeControlPanelRequest describeControlPanelRequest)

      Displays details about a control panel.

      Parameters:
      describeControlPanelRequest -
      Returns:
      A Java Future containing the result of the DescribeControlPanel 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeControlPanel

      default CompletableFuture<DescribeControlPanelResponse> describeControlPanel(Consumer<DescribeControlPanelRequest.Builder> describeControlPanelRequest)

      Displays details about a control panel.


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

      Parameters:
      describeControlPanelRequest - A Consumer that will call methods on DescribeControlPanelRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeControlPanel 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeRoutingControl

      default CompletableFuture<DescribeRoutingControlResponse> describeRoutingControl(DescribeRoutingControlRequest describeRoutingControlRequest)

      Displays details about a routing control. A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.

      To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.

      Parameters:
      describeRoutingControlRequest -
      Returns:
      A Java Future containing the result of the DescribeRoutingControl 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeRoutingControl

      default CompletableFuture<DescribeRoutingControlResponse> describeRoutingControl(Consumer<DescribeRoutingControlRequest.Builder> describeRoutingControlRequest)

      Displays details about a routing control. A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.

      To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.


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

      Parameters:
      describeRoutingControlRequest - A Consumer that will call methods on DescribeRoutingControlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeRoutingControl 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSafetyRule

      default CompletableFuture<DescribeSafetyRuleResponse> describeSafetyRule(DescribeSafetyRuleRequest describeSafetyRuleRequest)

      Returns information about a safety rule.

      Parameters:
      describeSafetyRuleRequest -
      Returns:
      A Java Future containing the result of the DescribeSafetyRule 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSafetyRule

      default CompletableFuture<DescribeSafetyRuleResponse> describeSafetyRule(Consumer<DescribeSafetyRuleRequest.Builder> describeSafetyRuleRequest)

      Returns information about a safety rule.


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

      Parameters:
      describeSafetyRuleRequest - A Consumer that will call methods on DescribeSafetyRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeSafetyRule 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResourcePolicy

      default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)

      Get information about the resource policy for a cluster.

      Parameters:
      getResourcePolicyRequest -
      Returns:
      A Java Future containing the result of the GetResourcePolicy 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResourcePolicy

      default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)

      Get information about the resource policy for a cluster.


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

      Parameters:
      getResourcePolicyRequest - A Consumer that will call methods on GetResourcePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResourcePolicy 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociatedRoute53HealthChecks

      default CompletableFuture<ListAssociatedRoute53HealthChecksResponse> listAssociatedRoute53HealthChecks(ListAssociatedRoute53HealthChecksRequest listAssociatedRoute53HealthChecksRequest)

      Returns an array of all Amazon Route 53 health checks associated with a specific routing control.

      Parameters:
      listAssociatedRoute53HealthChecksRequest -
      Returns:
      A Java Future containing the result of the ListAssociatedRoute53HealthChecks 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociatedRoute53HealthChecks

      default CompletableFuture<ListAssociatedRoute53HealthChecksResponse> listAssociatedRoute53HealthChecks(Consumer<ListAssociatedRoute53HealthChecksRequest.Builder> listAssociatedRoute53HealthChecksRequest)

      Returns an array of all Amazon Route 53 health checks associated with a specific routing control.


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

      Parameters:
      listAssociatedRoute53HealthChecksRequest - A Consumer that will call methods on ListAssociatedRoute53HealthChecksRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAssociatedRoute53HealthChecks 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociatedRoute53HealthChecksPaginator

      default ListAssociatedRoute53HealthChecksPublisher listAssociatedRoute53HealthChecksPaginator(ListAssociatedRoute53HealthChecksRequest listAssociatedRoute53HealthChecksRequest)

      This is a variant of listAssociatedRoute53HealthChecks(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksRequest) 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.route53recoverycontrolconfig.paginators.ListAssociatedRoute53HealthChecksPublisher publisher = client.listAssociatedRoute53HealthChecksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListAssociatedRoute53HealthChecksPublisher publisher = client.listAssociatedRoute53HealthChecksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksResponse 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 listAssociatedRoute53HealthChecks(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksRequest) operation.

      Parameters:
      listAssociatedRoute53HealthChecksRequest -
      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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociatedRoute53HealthChecksPaginator

      default ListAssociatedRoute53HealthChecksPublisher listAssociatedRoute53HealthChecksPaginator(Consumer<ListAssociatedRoute53HealthChecksRequest.Builder> listAssociatedRoute53HealthChecksRequest)

      This is a variant of listAssociatedRoute53HealthChecks(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksRequest) 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.route53recoverycontrolconfig.paginators.ListAssociatedRoute53HealthChecksPublisher publisher = client.listAssociatedRoute53HealthChecksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListAssociatedRoute53HealthChecksPublisher publisher = client.listAssociatedRoute53HealthChecksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksResponse 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 listAssociatedRoute53HealthChecks(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListAssociatedRoute53HealthChecksRequest) operation.


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

      Parameters:
      listAssociatedRoute53HealthChecksRequest - A Consumer that will call methods on ListAssociatedRoute53HealthChecksRequest.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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listClusters

      default CompletableFuture<ListClustersResponse> listClusters(ListClustersRequest listClustersRequest)

      Returns an array of all the clusters in an account.

      Parameters:
      listClustersRequest -
      Returns:
      A Java Future containing the result of the ListClusters 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listClusters

      default CompletableFuture<ListClustersResponse> listClusters(Consumer<ListClustersRequest.Builder> listClustersRequest)

      Returns an array of all the clusters in an account.


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

      Parameters:
      listClustersRequest - A Consumer that will call methods on ListClustersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListClusters 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listClustersPaginator

      default ListClustersPublisher listClustersPaginator(ListClustersRequest listClustersRequest)

      This is a variant of listClusters(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersRequest) 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.route53recoverycontrolconfig.paginators.ListClustersPublisher publisher = client.listClustersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListClustersPublisher publisher = client.listClustersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersResponse 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 listClusters(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersRequest) operation.

      Parameters:
      listClustersRequest -
      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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listClustersPaginator

      default ListClustersPublisher listClustersPaginator(Consumer<ListClustersRequest.Builder> listClustersRequest)

      This is a variant of listClusters(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersRequest) 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.route53recoverycontrolconfig.paginators.ListClustersPublisher publisher = client.listClustersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListClustersPublisher publisher = client.listClustersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersResponse 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 listClusters(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersRequest) operation.


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

      Parameters:
      listClustersRequest - A Consumer that will call methods on ListClustersRequest.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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlPanels

      default CompletableFuture<ListControlPanelsResponse> listControlPanels(ListControlPanelsRequest listControlPanelsRequest)

      Returns an array of control panels in an account or in a cluster.

      Parameters:
      listControlPanelsRequest -
      Returns:
      A Java Future containing the result of the ListControlPanels 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlPanels

      default CompletableFuture<ListControlPanelsResponse> listControlPanels(Consumer<ListControlPanelsRequest.Builder> listControlPanelsRequest)

      Returns an array of control panels in an account or in a cluster.


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

      Parameters:
      listControlPanelsRequest - A Consumer that will call methods on ListControlPanelsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListControlPanels 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlPanelsPaginator

      default ListControlPanelsPublisher listControlPanelsPaginator(ListControlPanelsRequest listControlPanelsRequest)

      This is a variant of listControlPanels(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsRequest) 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.route53recoverycontrolconfig.paginators.ListControlPanelsPublisher publisher = client.listControlPanelsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListControlPanelsPublisher publisher = client.listControlPanelsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsResponse 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 listControlPanels(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsRequest) operation.

      Parameters:
      listControlPanelsRequest -
      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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlPanelsPaginator

      default ListControlPanelsPublisher listControlPanelsPaginator(Consumer<ListControlPanelsRequest.Builder> listControlPanelsRequest)

      This is a variant of listControlPanels(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsRequest) 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.route53recoverycontrolconfig.paginators.ListControlPanelsPublisher publisher = client.listControlPanelsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListControlPanelsPublisher publisher = client.listControlPanelsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsResponse 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 listControlPanels(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsRequest) operation.


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

      Parameters:
      listControlPanelsRequest - A Consumer that will call methods on ListControlPanelsRequest.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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRoutingControls

      default CompletableFuture<ListRoutingControlsResponse> listRoutingControls(ListRoutingControlsRequest listRoutingControlsRequest)

      Returns an array of routing controls for a control panel. A routing control is an Amazon Route 53 Application Recovery Controller construct that has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.

      Parameters:
      listRoutingControlsRequest -
      Returns:
      A Java Future containing the result of the ListRoutingControls 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRoutingControls

      default CompletableFuture<ListRoutingControlsResponse> listRoutingControls(Consumer<ListRoutingControlsRequest.Builder> listRoutingControlsRequest)

      Returns an array of routing controls for a control panel. A routing control is an Amazon Route 53 Application Recovery Controller construct that has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.


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

      Parameters:
      listRoutingControlsRequest - A Consumer that will call methods on ListRoutingControlsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRoutingControls 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRoutingControlsPaginator

      default ListRoutingControlsPublisher listRoutingControlsPaginator(ListRoutingControlsRequest listRoutingControlsRequest)

      This is a variant of listRoutingControls(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsRequest) 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.route53recoverycontrolconfig.paginators.ListRoutingControlsPublisher publisher = client.listRoutingControlsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListRoutingControlsPublisher publisher = client.listRoutingControlsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsResponse 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 listRoutingControls(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsRequest) operation.

      Parameters:
      listRoutingControlsRequest -
      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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRoutingControlsPaginator

      default ListRoutingControlsPublisher listRoutingControlsPaginator(Consumer<ListRoutingControlsRequest.Builder> listRoutingControlsRequest)

      This is a variant of listRoutingControls(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsRequest) 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.route53recoverycontrolconfig.paginators.ListRoutingControlsPublisher publisher = client.listRoutingControlsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListRoutingControlsPublisher publisher = client.listRoutingControlsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsResponse 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 listRoutingControls(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsRequest) operation.


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

      Parameters:
      listRoutingControlsRequest - A Consumer that will call methods on ListRoutingControlsRequest.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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSafetyRules

      default CompletableFuture<ListSafetyRulesResponse> listSafetyRules(ListSafetyRulesRequest listSafetyRulesRequest)

      List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.

      Parameters:
      listSafetyRulesRequest -
      Returns:
      A Java Future containing the result of the ListSafetyRules 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSafetyRules

      default CompletableFuture<ListSafetyRulesResponse> listSafetyRules(Consumer<ListSafetyRulesRequest.Builder> listSafetyRulesRequest)

      List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.


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

      Parameters:
      listSafetyRulesRequest - A Consumer that will call methods on ListSafetyRulesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSafetyRules 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSafetyRulesPaginator

      default ListSafetyRulesPublisher listSafetyRulesPaginator(ListSafetyRulesRequest listSafetyRulesRequest)

      This is a variant of listSafetyRules(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesRequest) 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.route53recoverycontrolconfig.paginators.ListSafetyRulesPublisher publisher = client.listSafetyRulesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListSafetyRulesPublisher publisher = client.listSafetyRulesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesResponse 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 listSafetyRules(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesRequest) operation.

      Parameters:
      listSafetyRulesRequest -
      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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSafetyRulesPaginator

      default ListSafetyRulesPublisher listSafetyRulesPaginator(Consumer<ListSafetyRulesRequest.Builder> listSafetyRulesRequest)

      This is a variant of listSafetyRules(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesRequest) 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.route53recoverycontrolconfig.paginators.ListSafetyRulesPublisher publisher = client.listSafetyRulesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListSafetyRulesPublisher publisher = client.listSafetyRulesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesResponse 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 listSafetyRules(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesRequest) operation.


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

      Parameters:
      listSafetyRulesRequest - A Consumer that will call methods on ListSafetyRulesRequest.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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException 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)

      Lists the tags for a 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException 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)

      Lists the tags for a 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException 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)

      Adds a tag to a resource.

      Parameters:
      tagResourceRequest - Request of adding tag to the resource
      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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException 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)

      Adds a tag to 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. Request of adding tag to the resource
      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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException 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)

      Removes a tag from a 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException 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)

      Removes a tag from a 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateControlPanel

      default CompletableFuture<UpdateControlPanelResponse> updateControlPanel(UpdateControlPanelRequest updateControlPanelRequest)

      Updates a control panel. The only update you can make to a control panel is to change the name of the control panel.

      Parameters:
      updateControlPanelRequest - The details of the control panel that you're updating.
      Returns:
      A Java Future containing the result of the UpdateControlPanel 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateControlPanel

      default CompletableFuture<UpdateControlPanelResponse> updateControlPanel(Consumer<UpdateControlPanelRequest.Builder> updateControlPanelRequest)

      Updates a control panel. The only update you can make to a control panel is to change the name of the control panel.


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

      Parameters:
      updateControlPanelRequest - A Consumer that will call methods on UpdateControlPanelRequest.Builder to create a request. The details of the control panel that you're updating.
      Returns:
      A Java Future containing the result of the UpdateControlPanel 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateRoutingControl

      default CompletableFuture<UpdateRoutingControlResponse> updateRoutingControl(UpdateRoutingControlRequest updateRoutingControlRequest)

      Updates a routing control. You can only update the name of the routing control. To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.

      Parameters:
      updateRoutingControlRequest - The details of the routing control that you're updating.
      Returns:
      A Java Future containing the result of the UpdateRoutingControl 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateRoutingControl

      default CompletableFuture<UpdateRoutingControlResponse> updateRoutingControl(Consumer<UpdateRoutingControlRequest.Builder> updateRoutingControlRequest)

      Updates a routing control. You can only update the name of the routing control. To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.


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

      Parameters:
      updateRoutingControlRequest - A Consumer that will call methods on UpdateRoutingControlRequest.Builder to create a request. The details of the routing control that you're updating.
      Returns:
      A Java Future containing the result of the UpdateRoutingControl 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.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
      • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
      • ConflictException 409 response - ConflictException. You might be using a predefined variable.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSafetyRule

      default CompletableFuture<UpdateSafetyRuleResponse> updateSafetyRule(UpdateSafetyRuleRequest updateSafetyRuleRequest)

      Update a safety rule (an assertion rule or gating rule). You can only update the name and the waiting period for a safety rule. To make other updates, delete the safety rule and create a new one.

      Parameters:
      updateSafetyRuleRequest - A rule that you add to Application Recovery Controller to ensure that recovery actions don't accidentally impair your application's availability.
      Returns:
      A Java Future containing the result of the UpdateSafetyRule 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSafetyRule

      default CompletableFuture<UpdateSafetyRuleResponse> updateSafetyRule(Consumer<UpdateSafetyRuleRequest.Builder> updateSafetyRuleRequest)

      Update a safety rule (an assertion rule or gating rule). You can only update the name and the waiting period for a safety rule. To make other updates, delete the safety rule and create a new one.


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

      Parameters:
      updateSafetyRuleRequest - A Consumer that will call methods on UpdateSafetyRuleRequest.Builder to create a request. A rule that you add to Application Recovery Controller to ensure that recovery actions don't accidentally impair your application's availability.
      Returns:
      A Java Future containing the result of the UpdateSafetyRule 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 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
      • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
      • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • Route53RecoveryControlConfigException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • waiter

      Create an instance of Route53RecoveryControlConfigAsyncWaiter 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 Route53RecoveryControlConfigAsyncWaiter
    • serviceClientConfiguration

      default Route53RecoveryControlConfigServiceClientConfiguration 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

      Create a Route53RecoveryControlConfigAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a Route53RecoveryControlConfigAsyncClient.