Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Route53RecoveryCluster

import { Route53RecoveryCluster } from "https://aws-api.deno.dev/v0.3/services/route53recoverycluster.ts?docs=full";
class Route53RecoveryCluster {
constructor(apiFactory: client.ApiFactory);
async getRoutingControlState(params: GetRoutingControlStateRequest, opts?: client.RequestOptions): Promise<GetRoutingControlStateResponse>;
async updateRoutingControlState(params: UpdateRoutingControlStateRequest, opts?: client.RequestOptions): Promise<void>;
async updateRoutingControlStates(params: UpdateRoutingControlStatesRequest, opts?: client.RequestOptions): Promise<void>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Route53RecoveryCluster(apiFactory: client.ApiFactory)
[src]

§Methods

§

Get the state for a routing control. A routing control is a simple on/off switch that you can use to route traffic to cells. When the state is On, traffic flows to a cell. When it's off, traffic does not flow.

Before you can create a routing control, you first must create a cluster to host the control. For more information, see CreateCluster. Access one of the endpoints for the cluster to get or update the routing control state to redirect traffic.

For more information about working with routing controls, see Routing control in the Route 53 Application Recovery Controller Developer Guide.

§
updateRoutingControlState(params: UpdateRoutingControlStateRequest, opts?: client.RequestOptions): Promise<void>
[src]

Set the state of the routing control to reroute traffic. You can set the value to be On or Off. When the state is On, traffic flows to a cell. When it's off, traffic does not flow.

For more information about working with routing controls, see Routing control in the Route 53 Application Recovery Controller Developer Guide.

§
updateRoutingControlStates(params: UpdateRoutingControlStatesRequest, opts?: client.RequestOptions): Promise<void>
[src]

Set multiple routing control states. You can set the value for each state to be On or Off. When the state is On, traffic flows to a cell. When it's off, traffic does not flow.

For more information about working with routing controls, see Routing control in the Route 53 Application Recovery Controller Developer Guide.

§Static Properties