@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSRoute53RecoveryControlConfigAsyncClient extends AWSRoute53RecoveryControlConfigClient implements AWSRoute53RecoveryControlConfigAsync
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Recovery Control Configuration API Reference for Amazon Route 53 Application Recovery Controller
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createCluster, createControlPanel, createRoutingControl, createSafetyRule, deleteCluster, deleteControlPanel, deleteRoutingControl, deleteSafetyRule, describeCluster, describeControlPanel, describeRoutingControl, describeSafetyRule, getCachedResponseMetadata, getResourcePolicy, listAssociatedRoute53HealthChecks, listClusters, listControlPanels, listRoutingControls, listSafetyRules, listTagsForResource, tagResource, untagResource, updateControlPanel, updateRoutingControl, updateSafetyRule, waiters
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createCluster, createControlPanel, createRoutingControl, createSafetyRule, deleteCluster, deleteControlPanel, deleteRoutingControl, deleteSafetyRule, describeCluster, describeControlPanel, describeRoutingControl, describeSafetyRule, getCachedResponseMetadata, getResourcePolicy, listAssociatedRoute53HealthChecks, listClusters, listControlPanels, listRoutingControls, listSafetyRules, listTagsForResource, tagResource, untagResource, updateControlPanel, updateRoutingControl, updateSafetyRule, waiters
public static AWSRoute53RecoveryControlConfigAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request)
AWSRoute53RecoveryControlConfigAsync
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.
createClusterAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- Creates a cluster.public Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request, AsyncHandler<CreateClusterRequest,CreateClusterResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
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.
createClusterAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- Creates a cluster.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateControlPanelResult> createControlPanelAsync(CreateControlPanelRequest request)
AWSRoute53RecoveryControlConfigAsync
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.
createControlPanelAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- The details of the control panel that you're creating.public Future<CreateControlPanelResult> createControlPanelAsync(CreateControlPanelRequest request, AsyncHandler<CreateControlPanelRequest,CreateControlPanelResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
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.
createControlPanelAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- The details of the control panel that you're creating.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRoutingControlResult> createRoutingControlAsync(CreateRoutingControlRequest request)
AWSRoute53RecoveryControlConfigAsync
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.
createRoutingControlAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- The details of the routing control that you're creating.public Future<CreateRoutingControlResult> createRoutingControlAsync(CreateRoutingControlRequest request, AsyncHandler<CreateRoutingControlRequest,CreateRoutingControlResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
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.
createRoutingControlAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- The details of the routing control that you're creating.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateSafetyRuleResult> createSafetyRuleAsync(CreateSafetyRuleRequest request)
AWSRoute53RecoveryControlConfigAsync
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.
createSafetyRuleAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- The request body that you include when you create a safety rule.public Future<CreateSafetyRuleResult> createSafetyRuleAsync(CreateSafetyRuleRequest request, AsyncHandler<CreateSafetyRuleRequest,CreateSafetyRuleResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
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.
createSafetyRuleAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- The request body that you include when you create a safety rule.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request)
AWSRoute53RecoveryControlConfigAsync
Delete a cluster.
deleteClusterAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request, AsyncHandler<DeleteClusterRequest,DeleteClusterResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Delete a cluster.
deleteClusterAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteControlPanelResult> deleteControlPanelAsync(DeleteControlPanelRequest request)
AWSRoute53RecoveryControlConfigAsync
Deletes a control panel.
deleteControlPanelAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<DeleteControlPanelResult> deleteControlPanelAsync(DeleteControlPanelRequest request, AsyncHandler<DeleteControlPanelRequest,DeleteControlPanelResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Deletes a control panel.
deleteControlPanelAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRoutingControlResult> deleteRoutingControlAsync(DeleteRoutingControlRequest request)
AWSRoute53RecoveryControlConfigAsync
Deletes a routing control.
deleteRoutingControlAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<DeleteRoutingControlResult> deleteRoutingControlAsync(DeleteRoutingControlRequest request, AsyncHandler<DeleteRoutingControlRequest,DeleteRoutingControlResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Deletes a routing control.
deleteRoutingControlAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSafetyRuleResult> deleteSafetyRuleAsync(DeleteSafetyRuleRequest request)
AWSRoute53RecoveryControlConfigAsync
Deletes a safety rule.
/>deleteSafetyRuleAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<DeleteSafetyRuleResult> deleteSafetyRuleAsync(DeleteSafetyRuleRequest request, AsyncHandler<DeleteSafetyRuleRequest,DeleteSafetyRuleResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Deletes a safety rule.
/>deleteSafetyRuleAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeClusterResult> describeClusterAsync(DescribeClusterRequest request)
AWSRoute53RecoveryControlConfigAsync
Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN).
describeClusterAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<DescribeClusterResult> describeClusterAsync(DescribeClusterRequest request, AsyncHandler<DescribeClusterRequest,DescribeClusterResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN).
describeClusterAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeControlPanelResult> describeControlPanelAsync(DescribeControlPanelRequest request)
AWSRoute53RecoveryControlConfigAsync
Displays details about a control panel.
describeControlPanelAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<DescribeControlPanelResult> describeControlPanelAsync(DescribeControlPanelRequest request, AsyncHandler<DescribeControlPanelRequest,DescribeControlPanelResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Displays details about a control panel.
describeControlPanelAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRoutingControlResult> describeRoutingControlAsync(DescribeRoutingControlRequest request)
AWSRoute53RecoveryControlConfigAsync
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.
describeRoutingControlAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<DescribeRoutingControlResult> describeRoutingControlAsync(DescribeRoutingControlRequest request, AsyncHandler<DescribeRoutingControlRequest,DescribeRoutingControlResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
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.
describeRoutingControlAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSafetyRuleResult> describeSafetyRuleAsync(DescribeSafetyRuleRequest request)
AWSRoute53RecoveryControlConfigAsync
Returns information about a safety rule.
describeSafetyRuleAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<DescribeSafetyRuleResult> describeSafetyRuleAsync(DescribeSafetyRuleRequest request, AsyncHandler<DescribeSafetyRuleRequest,DescribeSafetyRuleResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Returns information about a safety rule.
describeSafetyRuleAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request)
AWSRoute53RecoveryControlConfigAsync
Get information about the resource policy for a cluster.
getResourcePolicyAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Get information about the resource policy for a cluster.
getResourcePolicyAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAssociatedRoute53HealthChecksResult> listAssociatedRoute53HealthChecksAsync(ListAssociatedRoute53HealthChecksRequest request)
AWSRoute53RecoveryControlConfigAsync
Returns an array of all Amazon Route 53 health checks associated with a specific routing control.
listAssociatedRoute53HealthChecksAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<ListAssociatedRoute53HealthChecksResult> listAssociatedRoute53HealthChecksAsync(ListAssociatedRoute53HealthChecksRequest request, AsyncHandler<ListAssociatedRoute53HealthChecksRequest,ListAssociatedRoute53HealthChecksResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Returns an array of all Amazon Route 53 health checks associated with a specific routing control.
listAssociatedRoute53HealthChecksAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListClustersResult> listClustersAsync(ListClustersRequest request)
AWSRoute53RecoveryControlConfigAsync
Returns an array of all the clusters in an account.
listClustersAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<ListClustersResult> listClustersAsync(ListClustersRequest request, AsyncHandler<ListClustersRequest,ListClustersResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Returns an array of all the clusters in an account.
listClustersAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListControlPanelsResult> listControlPanelsAsync(ListControlPanelsRequest request)
AWSRoute53RecoveryControlConfigAsync
Returns an array of control panels in an account or in a cluster.
listControlPanelsAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<ListControlPanelsResult> listControlPanelsAsync(ListControlPanelsRequest request, AsyncHandler<ListControlPanelsRequest,ListControlPanelsResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Returns an array of control panels in an account or in a cluster.
listControlPanelsAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRoutingControlsResult> listRoutingControlsAsync(ListRoutingControlsRequest request)
AWSRoute53RecoveryControlConfigAsync
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.
listRoutingControlsAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<ListRoutingControlsResult> listRoutingControlsAsync(ListRoutingControlsRequest request, AsyncHandler<ListRoutingControlsRequest,ListRoutingControlsResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
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.
listRoutingControlsAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSafetyRulesResult> listSafetyRulesAsync(ListSafetyRulesRequest request)
AWSRoute53RecoveryControlConfigAsync
List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.
listSafetyRulesAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<ListSafetyRulesResult> listSafetyRulesAsync(ListSafetyRulesRequest request, AsyncHandler<ListSafetyRulesRequest,ListSafetyRulesResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.
listSafetyRulesAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSRoute53RecoveryControlConfigAsync
Lists the tags for a resource.
listTagsForResourceAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Lists the tags for a resource.
listTagsForResourceAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSRoute53RecoveryControlConfigAsync
Adds a tag to a resource.
tagResourceAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- Request of adding tag to the resourcepublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Adds a tag to a resource.
tagResourceAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- Request of adding tag to the resourceasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSRoute53RecoveryControlConfigAsync
Removes a tag from a resource.
untagResourceAsync
in interface AWSRoute53RecoveryControlConfigAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Removes a tag from a resource.
untagResourceAsync
in interface AWSRoute53RecoveryControlConfigAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateControlPanelResult> updateControlPanelAsync(UpdateControlPanelRequest request)
AWSRoute53RecoveryControlConfigAsync
Updates a control panel. The only update you can make to a control panel is to change the name of the control panel.
updateControlPanelAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- The details of the control panel that you're updating.public Future<UpdateControlPanelResult> updateControlPanelAsync(UpdateControlPanelRequest request, AsyncHandler<UpdateControlPanelRequest,UpdateControlPanelResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
Updates a control panel. The only update you can make to a control panel is to change the name of the control panel.
updateControlPanelAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- The details of the control panel that you're updating.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRoutingControlResult> updateRoutingControlAsync(UpdateRoutingControlRequest request)
AWSRoute53RecoveryControlConfigAsync
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.
updateRoutingControlAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- The details of the routing control that you're updating.public Future<UpdateRoutingControlResult> updateRoutingControlAsync(UpdateRoutingControlRequest request, AsyncHandler<UpdateRoutingControlRequest,UpdateRoutingControlResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
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.
updateRoutingControlAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- The details of the routing control that you're updating.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSafetyRuleResult> updateSafetyRuleAsync(UpdateSafetyRuleRequest request)
AWSRoute53RecoveryControlConfigAsync
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.
updateSafetyRuleAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- A rule that you add to Application Recovery Controller to ensure that recovery actions don't accidentally
impair your application's availability.public Future<UpdateSafetyRuleResult> updateSafetyRuleAsync(UpdateSafetyRuleRequest request, AsyncHandler<UpdateSafetyRuleRequest,UpdateSafetyRuleResult> asyncHandler)
AWSRoute53RecoveryControlConfigAsync
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.
updateSafetyRuleAsync
in interface AWSRoute53RecoveryControlConfigAsync
request
- A rule that you add to Application Recovery Controller to ensure that recovery actions don't accidentally
impair your application's availability.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSRoute53RecoveryControlConfig
shutdown
in class AWSRoute53RecoveryControlConfigClient