@aws-sdk/client-route53-recovery-cluster 3.58.0 → 3.72.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +20 -19
  3. package/dist-cjs/Route53RecoveryCluster.js +15 -0
  4. package/dist-cjs/commands/ListRoutingControlsCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/index.js +1 -0
  7. package/dist-cjs/models/models_0.js +36 -1
  8. package/dist-cjs/pagination/Interfaces.js +2 -0
  9. package/dist-cjs/pagination/ListRoutingControlsPaginator.js +35 -0
  10. package/dist-cjs/pagination/index.js +5 -0
  11. package/dist-cjs/protocols/Aws_json1_0.js +120 -1
  12. package/dist-es/Route53RecoveryCluster.js +15 -0
  13. package/dist-es/commands/ListRoutingControlsCommand.js +39 -0
  14. package/dist-es/commands/index.js +1 -0
  15. package/dist-es/index.js +1 -0
  16. package/dist-es/models/models_0.js +28 -0
  17. package/dist-es/pagination/Interfaces.js +1 -0
  18. package/dist-es/pagination/ListRoutingControlsPaginator.js +74 -0
  19. package/dist-es/pagination/index.js +2 -0
  20. package/dist-es/protocols/Aws_json1_0.js +145 -9
  21. package/dist-types/Route53RecoveryCluster.d.ts +70 -30
  22. package/dist-types/Route53RecoveryClusterClient.d.ts +21 -19
  23. package/dist-types/commands/GetRoutingControlStateCommand.d.ts +9 -8
  24. package/dist-types/commands/ListRoutingControlsCommand.d.ts +66 -0
  25. package/dist-types/commands/UpdateRoutingControlStateCommand.d.ts +3 -3
  26. package/dist-types/commands/UpdateRoutingControlStatesCommand.d.ts +2 -2
  27. package/dist-types/commands/index.d.ts +1 -0
  28. package/dist-types/index.d.ts +1 -0
  29. package/dist-types/models/models_0.d.ts +109 -8
  30. package/dist-types/pagination/Interfaces.d.ts +6 -0
  31. package/dist-types/pagination/ListRoutingControlsPaginator.d.ts +4 -0
  32. package/dist-types/pagination/index.d.ts +2 -0
  33. package/dist-types/protocols/Aws_json1_0.d.ts +3 -0
  34. package/dist-types/ts3.4/Route53RecoveryCluster.d.ts +5 -0
  35. package/dist-types/ts3.4/Route53RecoveryClusterClient.d.ts +3 -2
  36. package/dist-types/ts3.4/commands/ListRoutingControlsCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  38. package/dist-types/ts3.4/index.d.ts +1 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +56 -0
  40. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  41. package/dist-types/ts3.4/pagination/ListRoutingControlsPaginator.d.ts +4 -0
  42. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  43. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +3 -0
  44. package/package.json +6 -6
@@ -0,0 +1,66 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListRoutingControlsRequest, ListRoutingControlsResponse } from "../models/models_0";
4
+ import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
5
+ export interface ListRoutingControlsCommandInput extends ListRoutingControlsRequest {
6
+ }
7
+ export interface ListRoutingControlsCommandOutput extends ListRoutingControlsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>List routing control names and Amazon Resource Names (ARNs), as well as the routing control
11
+ * state for each routing control, along with the control panel name and control panel ARN for the routing controls.
12
+ * If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists
13
+ * all the routing controls in the cluster.</p>
14
+ * <p>A routing control is a simple on/off switch in Route 53 ARC that you
15
+ * can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When
16
+ * the state is Off, traffic does not flow.</p>
17
+ * <p>Before you can create a routing control, you must first create a cluster, and then host the control
18
+ * 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">
19
+ * Create routing control structures</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.
20
+ * You access one of the endpoints for the cluster to get or update the routing control state to
21
+ * redirect traffic for your application. </p>
22
+ * <p>
23
+ * <i>You must specify Regional endpoints when you work with API cluster operations
24
+ * to use this API operation to list routing controls in Route 53 ARC.</i>
25
+ * </p>
26
+ * <p>Learn more about working with routing controls in the following topics in the
27
+ * Amazon Route 53 Application Recovery Controller Developer Guide:</p>
28
+ * <ul>
29
+ * <li>
30
+ * <p>
31
+ * <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html">
32
+ * Viewing and updating routing control states</a>
33
+ * </p>
34
+ * </li>
35
+ * <li>
36
+ * <p>
37
+ * <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Working with
38
+ * routing controls in Route 53 ARC</a>
39
+ * </p>
40
+ * </li>
41
+ * </ul>
42
+ * @example
43
+ * Use a bare-bones client and the command you need to make an API call.
44
+ * ```javascript
45
+ * import { Route53RecoveryClusterClient, ListRoutingControlsCommand } from "@aws-sdk/client-route53-recovery-cluster"; // ES Modules import
46
+ * // const { Route53RecoveryClusterClient, ListRoutingControlsCommand } = require("@aws-sdk/client-route53-recovery-cluster"); // CommonJS import
47
+ * const client = new Route53RecoveryClusterClient(config);
48
+ * const command = new ListRoutingControlsCommand(input);
49
+ * const response = await client.send(command);
50
+ * ```
51
+ *
52
+ * @see {@link ListRoutingControlsCommandInput} for command's `input` shape.
53
+ * @see {@link ListRoutingControlsCommandOutput} for command's `response` shape.
54
+ * @see {@link Route53RecoveryClusterClientResolvedConfig | config} for Route53RecoveryClusterClient's `config` shape.
55
+ *
56
+ */
57
+ export declare class ListRoutingControlsCommand extends $Command<ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput, Route53RecoveryClusterClientResolvedConfig> {
58
+ readonly input: ListRoutingControlsCommandInput;
59
+ constructor(input: ListRoutingControlsCommandInput);
60
+ /**
61
+ * @internal
62
+ */
63
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput>;
64
+ private serialize;
65
+ private deserialize;
66
+ }
@@ -8,9 +8,9 @@ export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingCon
8
8
  }
9
9
  /**
10
10
  * <p>Set the state of the routing control to reroute traffic. You can set the value to be On or
11
- * Off. When the state is On, traffic flows to a cell. When it's Off, traffic does not
11
+ * Off. When the state is On, traffic flows to a cell. When the state is Off, traffic does not
12
12
  * flow.</p>
13
- * <p>With Application Recovery Controller, you can add safety rules for routing controls, which are safeguards for routing
13
+ * <p>With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing
14
14
  * control state updates that help prevent unexpected outcomes, like fail open traffic routing. However,
15
15
  * there are scenarios when you might want to bypass the routing control safeguards that are enforced with
16
16
  * safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery,
@@ -23,7 +23,7 @@ export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingCon
23
23
  * Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
24
24
  * <p>
25
25
  * <i>You must specify Regional endpoints when you work with API cluster operations
26
- * to get or update routing control states in Application Recovery Controller.</i>
26
+ * to get or update routing control states in Route 53 ARC.</i>
27
27
  * </p>
28
28
  * <p>To see a code example for getting a routing control state, including accessing Regional cluster endpoints
29
29
  * in sequence, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html">API examples</a>
@@ -10,7 +10,7 @@ export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingCo
10
10
  * <p>Set multiple routing control states. You can set the value for each state to be On or Off.
11
11
  * When the state is On, traffic flows to a cell. When it's Off, traffic does not
12
12
  * flow.</p>
13
- * <p>With Application Recovery Controller, you can add safety rules for routing controls, which are safeguards for routing
13
+ * <p>With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing
14
14
  * control state updates that help prevent unexpected outcomes, like fail open traffic routing. However,
15
15
  * there are scenarios when you might want to bypass the routing control safeguards that are enforced with
16
16
  * safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery,
@@ -23,7 +23,7 @@ export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingCo
23
23
  * Override safety rules to reroute traffic</a> in the Amazon Route 53 Application Recovery Controller Developer Guide.</p>
24
24
  * <p>
25
25
  * <i>You must specify Regional endpoints when you work with API cluster operations
26
- * to get or update routing control states in Application Recovery Controller.</i>
26
+ * to get or update routing control states in Route 53 ARC.</i>
27
27
  * </p>
28
28
  * <p>To see a code example for getting a routing control state, including accessing Regional cluster endpoints
29
29
  * in sequence, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html">API examples</a>
@@ -1,3 +1,4 @@
1
1
  export * from "./GetRoutingControlStateCommand";
2
+ export * from "./ListRoutingControlsCommand";
2
3
  export * from "./UpdateRoutingControlStateCommand";
3
4
  export * from "./UpdateRoutingControlStatesCommand";
@@ -2,4 +2,5 @@ export * from "./Route53RecoveryCluster";
2
2
  export * from "./Route53RecoveryClusterClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export * from "./pagination";
5
6
  export { Route53RecoveryClusterServiceException } from "./models/Route53RecoveryClusterServiceException";
@@ -1,7 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { Route53RecoveryClusterServiceException as __BaseException } from "./Route53RecoveryClusterServiceException";
3
3
  /**
4
- * <p>You don't have sufficient permissions to query the routing control state.</p>
4
+ * <p>You don't have sufficient permissions to perform this action.</p>
5
5
  */
6
6
  export declare class AccessDeniedException extends __BaseException {
7
7
  readonly name: "AccessDeniedException";
@@ -43,7 +43,7 @@ export declare class EndpointTemporarilyUnavailableException extends __BaseExcep
43
43
  }
44
44
  export interface GetRoutingControlStateRequest {
45
45
  /**
46
- * <p>The Amazon Resource Number (ARN) for the routing control that you want to get the state for.</p>
46
+ * <p>The Amazon Resource Name (ARN) for the routing control that you want to get the state for.</p>
47
47
  */
48
48
  RoutingControlArn: string | undefined;
49
49
  }
@@ -59,13 +59,17 @@ export declare enum RoutingControlState {
59
59
  }
60
60
  export interface GetRoutingControlStateResponse {
61
61
  /**
62
- * <p>The Amazon Resource Number (ARN) of the response.</p>
62
+ * <p>The Amazon Resource Name (ARN) of the response.</p>
63
63
  */
64
64
  RoutingControlArn: string | undefined;
65
65
  /**
66
66
  * <p>The state of the routing control.</p>
67
67
  */
68
68
  RoutingControlState: RoutingControlState | string | undefined;
69
+ /**
70
+ * <p>The routing control name.</p>
71
+ */
72
+ RoutingControlName?: string;
69
73
  }
70
74
  export declare namespace GetRoutingControlStateResponse {
71
75
  /**
@@ -89,7 +93,7 @@ export declare class InternalServerException extends __BaseException {
89
93
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
90
94
  }
91
95
  /**
92
- * <p>The request references a routing control that was not found.</p>
96
+ * <p>The request references a routing control or control panel that was not found.</p>
93
97
  */
94
98
  export declare class ResourceNotFoundException extends __BaseException {
95
99
  readonly name: "ResourceNotFoundException";
@@ -166,9 +170,106 @@ export declare class ValidationException extends __BaseException {
166
170
  */
167
171
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
168
172
  }
173
+ export interface ListRoutingControlsRequest {
174
+ /**
175
+ * <p>The Amazon Resource Name (ARN) of the control panel of the routing controls to list.</p>
176
+ */
177
+ ControlPanelArn?: string;
178
+ /**
179
+ * <p>The token for the next set of results. You receive this token from a previous call.</p>
180
+ */
181
+ NextToken?: string;
182
+ /**
183
+ * <p>The number of routing controls objects that you want to return with this call. The default value is 500.</p>
184
+ */
185
+ MaxResults?: number;
186
+ }
187
+ export declare namespace ListRoutingControlsRequest {
188
+ /**
189
+ * @internal
190
+ */
191
+ const filterSensitiveLog: (obj: ListRoutingControlsRequest) => any;
192
+ }
193
+ /**
194
+ * <p>A routing control, which is a simple on/off switch that you
195
+ * can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When
196
+ * the state is Off, traffic does not flow. </p>
197
+ */
198
+ export interface RoutingControl {
199
+ /**
200
+ * <p>The Amazon Resource Name (ARN) of the control panel where the routing control is located.</p>
201
+ */
202
+ ControlPanelArn?: string;
203
+ /**
204
+ * <p>The name of the control panel where the routing control is located.</p>
205
+ */
206
+ ControlPanelName?: string;
207
+ /**
208
+ * <p>The Amazon Resource Name (ARN) of the routing control.</p>
209
+ */
210
+ RoutingControlArn?: string;
211
+ /**
212
+ * <p>The name of the routing control.</p>
213
+ */
214
+ RoutingControlName?: string;
215
+ /**
216
+ * <p>The current state of the routing control. When a routing control state is On, traffic flows to a cell. When
217
+ * the state is Off, traffic does not flow. </p>
218
+ */
219
+ RoutingControlState?: RoutingControlState | string;
220
+ }
221
+ export declare namespace RoutingControl {
222
+ /**
223
+ * @internal
224
+ */
225
+ const filterSensitiveLog: (obj: RoutingControl) => any;
226
+ }
227
+ export interface ListRoutingControlsResponse {
228
+ /**
229
+ * <p>The list of routing controls.</p>
230
+ */
231
+ RoutingControls: RoutingControl[] | undefined;
232
+ /**
233
+ * <p>The token for the next set of results. You receive this token from a previous call.</p>
234
+ */
235
+ NextToken?: string;
236
+ }
237
+ export declare namespace ListRoutingControlsResponse {
238
+ /**
239
+ * @internal
240
+ */
241
+ const filterSensitiveLog: (obj: ListRoutingControlsResponse) => any;
242
+ }
243
+ /**
244
+ * <p>The request can't update that many routing control states at the same time. Try again with fewer routing control states.</p>
245
+ */
246
+ export declare class ServiceLimitExceededException extends __BaseException {
247
+ readonly name: "ServiceLimitExceededException";
248
+ readonly $fault: "client";
249
+ /**
250
+ * <p>The resource identifier of the limit that was exceeded.</p>
251
+ */
252
+ resourceId?: string;
253
+ /**
254
+ * <p>The resource type of the limit that was exceeded.</p>
255
+ */
256
+ resourceType?: string;
257
+ /**
258
+ * <p>The code of the limit that was exceeded.</p>
259
+ */
260
+ limitCode: string | undefined;
261
+ /**
262
+ * <p>The service code of the limit that was exceeded.</p>
263
+ */
264
+ serviceCode: string | undefined;
265
+ /**
266
+ * @internal
267
+ */
268
+ constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
269
+ }
169
270
  export interface UpdateRoutingControlStateRequest {
170
271
  /**
171
- * <p>The Amazon Resource Number (ARN) for the routing control that you want to update the state for.</p>
272
+ * <p>The Amazon Resource Name (ARN) for the routing control that you want to update the state for.</p>
172
273
  */
173
274
  RoutingControlArn: string | undefined;
174
275
  /**
@@ -176,7 +277,7 @@ export interface UpdateRoutingControlStateRequest {
176
277
  */
177
278
  RoutingControlState: RoutingControlState | string | undefined;
178
279
  /**
179
- * <p>The Amazon Resource Numbers (ARNs) for the safety rules that you want to override when you're updating the state of
280
+ * <p>The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating the state of
180
281
  * a routing control. You can override one safety rule or multiple safety rules by including one or more ARNs, separated
181
282
  * by commas.</p>
182
283
  * <p>For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
@@ -203,7 +304,7 @@ export declare namespace UpdateRoutingControlStateResponse {
203
304
  */
204
305
  export interface UpdateRoutingControlStateEntry {
205
306
  /**
206
- * <p>The Amazon Resource Number (ARN) for a routing control state entry.</p>
307
+ * <p>The Amazon Resource Name (ARN) for a routing control state entry.</p>
207
308
  */
208
309
  RoutingControlArn: string | undefined;
209
310
  /**
@@ -223,7 +324,7 @@ export interface UpdateRoutingControlStatesRequest {
223
324
  */
224
325
  UpdateRoutingControlStateEntries: UpdateRoutingControlStateEntry[] | undefined;
225
326
  /**
226
- * <p>The Amazon Resource Numbers (ARNs) for the safety rules that you want to override when you're updating routing
327
+ * <p>The Amazon Resource Names (ARNs) for the safety rules that you want to override when you're updating routing
227
328
  * control states. You can override one safety rule or multiple safety rules by including one or more ARNs, separated
228
329
  * by commas.</p>
229
330
  * <p>For more information, see <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.override-safety-rule.html">
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { Route53RecoveryCluster } from "../Route53RecoveryCluster";
3
+ import { Route53RecoveryClusterClient } from "../Route53RecoveryClusterClient";
4
+ export interface Route53RecoveryClusterPaginationConfiguration extends PaginationConfiguration {
5
+ client: Route53RecoveryCluster | Route53RecoveryClusterClient;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput } from "../commands/ListRoutingControlsCommand";
3
+ import { Route53RecoveryClusterPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListRoutingControls(config: Route53RecoveryClusterPaginationConfiguration, input: ListRoutingControlsCommandInput, ...additionalArguments: any): Paginator<ListRoutingControlsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListRoutingControlsPaginator";
@@ -1,11 +1,14 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
3
  import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "../commands/GetRoutingControlStateCommand";
4
+ import { ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput } from "../commands/ListRoutingControlsCommand";
4
5
  import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "../commands/UpdateRoutingControlStateCommand";
5
6
  import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "../commands/UpdateRoutingControlStatesCommand";
6
7
  export declare const serializeAws_json1_0GetRoutingControlStateCommand: (input: GetRoutingControlStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
+ export declare const serializeAws_json1_0ListRoutingControlsCommand: (input: ListRoutingControlsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
7
9
  export declare const serializeAws_json1_0UpdateRoutingControlStateCommand: (input: UpdateRoutingControlStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
10
  export declare const serializeAws_json1_0UpdateRoutingControlStatesCommand: (input: UpdateRoutingControlStatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
11
  export declare const deserializeAws_json1_0GetRoutingControlStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRoutingControlStateCommandOutput>;
12
+ export declare const deserializeAws_json1_0ListRoutingControlsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRoutingControlsCommandOutput>;
10
13
  export declare const deserializeAws_json1_0UpdateRoutingControlStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRoutingControlStateCommandOutput>;
11
14
  export declare const deserializeAws_json1_0UpdateRoutingControlStatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRoutingControlStatesCommandOutput>;
@@ -1,5 +1,6 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "./commands/GetRoutingControlStateCommand";
3
+ import { ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput } from "./commands/ListRoutingControlsCommand";
3
4
  import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "./commands/UpdateRoutingControlStateCommand";
4
5
  import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
5
6
  import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
@@ -10,6 +11,10 @@ export declare class Route53RecoveryCluster extends Route53RecoveryClusterClient
10
11
  getRoutingControlState(args: GetRoutingControlStateCommandInput, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
11
12
  getRoutingControlState(args: GetRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
12
13
 
14
+ listRoutingControls(args: ListRoutingControlsCommandInput, options?: __HttpHandlerOptions): Promise<ListRoutingControlsCommandOutput>;
15
+ listRoutingControls(args: ListRoutingControlsCommandInput, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
16
+ listRoutingControls(args: ListRoutingControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoutingControlsCommandOutput) => void): void;
17
+
13
18
  updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoutingControlStateCommandOutput>;
14
19
  updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
15
20
  updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
@@ -7,10 +7,11 @@ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "./commands/GetRoutingControlStateCommand";
10
+ import { ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput } from "./commands/ListRoutingControlsCommand";
10
11
  import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "./commands/UpdateRoutingControlStateCommand";
11
12
  import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
12
- export declare type ServiceInputTypes = GetRoutingControlStateCommandInput | UpdateRoutingControlStateCommandInput | UpdateRoutingControlStatesCommandInput;
13
- export declare type ServiceOutputTypes = GetRoutingControlStateCommandOutput | UpdateRoutingControlStateCommandOutput | UpdateRoutingControlStatesCommandOutput;
13
+ export declare type ServiceInputTypes = GetRoutingControlStateCommandInput | ListRoutingControlsCommandInput | UpdateRoutingControlStateCommandInput | UpdateRoutingControlStatesCommandInput;
14
+ export declare type ServiceOutputTypes = GetRoutingControlStateCommandOutput | ListRoutingControlsCommandOutput | UpdateRoutingControlStateCommandOutput | UpdateRoutingControlStatesCommandOutput;
14
15
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
15
16
 
16
17
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListRoutingControlsRequest, ListRoutingControlsResponse } from "../models/models_0";
4
+ import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
5
+ export interface ListRoutingControlsCommandInput extends ListRoutingControlsRequest {
6
+ }
7
+ export interface ListRoutingControlsCommandOutput extends ListRoutingControlsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListRoutingControlsCommand extends $Command<ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput, Route53RecoveryClusterClientResolvedConfig> {
11
+ readonly input: ListRoutingControlsCommandInput;
12
+ constructor(input: ListRoutingControlsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -1,3 +1,4 @@
1
1
  export * from "./GetRoutingControlStateCommand";
2
+ export * from "./ListRoutingControlsCommand";
2
3
  export * from "./UpdateRoutingControlStateCommand";
3
4
  export * from "./UpdateRoutingControlStatesCommand";
@@ -2,4 +2,5 @@ export * from "./Route53RecoveryCluster";
2
2
  export * from "./Route53RecoveryClusterClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export * from "./pagination";
5
6
  export { Route53RecoveryClusterServiceException } from "./models/Route53RecoveryClusterServiceException";
@@ -42,6 +42,8 @@ export interface GetRoutingControlStateResponse {
42
42
  RoutingControlArn: string | undefined;
43
43
 
44
44
  RoutingControlState: RoutingControlState | string | undefined;
45
+
46
+ RoutingControlName?: string;
45
47
  }
46
48
  export declare namespace GetRoutingControlStateResponse {
47
49
 
@@ -104,6 +106,60 @@ export declare class ValidationException extends __BaseException {
104
106
 
105
107
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
106
108
  }
109
+ export interface ListRoutingControlsRequest {
110
+
111
+ ControlPanelArn?: string;
112
+
113
+ NextToken?: string;
114
+
115
+ MaxResults?: number;
116
+ }
117
+ export declare namespace ListRoutingControlsRequest {
118
+
119
+ const filterSensitiveLog: (obj: ListRoutingControlsRequest) => any;
120
+ }
121
+
122
+ export interface RoutingControl {
123
+
124
+ ControlPanelArn?: string;
125
+
126
+ ControlPanelName?: string;
127
+
128
+ RoutingControlArn?: string;
129
+
130
+ RoutingControlName?: string;
131
+
132
+ RoutingControlState?: RoutingControlState | string;
133
+ }
134
+ export declare namespace RoutingControl {
135
+
136
+ const filterSensitiveLog: (obj: RoutingControl) => any;
137
+ }
138
+ export interface ListRoutingControlsResponse {
139
+
140
+ RoutingControls: RoutingControl[] | undefined;
141
+
142
+ NextToken?: string;
143
+ }
144
+ export declare namespace ListRoutingControlsResponse {
145
+
146
+ const filterSensitiveLog: (obj: ListRoutingControlsResponse) => any;
147
+ }
148
+
149
+ export declare class ServiceLimitExceededException extends __BaseException {
150
+ readonly name: "ServiceLimitExceededException";
151
+ readonly $fault: "client";
152
+
153
+ resourceId?: string;
154
+
155
+ resourceType?: string;
156
+
157
+ limitCode: string | undefined;
158
+
159
+ serviceCode: string | undefined;
160
+
161
+ constructor(opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>);
162
+ }
107
163
  export interface UpdateRoutingControlStateRequest {
108
164
 
109
165
  RoutingControlArn: string | undefined;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { Route53RecoveryCluster } from "../Route53RecoveryCluster";
3
+ import { Route53RecoveryClusterClient } from "../Route53RecoveryClusterClient";
4
+ export interface Route53RecoveryClusterPaginationConfiguration extends PaginationConfiguration {
5
+ client: Route53RecoveryCluster | Route53RecoveryClusterClient;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput } from "../commands/ListRoutingControlsCommand";
3
+ import { Route53RecoveryClusterPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListRoutingControls(config: Route53RecoveryClusterPaginationConfiguration, input: ListRoutingControlsCommandInput, ...additionalArguments: any): Paginator<ListRoutingControlsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListRoutingControlsPaginator";
@@ -1,11 +1,14 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
3
  import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "../commands/GetRoutingControlStateCommand";
4
+ import { ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput } from "../commands/ListRoutingControlsCommand";
4
5
  import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "../commands/UpdateRoutingControlStateCommand";
5
6
  import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "../commands/UpdateRoutingControlStatesCommand";
6
7
  export declare const serializeAws_json1_0GetRoutingControlStateCommand: (input: GetRoutingControlStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
+ export declare const serializeAws_json1_0ListRoutingControlsCommand: (input: ListRoutingControlsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
7
9
  export declare const serializeAws_json1_0UpdateRoutingControlStateCommand: (input: UpdateRoutingControlStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
10
  export declare const serializeAws_json1_0UpdateRoutingControlStatesCommand: (input: UpdateRoutingControlStatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
11
  export declare const deserializeAws_json1_0GetRoutingControlStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRoutingControlStateCommandOutput>;
12
+ export declare const deserializeAws_json1_0ListRoutingControlsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRoutingControlsCommandOutput>;
10
13
  export declare const deserializeAws_json1_0UpdateRoutingControlStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRoutingControlStateCommandOutput>;
11
14
  export declare const deserializeAws_json1_0UpdateRoutingControlStatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRoutingControlStatesCommandOutput>;
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.58.0",
4
+ "version": "3.72.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.72.0",
22
22
  "@aws-sdk/config-resolver": "3.58.0",
23
- "@aws-sdk/credential-provider-node": "3.58.0",
23
+ "@aws-sdk/credential-provider-node": "3.72.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.58.0",
25
25
  "@aws-sdk/hash-node": "3.55.0",
26
26
  "@aws-sdk/invalid-dependency": "3.55.0",
@@ -35,15 +35,15 @@
35
35
  "@aws-sdk/node-config-provider": "3.58.0",
36
36
  "@aws-sdk/node-http-handler": "3.58.0",
37
37
  "@aws-sdk/protocol-http": "3.58.0",
38
- "@aws-sdk/smithy-client": "3.55.0",
38
+ "@aws-sdk/smithy-client": "3.72.0",
39
39
  "@aws-sdk/types": "3.55.0",
40
40
  "@aws-sdk/url-parser": "3.55.0",
41
41
  "@aws-sdk/util-base64-browser": "3.58.0",
42
42
  "@aws-sdk/util-base64-node": "3.55.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
44
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.58.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.72.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.72.0",
47
47
  "@aws-sdk/util-user-agent-browser": "3.58.0",
48
48
  "@aws-sdk/util-user-agent-node": "3.58.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.55.0",