@aws-sdk/client-rbin 3.928.0 → 3.930.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist-cjs/index.js +397 -505
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/RbinClient.js +2 -0
  4. package/dist-es/commands/CreateRuleCommand.js +3 -9
  5. package/dist-es/commands/DeleteRuleCommand.js +3 -9
  6. package/dist-es/commands/GetRuleCommand.js +3 -9
  7. package/dist-es/commands/ListRulesCommand.js +3 -9
  8. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  9. package/dist-es/commands/LockRuleCommand.js +3 -9
  10. package/dist-es/commands/TagResourceCommand.js +3 -9
  11. package/dist-es/commands/UnlockRuleCommand.js +3 -9
  12. package/dist-es/commands/UntagResourceCommand.js +3 -9
  13. package/dist-es/commands/UpdateRuleCommand.js +3 -9
  14. package/dist-es/runtimeConfig.shared.js +2 -0
  15. package/dist-es/schemas/schemas_0.js +364 -0
  16. package/dist-types/RbinClient.d.ts +10 -1
  17. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  18. package/dist-types/runtimeConfig.d.ts +1 -0
  19. package/dist-types/runtimeConfig.native.d.ts +1 -0
  20. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  21. package/dist-types/schemas/schemas_0.d.ts +49 -0
  22. package/dist-types/ts3.4/RbinClient.d.ts +4 -0
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +54 -0
  28. package/package.json +33 -33
  29. package/dist-es/protocols/Aws_restJson1.js +0 -423
  30. package/dist-types/protocols/Aws_restJson1.d.ts +0 -92
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -125
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class RbinClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,12 +110,12 @@ class RbinClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class RbinServiceException extends smithyClient.ServiceException {
113
+ let RbinServiceException$1 = class RbinServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, RbinServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
120
  const UnlockDelayUnit = {
121
121
  DAYS: "DAYS",
@@ -136,7 +136,7 @@ const RuleStatus = {
136
136
  AVAILABLE: "available",
137
137
  PENDING: "pending",
138
138
  };
139
- class InternalServerException extends RbinServiceException {
139
+ let InternalServerException$1 = class InternalServerException extends RbinServiceException$1 {
140
140
  name = "InternalServerException";
141
141
  $fault = "server";
142
142
  Message;
@@ -149,11 +149,11 @@ class InternalServerException extends RbinServiceException {
149
149
  Object.setPrototypeOf(this, InternalServerException.prototype);
150
150
  this.Message = opts.Message;
151
151
  }
152
- }
152
+ };
153
153
  const ServiceQuotaExceededExceptionReason = {
154
154
  SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED",
155
155
  };
156
- class ServiceQuotaExceededException extends RbinServiceException {
156
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends RbinServiceException$1 {
157
157
  name = "ServiceQuotaExceededException";
158
158
  $fault = "client";
159
159
  Message;
@@ -168,12 +168,12 @@ class ServiceQuotaExceededException extends RbinServiceException {
168
168
  this.Message = opts.Message;
169
169
  this.Reason = opts.Reason;
170
170
  }
171
- }
171
+ };
172
172
  const ValidationExceptionReason = {
173
173
  INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN",
174
174
  INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE",
175
175
  };
176
- class ValidationException extends RbinServiceException {
176
+ let ValidationException$1 = class ValidationException extends RbinServiceException$1 {
177
177
  name = "ValidationException";
178
178
  $fault = "client";
179
179
  Message;
@@ -188,11 +188,11 @@ class ValidationException extends RbinServiceException {
188
188
  this.Message = opts.Message;
189
189
  this.Reason = opts.Reason;
190
190
  }
191
- }
191
+ };
192
192
  const ConflictExceptionReason = {
193
193
  INVALID_RULE_STATE: "INVALID_RULE_STATE",
194
194
  };
195
- class ConflictException extends RbinServiceException {
195
+ let ConflictException$1 = class ConflictException extends RbinServiceException$1 {
196
196
  name = "ConflictException";
197
197
  $fault = "client";
198
198
  Message;
@@ -207,11 +207,11 @@ class ConflictException extends RbinServiceException {
207
207
  this.Message = opts.Message;
208
208
  this.Reason = opts.Reason;
209
209
  }
210
- }
210
+ };
211
211
  const ResourceNotFoundExceptionReason = {
212
212
  RULE_NOT_FOUND: "RULE_NOT_FOUND",
213
213
  };
214
- class ResourceNotFoundException extends RbinServiceException {
214
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends RbinServiceException$1 {
215
215
  name = "ResourceNotFoundException";
216
216
  $fault = "client";
217
217
  Message;
@@ -226,440 +226,377 @@ class ResourceNotFoundException extends RbinServiceException {
226
226
  this.Message = opts.Message;
227
227
  this.Reason = opts.Reason;
228
228
  }
229
- }
230
-
231
- const se_CreateRuleCommand = async (input, context) => {
232
- const b = core.requestBuilder(input, context);
233
- const headers = {
234
- "content-type": "application/json",
235
- };
236
- b.bp("/rules");
237
- let body;
238
- body = JSON.stringify(smithyClient.take(input, {
239
- Description: [],
240
- ExcludeResourceTags: (_) => smithyClient._json(_),
241
- LockConfiguration: (_) => smithyClient._json(_),
242
- ResourceTags: (_) => smithyClient._json(_),
243
- ResourceType: [],
244
- RetentionPeriod: (_) => smithyClient._json(_),
245
- Tags: (_) => smithyClient._json(_),
246
- }));
247
- b.m("POST").h(headers).b(body);
248
- return b.build();
249
- };
250
- const se_DeleteRuleCommand = async (input, context) => {
251
- const b = core.requestBuilder(input, context);
252
- const headers = {};
253
- b.bp("/rules/{Identifier}");
254
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
255
- let body;
256
- b.m("DELETE").h(headers).b(body);
257
- return b.build();
258
- };
259
- const se_GetRuleCommand = async (input, context) => {
260
- const b = core.requestBuilder(input, context);
261
- const headers = {};
262
- b.bp("/rules/{Identifier}");
263
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
264
- let body;
265
- b.m("GET").h(headers).b(body);
266
- return b.build();
267
- };
268
- const se_ListRulesCommand = async (input, context) => {
269
- const b = core.requestBuilder(input, context);
270
- const headers = {
271
- "content-type": "application/json",
272
- };
273
- b.bp("/list-rules");
274
- let body;
275
- body = JSON.stringify(smithyClient.take(input, {
276
- ExcludeResourceTags: (_) => smithyClient._json(_),
277
- LockState: [],
278
- MaxResults: [],
279
- NextToken: [],
280
- ResourceTags: (_) => smithyClient._json(_),
281
- ResourceType: [],
282
- }));
283
- b.m("POST").h(headers).b(body);
284
- return b.build();
285
- };
286
- const se_ListTagsForResourceCommand = async (input, context) => {
287
- const b = core.requestBuilder(input, context);
288
- const headers = {};
289
- b.bp("/tags/{ResourceArn}");
290
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
291
- let body;
292
- b.m("GET").h(headers).b(body);
293
- return b.build();
294
- };
295
- const se_LockRuleCommand = async (input, context) => {
296
- const b = core.requestBuilder(input, context);
297
- const headers = {
298
- "content-type": "application/json",
299
- };
300
- b.bp("/rules/{Identifier}/lock");
301
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
302
- let body;
303
- body = JSON.stringify(smithyClient.take(input, {
304
- LockConfiguration: (_) => smithyClient._json(_),
305
- }));
306
- b.m("PATCH").h(headers).b(body);
307
- return b.build();
308
- };
309
- const se_TagResourceCommand = async (input, context) => {
310
- const b = core.requestBuilder(input, context);
311
- const headers = {
312
- "content-type": "application/json",
313
- };
314
- b.bp("/tags/{ResourceArn}");
315
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
316
- let body;
317
- body = JSON.stringify(smithyClient.take(input, {
318
- Tags: (_) => smithyClient._json(_),
319
- }));
320
- b.m("POST").h(headers).b(body);
321
- return b.build();
322
- };
323
- const se_UnlockRuleCommand = async (input, context) => {
324
- const b = core.requestBuilder(input, context);
325
- const headers = {};
326
- b.bp("/rules/{Identifier}/unlock");
327
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
328
- let body;
329
- b.m("PATCH").h(headers).b(body);
330
- return b.build();
331
- };
332
- const se_UntagResourceCommand = async (input, context) => {
333
- const b = core.requestBuilder(input, context);
334
- const headers = {};
335
- b.bp("/tags/{ResourceArn}");
336
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
337
- const query = smithyClient.map({
338
- [_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
339
- });
340
- let body;
341
- b.m("DELETE").h(headers).q(query).b(body);
342
- return b.build();
343
- };
344
- const se_UpdateRuleCommand = async (input, context) => {
345
- const b = core.requestBuilder(input, context);
346
- const headers = {
347
- "content-type": "application/json",
348
- };
349
- b.bp("/rules/{Identifier}");
350
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
351
- let body;
352
- body = JSON.stringify(smithyClient.take(input, {
353
- Description: [],
354
- ExcludeResourceTags: (_) => smithyClient._json(_),
355
- ResourceTags: (_) => smithyClient._json(_),
356
- ResourceType: [],
357
- RetentionPeriod: (_) => smithyClient._json(_),
358
- }));
359
- b.m("PATCH").h(headers).b(body);
360
- return b.build();
361
- };
362
- const de_CreateRuleCommand = async (output, context) => {
363
- if (output.statusCode !== 201 && output.statusCode >= 300) {
364
- return de_CommandError(output, context);
365
- }
366
- const contents = smithyClient.map({
367
- $metadata: deserializeMetadata(output),
368
- });
369
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
370
- const doc = smithyClient.take(data, {
371
- Description: smithyClient.expectString,
372
- ExcludeResourceTags: smithyClient._json,
373
- Identifier: smithyClient.expectString,
374
- LockConfiguration: smithyClient._json,
375
- LockState: smithyClient.expectString,
376
- ResourceTags: smithyClient._json,
377
- ResourceType: smithyClient.expectString,
378
- RetentionPeriod: smithyClient._json,
379
- RuleArn: smithyClient.expectString,
380
- Status: smithyClient.expectString,
381
- Tags: smithyClient._json,
382
- });
383
- Object.assign(contents, doc);
384
- return contents;
385
- };
386
- const de_DeleteRuleCommand = async (output, context) => {
387
- if (output.statusCode !== 204 && output.statusCode >= 300) {
388
- return de_CommandError(output, context);
389
- }
390
- const contents = smithyClient.map({
391
- $metadata: deserializeMetadata(output),
392
- });
393
- await smithyClient.collectBody(output.body, context);
394
- return contents;
395
- };
396
- const de_GetRuleCommand = async (output, context) => {
397
- if (output.statusCode !== 200 && output.statusCode >= 300) {
398
- return de_CommandError(output, context);
399
- }
400
- const contents = smithyClient.map({
401
- $metadata: deserializeMetadata(output),
402
- });
403
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
404
- const doc = smithyClient.take(data, {
405
- Description: smithyClient.expectString,
406
- ExcludeResourceTags: smithyClient._json,
407
- Identifier: smithyClient.expectString,
408
- LockConfiguration: smithyClient._json,
409
- LockEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
410
- LockState: smithyClient.expectString,
411
- ResourceTags: smithyClient._json,
412
- ResourceType: smithyClient.expectString,
413
- RetentionPeriod: smithyClient._json,
414
- RuleArn: smithyClient.expectString,
415
- Status: smithyClient.expectString,
416
- });
417
- Object.assign(contents, doc);
418
- return contents;
419
- };
420
- const de_ListRulesCommand = async (output, context) => {
421
- if (output.statusCode !== 200 && output.statusCode >= 300) {
422
- return de_CommandError(output, context);
423
- }
424
- const contents = smithyClient.map({
425
- $metadata: deserializeMetadata(output),
426
- });
427
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
428
- const doc = smithyClient.take(data, {
429
- NextToken: smithyClient.expectString,
430
- Rules: smithyClient._json,
431
- });
432
- Object.assign(contents, doc);
433
- return contents;
434
- };
435
- const de_ListTagsForResourceCommand = async (output, context) => {
436
- if (output.statusCode !== 200 && output.statusCode >= 300) {
437
- return de_CommandError(output, context);
438
- }
439
- const contents = smithyClient.map({
440
- $metadata: deserializeMetadata(output),
441
- });
442
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
443
- const doc = smithyClient.take(data, {
444
- Tags: smithyClient._json,
445
- });
446
- Object.assign(contents, doc);
447
- return contents;
448
- };
449
- const de_LockRuleCommand = async (output, context) => {
450
- if (output.statusCode !== 200 && output.statusCode >= 300) {
451
- return de_CommandError(output, context);
452
- }
453
- const contents = smithyClient.map({
454
- $metadata: deserializeMetadata(output),
455
- });
456
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
457
- const doc = smithyClient.take(data, {
458
- Description: smithyClient.expectString,
459
- ExcludeResourceTags: smithyClient._json,
460
- Identifier: smithyClient.expectString,
461
- LockConfiguration: smithyClient._json,
462
- LockState: smithyClient.expectString,
463
- ResourceTags: smithyClient._json,
464
- ResourceType: smithyClient.expectString,
465
- RetentionPeriod: smithyClient._json,
466
- RuleArn: smithyClient.expectString,
467
- Status: smithyClient.expectString,
468
- });
469
- Object.assign(contents, doc);
470
- return contents;
471
- };
472
- const de_TagResourceCommand = async (output, context) => {
473
- if (output.statusCode !== 201 && output.statusCode >= 300) {
474
- return de_CommandError(output, context);
475
- }
476
- const contents = smithyClient.map({
477
- $metadata: deserializeMetadata(output),
478
- });
479
- await smithyClient.collectBody(output.body, context);
480
- return contents;
481
- };
482
- const de_UnlockRuleCommand = async (output, context) => {
483
- if (output.statusCode !== 200 && output.statusCode >= 300) {
484
- return de_CommandError(output, context);
485
- }
486
- const contents = smithyClient.map({
487
- $metadata: deserializeMetadata(output),
488
- });
489
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
490
- const doc = smithyClient.take(data, {
491
- Description: smithyClient.expectString,
492
- ExcludeResourceTags: smithyClient._json,
493
- Identifier: smithyClient.expectString,
494
- LockConfiguration: smithyClient._json,
495
- LockEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
496
- LockState: smithyClient.expectString,
497
- ResourceTags: smithyClient._json,
498
- ResourceType: smithyClient.expectString,
499
- RetentionPeriod: smithyClient._json,
500
- RuleArn: smithyClient.expectString,
501
- Status: smithyClient.expectString,
502
- });
503
- Object.assign(contents, doc);
504
- return contents;
505
- };
506
- const de_UntagResourceCommand = async (output, context) => {
507
- if (output.statusCode !== 204 && output.statusCode >= 300) {
508
- return de_CommandError(output, context);
509
- }
510
- const contents = smithyClient.map({
511
- $metadata: deserializeMetadata(output),
512
- });
513
- await smithyClient.collectBody(output.body, context);
514
- return contents;
515
- };
516
- const de_UpdateRuleCommand = async (output, context) => {
517
- if (output.statusCode !== 200 && output.statusCode >= 300) {
518
- return de_CommandError(output, context);
519
- }
520
- const contents = smithyClient.map({
521
- $metadata: deserializeMetadata(output),
522
- });
523
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
524
- const doc = smithyClient.take(data, {
525
- Description: smithyClient.expectString,
526
- ExcludeResourceTags: smithyClient._json,
527
- Identifier: smithyClient.expectString,
528
- LockEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
529
- LockState: smithyClient.expectString,
530
- ResourceTags: smithyClient._json,
531
- ResourceType: smithyClient.expectString,
532
- RetentionPeriod: smithyClient._json,
533
- RuleArn: smithyClient.expectString,
534
- Status: smithyClient.expectString,
535
- });
536
- Object.assign(contents, doc);
537
- return contents;
538
- };
539
- const de_CommandError = async (output, context) => {
540
- const parsedOutput = {
541
- ...output,
542
- body: await core$1.parseJsonErrorBody(output.body, context),
543
- };
544
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
545
- switch (errorCode) {
546
- case "InternalServerException":
547
- case "com.amazonaws.rbin#InternalServerException":
548
- throw await de_InternalServerExceptionRes(parsedOutput);
549
- case "ServiceQuotaExceededException":
550
- case "com.amazonaws.rbin#ServiceQuotaExceededException":
551
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
552
- case "ValidationException":
553
- case "com.amazonaws.rbin#ValidationException":
554
- throw await de_ValidationExceptionRes(parsedOutput);
555
- case "ConflictException":
556
- case "com.amazonaws.rbin#ConflictException":
557
- throw await de_ConflictExceptionRes(parsedOutput);
558
- case "ResourceNotFoundException":
559
- case "com.amazonaws.rbin#ResourceNotFoundException":
560
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
561
- default:
562
- const parsedBody = parsedOutput.body;
563
- return throwDefaultError({
564
- output,
565
- parsedBody,
566
- errorCode,
567
- });
568
- }
569
229
  };
570
- const throwDefaultError = smithyClient.withBaseException(RbinServiceException);
571
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
572
- const contents = smithyClient.map({});
573
- const data = parsedOutput.body;
574
- const doc = smithyClient.take(data, {
575
- Message: smithyClient.expectString,
576
- Reason: smithyClient.expectString,
577
- });
578
- Object.assign(contents, doc);
579
- const exception = new ConflictException({
580
- $metadata: deserializeMetadata(parsedOutput),
581
- ...contents,
582
- });
583
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
584
- };
585
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
586
- const contents = smithyClient.map({});
587
- const data = parsedOutput.body;
588
- const doc = smithyClient.take(data, {
589
- Message: smithyClient.expectString,
590
- });
591
- Object.assign(contents, doc);
592
- const exception = new InternalServerException({
593
- $metadata: deserializeMetadata(parsedOutput),
594
- ...contents,
595
- });
596
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
597
- };
598
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
599
- const contents = smithyClient.map({});
600
- const data = parsedOutput.body;
601
- const doc = smithyClient.take(data, {
602
- Message: smithyClient.expectString,
603
- Reason: smithyClient.expectString,
604
- });
605
- Object.assign(contents, doc);
606
- const exception = new ResourceNotFoundException({
607
- $metadata: deserializeMetadata(parsedOutput),
608
- ...contents,
609
- });
610
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
611
- };
612
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
613
- const contents = smithyClient.map({});
614
- const data = parsedOutput.body;
615
- const doc = smithyClient.take(data, {
616
- Message: smithyClient.expectString,
617
- Reason: smithyClient.expectString,
618
- });
619
- Object.assign(contents, doc);
620
- const exception = new ServiceQuotaExceededException({
621
- $metadata: deserializeMetadata(parsedOutput),
622
- ...contents,
623
- });
624
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
625
- };
626
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
627
- const contents = smithyClient.map({});
628
- const data = parsedOutput.body;
629
- const doc = smithyClient.take(data, {
630
- Message: smithyClient.expectString,
631
- Reason: smithyClient.expectString,
632
- });
633
- Object.assign(contents, doc);
634
- const exception = new ValidationException({
635
- $metadata: deserializeMetadata(parsedOutput),
636
- ...contents,
637
- });
638
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
639
- };
640
- const deserializeMetadata = (output) => ({
641
- httpStatusCode: output.statusCode,
642
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
643
- extendedRequestId: output.headers["x-amz-id-2"],
644
- cfId: output.headers["x-amz-cf-id"],
645
- });
230
+
231
+ const _CE = "ConflictException";
232
+ const _CR = "CreateRule";
233
+ const _CRR = "CreateRuleRequest";
234
+ const _CRRr = "CreateRuleResponse";
235
+ const _D = "Description";
236
+ const _DR = "DeleteRule";
237
+ const _DRR = "DeleteRuleRequest";
238
+ const _DRRe = "DeleteRuleResponse";
239
+ const _ERT = "ExcludeResourceTags";
240
+ const _GR = "GetRule";
241
+ const _GRR = "GetRuleRequest";
242
+ const _GRRe = "GetRuleResponse";
243
+ const _I = "Identifier";
244
+ const _ISE = "InternalServerException";
245
+ const _K = "Key";
246
+ const _LC = "LockConfiguration";
247
+ const _LET = "LockEndTime";
248
+ const _LR = "ListRules";
249
+ const _LRR = "ListRulesRequest";
250
+ const _LRRi = "ListRulesResponse";
251
+ const _LRRo = "LockRuleRequest";
252
+ const _LRRoc = "LockRuleResponse";
253
+ const _LRo = "LockRule";
254
+ const _LS = "LockState";
255
+ const _LTFR = "ListTagsForResource";
256
+ const _LTFRR = "ListTagsForResourceRequest";
257
+ const _LTFRRi = "ListTagsForResourceResponse";
258
+ const _M = "Message";
259
+ const _MR = "MaxResults";
260
+ const _NT = "NextToken";
261
+ const _R = "Reason";
262
+ const _RA = "RuleArn";
263
+ const _RAe = "ResourceArn";
264
+ const _RNFE = "ResourceNotFoundException";
265
+ const _RP = "RetentionPeriod";
266
+ const _RPU = "RetentionPeriodUnit";
267
+ const _RPV = "RetentionPeriodValue";
268
+ const _RS = "RuleSummary";
269
+ const _RSL = "RuleSummaryList";
270
+ const _RT = "ResourceType";
271
+ const _RTK = "ResourceTagKey";
272
+ const _RTV = "ResourceTagValue";
273
+ const _RTe = "ResourceTags";
274
+ const _RTes = "ResourceTag";
275
+ const _Ru = "Rules";
276
+ const _S = "Status";
277
+ const _SQEE = "ServiceQuotaExceededException";
278
+ const _T = "Tags";
646
279
  const _TK = "TagKeys";
280
+ const _TL = "TagList";
281
+ const _TR = "TagResource";
282
+ const _TRR = "TagResourceRequest";
283
+ const _TRRa = "TagResourceResponse";
284
+ const _Ta = "Tag";
285
+ const _UD = "UnlockDelay";
286
+ const _UDU = "UnlockDelayUnit";
287
+ const _UDV = "UnlockDelayValue";
288
+ const _UR = "UnlockRule";
289
+ const _URR = "UnlockRuleRequest";
290
+ const _URRn = "UnlockRuleResponse";
291
+ const _URRnt = "UntagResourceRequest";
292
+ const _URRnta = "UntagResourceResponse";
293
+ const _URRp = "UpdateRuleRequest";
294
+ const _URRpd = "UpdateRuleResponse";
295
+ const _URn = "UntagResource";
296
+ const _URp = "UpdateRule";
297
+ const _V = "Value";
298
+ const _VE = "ValidationException";
299
+ const _c = "client";
300
+ const _e = "error";
301
+ const _h = "http";
302
+ const _hE = "httpError";
303
+ const _hQ = "httpQuery";
304
+ const _s = "server";
305
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.rbin";
647
306
  const _tK = "tagKeys";
307
+ const n0 = "com.amazonaws.rbin";
308
+ var ConflictException = [
309
+ -3,
310
+ n0,
311
+ _CE,
312
+ {
313
+ [_e]: _c,
314
+ [_hE]: 409,
315
+ },
316
+ [_M, _R],
317
+ [0, 0],
318
+ ];
319
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
320
+ var CreateRuleRequest = [
321
+ 3,
322
+ n0,
323
+ _CRR,
324
+ 0,
325
+ [_RP, _D, _T, _RT, _RTe, _LC, _ERT],
326
+ [() => RetentionPeriod, 0, () => TagList, 0, () => ResourceTags, () => LockConfiguration, () => ExcludeResourceTags],
327
+ ];
328
+ var CreateRuleResponse = [
329
+ 3,
330
+ n0,
331
+ _CRRr,
332
+ 0,
333
+ [_I, _RP, _D, _T, _RT, _RTe, _S, _LC, _LS, _RA, _ERT],
334
+ [
335
+ 0,
336
+ () => RetentionPeriod,
337
+ 0,
338
+ () => TagList,
339
+ 0,
340
+ () => ResourceTags,
341
+ 0,
342
+ () => LockConfiguration,
343
+ 0,
344
+ 0,
345
+ () => ExcludeResourceTags,
346
+ ],
347
+ ];
348
+ var DeleteRuleRequest = [3, n0, _DRR, 0, [_I], [[0, 1]]];
349
+ var DeleteRuleResponse = [3, n0, _DRRe, 0, [], []];
350
+ var GetRuleRequest = [3, n0, _GRR, 0, [_I], [[0, 1]]];
351
+ var GetRuleResponse = [
352
+ 3,
353
+ n0,
354
+ _GRRe,
355
+ 0,
356
+ [_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _LET, _RA, _ERT],
357
+ [0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 4, 0, () => ExcludeResourceTags],
358
+ ];
359
+ var InternalServerException = [
360
+ -3,
361
+ n0,
362
+ _ISE,
363
+ {
364
+ [_e]: _s,
365
+ [_hE]: 500,
366
+ },
367
+ [_M],
368
+ [0],
369
+ ];
370
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
371
+ var ListRulesRequest = [
372
+ 3,
373
+ n0,
374
+ _LRR,
375
+ 0,
376
+ [_MR, _NT, _RT, _RTe, _LS, _ERT],
377
+ [1, 0, 0, () => ResourceTags, 0, () => ExcludeResourceTags],
378
+ ];
379
+ var ListRulesResponse = [3, n0, _LRRi, 0, [_Ru, _NT], [() => RuleSummaryList, 0]];
380
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RAe], [[0, 1]]];
381
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
382
+ var LockConfiguration = [3, n0, _LC, 0, [_UD], [() => UnlockDelay]];
383
+ var LockRuleRequest = [3, n0, _LRRo, 0, [_I, _LC], [[0, 1], () => LockConfiguration]];
384
+ var LockRuleResponse = [
385
+ 3,
386
+ n0,
387
+ _LRRoc,
388
+ 0,
389
+ [_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _RA, _ERT],
390
+ [0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 0, () => ExcludeResourceTags],
391
+ ];
392
+ var ResourceNotFoundException = [
393
+ -3,
394
+ n0,
395
+ _RNFE,
396
+ {
397
+ [_e]: _c,
398
+ [_hE]: 404,
399
+ },
400
+ [_M, _R],
401
+ [0, 0],
402
+ ];
403
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
404
+ var ResourceTag = [3, n0, _RTes, 0, [_RTK, _RTV], [0, 0]];
405
+ var RetentionPeriod = [3, n0, _RP, 0, [_RPV, _RPU], [1, 0]];
406
+ var RuleSummary = [
407
+ 3,
408
+ n0,
409
+ _RS,
410
+ 0,
411
+ [_I, _D, _RP, _LS, _RA],
412
+ [0, 0, () => RetentionPeriod, 0, 0],
413
+ ];
414
+ var ServiceQuotaExceededException = [
415
+ -3,
416
+ n0,
417
+ _SQEE,
418
+ {
419
+ [_e]: _c,
420
+ [_hE]: 402,
421
+ },
422
+ [_M, _R],
423
+ [0, 0],
424
+ ];
425
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
426
+ var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
427
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RAe, _T], [[0, 1], () => TagList]];
428
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
429
+ var UnlockDelay = [3, n0, _UD, 0, [_UDV, _UDU], [1, 0]];
430
+ var UnlockRuleRequest = [3, n0, _URR, 0, [_I], [[0, 1]]];
431
+ var UnlockRuleResponse = [
432
+ 3,
433
+ n0,
434
+ _URRn,
435
+ 0,
436
+ [_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _LET, _RA, _ERT],
437
+ [0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 4, 0, () => ExcludeResourceTags],
438
+ ];
439
+ var UntagResourceRequest = [
440
+ 3,
441
+ n0,
442
+ _URRnt,
443
+ 0,
444
+ [_RAe, _TK],
445
+ [
446
+ [0, 1],
447
+ [
448
+ 64 | 0,
449
+ {
450
+ [_hQ]: _tK,
451
+ },
452
+ ],
453
+ ],
454
+ ];
455
+ var UntagResourceResponse = [3, n0, _URRnta, 0, [], []];
456
+ var UpdateRuleRequest = [
457
+ 3,
458
+ n0,
459
+ _URRp,
460
+ 0,
461
+ [_I, _RP, _D, _RT, _RTe, _ERT],
462
+ [[0, 1], () => RetentionPeriod, 0, 0, () => ResourceTags, () => ExcludeResourceTags],
463
+ ];
464
+ var UpdateRuleResponse = [
465
+ 3,
466
+ n0,
467
+ _URRpd,
468
+ 0,
469
+ [_I, _RP, _D, _RT, _RTe, _S, _LS, _LET, _RA, _ERT],
470
+ [0, () => RetentionPeriod, 0, 0, () => ResourceTags, 0, 0, 4, 0, () => ExcludeResourceTags],
471
+ ];
472
+ var ValidationException = [
473
+ -3,
474
+ n0,
475
+ _VE,
476
+ {
477
+ [_e]: _c,
478
+ [_hE]: 400,
479
+ },
480
+ [_M, _R],
481
+ [0, 0],
482
+ ];
483
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
484
+ var RbinServiceException = [-3, _sm, "RbinServiceException", 0, [], []];
485
+ schema.TypeRegistry.for(_sm).registerError(RbinServiceException, RbinServiceException$1);
486
+ var ExcludeResourceTags = [1, n0, _ERT, 0, () => ResourceTag];
487
+ var ResourceTags = [1, n0, _RTe, 0, () => ResourceTag];
488
+ var RuleSummaryList = [1, n0, _RSL, 0, () => RuleSummary];
489
+ var TagList = [1, n0, _TL, 0, () => Tag];
490
+ var CreateRule = [
491
+ 9,
492
+ n0,
493
+ _CR,
494
+ {
495
+ [_h]: ["POST", "/rules", 201],
496
+ },
497
+ () => CreateRuleRequest,
498
+ () => CreateRuleResponse,
499
+ ];
500
+ var DeleteRule = [
501
+ 9,
502
+ n0,
503
+ _DR,
504
+ {
505
+ [_h]: ["DELETE", "/rules/{Identifier}", 204],
506
+ },
507
+ () => DeleteRuleRequest,
508
+ () => DeleteRuleResponse,
509
+ ];
510
+ var GetRule = [
511
+ 9,
512
+ n0,
513
+ _GR,
514
+ {
515
+ [_h]: ["GET", "/rules/{Identifier}", 200],
516
+ },
517
+ () => GetRuleRequest,
518
+ () => GetRuleResponse,
519
+ ];
520
+ var ListRules = [
521
+ 9,
522
+ n0,
523
+ _LR,
524
+ {
525
+ [_h]: ["POST", "/list-rules", 200],
526
+ },
527
+ () => ListRulesRequest,
528
+ () => ListRulesResponse,
529
+ ];
530
+ var ListTagsForResource = [
531
+ 9,
532
+ n0,
533
+ _LTFR,
534
+ {
535
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
536
+ },
537
+ () => ListTagsForResourceRequest,
538
+ () => ListTagsForResourceResponse,
539
+ ];
540
+ var LockRule = [
541
+ 9,
542
+ n0,
543
+ _LRo,
544
+ {
545
+ [_h]: ["PATCH", "/rules/{Identifier}/lock", 200],
546
+ },
547
+ () => LockRuleRequest,
548
+ () => LockRuleResponse,
549
+ ];
550
+ var TagResource = [
551
+ 9,
552
+ n0,
553
+ _TR,
554
+ {
555
+ [_h]: ["POST", "/tags/{ResourceArn}", 201],
556
+ },
557
+ () => TagResourceRequest,
558
+ () => TagResourceResponse,
559
+ ];
560
+ var UnlockRule = [
561
+ 9,
562
+ n0,
563
+ _UR,
564
+ {
565
+ [_h]: ["PATCH", "/rules/{Identifier}/unlock", 200],
566
+ },
567
+ () => UnlockRuleRequest,
568
+ () => UnlockRuleResponse,
569
+ ];
570
+ var UntagResource = [
571
+ 9,
572
+ n0,
573
+ _URn,
574
+ {
575
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 204],
576
+ },
577
+ () => UntagResourceRequest,
578
+ () => UntagResourceResponse,
579
+ ];
580
+ var UpdateRule = [
581
+ 9,
582
+ n0,
583
+ _URp,
584
+ {
585
+ [_h]: ["PATCH", "/rules/{Identifier}", 200],
586
+ },
587
+ () => UpdateRuleRequest,
588
+ () => UpdateRuleResponse,
589
+ ];
648
590
 
649
591
  class CreateRuleCommand extends smithyClient.Command
650
592
  .classBuilder()
651
593
  .ep(commonParams)
652
594
  .m(function (Command, cs, config, o) {
653
- return [
654
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
655
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
656
- ];
595
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
657
596
  })
658
597
  .s("AmazonRecycleBin", "CreateRule", {})
659
598
  .n("RbinClient", "CreateRuleCommand")
660
- .f(void 0, void 0)
661
- .ser(se_CreateRuleCommand)
662
- .de(de_CreateRuleCommand)
599
+ .sc(CreateRule)
663
600
  .build() {
664
601
  }
665
602
 
@@ -667,16 +604,11 @@ class DeleteRuleCommand extends smithyClient.Command
667
604
  .classBuilder()
668
605
  .ep(commonParams)
669
606
  .m(function (Command, cs, config, o) {
670
- return [
671
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
672
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
673
- ];
607
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
674
608
  })
675
609
  .s("AmazonRecycleBin", "DeleteRule", {})
676
610
  .n("RbinClient", "DeleteRuleCommand")
677
- .f(void 0, void 0)
678
- .ser(se_DeleteRuleCommand)
679
- .de(de_DeleteRuleCommand)
611
+ .sc(DeleteRule)
680
612
  .build() {
681
613
  }
682
614
 
@@ -684,16 +616,11 @@ class GetRuleCommand extends smithyClient.Command
684
616
  .classBuilder()
685
617
  .ep(commonParams)
686
618
  .m(function (Command, cs, config, o) {
687
- return [
688
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
689
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
690
- ];
619
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
691
620
  })
692
621
  .s("AmazonRecycleBin", "GetRule", {})
693
622
  .n("RbinClient", "GetRuleCommand")
694
- .f(void 0, void 0)
695
- .ser(se_GetRuleCommand)
696
- .de(de_GetRuleCommand)
623
+ .sc(GetRule)
697
624
  .build() {
698
625
  }
699
626
 
@@ -701,16 +628,11 @@ class ListRulesCommand extends smithyClient.Command
701
628
  .classBuilder()
702
629
  .ep(commonParams)
703
630
  .m(function (Command, cs, config, o) {
704
- return [
705
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
706
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
707
- ];
631
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
708
632
  })
709
633
  .s("AmazonRecycleBin", "ListRules", {})
710
634
  .n("RbinClient", "ListRulesCommand")
711
- .f(void 0, void 0)
712
- .ser(se_ListRulesCommand)
713
- .de(de_ListRulesCommand)
635
+ .sc(ListRules)
714
636
  .build() {
715
637
  }
716
638
 
@@ -718,16 +640,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
718
640
  .classBuilder()
719
641
  .ep(commonParams)
720
642
  .m(function (Command, cs, config, o) {
721
- return [
722
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
723
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
724
- ];
643
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
725
644
  })
726
645
  .s("AmazonRecycleBin", "ListTagsForResource", {})
727
646
  .n("RbinClient", "ListTagsForResourceCommand")
728
- .f(void 0, void 0)
729
- .ser(se_ListTagsForResourceCommand)
730
- .de(de_ListTagsForResourceCommand)
647
+ .sc(ListTagsForResource)
731
648
  .build() {
732
649
  }
733
650
 
@@ -735,16 +652,11 @@ class LockRuleCommand extends smithyClient.Command
735
652
  .classBuilder()
736
653
  .ep(commonParams)
737
654
  .m(function (Command, cs, config, o) {
738
- return [
739
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
740
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
741
- ];
655
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
742
656
  })
743
657
  .s("AmazonRecycleBin", "LockRule", {})
744
658
  .n("RbinClient", "LockRuleCommand")
745
- .f(void 0, void 0)
746
- .ser(se_LockRuleCommand)
747
- .de(de_LockRuleCommand)
659
+ .sc(LockRule)
748
660
  .build() {
749
661
  }
750
662
 
@@ -752,16 +664,11 @@ class TagResourceCommand extends smithyClient.Command
752
664
  .classBuilder()
753
665
  .ep(commonParams)
754
666
  .m(function (Command, cs, config, o) {
755
- return [
756
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
757
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
758
- ];
667
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
759
668
  })
760
669
  .s("AmazonRecycleBin", "TagResource", {})
761
670
  .n("RbinClient", "TagResourceCommand")
762
- .f(void 0, void 0)
763
- .ser(se_TagResourceCommand)
764
- .de(de_TagResourceCommand)
671
+ .sc(TagResource)
765
672
  .build() {
766
673
  }
767
674
 
@@ -769,16 +676,11 @@ class UnlockRuleCommand extends smithyClient.Command
769
676
  .classBuilder()
770
677
  .ep(commonParams)
771
678
  .m(function (Command, cs, config, o) {
772
- return [
773
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
774
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
775
- ];
679
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
776
680
  })
777
681
  .s("AmazonRecycleBin", "UnlockRule", {})
778
682
  .n("RbinClient", "UnlockRuleCommand")
779
- .f(void 0, void 0)
780
- .ser(se_UnlockRuleCommand)
781
- .de(de_UnlockRuleCommand)
683
+ .sc(UnlockRule)
782
684
  .build() {
783
685
  }
784
686
 
@@ -786,16 +688,11 @@ class UntagResourceCommand extends smithyClient.Command
786
688
  .classBuilder()
787
689
  .ep(commonParams)
788
690
  .m(function (Command, cs, config, o) {
789
- return [
790
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
791
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
792
- ];
691
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
793
692
  })
794
693
  .s("AmazonRecycleBin", "UntagResource", {})
795
694
  .n("RbinClient", "UntagResourceCommand")
796
- .f(void 0, void 0)
797
- .ser(se_UntagResourceCommand)
798
- .de(de_UntagResourceCommand)
695
+ .sc(UntagResource)
799
696
  .build() {
800
697
  }
801
698
 
@@ -803,16 +700,11 @@ class UpdateRuleCommand extends smithyClient.Command
803
700
  .classBuilder()
804
701
  .ep(commonParams)
805
702
  .m(function (Command, cs, config, o) {
806
- return [
807
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
808
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
809
- ];
703
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
810
704
  })
811
705
  .s("AmazonRecycleBin", "UpdateRule", {})
812
706
  .n("RbinClient", "UpdateRuleCommand")
813
- .f(void 0, void 0)
814
- .ser(se_UpdateRuleCommand)
815
- .de(de_UpdateRuleCommand)
707
+ .sc(UpdateRule)
816
708
  .build() {
817
709
  }
818
710
 
@@ -842,31 +734,31 @@ Object.defineProperty(exports, "__Client", {
842
734
  enumerable: true,
843
735
  get: function () { return smithyClient.Client; }
844
736
  });
845
- exports.ConflictException = ConflictException;
737
+ exports.ConflictException = ConflictException$1;
846
738
  exports.ConflictExceptionReason = ConflictExceptionReason;
847
739
  exports.CreateRuleCommand = CreateRuleCommand;
848
740
  exports.DeleteRuleCommand = DeleteRuleCommand;
849
741
  exports.GetRuleCommand = GetRuleCommand;
850
- exports.InternalServerException = InternalServerException;
742
+ exports.InternalServerException = InternalServerException$1;
851
743
  exports.ListRulesCommand = ListRulesCommand;
852
744
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
853
745
  exports.LockRuleCommand = LockRuleCommand;
854
746
  exports.LockState = LockState;
855
747
  exports.Rbin = Rbin;
856
748
  exports.RbinClient = RbinClient;
857
- exports.RbinServiceException = RbinServiceException;
858
- exports.ResourceNotFoundException = ResourceNotFoundException;
749
+ exports.RbinServiceException = RbinServiceException$1;
750
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
859
751
  exports.ResourceNotFoundExceptionReason = ResourceNotFoundExceptionReason;
860
752
  exports.ResourceType = ResourceType;
861
753
  exports.RetentionPeriodUnit = RetentionPeriodUnit;
862
754
  exports.RuleStatus = RuleStatus;
863
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
755
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
864
756
  exports.ServiceQuotaExceededExceptionReason = ServiceQuotaExceededExceptionReason;
865
757
  exports.TagResourceCommand = TagResourceCommand;
866
758
  exports.UnlockDelayUnit = UnlockDelayUnit;
867
759
  exports.UnlockRuleCommand = UnlockRuleCommand;
868
760
  exports.UntagResourceCommand = UntagResourceCommand;
869
761
  exports.UpdateRuleCommand = UpdateRuleCommand;
870
- exports.ValidationException = ValidationException;
762
+ exports.ValidationException = ValidationException$1;
871
763
  exports.ValidationExceptionReason = ValidationExceptionReason;
872
764
  exports.paginateListRules = paginateListRules;