@aws-sdk/client-route53-recovery-cluster 3.952.0 → 3.953.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -110,14 +110,14 @@ class Route53RecoveryClusterClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let Route53RecoveryClusterServiceException$1 = class Route53RecoveryClusterServiceException extends smithyClient.ServiceException {
113
+ class Route53RecoveryClusterServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, Route53RecoveryClusterServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let AccessDeniedException$1 = class AccessDeniedException extends Route53RecoveryClusterServiceException$1 {
120
+ class AccessDeniedException extends Route53RecoveryClusterServiceException {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends Route53Recover
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- };
132
- let ConflictException$1 = class ConflictException extends Route53RecoveryClusterServiceException$1 {
131
+ }
132
+ class ConflictException extends Route53RecoveryClusterServiceException {
133
133
  name = "ConflictException";
134
134
  $fault = "client";
135
135
  resourceId;
@@ -144,8 +144,8 @@ let ConflictException$1 = class ConflictException extends Route53RecoveryCluster
144
144
  this.resourceId = opts.resourceId;
145
145
  this.resourceType = opts.resourceType;
146
146
  }
147
- };
148
- let EndpointTemporarilyUnavailableException$1 = class EndpointTemporarilyUnavailableException extends Route53RecoveryClusterServiceException$1 {
147
+ }
148
+ class EndpointTemporarilyUnavailableException extends Route53RecoveryClusterServiceException {
149
149
  name = "EndpointTemporarilyUnavailableException";
150
150
  $fault = "server";
151
151
  constructor(opts) {
@@ -156,8 +156,8 @@ let EndpointTemporarilyUnavailableException$1 = class EndpointTemporarilyUnavail
156
156
  });
157
157
  Object.setPrototypeOf(this, EndpointTemporarilyUnavailableException.prototype);
158
158
  }
159
- };
160
- let InternalServerException$1 = class InternalServerException extends Route53RecoveryClusterServiceException$1 {
159
+ }
160
+ class InternalServerException extends Route53RecoveryClusterServiceException {
161
161
  name = "InternalServerException";
162
162
  $fault = "server";
163
163
  retryAfterSeconds;
@@ -170,8 +170,8 @@ let InternalServerException$1 = class InternalServerException extends Route53Rec
170
170
  Object.setPrototypeOf(this, InternalServerException.prototype);
171
171
  this.retryAfterSeconds = opts.retryAfterSeconds;
172
172
  }
173
- };
174
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends Route53RecoveryClusterServiceException$1 {
173
+ }
174
+ class ResourceNotFoundException extends Route53RecoveryClusterServiceException {
175
175
  name = "ResourceNotFoundException";
176
176
  $fault = "client";
177
177
  resourceId;
@@ -186,8 +186,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Route5
186
186
  this.resourceId = opts.resourceId;
187
187
  this.resourceType = opts.resourceType;
188
188
  }
189
- };
190
- let ThrottlingException$1 = class ThrottlingException extends Route53RecoveryClusterServiceException$1 {
189
+ }
190
+ class ThrottlingException extends Route53RecoveryClusterServiceException {
191
191
  name = "ThrottlingException";
192
192
  $fault = "client";
193
193
  retryAfterSeconds;
@@ -200,8 +200,8 @@ let ThrottlingException$1 = class ThrottlingException extends Route53RecoveryClu
200
200
  Object.setPrototypeOf(this, ThrottlingException.prototype);
201
201
  this.retryAfterSeconds = opts.retryAfterSeconds;
202
202
  }
203
- };
204
- let ValidationException$1 = class ValidationException extends Route53RecoveryClusterServiceException$1 {
203
+ }
204
+ class ValidationException extends Route53RecoveryClusterServiceException {
205
205
  name = "ValidationException";
206
206
  $fault = "client";
207
207
  reason;
@@ -216,8 +216,8 @@ let ValidationException$1 = class ValidationException extends Route53RecoveryClu
216
216
  this.reason = opts.reason;
217
217
  this.fields = opts.fields;
218
218
  }
219
- };
220
- let ServiceLimitExceededException$1 = class ServiceLimitExceededException extends Route53RecoveryClusterServiceException$1 {
219
+ }
220
+ class ServiceLimitExceededException extends Route53RecoveryClusterServiceException {
221
221
  name = "ServiceLimitExceededException";
222
222
  $fault = "client";
223
223
  resourceId;
@@ -236,7 +236,7 @@ let ServiceLimitExceededException$1 = class ServiceLimitExceededException extend
236
236
  this.limitCode = opts.limitCode;
237
237
  this.serviceCode = opts.serviceCode;
238
238
  }
239
- };
239
+ }
240
240
 
241
241
  const _ADE = "AccessDeniedException";
242
242
  const _CE = "ConflictException";
@@ -290,11 +290,11 @@ const _s = "server";
290
290
  const _sC = "serviceCode";
291
291
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.route53recoverycluster";
292
292
  const n0 = "com.amazonaws.route53recoverycluster";
293
- var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
294
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
295
- var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
296
- schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
297
- var EndpointTemporarilyUnavailableException = [
293
+ var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
294
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
295
+ var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
296
+ schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
297
+ var EndpointTemporarilyUnavailableException$ = [
298
298
  -3,
299
299
  n0,
300
300
  _ETUE,
@@ -302,10 +302,10 @@ var EndpointTemporarilyUnavailableException = [
302
302
  [_m],
303
303
  [0],
304
304
  ];
305
- schema.TypeRegistry.for(n0).registerError(EndpointTemporarilyUnavailableException, EndpointTemporarilyUnavailableException$1);
306
- var GetRoutingControlStateRequest = [3, n0, _GRCSR, 0, [_RCA], [0]];
307
- var GetRoutingControlStateResponse = [3, n0, _GRCSRe, 0, [_RCA, _RCS, _RCN], [0, 0, 0]];
308
- var InternalServerException = [
305
+ schema.TypeRegistry.for(n0).registerError(EndpointTemporarilyUnavailableException$, EndpointTemporarilyUnavailableException);
306
+ var GetRoutingControlStateRequest$ = [3, n0, _GRCSR, 0, [_RCA], [0]];
307
+ var GetRoutingControlStateResponse$ = [3, n0, _GRCSRe, 0, [_RCA, _RCS, _RCN], [0, 0, 0]];
308
+ var InternalServerException$ = [
309
309
  -3,
310
310
  n0,
311
311
  _ISE,
@@ -313,9 +313,9 @@ var InternalServerException = [
313
313
  [_m, _rAS],
314
314
  [0, [1, { [_hH]: _RA }]],
315
315
  ];
316
- schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
317
- var ListRoutingControlsRequest = [3, n0, _LRCR, 0, [_CPA, _NT, _MR], [0, 0, 1]];
318
- var ListRoutingControlsResponse = [
316
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
317
+ var ListRoutingControlsRequest$ = [3, n0, _LRCR, 0, [_CPA, _NT, _MR], [0, 0, 1]];
318
+ var ListRoutingControlsResponse$ = [
319
319
  3,
320
320
  n0,
321
321
  _LRCRi,
@@ -323,7 +323,7 @@ var ListRoutingControlsResponse = [
323
323
  [_RC, _NT],
324
324
  [() => RoutingControls, 0],
325
325
  ];
326
- var ResourceNotFoundException = [
326
+ var ResourceNotFoundException$ = [
327
327
  -3,
328
328
  n0,
329
329
  _RNFE,
@@ -331,8 +331,8 @@ var ResourceNotFoundException = [
331
331
  [_m, _rI, _rT],
332
332
  [0, 0, 0],
333
333
  ];
334
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
335
- var RoutingControl = [
334
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
335
+ var RoutingControl$ = [
336
336
  3,
337
337
  n0,
338
338
  _RCo,
@@ -340,7 +340,7 @@ var RoutingControl = [
340
340
  [_CPA, _CPN, _RCA, _RCN, _RCS, _O],
341
341
  [0, 0, 0, 0, 0, 0],
342
342
  ];
343
- var ServiceLimitExceededException = [
343
+ var ServiceLimitExceededException$ = [
344
344
  -3,
345
345
  n0,
346
346
  _SLEE,
@@ -348,8 +348,8 @@ var ServiceLimitExceededException = [
348
348
  [_m, _rI, _rT, _lC, _sC],
349
349
  [0, 0, 0, 0, 0],
350
350
  ];
351
- schema.TypeRegistry.for(n0).registerError(ServiceLimitExceededException, ServiceLimitExceededException$1);
352
- var ThrottlingException = [
351
+ schema.TypeRegistry.for(n0).registerError(ServiceLimitExceededException$, ServiceLimitExceededException);
352
+ var ThrottlingException$ = [
353
353
  -3,
354
354
  n0,
355
355
  _TE,
@@ -357,9 +357,9 @@ var ThrottlingException = [
357
357
  [_m, _rAS],
358
358
  [0, [1, { [_hH]: _RA }]],
359
359
  ];
360
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
361
- var UpdateRoutingControlStateEntry = [3, n0, _URCSE, 0, [_RCA, _RCS], [0, 0]];
362
- var UpdateRoutingControlStateRequest = [
360
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
361
+ var UpdateRoutingControlStateEntry$ = [3, n0, _URCSE, 0, [_RCA, _RCS], [0, 0]];
362
+ var UpdateRoutingControlStateRequest$ = [
363
363
  3,
364
364
  n0,
365
365
  _URCSR,
@@ -367,8 +367,8 @@ var UpdateRoutingControlStateRequest = [
367
367
  [_RCA, _RCS, _SRTO],
368
368
  [0, 0, 64 | 0],
369
369
  ];
370
- var UpdateRoutingControlStateResponse = [3, n0, _URCSRp, 0, [], []];
371
- var UpdateRoutingControlStatesRequest = [
370
+ var UpdateRoutingControlStateResponse$ = [3, n0, _URCSRp, 0, [], []];
371
+ var UpdateRoutingControlStatesRequest$ = [
372
372
  3,
373
373
  n0,
374
374
  _URCSRpd,
@@ -376,8 +376,8 @@ var UpdateRoutingControlStatesRequest = [
376
376
  [_URCSEp, _SRTO],
377
377
  [() => UpdateRoutingControlStateEntries, 64 | 0],
378
378
  ];
379
- var UpdateRoutingControlStatesResponse = [3, n0, _URCSRpda, 0, [], []];
380
- var ValidationException = [
379
+ var UpdateRoutingControlStatesResponse$ = [3, n0, _URCSRpda, 0, [], []];
380
+ var ValidationException$ = [
381
381
  -3,
382
382
  n0,
383
383
  _VE,
@@ -385,9 +385,9 @@ var ValidationException = [
385
385
  [_m, _r, _f],
386
386
  [0, 0, () => ValidationExceptionFieldList],
387
387
  ];
388
- schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
389
- var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
390
- var Route53RecoveryClusterServiceException = [
388
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
389
+ var ValidationExceptionField$ = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
390
+ var Route53RecoveryClusterServiceException$ = [
391
391
  -3,
392
392
  _sm,
393
393
  "Route53RecoveryClusterServiceException",
@@ -395,47 +395,41 @@ var Route53RecoveryClusterServiceException = [
395
395
  [],
396
396
  [],
397
397
  ];
398
- schema.TypeRegistry.for(_sm).registerError(Route53RecoveryClusterServiceException, Route53RecoveryClusterServiceException$1);
399
- var RoutingControls = [1, n0, _RC, 0, () => RoutingControl];
400
- var UpdateRoutingControlStateEntries = [
401
- 1,
402
- n0,
403
- _URCSEp,
404
- 0,
405
- () => UpdateRoutingControlStateEntry,
406
- ];
407
- var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
408
- var GetRoutingControlState = [
398
+ schema.TypeRegistry.for(_sm).registerError(Route53RecoveryClusterServiceException$, Route53RecoveryClusterServiceException);
399
+ var RoutingControls = [1, n0, _RC, 0, () => RoutingControl$];
400
+ var UpdateRoutingControlStateEntries = [1, n0, _URCSEp, 0, () => UpdateRoutingControlStateEntry$];
401
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField$];
402
+ var GetRoutingControlState$ = [
409
403
  9,
410
404
  n0,
411
405
  _GRCS,
412
406
  0,
413
- () => GetRoutingControlStateRequest,
414
- () => GetRoutingControlStateResponse,
407
+ () => GetRoutingControlStateRequest$,
408
+ () => GetRoutingControlStateResponse$,
415
409
  ];
416
- var ListRoutingControls = [
410
+ var ListRoutingControls$ = [
417
411
  9,
418
412
  n0,
419
413
  _LRC,
420
414
  0,
421
- () => ListRoutingControlsRequest,
422
- () => ListRoutingControlsResponse,
415
+ () => ListRoutingControlsRequest$,
416
+ () => ListRoutingControlsResponse$,
423
417
  ];
424
- var UpdateRoutingControlState = [
418
+ var UpdateRoutingControlState$ = [
425
419
  9,
426
420
  n0,
427
421
  _URCS,
428
422
  0,
429
- () => UpdateRoutingControlStateRequest,
430
- () => UpdateRoutingControlStateResponse,
423
+ () => UpdateRoutingControlStateRequest$,
424
+ () => UpdateRoutingControlStateResponse$,
431
425
  ];
432
- var UpdateRoutingControlStates = [
426
+ var UpdateRoutingControlStates$ = [
433
427
  9,
434
428
  n0,
435
429
  _URCSp,
436
430
  0,
437
- () => UpdateRoutingControlStatesRequest,
438
- () => UpdateRoutingControlStatesResponse,
431
+ () => UpdateRoutingControlStatesRequest$,
432
+ () => UpdateRoutingControlStatesResponse$,
439
433
  ];
440
434
 
441
435
  class GetRoutingControlStateCommand extends smithyClient.Command
@@ -446,7 +440,7 @@ class GetRoutingControlStateCommand extends smithyClient.Command
446
440
  })
447
441
  .s("ToggleCustomerAPI", "GetRoutingControlState", {})
448
442
  .n("Route53RecoveryClusterClient", "GetRoutingControlStateCommand")
449
- .sc(GetRoutingControlState)
443
+ .sc(GetRoutingControlState$)
450
444
  .build() {
451
445
  }
452
446
 
@@ -458,7 +452,7 @@ class ListRoutingControlsCommand extends smithyClient.Command
458
452
  })
459
453
  .s("ToggleCustomerAPI", "ListRoutingControls", {})
460
454
  .n("Route53RecoveryClusterClient", "ListRoutingControlsCommand")
461
- .sc(ListRoutingControls)
455
+ .sc(ListRoutingControls$)
462
456
  .build() {
463
457
  }
464
458
 
@@ -470,7 +464,7 @@ class UpdateRoutingControlStateCommand extends smithyClient.Command
470
464
  })
471
465
  .s("ToggleCustomerAPI", "UpdateRoutingControlState", {})
472
466
  .n("Route53RecoveryClusterClient", "UpdateRoutingControlStateCommand")
473
- .sc(UpdateRoutingControlState)
467
+ .sc(UpdateRoutingControlState$)
474
468
  .build() {
475
469
  }
476
470
 
@@ -482,7 +476,7 @@ class UpdateRoutingControlStatesCommand extends smithyClient.Command
482
476
  })
483
477
  .s("ToggleCustomerAPI", "UpdateRoutingControlStates", {})
484
478
  .n("Route53RecoveryClusterClient", "UpdateRoutingControlStatesCommand")
485
- .sc(UpdateRoutingControlStates)
479
+ .sc(UpdateRoutingControlStates$)
486
480
  .build() {
487
481
  }
488
482
 
@@ -517,21 +511,45 @@ Object.defineProperty(exports, "__Client", {
517
511
  enumerable: true,
518
512
  get: function () { return smithyClient.Client; }
519
513
  });
520
- exports.AccessDeniedException = AccessDeniedException$1;
521
- exports.ConflictException = ConflictException$1;
522
- exports.EndpointTemporarilyUnavailableException = EndpointTemporarilyUnavailableException$1;
514
+ exports.AccessDeniedException = AccessDeniedException;
515
+ exports.AccessDeniedException$ = AccessDeniedException$;
516
+ exports.ConflictException = ConflictException;
517
+ exports.ConflictException$ = ConflictException$;
518
+ exports.EndpointTemporarilyUnavailableException = EndpointTemporarilyUnavailableException;
519
+ exports.EndpointTemporarilyUnavailableException$ = EndpointTemporarilyUnavailableException$;
520
+ exports.GetRoutingControlState$ = GetRoutingControlState$;
523
521
  exports.GetRoutingControlStateCommand = GetRoutingControlStateCommand;
524
- exports.InternalServerException = InternalServerException$1;
522
+ exports.GetRoutingControlStateRequest$ = GetRoutingControlStateRequest$;
523
+ exports.GetRoutingControlStateResponse$ = GetRoutingControlStateResponse$;
524
+ exports.InternalServerException = InternalServerException;
525
+ exports.InternalServerException$ = InternalServerException$;
526
+ exports.ListRoutingControls$ = ListRoutingControls$;
525
527
  exports.ListRoutingControlsCommand = ListRoutingControlsCommand;
526
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
528
+ exports.ListRoutingControlsRequest$ = ListRoutingControlsRequest$;
529
+ exports.ListRoutingControlsResponse$ = ListRoutingControlsResponse$;
530
+ exports.ResourceNotFoundException = ResourceNotFoundException;
531
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
527
532
  exports.Route53RecoveryCluster = Route53RecoveryCluster;
528
533
  exports.Route53RecoveryClusterClient = Route53RecoveryClusterClient;
529
- exports.Route53RecoveryClusterServiceException = Route53RecoveryClusterServiceException$1;
534
+ exports.Route53RecoveryClusterServiceException = Route53RecoveryClusterServiceException;
535
+ exports.Route53RecoveryClusterServiceException$ = Route53RecoveryClusterServiceException$;
536
+ exports.RoutingControl$ = RoutingControl$;
530
537
  exports.RoutingControlState = RoutingControlState;
531
- exports.ServiceLimitExceededException = ServiceLimitExceededException$1;
532
- exports.ThrottlingException = ThrottlingException$1;
538
+ exports.ServiceLimitExceededException = ServiceLimitExceededException;
539
+ exports.ServiceLimitExceededException$ = ServiceLimitExceededException$;
540
+ exports.ThrottlingException = ThrottlingException;
541
+ exports.ThrottlingException$ = ThrottlingException$;
542
+ exports.UpdateRoutingControlState$ = UpdateRoutingControlState$;
533
543
  exports.UpdateRoutingControlStateCommand = UpdateRoutingControlStateCommand;
544
+ exports.UpdateRoutingControlStateEntry$ = UpdateRoutingControlStateEntry$;
545
+ exports.UpdateRoutingControlStateRequest$ = UpdateRoutingControlStateRequest$;
546
+ exports.UpdateRoutingControlStateResponse$ = UpdateRoutingControlStateResponse$;
547
+ exports.UpdateRoutingControlStates$ = UpdateRoutingControlStates$;
534
548
  exports.UpdateRoutingControlStatesCommand = UpdateRoutingControlStatesCommand;
535
- exports.ValidationException = ValidationException$1;
549
+ exports.UpdateRoutingControlStatesRequest$ = UpdateRoutingControlStatesRequest$;
550
+ exports.UpdateRoutingControlStatesResponse$ = UpdateRoutingControlStatesResponse$;
551
+ exports.ValidationException = ValidationException;
552
+ exports.ValidationException$ = ValidationException$;
553
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
536
554
  exports.ValidationExceptionReason = ValidationExceptionReason;
537
555
  exports.paginateListRoutingControls = paginateListRoutingControls;
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_0Protocol({
31
- defaultNamespace: "com.amazonaws.route53recoverycluster",
32
- serviceTarget: "ToggleCustomerAPI",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.route53recoverycluster",
32
+ version: "2019-12-02",
33
+ serviceTarget: "ToggleCustomerAPI",
34
+ },
35
35
  serviceId: config?.serviceId ?? "Route53 Recovery Cluster",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetRoutingControlState } from "../schemas/schemas_0";
4
+ import { GetRoutingControlState$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetRoutingControlStateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetRoutingControlStateCommand extends $Command
11
11
  })
12
12
  .s("ToggleCustomerAPI", "GetRoutingControlState", {})
13
13
  .n("Route53RecoveryClusterClient", "GetRoutingControlStateCommand")
14
- .sc(GetRoutingControlState)
14
+ .sc(GetRoutingControlState$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListRoutingControls } from "../schemas/schemas_0";
4
+ import { ListRoutingControls$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListRoutingControlsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListRoutingControlsCommand extends $Command
11
11
  })
12
12
  .s("ToggleCustomerAPI", "ListRoutingControls", {})
13
13
  .n("Route53RecoveryClusterClient", "ListRoutingControlsCommand")
14
- .sc(ListRoutingControls)
14
+ .sc(ListRoutingControls$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateRoutingControlState } from "../schemas/schemas_0";
4
+ import { UpdateRoutingControlState$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateRoutingControlStateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateRoutingControlStateCommand extends $Command
11
11
  })
12
12
  .s("ToggleCustomerAPI", "UpdateRoutingControlState", {})
13
13
  .n("Route53RecoveryClusterClient", "UpdateRoutingControlStateCommand")
14
- .sc(UpdateRoutingControlState)
14
+ .sc(UpdateRoutingControlState$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateRoutingControlStates } from "../schemas/schemas_0";
4
+ import { UpdateRoutingControlStates$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateRoutingControlStatesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateRoutingControlStatesCommand extends $Command
11
11
  })
12
12
  .s("ToggleCustomerAPI", "UpdateRoutingControlStates", {})
13
13
  .n("Route53RecoveryClusterClient", "UpdateRoutingControlStatesCommand")
14
- .sc(UpdateRoutingControlStates)
14
+ .sc(UpdateRoutingControlStates$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./Route53RecoveryClusterClient";
2
2
  export * from "./Route53RecoveryCluster";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_0Protocol({
28
- defaultNamespace: "com.amazonaws.route53recoverycluster",
29
- serviceTarget: "ToggleCustomerAPI",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.route53recoverycluster",
29
+ version: "2019-12-02",
30
+ serviceTarget: "ToggleCustomerAPI",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Route53 Recovery Cluster",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -51,13 +51,13 @@ const _sC = "serviceCode";
51
51
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.route53recoverycluster";
52
52
  const n0 = "com.amazonaws.route53recoverycluster";
53
53
  import { TypeRegistry } from "@smithy/core/schema";
54
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, EndpointTemporarilyUnavailableException as __EndpointTemporarilyUnavailableException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceLimitExceededException as __ServiceLimitExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
55
- import { Route53RecoveryClusterServiceException as __Route53RecoveryClusterServiceException } from "../models/Route53RecoveryClusterServiceException";
56
- export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
57
- TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
58
- export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
59
- TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
60
- export var EndpointTemporarilyUnavailableException = [
54
+ import { AccessDeniedException, ConflictException, EndpointTemporarilyUnavailableException, InternalServerException, ResourceNotFoundException, ServiceLimitExceededException, ThrottlingException, ValidationException, } from "../models/errors";
55
+ import { Route53RecoveryClusterServiceException } from "../models/Route53RecoveryClusterServiceException";
56
+ export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
57
+ TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
58
+ export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
59
+ TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
60
+ export var EndpointTemporarilyUnavailableException$ = [
61
61
  -3,
62
62
  n0,
63
63
  _ETUE,
@@ -65,10 +65,10 @@ export var EndpointTemporarilyUnavailableException = [
65
65
  [_m],
66
66
  [0],
67
67
  ];
68
- TypeRegistry.for(n0).registerError(EndpointTemporarilyUnavailableException, __EndpointTemporarilyUnavailableException);
69
- export var GetRoutingControlStateRequest = [3, n0, _GRCSR, 0, [_RCA], [0]];
70
- export var GetRoutingControlStateResponse = [3, n0, _GRCSRe, 0, [_RCA, _RCS, _RCN], [0, 0, 0]];
71
- export var InternalServerException = [
68
+ TypeRegistry.for(n0).registerError(EndpointTemporarilyUnavailableException$, EndpointTemporarilyUnavailableException);
69
+ export var GetRoutingControlStateRequest$ = [3, n0, _GRCSR, 0, [_RCA], [0]];
70
+ export var GetRoutingControlStateResponse$ = [3, n0, _GRCSRe, 0, [_RCA, _RCS, _RCN], [0, 0, 0]];
71
+ export var InternalServerException$ = [
72
72
  -3,
73
73
  n0,
74
74
  _ISE,
@@ -76,9 +76,9 @@ export var InternalServerException = [
76
76
  [_m, _rAS],
77
77
  [0, [1, { [_hH]: _RA }]],
78
78
  ];
79
- TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
80
- export var ListRoutingControlsRequest = [3, n0, _LRCR, 0, [_CPA, _NT, _MR], [0, 0, 1]];
81
- export var ListRoutingControlsResponse = [
79
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
80
+ export var ListRoutingControlsRequest$ = [3, n0, _LRCR, 0, [_CPA, _NT, _MR], [0, 0, 1]];
81
+ export var ListRoutingControlsResponse$ = [
82
82
  3,
83
83
  n0,
84
84
  _LRCRi,
@@ -86,7 +86,7 @@ export var ListRoutingControlsResponse = [
86
86
  [_RC, _NT],
87
87
  [() => RoutingControls, 0],
88
88
  ];
89
- export var ResourceNotFoundException = [
89
+ export var ResourceNotFoundException$ = [
90
90
  -3,
91
91
  n0,
92
92
  _RNFE,
@@ -94,8 +94,8 @@ export var ResourceNotFoundException = [
94
94
  [_m, _rI, _rT],
95
95
  [0, 0, 0],
96
96
  ];
97
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
98
- export var RoutingControl = [
97
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
98
+ export var RoutingControl$ = [
99
99
  3,
100
100
  n0,
101
101
  _RCo,
@@ -103,7 +103,7 @@ export var RoutingControl = [
103
103
  [_CPA, _CPN, _RCA, _RCN, _RCS, _O],
104
104
  [0, 0, 0, 0, 0, 0],
105
105
  ];
106
- export var ServiceLimitExceededException = [
106
+ export var ServiceLimitExceededException$ = [
107
107
  -3,
108
108
  n0,
109
109
  _SLEE,
@@ -111,8 +111,8 @@ export var ServiceLimitExceededException = [
111
111
  [_m, _rI, _rT, _lC, _sC],
112
112
  [0, 0, 0, 0, 0],
113
113
  ];
114
- TypeRegistry.for(n0).registerError(ServiceLimitExceededException, __ServiceLimitExceededException);
115
- export var ThrottlingException = [
114
+ TypeRegistry.for(n0).registerError(ServiceLimitExceededException$, ServiceLimitExceededException);
115
+ export var ThrottlingException$ = [
116
116
  -3,
117
117
  n0,
118
118
  _TE,
@@ -120,9 +120,9 @@ export var ThrottlingException = [
120
120
  [_m, _rAS],
121
121
  [0, [1, { [_hH]: _RA }]],
122
122
  ];
123
- TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
124
- export var UpdateRoutingControlStateEntry = [3, n0, _URCSE, 0, [_RCA, _RCS], [0, 0]];
125
- export var UpdateRoutingControlStateRequest = [
123
+ TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
124
+ export var UpdateRoutingControlStateEntry$ = [3, n0, _URCSE, 0, [_RCA, _RCS], [0, 0]];
125
+ export var UpdateRoutingControlStateRequest$ = [
126
126
  3,
127
127
  n0,
128
128
  _URCSR,
@@ -130,8 +130,8 @@ export var UpdateRoutingControlStateRequest = [
130
130
  [_RCA, _RCS, _SRTO],
131
131
  [0, 0, 64 | 0],
132
132
  ];
133
- export var UpdateRoutingControlStateResponse = [3, n0, _URCSRp, 0, [], []];
134
- export var UpdateRoutingControlStatesRequest = [
133
+ export var UpdateRoutingControlStateResponse$ = [3, n0, _URCSRp, 0, [], []];
134
+ export var UpdateRoutingControlStatesRequest$ = [
135
135
  3,
136
136
  n0,
137
137
  _URCSRpd,
@@ -139,8 +139,8 @@ export var UpdateRoutingControlStatesRequest = [
139
139
  [_URCSEp, _SRTO],
140
140
  [() => UpdateRoutingControlStateEntries, 64 | 0],
141
141
  ];
142
- export var UpdateRoutingControlStatesResponse = [3, n0, _URCSRpda, 0, [], []];
143
- export var ValidationException = [
142
+ export var UpdateRoutingControlStatesResponse$ = [3, n0, _URCSRpda, 0, [], []];
143
+ export var ValidationException$ = [
144
144
  -3,
145
145
  n0,
146
146
  _VE,
@@ -148,9 +148,9 @@ export var ValidationException = [
148
148
  [_m, _r, _f],
149
149
  [0, 0, () => ValidationExceptionFieldList],
150
150
  ];
151
- TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
152
- export var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
153
- export var Route53RecoveryClusterServiceException = [
151
+ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
152
+ export var ValidationExceptionField$ = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
153
+ export var Route53RecoveryClusterServiceException$ = [
154
154
  -3,
155
155
  _sm,
156
156
  "Route53RecoveryClusterServiceException",
@@ -158,46 +158,40 @@ export var Route53RecoveryClusterServiceException = [
158
158
  [],
159
159
  [],
160
160
  ];
161
- TypeRegistry.for(_sm).registerError(Route53RecoveryClusterServiceException, __Route53RecoveryClusterServiceException);
162
- export var Arns = 64 | 0;
163
- export var RoutingControls = [1, n0, _RC, 0, () => RoutingControl];
164
- export var UpdateRoutingControlStateEntries = [
165
- 1,
166
- n0,
167
- _URCSEp,
168
- 0,
169
- () => UpdateRoutingControlStateEntry,
170
- ];
171
- export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
172
- export var GetRoutingControlState = [
161
+ TypeRegistry.for(_sm).registerError(Route53RecoveryClusterServiceException$, Route53RecoveryClusterServiceException);
162
+ var Arns = 64 | 0;
163
+ var RoutingControls = [1, n0, _RC, 0, () => RoutingControl$];
164
+ var UpdateRoutingControlStateEntries = [1, n0, _URCSEp, 0, () => UpdateRoutingControlStateEntry$];
165
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField$];
166
+ export var GetRoutingControlState$ = [
173
167
  9,
174
168
  n0,
175
169
  _GRCS,
176
170
  0,
177
- () => GetRoutingControlStateRequest,
178
- () => GetRoutingControlStateResponse,
171
+ () => GetRoutingControlStateRequest$,
172
+ () => GetRoutingControlStateResponse$,
179
173
  ];
180
- export var ListRoutingControls = [
174
+ export var ListRoutingControls$ = [
181
175
  9,
182
176
  n0,
183
177
  _LRC,
184
178
  0,
185
- () => ListRoutingControlsRequest,
186
- () => ListRoutingControlsResponse,
179
+ () => ListRoutingControlsRequest$,
180
+ () => ListRoutingControlsResponse$,
187
181
  ];
188
- export var UpdateRoutingControlState = [
182
+ export var UpdateRoutingControlState$ = [
189
183
  9,
190
184
  n0,
191
185
  _URCS,
192
186
  0,
193
- () => UpdateRoutingControlStateRequest,
194
- () => UpdateRoutingControlStateResponse,
187
+ () => UpdateRoutingControlStateRequest$,
188
+ () => UpdateRoutingControlStateResponse$,
195
189
  ];
196
- export var UpdateRoutingControlStates = [
190
+ export var UpdateRoutingControlStates$ = [
197
191
  9,
198
192
  n0,
199
193
  _URCSp,
200
194
  0,
201
- () => UpdateRoutingControlStatesRequest,
202
- () => UpdateRoutingControlStatesResponse,
195
+ () => UpdateRoutingControlStatesRequest$,
196
+ () => UpdateRoutingControlStatesResponse$,
203
197
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "./commands/GetRoutingControlStateCommand";
11
11
  import { ListRoutingControlsCommandInput, ListRoutingControlsCommandOutput } from "./commands/ListRoutingControlsCommand";
@@ -145,15 +145,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
145
145
  * Optional extensions
146
146
  */
147
147
  extensions?: RuntimeExtension[];
148
- /**
149
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
150
- * may be overridden. A default will always be set by the client.
151
- * Available options depend on the service's supported protocols and will not be validated by
152
- * the client.
153
- * @alpha
154
- *
155
- */
156
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
157
148
  /**
158
149
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
159
150
  */
@@ -48,6 +48,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
48
48
  export type { RuntimeExtension } from "./runtimeExtensions";
49
49
  export type { Route53RecoveryClusterExtensionConfiguration } from "./extensionConfiguration";
50
50
  export * from "./commands";
51
+ export * from "./schemas/schemas_0";
51
52
  export * from "./pagination";
52
53
  export * from "./models/enums";
53
54
  export * from "./models/errors";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
1
2
  import type { Route53RecoveryClusterClientConfig } from "./Route53RecoveryClusterClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53RecoveryClusterHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsJson1_0Protocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,29 +1,25 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var AccessDeniedException: StaticErrorSchema;
3
- export declare var ConflictException: StaticErrorSchema;
4
- export declare var EndpointTemporarilyUnavailableException: StaticErrorSchema;
5
- export declare var GetRoutingControlStateRequest: StaticStructureSchema;
6
- export declare var GetRoutingControlStateResponse: StaticStructureSchema;
7
- export declare var InternalServerException: StaticErrorSchema;
8
- export declare var ListRoutingControlsRequest: StaticStructureSchema;
9
- export declare var ListRoutingControlsResponse: StaticStructureSchema;
10
- export declare var ResourceNotFoundException: StaticErrorSchema;
11
- export declare var RoutingControl: StaticStructureSchema;
12
- export declare var ServiceLimitExceededException: StaticErrorSchema;
13
- export declare var ThrottlingException: StaticErrorSchema;
14
- export declare var UpdateRoutingControlStateEntry: StaticStructureSchema;
15
- export declare var UpdateRoutingControlStateRequest: StaticStructureSchema;
16
- export declare var UpdateRoutingControlStateResponse: StaticStructureSchema;
17
- export declare var UpdateRoutingControlStatesRequest: StaticStructureSchema;
18
- export declare var UpdateRoutingControlStatesResponse: StaticStructureSchema;
19
- export declare var ValidationException: StaticErrorSchema;
20
- export declare var ValidationExceptionField: StaticStructureSchema;
21
- export declare var Route53RecoveryClusterServiceException: StaticErrorSchema;
22
- export declare var Arns: number;
23
- export declare var RoutingControls: StaticListSchema;
24
- export declare var UpdateRoutingControlStateEntries: StaticListSchema;
25
- export declare var ValidationExceptionFieldList: StaticListSchema;
26
- export declare var GetRoutingControlState: StaticOperationSchema;
27
- export declare var ListRoutingControls: StaticOperationSchema;
28
- export declare var UpdateRoutingControlState: StaticOperationSchema;
29
- export declare var UpdateRoutingControlStates: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException$: StaticErrorSchema;
3
+ export declare var ConflictException$: StaticErrorSchema;
4
+ export declare var EndpointTemporarilyUnavailableException$: StaticErrorSchema;
5
+ export declare var GetRoutingControlStateRequest$: StaticStructureSchema;
6
+ export declare var GetRoutingControlStateResponse$: StaticStructureSchema;
7
+ export declare var InternalServerException$: StaticErrorSchema;
8
+ export declare var ListRoutingControlsRequest$: StaticStructureSchema;
9
+ export declare var ListRoutingControlsResponse$: StaticStructureSchema;
10
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
11
+ export declare var RoutingControl$: StaticStructureSchema;
12
+ export declare var ServiceLimitExceededException$: StaticErrorSchema;
13
+ export declare var ThrottlingException$: StaticErrorSchema;
14
+ export declare var UpdateRoutingControlStateEntry$: StaticStructureSchema;
15
+ export declare var UpdateRoutingControlStateRequest$: StaticStructureSchema;
16
+ export declare var UpdateRoutingControlStateResponse$: StaticStructureSchema;
17
+ export declare var UpdateRoutingControlStatesRequest$: StaticStructureSchema;
18
+ export declare var UpdateRoutingControlStatesResponse$: StaticStructureSchema;
19
+ export declare var ValidationException$: StaticErrorSchema;
20
+ export declare var ValidationExceptionField$: StaticStructureSchema;
21
+ export declare var Route53RecoveryClusterServiceException$: StaticErrorSchema;
22
+ export declare var GetRoutingControlState$: StaticOperationSchema;
23
+ export declare var ListRoutingControls$: StaticOperationSchema;
24
+ export declare var UpdateRoutingControlState$: StaticOperationSchema;
25
+ export declare var UpdateRoutingControlStates$: StaticOperationSchema;
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -105,7 +102,6 @@ export interface ClientDefaults
105
102
  retryMode?: string | __Provider<string>;
106
103
  logger?: __Logger;
107
104
  extensions?: RuntimeExtension[];
108
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
109
105
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
110
106
  }
111
107
  export type Route53RecoveryClusterClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { Route53RecoveryClusterExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
29
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
30
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  userAgentAppId?:
49
53
  | string
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  retryStrategy?:
49
53
  | import("@smithy/types").RetryStrategy
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
10
10
  | Record<string, unknown>
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
- apiVersion: string;
14
13
  cacheMiddleware?: boolean;
14
+ protocol:
15
+ | import("@smithy/types").ClientProtocol<any, any>
16
+ | import("@smithy/types").ClientProtocolCtor<any, any>
17
+ | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
18
+ protocolSettings: {
19
+ defaultNamespace?: string;
20
+ [setting: string]: unknown;
21
+ };
22
+ apiVersion: string;
15
23
  urlParser: import("@smithy/types").UrlParser;
16
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
39
47
  retryMode: string | import("@smithy/types").Provider<string>;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  defaultsMode:
47
51
  | import("@smithy/smithy-client").DefaultsMode
48
52
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
1
2
  import { Route53RecoveryClusterClientConfig } from "./Route53RecoveryClusterClient";
2
3
  export declare const getRuntimeConfig: (
3
4
  config: Route53RecoveryClusterClientConfig
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
16
17
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53RecoveryClusterHttpAuthSchemeProvider;
17
18
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
19
  logger: import("@smithy/types").Logger;
19
- protocol: import("@smithy/types").ClientProtocol<
20
- import("@smithy/types").HttpRequest,
21
- import("@smithy/types").HttpResponse
22
- >;
20
+ protocol:
21
+ | import("@smithy/types").ClientProtocol<any, any>
22
+ | import("@smithy/types").ClientProtocolCtor<any, any>
23
+ | typeof AwsJson1_0Protocol;
24
+ protocolSettings: {
25
+ [setting: string]: unknown;
26
+ defaultNamespace?: string;
27
+ };
23
28
  serviceId: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,34 +1,29 @@
1
1
  import {
2
2
  StaticErrorSchema,
3
- StaticListSchema,
4
3
  StaticOperationSchema,
5
4
  StaticStructureSchema,
6
5
  } from "@smithy/types";
7
- export declare var AccessDeniedException: StaticErrorSchema;
8
- export declare var ConflictException: StaticErrorSchema;
9
- export declare var EndpointTemporarilyUnavailableException: StaticErrorSchema;
10
- export declare var GetRoutingControlStateRequest: StaticStructureSchema;
11
- export declare var GetRoutingControlStateResponse: StaticStructureSchema;
12
- export declare var InternalServerException: StaticErrorSchema;
13
- export declare var ListRoutingControlsRequest: StaticStructureSchema;
14
- export declare var ListRoutingControlsResponse: StaticStructureSchema;
15
- export declare var ResourceNotFoundException: StaticErrorSchema;
16
- export declare var RoutingControl: StaticStructureSchema;
17
- export declare var ServiceLimitExceededException: StaticErrorSchema;
18
- export declare var ThrottlingException: StaticErrorSchema;
19
- export declare var UpdateRoutingControlStateEntry: StaticStructureSchema;
20
- export declare var UpdateRoutingControlStateRequest: StaticStructureSchema;
21
- export declare var UpdateRoutingControlStateResponse: StaticStructureSchema;
22
- export declare var UpdateRoutingControlStatesRequest: StaticStructureSchema;
23
- export declare var UpdateRoutingControlStatesResponse: StaticStructureSchema;
24
- export declare var ValidationException: StaticErrorSchema;
25
- export declare var ValidationExceptionField: StaticStructureSchema;
26
- export declare var Route53RecoveryClusterServiceException: StaticErrorSchema;
27
- export declare var Arns: number;
28
- export declare var RoutingControls: StaticListSchema;
29
- export declare var UpdateRoutingControlStateEntries: StaticListSchema;
30
- export declare var ValidationExceptionFieldList: StaticListSchema;
31
- export declare var GetRoutingControlState: StaticOperationSchema;
32
- export declare var ListRoutingControls: StaticOperationSchema;
33
- export declare var UpdateRoutingControlState: StaticOperationSchema;
34
- export declare var UpdateRoutingControlStates: StaticOperationSchema;
6
+ export declare var AccessDeniedException$: StaticErrorSchema;
7
+ export declare var ConflictException$: StaticErrorSchema;
8
+ export declare var EndpointTemporarilyUnavailableException$: StaticErrorSchema;
9
+ export declare var GetRoutingControlStateRequest$: StaticStructureSchema;
10
+ export declare var GetRoutingControlStateResponse$: StaticStructureSchema;
11
+ export declare var InternalServerException$: StaticErrorSchema;
12
+ export declare var ListRoutingControlsRequest$: StaticStructureSchema;
13
+ export declare var ListRoutingControlsResponse$: StaticStructureSchema;
14
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
15
+ export declare var RoutingControl$: StaticStructureSchema;
16
+ export declare var ServiceLimitExceededException$: StaticErrorSchema;
17
+ export declare var ThrottlingException$: StaticErrorSchema;
18
+ export declare var UpdateRoutingControlStateEntry$: StaticStructureSchema;
19
+ export declare var UpdateRoutingControlStateRequest$: StaticStructureSchema;
20
+ export declare var UpdateRoutingControlStateResponse$: StaticStructureSchema;
21
+ export declare var UpdateRoutingControlStatesRequest$: StaticStructureSchema;
22
+ export declare var UpdateRoutingControlStatesResponse$: StaticStructureSchema;
23
+ export declare var ValidationException$: StaticErrorSchema;
24
+ export declare var ValidationExceptionField$: StaticStructureSchema;
25
+ export declare var Route53RecoveryClusterServiceException$: StaticErrorSchema;
26
+ export declare var GetRoutingControlState$: StaticOperationSchema;
27
+ export declare var ListRoutingControls$: StaticOperationSchema;
28
+ export declare var UpdateRoutingControlState$: StaticOperationSchema;
29
+ export declare var UpdateRoutingControlStates$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,9 +1,9 @@
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.952.0",
4
+ "version": "3.953.0",
5
5
  "scripts": {
6
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-route53-recovery-cluster",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.947.0",
25
- "@aws-sdk/credential-provider-node": "3.952.0",
26
- "@aws-sdk/middleware-host-header": "3.936.0",
27
- "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
- "@aws-sdk/middleware-user-agent": "3.947.0",
30
- "@aws-sdk/region-config-resolver": "3.936.0",
31
- "@aws-sdk/types": "3.936.0",
32
- "@aws-sdk/util-endpoints": "3.936.0",
33
- "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.947.0",
35
- "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.7",
37
- "@smithy/fetch-http-handler": "^5.3.6",
38
- "@smithy/hash-node": "^4.2.5",
39
- "@smithy/invalid-dependency": "^4.2.5",
40
- "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.14",
42
- "@smithy/middleware-retry": "^4.4.14",
43
- "@smithy/middleware-serde": "^4.2.6",
44
- "@smithy/middleware-stack": "^4.2.5",
45
- "@smithy/node-config-provider": "^4.3.5",
46
- "@smithy/node-http-handler": "^4.4.5",
47
- "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.10",
49
- "@smithy/types": "^4.9.0",
50
- "@smithy/url-parser": "^4.2.5",
24
+ "@aws-sdk/core": "3.953.0",
25
+ "@aws-sdk/credential-provider-node": "3.953.0",
26
+ "@aws-sdk/middleware-host-header": "3.953.0",
27
+ "@aws-sdk/middleware-logger": "3.953.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.953.0",
29
+ "@aws-sdk/middleware-user-agent": "3.953.0",
30
+ "@aws-sdk/region-config-resolver": "3.953.0",
31
+ "@aws-sdk/types": "3.953.0",
32
+ "@aws-sdk/util-endpoints": "3.953.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.953.0",
34
+ "@aws-sdk/util-user-agent-node": "3.953.0",
35
+ "@smithy/config-resolver": "^4.4.4",
36
+ "@smithy/core": "^3.19.0",
37
+ "@smithy/fetch-http-handler": "^5.3.7",
38
+ "@smithy/hash-node": "^4.2.6",
39
+ "@smithy/invalid-dependency": "^4.2.6",
40
+ "@smithy/middleware-content-length": "^4.2.6",
41
+ "@smithy/middleware-endpoint": "^4.3.15",
42
+ "@smithy/middleware-retry": "^4.4.15",
43
+ "@smithy/middleware-serde": "^4.2.7",
44
+ "@smithy/middleware-stack": "^4.2.6",
45
+ "@smithy/node-config-provider": "^4.3.6",
46
+ "@smithy/node-http-handler": "^4.4.6",
47
+ "@smithy/protocol-http": "^5.3.6",
48
+ "@smithy/smithy-client": "^4.10.0",
49
+ "@smithy/types": "^4.10.0",
50
+ "@smithy/url-parser": "^4.2.6",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.13",
55
- "@smithy/util-defaults-mode-node": "^4.2.16",
56
- "@smithy/util-endpoints": "^3.2.5",
57
- "@smithy/util-middleware": "^4.2.5",
58
- "@smithy/util-retry": "^4.2.5",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.14",
55
+ "@smithy/util-defaults-mode-node": "^4.2.17",
56
+ "@smithy/util-endpoints": "^3.2.6",
57
+ "@smithy/util-middleware": "^4.2.6",
58
+ "@smithy/util-retry": "^4.2.6",
59
59
  "@smithy/util-utf8": "^4.2.0",
60
60
  "tslib": "^2.6.2"
61
61
  },