@aws-sdk/client-route53-recovery-cluster 3.429.0 → 3.430.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,7 +12,7 @@ recover applications by rerouting traffic across
12
12
  Availability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted
13
13
  on a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you
14
14
  can run API calls to get or update the state of routing controls. To implement failover, you set
15
- one routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region
15
+ one routing control to ON and another one to OFF, to reroute traffic from one Availability Zone or Amazon Web Services Region
16
16
  to another. </p>
17
17
  <p>
18
18
  <i>Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "required", r = "fn", s = "argv", t = "ref";
5
- const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://route53-recovery-cluster-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://route53-recovery-cluster-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://route53-recovery-cluster.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://route53-recovery-cluster.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://route53-recovery-cluster-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://route53-recovery-cluster-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://route53-recovery-cluster.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://route53-recovery-cluster.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const q = "required", r = "fn", s = "argv", t = "ref";
2
- const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://route53-recovery-cluster-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://route53-recovery-cluster-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://route53-recovery-cluster.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://route53-recovery-cluster.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://route53-recovery-cluster-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://route53-recovery-cluster-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://route53-recovery-cluster.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://route53-recovery-cluster.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
4
4
  export const ruleSet = _data;
@@ -38,7 +38,7 @@ export interface Route53RecoveryCluster {
38
38
  * Availability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted
39
39
  * on a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you
40
40
  * can run API calls to get or update the state of routing controls. To implement failover, you set
41
- * one routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region
41
+ * one routing control to ON and another one to OFF, to reroute traffic from one Availability Zone or Amazon Web Services Region
42
42
  * to another. </p>
43
43
  * <p>
44
44
  * <i>Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations
@@ -162,7 +162,7 @@ export interface Route53RecoveryClusterClientResolvedConfig extends Route53Recov
162
162
  * Availability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted
163
163
  * on a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you
164
164
  * can run API calls to get or update the state of routing controls. To implement failover, you set
165
- * one routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region
165
+ * one routing control to ON and another one to OFF, to reroute traffic from one Availability Zone or Amazon Web Services Region
166
166
  * to another. </p>
167
167
  * <p>
168
168
  * <i>Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations
@@ -24,8 +24,8 @@ export interface GetRoutingControlStateCommandOutput extends GetRoutingControlSt
24
24
  /**
25
25
  * @public
26
26
  * <p>Get the state for a routing control. A routing control is a simple on/off switch that you
27
- * can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When
28
- * the state is Off, traffic does not flow. </p>
27
+ * can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When
28
+ * the state is set to OFF, traffic does not flow. </p>
29
29
  * <p>Before you can create a routing control, you must first create a cluster, and then host the control
30
30
  * in a control panel on the cluster. For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.create.html">
31
31
  * Create routing control structures</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.
@@ -28,8 +28,8 @@ export interface ListRoutingControlsCommandOutput extends ListRoutingControlsRes
28
28
  * If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists
29
29
  * all the routing controls in the cluster.</p>
30
30
  * <p>A routing control is a simple on/off switch in Route 53 ARC that you
31
- * can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When
32
- * the state is Off, traffic does not flow.</p>
31
+ * can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When
32
+ * the state is set to OFF, traffic does not flow.</p>
33
33
  * <p>Before you can create a routing control, you must first create a cluster, and then host the control
34
34
  * in a control panel on the cluster. For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.create.html">
35
35
  * Create routing control structures</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.
@@ -76,6 +76,7 @@ export interface ListRoutingControlsCommandOutput extends ListRoutingControlsRes
76
76
  * // RoutingControlArn: "STRING_VALUE",
77
77
  * // RoutingControlName: "STRING_VALUE",
78
78
  * // RoutingControlState: "On" || "Off",
79
+ * // Owner: "STRING_VALUE",
79
80
  * // },
80
81
  * // ],
81
82
  * // NextToken: "STRING_VALUE",
@@ -23,8 +23,8 @@ export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingCon
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Set the state of the routing control to reroute traffic. You can set the value to be On or
27
- * Off. When the state is On, traffic flows to a cell. When the state is Off, traffic does not
26
+ * <p>Set the state of the routing control to reroute traffic. You can set the value to ON or
27
+ * OFF. When the state is ON, traffic flows to a cell. When the state is OFF, traffic does not
28
28
  * flow.</p>
29
29
  * <p>With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing
30
30
  * control state updates that help prevent unexpected outcomes, like fail open traffic routing. However,
@@ -23,8 +23,8 @@ export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingCo
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Set multiple routing control states. You can set the value for each state to be On or Off.
27
- * When the state is On, traffic flows to a cell. When it's Off, traffic does not
26
+ * <p>Set multiple routing control states. You can set the value for each state to be ON or OFF.
27
+ * When the state is ON, traffic flows to a cell. When it's OFF, traffic does not
28
28
  * flow.</p>
29
29
  * <p>With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing
30
30
  * control state updates that help prevent unexpected outcomes, like fail open traffic routing. However,
@@ -5,7 +5,7 @@
5
5
  * Availability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted
6
6
  * on a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you
7
7
  * can run API calls to get or update the state of routing controls. To implement failover, you set
8
- * one routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region
8
+ * one routing control to ON and another one to OFF, to reroute traffic from one Availability Zone or Amazon Web Services Region
9
9
  * to another. </p>
10
10
  * <p>
11
11
  * <i>Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations
@@ -219,8 +219,8 @@ export interface ListRoutingControlsRequest {
219
219
  /**
220
220
  * @public
221
221
  * <p>A routing control, which is a simple on/off switch that you
222
- * can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When
223
- * the state is Off, traffic does not flow. </p>
222
+ * can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When
223
+ * the state is set to OFF, traffic does not flow. </p>
224
224
  */
225
225
  export interface RoutingControl {
226
226
  /**
@@ -230,7 +230,8 @@ export interface RoutingControl {
230
230
  ControlPanelArn?: string;
231
231
  /**
232
232
  * @public
233
- * <p>The name of the control panel where the routing control is located.</p>
233
+ * <p>The name of the control panel where the routing control is located. Only ASCII characters are supported for control
234
+ * panel names.</p>
234
235
  */
235
236
  ControlPanelName?: string;
236
237
  /**
@@ -245,10 +246,15 @@ export interface RoutingControl {
245
246
  RoutingControlName?: string;
246
247
  /**
247
248
  * @public
248
- * <p>The current state of the routing control. When a routing control state is On, traffic flows to a cell. When
249
- * the state is Off, traffic does not flow. </p>
249
+ * <p>The current state of the routing control. When a routing control state is set to ON, traffic flows to a cell. When
250
+ * the state is set to OFF, traffic does not flow. </p>
250
251
  */
251
252
  RoutingControlState?: RoutingControlState;
253
+ /**
254
+ * @public
255
+ * <p>The Amazon Web Services account ID of the routing control owner.</p>
256
+ */
257
+ Owner?: string;
252
258
  }
253
259
  /**
254
260
  * @public
@@ -308,7 +314,7 @@ export interface UpdateRoutingControlStateRequest {
308
314
  RoutingControlArn: string | undefined;
309
315
  /**
310
316
  * @public
311
- * <p>The state of the routing control. You can set the value to be On or Off.</p>
317
+ * <p>The state of the routing control. You can set the value to ON or OFF.</p>
312
318
  */
313
319
  RoutingControlState: RoutingControlState | undefined;
314
320
  /**
@@ -95,6 +95,7 @@ export interface RoutingControl {
95
95
  RoutingControlArn?: string;
96
96
  RoutingControlName?: string;
97
97
  RoutingControlState?: RoutingControlState;
98
+ Owner?: string;
98
99
  }
99
100
  export interface ListRoutingControlsResponse {
100
101
  RoutingControls: RoutingControl[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route53-recovery-cluster",
3
3
  "description": "AWS SDK for JavaScript Route53 Recovery Cluster Client for Node.js, Browser and React Native",
4
- "version": "3.429.0",
4
+ "version": "3.430.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,28 +21,28 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.429.0",
25
- "@aws-sdk/credential-provider-node": "3.429.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
26
  "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.1",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"