Interface Route53RecoveryControlConfigAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
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 Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that can be used to configure and create aRoute53RecoveryControlConfigAsyncClient
.create()
Create aRoute53RecoveryControlConfigAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CompletableFuture
<CreateClusterResponse> createCluster
(Consumer<CreateClusterRequest.Builder> createClusterRequest) Create a new cluster.default CompletableFuture
<CreateClusterResponse> createCluster
(CreateClusterRequest createClusterRequest) Create a new cluster.createControlPanel
(Consumer<CreateControlPanelRequest.Builder> createControlPanelRequest) Creates a new control panel.createControlPanel
(CreateControlPanelRequest createControlPanelRequest) Creates a new control panel.createRoutingControl
(Consumer<CreateRoutingControlRequest.Builder> createRoutingControlRequest) Creates a new routing control.createRoutingControl
(CreateRoutingControlRequest createRoutingControlRequest) Creates a new routing control.createSafetyRule
(Consumer<CreateSafetyRuleRequest.Builder> createSafetyRuleRequest) Creates a safety rule in a control panel.createSafetyRule
(CreateSafetyRuleRequest createSafetyRuleRequest) Creates a safety rule in a control panel.default CompletableFuture
<DeleteClusterResponse> deleteCluster
(Consumer<DeleteClusterRequest.Builder> deleteClusterRequest) Delete a cluster.default CompletableFuture
<DeleteClusterResponse> deleteCluster
(DeleteClusterRequest deleteClusterRequest) Delete a cluster.deleteControlPanel
(Consumer<DeleteControlPanelRequest.Builder> deleteControlPanelRequest) Deletes a control panel.deleteControlPanel
(DeleteControlPanelRequest deleteControlPanelRequest) Deletes a control panel.deleteRoutingControl
(Consumer<DeleteRoutingControlRequest.Builder> deleteRoutingControlRequest) Deletes a routing control.deleteRoutingControl
(DeleteRoutingControlRequest deleteRoutingControlRequest) Deletes a routing control.deleteSafetyRule
(Consumer<DeleteSafetyRuleRequest.Builder> deleteSafetyRuleRequest) Deletes a safety rule.deleteSafetyRule
(DeleteSafetyRuleRequest deleteSafetyRuleRequest) Deletes a safety rule.default CompletableFuture
<DescribeClusterResponse> describeCluster
(Consumer<DescribeClusterRequest.Builder> describeClusterRequest) Display the details about a cluster.default CompletableFuture
<DescribeClusterResponse> describeCluster
(DescribeClusterRequest describeClusterRequest) Display the details about a cluster.describeControlPanel
(Consumer<DescribeControlPanelRequest.Builder> describeControlPanelRequest) Displays details about a control panel.describeControlPanel
(DescribeControlPanelRequest describeControlPanelRequest) Displays details about a control panel.describeRoutingControl
(Consumer<DescribeRoutingControlRequest.Builder> describeRoutingControlRequest) Displays details about a routing control.describeRoutingControl
(DescribeRoutingControlRequest describeRoutingControlRequest) Displays details about a routing control.describeSafetyRule
(Consumer<DescribeSafetyRuleRequest.Builder> describeSafetyRuleRequest) Returns information about a safety rule.describeSafetyRule
(DescribeSafetyRuleRequest describeSafetyRuleRequest) Returns information about a safety rule.getResourcePolicy
(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Get information about the resource policy for a cluster.getResourcePolicy
(GetResourcePolicyRequest getResourcePolicyRequest) Get information about the resource policy for a cluster.listAssociatedRoute53HealthChecks
(Consumer<ListAssociatedRoute53HealthChecksRequest.Builder> listAssociatedRoute53HealthChecksRequest) Returns an array of all Amazon Route 53 health checks associated with a specific routing control.listAssociatedRoute53HealthChecks
(ListAssociatedRoute53HealthChecksRequest listAssociatedRoute53HealthChecksRequest) Returns an array of all Amazon Route 53 health checks associated with a specific routing control.listAssociatedRoute53HealthChecksPaginator
(Consumer<ListAssociatedRoute53HealthChecksRequest.Builder> listAssociatedRoute53HealthChecksRequest) listAssociatedRoute53HealthChecksPaginator
(ListAssociatedRoute53HealthChecksRequest listAssociatedRoute53HealthChecksRequest) default CompletableFuture
<ListClustersResponse> listClusters
(Consumer<ListClustersRequest.Builder> listClustersRequest) Returns an array of all the clusters in an account.default CompletableFuture
<ListClustersResponse> listClusters
(ListClustersRequest listClustersRequest) Returns an array of all the clusters in an account.default ListClustersPublisher
listClustersPaginator
(Consumer<ListClustersRequest.Builder> listClustersRequest) This is a variant oflistClusters(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersRequest)
operation.default ListClustersPublisher
listClustersPaginator
(ListClustersRequest listClustersRequest) This is a variant oflistClusters(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListClustersRequest)
operation.listControlPanels
(Consumer<ListControlPanelsRequest.Builder> listControlPanelsRequest) Returns an array of control panels in an account or in a cluster.listControlPanels
(ListControlPanelsRequest listControlPanelsRequest) Returns an array of control panels in an account or in a cluster.default ListControlPanelsPublisher
listControlPanelsPaginator
(Consumer<ListControlPanelsRequest.Builder> listControlPanelsRequest) This is a variant oflistControlPanels(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsRequest)
operation.default ListControlPanelsPublisher
listControlPanelsPaginator
(ListControlPanelsRequest listControlPanelsRequest) This is a variant oflistControlPanels(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListControlPanelsRequest)
operation.listRoutingControls
(Consumer<ListRoutingControlsRequest.Builder> listRoutingControlsRequest) Returns an array of routing controls for a control panel.listRoutingControls
(ListRoutingControlsRequest listRoutingControlsRequest) Returns an array of routing controls for a control panel.default ListRoutingControlsPublisher
listRoutingControlsPaginator
(Consumer<ListRoutingControlsRequest.Builder> listRoutingControlsRequest) This is a variant oflistRoutingControls(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsRequest)
operation.default ListRoutingControlsPublisher
listRoutingControlsPaginator
(ListRoutingControlsRequest listRoutingControlsRequest) This is a variant oflistRoutingControls(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListRoutingControlsRequest)
operation.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.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.default ListSafetyRulesPublisher
listSafetyRulesPaginator
(Consumer<ListSafetyRulesRequest.Builder> listSafetyRulesRequest) This is a variant oflistSafetyRules(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesRequest)
operation.default ListSafetyRulesPublisher
listSafetyRulesPaginator
(ListSafetyRulesRequest listSafetyRulesRequest) This is a variant oflistSafetyRules(software.amazon.awssdk.services.route53recoverycontrolconfig.model.ListSafetyRulesRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for a resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for a resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a tag to a resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds a tag to a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes a tag from a resource.updateControlPanel
(Consumer<UpdateControlPanelRequest.Builder> updateControlPanelRequest) Updates a control panel.updateControlPanel
(UpdateControlPanelRequest updateControlPanelRequest) Updates a control panel.updateRoutingControl
(Consumer<UpdateRoutingControlRequest.Builder> updateRoutingControlRequest) Updates a routing control.updateRoutingControl
(UpdateRoutingControlRequest updateRoutingControlRequest) Updates a routing control.updateSafetyRule
(Consumer<UpdateSafetyRuleRequest.Builder> updateSafetyRuleRequest) Update a safety rule (an assertion rule or gating rule).updateSafetyRule
(UpdateSafetyRuleRequest updateSafetyRuleRequest) Update a safety rule (an assertion rule or gating rule).waiter()
Create an instance ofRoute53RecoveryControlConfigAsyncWaiter
using this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
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 invokeThrowable.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 viaCreateClusterRequest.builder()
- Parameters:
createClusterRequest
- AConsumer
that will call methods onCreateClusterRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateControlPanelRequest.builder()
- Parameters:
createControlPanelRequest
- AConsumer
that will call methods onCreateControlPanelRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateRoutingControlRequest.builder()
- Parameters:
createRoutingControlRequest
- AConsumer
that will call methods onCreateRoutingControlRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateSafetyRuleRequest.builder()
- Parameters:
createSafetyRuleRequest
- AConsumer
that will call methods onCreateSafetyRuleRequest.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 invokeThrowable.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 invokeThrowable.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 viaDeleteClusterRequest.builder()
- Parameters:
deleteClusterRequest
- AConsumer
that will call methods onDeleteClusterRequest.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 invokeThrowable.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 invokeThrowable.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 viaDeleteControlPanelRequest.builder()
- Parameters:
deleteControlPanelRequest
- AConsumer
that will call methods onDeleteControlPanelRequest.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 invokeThrowable.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 invokeThrowable.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 viaDeleteRoutingControlRequest.builder()
- Parameters:
deleteRoutingControlRequest
- AConsumer
that will call methods onDeleteRoutingControlRequest.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 invokeThrowable.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 invokeThrowable.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 viaDeleteSafetyRuleRequest.builder()
- Parameters:
deleteSafetyRuleRequest
- AConsumer
that will call methods onDeleteSafetyRuleRequest.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 invokeThrowable.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 invokeThrowable.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 viaDescribeClusterRequest.builder()
- Parameters:
describeClusterRequest
- AConsumer
that will call methods onDescribeClusterRequest.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 invokeThrowable.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 invokeThrowable.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 viaDescribeControlPanelRequest.builder()
- Parameters:
describeControlPanelRequest
- AConsumer
that will call methods onDescribeControlPanelRequest.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 invokeThrowable.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 invokeThrowable.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 viaDescribeRoutingControlRequest.builder()
- Parameters:
describeRoutingControlRequest
- AConsumer
that will call methods onDescribeRoutingControlRequest.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 invokeThrowable.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 invokeThrowable.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 viaDescribeSafetyRuleRequest.builder()
- Parameters:
describeSafetyRuleRequest
- AConsumer
that will call methods onDescribeSafetyRuleRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetResourcePolicyRequest.builder()
- Parameters:
getResourcePolicyRequest
- AConsumer
that will call methods onGetResourcePolicyRequest.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 invokeThrowable.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 invokeThrowable.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 viaListAssociatedRoute53HealthChecksRequest.builder()
- Parameters:
listAssociatedRoute53HealthChecksRequest
- AConsumer
that will call methods onListAssociatedRoute53HealthChecksRequest.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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListAssociatedRoute53HealthChecksPublisher publisher = client.listAssociatedRoute53HealthChecksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListAssociatedRoute53HealthChecksPublisher publisher = client.listAssociatedRoute53HealthChecksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListAssociatedRoute53HealthChecksRequest.builder()
- Parameters:
listAssociatedRoute53HealthChecksRequest
- AConsumer
that will call methods onListAssociatedRoute53HealthChecksRequest.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 invokeThrowable.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 invokeThrowable.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 viaListClustersRequest.builder()
- Parameters:
listClustersRequest
- AConsumer
that will call methods onListClustersRequest.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 invokeThrowable.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
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 newSubscription
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 methodsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListClustersPublisher publisher = client.listClustersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListClustersPublisher publisher = client.listClustersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListClustersRequest.builder()
- Parameters:
listClustersRequest
- AConsumer
that will call methods onListClustersRequest.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 invokeThrowable.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 invokeThrowable.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 viaListControlPanelsRequest.builder()
- Parameters:
listControlPanelsRequest
- AConsumer
that will call methods onListControlPanelsRequest.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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListControlPanelsPublisher publisher = client.listControlPanelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListControlPanelsPublisher publisher = client.listControlPanelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListControlPanelsRequest.builder()
- Parameters:
listControlPanelsRequest
- AConsumer
that will call methods onListControlPanelsRequest.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 invokeThrowable.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 invokeThrowable.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 viaListRoutingControlsRequest.builder()
- Parameters:
listRoutingControlsRequest
- AConsumer
that will call methods onListRoutingControlsRequest.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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListRoutingControlsPublisher publisher = client.listRoutingControlsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListRoutingControlsPublisher publisher = client.listRoutingControlsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListRoutingControlsRequest.builder()
- Parameters:
listRoutingControlsRequest
- AConsumer
that will call methods onListRoutingControlsRequest.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 invokeThrowable.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 invokeThrowable.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 viaListSafetyRulesRequest.builder()
- Parameters:
listSafetyRulesRequest
- AConsumer
that will call methods onListSafetyRulesRequest.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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListSafetyRulesPublisher publisher = client.listSafetyRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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 newSubscription
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 methodsoftware.amazon.awssdk.services.route53recoverycontrolconfig.paginators.ListSafetyRulesPublisher publisher = client.listSafetyRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListSafetyRulesRequest.builder()
- Parameters:
listSafetyRulesRequest
- AConsumer
that will call methods onListSafetyRulesRequest.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 invokeThrowable.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 invokeThrowable.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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.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 invokeThrowable.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
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 invokeThrowable.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 viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.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 invokeThrowable.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 invokeThrowable.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 viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.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 invokeThrowable.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 invokeThrowable.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 viaUpdateControlPanelRequest.builder()
- Parameters:
updateControlPanelRequest
- AConsumer
that will call methods onUpdateControlPanelRequest.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 invokeThrowable.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 invokeThrowable.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 viaUpdateRoutingControlRequest.builder()
- Parameters:
updateRoutingControlRequest
- AConsumer
that will call methods onUpdateRoutingControlRequest.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 invokeThrowable.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 invokeThrowable.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 viaUpdateSafetyRuleRequest.builder()
- Parameters:
updateSafetyRuleRequest
- AConsumer
that will call methods onUpdateSafetyRuleRequest.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 invokeThrowable.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 ofRoute53RecoveryControlConfigAsyncWaiter
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
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aRoute53RecoveryControlConfigAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aRoute53RecoveryControlConfigAsyncClient
.
-