@aws-sdk/client-route53-recovery-control-config 3.928.0 → 3.929.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 (46) hide show
  1. package/dist-cjs/index.js +922 -972
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/Route53RecoveryControlConfigClient.js +2 -0
  4. package/dist-es/commands/CreateClusterCommand.js +3 -9
  5. package/dist-es/commands/CreateControlPanelCommand.js +3 -9
  6. package/dist-es/commands/CreateRoutingControlCommand.js +3 -9
  7. package/dist-es/commands/CreateSafetyRuleCommand.js +3 -9
  8. package/dist-es/commands/DeleteClusterCommand.js +3 -9
  9. package/dist-es/commands/DeleteControlPanelCommand.js +3 -9
  10. package/dist-es/commands/DeleteRoutingControlCommand.js +3 -9
  11. package/dist-es/commands/DeleteSafetyRuleCommand.js +3 -9
  12. package/dist-es/commands/DescribeClusterCommand.js +3 -9
  13. package/dist-es/commands/DescribeControlPanelCommand.js +3 -9
  14. package/dist-es/commands/DescribeRoutingControlCommand.js +3 -9
  15. package/dist-es/commands/DescribeSafetyRuleCommand.js +3 -9
  16. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  17. package/dist-es/commands/ListAssociatedRoute53HealthChecksCommand.js +3 -9
  18. package/dist-es/commands/ListClustersCommand.js +3 -9
  19. package/dist-es/commands/ListControlPanelsCommand.js +3 -9
  20. package/dist-es/commands/ListRoutingControlsCommand.js +3 -9
  21. package/dist-es/commands/ListSafetyRulesCommand.js +3 -9
  22. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  23. package/dist-es/commands/TagResourceCommand.js +3 -9
  24. package/dist-es/commands/UntagResourceCommand.js +3 -9
  25. package/dist-es/commands/UpdateClusterCommand.js +3 -9
  26. package/dist-es/commands/UpdateControlPanelCommand.js +3 -9
  27. package/dist-es/commands/UpdateRoutingControlCommand.js +3 -9
  28. package/dist-es/commands/UpdateSafetyRuleCommand.js +3 -9
  29. package/dist-es/runtimeConfig.shared.js +2 -0
  30. package/dist-es/schemas/schemas_0.js +857 -0
  31. package/dist-types/Route53RecoveryControlConfigClient.d.ts +10 -1
  32. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  33. package/dist-types/runtimeConfig.d.ts +1 -0
  34. package/dist-types/runtimeConfig.native.d.ts +1 -0
  35. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  36. package/dist-types/schemas/schemas_0.d.ts +106 -0
  37. package/dist-types/ts3.4/Route53RecoveryControlConfigClient.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +111 -0
  43. package/package.json +2 -3
  44. package/dist-es/protocols/Aws_restJson1.js +0 -780
  45. package/dist-types/protocols/Aws_restJson1.d.ts +0 -227
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -305
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
  var utilWaiter = require('@smithy/util-waiter');
21
19
 
22
20
  const resolveClientEndpointParameters = (options) => {
@@ -93,6 +91,7 @@ class Route53RecoveryControlConfigClient extends smithyClient.Client {
93
91
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
93
  this.config = _config_8;
94
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
96
95
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
98
97
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -112,12 +111,12 @@ class Route53RecoveryControlConfigClient extends smithyClient.Client {
112
111
  }
113
112
  }
114
113
 
115
- class Route53RecoveryControlConfigServiceException extends smithyClient.ServiceException {
114
+ let Route53RecoveryControlConfigServiceException$1 = class Route53RecoveryControlConfigServiceException extends smithyClient.ServiceException {
116
115
  constructor(options) {
117
116
  super(options);
118
117
  Object.setPrototypeOf(this, Route53RecoveryControlConfigServiceException.prototype);
119
118
  }
120
- }
119
+ };
121
120
 
122
121
  const NetworkType = {
123
122
  DUALSTACK: "DUALSTACK",
@@ -133,7 +132,7 @@ const RuleType = {
133
132
  ATLEAST: "ATLEAST",
134
133
  OR: "OR",
135
134
  };
136
- class AccessDeniedException extends Route53RecoveryControlConfigServiceException {
135
+ let AccessDeniedException$1 = class AccessDeniedException extends Route53RecoveryControlConfigServiceException$1 {
137
136
  name = "AccessDeniedException";
138
137
  $fault = "client";
139
138
  Message;
@@ -146,8 +145,8 @@ class AccessDeniedException extends Route53RecoveryControlConfigServiceException
146
145
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
147
146
  this.Message = opts.Message;
148
147
  }
149
- }
150
- class ConflictException extends Route53RecoveryControlConfigServiceException {
148
+ };
149
+ let ConflictException$1 = class ConflictException extends Route53RecoveryControlConfigServiceException$1 {
151
150
  name = "ConflictException";
152
151
  $fault = "client";
153
152
  Message;
@@ -160,8 +159,8 @@ class ConflictException extends Route53RecoveryControlConfigServiceException {
160
159
  Object.setPrototypeOf(this, ConflictException.prototype);
161
160
  this.Message = opts.Message;
162
161
  }
163
- }
164
- class InternalServerException extends Route53RecoveryControlConfigServiceException {
162
+ };
163
+ let InternalServerException$1 = class InternalServerException extends Route53RecoveryControlConfigServiceException$1 {
165
164
  name = "InternalServerException";
166
165
  $fault = "server";
167
166
  Message;
@@ -174,8 +173,8 @@ class InternalServerException extends Route53RecoveryControlConfigServiceExcepti
174
173
  Object.setPrototypeOf(this, InternalServerException.prototype);
175
174
  this.Message = opts.Message;
176
175
  }
177
- }
178
- class ResourceNotFoundException extends Route53RecoveryControlConfigServiceException {
176
+ };
177
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Route53RecoveryControlConfigServiceException$1 {
179
178
  name = "ResourceNotFoundException";
180
179
  $fault = "client";
181
180
  Message;
@@ -188,8 +187,8 @@ class ResourceNotFoundException extends Route53RecoveryControlConfigServiceExcep
188
187
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
189
188
  this.Message = opts.Message;
190
189
  }
191
- }
192
- class ServiceQuotaExceededException extends Route53RecoveryControlConfigServiceException {
190
+ };
191
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends Route53RecoveryControlConfigServiceException$1 {
193
192
  name = "ServiceQuotaExceededException";
194
193
  $fault = "client";
195
194
  Message;
@@ -202,8 +201,8 @@ class ServiceQuotaExceededException extends Route53RecoveryControlConfigServiceE
202
201
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
203
202
  this.Message = opts.Message;
204
203
  }
205
- }
206
- class ThrottlingException extends Route53RecoveryControlConfigServiceException {
204
+ };
205
+ let ThrottlingException$1 = class ThrottlingException extends Route53RecoveryControlConfigServiceException$1 {
207
206
  name = "ThrottlingException";
208
207
  $fault = "client";
209
208
  Message;
@@ -216,8 +215,8 @@ class ThrottlingException extends Route53RecoveryControlConfigServiceException {
216
215
  Object.setPrototypeOf(this, ThrottlingException.prototype);
217
216
  this.Message = opts.Message;
218
217
  }
219
- }
220
- class ValidationException extends Route53RecoveryControlConfigServiceException {
218
+ };
219
+ let ValidationException$1 = class ValidationException extends Route53RecoveryControlConfigServiceException$1 {
221
220
  name = "ValidationException";
222
221
  $fault = "client";
223
222
  Message;
@@ -230,796 +229,867 @@ class ValidationException extends Route53RecoveryControlConfigServiceException {
230
229
  Object.setPrototypeOf(this, ValidationException.prototype);
231
230
  this.Message = opts.Message;
232
231
  }
233
- }
234
-
235
- const se_CreateClusterCommand = async (input, context) => {
236
- const b = core.requestBuilder(input, context);
237
- const headers = {
238
- "content-type": "application/json",
239
- };
240
- b.bp("/cluster");
241
- let body;
242
- body = JSON.stringify(smithyClient.take(input, {
243
- ClientToken: [true, (_) => _ ?? uuid.v4()],
244
- ClusterName: [],
245
- NetworkType: [],
246
- Tags: (_) => smithyClient._json(_),
247
- }));
248
- b.m("POST").h(headers).b(body);
249
- return b.build();
250
- };
251
- const se_CreateControlPanelCommand = async (input, context) => {
252
- const b = core.requestBuilder(input, context);
253
- const headers = {
254
- "content-type": "application/json",
255
- };
256
- b.bp("/controlpanel");
257
- let body;
258
- body = JSON.stringify(smithyClient.take(input, {
259
- ClientToken: [true, (_) => _ ?? uuid.v4()],
260
- ClusterArn: [],
261
- ControlPanelName: [],
262
- Tags: (_) => smithyClient._json(_),
263
- }));
264
- b.m("POST").h(headers).b(body);
265
- return b.build();
266
- };
267
- const se_CreateRoutingControlCommand = async (input, context) => {
268
- const b = core.requestBuilder(input, context);
269
- const headers = {
270
- "content-type": "application/json",
271
- };
272
- b.bp("/routingcontrol");
273
- let body;
274
- body = JSON.stringify(smithyClient.take(input, {
275
- ClientToken: [true, (_) => _ ?? uuid.v4()],
276
- ClusterArn: [],
277
- ControlPanelArn: [],
278
- RoutingControlName: [],
279
- }));
280
- b.m("POST").h(headers).b(body);
281
- return b.build();
282
- };
283
- const se_CreateSafetyRuleCommand = async (input, context) => {
284
- const b = core.requestBuilder(input, context);
285
- const headers = {
286
- "content-type": "application/json",
287
- };
288
- b.bp("/safetyrule");
289
- let body;
290
- body = JSON.stringify(smithyClient.take(input, {
291
- AssertionRule: (_) => smithyClient._json(_),
292
- ClientToken: [true, (_) => _ ?? uuid.v4()],
293
- GatingRule: (_) => smithyClient._json(_),
294
- Tags: (_) => smithyClient._json(_),
295
- }));
296
- b.m("POST").h(headers).b(body);
297
- return b.build();
298
- };
299
- const se_DeleteClusterCommand = async (input, context) => {
300
- const b = core.requestBuilder(input, context);
301
- const headers = {};
302
- b.bp("/cluster/{ClusterArn}");
303
- b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
304
- let body;
305
- b.m("DELETE").h(headers).b(body);
306
- return b.build();
307
- };
308
- const se_DeleteControlPanelCommand = async (input, context) => {
309
- const b = core.requestBuilder(input, context);
310
- const headers = {};
311
- b.bp("/controlpanel/{ControlPanelArn}");
312
- b.p("ControlPanelArn", () => input.ControlPanelArn, "{ControlPanelArn}", false);
313
- let body;
314
- b.m("DELETE").h(headers).b(body);
315
- return b.build();
316
- };
317
- const se_DeleteRoutingControlCommand = async (input, context) => {
318
- const b = core.requestBuilder(input, context);
319
- const headers = {};
320
- b.bp("/routingcontrol/{RoutingControlArn}");
321
- b.p("RoutingControlArn", () => input.RoutingControlArn, "{RoutingControlArn}", false);
322
- let body;
323
- b.m("DELETE").h(headers).b(body);
324
- return b.build();
325
- };
326
- const se_DeleteSafetyRuleCommand = async (input, context) => {
327
- const b = core.requestBuilder(input, context);
328
- const headers = {};
329
- b.bp("/safetyrule/{SafetyRuleArn}");
330
- b.p("SafetyRuleArn", () => input.SafetyRuleArn, "{SafetyRuleArn}", false);
331
- let body;
332
- b.m("DELETE").h(headers).b(body);
333
- return b.build();
334
- };
335
- const se_DescribeClusterCommand = async (input, context) => {
336
- const b = core.requestBuilder(input, context);
337
- const headers = {};
338
- b.bp("/cluster/{ClusterArn}");
339
- b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
340
- let body;
341
- b.m("GET").h(headers).b(body);
342
- return b.build();
343
- };
344
- const se_DescribeControlPanelCommand = async (input, context) => {
345
- const b = core.requestBuilder(input, context);
346
- const headers = {};
347
- b.bp("/controlpanel/{ControlPanelArn}");
348
- b.p("ControlPanelArn", () => input.ControlPanelArn, "{ControlPanelArn}", false);
349
- let body;
350
- b.m("GET").h(headers).b(body);
351
- return b.build();
352
- };
353
- const se_DescribeRoutingControlCommand = async (input, context) => {
354
- const b = core.requestBuilder(input, context);
355
- const headers = {};
356
- b.bp("/routingcontrol/{RoutingControlArn}");
357
- b.p("RoutingControlArn", () => input.RoutingControlArn, "{RoutingControlArn}", false);
358
- let body;
359
- b.m("GET").h(headers).b(body);
360
- return b.build();
361
- };
362
- const se_DescribeSafetyRuleCommand = async (input, context) => {
363
- const b = core.requestBuilder(input, context);
364
- const headers = {};
365
- b.bp("/safetyrule/{SafetyRuleArn}");
366
- b.p("SafetyRuleArn", () => input.SafetyRuleArn, "{SafetyRuleArn}", false);
367
- let body;
368
- b.m("GET").h(headers).b(body);
369
- return b.build();
370
- };
371
- const se_GetResourcePolicyCommand = async (input, context) => {
372
- const b = core.requestBuilder(input, context);
373
- const headers = {};
374
- b.bp("/resourcePolicy/{ResourceArn}");
375
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
376
- let body;
377
- b.m("GET").h(headers).b(body);
378
- return b.build();
379
- };
380
- const se_ListAssociatedRoute53HealthChecksCommand = async (input, context) => {
381
- const b = core.requestBuilder(input, context);
382
- const headers = {};
383
- b.bp("/routingcontrol/{RoutingControlArn}/associatedRoute53HealthChecks");
384
- b.p("RoutingControlArn", () => input.RoutingControlArn, "{RoutingControlArn}", false);
385
- const query = smithyClient.map({
386
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
387
- [_NT]: [, input[_NT]],
388
- });
389
- let body;
390
- b.m("GET").h(headers).q(query).b(body);
391
- return b.build();
392
- };
393
- const se_ListClustersCommand = async (input, context) => {
394
- const b = core.requestBuilder(input, context);
395
- const headers = {};
396
- b.bp("/cluster");
397
- const query = smithyClient.map({
398
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
399
- [_NT]: [, input[_NT]],
400
- });
401
- let body;
402
- b.m("GET").h(headers).q(query).b(body);
403
- return b.build();
404
- };
405
- const se_ListControlPanelsCommand = async (input, context) => {
406
- const b = core.requestBuilder(input, context);
407
- const headers = {};
408
- b.bp("/controlpanels");
409
- const query = smithyClient.map({
410
- [_CA]: [, input[_CA]],
411
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
412
- [_NT]: [, input[_NT]],
413
- });
414
- let body;
415
- b.m("GET").h(headers).q(query).b(body);
416
- return b.build();
417
- };
418
- const se_ListRoutingControlsCommand = async (input, context) => {
419
- const b = core.requestBuilder(input, context);
420
- const headers = {};
421
- b.bp("/controlpanel/{ControlPanelArn}/routingcontrols");
422
- b.p("ControlPanelArn", () => input.ControlPanelArn, "{ControlPanelArn}", false);
423
- const query = smithyClient.map({
424
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
425
- [_NT]: [, input[_NT]],
426
- });
427
- let body;
428
- b.m("GET").h(headers).q(query).b(body);
429
- return b.build();
430
- };
431
- const se_ListSafetyRulesCommand = async (input, context) => {
432
- const b = core.requestBuilder(input, context);
433
- const headers = {};
434
- b.bp("/controlpanel/{ControlPanelArn}/safetyrules");
435
- b.p("ControlPanelArn", () => input.ControlPanelArn, "{ControlPanelArn}", false);
436
- const query = smithyClient.map({
437
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
438
- [_NT]: [, input[_NT]],
439
- });
440
- let body;
441
- b.m("GET").h(headers).q(query).b(body);
442
- return b.build();
443
- };
444
- const se_ListTagsForResourceCommand = async (input, context) => {
445
- const b = core.requestBuilder(input, context);
446
- const headers = {};
447
- b.bp("/tags/{ResourceArn}");
448
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
449
- let body;
450
- b.m("GET").h(headers).b(body);
451
- return b.build();
452
- };
453
- const se_TagResourceCommand = async (input, context) => {
454
- const b = core.requestBuilder(input, context);
455
- const headers = {
456
- "content-type": "application/json",
457
- };
458
- b.bp("/tags/{ResourceArn}");
459
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
460
- let body;
461
- body = JSON.stringify(smithyClient.take(input, {
462
- Tags: (_) => smithyClient._json(_),
463
- }));
464
- b.m("POST").h(headers).b(body);
465
- return b.build();
466
- };
467
- const se_UntagResourceCommand = async (input, context) => {
468
- const b = core.requestBuilder(input, context);
469
- const headers = {};
470
- b.bp("/tags/{ResourceArn}");
471
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
472
- const query = smithyClient.map({
473
- [_TK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
474
- });
475
- let body;
476
- b.m("DELETE").h(headers).q(query).b(body);
477
- return b.build();
478
- };
479
- const se_UpdateClusterCommand = async (input, context) => {
480
- const b = core.requestBuilder(input, context);
481
- const headers = {
482
- "content-type": "application/json",
483
- };
484
- b.bp("/cluster");
485
- let body;
486
- body = JSON.stringify(smithyClient.take(input, {
487
- ClusterArn: [],
488
- NetworkType: [],
489
- }));
490
- b.m("PUT").h(headers).b(body);
491
- return b.build();
492
- };
493
- const se_UpdateControlPanelCommand = async (input, context) => {
494
- const b = core.requestBuilder(input, context);
495
- const headers = {
496
- "content-type": "application/json",
497
- };
498
- b.bp("/controlpanel");
499
- let body;
500
- body = JSON.stringify(smithyClient.take(input, {
501
- ControlPanelArn: [],
502
- ControlPanelName: [],
503
- }));
504
- b.m("PUT").h(headers).b(body);
505
- return b.build();
506
- };
507
- const se_UpdateRoutingControlCommand = async (input, context) => {
508
- const b = core.requestBuilder(input, context);
509
- const headers = {
510
- "content-type": "application/json",
511
- };
512
- b.bp("/routingcontrol");
513
- let body;
514
- body = JSON.stringify(smithyClient.take(input, {
515
- RoutingControlArn: [],
516
- RoutingControlName: [],
517
- }));
518
- b.m("PUT").h(headers).b(body);
519
- return b.build();
520
- };
521
- const se_UpdateSafetyRuleCommand = async (input, context) => {
522
- const b = core.requestBuilder(input, context);
523
- const headers = {
524
- "content-type": "application/json",
525
- };
526
- b.bp("/safetyrule");
527
- let body;
528
- body = JSON.stringify(smithyClient.take(input, {
529
- AssertionRuleUpdate: (_) => smithyClient._json(_),
530
- GatingRuleUpdate: (_) => smithyClient._json(_),
531
- }));
532
- b.m("PUT").h(headers).b(body);
533
- return b.build();
534
- };
535
- const de_CreateClusterCommand = async (output, context) => {
536
- if (output.statusCode !== 200 && output.statusCode >= 300) {
537
- return de_CommandError(output, context);
538
- }
539
- const contents = smithyClient.map({
540
- $metadata: deserializeMetadata(output),
541
- });
542
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
543
- const doc = smithyClient.take(data, {
544
- Cluster: smithyClient._json,
545
- });
546
- Object.assign(contents, doc);
547
- return contents;
548
- };
549
- const de_CreateControlPanelCommand = async (output, context) => {
550
- if (output.statusCode !== 200 && output.statusCode >= 300) {
551
- return de_CommandError(output, context);
552
- }
553
- const contents = smithyClient.map({
554
- $metadata: deserializeMetadata(output),
555
- });
556
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
557
- const doc = smithyClient.take(data, {
558
- ControlPanel: smithyClient._json,
559
- });
560
- Object.assign(contents, doc);
561
- return contents;
562
- };
563
- const de_CreateRoutingControlCommand = async (output, context) => {
564
- if (output.statusCode !== 200 && output.statusCode >= 300) {
565
- return de_CommandError(output, context);
566
- }
567
- const contents = smithyClient.map({
568
- $metadata: deserializeMetadata(output),
569
- });
570
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
571
- const doc = smithyClient.take(data, {
572
- RoutingControl: smithyClient._json,
573
- });
574
- Object.assign(contents, doc);
575
- return contents;
576
- };
577
- const de_CreateSafetyRuleCommand = async (output, context) => {
578
- if (output.statusCode !== 200 && output.statusCode >= 300) {
579
- return de_CommandError(output, context);
580
- }
581
- const contents = smithyClient.map({
582
- $metadata: deserializeMetadata(output),
583
- });
584
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
585
- const doc = smithyClient.take(data, {
586
- AssertionRule: smithyClient._json,
587
- GatingRule: smithyClient._json,
588
- });
589
- Object.assign(contents, doc);
590
- return contents;
591
- };
592
- const de_DeleteClusterCommand = async (output, context) => {
593
- if (output.statusCode !== 200 && output.statusCode >= 300) {
594
- return de_CommandError(output, context);
595
- }
596
- const contents = smithyClient.map({
597
- $metadata: deserializeMetadata(output),
598
- });
599
- await smithyClient.collectBody(output.body, context);
600
- return contents;
601
- };
602
- const de_DeleteControlPanelCommand = async (output, context) => {
603
- if (output.statusCode !== 200 && output.statusCode >= 300) {
604
- return de_CommandError(output, context);
605
- }
606
- const contents = smithyClient.map({
607
- $metadata: deserializeMetadata(output),
608
- });
609
- await smithyClient.collectBody(output.body, context);
610
- return contents;
611
- };
612
- const de_DeleteRoutingControlCommand = async (output, context) => {
613
- if (output.statusCode !== 200 && output.statusCode >= 300) {
614
- return de_CommandError(output, context);
615
- }
616
- const contents = smithyClient.map({
617
- $metadata: deserializeMetadata(output),
618
- });
619
- await smithyClient.collectBody(output.body, context);
620
- return contents;
621
- };
622
- const de_DeleteSafetyRuleCommand = async (output, context) => {
623
- if (output.statusCode !== 200 && output.statusCode >= 300) {
624
- return de_CommandError(output, context);
625
- }
626
- const contents = smithyClient.map({
627
- $metadata: deserializeMetadata(output),
628
- });
629
- await smithyClient.collectBody(output.body, context);
630
- return contents;
631
232
  };
632
- const de_DescribeClusterCommand = async (output, context) => {
633
- if (output.statusCode !== 200 && output.statusCode >= 300) {
634
- return de_CommandError(output, context);
635
- }
636
- const contents = smithyClient.map({
637
- $metadata: deserializeMetadata(output),
638
- });
639
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
640
- const doc = smithyClient.take(data, {
641
- Cluster: smithyClient._json,
642
- });
643
- Object.assign(contents, doc);
644
- return contents;
645
- };
646
- const de_DescribeControlPanelCommand = async (output, context) => {
647
- if (output.statusCode !== 200 && output.statusCode >= 300) {
648
- return de_CommandError(output, context);
649
- }
650
- const contents = smithyClient.map({
651
- $metadata: deserializeMetadata(output),
652
- });
653
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
654
- const doc = smithyClient.take(data, {
655
- ControlPanel: smithyClient._json,
656
- });
657
- Object.assign(contents, doc);
658
- return contents;
659
- };
660
- const de_DescribeRoutingControlCommand = async (output, context) => {
661
- if (output.statusCode !== 200 && output.statusCode >= 300) {
662
- return de_CommandError(output, context);
663
- }
664
- const contents = smithyClient.map({
665
- $metadata: deserializeMetadata(output),
666
- });
667
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
668
- const doc = smithyClient.take(data, {
669
- RoutingControl: smithyClient._json,
670
- });
671
- Object.assign(contents, doc);
672
- return contents;
673
- };
674
- const de_DescribeSafetyRuleCommand = async (output, context) => {
675
- if (output.statusCode !== 200 && output.statusCode >= 300) {
676
- return de_CommandError(output, context);
677
- }
678
- const contents = smithyClient.map({
679
- $metadata: deserializeMetadata(output),
680
- });
681
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
682
- const doc = smithyClient.take(data, {
683
- AssertionRule: smithyClient._json,
684
- GatingRule: smithyClient._json,
685
- });
686
- Object.assign(contents, doc);
687
- return contents;
688
- };
689
- const de_GetResourcePolicyCommand = async (output, context) => {
690
- if (output.statusCode !== 200 && output.statusCode >= 300) {
691
- return de_CommandError(output, context);
692
- }
693
- const contents = smithyClient.map({
694
- $metadata: deserializeMetadata(output),
695
- });
696
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
697
- const doc = smithyClient.take(data, {
698
- Policy: smithyClient.expectString,
699
- });
700
- Object.assign(contents, doc);
701
- return contents;
702
- };
703
- const de_ListAssociatedRoute53HealthChecksCommand = async (output, context) => {
704
- if (output.statusCode !== 200 && output.statusCode >= 300) {
705
- return de_CommandError(output, context);
706
- }
707
- const contents = smithyClient.map({
708
- $metadata: deserializeMetadata(output),
709
- });
710
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
711
- const doc = smithyClient.take(data, {
712
- HealthCheckIds: smithyClient._json,
713
- NextToken: smithyClient.expectString,
714
- });
715
- Object.assign(contents, doc);
716
- return contents;
717
- };
718
- const de_ListClustersCommand = async (output, context) => {
719
- if (output.statusCode !== 200 && output.statusCode >= 300) {
720
- return de_CommandError(output, context);
721
- }
722
- const contents = smithyClient.map({
723
- $metadata: deserializeMetadata(output),
724
- });
725
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
726
- const doc = smithyClient.take(data, {
727
- Clusters: smithyClient._json,
728
- NextToken: smithyClient.expectString,
729
- });
730
- Object.assign(contents, doc);
731
- return contents;
732
- };
733
- const de_ListControlPanelsCommand = async (output, context) => {
734
- if (output.statusCode !== 200 && output.statusCode >= 300) {
735
- return de_CommandError(output, context);
736
- }
737
- const contents = smithyClient.map({
738
- $metadata: deserializeMetadata(output),
739
- });
740
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
741
- const doc = smithyClient.take(data, {
742
- ControlPanels: smithyClient._json,
743
- NextToken: smithyClient.expectString,
744
- });
745
- Object.assign(contents, doc);
746
- return contents;
747
- };
748
- const de_ListRoutingControlsCommand = async (output, context) => {
749
- if (output.statusCode !== 200 && output.statusCode >= 300) {
750
- return de_CommandError(output, context);
751
- }
752
- const contents = smithyClient.map({
753
- $metadata: deserializeMetadata(output),
754
- });
755
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
756
- const doc = smithyClient.take(data, {
757
- NextToken: smithyClient.expectString,
758
- RoutingControls: smithyClient._json,
759
- });
760
- Object.assign(contents, doc);
761
- return contents;
762
- };
763
- const de_ListSafetyRulesCommand = async (output, context) => {
764
- if (output.statusCode !== 200 && output.statusCode >= 300) {
765
- return de_CommandError(output, context);
766
- }
767
- const contents = smithyClient.map({
768
- $metadata: deserializeMetadata(output),
769
- });
770
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
771
- const doc = smithyClient.take(data, {
772
- NextToken: smithyClient.expectString,
773
- SafetyRules: smithyClient._json,
774
- });
775
- Object.assign(contents, doc);
776
- return contents;
777
- };
778
- const de_ListTagsForResourceCommand = async (output, context) => {
779
- if (output.statusCode !== 200 && output.statusCode >= 300) {
780
- return de_CommandError(output, context);
781
- }
782
- const contents = smithyClient.map({
783
- $metadata: deserializeMetadata(output),
784
- });
785
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
786
- const doc = smithyClient.take(data, {
787
- Tags: smithyClient._json,
788
- });
789
- Object.assign(contents, doc);
790
- return contents;
791
- };
792
- const de_TagResourceCommand = async (output, context) => {
793
- if (output.statusCode !== 200 && output.statusCode >= 300) {
794
- return de_CommandError(output, context);
795
- }
796
- const contents = smithyClient.map({
797
- $metadata: deserializeMetadata(output),
798
- });
799
- await smithyClient.collectBody(output.body, context);
800
- return contents;
801
- };
802
- const de_UntagResourceCommand = async (output, context) => {
803
- if (output.statusCode !== 200 && output.statusCode >= 300) {
804
- return de_CommandError(output, context);
805
- }
806
- const contents = smithyClient.map({
807
- $metadata: deserializeMetadata(output),
808
- });
809
- await smithyClient.collectBody(output.body, context);
810
- return contents;
811
- };
812
- const de_UpdateClusterCommand = async (output, context) => {
813
- if (output.statusCode !== 200 && output.statusCode >= 300) {
814
- return de_CommandError(output, context);
815
- }
816
- const contents = smithyClient.map({
817
- $metadata: deserializeMetadata(output),
818
- });
819
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
820
- const doc = smithyClient.take(data, {
821
- Cluster: smithyClient._json,
822
- });
823
- Object.assign(contents, doc);
824
- return contents;
825
- };
826
- const de_UpdateControlPanelCommand = async (output, context) => {
827
- if (output.statusCode !== 200 && output.statusCode >= 300) {
828
- return de_CommandError(output, context);
829
- }
830
- const contents = smithyClient.map({
831
- $metadata: deserializeMetadata(output),
832
- });
833
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
834
- const doc = smithyClient.take(data, {
835
- ControlPanel: smithyClient._json,
836
- });
837
- Object.assign(contents, doc);
838
- return contents;
839
- };
840
- const de_UpdateRoutingControlCommand = async (output, context) => {
841
- if (output.statusCode !== 200 && output.statusCode >= 300) {
842
- return de_CommandError(output, context);
843
- }
844
- const contents = smithyClient.map({
845
- $metadata: deserializeMetadata(output),
846
- });
847
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
848
- const doc = smithyClient.take(data, {
849
- RoutingControl: smithyClient._json,
850
- });
851
- Object.assign(contents, doc);
852
- return contents;
853
- };
854
- const de_UpdateSafetyRuleCommand = async (output, context) => {
855
- if (output.statusCode !== 200 && output.statusCode >= 300) {
856
- return de_CommandError(output, context);
857
- }
858
- const contents = smithyClient.map({
859
- $metadata: deserializeMetadata(output),
860
- });
861
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
862
- const doc = smithyClient.take(data, {
863
- AssertionRule: smithyClient._json,
864
- GatingRule: smithyClient._json,
865
- });
866
- Object.assign(contents, doc);
867
- return contents;
868
- };
869
- const de_CommandError = async (output, context) => {
870
- const parsedOutput = {
871
- ...output,
872
- body: await core$1.parseJsonErrorBody(output.body, context),
873
- };
874
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
875
- switch (errorCode) {
876
- case "AccessDeniedException":
877
- case "com.amazonaws.route53recoverycontrolconfig#AccessDeniedException":
878
- throw await de_AccessDeniedExceptionRes(parsedOutput);
879
- case "ConflictException":
880
- case "com.amazonaws.route53recoverycontrolconfig#ConflictException":
881
- throw await de_ConflictExceptionRes(parsedOutput);
882
- case "InternalServerException":
883
- case "com.amazonaws.route53recoverycontrolconfig#InternalServerException":
884
- throw await de_InternalServerExceptionRes(parsedOutput);
885
- case "ResourceNotFoundException":
886
- case "com.amazonaws.route53recoverycontrolconfig#ResourceNotFoundException":
887
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
888
- case "ServiceQuotaExceededException":
889
- case "com.amazonaws.route53recoverycontrolconfig#ServiceQuotaExceededException":
890
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
891
- case "ThrottlingException":
892
- case "com.amazonaws.route53recoverycontrolconfig#ThrottlingException":
893
- throw await de_ThrottlingExceptionRes(parsedOutput);
894
- case "ValidationException":
895
- case "com.amazonaws.route53recoverycontrolconfig#ValidationException":
896
- throw await de_ValidationExceptionRes(parsedOutput);
897
- default:
898
- const parsedBody = parsedOutput.body;
899
- return throwDefaultError({
900
- output,
901
- parsedBody,
902
- errorCode,
903
- });
904
- }
905
- };
906
- const throwDefaultError = smithyClient.withBaseException(Route53RecoveryControlConfigServiceException);
907
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
908
- const contents = smithyClient.map({});
909
- const data = parsedOutput.body;
910
- const doc = smithyClient.take(data, {
911
- Message: [, smithyClient.expectString, `message`],
912
- });
913
- Object.assign(contents, doc);
914
- const exception = new AccessDeniedException({
915
- $metadata: deserializeMetadata(parsedOutput),
916
- ...contents,
917
- });
918
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
919
- };
920
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
921
- const contents = smithyClient.map({});
922
- const data = parsedOutput.body;
923
- const doc = smithyClient.take(data, {
924
- Message: [, smithyClient.expectString, `message`],
925
- });
926
- Object.assign(contents, doc);
927
- const exception = new ConflictException({
928
- $metadata: deserializeMetadata(parsedOutput),
929
- ...contents,
930
- });
931
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
932
- };
933
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
934
- const contents = smithyClient.map({});
935
- const data = parsedOutput.body;
936
- const doc = smithyClient.take(data, {
937
- Message: [, smithyClient.expectString, `message`],
938
- });
939
- Object.assign(contents, doc);
940
- const exception = new InternalServerException({
941
- $metadata: deserializeMetadata(parsedOutput),
942
- ...contents,
943
- });
944
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
945
- };
946
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
947
- const contents = smithyClient.map({});
948
- const data = parsedOutput.body;
949
- const doc = smithyClient.take(data, {
950
- Message: [, smithyClient.expectString, `message`],
951
- });
952
- Object.assign(contents, doc);
953
- const exception = new ResourceNotFoundException({
954
- $metadata: deserializeMetadata(parsedOutput),
955
- ...contents,
956
- });
957
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
958
- };
959
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
960
- const contents = smithyClient.map({});
961
- const data = parsedOutput.body;
962
- const doc = smithyClient.take(data, {
963
- Message: [, smithyClient.expectString, `message`],
964
- });
965
- Object.assign(contents, doc);
966
- const exception = new ServiceQuotaExceededException({
967
- $metadata: deserializeMetadata(parsedOutput),
968
- ...contents,
969
- });
970
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
971
- };
972
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
973
- const contents = smithyClient.map({});
974
- const data = parsedOutput.body;
975
- const doc = smithyClient.take(data, {
976
- Message: [, smithyClient.expectString, `message`],
977
- });
978
- Object.assign(contents, doc);
979
- const exception = new ThrottlingException({
980
- $metadata: deserializeMetadata(parsedOutput),
981
- ...contents,
982
- });
983
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
984
- };
985
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
986
- const contents = smithyClient.map({});
987
- const data = parsedOutput.body;
988
- const doc = smithyClient.take(data, {
989
- Message: [, smithyClient.expectString, `message`],
990
- });
991
- Object.assign(contents, doc);
992
- const exception = new ValidationException({
993
- $metadata: deserializeMetadata(parsedOutput),
994
- ...contents,
995
- });
996
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
997
- };
998
- const deserializeMetadata = (output) => ({
999
- httpStatusCode: output.statusCode,
1000
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1001
- extendedRequestId: output.headers["x-amz-id-2"],
1002
- cfId: output.headers["x-amz-cf-id"],
1003
- });
233
+
234
+ const _AC = "AssertedControls";
235
+ const _ADE = "AccessDeniedException";
236
+ const _AR = "AssertionRule";
237
+ const _ARU = "AssertionRuleUpdate";
238
+ const _ASSERTION = "ASSERTION";
239
+ const _C = "Cluster";
1004
240
  const _CA = "ClusterArn";
241
+ const _CC = "CreateCluster";
242
+ const _CCP = "CreateControlPanel";
243
+ const _CCPR = "CreateControlPanelRequest";
244
+ const _CCPRr = "CreateControlPanelResponse";
245
+ const _CCR = "CreateClusterRequest";
246
+ const _CCRr = "CreateClusterResponse";
247
+ const _CE = "ClusterEndpoints";
248
+ const _CEl = "ClusterEndpoint";
249
+ const _CEo = "ConflictException";
250
+ const _CN = "ClusterName";
251
+ const _CP = "ControlPanel";
252
+ const _CPA = "ControlPanelArn";
253
+ const _CPN = "ControlPanelName";
254
+ const _CPo = "ControlPanels";
255
+ const _CRC = "CreateRoutingControl";
256
+ const _CRCR = "CreateRoutingControlRequest";
257
+ const _CRCRr = "CreateRoutingControlResponse";
258
+ const _CSR = "CreateSafetyRule";
259
+ const _CSRR = "CreateSafetyRuleRequest";
260
+ const _CSRRr = "CreateSafetyRuleResponse";
261
+ const _CT = "ClientToken";
262
+ const _Cl = "Clusters";
263
+ const _DC = "DeleteCluster";
264
+ const _DCP = "DefaultControlPanel";
265
+ const _DCPR = "DeleteControlPanelRequest";
266
+ const _DCPRe = "DeleteControlPanelResponse";
267
+ const _DCPRes = "DescribeControlPanelRequest";
268
+ const _DCPResc = "DescribeControlPanelResponse";
269
+ const _DCPe = "DeleteControlPanel";
270
+ const _DCPes = "DescribeControlPanel";
271
+ const _DCR = "DeleteClusterRequest";
272
+ const _DCRe = "DeleteClusterResponse";
273
+ const _DCRes = "DescribeClusterRequest";
274
+ const _DCResc = "DescribeClusterResponse";
275
+ const _DCe = "DescribeCluster";
276
+ const _DRC = "DeleteRoutingControl";
277
+ const _DRCR = "DeleteRoutingControlRequest";
278
+ const _DRCRe = "DeleteRoutingControlResponse";
279
+ const _DRCRes = "DescribeRoutingControlRequest";
280
+ const _DRCResc = "DescribeRoutingControlResponse";
281
+ const _DRCe = "DescribeRoutingControl";
282
+ const _DSR = "DeleteSafetyRule";
283
+ const _DSRR = "DeleteSafetyRuleRequest";
284
+ const _DSRRe = "DeleteSafetyRuleResponse";
285
+ const _DSRRes = "DescribeSafetyRuleRequest";
286
+ const _DSRResc = "DescribeSafetyRuleResponse";
287
+ const _DSRe = "DescribeSafetyRule";
288
+ const _E = "Endpoint";
289
+ const _GATING = "GATING";
290
+ const _GC = "GatingControls";
291
+ const _GR = "GatingRule";
292
+ const _GRP = "GetResourcePolicy";
293
+ const _GRPR = "GetResourcePolicyRequest";
294
+ const _GRPRe = "GetResourcePolicyResponse";
295
+ const _GRU = "GatingRuleUpdate";
296
+ const _HCI = "HealthCheckIds";
297
+ const _I = "Inverted";
298
+ const _ISE = "InternalServerException";
299
+ const _LARHC = "ListAssociatedRoute53HealthChecks";
300
+ const _LARHCR = "ListAssociatedRoute53HealthChecksRequest";
301
+ const _LARHCRi = "ListAssociatedRoute53HealthChecksResponse";
302
+ const _LC = "ListClusters";
303
+ const _LCP = "ListControlPanels";
304
+ const _LCPR = "ListControlPanelsRequest";
305
+ const _LCPRi = "ListControlPanelsResponse";
306
+ const _LCR = "ListClustersRequest";
307
+ const _LCRi = "ListClustersResponse";
308
+ const _LRC = "ListRoutingControls";
309
+ const _LRCR = "ListRoutingControlsRequest";
310
+ const _LRCRi = "ListRoutingControlsResponse";
311
+ const _LSR = "ListSafetyRules";
312
+ const _LSRR = "ListSafetyRulesRequest";
313
+ const _LSRRi = "ListSafetyRulesResponse";
314
+ const _LTFR = "ListTagsForResource";
315
+ const _LTFRR = "ListTagsForResourceRequest";
316
+ const _LTFRRi = "ListTagsForResourceResponse";
317
+ const _M = "Message";
1005
318
  const _MR = "MaxResults";
1006
- const _NT = "NextToken";
319
+ const _N = "Name";
320
+ const _NAR = "NewAssertionRule";
321
+ const _NGR = "NewGatingRule";
322
+ const _NT = "NetworkType";
323
+ const _NTe = "NextToken";
324
+ const _O = "Owner";
325
+ const _P = "Policy";
326
+ const _R = "Region";
327
+ const _RA = "ResourceArn";
328
+ const _RC = "RuleConfig";
329
+ const _RCA = "RoutingControlArn";
330
+ const _RCC = "RoutingControlCount";
331
+ const _RCN = "RoutingControlName";
332
+ const _RCo = "RoutingControl";
333
+ const _RCou = "RoutingControls";
334
+ const _RNFE = "ResourceNotFoundException";
335
+ const _Ru = "Rule";
336
+ const _S = "Status";
337
+ const _SQEE = "ServiceQuotaExceededException";
338
+ const _SR = "SafetyRules";
339
+ const _SRA = "SafetyRuleArn";
340
+ const _T = "Tags";
341
+ const _TC = "TargetControls";
342
+ const _TE = "ThrottlingException";
1007
343
  const _TK = "TagKeys";
344
+ const _TR = "TagResource";
345
+ const _TRR = "TagResourceRequest";
346
+ const _TRRa = "TagResourceResponse";
347
+ const _Th = "Threshold";
348
+ const _Ty = "Type";
349
+ const _UC = "UpdateCluster";
350
+ const _UCP = "UpdateControlPanel";
351
+ const _UCPR = "UpdateControlPanelRequest";
352
+ const _UCPRp = "UpdateControlPanelResponse";
353
+ const _UCR = "UpdateClusterRequest";
354
+ const _UCRp = "UpdateClusterResponse";
355
+ const _UR = "UntagResource";
356
+ const _URC = "UpdateRoutingControl";
357
+ const _URCR = "UpdateRoutingControlRequest";
358
+ const _URCRp = "UpdateRoutingControlResponse";
359
+ const _URR = "UntagResourceRequest";
360
+ const _URRn = "UntagResourceResponse";
361
+ const _USR = "UpdateSafetyRule";
362
+ const _USRR = "UpdateSafetyRuleRequest";
363
+ const _USRRp = "UpdateSafetyRuleResponse";
364
+ const _VE = "ValidationException";
365
+ const _WPM = "WaitPeriodMs";
366
+ const _c = "client";
367
+ const _e = "error";
368
+ const _h = "http";
369
+ const _hE = "httpError";
370
+ const _hQ = "httpQuery";
371
+ const _jN = "jsonName";
372
+ const _lOC = "__listOfCluster";
373
+ const _lOCE = "__listOfClusterEndpoint";
374
+ const _lOCP = "__listOfControlPanel";
375
+ const _lOR = "__listOfRule";
376
+ const _lORC = "__listOfRoutingControl";
377
+ const _m = "message";
378
+ const _s = "server";
379
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.route53recoverycontrolconfig";
380
+ const n0 = "com.amazonaws.route53recoverycontrolconfig";
381
+ var AccessDeniedException = [
382
+ -3,
383
+ n0,
384
+ _ADE,
385
+ {
386
+ [_e]: _c,
387
+ [_hE]: 403,
388
+ },
389
+ [_M],
390
+ [
391
+ [
392
+ 0,
393
+ {
394
+ [_jN]: _m,
395
+ },
396
+ ],
397
+ ],
398
+ ];
399
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
400
+ var AssertionRule = [
401
+ 3,
402
+ n0,
403
+ _AR,
404
+ 0,
405
+ [_AC, _CPA, _N, _RC, _SRA, _S, _WPM, _O],
406
+ [64 | 0, 0, 0, () => RuleConfig, 0, 0, 1, 0],
407
+ ];
408
+ var AssertionRuleUpdate = [3, n0, _ARU, 0, [_N, _SRA, _WPM], [0, 0, 1]];
409
+ var Cluster = [
410
+ 3,
411
+ n0,
412
+ _C,
413
+ 0,
414
+ [_CA, _CE, _N, _S, _O, _NT],
415
+ [0, () => __listOfClusterEndpoint, 0, 0, 0, 0],
416
+ ];
417
+ var ClusterEndpoint = [3, n0, _CEl, 0, [_E, _R], [0, 0]];
418
+ var ConflictException = [
419
+ -3,
420
+ n0,
421
+ _CEo,
422
+ {
423
+ [_e]: _c,
424
+ [_hE]: 409,
425
+ },
426
+ [_M],
427
+ [
428
+ [
429
+ 0,
430
+ {
431
+ [_jN]: _m,
432
+ },
433
+ ],
434
+ ],
435
+ ];
436
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
437
+ var ControlPanel = [
438
+ 3,
439
+ n0,
440
+ _CP,
441
+ 0,
442
+ [_CA, _CPA, _DCP, _N, _RCC, _S, _O],
443
+ [0, 0, 2, 0, 1, 0, 0],
444
+ ];
445
+ var CreateClusterRequest = [3, n0, _CCR, 0, [_CT, _CN, _T, _NT], [[0, 4], 0, 128 | 0, 0]];
446
+ var CreateClusterResponse = [3, n0, _CCRr, 0, [_C], [() => Cluster]];
447
+ var CreateControlPanelRequest = [
448
+ 3,
449
+ n0,
450
+ _CCPR,
451
+ 0,
452
+ [_CT, _CA, _CPN, _T],
453
+ [[0, 4], 0, 0, 128 | 0],
454
+ ];
455
+ var CreateControlPanelResponse = [3, n0, _CCPRr, 0, [_CP], [() => ControlPanel]];
456
+ var CreateRoutingControlRequest = [
457
+ 3,
458
+ n0,
459
+ _CRCR,
460
+ 0,
461
+ [_CT, _CA, _CPA, _RCN],
462
+ [[0, 4], 0, 0, 0],
463
+ ];
464
+ var CreateRoutingControlResponse = [3, n0, _CRCRr, 0, [_RCo], [() => RoutingControl]];
465
+ var CreateSafetyRuleRequest = [
466
+ 3,
467
+ n0,
468
+ _CSRR,
469
+ 0,
470
+ [_AR, _CT, _GR, _T],
471
+ [() => NewAssertionRule, [0, 4], () => NewGatingRule, 128 | 0],
472
+ ];
473
+ var CreateSafetyRuleResponse = [
474
+ 3,
475
+ n0,
476
+ _CSRRr,
477
+ 0,
478
+ [_AR, _GR],
479
+ [() => AssertionRule, () => GatingRule],
480
+ ];
481
+ var DeleteClusterRequest = [3, n0, _DCR, 0, [_CA], [[0, 1]]];
482
+ var DeleteClusterResponse = [3, n0, _DCRe, 0, [], []];
483
+ var DeleteControlPanelRequest = [3, n0, _DCPR, 0, [_CPA], [[0, 1]]];
484
+ var DeleteControlPanelResponse = [3, n0, _DCPRe, 0, [], []];
485
+ var DeleteRoutingControlRequest = [3, n0, _DRCR, 0, [_RCA], [[0, 1]]];
486
+ var DeleteRoutingControlResponse = [3, n0, _DRCRe, 0, [], []];
487
+ var DeleteSafetyRuleRequest = [3, n0, _DSRR, 0, [_SRA], [[0, 1]]];
488
+ var DeleteSafetyRuleResponse = [3, n0, _DSRRe, 0, [], []];
489
+ var DescribeClusterRequest = [3, n0, _DCRes, 0, [_CA], [[0, 1]]];
490
+ var DescribeClusterResponse = [3, n0, _DCResc, 0, [_C], [() => Cluster]];
491
+ var DescribeControlPanelRequest = [3, n0, _DCPRes, 0, [_CPA], [[0, 1]]];
492
+ var DescribeControlPanelResponse = [3, n0, _DCPResc, 0, [_CP], [() => ControlPanel]];
493
+ var DescribeRoutingControlRequest = [3, n0, _DRCRes, 0, [_RCA], [[0, 1]]];
494
+ var DescribeRoutingControlResponse = [3, n0, _DRCResc, 0, [_RCo], [() => RoutingControl]];
495
+ var DescribeSafetyRuleRequest = [3, n0, _DSRRes, 0, [_SRA], [[0, 1]]];
496
+ var DescribeSafetyRuleResponse = [
497
+ 3,
498
+ n0,
499
+ _DSRResc,
500
+ 0,
501
+ [_AR, _GR],
502
+ [() => AssertionRule, () => GatingRule],
503
+ ];
504
+ var GatingRule = [
505
+ 3,
506
+ n0,
507
+ _GR,
508
+ 0,
509
+ [_CPA, _GC, _N, _RC, _SRA, _S, _TC, _WPM, _O],
510
+ [0, 64 | 0, 0, () => RuleConfig, 0, 0, 64 | 0, 1, 0],
511
+ ];
512
+ var GatingRuleUpdate = [3, n0, _GRU, 0, [_N, _SRA, _WPM], [0, 0, 1]];
513
+ var GetResourcePolicyRequest = [3, n0, _GRPR, 0, [_RA], [[0, 1]]];
514
+ var GetResourcePolicyResponse = [3, n0, _GRPRe, 0, [_P], [0]];
515
+ var InternalServerException = [
516
+ -3,
517
+ n0,
518
+ _ISE,
519
+ {
520
+ [_e]: _s,
521
+ [_hE]: 500,
522
+ },
523
+ [_M],
524
+ [
525
+ [
526
+ 0,
527
+ {
528
+ [_jN]: _m,
529
+ },
530
+ ],
531
+ ],
532
+ ];
533
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
534
+ var ListAssociatedRoute53HealthChecksRequest = [
535
+ 3,
536
+ n0,
537
+ _LARHCR,
538
+ 0,
539
+ [_MR, _NTe, _RCA],
540
+ [
541
+ [
542
+ 1,
543
+ {
544
+ [_hQ]: _MR,
545
+ },
546
+ ],
547
+ [
548
+ 0,
549
+ {
550
+ [_hQ]: _NTe,
551
+ },
552
+ ],
553
+ [0, 1],
554
+ ],
555
+ ];
556
+ var ListAssociatedRoute53HealthChecksResponse = [
557
+ 3,
558
+ n0,
559
+ _LARHCRi,
560
+ 0,
561
+ [_HCI, _NTe],
562
+ [64 | 0, 0],
563
+ ];
564
+ var ListClustersRequest = [
565
+ 3,
566
+ n0,
567
+ _LCR,
568
+ 0,
569
+ [_MR, _NTe],
570
+ [
571
+ [
572
+ 1,
573
+ {
574
+ [_hQ]: _MR,
575
+ },
576
+ ],
577
+ [
578
+ 0,
579
+ {
580
+ [_hQ]: _NTe,
581
+ },
582
+ ],
583
+ ],
584
+ ];
585
+ var ListClustersResponse = [3, n0, _LCRi, 0, [_Cl, _NTe], [() => __listOfCluster, 0]];
586
+ var ListControlPanelsRequest = [
587
+ 3,
588
+ n0,
589
+ _LCPR,
590
+ 0,
591
+ [_CA, _MR, _NTe],
592
+ [
593
+ [
594
+ 0,
595
+ {
596
+ [_hQ]: _CA,
597
+ },
598
+ ],
599
+ [
600
+ 1,
601
+ {
602
+ [_hQ]: _MR,
603
+ },
604
+ ],
605
+ [
606
+ 0,
607
+ {
608
+ [_hQ]: _NTe,
609
+ },
610
+ ],
611
+ ],
612
+ ];
613
+ var ListControlPanelsResponse = [
614
+ 3,
615
+ n0,
616
+ _LCPRi,
617
+ 0,
618
+ [_CPo, _NTe],
619
+ [() => __listOfControlPanel, 0],
620
+ ];
621
+ var ListRoutingControlsRequest = [
622
+ 3,
623
+ n0,
624
+ _LRCR,
625
+ 0,
626
+ [_CPA, _MR, _NTe],
627
+ [
628
+ [0, 1],
629
+ [
630
+ 1,
631
+ {
632
+ [_hQ]: _MR,
633
+ },
634
+ ],
635
+ [
636
+ 0,
637
+ {
638
+ [_hQ]: _NTe,
639
+ },
640
+ ],
641
+ ],
642
+ ];
643
+ var ListRoutingControlsResponse = [
644
+ 3,
645
+ n0,
646
+ _LRCRi,
647
+ 0,
648
+ [_NTe, _RCou],
649
+ [0, () => __listOfRoutingControl],
650
+ ];
651
+ var ListSafetyRulesRequest = [
652
+ 3,
653
+ n0,
654
+ _LSRR,
655
+ 0,
656
+ [_CPA, _MR, _NTe],
657
+ [
658
+ [0, 1],
659
+ [
660
+ 1,
661
+ {
662
+ [_hQ]: _MR,
663
+ },
664
+ ],
665
+ [
666
+ 0,
667
+ {
668
+ [_hQ]: _NTe,
669
+ },
670
+ ],
671
+ ],
672
+ ];
673
+ var ListSafetyRulesResponse = [3, n0, _LSRRi, 0, [_NTe, _SR], [0, () => __listOfRule]];
674
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [[0, 1]]];
675
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [128 | 0]];
676
+ var NewAssertionRule = [
677
+ 3,
678
+ n0,
679
+ _NAR,
680
+ 0,
681
+ [_AC, _CPA, _N, _RC, _WPM],
682
+ [64 | 0, 0, 0, () => RuleConfig, 1],
683
+ ];
684
+ var NewGatingRule = [
685
+ 3,
686
+ n0,
687
+ _NGR,
688
+ 0,
689
+ [_CPA, _GC, _N, _RC, _TC, _WPM],
690
+ [0, 64 | 0, 0, () => RuleConfig, 64 | 0, 1],
691
+ ];
692
+ var ResourceNotFoundException = [
693
+ -3,
694
+ n0,
695
+ _RNFE,
696
+ {
697
+ [_e]: _c,
698
+ [_hE]: 404,
699
+ },
700
+ [_M],
701
+ [
702
+ [
703
+ 0,
704
+ {
705
+ [_jN]: _m,
706
+ },
707
+ ],
708
+ ],
709
+ ];
710
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
711
+ var RoutingControl = [3, n0, _RCo, 0, [_CPA, _N, _RCA, _S, _O], [0, 0, 0, 0, 0]];
712
+ var Rule = [
713
+ 3,
714
+ n0,
715
+ _Ru,
716
+ 0,
717
+ [_ASSERTION, _GATING],
718
+ [() => AssertionRule, () => GatingRule],
719
+ ];
720
+ var RuleConfig = [3, n0, _RC, 0, [_I, _Th, _Ty], [2, 1, 0]];
721
+ var ServiceQuotaExceededException = [
722
+ -3,
723
+ n0,
724
+ _SQEE,
725
+ {
726
+ [_e]: _c,
727
+ [_hE]: 402,
728
+ },
729
+ [_M],
730
+ [
731
+ [
732
+ 0,
733
+ {
734
+ [_jN]: _m,
735
+ },
736
+ ],
737
+ ],
738
+ ];
739
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
740
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RA, _T], [[0, 1], 128 | 0]];
741
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
742
+ var ThrottlingException = [
743
+ -3,
744
+ n0,
745
+ _TE,
746
+ {
747
+ [_e]: _c,
748
+ [_hE]: 429,
749
+ },
750
+ [_M],
751
+ [
752
+ [
753
+ 0,
754
+ {
755
+ [_jN]: _m,
756
+ },
757
+ ],
758
+ ],
759
+ ];
760
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
761
+ var UntagResourceRequest = [
762
+ 3,
763
+ n0,
764
+ _URR,
765
+ 0,
766
+ [_RA, _TK],
767
+ [
768
+ [0, 1],
769
+ [
770
+ 64 | 0,
771
+ {
772
+ [_hQ]: _TK,
773
+ },
774
+ ],
775
+ ],
776
+ ];
777
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
778
+ var UpdateClusterRequest = [3, n0, _UCR, 0, [_CA, _NT], [0, 0]];
779
+ var UpdateClusterResponse = [3, n0, _UCRp, 0, [_C], [() => Cluster]];
780
+ var UpdateControlPanelRequest = [3, n0, _UCPR, 0, [_CPA, _CPN], [0, 0]];
781
+ var UpdateControlPanelResponse = [3, n0, _UCPRp, 0, [_CP], [() => ControlPanel]];
782
+ var UpdateRoutingControlRequest = [3, n0, _URCR, 0, [_RCA, _RCN], [0, 0]];
783
+ var UpdateRoutingControlResponse = [3, n0, _URCRp, 0, [_RCo], [() => RoutingControl]];
784
+ var UpdateSafetyRuleRequest = [
785
+ 3,
786
+ n0,
787
+ _USRR,
788
+ 0,
789
+ [_ARU, _GRU],
790
+ [() => AssertionRuleUpdate, () => GatingRuleUpdate],
791
+ ];
792
+ var UpdateSafetyRuleResponse = [
793
+ 3,
794
+ n0,
795
+ _USRRp,
796
+ 0,
797
+ [_AR, _GR],
798
+ [() => AssertionRule, () => GatingRule],
799
+ ];
800
+ var ValidationException = [
801
+ -3,
802
+ n0,
803
+ _VE,
804
+ {
805
+ [_e]: _c,
806
+ [_hE]: 400,
807
+ },
808
+ [_M],
809
+ [
810
+ [
811
+ 0,
812
+ {
813
+ [_jN]: _m,
814
+ },
815
+ ],
816
+ ],
817
+ ];
818
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
819
+ var Route53RecoveryControlConfigServiceException = [
820
+ -3,
821
+ _sm,
822
+ "Route53RecoveryControlConfigServiceException",
823
+ 0,
824
+ [],
825
+ [],
826
+ ];
827
+ schema.TypeRegistry.for(_sm).registerError(Route53RecoveryControlConfigServiceException, Route53RecoveryControlConfigServiceException$1);
828
+ var __listOfCluster = [1, n0, _lOC, 0, () => Cluster];
829
+ var __listOfClusterEndpoint = [1, n0, _lOCE, 0, () => ClusterEndpoint];
830
+ var __listOfControlPanel = [1, n0, _lOCP, 0, () => ControlPanel];
831
+ var __listOfRoutingControl = [1, n0, _lORC, 0, () => RoutingControl];
832
+ var __listOfRule = [1, n0, _lOR, 0, () => Rule];
833
+ var CreateCluster = [
834
+ 9,
835
+ n0,
836
+ _CC,
837
+ {
838
+ [_h]: ["POST", "/cluster", 200],
839
+ },
840
+ () => CreateClusterRequest,
841
+ () => CreateClusterResponse,
842
+ ];
843
+ var CreateControlPanel = [
844
+ 9,
845
+ n0,
846
+ _CCP,
847
+ {
848
+ [_h]: ["POST", "/controlpanel", 200],
849
+ },
850
+ () => CreateControlPanelRequest,
851
+ () => CreateControlPanelResponse,
852
+ ];
853
+ var CreateRoutingControl = [
854
+ 9,
855
+ n0,
856
+ _CRC,
857
+ {
858
+ [_h]: ["POST", "/routingcontrol", 200],
859
+ },
860
+ () => CreateRoutingControlRequest,
861
+ () => CreateRoutingControlResponse,
862
+ ];
863
+ var CreateSafetyRule = [
864
+ 9,
865
+ n0,
866
+ _CSR,
867
+ {
868
+ [_h]: ["POST", "/safetyrule", 200],
869
+ },
870
+ () => CreateSafetyRuleRequest,
871
+ () => CreateSafetyRuleResponse,
872
+ ];
873
+ var DeleteCluster = [
874
+ 9,
875
+ n0,
876
+ _DC,
877
+ {
878
+ [_h]: ["DELETE", "/cluster/{ClusterArn}", 200],
879
+ },
880
+ () => DeleteClusterRequest,
881
+ () => DeleteClusterResponse,
882
+ ];
883
+ var DeleteControlPanel = [
884
+ 9,
885
+ n0,
886
+ _DCPe,
887
+ {
888
+ [_h]: ["DELETE", "/controlpanel/{ControlPanelArn}", 200],
889
+ },
890
+ () => DeleteControlPanelRequest,
891
+ () => DeleteControlPanelResponse,
892
+ ];
893
+ var DeleteRoutingControl = [
894
+ 9,
895
+ n0,
896
+ _DRC,
897
+ {
898
+ [_h]: ["DELETE", "/routingcontrol/{RoutingControlArn}", 200],
899
+ },
900
+ () => DeleteRoutingControlRequest,
901
+ () => DeleteRoutingControlResponse,
902
+ ];
903
+ var DeleteSafetyRule = [
904
+ 9,
905
+ n0,
906
+ _DSR,
907
+ {
908
+ [_h]: ["DELETE", "/safetyrule/{SafetyRuleArn}", 200],
909
+ },
910
+ () => DeleteSafetyRuleRequest,
911
+ () => DeleteSafetyRuleResponse,
912
+ ];
913
+ var DescribeCluster = [
914
+ 9,
915
+ n0,
916
+ _DCe,
917
+ {
918
+ [_h]: ["GET", "/cluster/{ClusterArn}", 200],
919
+ },
920
+ () => DescribeClusterRequest,
921
+ () => DescribeClusterResponse,
922
+ ];
923
+ var DescribeControlPanel = [
924
+ 9,
925
+ n0,
926
+ _DCPes,
927
+ {
928
+ [_h]: ["GET", "/controlpanel/{ControlPanelArn}", 200],
929
+ },
930
+ () => DescribeControlPanelRequest,
931
+ () => DescribeControlPanelResponse,
932
+ ];
933
+ var DescribeRoutingControl = [
934
+ 9,
935
+ n0,
936
+ _DRCe,
937
+ {
938
+ [_h]: ["GET", "/routingcontrol/{RoutingControlArn}", 200],
939
+ },
940
+ () => DescribeRoutingControlRequest,
941
+ () => DescribeRoutingControlResponse,
942
+ ];
943
+ var DescribeSafetyRule = [
944
+ 9,
945
+ n0,
946
+ _DSRe,
947
+ {
948
+ [_h]: ["GET", "/safetyrule/{SafetyRuleArn}", 200],
949
+ },
950
+ () => DescribeSafetyRuleRequest,
951
+ () => DescribeSafetyRuleResponse,
952
+ ];
953
+ var GetResourcePolicy = [
954
+ 9,
955
+ n0,
956
+ _GRP,
957
+ {
958
+ [_h]: ["GET", "/resourcePolicy/{ResourceArn}", 200],
959
+ },
960
+ () => GetResourcePolicyRequest,
961
+ () => GetResourcePolicyResponse,
962
+ ];
963
+ var ListAssociatedRoute53HealthChecks = [
964
+ 9,
965
+ n0,
966
+ _LARHC,
967
+ {
968
+ [_h]: ["GET", "/routingcontrol/{RoutingControlArn}/associatedRoute53HealthChecks", 200],
969
+ },
970
+ () => ListAssociatedRoute53HealthChecksRequest,
971
+ () => ListAssociatedRoute53HealthChecksResponse,
972
+ ];
973
+ var ListClusters = [
974
+ 9,
975
+ n0,
976
+ _LC,
977
+ {
978
+ [_h]: ["GET", "/cluster", 200],
979
+ },
980
+ () => ListClustersRequest,
981
+ () => ListClustersResponse,
982
+ ];
983
+ var ListControlPanels = [
984
+ 9,
985
+ n0,
986
+ _LCP,
987
+ {
988
+ [_h]: ["GET", "/controlpanels", 200],
989
+ },
990
+ () => ListControlPanelsRequest,
991
+ () => ListControlPanelsResponse,
992
+ ];
993
+ var ListRoutingControls = [
994
+ 9,
995
+ n0,
996
+ _LRC,
997
+ {
998
+ [_h]: ["GET", "/controlpanel/{ControlPanelArn}/routingcontrols", 200],
999
+ },
1000
+ () => ListRoutingControlsRequest,
1001
+ () => ListRoutingControlsResponse,
1002
+ ];
1003
+ var ListSafetyRules = [
1004
+ 9,
1005
+ n0,
1006
+ _LSR,
1007
+ {
1008
+ [_h]: ["GET", "/controlpanel/{ControlPanelArn}/safetyrules", 200],
1009
+ },
1010
+ () => ListSafetyRulesRequest,
1011
+ () => ListSafetyRulesResponse,
1012
+ ];
1013
+ var ListTagsForResource = [
1014
+ 9,
1015
+ n0,
1016
+ _LTFR,
1017
+ {
1018
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
1019
+ },
1020
+ () => ListTagsForResourceRequest,
1021
+ () => ListTagsForResourceResponse,
1022
+ ];
1023
+ var TagResource = [
1024
+ 9,
1025
+ n0,
1026
+ _TR,
1027
+ {
1028
+ [_h]: ["POST", "/tags/{ResourceArn}", 200],
1029
+ },
1030
+ () => TagResourceRequest,
1031
+ () => TagResourceResponse,
1032
+ ];
1033
+ var UntagResource = [
1034
+ 9,
1035
+ n0,
1036
+ _UR,
1037
+ {
1038
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 200],
1039
+ },
1040
+ () => UntagResourceRequest,
1041
+ () => UntagResourceResponse,
1042
+ ];
1043
+ var UpdateCluster = [
1044
+ 9,
1045
+ n0,
1046
+ _UC,
1047
+ {
1048
+ [_h]: ["PUT", "/cluster", 200],
1049
+ },
1050
+ () => UpdateClusterRequest,
1051
+ () => UpdateClusterResponse,
1052
+ ];
1053
+ var UpdateControlPanel = [
1054
+ 9,
1055
+ n0,
1056
+ _UCP,
1057
+ {
1058
+ [_h]: ["PUT", "/controlpanel", 200],
1059
+ },
1060
+ () => UpdateControlPanelRequest,
1061
+ () => UpdateControlPanelResponse,
1062
+ ];
1063
+ var UpdateRoutingControl = [
1064
+ 9,
1065
+ n0,
1066
+ _URC,
1067
+ {
1068
+ [_h]: ["PUT", "/routingcontrol", 200],
1069
+ },
1070
+ () => UpdateRoutingControlRequest,
1071
+ () => UpdateRoutingControlResponse,
1072
+ ];
1073
+ var UpdateSafetyRule = [
1074
+ 9,
1075
+ n0,
1076
+ _USR,
1077
+ {
1078
+ [_h]: ["PUT", "/safetyrule", 200],
1079
+ },
1080
+ () => UpdateSafetyRuleRequest,
1081
+ () => UpdateSafetyRuleResponse,
1082
+ ];
1008
1083
 
1009
1084
  class CreateClusterCommand extends smithyClient.Command
1010
1085
  .classBuilder()
1011
1086
  .ep(commonParams)
1012
1087
  .m(function (Command, cs, config, o) {
1013
- return [
1014
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1015
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1016
- ];
1088
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1017
1089
  })
1018
1090
  .s("Route53RecoveryControlConfig", "CreateCluster", {})
1019
1091
  .n("Route53RecoveryControlConfigClient", "CreateClusterCommand")
1020
- .f(void 0, void 0)
1021
- .ser(se_CreateClusterCommand)
1022
- .de(de_CreateClusterCommand)
1092
+ .sc(CreateCluster)
1023
1093
  .build() {
1024
1094
  }
1025
1095
 
@@ -1027,16 +1097,11 @@ class CreateControlPanelCommand extends smithyClient.Command
1027
1097
  .classBuilder()
1028
1098
  .ep(commonParams)
1029
1099
  .m(function (Command, cs, config, o) {
1030
- return [
1031
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1032
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1033
- ];
1100
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1034
1101
  })
1035
1102
  .s("Route53RecoveryControlConfig", "CreateControlPanel", {})
1036
1103
  .n("Route53RecoveryControlConfigClient", "CreateControlPanelCommand")
1037
- .f(void 0, void 0)
1038
- .ser(se_CreateControlPanelCommand)
1039
- .de(de_CreateControlPanelCommand)
1104
+ .sc(CreateControlPanel)
1040
1105
  .build() {
1041
1106
  }
1042
1107
 
@@ -1044,16 +1109,11 @@ class CreateRoutingControlCommand extends smithyClient.Command
1044
1109
  .classBuilder()
1045
1110
  .ep(commonParams)
1046
1111
  .m(function (Command, cs, config, o) {
1047
- return [
1048
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1049
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1050
- ];
1112
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1051
1113
  })
1052
1114
  .s("Route53RecoveryControlConfig", "CreateRoutingControl", {})
1053
1115
  .n("Route53RecoveryControlConfigClient", "CreateRoutingControlCommand")
1054
- .f(void 0, void 0)
1055
- .ser(se_CreateRoutingControlCommand)
1056
- .de(de_CreateRoutingControlCommand)
1116
+ .sc(CreateRoutingControl)
1057
1117
  .build() {
1058
1118
  }
1059
1119
 
@@ -1061,16 +1121,11 @@ class CreateSafetyRuleCommand extends smithyClient.Command
1061
1121
  .classBuilder()
1062
1122
  .ep(commonParams)
1063
1123
  .m(function (Command, cs, config, o) {
1064
- return [
1065
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1066
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1067
- ];
1124
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1068
1125
  })
1069
1126
  .s("Route53RecoveryControlConfig", "CreateSafetyRule", {})
1070
1127
  .n("Route53RecoveryControlConfigClient", "CreateSafetyRuleCommand")
1071
- .f(void 0, void 0)
1072
- .ser(se_CreateSafetyRuleCommand)
1073
- .de(de_CreateSafetyRuleCommand)
1128
+ .sc(CreateSafetyRule)
1074
1129
  .build() {
1075
1130
  }
1076
1131
 
@@ -1078,16 +1133,11 @@ class DeleteClusterCommand extends smithyClient.Command
1078
1133
  .classBuilder()
1079
1134
  .ep(commonParams)
1080
1135
  .m(function (Command, cs, config, o) {
1081
- return [
1082
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1083
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1084
- ];
1136
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1085
1137
  })
1086
1138
  .s("Route53RecoveryControlConfig", "DeleteCluster", {})
1087
1139
  .n("Route53RecoveryControlConfigClient", "DeleteClusterCommand")
1088
- .f(void 0, void 0)
1089
- .ser(se_DeleteClusterCommand)
1090
- .de(de_DeleteClusterCommand)
1140
+ .sc(DeleteCluster)
1091
1141
  .build() {
1092
1142
  }
1093
1143
 
@@ -1095,16 +1145,11 @@ class DeleteControlPanelCommand extends smithyClient.Command
1095
1145
  .classBuilder()
1096
1146
  .ep(commonParams)
1097
1147
  .m(function (Command, cs, config, o) {
1098
- return [
1099
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1100
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1101
- ];
1148
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1102
1149
  })
1103
1150
  .s("Route53RecoveryControlConfig", "DeleteControlPanel", {})
1104
1151
  .n("Route53RecoveryControlConfigClient", "DeleteControlPanelCommand")
1105
- .f(void 0, void 0)
1106
- .ser(se_DeleteControlPanelCommand)
1107
- .de(de_DeleteControlPanelCommand)
1152
+ .sc(DeleteControlPanel)
1108
1153
  .build() {
1109
1154
  }
1110
1155
 
@@ -1112,16 +1157,11 @@ class DeleteRoutingControlCommand extends smithyClient.Command
1112
1157
  .classBuilder()
1113
1158
  .ep(commonParams)
1114
1159
  .m(function (Command, cs, config, o) {
1115
- return [
1116
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1117
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1118
- ];
1160
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1119
1161
  })
1120
1162
  .s("Route53RecoveryControlConfig", "DeleteRoutingControl", {})
1121
1163
  .n("Route53RecoveryControlConfigClient", "DeleteRoutingControlCommand")
1122
- .f(void 0, void 0)
1123
- .ser(se_DeleteRoutingControlCommand)
1124
- .de(de_DeleteRoutingControlCommand)
1164
+ .sc(DeleteRoutingControl)
1125
1165
  .build() {
1126
1166
  }
1127
1167
 
@@ -1129,16 +1169,11 @@ class DeleteSafetyRuleCommand extends smithyClient.Command
1129
1169
  .classBuilder()
1130
1170
  .ep(commonParams)
1131
1171
  .m(function (Command, cs, config, o) {
1132
- return [
1133
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1134
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1135
- ];
1172
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1136
1173
  })
1137
1174
  .s("Route53RecoveryControlConfig", "DeleteSafetyRule", {})
1138
1175
  .n("Route53RecoveryControlConfigClient", "DeleteSafetyRuleCommand")
1139
- .f(void 0, void 0)
1140
- .ser(se_DeleteSafetyRuleCommand)
1141
- .de(de_DeleteSafetyRuleCommand)
1176
+ .sc(DeleteSafetyRule)
1142
1177
  .build() {
1143
1178
  }
1144
1179
 
@@ -1146,16 +1181,11 @@ class DescribeClusterCommand extends smithyClient.Command
1146
1181
  .classBuilder()
1147
1182
  .ep(commonParams)
1148
1183
  .m(function (Command, cs, config, o) {
1149
- return [
1150
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1151
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1152
- ];
1184
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1153
1185
  })
1154
1186
  .s("Route53RecoveryControlConfig", "DescribeCluster", {})
1155
1187
  .n("Route53RecoveryControlConfigClient", "DescribeClusterCommand")
1156
- .f(void 0, void 0)
1157
- .ser(se_DescribeClusterCommand)
1158
- .de(de_DescribeClusterCommand)
1188
+ .sc(DescribeCluster)
1159
1189
  .build() {
1160
1190
  }
1161
1191
 
@@ -1163,16 +1193,11 @@ class DescribeControlPanelCommand extends smithyClient.Command
1163
1193
  .classBuilder()
1164
1194
  .ep(commonParams)
1165
1195
  .m(function (Command, cs, config, o) {
1166
- return [
1167
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1168
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1169
- ];
1196
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1170
1197
  })
1171
1198
  .s("Route53RecoveryControlConfig", "DescribeControlPanel", {})
1172
1199
  .n("Route53RecoveryControlConfigClient", "DescribeControlPanelCommand")
1173
- .f(void 0, void 0)
1174
- .ser(se_DescribeControlPanelCommand)
1175
- .de(de_DescribeControlPanelCommand)
1200
+ .sc(DescribeControlPanel)
1176
1201
  .build() {
1177
1202
  }
1178
1203
 
@@ -1180,16 +1205,11 @@ class DescribeRoutingControlCommand extends smithyClient.Command
1180
1205
  .classBuilder()
1181
1206
  .ep(commonParams)
1182
1207
  .m(function (Command, cs, config, o) {
1183
- return [
1184
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1185
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1186
- ];
1208
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1187
1209
  })
1188
1210
  .s("Route53RecoveryControlConfig", "DescribeRoutingControl", {})
1189
1211
  .n("Route53RecoveryControlConfigClient", "DescribeRoutingControlCommand")
1190
- .f(void 0, void 0)
1191
- .ser(se_DescribeRoutingControlCommand)
1192
- .de(de_DescribeRoutingControlCommand)
1212
+ .sc(DescribeRoutingControl)
1193
1213
  .build() {
1194
1214
  }
1195
1215
 
@@ -1197,16 +1217,11 @@ class DescribeSafetyRuleCommand extends smithyClient.Command
1197
1217
  .classBuilder()
1198
1218
  .ep(commonParams)
1199
1219
  .m(function (Command, cs, config, o) {
1200
- return [
1201
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1202
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1203
- ];
1220
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1204
1221
  })
1205
1222
  .s("Route53RecoveryControlConfig", "DescribeSafetyRule", {})
1206
1223
  .n("Route53RecoveryControlConfigClient", "DescribeSafetyRuleCommand")
1207
- .f(void 0, void 0)
1208
- .ser(se_DescribeSafetyRuleCommand)
1209
- .de(de_DescribeSafetyRuleCommand)
1224
+ .sc(DescribeSafetyRule)
1210
1225
  .build() {
1211
1226
  }
1212
1227
 
@@ -1214,16 +1229,11 @@ class GetResourcePolicyCommand extends smithyClient.Command
1214
1229
  .classBuilder()
1215
1230
  .ep(commonParams)
1216
1231
  .m(function (Command, cs, config, o) {
1217
- return [
1218
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1219
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1220
- ];
1232
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1221
1233
  })
1222
1234
  .s("Route53RecoveryControlConfig", "GetResourcePolicy", {})
1223
1235
  .n("Route53RecoveryControlConfigClient", "GetResourcePolicyCommand")
1224
- .f(void 0, void 0)
1225
- .ser(se_GetResourcePolicyCommand)
1226
- .de(de_GetResourcePolicyCommand)
1236
+ .sc(GetResourcePolicy)
1227
1237
  .build() {
1228
1238
  }
1229
1239
 
@@ -1231,16 +1241,11 @@ class ListAssociatedRoute53HealthChecksCommand extends smithyClient.Command
1231
1241
  .classBuilder()
1232
1242
  .ep(commonParams)
1233
1243
  .m(function (Command, cs, config, o) {
1234
- return [
1235
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1236
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1237
- ];
1244
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1238
1245
  })
1239
1246
  .s("Route53RecoveryControlConfig", "ListAssociatedRoute53HealthChecks", {})
1240
1247
  .n("Route53RecoveryControlConfigClient", "ListAssociatedRoute53HealthChecksCommand")
1241
- .f(void 0, void 0)
1242
- .ser(se_ListAssociatedRoute53HealthChecksCommand)
1243
- .de(de_ListAssociatedRoute53HealthChecksCommand)
1248
+ .sc(ListAssociatedRoute53HealthChecks)
1244
1249
  .build() {
1245
1250
  }
1246
1251
 
@@ -1248,16 +1253,11 @@ class ListClustersCommand extends smithyClient.Command
1248
1253
  .classBuilder()
1249
1254
  .ep(commonParams)
1250
1255
  .m(function (Command, cs, config, o) {
1251
- return [
1252
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1253
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1254
- ];
1256
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1255
1257
  })
1256
1258
  .s("Route53RecoveryControlConfig", "ListClusters", {})
1257
1259
  .n("Route53RecoveryControlConfigClient", "ListClustersCommand")
1258
- .f(void 0, void 0)
1259
- .ser(se_ListClustersCommand)
1260
- .de(de_ListClustersCommand)
1260
+ .sc(ListClusters)
1261
1261
  .build() {
1262
1262
  }
1263
1263
 
@@ -1265,16 +1265,11 @@ class ListControlPanelsCommand extends smithyClient.Command
1265
1265
  .classBuilder()
1266
1266
  .ep(commonParams)
1267
1267
  .m(function (Command, cs, config, o) {
1268
- return [
1269
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1270
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1271
- ];
1268
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1272
1269
  })
1273
1270
  .s("Route53RecoveryControlConfig", "ListControlPanels", {})
1274
1271
  .n("Route53RecoveryControlConfigClient", "ListControlPanelsCommand")
1275
- .f(void 0, void 0)
1276
- .ser(se_ListControlPanelsCommand)
1277
- .de(de_ListControlPanelsCommand)
1272
+ .sc(ListControlPanels)
1278
1273
  .build() {
1279
1274
  }
1280
1275
 
@@ -1282,16 +1277,11 @@ class ListRoutingControlsCommand extends smithyClient.Command
1282
1277
  .classBuilder()
1283
1278
  .ep(commonParams)
1284
1279
  .m(function (Command, cs, config, o) {
1285
- return [
1286
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1287
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1288
- ];
1280
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1289
1281
  })
1290
1282
  .s("Route53RecoveryControlConfig", "ListRoutingControls", {})
1291
1283
  .n("Route53RecoveryControlConfigClient", "ListRoutingControlsCommand")
1292
- .f(void 0, void 0)
1293
- .ser(se_ListRoutingControlsCommand)
1294
- .de(de_ListRoutingControlsCommand)
1284
+ .sc(ListRoutingControls)
1295
1285
  .build() {
1296
1286
  }
1297
1287
 
@@ -1299,16 +1289,11 @@ class ListSafetyRulesCommand extends smithyClient.Command
1299
1289
  .classBuilder()
1300
1290
  .ep(commonParams)
1301
1291
  .m(function (Command, cs, config, o) {
1302
- return [
1303
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1304
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1305
- ];
1292
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1306
1293
  })
1307
1294
  .s("Route53RecoveryControlConfig", "ListSafetyRules", {})
1308
1295
  .n("Route53RecoveryControlConfigClient", "ListSafetyRulesCommand")
1309
- .f(void 0, void 0)
1310
- .ser(se_ListSafetyRulesCommand)
1311
- .de(de_ListSafetyRulesCommand)
1296
+ .sc(ListSafetyRules)
1312
1297
  .build() {
1313
1298
  }
1314
1299
 
@@ -1316,16 +1301,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1316
1301
  .classBuilder()
1317
1302
  .ep(commonParams)
1318
1303
  .m(function (Command, cs, config, o) {
1319
- return [
1320
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1321
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1322
- ];
1304
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1323
1305
  })
1324
1306
  .s("Route53RecoveryControlConfig", "ListTagsForResource", {})
1325
1307
  .n("Route53RecoveryControlConfigClient", "ListTagsForResourceCommand")
1326
- .f(void 0, void 0)
1327
- .ser(se_ListTagsForResourceCommand)
1328
- .de(de_ListTagsForResourceCommand)
1308
+ .sc(ListTagsForResource)
1329
1309
  .build() {
1330
1310
  }
1331
1311
 
@@ -1333,16 +1313,11 @@ class TagResourceCommand extends smithyClient.Command
1333
1313
  .classBuilder()
1334
1314
  .ep(commonParams)
1335
1315
  .m(function (Command, cs, config, o) {
1336
- return [
1337
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1338
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1339
- ];
1316
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1340
1317
  })
1341
1318
  .s("Route53RecoveryControlConfig", "TagResource", {})
1342
1319
  .n("Route53RecoveryControlConfigClient", "TagResourceCommand")
1343
- .f(void 0, void 0)
1344
- .ser(se_TagResourceCommand)
1345
- .de(de_TagResourceCommand)
1320
+ .sc(TagResource)
1346
1321
  .build() {
1347
1322
  }
1348
1323
 
@@ -1350,16 +1325,11 @@ class UntagResourceCommand extends smithyClient.Command
1350
1325
  .classBuilder()
1351
1326
  .ep(commonParams)
1352
1327
  .m(function (Command, cs, config, o) {
1353
- return [
1354
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1355
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1356
- ];
1328
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1357
1329
  })
1358
1330
  .s("Route53RecoveryControlConfig", "UntagResource", {})
1359
1331
  .n("Route53RecoveryControlConfigClient", "UntagResourceCommand")
1360
- .f(void 0, void 0)
1361
- .ser(se_UntagResourceCommand)
1362
- .de(de_UntagResourceCommand)
1332
+ .sc(UntagResource)
1363
1333
  .build() {
1364
1334
  }
1365
1335
 
@@ -1367,16 +1337,11 @@ class UpdateClusterCommand extends smithyClient.Command
1367
1337
  .classBuilder()
1368
1338
  .ep(commonParams)
1369
1339
  .m(function (Command, cs, config, o) {
1370
- return [
1371
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1372
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1373
- ];
1340
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1374
1341
  })
1375
1342
  .s("Route53RecoveryControlConfig", "UpdateCluster", {})
1376
1343
  .n("Route53RecoveryControlConfigClient", "UpdateClusterCommand")
1377
- .f(void 0, void 0)
1378
- .ser(se_UpdateClusterCommand)
1379
- .de(de_UpdateClusterCommand)
1344
+ .sc(UpdateCluster)
1380
1345
  .build() {
1381
1346
  }
1382
1347
 
@@ -1384,16 +1349,11 @@ class UpdateControlPanelCommand extends smithyClient.Command
1384
1349
  .classBuilder()
1385
1350
  .ep(commonParams)
1386
1351
  .m(function (Command, cs, config, o) {
1387
- return [
1388
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1389
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1390
- ];
1352
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1391
1353
  })
1392
1354
  .s("Route53RecoveryControlConfig", "UpdateControlPanel", {})
1393
1355
  .n("Route53RecoveryControlConfigClient", "UpdateControlPanelCommand")
1394
- .f(void 0, void 0)
1395
- .ser(se_UpdateControlPanelCommand)
1396
- .de(de_UpdateControlPanelCommand)
1356
+ .sc(UpdateControlPanel)
1397
1357
  .build() {
1398
1358
  }
1399
1359
 
@@ -1401,16 +1361,11 @@ class UpdateRoutingControlCommand extends smithyClient.Command
1401
1361
  .classBuilder()
1402
1362
  .ep(commonParams)
1403
1363
  .m(function (Command, cs, config, o) {
1404
- return [
1405
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1406
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1407
- ];
1364
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1408
1365
  })
1409
1366
  .s("Route53RecoveryControlConfig", "UpdateRoutingControl", {})
1410
1367
  .n("Route53RecoveryControlConfigClient", "UpdateRoutingControlCommand")
1411
- .f(void 0, void 0)
1412
- .ser(se_UpdateRoutingControlCommand)
1413
- .de(de_UpdateRoutingControlCommand)
1368
+ .sc(UpdateRoutingControl)
1414
1369
  .build() {
1415
1370
  }
1416
1371
 
@@ -1418,16 +1373,11 @@ class UpdateSafetyRuleCommand extends smithyClient.Command
1418
1373
  .classBuilder()
1419
1374
  .ep(commonParams)
1420
1375
  .m(function (Command, cs, config, o) {
1421
- return [
1422
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1423
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1424
- ];
1376
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1425
1377
  })
1426
1378
  .s("Route53RecoveryControlConfig", "UpdateSafetyRule", {})
1427
1379
  .n("Route53RecoveryControlConfigClient", "UpdateSafetyRuleCommand")
1428
- .f(void 0, void 0)
1429
- .ser(se_UpdateSafetyRuleCommand)
1430
- .de(de_UpdateSafetyRuleCommand)
1380
+ .sc(UpdateSafetyRule)
1431
1381
  .build() {
1432
1382
  }
1433
1383
 
@@ -1714,8 +1664,8 @@ Object.defineProperty(exports, "__Client", {
1714
1664
  enumerable: true,
1715
1665
  get: function () { return smithyClient.Client; }
1716
1666
  });
1717
- exports.AccessDeniedException = AccessDeniedException;
1718
- exports.ConflictException = ConflictException;
1667
+ exports.AccessDeniedException = AccessDeniedException$1;
1668
+ exports.ConflictException = ConflictException$1;
1719
1669
  exports.CreateClusterCommand = CreateClusterCommand;
1720
1670
  exports.CreateControlPanelCommand = CreateControlPanelCommand;
1721
1671
  exports.CreateRoutingControlCommand = CreateRoutingControlCommand;
@@ -1729,7 +1679,7 @@ exports.DescribeControlPanelCommand = DescribeControlPanelCommand;
1729
1679
  exports.DescribeRoutingControlCommand = DescribeRoutingControlCommand;
1730
1680
  exports.DescribeSafetyRuleCommand = DescribeSafetyRuleCommand;
1731
1681
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
1732
- exports.InternalServerException = InternalServerException;
1682
+ exports.InternalServerException = InternalServerException$1;
1733
1683
  exports.ListAssociatedRoute53HealthChecksCommand = ListAssociatedRoute53HealthChecksCommand;
1734
1684
  exports.ListClustersCommand = ListClustersCommand;
1735
1685
  exports.ListControlPanelsCommand = ListControlPanelsCommand;
@@ -1737,21 +1687,21 @@ exports.ListRoutingControlsCommand = ListRoutingControlsCommand;
1737
1687
  exports.ListSafetyRulesCommand = ListSafetyRulesCommand;
1738
1688
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1739
1689
  exports.NetworkType = NetworkType;
1740
- exports.ResourceNotFoundException = ResourceNotFoundException;
1690
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1741
1691
  exports.Route53RecoveryControlConfig = Route53RecoveryControlConfig;
1742
1692
  exports.Route53RecoveryControlConfigClient = Route53RecoveryControlConfigClient;
1743
- exports.Route53RecoveryControlConfigServiceException = Route53RecoveryControlConfigServiceException;
1693
+ exports.Route53RecoveryControlConfigServiceException = Route53RecoveryControlConfigServiceException$1;
1744
1694
  exports.RuleType = RuleType;
1745
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1695
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1746
1696
  exports.Status = Status;
1747
1697
  exports.TagResourceCommand = TagResourceCommand;
1748
- exports.ThrottlingException = ThrottlingException;
1698
+ exports.ThrottlingException = ThrottlingException$1;
1749
1699
  exports.UntagResourceCommand = UntagResourceCommand;
1750
1700
  exports.UpdateClusterCommand = UpdateClusterCommand;
1751
1701
  exports.UpdateControlPanelCommand = UpdateControlPanelCommand;
1752
1702
  exports.UpdateRoutingControlCommand = UpdateRoutingControlCommand;
1753
1703
  exports.UpdateSafetyRuleCommand = UpdateSafetyRuleCommand;
1754
- exports.ValidationException = ValidationException;
1704
+ exports.ValidationException = ValidationException$1;
1755
1705
  exports.paginateListAssociatedRoute53HealthChecks = paginateListAssociatedRoute53HealthChecks;
1756
1706
  exports.paginateListClusters = paginateListClusters;
1757
1707
  exports.paginateListControlPanels = paginateListControlPanels;