@aws-sdk/client-route53-recovery-cluster 3.987.0 → 3.988.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 +23 -344
- package/dist-cjs/models/Route53RecoveryClusterServiceException.js +12 -0
- package/dist-cjs/models/errors.js +132 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +191 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +44 -38
- package/dist-types/schemas/schemas_0.d.ts +13 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -6
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var Route53RecoveryClusterServiceException = require('./models/Route53RecoveryClusterServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,313 +113,6 @@ class Route53RecoveryClusterClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class Route53RecoveryClusterServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, Route53RecoveryClusterServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class AccessDeniedException extends Route53RecoveryClusterServiceException {
|
|
121
|
-
name = "AccessDeniedException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "AccessDeniedException",
|
|
126
|
-
$fault: "client",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
class ConflictException extends Route53RecoveryClusterServiceException {
|
|
133
|
-
name = "ConflictException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
resourceId;
|
|
136
|
-
resourceType;
|
|
137
|
-
constructor(opts) {
|
|
138
|
-
super({
|
|
139
|
-
name: "ConflictException",
|
|
140
|
-
$fault: "client",
|
|
141
|
-
...opts,
|
|
142
|
-
});
|
|
143
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
144
|
-
this.resourceId = opts.resourceId;
|
|
145
|
-
this.resourceType = opts.resourceType;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
class EndpointTemporarilyUnavailableException extends Route53RecoveryClusterServiceException {
|
|
149
|
-
name = "EndpointTemporarilyUnavailableException";
|
|
150
|
-
$fault = "server";
|
|
151
|
-
constructor(opts) {
|
|
152
|
-
super({
|
|
153
|
-
name: "EndpointTemporarilyUnavailableException",
|
|
154
|
-
$fault: "server",
|
|
155
|
-
...opts,
|
|
156
|
-
});
|
|
157
|
-
Object.setPrototypeOf(this, EndpointTemporarilyUnavailableException.prototype);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
class InternalServerException extends Route53RecoveryClusterServiceException {
|
|
161
|
-
name = "InternalServerException";
|
|
162
|
-
$fault = "server";
|
|
163
|
-
retryAfterSeconds;
|
|
164
|
-
constructor(opts) {
|
|
165
|
-
super({
|
|
166
|
-
name: "InternalServerException",
|
|
167
|
-
$fault: "server",
|
|
168
|
-
...opts,
|
|
169
|
-
});
|
|
170
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
171
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
class ResourceNotFoundException extends Route53RecoveryClusterServiceException {
|
|
175
|
-
name = "ResourceNotFoundException";
|
|
176
|
-
$fault = "client";
|
|
177
|
-
resourceId;
|
|
178
|
-
resourceType;
|
|
179
|
-
constructor(opts) {
|
|
180
|
-
super({
|
|
181
|
-
name: "ResourceNotFoundException",
|
|
182
|
-
$fault: "client",
|
|
183
|
-
...opts,
|
|
184
|
-
});
|
|
185
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
186
|
-
this.resourceId = opts.resourceId;
|
|
187
|
-
this.resourceType = opts.resourceType;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
class ThrottlingException extends Route53RecoveryClusterServiceException {
|
|
191
|
-
name = "ThrottlingException";
|
|
192
|
-
$fault = "client";
|
|
193
|
-
retryAfterSeconds;
|
|
194
|
-
constructor(opts) {
|
|
195
|
-
super({
|
|
196
|
-
name: "ThrottlingException",
|
|
197
|
-
$fault: "client",
|
|
198
|
-
...opts,
|
|
199
|
-
});
|
|
200
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
201
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
class ValidationException extends Route53RecoveryClusterServiceException {
|
|
205
|
-
name = "ValidationException";
|
|
206
|
-
$fault = "client";
|
|
207
|
-
reason;
|
|
208
|
-
fields;
|
|
209
|
-
constructor(opts) {
|
|
210
|
-
super({
|
|
211
|
-
name: "ValidationException",
|
|
212
|
-
$fault: "client",
|
|
213
|
-
...opts,
|
|
214
|
-
});
|
|
215
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
216
|
-
this.reason = opts.reason;
|
|
217
|
-
this.fields = opts.fields;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
class ServiceLimitExceededException extends Route53RecoveryClusterServiceException {
|
|
221
|
-
name = "ServiceLimitExceededException";
|
|
222
|
-
$fault = "client";
|
|
223
|
-
resourceId;
|
|
224
|
-
resourceType;
|
|
225
|
-
limitCode;
|
|
226
|
-
serviceCode;
|
|
227
|
-
constructor(opts) {
|
|
228
|
-
super({
|
|
229
|
-
name: "ServiceLimitExceededException",
|
|
230
|
-
$fault: "client",
|
|
231
|
-
...opts,
|
|
232
|
-
});
|
|
233
|
-
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
|
|
234
|
-
this.resourceId = opts.resourceId;
|
|
235
|
-
this.resourceType = opts.resourceType;
|
|
236
|
-
this.limitCode = opts.limitCode;
|
|
237
|
-
this.serviceCode = opts.serviceCode;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
const _ADE = "AccessDeniedException";
|
|
242
|
-
const _CE = "ConflictException";
|
|
243
|
-
const _CPA = "ControlPanelArn";
|
|
244
|
-
const _CPN = "ControlPanelName";
|
|
245
|
-
const _ETUE = "EndpointTemporarilyUnavailableException";
|
|
246
|
-
const _GRCS = "GetRoutingControlState";
|
|
247
|
-
const _GRCSR = "GetRoutingControlStateRequest";
|
|
248
|
-
const _GRCSRe = "GetRoutingControlStateResponse";
|
|
249
|
-
const _ISE = "InternalServerException";
|
|
250
|
-
const _LRC = "ListRoutingControls";
|
|
251
|
-
const _LRCR = "ListRoutingControlsRequest";
|
|
252
|
-
const _LRCRi = "ListRoutingControlsResponse";
|
|
253
|
-
const _MR = "MaxResults";
|
|
254
|
-
const _NT = "NextToken";
|
|
255
|
-
const _O = "Owner";
|
|
256
|
-
const _RA = "Retry-After";
|
|
257
|
-
const _RC = "RoutingControls";
|
|
258
|
-
const _RCA = "RoutingControlArn";
|
|
259
|
-
const _RCN = "RoutingControlName";
|
|
260
|
-
const _RCS = "RoutingControlState";
|
|
261
|
-
const _RCo = "RoutingControl";
|
|
262
|
-
const _RNFE = "ResourceNotFoundException";
|
|
263
|
-
const _SLEE = "ServiceLimitExceededException";
|
|
264
|
-
const _SRTO = "SafetyRulesToOverride";
|
|
265
|
-
const _TE = "ThrottlingException";
|
|
266
|
-
const _URCS = "UpdateRoutingControlState";
|
|
267
|
-
const _URCSE = "UpdateRoutingControlStateEntry";
|
|
268
|
-
const _URCSEp = "UpdateRoutingControlStateEntries";
|
|
269
|
-
const _URCSR = "UpdateRoutingControlStateRequest";
|
|
270
|
-
const _URCSRp = "UpdateRoutingControlStateResponse";
|
|
271
|
-
const _URCSRpd = "UpdateRoutingControlStatesRequest";
|
|
272
|
-
const _URCSRpda = "UpdateRoutingControlStatesResponse";
|
|
273
|
-
const _URCSp = "UpdateRoutingControlStates";
|
|
274
|
-
const _VE = "ValidationException";
|
|
275
|
-
const _VEF = "ValidationExceptionField";
|
|
276
|
-
const _VEFL = "ValidationExceptionFieldList";
|
|
277
|
-
const _c = "client";
|
|
278
|
-
const _e = "error";
|
|
279
|
-
const _f = "fields";
|
|
280
|
-
const _hE = "httpError";
|
|
281
|
-
const _hH = "httpHeader";
|
|
282
|
-
const _lC = "limitCode";
|
|
283
|
-
const _m = "message";
|
|
284
|
-
const _n = "name";
|
|
285
|
-
const _r = "reason";
|
|
286
|
-
const _rAS = "retryAfterSeconds";
|
|
287
|
-
const _rI = "resourceId";
|
|
288
|
-
const _rT = "resourceType";
|
|
289
|
-
const _s = "server";
|
|
290
|
-
const _sC = "serviceCode";
|
|
291
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.route53recoverycluster";
|
|
292
|
-
const n0 = "com.amazonaws.route53recoverycluster";
|
|
293
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
294
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
295
|
-
[_m],
|
|
296
|
-
[0], 1
|
|
297
|
-
];
|
|
298
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
299
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
300
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
301
|
-
[_m, _rI, _rT],
|
|
302
|
-
[0, 0, 0], 3
|
|
303
|
-
];
|
|
304
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
305
|
-
var EndpointTemporarilyUnavailableException$ = [-3, n0, _ETUE,
|
|
306
|
-
{ [_e]: _s, [_hE]: 503 },
|
|
307
|
-
[_m],
|
|
308
|
-
[0], 1
|
|
309
|
-
];
|
|
310
|
-
schema.TypeRegistry.for(n0).registerError(EndpointTemporarilyUnavailableException$, EndpointTemporarilyUnavailableException);
|
|
311
|
-
var GetRoutingControlStateRequest$ = [3, n0, _GRCSR,
|
|
312
|
-
0,
|
|
313
|
-
[_RCA],
|
|
314
|
-
[0], 1
|
|
315
|
-
];
|
|
316
|
-
var GetRoutingControlStateResponse$ = [3, n0, _GRCSRe,
|
|
317
|
-
0,
|
|
318
|
-
[_RCA, _RCS, _RCN],
|
|
319
|
-
[0, 0, 0], 2
|
|
320
|
-
];
|
|
321
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
322
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
323
|
-
[_m, _rAS],
|
|
324
|
-
[0, [1, { [_hH]: _RA }]], 1
|
|
325
|
-
];
|
|
326
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
327
|
-
var ListRoutingControlsRequest$ = [3, n0, _LRCR,
|
|
328
|
-
0,
|
|
329
|
-
[_CPA, _NT, _MR],
|
|
330
|
-
[0, 0, 1]
|
|
331
|
-
];
|
|
332
|
-
var ListRoutingControlsResponse$ = [3, n0, _LRCRi,
|
|
333
|
-
0,
|
|
334
|
-
[_RC, _NT],
|
|
335
|
-
[() => RoutingControls, 0], 1
|
|
336
|
-
];
|
|
337
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
338
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
339
|
-
[_m, _rI, _rT],
|
|
340
|
-
[0, 0, 0], 3
|
|
341
|
-
];
|
|
342
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
343
|
-
var RoutingControl$ = [3, n0, _RCo,
|
|
344
|
-
0,
|
|
345
|
-
[_CPA, _CPN, _RCA, _RCN, _RCS, _O],
|
|
346
|
-
[0, 0, 0, 0, 0, 0]
|
|
347
|
-
];
|
|
348
|
-
var ServiceLimitExceededException$ = [-3, n0, _SLEE,
|
|
349
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
350
|
-
[_m, _lC, _sC, _rI, _rT],
|
|
351
|
-
[0, 0, 0, 0, 0], 3
|
|
352
|
-
];
|
|
353
|
-
schema.TypeRegistry.for(n0).registerError(ServiceLimitExceededException$, ServiceLimitExceededException);
|
|
354
|
-
var ThrottlingException$ = [-3, n0, _TE,
|
|
355
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
356
|
-
[_m, _rAS],
|
|
357
|
-
[0, [1, { [_hH]: _RA }]], 1
|
|
358
|
-
];
|
|
359
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
360
|
-
var UpdateRoutingControlStateEntry$ = [3, n0, _URCSE,
|
|
361
|
-
0,
|
|
362
|
-
[_RCA, _RCS],
|
|
363
|
-
[0, 0], 2
|
|
364
|
-
];
|
|
365
|
-
var UpdateRoutingControlStateRequest$ = [3, n0, _URCSR,
|
|
366
|
-
0,
|
|
367
|
-
[_RCA, _RCS, _SRTO],
|
|
368
|
-
[0, 0, 64 | 0], 2
|
|
369
|
-
];
|
|
370
|
-
var UpdateRoutingControlStateResponse$ = [3, n0, _URCSRp,
|
|
371
|
-
0,
|
|
372
|
-
[],
|
|
373
|
-
[]
|
|
374
|
-
];
|
|
375
|
-
var UpdateRoutingControlStatesRequest$ = [3, n0, _URCSRpd,
|
|
376
|
-
0,
|
|
377
|
-
[_URCSEp, _SRTO],
|
|
378
|
-
[() => UpdateRoutingControlStateEntries, 64 | 0], 1
|
|
379
|
-
];
|
|
380
|
-
var UpdateRoutingControlStatesResponse$ = [3, n0, _URCSRpda,
|
|
381
|
-
0,
|
|
382
|
-
[],
|
|
383
|
-
[]
|
|
384
|
-
];
|
|
385
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
386
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
387
|
-
[_m, _r, _f],
|
|
388
|
-
[0, 0, () => ValidationExceptionFieldList], 1
|
|
389
|
-
];
|
|
390
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
391
|
-
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
392
|
-
0,
|
|
393
|
-
[_n, _m],
|
|
394
|
-
[0, 0], 2
|
|
395
|
-
];
|
|
396
|
-
var Route53RecoveryClusterServiceException$ = [-3, _sm, "Route53RecoveryClusterServiceException", 0, [], []];
|
|
397
|
-
schema.TypeRegistry.for(_sm).registerError(Route53RecoveryClusterServiceException$, Route53RecoveryClusterServiceException);
|
|
398
|
-
var RoutingControls = [1, n0, _RC,
|
|
399
|
-
0, () => RoutingControl$
|
|
400
|
-
];
|
|
401
|
-
var UpdateRoutingControlStateEntries = [1, n0, _URCSEp,
|
|
402
|
-
0, () => UpdateRoutingControlStateEntry$
|
|
403
|
-
];
|
|
404
|
-
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
405
|
-
0, () => ValidationExceptionField$
|
|
406
|
-
];
|
|
407
|
-
var GetRoutingControlState$ = [9, n0, _GRCS,
|
|
408
|
-
0, () => GetRoutingControlStateRequest$, () => GetRoutingControlStateResponse$
|
|
409
|
-
];
|
|
410
|
-
var ListRoutingControls$ = [9, n0, _LRC,
|
|
411
|
-
0, () => ListRoutingControlsRequest$, () => ListRoutingControlsResponse$
|
|
412
|
-
];
|
|
413
|
-
var UpdateRoutingControlState$ = [9, n0, _URCS,
|
|
414
|
-
0, () => UpdateRoutingControlStateRequest$, () => UpdateRoutingControlStateResponse$
|
|
415
|
-
];
|
|
416
|
-
var UpdateRoutingControlStates$ = [9, n0, _URCSp,
|
|
417
|
-
0, () => UpdateRoutingControlStatesRequest$, () => UpdateRoutingControlStatesResponse$
|
|
418
|
-
];
|
|
419
|
-
|
|
420
116
|
class GetRoutingControlStateCommand extends smithyClient.Command
|
|
421
117
|
.classBuilder()
|
|
422
118
|
.ep(commonParams)
|
|
@@ -425,7 +121,7 @@ class GetRoutingControlStateCommand extends smithyClient.Command
|
|
|
425
121
|
})
|
|
426
122
|
.s("ToggleCustomerAPI", "GetRoutingControlState", {})
|
|
427
123
|
.n("Route53RecoveryClusterClient", "GetRoutingControlStateCommand")
|
|
428
|
-
.sc(GetRoutingControlState$)
|
|
124
|
+
.sc(schemas_0.GetRoutingControlState$)
|
|
429
125
|
.build() {
|
|
430
126
|
}
|
|
431
127
|
|
|
@@ -437,7 +133,7 @@ class ListRoutingControlsCommand extends smithyClient.Command
|
|
|
437
133
|
})
|
|
438
134
|
.s("ToggleCustomerAPI", "ListRoutingControls", {})
|
|
439
135
|
.n("Route53RecoveryClusterClient", "ListRoutingControlsCommand")
|
|
440
|
-
.sc(ListRoutingControls$)
|
|
136
|
+
.sc(schemas_0.ListRoutingControls$)
|
|
441
137
|
.build() {
|
|
442
138
|
}
|
|
443
139
|
|
|
@@ -449,7 +145,7 @@ class UpdateRoutingControlStateCommand extends smithyClient.Command
|
|
|
449
145
|
})
|
|
450
146
|
.s("ToggleCustomerAPI", "UpdateRoutingControlState", {})
|
|
451
147
|
.n("Route53RecoveryClusterClient", "UpdateRoutingControlStateCommand")
|
|
452
|
-
.sc(UpdateRoutingControlState$)
|
|
148
|
+
.sc(schemas_0.UpdateRoutingControlState$)
|
|
453
149
|
.build() {
|
|
454
150
|
}
|
|
455
151
|
|
|
@@ -461,7 +157,7 @@ class UpdateRoutingControlStatesCommand extends smithyClient.Command
|
|
|
461
157
|
})
|
|
462
158
|
.s("ToggleCustomerAPI", "UpdateRoutingControlStates", {})
|
|
463
159
|
.n("Route53RecoveryClusterClient", "UpdateRoutingControlStatesCommand")
|
|
464
|
-
.sc(UpdateRoutingControlStates$)
|
|
160
|
+
.sc(schemas_0.UpdateRoutingControlStates$)
|
|
465
161
|
.build() {
|
|
466
162
|
}
|
|
467
163
|
|
|
@@ -499,45 +195,28 @@ Object.defineProperty(exports, "__Client", {
|
|
|
499
195
|
enumerable: true,
|
|
500
196
|
get: function () { return smithyClient.Client; }
|
|
501
197
|
});
|
|
502
|
-
exports
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
exports.EndpointTemporarilyUnavailableException = EndpointTemporarilyUnavailableException;
|
|
507
|
-
exports.EndpointTemporarilyUnavailableException$ = EndpointTemporarilyUnavailableException$;
|
|
508
|
-
exports.GetRoutingControlState$ = GetRoutingControlState$;
|
|
198
|
+
Object.defineProperty(exports, "Route53RecoveryClusterServiceException", {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function () { return Route53RecoveryClusterServiceException.Route53RecoveryClusterServiceException; }
|
|
201
|
+
});
|
|
509
202
|
exports.GetRoutingControlStateCommand = GetRoutingControlStateCommand;
|
|
510
|
-
exports.GetRoutingControlStateRequest$ = GetRoutingControlStateRequest$;
|
|
511
|
-
exports.GetRoutingControlStateResponse$ = GetRoutingControlStateResponse$;
|
|
512
|
-
exports.InternalServerException = InternalServerException;
|
|
513
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
514
|
-
exports.ListRoutingControls$ = ListRoutingControls$;
|
|
515
203
|
exports.ListRoutingControlsCommand = ListRoutingControlsCommand;
|
|
516
|
-
exports.ListRoutingControlsRequest$ = ListRoutingControlsRequest$;
|
|
517
|
-
exports.ListRoutingControlsResponse$ = ListRoutingControlsResponse$;
|
|
518
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
519
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
520
204
|
exports.Route53RecoveryCluster = Route53RecoveryCluster;
|
|
521
205
|
exports.Route53RecoveryClusterClient = Route53RecoveryClusterClient;
|
|
522
|
-
exports.Route53RecoveryClusterServiceException = Route53RecoveryClusterServiceException;
|
|
523
|
-
exports.Route53RecoveryClusterServiceException$ = Route53RecoveryClusterServiceException$;
|
|
524
|
-
exports.RoutingControl$ = RoutingControl$;
|
|
525
206
|
exports.RoutingControlState = RoutingControlState;
|
|
526
|
-
exports.ServiceLimitExceededException = ServiceLimitExceededException;
|
|
527
|
-
exports.ServiceLimitExceededException$ = ServiceLimitExceededException$;
|
|
528
|
-
exports.ThrottlingException = ThrottlingException;
|
|
529
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
530
|
-
exports.UpdateRoutingControlState$ = UpdateRoutingControlState$;
|
|
531
207
|
exports.UpdateRoutingControlStateCommand = UpdateRoutingControlStateCommand;
|
|
532
|
-
exports.UpdateRoutingControlStateEntry$ = UpdateRoutingControlStateEntry$;
|
|
533
|
-
exports.UpdateRoutingControlStateRequest$ = UpdateRoutingControlStateRequest$;
|
|
534
|
-
exports.UpdateRoutingControlStateResponse$ = UpdateRoutingControlStateResponse$;
|
|
535
|
-
exports.UpdateRoutingControlStates$ = UpdateRoutingControlStates$;
|
|
536
208
|
exports.UpdateRoutingControlStatesCommand = UpdateRoutingControlStatesCommand;
|
|
537
|
-
exports.UpdateRoutingControlStatesRequest$ = UpdateRoutingControlStatesRequest$;
|
|
538
|
-
exports.UpdateRoutingControlStatesResponse$ = UpdateRoutingControlStatesResponse$;
|
|
539
|
-
exports.ValidationException = ValidationException;
|
|
540
|
-
exports.ValidationException$ = ValidationException$;
|
|
541
|
-
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
542
209
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
543
210
|
exports.paginateListRoutingControls = paginateListRoutingControls;
|
|
211
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
212
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
213
|
+
enumerable: true,
|
|
214
|
+
get: function () { return schemas_0[k]; }
|
|
215
|
+
});
|
|
216
|
+
});
|
|
217
|
+
Object.keys(errors).forEach(function (k) {
|
|
218
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
219
|
+
enumerable: true,
|
|
220
|
+
get: function () { return errors[k]; }
|
|
221
|
+
});
|
|
222
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Route53RecoveryClusterServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class Route53RecoveryClusterServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, Route53RecoveryClusterServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.Route53RecoveryClusterServiceException = Route53RecoveryClusterServiceException;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceLimitExceededException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.EndpointTemporarilyUnavailableException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const Route53RecoveryClusterServiceException_1 = require("./Route53RecoveryClusterServiceException");
|
|
5
|
+
class AccessDeniedException extends Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class ConflictException extends Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
resourceId;
|
|
22
|
+
resourceType;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.resourceId = opts.resourceId;
|
|
31
|
+
this.resourceType = opts.resourceType;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ConflictException = ConflictException;
|
|
35
|
+
class EndpointTemporarilyUnavailableException extends Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException {
|
|
36
|
+
name = "EndpointTemporarilyUnavailableException";
|
|
37
|
+
$fault = "server";
|
|
38
|
+
constructor(opts) {
|
|
39
|
+
super({
|
|
40
|
+
name: "EndpointTemporarilyUnavailableException",
|
|
41
|
+
$fault: "server",
|
|
42
|
+
...opts,
|
|
43
|
+
});
|
|
44
|
+
Object.setPrototypeOf(this, EndpointTemporarilyUnavailableException.prototype);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.EndpointTemporarilyUnavailableException = EndpointTemporarilyUnavailableException;
|
|
48
|
+
class InternalServerException extends Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException {
|
|
49
|
+
name = "InternalServerException";
|
|
50
|
+
$fault = "server";
|
|
51
|
+
retryAfterSeconds;
|
|
52
|
+
constructor(opts) {
|
|
53
|
+
super({
|
|
54
|
+
name: "InternalServerException",
|
|
55
|
+
$fault: "server",
|
|
56
|
+
...opts,
|
|
57
|
+
});
|
|
58
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
59
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.InternalServerException = InternalServerException;
|
|
63
|
+
class ResourceNotFoundException extends Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException {
|
|
64
|
+
name = "ResourceNotFoundException";
|
|
65
|
+
$fault = "client";
|
|
66
|
+
resourceId;
|
|
67
|
+
resourceType;
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "ResourceNotFoundException",
|
|
71
|
+
$fault: "client",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
75
|
+
this.resourceId = opts.resourceId;
|
|
76
|
+
this.resourceType = opts.resourceType;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
80
|
+
class ThrottlingException extends Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException {
|
|
81
|
+
name = "ThrottlingException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
retryAfterSeconds;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "ThrottlingException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
91
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.ThrottlingException = ThrottlingException;
|
|
95
|
+
class ValidationException extends Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException {
|
|
96
|
+
name = "ValidationException";
|
|
97
|
+
$fault = "client";
|
|
98
|
+
reason;
|
|
99
|
+
fields;
|
|
100
|
+
constructor(opts) {
|
|
101
|
+
super({
|
|
102
|
+
name: "ValidationException",
|
|
103
|
+
$fault: "client",
|
|
104
|
+
...opts,
|
|
105
|
+
});
|
|
106
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
107
|
+
this.reason = opts.reason;
|
|
108
|
+
this.fields = opts.fields;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.ValidationException = ValidationException;
|
|
112
|
+
class ServiceLimitExceededException extends Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException {
|
|
113
|
+
name = "ServiceLimitExceededException";
|
|
114
|
+
$fault = "client";
|
|
115
|
+
resourceId;
|
|
116
|
+
resourceType;
|
|
117
|
+
limitCode;
|
|
118
|
+
serviceCode;
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "ServiceLimitExceededException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
|
|
126
|
+
this.resourceId = opts.resourceId;
|
|
127
|
+
this.resourceType = opts.resourceType;
|
|
128
|
+
this.limitCode = opts.limitCode;
|
|
129
|
+
this.serviceCode = opts.serviceCode;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.ServiceLimitExceededException = ServiceLimitExceededException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2019-12-02",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.route53recoverycluster",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2019-12-02",
|
|
33
35
|
serviceTarget: "ToggleCustomerAPI",
|
|
34
36
|
},
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateRoutingControlStates$ = exports.UpdateRoutingControlState$ = exports.ListRoutingControls$ = exports.GetRoutingControlState$ = exports.ValidationExceptionField$ = exports.UpdateRoutingControlStatesResponse$ = exports.UpdateRoutingControlStatesRequest$ = exports.UpdateRoutingControlStateResponse$ = exports.UpdateRoutingControlStateRequest$ = exports.UpdateRoutingControlStateEntry$ = exports.RoutingControl$ = exports.ListRoutingControlsResponse$ = exports.ListRoutingControlsRequest$ = exports.GetRoutingControlStateResponse$ = exports.GetRoutingControlStateRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceLimitExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.EndpointTemporarilyUnavailableException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.Route53RecoveryClusterServiceException$ = void 0;
|
|
4
|
+
const _ADE = "AccessDeniedException";
|
|
5
|
+
const _CE = "ConflictException";
|
|
6
|
+
const _CPA = "ControlPanelArn";
|
|
7
|
+
const _CPN = "ControlPanelName";
|
|
8
|
+
const _ETUE = "EndpointTemporarilyUnavailableException";
|
|
9
|
+
const _GRCS = "GetRoutingControlState";
|
|
10
|
+
const _GRCSR = "GetRoutingControlStateRequest";
|
|
11
|
+
const _GRCSRe = "GetRoutingControlStateResponse";
|
|
12
|
+
const _ISE = "InternalServerException";
|
|
13
|
+
const _LRC = "ListRoutingControls";
|
|
14
|
+
const _LRCR = "ListRoutingControlsRequest";
|
|
15
|
+
const _LRCRi = "ListRoutingControlsResponse";
|
|
16
|
+
const _MR = "MaxResults";
|
|
17
|
+
const _NT = "NextToken";
|
|
18
|
+
const _O = "Owner";
|
|
19
|
+
const _RA = "Retry-After";
|
|
20
|
+
const _RC = "RoutingControls";
|
|
21
|
+
const _RCA = "RoutingControlArn";
|
|
22
|
+
const _RCN = "RoutingControlName";
|
|
23
|
+
const _RCS = "RoutingControlState";
|
|
24
|
+
const _RCo = "RoutingControl";
|
|
25
|
+
const _RNFE = "ResourceNotFoundException";
|
|
26
|
+
const _SLEE = "ServiceLimitExceededException";
|
|
27
|
+
const _SRTO = "SafetyRulesToOverride";
|
|
28
|
+
const _TE = "ThrottlingException";
|
|
29
|
+
const _URCS = "UpdateRoutingControlState";
|
|
30
|
+
const _URCSE = "UpdateRoutingControlStateEntry";
|
|
31
|
+
const _URCSEp = "UpdateRoutingControlStateEntries";
|
|
32
|
+
const _URCSR = "UpdateRoutingControlStateRequest";
|
|
33
|
+
const _URCSRp = "UpdateRoutingControlStateResponse";
|
|
34
|
+
const _URCSRpd = "UpdateRoutingControlStatesRequest";
|
|
35
|
+
const _URCSRpda = "UpdateRoutingControlStatesResponse";
|
|
36
|
+
const _URCSp = "UpdateRoutingControlStates";
|
|
37
|
+
const _VE = "ValidationException";
|
|
38
|
+
const _VEF = "ValidationExceptionField";
|
|
39
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
40
|
+
const _c = "client";
|
|
41
|
+
const _e = "error";
|
|
42
|
+
const _f = "fields";
|
|
43
|
+
const _hE = "httpError";
|
|
44
|
+
const _hH = "httpHeader";
|
|
45
|
+
const _lC = "limitCode";
|
|
46
|
+
const _m = "message";
|
|
47
|
+
const _n = "name";
|
|
48
|
+
const _r = "reason";
|
|
49
|
+
const _rAS = "retryAfterSeconds";
|
|
50
|
+
const _rI = "resourceId";
|
|
51
|
+
const _rT = "resourceType";
|
|
52
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.route53recoverycluster";
|
|
53
|
+
const _sC = "serviceCode";
|
|
54
|
+
const _se = "server";
|
|
55
|
+
const n0 = "com.amazonaws.route53recoverycluster";
|
|
56
|
+
const schema_1 = require("@smithy/core/schema");
|
|
57
|
+
const errors_1 = require("../models/errors");
|
|
58
|
+
const Route53RecoveryClusterServiceException_1 = require("../models/Route53RecoveryClusterServiceException");
|
|
59
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
60
|
+
exports.Route53RecoveryClusterServiceException$ = [-3, _s, "Route53RecoveryClusterServiceException", 0, [], []];
|
|
61
|
+
_s_registry.registerError(exports.Route53RecoveryClusterServiceException$, Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException);
|
|
62
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
63
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
64
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
65
|
+
[_m],
|
|
66
|
+
[0], 1
|
|
67
|
+
];
|
|
68
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
69
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
70
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
71
|
+
[_m, _rI, _rT],
|
|
72
|
+
[0, 0, 0], 3
|
|
73
|
+
];
|
|
74
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
75
|
+
exports.EndpointTemporarilyUnavailableException$ = [-3, n0, _ETUE,
|
|
76
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
77
|
+
[_m],
|
|
78
|
+
[0], 1
|
|
79
|
+
];
|
|
80
|
+
n0_registry.registerError(exports.EndpointTemporarilyUnavailableException$, errors_1.EndpointTemporarilyUnavailableException);
|
|
81
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
82
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
83
|
+
[_m, _rAS],
|
|
84
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
85
|
+
];
|
|
86
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
87
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
88
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
89
|
+
[_m, _rI, _rT],
|
|
90
|
+
[0, 0, 0], 3
|
|
91
|
+
];
|
|
92
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
93
|
+
exports.ServiceLimitExceededException$ = [-3, n0, _SLEE,
|
|
94
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
95
|
+
[_m, _lC, _sC, _rI, _rT],
|
|
96
|
+
[0, 0, 0, 0, 0], 3
|
|
97
|
+
];
|
|
98
|
+
n0_registry.registerError(exports.ServiceLimitExceededException$, errors_1.ServiceLimitExceededException);
|
|
99
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
100
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
101
|
+
[_m, _rAS],
|
|
102
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
103
|
+
];
|
|
104
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
105
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
106
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
107
|
+
[_m, _r, _f],
|
|
108
|
+
[0, 0, () => ValidationExceptionFieldList], 1
|
|
109
|
+
];
|
|
110
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
111
|
+
exports.errorTypeRegistries = [
|
|
112
|
+
_s_registry,
|
|
113
|
+
n0_registry,
|
|
114
|
+
];
|
|
115
|
+
exports.GetRoutingControlStateRequest$ = [3, n0, _GRCSR,
|
|
116
|
+
0,
|
|
117
|
+
[_RCA],
|
|
118
|
+
[0], 1
|
|
119
|
+
];
|
|
120
|
+
exports.GetRoutingControlStateResponse$ = [3, n0, _GRCSRe,
|
|
121
|
+
0,
|
|
122
|
+
[_RCA, _RCS, _RCN],
|
|
123
|
+
[0, 0, 0], 2
|
|
124
|
+
];
|
|
125
|
+
exports.ListRoutingControlsRequest$ = [3, n0, _LRCR,
|
|
126
|
+
0,
|
|
127
|
+
[_CPA, _NT, _MR],
|
|
128
|
+
[0, 0, 1]
|
|
129
|
+
];
|
|
130
|
+
exports.ListRoutingControlsResponse$ = [3, n0, _LRCRi,
|
|
131
|
+
0,
|
|
132
|
+
[_RC, _NT],
|
|
133
|
+
[() => RoutingControls, 0], 1
|
|
134
|
+
];
|
|
135
|
+
exports.RoutingControl$ = [3, n0, _RCo,
|
|
136
|
+
0,
|
|
137
|
+
[_CPA, _CPN, _RCA, _RCN, _RCS, _O],
|
|
138
|
+
[0, 0, 0, 0, 0, 0]
|
|
139
|
+
];
|
|
140
|
+
exports.UpdateRoutingControlStateEntry$ = [3, n0, _URCSE,
|
|
141
|
+
0,
|
|
142
|
+
[_RCA, _RCS],
|
|
143
|
+
[0, 0], 2
|
|
144
|
+
];
|
|
145
|
+
exports.UpdateRoutingControlStateRequest$ = [3, n0, _URCSR,
|
|
146
|
+
0,
|
|
147
|
+
[_RCA, _RCS, _SRTO],
|
|
148
|
+
[0, 0, 64 | 0], 2
|
|
149
|
+
];
|
|
150
|
+
exports.UpdateRoutingControlStateResponse$ = [3, n0, _URCSRp,
|
|
151
|
+
0,
|
|
152
|
+
[],
|
|
153
|
+
[]
|
|
154
|
+
];
|
|
155
|
+
exports.UpdateRoutingControlStatesRequest$ = [3, n0, _URCSRpd,
|
|
156
|
+
0,
|
|
157
|
+
[_URCSEp, _SRTO],
|
|
158
|
+
[() => UpdateRoutingControlStateEntries, 64 | 0], 1
|
|
159
|
+
];
|
|
160
|
+
exports.UpdateRoutingControlStatesResponse$ = [3, n0, _URCSRpda,
|
|
161
|
+
0,
|
|
162
|
+
[],
|
|
163
|
+
[]
|
|
164
|
+
];
|
|
165
|
+
exports.ValidationExceptionField$ = [3, n0, _VEF,
|
|
166
|
+
0,
|
|
167
|
+
[_n, _m],
|
|
168
|
+
[0, 0], 2
|
|
169
|
+
];
|
|
170
|
+
var Arns = 64 | 0;
|
|
171
|
+
var RoutingControls = [1, n0, _RC,
|
|
172
|
+
0, () => exports.RoutingControl$
|
|
173
|
+
];
|
|
174
|
+
var UpdateRoutingControlStateEntries = [1, n0, _URCSEp,
|
|
175
|
+
0, () => exports.UpdateRoutingControlStateEntry$
|
|
176
|
+
];
|
|
177
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
178
|
+
0, () => exports.ValidationExceptionField$
|
|
179
|
+
];
|
|
180
|
+
exports.GetRoutingControlState$ = [9, n0, _GRCS,
|
|
181
|
+
0, () => exports.GetRoutingControlStateRequest$, () => exports.GetRoutingControlStateResponse$
|
|
182
|
+
];
|
|
183
|
+
exports.ListRoutingControls$ = [9, n0, _LRC,
|
|
184
|
+
0, () => exports.ListRoutingControlsRequest$, () => exports.ListRoutingControlsResponse$
|
|
185
|
+
];
|
|
186
|
+
exports.UpdateRoutingControlState$ = [9, n0, _URCS,
|
|
187
|
+
0, () => exports.UpdateRoutingControlStateRequest$, () => exports.UpdateRoutingControlStateResponse$
|
|
188
|
+
];
|
|
189
|
+
exports.UpdateRoutingControlStates$ = [9, n0, _URCSp,
|
|
190
|
+
0, () => exports.UpdateRoutingControlStatesRequest$, () => exports.UpdateRoutingControlStatesResponse$
|
|
191
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultRoute53RecoveryClusterHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2019-12-02",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.route53recoverycluster",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2019-12-02",
|
|
30
32
|
serviceTarget: "ToggleCustomerAPI",
|
|
31
33
|
},
|
|
@@ -46,31 +46,69 @@ const _r = "reason";
|
|
|
46
46
|
const _rAS = "retryAfterSeconds";
|
|
47
47
|
const _rI = "resourceId";
|
|
48
48
|
const _rT = "resourceType";
|
|
49
|
-
const _s = "
|
|
49
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.route53recoverycluster";
|
|
50
50
|
const _sC = "serviceCode";
|
|
51
|
-
const
|
|
51
|
+
const _se = "server";
|
|
52
52
|
const n0 = "com.amazonaws.route53recoverycluster";
|
|
53
53
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
54
54
|
import { AccessDeniedException, ConflictException, EndpointTemporarilyUnavailableException, InternalServerException, ResourceNotFoundException, ServiceLimitExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
55
55
|
import { Route53RecoveryClusterServiceException } from "../models/Route53RecoveryClusterServiceException";
|
|
56
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
57
|
+
export var Route53RecoveryClusterServiceException$ = [-3, _s, "Route53RecoveryClusterServiceException", 0, [], []];
|
|
58
|
+
_s_registry.registerError(Route53RecoveryClusterServiceException$, Route53RecoveryClusterServiceException);
|
|
59
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
56
60
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
57
61
|
{ [_e]: _c, [_hE]: 403 },
|
|
58
62
|
[_m],
|
|
59
63
|
[0], 1
|
|
60
64
|
];
|
|
61
|
-
|
|
65
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
62
66
|
export var ConflictException$ = [-3, n0, _CE,
|
|
63
67
|
{ [_e]: _c, [_hE]: 409 },
|
|
64
68
|
[_m, _rI, _rT],
|
|
65
69
|
[0, 0, 0], 3
|
|
66
70
|
];
|
|
67
|
-
|
|
71
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
68
72
|
export var EndpointTemporarilyUnavailableException$ = [-3, n0, _ETUE,
|
|
69
|
-
{ [_e]:
|
|
73
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
70
74
|
[_m],
|
|
71
75
|
[0], 1
|
|
72
76
|
];
|
|
73
|
-
|
|
77
|
+
n0_registry.registerError(EndpointTemporarilyUnavailableException$, EndpointTemporarilyUnavailableException);
|
|
78
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
79
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
80
|
+
[_m, _rAS],
|
|
81
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
82
|
+
];
|
|
83
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
84
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
85
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
86
|
+
[_m, _rI, _rT],
|
|
87
|
+
[0, 0, 0], 3
|
|
88
|
+
];
|
|
89
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
90
|
+
export var ServiceLimitExceededException$ = [-3, n0, _SLEE,
|
|
91
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
92
|
+
[_m, _lC, _sC, _rI, _rT],
|
|
93
|
+
[0, 0, 0, 0, 0], 3
|
|
94
|
+
];
|
|
95
|
+
n0_registry.registerError(ServiceLimitExceededException$, ServiceLimitExceededException);
|
|
96
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
97
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
98
|
+
[_m, _rAS],
|
|
99
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
100
|
+
];
|
|
101
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
102
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
103
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
104
|
+
[_m, _r, _f],
|
|
105
|
+
[0, 0, () => ValidationExceptionFieldList], 1
|
|
106
|
+
];
|
|
107
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
108
|
+
export const errorTypeRegistries = [
|
|
109
|
+
_s_registry,
|
|
110
|
+
n0_registry,
|
|
111
|
+
];
|
|
74
112
|
export var GetRoutingControlStateRequest$ = [3, n0, _GRCSR,
|
|
75
113
|
0,
|
|
76
114
|
[_RCA],
|
|
@@ -81,12 +119,6 @@ export var GetRoutingControlStateResponse$ = [3, n0, _GRCSRe,
|
|
|
81
119
|
[_RCA, _RCS, _RCN],
|
|
82
120
|
[0, 0, 0], 2
|
|
83
121
|
];
|
|
84
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
85
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
86
|
-
[_m, _rAS],
|
|
87
|
-
[0, [1, { [_hH]: _RA }]], 1
|
|
88
|
-
];
|
|
89
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
90
122
|
export var ListRoutingControlsRequest$ = [3, n0, _LRCR,
|
|
91
123
|
0,
|
|
92
124
|
[_CPA, _NT, _MR],
|
|
@@ -97,29 +129,11 @@ export var ListRoutingControlsResponse$ = [3, n0, _LRCRi,
|
|
|
97
129
|
[_RC, _NT],
|
|
98
130
|
[() => RoutingControls, 0], 1
|
|
99
131
|
];
|
|
100
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
101
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
102
|
-
[_m, _rI, _rT],
|
|
103
|
-
[0, 0, 0], 3
|
|
104
|
-
];
|
|
105
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
106
132
|
export var RoutingControl$ = [3, n0, _RCo,
|
|
107
133
|
0,
|
|
108
134
|
[_CPA, _CPN, _RCA, _RCN, _RCS, _O],
|
|
109
135
|
[0, 0, 0, 0, 0, 0]
|
|
110
136
|
];
|
|
111
|
-
export var ServiceLimitExceededException$ = [-3, n0, _SLEE,
|
|
112
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
113
|
-
[_m, _lC, _sC, _rI, _rT],
|
|
114
|
-
[0, 0, 0, 0, 0], 3
|
|
115
|
-
];
|
|
116
|
-
TypeRegistry.for(n0).registerError(ServiceLimitExceededException$, ServiceLimitExceededException);
|
|
117
|
-
export var ThrottlingException$ = [-3, n0, _TE,
|
|
118
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
119
|
-
[_m, _rAS],
|
|
120
|
-
[0, [1, { [_hH]: _RA }]], 1
|
|
121
|
-
];
|
|
122
|
-
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
123
137
|
export var UpdateRoutingControlStateEntry$ = [3, n0, _URCSE,
|
|
124
138
|
0,
|
|
125
139
|
[_RCA, _RCS],
|
|
@@ -145,19 +159,11 @@ export var UpdateRoutingControlStatesResponse$ = [3, n0, _URCSRpda,
|
|
|
145
159
|
[],
|
|
146
160
|
[]
|
|
147
161
|
];
|
|
148
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
149
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
150
|
-
[_m, _r, _f],
|
|
151
|
-
[0, 0, () => ValidationExceptionFieldList], 1
|
|
152
|
-
];
|
|
153
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
154
162
|
export var ValidationExceptionField$ = [3, n0, _VEF,
|
|
155
163
|
0,
|
|
156
164
|
[_n, _m],
|
|
157
165
|
[0, 0], 2
|
|
158
166
|
];
|
|
159
|
-
export var Route53RecoveryClusterServiceException$ = [-3, _sm, "Route53RecoveryClusterServiceException", 0, [], []];
|
|
160
|
-
TypeRegistry.for(_sm).registerError(Route53RecoveryClusterServiceException$, Route53RecoveryClusterServiceException);
|
|
161
167
|
var Arns = 64 | 0;
|
|
162
168
|
var RoutingControls = [1, n0, _RC,
|
|
163
169
|
0, () => RoutingControl$
|
|
@@ -1,24 +1,31 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var Route53RecoveryClusterServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
3
5
|
export declare var ConflictException$: StaticErrorSchema;
|
|
4
6
|
export declare var EndpointTemporarilyUnavailableException$: StaticErrorSchema;
|
|
7
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
8
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
9
|
+
export declare var ServiceLimitExceededException$: StaticErrorSchema;
|
|
10
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
11
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
12
|
+
/**
|
|
13
|
+
* TypeRegistry instances containing modeled errors.
|
|
14
|
+
* @internal
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
5
18
|
export declare var GetRoutingControlStateRequest$: StaticStructureSchema;
|
|
6
19
|
export declare var GetRoutingControlStateResponse$: StaticStructureSchema;
|
|
7
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
8
20
|
export declare var ListRoutingControlsRequest$: StaticStructureSchema;
|
|
9
21
|
export declare var ListRoutingControlsResponse$: StaticStructureSchema;
|
|
10
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
11
22
|
export declare var RoutingControl$: StaticStructureSchema;
|
|
12
|
-
export declare var ServiceLimitExceededException$: StaticErrorSchema;
|
|
13
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
14
23
|
export declare var UpdateRoutingControlStateEntry$: StaticStructureSchema;
|
|
15
24
|
export declare var UpdateRoutingControlStateRequest$: StaticStructureSchema;
|
|
16
25
|
export declare var UpdateRoutingControlStateResponse$: StaticStructureSchema;
|
|
17
26
|
export declare var UpdateRoutingControlStatesRequest$: StaticStructureSchema;
|
|
18
27
|
export declare var UpdateRoutingControlStatesResponse$: StaticStructureSchema;
|
|
19
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
20
28
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
21
|
-
export declare var Route53RecoveryClusterServiceException$: StaticErrorSchema;
|
|
22
29
|
export declare var GetRoutingControlState$: StaticOperationSchema;
|
|
23
30
|
export declare var ListRoutingControls$: StaticOperationSchema;
|
|
24
31
|
export declare var UpdateRoutingControlState$: StaticOperationSchema;
|
|
@@ -1,28 +1,30 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var Route53RecoveryClusterServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
7
9
|
export declare var ConflictException$: StaticErrorSchema;
|
|
8
10
|
export declare var EndpointTemporarilyUnavailableException$: StaticErrorSchema;
|
|
11
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
12
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
13
|
+
export declare var ServiceLimitExceededException$: StaticErrorSchema;
|
|
14
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
15
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
16
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
9
17
|
export declare var GetRoutingControlStateRequest$: StaticStructureSchema;
|
|
10
18
|
export declare var GetRoutingControlStateResponse$: StaticStructureSchema;
|
|
11
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
12
19
|
export declare var ListRoutingControlsRequest$: StaticStructureSchema;
|
|
13
20
|
export declare var ListRoutingControlsResponse$: StaticStructureSchema;
|
|
14
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
15
21
|
export declare var RoutingControl$: StaticStructureSchema;
|
|
16
|
-
export declare var ServiceLimitExceededException$: StaticErrorSchema;
|
|
17
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
18
22
|
export declare var UpdateRoutingControlStateEntry$: StaticStructureSchema;
|
|
19
23
|
export declare var UpdateRoutingControlStateRequest$: StaticStructureSchema;
|
|
20
24
|
export declare var UpdateRoutingControlStateResponse$: StaticStructureSchema;
|
|
21
25
|
export declare var UpdateRoutingControlStatesRequest$: StaticStructureSchema;
|
|
22
26
|
export declare var UpdateRoutingControlStatesResponse$: StaticStructureSchema;
|
|
23
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
24
27
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
25
|
-
export declare var Route53RecoveryClusterServiceException$: StaticErrorSchema;
|
|
26
28
|
export declare var GetRoutingControlState$: StaticOperationSchema;
|
|
27
29
|
export declare var ListRoutingControls$: StaticOperationSchema;
|
|
28
30
|
export declare var UpdateRoutingControlState$: StaticOperationSchema;
|
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.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-route53-recovery-cluster",
|
|
@@ -21,38 +21,38 @@
|
|
|
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.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
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.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|