@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSRoute53RecoveryControlConfig extends Object implements AWSRoute53RecoveryControlConfig
AWSRoute53RecoveryControlConfig
. Convenient method forms pass through to the
corresponding overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
public CreateClusterResult createCluster(CreateClusterRequest request)
AWSRoute53RecoveryControlConfig
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.
createCluster
in interface AWSRoute53RecoveryControlConfig
request
- Creates a cluster.public CreateControlPanelResult createControlPanel(CreateControlPanelRequest request)
AWSRoute53RecoveryControlConfig
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.
createControlPanel
in interface AWSRoute53RecoveryControlConfig
request
- The details of the control panel that you're creating.public CreateRoutingControlResult createRoutingControl(CreateRoutingControlRequest request)
AWSRoute53RecoveryControlConfig
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.
createRoutingControl
in interface AWSRoute53RecoveryControlConfig
request
- The details of the routing control that you're creating.public CreateSafetyRuleResult createSafetyRule(CreateSafetyRuleRequest request)
AWSRoute53RecoveryControlConfig
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.
createSafetyRule
in interface AWSRoute53RecoveryControlConfig
request
- The request body that you include when you create a safety rule.public DeleteClusterResult deleteCluster(DeleteClusterRequest request)
AWSRoute53RecoveryControlConfig
Delete a cluster.
deleteCluster
in interface AWSRoute53RecoveryControlConfig
public DeleteControlPanelResult deleteControlPanel(DeleteControlPanelRequest request)
AWSRoute53RecoveryControlConfig
Deletes a control panel.
deleteControlPanel
in interface AWSRoute53RecoveryControlConfig
public DeleteRoutingControlResult deleteRoutingControl(DeleteRoutingControlRequest request)
AWSRoute53RecoveryControlConfig
Deletes a routing control.
deleteRoutingControl
in interface AWSRoute53RecoveryControlConfig
public DeleteSafetyRuleResult deleteSafetyRule(DeleteSafetyRuleRequest request)
AWSRoute53RecoveryControlConfig
Deletes a safety rule.
/>deleteSafetyRule
in interface AWSRoute53RecoveryControlConfig
public DescribeClusterResult describeCluster(DescribeClusterRequest request)
AWSRoute53RecoveryControlConfig
Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN).
describeCluster
in interface AWSRoute53RecoveryControlConfig
public DescribeControlPanelResult describeControlPanel(DescribeControlPanelRequest request)
AWSRoute53RecoveryControlConfig
Displays details about a control panel.
describeControlPanel
in interface AWSRoute53RecoveryControlConfig
public DescribeRoutingControlResult describeRoutingControl(DescribeRoutingControlRequest request)
AWSRoute53RecoveryControlConfig
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.
describeRoutingControl
in interface AWSRoute53RecoveryControlConfig
public DescribeSafetyRuleResult describeSafetyRule(DescribeSafetyRuleRequest request)
AWSRoute53RecoveryControlConfig
Returns information about a safety rule.
describeSafetyRule
in interface AWSRoute53RecoveryControlConfig
public GetResourcePolicyResult getResourcePolicy(GetResourcePolicyRequest request)
AWSRoute53RecoveryControlConfig
Get information about the resource policy for a cluster.
getResourcePolicy
in interface AWSRoute53RecoveryControlConfig
public ListAssociatedRoute53HealthChecksResult listAssociatedRoute53HealthChecks(ListAssociatedRoute53HealthChecksRequest request)
AWSRoute53RecoveryControlConfig
Returns an array of all Amazon Route 53 health checks associated with a specific routing control.
listAssociatedRoute53HealthChecks
in interface AWSRoute53RecoveryControlConfig
public ListClustersResult listClusters(ListClustersRequest request)
AWSRoute53RecoveryControlConfig
Returns an array of all the clusters in an account.
listClusters
in interface AWSRoute53RecoveryControlConfig
public ListControlPanelsResult listControlPanels(ListControlPanelsRequest request)
AWSRoute53RecoveryControlConfig
Returns an array of control panels in an account or in a cluster.
listControlPanels
in interface AWSRoute53RecoveryControlConfig
public ListRoutingControlsResult listRoutingControls(ListRoutingControlsRequest request)
AWSRoute53RecoveryControlConfig
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.
listRoutingControls
in interface AWSRoute53RecoveryControlConfig
public ListSafetyRulesResult listSafetyRules(ListSafetyRulesRequest request)
AWSRoute53RecoveryControlConfig
List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.
listSafetyRules
in interface AWSRoute53RecoveryControlConfig
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSRoute53RecoveryControlConfig
Lists the tags for a resource.
listTagsForResource
in interface AWSRoute53RecoveryControlConfig
public TagResourceResult tagResource(TagResourceRequest request)
AWSRoute53RecoveryControlConfig
Adds a tag to a resource.
tagResource
in interface AWSRoute53RecoveryControlConfig
request
- Request of adding tag to the resourcepublic UntagResourceResult untagResource(UntagResourceRequest request)
AWSRoute53RecoveryControlConfig
Removes a tag from a resource.
untagResource
in interface AWSRoute53RecoveryControlConfig
public UpdateControlPanelResult updateControlPanel(UpdateControlPanelRequest request)
AWSRoute53RecoveryControlConfig
Updates a control panel. The only update you can make to a control panel is to change the name of the control panel.
updateControlPanel
in interface AWSRoute53RecoveryControlConfig
request
- The details of the control panel that you're updating.public UpdateRoutingControlResult updateRoutingControl(UpdateRoutingControlRequest request)
AWSRoute53RecoveryControlConfig
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.
updateRoutingControl
in interface AWSRoute53RecoveryControlConfig
request
- The details of the routing control that you're updating.public UpdateSafetyRuleResult updateSafetyRule(UpdateSafetyRuleRequest request)
AWSRoute53RecoveryControlConfig
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.
updateSafetyRule
in interface AWSRoute53RecoveryControlConfig
request
- A rule that you add to Application Recovery Controller to ensure that recovery actions don't accidentally
impair your application's availability.public void shutdown()
AWSRoute53RecoveryControlConfig
shutdown
in interface AWSRoute53RecoveryControlConfig
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSRoute53RecoveryControlConfig
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AWSRoute53RecoveryControlConfig
request
- The originally executed request.public AWSRoute53RecoveryControlConfigWaiters waiters()
waiters
in interface AWSRoute53RecoveryControlConfig