@aws-sdk/client-route53-recovery-cluster 3.716.0 → 3.723.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 +141 -62
- package/dist-es/Route53RecoveryClusterClient.js +1 -0
- package/dist-es/models/models_0.js +28 -16
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -139,7 +139,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
139
139
|
}, "resolveRuntimeExtensions");
|
|
140
140
|
|
|
141
141
|
// src/Route53RecoveryClusterClient.ts
|
|
142
|
-
var
|
|
142
|
+
var Route53RecoveryClusterClient = class extends import_smithy_client.Client {
|
|
143
|
+
static {
|
|
144
|
+
__name(this, "Route53RecoveryClusterClient");
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* The resolved configuration of Route53RecoveryClusterClient class. This is resolved and normalized from the {@link Route53RecoveryClusterClientConfig | constructor configuration interface}.
|
|
148
|
+
*/
|
|
149
|
+
config;
|
|
143
150
|
constructor(...[configuration]) {
|
|
144
151
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
145
152
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -149,7 +156,7 @@ var _Route53RecoveryClusterClient = class _Route53RecoveryClusterClient extends
|
|
|
149
156
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
150
157
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
151
158
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
152
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
159
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
153
160
|
super(_config_8);
|
|
154
161
|
this.config = _config_8;
|
|
155
162
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -177,8 +184,6 @@ var _Route53RecoveryClusterClient = class _Route53RecoveryClusterClient extends
|
|
|
177
184
|
super.destroy();
|
|
178
185
|
}
|
|
179
186
|
};
|
|
180
|
-
__name(_Route53RecoveryClusterClient, "Route53RecoveryClusterClient");
|
|
181
|
-
var Route53RecoveryClusterClient = _Route53RecoveryClusterClient;
|
|
182
187
|
|
|
183
188
|
// src/Route53RecoveryCluster.ts
|
|
184
189
|
|
|
@@ -195,7 +200,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
195
200
|
|
|
196
201
|
// src/models/Route53RecoveryClusterServiceException.ts
|
|
197
202
|
|
|
198
|
-
var
|
|
203
|
+
var Route53RecoveryClusterServiceException = class _Route53RecoveryClusterServiceException extends import_smithy_client.ServiceException {
|
|
204
|
+
static {
|
|
205
|
+
__name(this, "Route53RecoveryClusterServiceException");
|
|
206
|
+
}
|
|
199
207
|
/**
|
|
200
208
|
* @internal
|
|
201
209
|
*/
|
|
@@ -204,11 +212,14 @@ var _Route53RecoveryClusterServiceException = class _Route53RecoveryClusterServi
|
|
|
204
212
|
Object.setPrototypeOf(this, _Route53RecoveryClusterServiceException.prototype);
|
|
205
213
|
}
|
|
206
214
|
};
|
|
207
|
-
__name(_Route53RecoveryClusterServiceException, "Route53RecoveryClusterServiceException");
|
|
208
|
-
var Route53RecoveryClusterServiceException = _Route53RecoveryClusterServiceException;
|
|
209
215
|
|
|
210
216
|
// src/models/models_0.ts
|
|
211
|
-
var
|
|
217
|
+
var AccessDeniedException = class _AccessDeniedException extends Route53RecoveryClusterServiceException {
|
|
218
|
+
static {
|
|
219
|
+
__name(this, "AccessDeniedException");
|
|
220
|
+
}
|
|
221
|
+
name = "AccessDeniedException";
|
|
222
|
+
$fault = "client";
|
|
212
223
|
/**
|
|
213
224
|
* @internal
|
|
214
225
|
*/
|
|
@@ -218,14 +229,25 @@ var _AccessDeniedException = class _AccessDeniedException extends Route53Recover
|
|
|
218
229
|
$fault: "client",
|
|
219
230
|
...opts
|
|
220
231
|
});
|
|
221
|
-
this.name = "AccessDeniedException";
|
|
222
|
-
this.$fault = "client";
|
|
223
232
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
224
233
|
}
|
|
225
234
|
};
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
235
|
+
var ConflictException = class _ConflictException extends Route53RecoveryClusterServiceException {
|
|
236
|
+
static {
|
|
237
|
+
__name(this, "ConflictException");
|
|
238
|
+
}
|
|
239
|
+
name = "ConflictException";
|
|
240
|
+
$fault = "client";
|
|
241
|
+
/**
|
|
242
|
+
* Identifier of the resource in use
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
resourceId;
|
|
246
|
+
/**
|
|
247
|
+
* Type of the resource in use
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
resourceType;
|
|
229
251
|
/**
|
|
230
252
|
* @internal
|
|
231
253
|
*/
|
|
@@ -235,16 +257,17 @@ var _ConflictException = class _ConflictException extends Route53RecoveryCluster
|
|
|
235
257
|
$fault: "client",
|
|
236
258
|
...opts
|
|
237
259
|
});
|
|
238
|
-
this.name = "ConflictException";
|
|
239
|
-
this.$fault = "client";
|
|
240
260
|
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
241
261
|
this.resourceId = opts.resourceId;
|
|
242
262
|
this.resourceType = opts.resourceType;
|
|
243
263
|
}
|
|
244
264
|
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
265
|
+
var EndpointTemporarilyUnavailableException = class _EndpointTemporarilyUnavailableException extends Route53RecoveryClusterServiceException {
|
|
266
|
+
static {
|
|
267
|
+
__name(this, "EndpointTemporarilyUnavailableException");
|
|
268
|
+
}
|
|
269
|
+
name = "EndpointTemporarilyUnavailableException";
|
|
270
|
+
$fault = "server";
|
|
248
271
|
/**
|
|
249
272
|
* @internal
|
|
250
273
|
*/
|
|
@@ -254,18 +277,24 @@ var _EndpointTemporarilyUnavailableException = class _EndpointTemporarilyUnavail
|
|
|
254
277
|
$fault: "server",
|
|
255
278
|
...opts
|
|
256
279
|
});
|
|
257
|
-
this.name = "EndpointTemporarilyUnavailableException";
|
|
258
|
-
this.$fault = "server";
|
|
259
280
|
Object.setPrototypeOf(this, _EndpointTemporarilyUnavailableException.prototype);
|
|
260
281
|
}
|
|
261
282
|
};
|
|
262
|
-
__name(_EndpointTemporarilyUnavailableException, "EndpointTemporarilyUnavailableException");
|
|
263
|
-
var EndpointTemporarilyUnavailableException = _EndpointTemporarilyUnavailableException;
|
|
264
283
|
var RoutingControlState = {
|
|
265
284
|
Off: "Off",
|
|
266
285
|
On: "On"
|
|
267
286
|
};
|
|
268
|
-
var
|
|
287
|
+
var InternalServerException = class _InternalServerException extends Route53RecoveryClusterServiceException {
|
|
288
|
+
static {
|
|
289
|
+
__name(this, "InternalServerException");
|
|
290
|
+
}
|
|
291
|
+
name = "InternalServerException";
|
|
292
|
+
$fault = "server";
|
|
293
|
+
/**
|
|
294
|
+
* Advice to clients on when the call can be safely retried
|
|
295
|
+
* @public
|
|
296
|
+
*/
|
|
297
|
+
retryAfterSeconds;
|
|
269
298
|
/**
|
|
270
299
|
* @internal
|
|
271
300
|
*/
|
|
@@ -275,15 +304,26 @@ var _InternalServerException = class _InternalServerException extends Route53Rec
|
|
|
275
304
|
$fault: "server",
|
|
276
305
|
...opts
|
|
277
306
|
});
|
|
278
|
-
this.name = "InternalServerException";
|
|
279
|
-
this.$fault = "server";
|
|
280
307
|
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
281
308
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
282
309
|
}
|
|
283
310
|
};
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
311
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends Route53RecoveryClusterServiceException {
|
|
312
|
+
static {
|
|
313
|
+
__name(this, "ResourceNotFoundException");
|
|
314
|
+
}
|
|
315
|
+
name = "ResourceNotFoundException";
|
|
316
|
+
$fault = "client";
|
|
317
|
+
/**
|
|
318
|
+
* Hypothetical resource identifier that was not found
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
resourceId;
|
|
322
|
+
/**
|
|
323
|
+
* Hypothetical resource type that was not found
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
resourceType;
|
|
287
327
|
/**
|
|
288
328
|
* @internal
|
|
289
329
|
*/
|
|
@@ -293,16 +333,22 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Route5
|
|
|
293
333
|
$fault: "client",
|
|
294
334
|
...opts
|
|
295
335
|
});
|
|
296
|
-
this.name = "ResourceNotFoundException";
|
|
297
|
-
this.$fault = "client";
|
|
298
336
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
299
337
|
this.resourceId = opts.resourceId;
|
|
300
338
|
this.resourceType = opts.resourceType;
|
|
301
339
|
}
|
|
302
340
|
};
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
341
|
+
var ThrottlingException = class _ThrottlingException extends Route53RecoveryClusterServiceException {
|
|
342
|
+
static {
|
|
343
|
+
__name(this, "ThrottlingException");
|
|
344
|
+
}
|
|
345
|
+
name = "ThrottlingException";
|
|
346
|
+
$fault = "client";
|
|
347
|
+
/**
|
|
348
|
+
* Advice to clients on when the call can be safely retried
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
retryAfterSeconds;
|
|
306
352
|
/**
|
|
307
353
|
* @internal
|
|
308
354
|
*/
|
|
@@ -312,21 +358,32 @@ var _ThrottlingException = class _ThrottlingException extends Route53RecoveryClu
|
|
|
312
358
|
$fault: "client",
|
|
313
359
|
...opts
|
|
314
360
|
});
|
|
315
|
-
this.name = "ThrottlingException";
|
|
316
|
-
this.$fault = "client";
|
|
317
361
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
318
362
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
319
363
|
}
|
|
320
364
|
};
|
|
321
|
-
__name(_ThrottlingException, "ThrottlingException");
|
|
322
|
-
var ThrottlingException = _ThrottlingException;
|
|
323
365
|
var ValidationExceptionReason = {
|
|
324
366
|
CANNOT_PARSE: "cannotParse",
|
|
325
367
|
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
326
368
|
OTHER: "other",
|
|
327
369
|
UNKNOWN_OPERATION: "unknownOperation"
|
|
328
370
|
};
|
|
329
|
-
var
|
|
371
|
+
var ValidationException = class _ValidationException extends Route53RecoveryClusterServiceException {
|
|
372
|
+
static {
|
|
373
|
+
__name(this, "ValidationException");
|
|
374
|
+
}
|
|
375
|
+
name = "ValidationException";
|
|
376
|
+
$fault = "client";
|
|
377
|
+
/**
|
|
378
|
+
* Reason the request failed validation
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
reason;
|
|
382
|
+
/**
|
|
383
|
+
* The fields that caused the error, if applicable
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
fields;
|
|
330
387
|
/**
|
|
331
388
|
* @internal
|
|
332
389
|
*/
|
|
@@ -336,16 +393,37 @@ var _ValidationException = class _ValidationException extends Route53RecoveryClu
|
|
|
336
393
|
$fault: "client",
|
|
337
394
|
...opts
|
|
338
395
|
});
|
|
339
|
-
this.name = "ValidationException";
|
|
340
|
-
this.$fault = "client";
|
|
341
396
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
342
397
|
this.reason = opts.reason;
|
|
343
398
|
this.fields = opts.fields;
|
|
344
399
|
}
|
|
345
400
|
};
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
401
|
+
var ServiceLimitExceededException = class _ServiceLimitExceededException extends Route53RecoveryClusterServiceException {
|
|
402
|
+
static {
|
|
403
|
+
__name(this, "ServiceLimitExceededException");
|
|
404
|
+
}
|
|
405
|
+
name = "ServiceLimitExceededException";
|
|
406
|
+
$fault = "client";
|
|
407
|
+
/**
|
|
408
|
+
* <p>The resource identifier of the limit that was exceeded.</p>
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
resourceId;
|
|
412
|
+
/**
|
|
413
|
+
* <p>The resource type of the limit that was exceeded.</p>
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
resourceType;
|
|
417
|
+
/**
|
|
418
|
+
* <p>The code of the limit that was exceeded.</p>
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
limitCode;
|
|
422
|
+
/**
|
|
423
|
+
* <p>The service code of the limit that was exceeded.</p>
|
|
424
|
+
* @public
|
|
425
|
+
*/
|
|
426
|
+
serviceCode;
|
|
349
427
|
/**
|
|
350
428
|
* @internal
|
|
351
429
|
*/
|
|
@@ -355,8 +433,6 @@ var _ServiceLimitExceededException = class _ServiceLimitExceededException extend
|
|
|
355
433
|
$fault: "client",
|
|
356
434
|
...opts
|
|
357
435
|
});
|
|
358
|
-
this.name = "ServiceLimitExceededException";
|
|
359
|
-
this.$fault = "client";
|
|
360
436
|
Object.setPrototypeOf(this, _ServiceLimitExceededException.prototype);
|
|
361
437
|
this.resourceId = opts.resourceId;
|
|
362
438
|
this.resourceType = opts.resourceType;
|
|
@@ -364,8 +440,6 @@ var _ServiceLimitExceededException = class _ServiceLimitExceededException extend
|
|
|
364
440
|
this.serviceCode = opts.serviceCode;
|
|
365
441
|
}
|
|
366
442
|
};
|
|
367
|
-
__name(_ServiceLimitExceededException, "ServiceLimitExceededException");
|
|
368
|
-
var ServiceLimitExceededException = _ServiceLimitExceededException;
|
|
369
443
|
|
|
370
444
|
// src/protocols/Aws_json1_0.ts
|
|
371
445
|
var se_GetRoutingControlStateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -590,57 +664,61 @@ function sharedHeaders(operation) {
|
|
|
590
664
|
__name(sharedHeaders, "sharedHeaders");
|
|
591
665
|
|
|
592
666
|
// src/commands/GetRoutingControlStateCommand.ts
|
|
593
|
-
var
|
|
667
|
+
var GetRoutingControlStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
594
668
|
return [
|
|
595
669
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
596
670
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
597
671
|
];
|
|
598
672
|
}).s("ToggleCustomerAPI", "GetRoutingControlState", {}).n("Route53RecoveryClusterClient", "GetRoutingControlStateCommand").f(void 0, void 0).ser(se_GetRoutingControlStateCommand).de(de_GetRoutingControlStateCommand).build() {
|
|
673
|
+
static {
|
|
674
|
+
__name(this, "GetRoutingControlStateCommand");
|
|
675
|
+
}
|
|
599
676
|
};
|
|
600
|
-
__name(_GetRoutingControlStateCommand, "GetRoutingControlStateCommand");
|
|
601
|
-
var GetRoutingControlStateCommand = _GetRoutingControlStateCommand;
|
|
602
677
|
|
|
603
678
|
// src/commands/ListRoutingControlsCommand.ts
|
|
604
679
|
|
|
605
680
|
|
|
606
681
|
|
|
607
|
-
var
|
|
682
|
+
var ListRoutingControlsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
608
683
|
return [
|
|
609
684
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
610
685
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
611
686
|
];
|
|
612
687
|
}).s("ToggleCustomerAPI", "ListRoutingControls", {}).n("Route53RecoveryClusterClient", "ListRoutingControlsCommand").f(void 0, void 0).ser(se_ListRoutingControlsCommand).de(de_ListRoutingControlsCommand).build() {
|
|
688
|
+
static {
|
|
689
|
+
__name(this, "ListRoutingControlsCommand");
|
|
690
|
+
}
|
|
613
691
|
};
|
|
614
|
-
__name(_ListRoutingControlsCommand, "ListRoutingControlsCommand");
|
|
615
|
-
var ListRoutingControlsCommand = _ListRoutingControlsCommand;
|
|
616
692
|
|
|
617
693
|
// src/commands/UpdateRoutingControlStateCommand.ts
|
|
618
694
|
|
|
619
695
|
|
|
620
696
|
|
|
621
|
-
var
|
|
697
|
+
var UpdateRoutingControlStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
622
698
|
return [
|
|
623
699
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
624
700
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
625
701
|
];
|
|
626
702
|
}).s("ToggleCustomerAPI", "UpdateRoutingControlState", {}).n("Route53RecoveryClusterClient", "UpdateRoutingControlStateCommand").f(void 0, void 0).ser(se_UpdateRoutingControlStateCommand).de(de_UpdateRoutingControlStateCommand).build() {
|
|
703
|
+
static {
|
|
704
|
+
__name(this, "UpdateRoutingControlStateCommand");
|
|
705
|
+
}
|
|
627
706
|
};
|
|
628
|
-
__name(_UpdateRoutingControlStateCommand, "UpdateRoutingControlStateCommand");
|
|
629
|
-
var UpdateRoutingControlStateCommand = _UpdateRoutingControlStateCommand;
|
|
630
707
|
|
|
631
708
|
// src/commands/UpdateRoutingControlStatesCommand.ts
|
|
632
709
|
|
|
633
710
|
|
|
634
711
|
|
|
635
|
-
var
|
|
712
|
+
var UpdateRoutingControlStatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
636
713
|
return [
|
|
637
714
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
638
715
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
639
716
|
];
|
|
640
717
|
}).s("ToggleCustomerAPI", "UpdateRoutingControlStates", {}).n("Route53RecoveryClusterClient", "UpdateRoutingControlStatesCommand").f(void 0, void 0).ser(se_UpdateRoutingControlStatesCommand).de(de_UpdateRoutingControlStatesCommand).build() {
|
|
718
|
+
static {
|
|
719
|
+
__name(this, "UpdateRoutingControlStatesCommand");
|
|
720
|
+
}
|
|
641
721
|
};
|
|
642
|
-
__name(_UpdateRoutingControlStatesCommand, "UpdateRoutingControlStatesCommand");
|
|
643
|
-
var UpdateRoutingControlStatesCommand = _UpdateRoutingControlStatesCommand;
|
|
644
722
|
|
|
645
723
|
// src/Route53RecoveryCluster.ts
|
|
646
724
|
var commands = {
|
|
@@ -649,10 +727,11 @@ var commands = {
|
|
|
649
727
|
UpdateRoutingControlStateCommand,
|
|
650
728
|
UpdateRoutingControlStatesCommand
|
|
651
729
|
};
|
|
652
|
-
var
|
|
730
|
+
var Route53RecoveryCluster = class extends Route53RecoveryClusterClient {
|
|
731
|
+
static {
|
|
732
|
+
__name(this, "Route53RecoveryCluster");
|
|
733
|
+
}
|
|
653
734
|
};
|
|
654
|
-
__name(_Route53RecoveryCluster, "Route53RecoveryCluster");
|
|
655
|
-
var Route53RecoveryCluster = _Route53RecoveryCluster;
|
|
656
735
|
(0, import_smithy_client.createAggregatedClient)(commands, Route53RecoveryCluster);
|
|
657
736
|
|
|
658
737
|
// src/pagination/ListRoutingControlsPaginator.ts
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class Route53RecoveryClusterClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,39 +1,41 @@
|
|
|
1
1
|
import { Route53RecoveryClusterServiceException as __BaseException } from "./Route53RecoveryClusterServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
3
5
|
constructor(opts) {
|
|
4
6
|
super({
|
|
5
7
|
name: "AccessDeniedException",
|
|
6
8
|
$fault: "client",
|
|
7
9
|
...opts,
|
|
8
10
|
});
|
|
9
|
-
this.name = "AccessDeniedException";
|
|
10
|
-
this.$fault = "client";
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
resourceId;
|
|
18
|
+
resourceType;
|
|
15
19
|
constructor(opts) {
|
|
16
20
|
super({
|
|
17
21
|
name: "ConflictException",
|
|
18
22
|
$fault: "client",
|
|
19
23
|
...opts,
|
|
20
24
|
});
|
|
21
|
-
this.name = "ConflictException";
|
|
22
|
-
this.$fault = "client";
|
|
23
25
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
26
|
this.resourceId = opts.resourceId;
|
|
25
27
|
this.resourceType = opts.resourceType;
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
export class EndpointTemporarilyUnavailableException extends __BaseException {
|
|
31
|
+
name = "EndpointTemporarilyUnavailableException";
|
|
32
|
+
$fault = "server";
|
|
29
33
|
constructor(opts) {
|
|
30
34
|
super({
|
|
31
35
|
name: "EndpointTemporarilyUnavailableException",
|
|
32
36
|
$fault: "server",
|
|
33
37
|
...opts,
|
|
34
38
|
});
|
|
35
|
-
this.name = "EndpointTemporarilyUnavailableException";
|
|
36
|
-
this.$fault = "server";
|
|
37
39
|
Object.setPrototypeOf(this, EndpointTemporarilyUnavailableException.prototype);
|
|
38
40
|
}
|
|
39
41
|
}
|
|
@@ -42,41 +44,45 @@ export const RoutingControlState = {
|
|
|
42
44
|
On: "On",
|
|
43
45
|
};
|
|
44
46
|
export class InternalServerException extends __BaseException {
|
|
47
|
+
name = "InternalServerException";
|
|
48
|
+
$fault = "server";
|
|
49
|
+
retryAfterSeconds;
|
|
45
50
|
constructor(opts) {
|
|
46
51
|
super({
|
|
47
52
|
name: "InternalServerException",
|
|
48
53
|
$fault: "server",
|
|
49
54
|
...opts,
|
|
50
55
|
});
|
|
51
|
-
this.name = "InternalServerException";
|
|
52
|
-
this.$fault = "server";
|
|
53
56
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
54
57
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
55
58
|
}
|
|
56
59
|
}
|
|
57
60
|
export class ResourceNotFoundException extends __BaseException {
|
|
61
|
+
name = "ResourceNotFoundException";
|
|
62
|
+
$fault = "client";
|
|
63
|
+
resourceId;
|
|
64
|
+
resourceType;
|
|
58
65
|
constructor(opts) {
|
|
59
66
|
super({
|
|
60
67
|
name: "ResourceNotFoundException",
|
|
61
68
|
$fault: "client",
|
|
62
69
|
...opts,
|
|
63
70
|
});
|
|
64
|
-
this.name = "ResourceNotFoundException";
|
|
65
|
-
this.$fault = "client";
|
|
66
71
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
67
72
|
this.resourceId = opts.resourceId;
|
|
68
73
|
this.resourceType = opts.resourceType;
|
|
69
74
|
}
|
|
70
75
|
}
|
|
71
76
|
export class ThrottlingException extends __BaseException {
|
|
77
|
+
name = "ThrottlingException";
|
|
78
|
+
$fault = "client";
|
|
79
|
+
retryAfterSeconds;
|
|
72
80
|
constructor(opts) {
|
|
73
81
|
super({
|
|
74
82
|
name: "ThrottlingException",
|
|
75
83
|
$fault: "client",
|
|
76
84
|
...opts,
|
|
77
85
|
});
|
|
78
|
-
this.name = "ThrottlingException";
|
|
79
|
-
this.$fault = "client";
|
|
80
86
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
81
87
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
82
88
|
}
|
|
@@ -88,28 +94,34 @@ export const ValidationExceptionReason = {
|
|
|
88
94
|
UNKNOWN_OPERATION: "unknownOperation",
|
|
89
95
|
};
|
|
90
96
|
export class ValidationException extends __BaseException {
|
|
97
|
+
name = "ValidationException";
|
|
98
|
+
$fault = "client";
|
|
99
|
+
reason;
|
|
100
|
+
fields;
|
|
91
101
|
constructor(opts) {
|
|
92
102
|
super({
|
|
93
103
|
name: "ValidationException",
|
|
94
104
|
$fault: "client",
|
|
95
105
|
...opts,
|
|
96
106
|
});
|
|
97
|
-
this.name = "ValidationException";
|
|
98
|
-
this.$fault = "client";
|
|
99
107
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
100
108
|
this.reason = opts.reason;
|
|
101
109
|
this.fields = opts.fields;
|
|
102
110
|
}
|
|
103
111
|
}
|
|
104
112
|
export class ServiceLimitExceededException extends __BaseException {
|
|
113
|
+
name = "ServiceLimitExceededException";
|
|
114
|
+
$fault = "client";
|
|
115
|
+
resourceId;
|
|
116
|
+
resourceType;
|
|
117
|
+
limitCode;
|
|
118
|
+
serviceCode;
|
|
105
119
|
constructor(opts) {
|
|
106
120
|
super({
|
|
107
121
|
name: "ServiceLimitExceededException",
|
|
108
122
|
$fault: "client",
|
|
109
123
|
...opts,
|
|
110
124
|
});
|
|
111
|
-
this.name = "ServiceLimitExceededException";
|
|
112
|
-
this.$fault = "client";
|
|
113
125
|
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
|
|
114
126
|
this.resourceId = opts.resourceId;
|
|
115
127
|
this.resourceType = opts.resourceType;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
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> | undefined;
|
|
34
|
+
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;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
input: any
|
|
13
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
_: unknown
|
|
15
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
16
|
defaultUserAgentProvider: (
|
|
15
17
|
config?:
|
|
16
18
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
init?:
|
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
+
| undefined
|
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
19
|
+
>);
|
|
18
20
|
defaultUserAgentProvider: (
|
|
19
21
|
config?:
|
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
31
31
|
| undefined
|
|
32
32
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
33
|
-
credentialDefaultProvider:
|
|
34
|
-
input: any
|
|
35
|
-
|
|
33
|
+
credentialDefaultProvider:
|
|
34
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
35
|
+
| ((
|
|
36
|
+
_: unknown
|
|
37
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
36
38
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
37
39
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
40
|
logger: import("@smithy/types").Logger;
|
|
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
|
|
|
52
54
|
| import("@smithy/types").RetryStrategyV2
|
|
53
55
|
| undefined;
|
|
54
56
|
endpoint?:
|
|
55
|
-
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
| ((
|
|
58
|
+
| string
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
) &
|
|
64
|
+
(
|
|
65
|
+
| string
|
|
66
|
+
| import("@smithy/types").Provider<string>
|
|
67
|
+
| import("@smithy/types").Endpoint
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
69
|
+
| import("@smithy/types").EndpointV2
|
|
70
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
71
|
+
))
|
|
60
72
|
| undefined;
|
|
61
73
|
endpointProvider: (
|
|
62
74
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route53-recovery-cluster",
|
|
3
3
|
"description": "AWS SDK for JavaScript Route53 Recovery Cluster Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-route53-recovery-cluster",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|