Update state for two routing controls at the same time, in a batch - Amazon Route 53 Application Recovery Controller

Update state for two routing controls at the same time, in a batch

The following is an example of a request to update two routing control states at the same time. It sets one to the state OFF and the other to the state ON. Updating routing control states with this command doesn't return a response.

For more information, see UpdateRoutingControlStates in the Recovery Control Configuration API Reference Guide for Amazon Route 53 Application Recovery Controller.

aws route53-recovery-cluster update-routing-control-states \ --update-routing-control-state-entries \ '[{"RoutingControlArn": "arn:aws:route53-recovery-control::888888888888:controlpanel/0123456bbbbbbb0123456bbbbbb0123456/routingcontrol/abcdefg1234567", "RoutingControlState": "Off"}, \ {"RoutingControlArn": "arn:aws:route53-recovery-control::888888888888:controlpanel/0123456bbbbbbb0123456bbbbbb0123456/routingcontrol/hijklmnop987654321", "RoutingControlState": "On"}]' \ --region us-west-2 \ --endpoint-url https://host-dddddd.us-west-2.example.com/v1