@aws-sdk/client-backupsearch 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 (36) hide show
  1. package/dist-cjs/index.js +735 -890
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/BackupSearchClient.js +2 -0
  4. package/dist-es/commands/GetSearchJobCommand.js +3 -9
  5. package/dist-es/commands/GetSearchResultExportJobCommand.js +3 -9
  6. package/dist-es/commands/ListSearchJobBackupsCommand.js +3 -9
  7. package/dist-es/commands/ListSearchJobResultsCommand.js +3 -10
  8. package/dist-es/commands/ListSearchJobsCommand.js +3 -9
  9. package/dist-es/commands/ListSearchResultExportJobsCommand.js +3 -9
  10. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  11. package/dist-es/commands/StartSearchJobCommand.js +3 -9
  12. package/dist-es/commands/StartSearchResultExportJobCommand.js +3 -9
  13. package/dist-es/commands/StopSearchJobCommand.js +3 -9
  14. package/dist-es/commands/TagResourceCommand.js +3 -9
  15. package/dist-es/commands/UntagResourceCommand.js +3 -9
  16. package/dist-es/models/models_0.js +0 -39
  17. package/dist-es/runtimeConfig.shared.js +2 -0
  18. package/dist-es/schemas/schemas_0.js +702 -0
  19. package/dist-types/BackupSearchClient.d.ts +10 -1
  20. package/dist-types/models/models_0.d.ts +8 -18
  21. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  22. package/dist-types/runtimeConfig.d.ts +1 -0
  23. package/dist-types/runtimeConfig.native.d.ts +1 -0
  24. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  25. package/dist-types/schemas/schemas_0.d.ts +80 -0
  26. package/dist-types/ts3.4/BackupSearchClient.d.ts +4 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +0 -10
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +87 -0
  33. package/package.json +33 -33
  34. package/dist-es/protocols/Aws_restJson1.js +0 -753
  35. package/dist-types/protocols/Aws_restJson1.d.ts +0 -110
  36. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -149
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, {
@@ -89,6 +88,7 @@ class BackupSearchClient extends smithyClient.Client {
89
88
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
90
89
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
91
90
  this.config = _config_8;
91
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
92
92
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
93
93
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
94
94
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -108,14 +108,14 @@ class BackupSearchClient extends smithyClient.Client {
108
108
  }
109
109
  }
110
110
 
111
- class BackupSearchServiceException extends smithyClient.ServiceException {
111
+ let BackupSearchServiceException$1 = class BackupSearchServiceException extends smithyClient.ServiceException {
112
112
  constructor(options) {
113
113
  super(options);
114
114
  Object.setPrototypeOf(this, BackupSearchServiceException.prototype);
115
115
  }
116
- }
116
+ };
117
117
 
118
- class AccessDeniedException extends BackupSearchServiceException {
118
+ let AccessDeniedException$1 = class AccessDeniedException extends BackupSearchServiceException$1 {
119
119
  name = "AccessDeniedException";
120
120
  $fault = "client";
121
121
  constructor(opts) {
@@ -126,8 +126,8 @@ class AccessDeniedException extends BackupSearchServiceException {
126
126
  });
127
127
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
128
128
  }
129
- }
130
- class ConflictException extends BackupSearchServiceException {
129
+ };
130
+ let ConflictException$1 = class ConflictException extends BackupSearchServiceException$1 {
131
131
  name = "ConflictException";
132
132
  $fault = "client";
133
133
  resourceId;
@@ -142,8 +142,8 @@ class ConflictException extends BackupSearchServiceException {
142
142
  this.resourceId = opts.resourceId;
143
143
  this.resourceType = opts.resourceType;
144
144
  }
145
- }
146
- class InternalServerException extends BackupSearchServiceException {
145
+ };
146
+ let InternalServerException$1 = class InternalServerException extends BackupSearchServiceException$1 {
147
147
  name = "InternalServerException";
148
148
  $fault = "server";
149
149
  $retryable = {};
@@ -157,7 +157,7 @@ class InternalServerException extends BackupSearchServiceException {
157
157
  Object.setPrototypeOf(this, InternalServerException.prototype);
158
158
  this.retryAfterSeconds = opts.retryAfterSeconds;
159
159
  }
160
- }
160
+ };
161
161
  const ResourceType = {
162
162
  EBS: "EBS",
163
163
  S3: "S3",
@@ -169,7 +169,7 @@ const SearchJobState = {
169
169
  STOPPED: "STOPPED",
170
170
  STOPPING: "STOPPING",
171
171
  };
172
- class ResourceNotFoundException extends BackupSearchServiceException {
172
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends BackupSearchServiceException$1 {
173
173
  name = "ResourceNotFoundException";
174
174
  $fault = "client";
175
175
  resourceId;
@@ -184,8 +184,8 @@ class ResourceNotFoundException extends BackupSearchServiceException {
184
184
  this.resourceId = opts.resourceId;
185
185
  this.resourceType = opts.resourceType;
186
186
  }
187
- }
188
- class ThrottlingException extends BackupSearchServiceException {
187
+ };
188
+ let ThrottlingException$1 = class ThrottlingException extends BackupSearchServiceException$1 {
189
189
  name = "ThrottlingException";
190
190
  $fault = "client";
191
191
  $retryable = {
@@ -205,8 +205,8 @@ class ThrottlingException extends BackupSearchServiceException {
205
205
  this.quotaCode = opts.quotaCode;
206
206
  this.retryAfterSeconds = opts.retryAfterSeconds;
207
207
  }
208
- }
209
- class ValidationException extends BackupSearchServiceException {
208
+ };
209
+ let ValidationException$1 = class ValidationException extends BackupSearchServiceException$1 {
210
210
  name = "ValidationException";
211
211
  $fault = "client";
212
212
  constructor(opts) {
@@ -217,17 +217,7 @@ class ValidationException extends BackupSearchServiceException {
217
217
  });
218
218
  Object.setPrototypeOf(this, ValidationException.prototype);
219
219
  }
220
- }
221
- exports.ResultItem = void 0;
222
- (function (ResultItem) {
223
- ResultItem.visit = (value, visitor) => {
224
- if (value.S3ResultItem !== undefined)
225
- return visitor.S3ResultItem(value.S3ResultItem);
226
- if (value.EBSResultItem !== undefined)
227
- return visitor.EBSResultItem(value.EBSResultItem);
228
- return visitor._(value.$unknown[0], value.$unknown[1]);
229
- };
230
- })(exports.ResultItem || (exports.ResultItem = {}));
220
+ };
231
221
  const TimeConditionOperator = {
232
222
  EQUALS_TO: "EQUALS_TO",
233
223
  GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO",
@@ -250,7 +240,7 @@ const LongConditionOperator = {
250
240
  LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO",
251
241
  NOT_EQUALS_TO: "NOT_EQUALS_TO",
252
242
  };
253
- class ServiceQuotaExceededException extends BackupSearchServiceException {
243
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends BackupSearchServiceException$1 {
254
244
  name = "ServiceQuotaExceededException";
255
245
  $fault = "client";
256
246
  resourceId;
@@ -269,803 +259,717 @@ class ServiceQuotaExceededException extends BackupSearchServiceException {
269
259
  this.serviceCode = opts.serviceCode;
270
260
  this.quotaCode = opts.quotaCode;
271
261
  }
272
- }
262
+ };
273
263
  const ExportJobStatus = {
274
264
  COMPLETED: "COMPLETED",
275
265
  FAILED: "FAILED",
276
266
  RUNNING: "RUNNING",
277
267
  };
278
- exports.ExportSpecification = void 0;
279
- (function (ExportSpecification) {
280
- ExportSpecification.visit = (value, visitor) => {
281
- if (value.s3ExportSpecification !== undefined)
282
- return visitor.s3ExportSpecification(value.s3ExportSpecification);
283
- return visitor._(value.$unknown[0], value.$unknown[1]);
284
- };
285
- })(exports.ExportSpecification || (exports.ExportSpecification = {}));
286
- const EBSResultItemFilterSensitiveLog = (obj) => ({
287
- ...obj,
288
- ...(obj.FilePath && { FilePath: smithyClient.SENSITIVE_STRING }),
289
- });
290
- const S3ResultItemFilterSensitiveLog = (obj) => ({
291
- ...obj,
292
- ...(obj.ObjectKey && { ObjectKey: smithyClient.SENSITIVE_STRING }),
293
- });
294
- const ResultItemFilterSensitiveLog = (obj) => {
295
- if (obj.S3ResultItem !== undefined)
296
- return { S3ResultItem: S3ResultItemFilterSensitiveLog(obj.S3ResultItem) };
297
- if (obj.EBSResultItem !== undefined)
298
- return { EBSResultItem: EBSResultItemFilterSensitiveLog(obj.EBSResultItem) };
299
- if (obj.$unknown !== undefined)
300
- return { [obj.$unknown[0]]: "UNKNOWN" };
301
- };
302
- const ListSearchJobResultsOutputFilterSensitiveLog = (obj) => ({
303
- ...obj,
304
- ...(obj.Results && { Results: obj.Results.map((item) => ResultItemFilterSensitiveLog(item)) }),
305
- });
306
268
 
307
- const se_GetSearchJobCommand = async (input, context) => {
308
- const b = core.requestBuilder(input, context);
309
- const headers = {};
310
- b.bp("/search-jobs/{SearchJobIdentifier}");
311
- b.p("SearchJobIdentifier", () => input.SearchJobIdentifier, "{SearchJobIdentifier}", false);
312
- let body;
313
- b.m("GET").h(headers).b(body);
314
- return b.build();
315
- };
316
- const se_GetSearchResultExportJobCommand = async (input, context) => {
317
- const b = core.requestBuilder(input, context);
318
- const headers = {};
319
- b.bp("/export-search-jobs/{ExportJobIdentifier}");
320
- b.p("ExportJobIdentifier", () => input.ExportJobIdentifier, "{ExportJobIdentifier}", false);
321
- let body;
322
- b.m("GET").h(headers).b(body);
323
- return b.build();
324
- };
325
- const se_ListSearchJobBackupsCommand = async (input, context) => {
326
- const b = core.requestBuilder(input, context);
327
- const headers = {};
328
- b.bp("/search-jobs/{SearchJobIdentifier}/backups");
329
- b.p("SearchJobIdentifier", () => input.SearchJobIdentifier, "{SearchJobIdentifier}", false);
330
- const query = smithyClient.map({
331
- [_nT]: [, input[_NT]],
332
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
333
- });
334
- let body;
335
- b.m("GET").h(headers).q(query).b(body);
336
- return b.build();
337
- };
338
- const se_ListSearchJobResultsCommand = async (input, context) => {
339
- const b = core.requestBuilder(input, context);
340
- const headers = {};
341
- b.bp("/search-jobs/{SearchJobIdentifier}/search-results");
342
- b.p("SearchJobIdentifier", () => input.SearchJobIdentifier, "{SearchJobIdentifier}", false);
343
- const query = smithyClient.map({
344
- [_nT]: [, input[_NT]],
345
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
346
- });
347
- let body;
348
- b.m("GET").h(headers).q(query).b(body);
349
- return b.build();
350
- };
351
- const se_ListSearchJobsCommand = async (input, context) => {
352
- const b = core.requestBuilder(input, context);
353
- const headers = {};
354
- b.bp("/search-jobs");
355
- const query = smithyClient.map({
356
- [_S]: [, input[_BS]],
357
- [_NT]: [, input[_NT]],
358
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
359
- });
360
- let body;
361
- b.m("GET").h(headers).q(query).b(body);
362
- return b.build();
363
- };
364
- const se_ListSearchResultExportJobsCommand = async (input, context) => {
365
- const b = core.requestBuilder(input, context);
366
- const headers = {};
367
- b.bp("/export-search-jobs");
368
- const query = smithyClient.map({
369
- [_S]: [, input[_S]],
370
- [_SJI]: [, input[_SJI]],
371
- [_NT]: [, input[_NT]],
372
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
373
- });
374
- let body;
375
- b.m("GET").h(headers).q(query).b(body);
376
- return b.build();
377
- };
378
- const se_ListTagsForResourceCommand = async (input, context) => {
379
- const b = core.requestBuilder(input, context);
380
- const headers = {};
381
- b.bp("/tags/{ResourceArn}");
382
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
383
- let body;
384
- b.m("GET").h(headers).b(body);
385
- return b.build();
386
- };
387
- const se_StartSearchJobCommand = async (input, context) => {
388
- const b = core.requestBuilder(input, context);
389
- const headers = {
390
- "content-type": "application/json",
391
- };
392
- b.bp("/search-jobs");
393
- let body;
394
- body = JSON.stringify(smithyClient.take(input, {
395
- ClientToken: [],
396
- EncryptionKeyArn: [],
397
- ItemFilters: (_) => se_ItemFilters(_),
398
- Name: [],
399
- SearchScope: (_) => se_SearchScope(_),
400
- Tags: (_) => se_TagMap(_),
401
- }));
402
- b.m("PUT").h(headers).b(body);
403
- return b.build();
404
- };
405
- const se_StartSearchResultExportJobCommand = async (input, context) => {
406
- const b = core.requestBuilder(input, context);
407
- const headers = {
408
- "content-type": "application/json",
409
- };
410
- b.bp("/export-search-jobs");
411
- let body;
412
- body = JSON.stringify(smithyClient.take(input, {
413
- ClientToken: [],
414
- ExportSpecification: (_) => smithyClient._json(_),
415
- RoleArn: [],
416
- SearchJobIdentifier: [],
417
- Tags: (_) => se_TagMap(_),
418
- }));
419
- b.m("PUT").h(headers).b(body);
420
- return b.build();
421
- };
422
- const se_StopSearchJobCommand = async (input, context) => {
423
- const b = core.requestBuilder(input, context);
424
- const headers = {};
425
- b.bp("/search-jobs/{SearchJobIdentifier}/actions/cancel");
426
- b.p("SearchJobIdentifier", () => input.SearchJobIdentifier, "{SearchJobIdentifier}", false);
427
- let body;
428
- b.m("PUT").h(headers).b(body);
429
- return b.build();
430
- };
431
- const se_TagResourceCommand = async (input, context) => {
432
- const b = core.requestBuilder(input, context);
433
- const headers = {
434
- "content-type": "application/json",
435
- };
436
- b.bp("/tags/{ResourceArn}");
437
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
438
- let body;
439
- body = JSON.stringify(smithyClient.take(input, {
440
- Tags: (_) => se_TagMap(_),
441
- }));
442
- b.m("POST").h(headers).b(body);
443
- return b.build();
444
- };
445
- const se_UntagResourceCommand = async (input, context) => {
446
- const b = core.requestBuilder(input, context);
447
- const headers = {};
448
- b.bp("/tags/{ResourceArn}");
449
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
450
- const query = smithyClient.map({
451
- [_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
452
- });
453
- let body;
454
- b.m("DELETE").h(headers).q(query).b(body);
455
- return b.build();
456
- };
457
- const de_GetSearchJobCommand = async (output, context) => {
458
- if (output.statusCode !== 200 && output.statusCode >= 300) {
459
- return de_CommandError(output, context);
460
- }
461
- const contents = smithyClient.map({
462
- $metadata: deserializeMetadata(output),
463
- });
464
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
465
- const doc = smithyClient.take(data, {
466
- CompletionTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
467
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
468
- CurrentSearchProgress: smithyClient._json,
469
- EncryptionKeyArn: smithyClient.expectString,
470
- ItemFilters: (_) => de_ItemFilters(_),
471
- Name: smithyClient.expectString,
472
- SearchJobArn: smithyClient.expectString,
473
- SearchJobIdentifier: smithyClient.expectString,
474
- SearchScope: (_) => de_SearchScope(_),
475
- SearchScopeSummary: smithyClient._json,
476
- Status: smithyClient.expectString,
477
- StatusMessage: smithyClient.expectString,
478
- });
479
- Object.assign(contents, doc);
480
- return contents;
481
- };
482
- const de_GetSearchResultExportJobCommand = 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
- CompletionTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
492
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
493
- ExportJobArn: smithyClient.expectString,
494
- ExportJobIdentifier: smithyClient.expectString,
495
- ExportSpecification: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
496
- SearchJobArn: smithyClient.expectString,
497
- Status: smithyClient.expectString,
498
- StatusMessage: smithyClient.expectString,
499
- });
500
- Object.assign(contents, doc);
501
- return contents;
502
- };
503
- const de_ListSearchJobBackupsCommand = async (output, context) => {
504
- if (output.statusCode !== 200 && output.statusCode >= 300) {
505
- return de_CommandError(output, context);
506
- }
507
- const contents = smithyClient.map({
508
- $metadata: deserializeMetadata(output),
509
- });
510
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
511
- const doc = smithyClient.take(data, {
512
- NextToken: smithyClient.expectString,
513
- Results: (_) => de_SearchJobBackupsResults(_),
514
- });
515
- Object.assign(contents, doc);
516
- return contents;
517
- };
518
- const de_ListSearchJobResultsCommand = async (output, context) => {
519
- if (output.statusCode !== 200 && output.statusCode >= 300) {
520
- return de_CommandError(output, context);
521
- }
522
- const contents = smithyClient.map({
523
- $metadata: deserializeMetadata(output),
524
- });
525
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
526
- const doc = smithyClient.take(data, {
527
- NextToken: smithyClient.expectString,
528
- Results: (_) => de_Results(_),
529
- });
530
- Object.assign(contents, doc);
531
- return contents;
532
- };
533
- const de_ListSearchJobsCommand = async (output, context) => {
534
- if (output.statusCode !== 200 && output.statusCode >= 300) {
535
- return de_CommandError(output, context);
536
- }
537
- const contents = smithyClient.map({
538
- $metadata: deserializeMetadata(output),
539
- });
540
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
541
- const doc = smithyClient.take(data, {
542
- NextToken: smithyClient.expectString,
543
- SearchJobs: (_) => de_SearchJobs(_),
544
- });
545
- Object.assign(contents, doc);
546
- return contents;
547
- };
548
- const de_ListSearchResultExportJobsCommand = async (output, context) => {
549
- if (output.statusCode !== 200 && output.statusCode >= 300) {
550
- return de_CommandError(output, context);
551
- }
552
- const contents = smithyClient.map({
553
- $metadata: deserializeMetadata(output),
554
- });
555
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
556
- const doc = smithyClient.take(data, {
557
- ExportJobs: (_) => de_ExportJobSummaries(_),
558
- NextToken: smithyClient.expectString,
559
- });
560
- Object.assign(contents, doc);
561
- return contents;
562
- };
563
- const de_ListTagsForResourceCommand = async (output, context) => {
564
- if (output.statusCode !== 200 && output.statusCode >= 300) {
565
- return de_CommandError(output, context);
566
- }
567
- const contents = smithyClient.map({
568
- $metadata: deserializeMetadata(output),
569
- });
570
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
571
- const doc = smithyClient.take(data, {
572
- Tags: (_) => de_TagMap(_),
573
- });
574
- Object.assign(contents, doc);
575
- return contents;
576
- };
577
- const de_StartSearchJobCommand = async (output, context) => {
578
- if (output.statusCode !== 200 && output.statusCode >= 300) {
579
- return de_CommandError(output, context);
580
- }
581
- const contents = smithyClient.map({
582
- $metadata: deserializeMetadata(output),
583
- });
584
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
585
- const doc = smithyClient.take(data, {
586
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
587
- SearchJobArn: smithyClient.expectString,
588
- SearchJobIdentifier: smithyClient.expectString,
589
- });
590
- Object.assign(contents, doc);
591
- return contents;
592
- };
593
- const de_StartSearchResultExportJobCommand = async (output, context) => {
594
- if (output.statusCode !== 200 && output.statusCode >= 300) {
595
- return de_CommandError(output, context);
596
- }
597
- const contents = smithyClient.map({
598
- $metadata: deserializeMetadata(output),
599
- });
600
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
601
- const doc = smithyClient.take(data, {
602
- ExportJobArn: smithyClient.expectString,
603
- ExportJobIdentifier: smithyClient.expectString,
604
- });
605
- Object.assign(contents, doc);
606
- return contents;
607
- };
608
- const de_StopSearchJobCommand = async (output, context) => {
609
- if (output.statusCode !== 200 && output.statusCode >= 300) {
610
- return de_CommandError(output, context);
611
- }
612
- const contents = smithyClient.map({
613
- $metadata: deserializeMetadata(output),
614
- });
615
- await smithyClient.collectBody(output.body, context);
616
- return contents;
617
- };
618
- const de_TagResourceCommand = async (output, context) => {
619
- if (output.statusCode !== 200 && output.statusCode >= 300) {
620
- return de_CommandError(output, context);
621
- }
622
- const contents = smithyClient.map({
623
- $metadata: deserializeMetadata(output),
624
- });
625
- await smithyClient.collectBody(output.body, context);
626
- return contents;
627
- };
628
- const de_UntagResourceCommand = async (output, context) => {
629
- if (output.statusCode !== 200 && output.statusCode >= 300) {
630
- return de_CommandError(output, context);
631
- }
632
- const contents = smithyClient.map({
633
- $metadata: deserializeMetadata(output),
634
- });
635
- await smithyClient.collectBody(output.body, context);
636
- return contents;
637
- };
638
- const de_CommandError = async (output, context) => {
639
- const parsedOutput = {
640
- ...output,
641
- body: await core$1.parseJsonErrorBody(output.body, context),
642
- };
643
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
644
- switch (errorCode) {
645
- case "AccessDeniedException":
646
- case "com.amazonaws.backupsearch#AccessDeniedException":
647
- throw await de_AccessDeniedExceptionRes(parsedOutput);
648
- case "InternalServerException":
649
- case "com.amazonaws.backupsearch#InternalServerException":
650
- throw await de_InternalServerExceptionRes(parsedOutput);
651
- case "ResourceNotFoundException":
652
- case "com.amazonaws.backupsearch#ResourceNotFoundException":
653
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
654
- case "ThrottlingException":
655
- case "com.amazonaws.backupsearch#ThrottlingException":
656
- throw await de_ThrottlingExceptionRes(parsedOutput);
657
- case "ValidationException":
658
- case "com.amazonaws.backupsearch#ValidationException":
659
- throw await de_ValidationExceptionRes(parsedOutput);
660
- case "ServiceQuotaExceededException":
661
- case "com.amazonaws.backupsearch#ServiceQuotaExceededException":
662
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
663
- case "ConflictException":
664
- case "com.amazonaws.backupsearch#ConflictException":
665
- throw await de_ConflictExceptionRes(parsedOutput);
666
- default:
667
- const parsedBody = parsedOutput.body;
668
- return throwDefaultError({
669
- output,
670
- parsedBody,
671
- errorCode,
672
- });
673
- }
674
- };
675
- const throwDefaultError = smithyClient.withBaseException(BackupSearchServiceException);
676
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
677
- const contents = smithyClient.map({});
678
- const data = parsedOutput.body;
679
- const doc = smithyClient.take(data, {
680
- message: smithyClient.expectString,
681
- });
682
- Object.assign(contents, doc);
683
- const exception = new AccessDeniedException({
684
- $metadata: deserializeMetadata(parsedOutput),
685
- ...contents,
686
- });
687
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
688
- };
689
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
690
- const contents = smithyClient.map({});
691
- const data = parsedOutput.body;
692
- const doc = smithyClient.take(data, {
693
- message: smithyClient.expectString,
694
- resourceId: smithyClient.expectString,
695
- resourceType: smithyClient.expectString,
696
- });
697
- Object.assign(contents, doc);
698
- const exception = new ConflictException({
699
- $metadata: deserializeMetadata(parsedOutput),
700
- ...contents,
701
- });
702
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
703
- };
704
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
705
- const contents = smithyClient.map({
706
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
707
- });
708
- const data = parsedOutput.body;
709
- const doc = smithyClient.take(data, {
710
- message: smithyClient.expectString,
711
- });
712
- Object.assign(contents, doc);
713
- const exception = new InternalServerException({
714
- $metadata: deserializeMetadata(parsedOutput),
715
- ...contents,
716
- });
717
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
718
- };
719
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
720
- const contents = smithyClient.map({});
721
- const data = parsedOutput.body;
722
- const doc = smithyClient.take(data, {
723
- message: smithyClient.expectString,
724
- resourceId: smithyClient.expectString,
725
- resourceType: smithyClient.expectString,
726
- });
727
- Object.assign(contents, doc);
728
- const exception = new ResourceNotFoundException({
729
- $metadata: deserializeMetadata(parsedOutput),
730
- ...contents,
731
- });
732
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
733
- };
734
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
735
- const contents = smithyClient.map({});
736
- const data = parsedOutput.body;
737
- const doc = smithyClient.take(data, {
738
- message: smithyClient.expectString,
739
- quotaCode: smithyClient.expectString,
740
- resourceId: smithyClient.expectString,
741
- resourceType: smithyClient.expectString,
742
- serviceCode: smithyClient.expectString,
743
- });
744
- Object.assign(contents, doc);
745
- const exception = new ServiceQuotaExceededException({
746
- $metadata: deserializeMetadata(parsedOutput),
747
- ...contents,
748
- });
749
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
750
- };
751
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
752
- const contents = smithyClient.map({
753
- [_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
754
- });
755
- const data = parsedOutput.body;
756
- const doc = smithyClient.take(data, {
757
- message: smithyClient.expectString,
758
- quotaCode: smithyClient.expectString,
759
- serviceCode: smithyClient.expectString,
760
- });
761
- Object.assign(contents, doc);
762
- const exception = new ThrottlingException({
763
- $metadata: deserializeMetadata(parsedOutput),
764
- ...contents,
765
- });
766
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
767
- };
768
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
769
- const contents = smithyClient.map({});
770
- const data = parsedOutput.body;
771
- const doc = smithyClient.take(data, {
772
- message: smithyClient.expectString,
773
- });
774
- Object.assign(contents, doc);
775
- const exception = new ValidationException({
776
- $metadata: deserializeMetadata(parsedOutput),
777
- ...contents,
778
- });
779
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
780
- };
781
- const se_BackupCreationTimeFilter = (input, context) => {
782
- return smithyClient.take(input, {
783
- CreatedAfter: (_) => _.getTime() / 1_000,
784
- CreatedBefore: (_) => _.getTime() / 1_000,
785
- });
786
- };
787
- const se_EBSItemFilter = (input, context) => {
788
- return smithyClient.take(input, {
789
- CreationTimes: (_) => se_TimeConditionList(_),
790
- FilePaths: smithyClient._json,
791
- LastModificationTimes: (_) => se_TimeConditionList(_),
792
- Sizes: smithyClient._json,
793
- });
794
- };
795
- const se_EBSItemFilters = (input, context) => {
796
- return input
797
- .filter((e) => e != null)
798
- .map((entry) => {
799
- return se_EBSItemFilter(entry);
800
- });
801
- };
802
- const se_ItemFilters = (input, context) => {
803
- return smithyClient.take(input, {
804
- EBSItemFilters: (_) => se_EBSItemFilters(_),
805
- S3ItemFilters: (_) => se_S3ItemFilters(_),
806
- });
807
- };
808
- const se_S3ItemFilter = (input, context) => {
809
- return smithyClient.take(input, {
810
- CreationTimes: (_) => se_TimeConditionList(_),
811
- ETags: smithyClient._json,
812
- ObjectKeys: smithyClient._json,
813
- Sizes: smithyClient._json,
814
- VersionIds: smithyClient._json,
815
- });
816
- };
817
- const se_S3ItemFilters = (input, context) => {
818
- return input
819
- .filter((e) => e != null)
820
- .map((entry) => {
821
- return se_S3ItemFilter(entry);
822
- });
823
- };
824
- const se_SearchScope = (input, context) => {
825
- return smithyClient.take(input, {
826
- BackupResourceArns: smithyClient._json,
827
- BackupResourceCreationTime: (_) => se_BackupCreationTimeFilter(_),
828
- BackupResourceTags: (_) => se_TagMap(_),
829
- BackupResourceTypes: smithyClient._json,
830
- SourceResourceArns: smithyClient._json,
831
- });
832
- };
833
- const se_TagMap = (input, context) => {
834
- return Object.entries(input).reduce((acc, [key, value]) => {
835
- if (value === null) {
836
- acc[key] = null;
837
- return acc;
838
- }
839
- acc[key] = value;
840
- return acc;
841
- }, {});
842
- };
843
- const se_TimeCondition = (input, context) => {
844
- return smithyClient.take(input, {
845
- Operator: [],
846
- Value: (_) => _.getTime() / 1_000,
847
- });
848
- };
849
- const se_TimeConditionList = (input, context) => {
850
- return input
851
- .filter((e) => e != null)
852
- .map((entry) => {
853
- return se_TimeCondition(entry);
854
- });
855
- };
856
- const de_BackupCreationTimeFilter = (output, context) => {
857
- return smithyClient.take(output, {
858
- CreatedAfter: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
859
- CreatedBefore: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
860
- });
861
- };
862
- const de_EBSItemFilter = (output, context) => {
863
- return smithyClient.take(output, {
864
- CreationTimes: (_) => de_TimeConditionList(_),
865
- FilePaths: smithyClient._json,
866
- LastModificationTimes: (_) => de_TimeConditionList(_),
867
- Sizes: smithyClient._json,
868
- });
869
- };
870
- const de_EBSItemFilters = (output, context) => {
871
- const retVal = (output || [])
872
- .filter((e) => e != null)
873
- .map((entry) => {
874
- return de_EBSItemFilter(entry);
875
- });
876
- return retVal;
877
- };
878
- const de_EBSResultItem = (output, context) => {
879
- return smithyClient.take(output, {
880
- BackupResourceArn: smithyClient.expectString,
881
- BackupVaultName: smithyClient.expectString,
882
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
883
- FilePath: smithyClient.expectString,
884
- FileSize: smithyClient.expectLong,
885
- FileSystemIdentifier: smithyClient.expectString,
886
- LastModifiedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
887
- SourceResourceArn: smithyClient.expectString,
888
- });
889
- };
890
- const de_ExportJobSummaries = (output, context) => {
891
- const retVal = (output || [])
892
- .filter((e) => e != null)
893
- .map((entry) => {
894
- return de_ExportJobSummary(entry);
895
- });
896
- return retVal;
897
- };
898
- const de_ExportJobSummary = (output, context) => {
899
- return smithyClient.take(output, {
900
- CompletionTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
901
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
902
- ExportJobArn: smithyClient.expectString,
903
- ExportJobIdentifier: smithyClient.expectString,
904
- SearchJobArn: smithyClient.expectString,
905
- Status: smithyClient.expectString,
906
- StatusMessage: smithyClient.expectString,
907
- });
908
- };
909
- const de_ItemFilters = (output, context) => {
910
- return smithyClient.take(output, {
911
- EBSItemFilters: (_) => de_EBSItemFilters(_),
912
- S3ItemFilters: (_) => de_S3ItemFilters(_),
913
- });
914
- };
915
- const de_ResultItem = (output, context) => {
916
- if (output.EBSResultItem != null) {
917
- return {
918
- EBSResultItem: de_EBSResultItem(output.EBSResultItem),
919
- };
920
- }
921
- if (output.S3ResultItem != null) {
922
- return {
923
- S3ResultItem: de_S3ResultItem(output.S3ResultItem),
924
- };
925
- }
926
- return { $unknown: Object.entries(output)[0] };
927
- };
928
- const de_Results = (output, context) => {
929
- const retVal = (output || [])
930
- .filter((e) => e != null)
931
- .map((entry) => {
932
- return de_ResultItem(core$1.awsExpectUnion(entry));
933
- });
934
- return retVal;
935
- };
936
- const de_S3ItemFilter = (output, context) => {
937
- return smithyClient.take(output, {
938
- CreationTimes: (_) => de_TimeConditionList(_),
939
- ETags: smithyClient._json,
940
- ObjectKeys: smithyClient._json,
941
- Sizes: smithyClient._json,
942
- VersionIds: smithyClient._json,
943
- });
944
- };
945
- const de_S3ItemFilters = (output, context) => {
946
- const retVal = (output || [])
947
- .filter((e) => e != null)
948
- .map((entry) => {
949
- return de_S3ItemFilter(entry);
950
- });
951
- return retVal;
952
- };
953
- const de_S3ResultItem = (output, context) => {
954
- return smithyClient.take(output, {
955
- BackupResourceArn: smithyClient.expectString,
956
- BackupVaultName: smithyClient.expectString,
957
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
958
- ETag: smithyClient.expectString,
959
- ObjectKey: smithyClient.expectString,
960
- ObjectSize: smithyClient.expectLong,
961
- SourceResourceArn: smithyClient.expectString,
962
- VersionId: smithyClient.expectString,
963
- });
964
- };
965
- const de_SearchJobBackupsResult = (output, context) => {
966
- return smithyClient.take(output, {
967
- BackupCreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
968
- BackupResourceArn: smithyClient.expectString,
969
- IndexCreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
970
- ResourceType: smithyClient.expectString,
971
- SourceResourceArn: smithyClient.expectString,
972
- Status: smithyClient.expectString,
973
- StatusMessage: smithyClient.expectString,
974
- });
975
- };
976
- const de_SearchJobBackupsResults = (output, context) => {
977
- const retVal = (output || [])
978
- .filter((e) => e != null)
979
- .map((entry) => {
980
- return de_SearchJobBackupsResult(entry);
981
- });
982
- return retVal;
983
- };
984
- const de_SearchJobs = (output, context) => {
985
- const retVal = (output || [])
986
- .filter((e) => e != null)
987
- .map((entry) => {
988
- return de_SearchJobSummary(entry);
989
- });
990
- return retVal;
991
- };
992
- const de_SearchJobSummary = (output, context) => {
993
- return smithyClient.take(output, {
994
- CompletionTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
995
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
996
- Name: smithyClient.expectString,
997
- SearchJobArn: smithyClient.expectString,
998
- SearchJobIdentifier: smithyClient.expectString,
999
- SearchScopeSummary: smithyClient._json,
1000
- Status: smithyClient.expectString,
1001
- StatusMessage: smithyClient.expectString,
1002
- });
1003
- };
1004
- const de_SearchScope = (output, context) => {
1005
- return smithyClient.take(output, {
1006
- BackupResourceArns: smithyClient._json,
1007
- BackupResourceCreationTime: (_) => de_BackupCreationTimeFilter(_),
1008
- BackupResourceTags: (_) => de_TagMap(_),
1009
- BackupResourceTypes: smithyClient._json,
1010
- SourceResourceArns: smithyClient._json,
1011
- });
1012
- };
1013
- const de_TagMap = (output, context) => {
1014
- return Object.entries(output).reduce((acc, [key, value]) => {
1015
- if (value === null) {
1016
- acc[key] = null;
1017
- return acc;
1018
- }
1019
- acc[key] = smithyClient.expectString(value);
1020
- return acc;
1021
- }, {});
1022
- };
1023
- const de_TimeCondition = (output, context) => {
1024
- return smithyClient.take(output, {
1025
- Operator: smithyClient.expectString,
1026
- Value: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1027
- });
1028
- };
1029
- const de_TimeConditionList = (output, context) => {
1030
- const retVal = (output || [])
1031
- .filter((e) => e != null)
1032
- .map((entry) => {
1033
- return de_TimeCondition(entry);
1034
- });
1035
- return retVal;
1036
- };
1037
- const deserializeMetadata = (output) => ({
1038
- httpStatusCode: output.statusCode,
1039
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1040
- extendedRequestId: output.headers["x-amz-id-2"],
1041
- cfId: output.headers["x-amz-cf-id"],
1042
- });
269
+ const _ADE = "AccessDeniedException";
270
+ const _BCT = "BackupCreationTime";
271
+ const _BCTF = "BackupCreationTimeFilter";
272
+ const _BRA = "BackupResourceArn";
273
+ const _BRAa = "BackupResourceArns";
274
+ const _BRCT = "BackupResourceCreationTime";
275
+ const _BRT = "BackupResourceTypes";
276
+ const _BRTa = "BackupResourceTags";
1043
277
  const _BS = "ByStatus";
278
+ const _BVN = "BackupVaultName";
279
+ const _CA = "CreatedAfter";
280
+ const _CB = "CreatedBefore";
281
+ const _CE = "ConflictException";
282
+ const _CSP = "CurrentSearchProgress";
283
+ const _CT = "CreationTimes";
284
+ const _CTl = "ClientToken";
285
+ const _CTo = "CompletionTime";
286
+ const _CTr = "CreationTime";
287
+ const _DB = "DestinationBucket";
288
+ const _DP = "DestinationPrefix";
289
+ const _EBSIF = "EBSItemFilter";
290
+ const _EBSIFt = "EBSItemFilters";
291
+ const _EBSRI = "EBSResultItem";
292
+ const _EJ = "ExportJobs";
293
+ const _EJA = "ExportJobArn";
294
+ const _EJI = "ExportJobIdentifier";
295
+ const _EJS = "ExportJobSummary";
296
+ const _EJSx = "ExportJobSummaries";
297
+ const _EKA = "EncryptionKeyArn";
298
+ const _ES = "ExportSpecification";
299
+ const _ET = "ETags";
300
+ const _ETa = "ETag";
301
+ const _FP = "FilePath";
302
+ const _FPi = "FilePaths";
303
+ const _FS = "FileSize";
304
+ const _FSI = "FileSystemIdentifier";
305
+ const _GSJ = "GetSearchJob";
306
+ const _GSJI = "GetSearchJobInput";
307
+ const _GSJO = "GetSearchJobOutput";
308
+ const _GSREJ = "GetSearchResultExportJob";
309
+ const _GSREJI = "GetSearchResultExportJobInput";
310
+ const _GSREJO = "GetSearchResultExportJobOutput";
311
+ const _ICT = "IndexCreationTime";
312
+ const _IF = "ItemFilters";
313
+ const _IMC = "ItemsMatchedCount";
314
+ const _ISC = "ItemsScannedCount";
315
+ const _ISE = "InternalServerException";
316
+ const _LC = "LongCondition";
317
+ const _LCL = "LongConditionList";
318
+ const _LMT = "LastModificationTimes";
319
+ const _LMTa = "LastModifiedTime";
320
+ const _LSJ = "ListSearchJobs";
321
+ const _LSJB = "ListSearchJobBackups";
322
+ const _LSJBI = "ListSearchJobBackupsInput";
323
+ const _LSJBO = "ListSearchJobBackupsOutput";
324
+ const _LSJI = "ListSearchJobsInput";
325
+ const _LSJO = "ListSearchJobsOutput";
326
+ const _LSJR = "ListSearchJobResults";
327
+ const _LSJRI = "ListSearchJobResultsInput";
328
+ const _LSJRO = "ListSearchJobResultsOutput";
329
+ const _LSREJ = "ListSearchResultExportJobs";
330
+ const _LSREJI = "ListSearchResultExportJobsInput";
331
+ const _LSREJO = "ListSearchResultExportJobsOutput";
332
+ const _LTFR = "ListTagsForResource";
333
+ const _LTFRR = "ListTagsForResourceRequest";
334
+ const _LTFRRi = "ListTagsForResourceResponse";
1044
335
  const _MR = "MaxResults";
336
+ const _N = "Name";
1045
337
  const _NT = "NextToken";
1046
- const _S = "Status";
338
+ const _O = "Operator";
339
+ const _OK = "ObjectKey";
340
+ const _OKb = "ObjectKeys";
341
+ const _OS = "ObjectSize";
342
+ const _R = "Results";
343
+ const _RA = "Retry-After";
344
+ const _RAe = "ResourceArn";
345
+ const _RAo = "RoleArn";
346
+ const _RI = "ResultItem";
347
+ const _RNFE = "ResourceNotFoundException";
348
+ const _RPSC = "RecoveryPointsScannedCount";
349
+ const _RT = "ResourceType";
350
+ const _S = "Sizes";
351
+ const _SC = "StringCondition";
352
+ const _SCL = "StringConditionList";
353
+ const _SES = "S3ExportSpecification";
354
+ const _SIF = "S3ItemFilters";
355
+ const _SIFt = "S3ItemFilter";
356
+ const _SJ = "SearchJobs";
357
+ const _SJA = "SearchJobArn";
358
+ const _SJBR = "SearchJobBackupsResult";
359
+ const _SJBRe = "SearchJobBackupsResults";
1047
360
  const _SJI = "SearchJobIdentifier";
361
+ const _SJS = "SearchJobSummary";
362
+ const _SM = "StatusMessage";
363
+ const _SQEE = "ServiceQuotaExceededException";
364
+ const _SRA = "SourceResourceArn";
365
+ const _SRAo = "SourceResourceArns";
366
+ const _SRI = "S3ResultItem";
367
+ const _SS = "SearchScope";
368
+ const _SSJ = "StartSearchJob";
369
+ const _SSJI = "StartSearchJobInput";
370
+ const _SSJIt = "StopSearchJobInput";
371
+ const _SSJO = "StartSearchJobOutput";
372
+ const _SSJOt = "StopSearchJobOutput";
373
+ const _SSJt = "StopSearchJob";
374
+ const _SSREJ = "StartSearchResultExportJob";
375
+ const _SSREJI = "StartSearchResultExportJobInput";
376
+ const _SSREJO = "StartSearchResultExportJobOutput";
377
+ const _SSS = "SearchScopeSummary";
378
+ const _St = "Status";
379
+ const _T = "Tags";
380
+ const _TC = "TimeCondition";
381
+ const _TCL = "TimeConditionList";
382
+ const _TE = "ThrottlingException";
383
+ const _TITSC = "TotalItemsToScanCount";
1048
384
  const _TK = "TagKeys";
385
+ const _TM = "TagMap";
386
+ const _TR = "TagResource";
387
+ const _TRPTSC = "TotalRecoveryPointsToScanCount";
388
+ const _TRR = "TagResourceRequest";
389
+ const _TRRa = "TagResourceResponse";
390
+ const _UR = "UntagResource";
391
+ const _URR = "UntagResourceRequest";
392
+ const _URRn = "UntagResourceResponse";
393
+ const _V = "Value";
394
+ const _VE = "ValidationException";
395
+ const _VI = "VersionIds";
396
+ const _VIe = "VersionId";
397
+ const _c = "client";
398
+ const _e = "error";
399
+ const _h = "http";
400
+ const _hE = "httpError";
401
+ const _hH = "httpHeader";
402
+ const _hQ = "httpQuery";
403
+ const _m = "message";
1049
404
  const _mR = "maxResults";
1050
405
  const _nT = "nextToken";
406
+ const _qC = "quotaCode";
1051
407
  const _rAS = "retryAfterSeconds";
1052
- const _ra = "retry-after";
408
+ const _rI = "resourceId";
409
+ const _rT = "resourceType";
410
+ const _s = "server";
411
+ const _sC = "serviceCode";
412
+ const _sES = "s3ExportSpecification";
413
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.backupsearch";
414
+ const _sp = "sparse";
1053
415
  const _tK = "tagKeys";
416
+ const n0 = "com.amazonaws.backupsearch";
417
+ var FilePath = [0, n0, _FP, 8, 0];
418
+ var ObjectKey = [0, n0, _OK, 8, 0];
419
+ var AccessDeniedException = [
420
+ -3,
421
+ n0,
422
+ _ADE,
423
+ {
424
+ [_e]: _c,
425
+ [_hE]: 403,
426
+ },
427
+ [_m],
428
+ [0],
429
+ ];
430
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
431
+ var BackupCreationTimeFilter = [3, n0, _BCTF, 0, [_CA, _CB], [4, 4]];
432
+ var ConflictException = [
433
+ -3,
434
+ n0,
435
+ _CE,
436
+ {
437
+ [_e]: _c,
438
+ [_hE]: 409,
439
+ },
440
+ [_m, _rI, _rT],
441
+ [0, 0, 0],
442
+ ];
443
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
444
+ var CurrentSearchProgress = [3, n0, _CSP, 0, [_RPSC, _ISC, _IMC], [1, 1, 1]];
445
+ var EBSItemFilter = [
446
+ 3,
447
+ n0,
448
+ _EBSIF,
449
+ 0,
450
+ [_FPi, _S, _CT, _LMT],
451
+ [() => StringConditionList, () => LongConditionList, () => TimeConditionList, () => TimeConditionList],
452
+ ];
453
+ var EBSResultItem = [
454
+ 3,
455
+ n0,
456
+ _EBSRI,
457
+ 0,
458
+ [_BRA, _SRA, _BVN, _FSI, _FP, _FS, _CTr, _LMTa],
459
+ [0, 0, 0, 0, [() => FilePath, 0], 1, 4, 4],
460
+ ];
461
+ var ExportJobSummary = [
462
+ 3,
463
+ n0,
464
+ _EJS,
465
+ 0,
466
+ [_EJI, _EJA, _St, _CTr, _CTo, _SM, _SJA],
467
+ [0, 0, 0, 4, 4, 0, 0],
468
+ ];
469
+ var GetSearchJobInput = [3, n0, _GSJI, 0, [_SJI], [[0, 1]]];
470
+ var GetSearchJobOutput = [
471
+ 3,
472
+ n0,
473
+ _GSJO,
474
+ 0,
475
+ [_N, _SSS, _CSP, _SM, _EKA, _CTo, _St, _SS, _IF, _CTr, _SJI, _SJA],
476
+ [
477
+ 0,
478
+ () => SearchScopeSummary,
479
+ () => CurrentSearchProgress,
480
+ 0,
481
+ 0,
482
+ 4,
483
+ 0,
484
+ [() => SearchScope, 0],
485
+ () => ItemFilters,
486
+ 4,
487
+ 0,
488
+ 0,
489
+ ],
490
+ ];
491
+ var GetSearchResultExportJobInput = [3, n0, _GSREJI, 0, [_EJI], [[0, 1]]];
492
+ var GetSearchResultExportJobOutput = [
493
+ 3,
494
+ n0,
495
+ _GSREJO,
496
+ 0,
497
+ [_EJI, _EJA, _St, _CTr, _CTo, _SM, _ES, _SJA],
498
+ [0, 0, 0, 4, 4, 0, () => ExportSpecification, 0],
499
+ ];
500
+ var InternalServerException = [
501
+ -3,
502
+ n0,
503
+ _ISE,
504
+ {
505
+ [_e]: _s,
506
+ [_hE]: 500,
507
+ },
508
+ [_m, _rAS],
509
+ [
510
+ 0,
511
+ [
512
+ 1,
513
+ {
514
+ [_hH]: _RA,
515
+ },
516
+ ],
517
+ ],
518
+ ];
519
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
520
+ var ItemFilters = [
521
+ 3,
522
+ n0,
523
+ _IF,
524
+ 0,
525
+ [_SIF, _EBSIFt],
526
+ [() => S3ItemFilters, () => EBSItemFilters],
527
+ ];
528
+ var ListSearchJobBackupsInput = [
529
+ 3,
530
+ n0,
531
+ _LSJBI,
532
+ 0,
533
+ [_SJI, _NT, _MR],
534
+ [
535
+ [0, 1],
536
+ [
537
+ 0,
538
+ {
539
+ [_hQ]: _nT,
540
+ },
541
+ ],
542
+ [
543
+ 1,
544
+ {
545
+ [_hQ]: _mR,
546
+ },
547
+ ],
548
+ ],
549
+ ];
550
+ var ListSearchJobBackupsOutput = [
551
+ 3,
552
+ n0,
553
+ _LSJBO,
554
+ 0,
555
+ [_R, _NT],
556
+ [() => SearchJobBackupsResults, 0],
557
+ ];
558
+ var ListSearchJobResultsInput = [
559
+ 3,
560
+ n0,
561
+ _LSJRI,
562
+ 0,
563
+ [_SJI, _NT, _MR],
564
+ [
565
+ [0, 1],
566
+ [
567
+ 0,
568
+ {
569
+ [_hQ]: _nT,
570
+ },
571
+ ],
572
+ [
573
+ 1,
574
+ {
575
+ [_hQ]: _mR,
576
+ },
577
+ ],
578
+ ],
579
+ ];
580
+ var ListSearchJobResultsOutput = [3, n0, _LSJRO, 0, [_R, _NT], [[() => Results, 0], 0]];
581
+ var ListSearchJobsInput = [
582
+ 3,
583
+ n0,
584
+ _LSJI,
585
+ 0,
586
+ [_BS, _NT, _MR],
587
+ [
588
+ [
589
+ 0,
590
+ {
591
+ [_hQ]: _St,
592
+ },
593
+ ],
594
+ [
595
+ 0,
596
+ {
597
+ [_hQ]: _NT,
598
+ },
599
+ ],
600
+ [
601
+ 1,
602
+ {
603
+ [_hQ]: _MR,
604
+ },
605
+ ],
606
+ ],
607
+ ];
608
+ var ListSearchJobsOutput = [3, n0, _LSJO, 0, [_SJ, _NT], [() => SearchJobs, 0]];
609
+ var ListSearchResultExportJobsInput = [
610
+ 3,
611
+ n0,
612
+ _LSREJI,
613
+ 0,
614
+ [_St, _SJI, _NT, _MR],
615
+ [
616
+ [
617
+ 0,
618
+ {
619
+ [_hQ]: _St,
620
+ },
621
+ ],
622
+ [
623
+ 0,
624
+ {
625
+ [_hQ]: _SJI,
626
+ },
627
+ ],
628
+ [
629
+ 0,
630
+ {
631
+ [_hQ]: _NT,
632
+ },
633
+ ],
634
+ [
635
+ 1,
636
+ {
637
+ [_hQ]: _MR,
638
+ },
639
+ ],
640
+ ],
641
+ ];
642
+ var ListSearchResultExportJobsOutput = [
643
+ 3,
644
+ n0,
645
+ _LSREJO,
646
+ 0,
647
+ [_EJ, _NT],
648
+ [() => ExportJobSummaries, 0],
649
+ ];
650
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RAe], [[0, 1]]];
651
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [[() => TagMap, 0]]];
652
+ var LongCondition = [3, n0, _LC, 0, [_V, _O], [1, 0]];
653
+ var ResourceNotFoundException = [
654
+ -3,
655
+ n0,
656
+ _RNFE,
657
+ {
658
+ [_e]: _c,
659
+ [_hE]: 404,
660
+ },
661
+ [_m, _rI, _rT],
662
+ [0, 0, 0],
663
+ ];
664
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
665
+ var S3ExportSpecification = [3, n0, _SES, 0, [_DB, _DP], [0, 0]];
666
+ var S3ItemFilter = [
667
+ 3,
668
+ n0,
669
+ _SIFt,
670
+ 0,
671
+ [_OKb, _S, _CT, _VI, _ET],
672
+ [
673
+ () => StringConditionList,
674
+ () => LongConditionList,
675
+ () => TimeConditionList,
676
+ () => StringConditionList,
677
+ () => StringConditionList,
678
+ ],
679
+ ];
680
+ var S3ResultItem = [
681
+ 3,
682
+ n0,
683
+ _SRI,
684
+ 0,
685
+ [_BRA, _SRA, _BVN, _OK, _OS, _CTr, _ETa, _VIe],
686
+ [0, 0, 0, [() => ObjectKey, 0], 1, 4, 0, 0],
687
+ ];
688
+ var SearchJobBackupsResult = [
689
+ 3,
690
+ n0,
691
+ _SJBR,
692
+ 0,
693
+ [_St, _SM, _RT, _BRA, _SRA, _ICT, _BCT],
694
+ [0, 0, 0, 0, 0, 4, 4],
695
+ ];
696
+ var SearchJobSummary = [
697
+ 3,
698
+ n0,
699
+ _SJS,
700
+ 0,
701
+ [_SJI, _SJA, _N, _St, _CTr, _CTo, _SSS, _SM],
702
+ [0, 0, 0, 0, 4, 4, () => SearchScopeSummary, 0],
703
+ ];
704
+ var SearchScope = [
705
+ 3,
706
+ n0,
707
+ _SS,
708
+ 0,
709
+ [_BRT, _BRCT, _SRAo, _BRAa, _BRTa],
710
+ [64 | 0, () => BackupCreationTimeFilter, 64 | 0, 64 | 0, [() => TagMap, 0]],
711
+ ];
712
+ var SearchScopeSummary = [3, n0, _SSS, 0, [_TRPTSC, _TITSC], [1, 1]];
713
+ var ServiceQuotaExceededException = [
714
+ -3,
715
+ n0,
716
+ _SQEE,
717
+ {
718
+ [_e]: _c,
719
+ [_hE]: 402,
720
+ },
721
+ [_m, _rI, _rT, _sC, _qC],
722
+ [0, 0, 0, 0, 0],
723
+ ];
724
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
725
+ var StartSearchJobInput = [
726
+ 3,
727
+ n0,
728
+ _SSJI,
729
+ 0,
730
+ [_T, _N, _EKA, _CTl, _SS, _IF],
731
+ [[() => TagMap, 0], 0, 0, 0, [() => SearchScope, 0], () => ItemFilters],
732
+ ];
733
+ var StartSearchJobOutput = [3, n0, _SSJO, 0, [_SJA, _CTr, _SJI], [0, 4, 0]];
734
+ var StartSearchResultExportJobInput = [
735
+ 3,
736
+ n0,
737
+ _SSREJI,
738
+ 0,
739
+ [_SJI, _ES, _CTl, _T, _RAo],
740
+ [0, () => ExportSpecification, 0, [() => TagMap, 0], 0],
741
+ ];
742
+ var StartSearchResultExportJobOutput = [3, n0, _SSREJO, 0, [_EJA, _EJI], [0, 0]];
743
+ var StopSearchJobInput = [3, n0, _SSJIt, 0, [_SJI], [[0, 1]]];
744
+ var StopSearchJobOutput = [3, n0, _SSJOt, 0, [], []];
745
+ var StringCondition = [3, n0, _SC, 0, [_V, _O], [0, 0]];
746
+ var TagResourceRequest = [
747
+ 3,
748
+ n0,
749
+ _TRR,
750
+ 0,
751
+ [_RAe, _T],
752
+ [
753
+ [0, 1],
754
+ [() => TagMap, 0],
755
+ ],
756
+ ];
757
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
758
+ var ThrottlingException = [
759
+ -3,
760
+ n0,
761
+ _TE,
762
+ {
763
+ [_e]: _c,
764
+ [_hE]: 429,
765
+ },
766
+ [_m, _sC, _qC, _rAS],
767
+ [
768
+ 0,
769
+ 0,
770
+ 0,
771
+ [
772
+ 1,
773
+ {
774
+ [_hH]: _RA,
775
+ },
776
+ ],
777
+ ],
778
+ ];
779
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
780
+ var TimeCondition = [3, n0, _TC, 0, [_V, _O], [4, 0]];
781
+ var UntagResourceRequest = [
782
+ 3,
783
+ n0,
784
+ _URR,
785
+ 0,
786
+ [_RAe, _TK],
787
+ [
788
+ [0, 1],
789
+ [
790
+ 64 | 0,
791
+ {
792
+ [_hQ]: _tK,
793
+ },
794
+ ],
795
+ ],
796
+ ];
797
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
798
+ var ValidationException = [
799
+ -3,
800
+ n0,
801
+ _VE,
802
+ {
803
+ [_e]: _c,
804
+ [_hE]: 400,
805
+ },
806
+ [_m],
807
+ [0],
808
+ ];
809
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
810
+ var BackupSearchServiceException = [-3, _sm, "BackupSearchServiceException", 0, [], []];
811
+ schema.TypeRegistry.for(_sm).registerError(BackupSearchServiceException, BackupSearchServiceException$1);
812
+ var EBSItemFilters = [1, n0, _EBSIFt, 0, () => EBSItemFilter];
813
+ var ExportJobSummaries = [1, n0, _EJSx, 0, () => ExportJobSummary];
814
+ var LongConditionList = [1, n0, _LCL, 0, () => LongCondition];
815
+ var Results = [1, n0, _R, 0, [() => ResultItem, 0]];
816
+ var S3ItemFilters = [1, n0, _SIF, 0, () => S3ItemFilter];
817
+ var SearchJobBackupsResults = [1, n0, _SJBRe, 0, () => SearchJobBackupsResult];
818
+ var SearchJobs = [1, n0, _SJ, 0, () => SearchJobSummary];
819
+ var StringConditionList = [1, n0, _SCL, 0, () => StringCondition];
820
+ var TimeConditionList = [1, n0, _TCL, 0, () => TimeCondition];
821
+ var TagMap = [
822
+ 2,
823
+ n0,
824
+ _TM,
825
+ {
826
+ [_sp]: 1,
827
+ },
828
+ 0,
829
+ 0,
830
+ ];
831
+ var ExportSpecification = [3, n0, _ES, 0, [_sES], [() => S3ExportSpecification]];
832
+ var ResultItem = [
833
+ 3,
834
+ n0,
835
+ _RI,
836
+ 0,
837
+ [_SRI, _EBSRI],
838
+ [
839
+ [() => S3ResultItem, 0],
840
+ [() => EBSResultItem, 0],
841
+ ],
842
+ ];
843
+ var GetSearchJob = [
844
+ 9,
845
+ n0,
846
+ _GSJ,
847
+ {
848
+ [_h]: ["GET", "/search-jobs/{SearchJobIdentifier}", 200],
849
+ },
850
+ () => GetSearchJobInput,
851
+ () => GetSearchJobOutput,
852
+ ];
853
+ var GetSearchResultExportJob = [
854
+ 9,
855
+ n0,
856
+ _GSREJ,
857
+ {
858
+ [_h]: ["GET", "/export-search-jobs/{ExportJobIdentifier}", 200],
859
+ },
860
+ () => GetSearchResultExportJobInput,
861
+ () => GetSearchResultExportJobOutput,
862
+ ];
863
+ var ListSearchJobBackups = [
864
+ 9,
865
+ n0,
866
+ _LSJB,
867
+ {
868
+ [_h]: ["GET", "/search-jobs/{SearchJobIdentifier}/backups", 200],
869
+ },
870
+ () => ListSearchJobBackupsInput,
871
+ () => ListSearchJobBackupsOutput,
872
+ ];
873
+ var ListSearchJobResults = [
874
+ 9,
875
+ n0,
876
+ _LSJR,
877
+ {
878
+ [_h]: ["GET", "/search-jobs/{SearchJobIdentifier}/search-results", 200],
879
+ },
880
+ () => ListSearchJobResultsInput,
881
+ () => ListSearchJobResultsOutput,
882
+ ];
883
+ var ListSearchJobs = [
884
+ 9,
885
+ n0,
886
+ _LSJ,
887
+ {
888
+ [_h]: ["GET", "/search-jobs", 200],
889
+ },
890
+ () => ListSearchJobsInput,
891
+ () => ListSearchJobsOutput,
892
+ ];
893
+ var ListSearchResultExportJobs = [
894
+ 9,
895
+ n0,
896
+ _LSREJ,
897
+ {
898
+ [_h]: ["GET", "/export-search-jobs", 200],
899
+ },
900
+ () => ListSearchResultExportJobsInput,
901
+ () => ListSearchResultExportJobsOutput,
902
+ ];
903
+ var ListTagsForResource = [
904
+ 9,
905
+ n0,
906
+ _LTFR,
907
+ {
908
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
909
+ },
910
+ () => ListTagsForResourceRequest,
911
+ () => ListTagsForResourceResponse,
912
+ ];
913
+ var StartSearchJob = [
914
+ 9,
915
+ n0,
916
+ _SSJ,
917
+ {
918
+ [_h]: ["PUT", "/search-jobs", 200],
919
+ },
920
+ () => StartSearchJobInput,
921
+ () => StartSearchJobOutput,
922
+ ];
923
+ var StartSearchResultExportJob = [
924
+ 9,
925
+ n0,
926
+ _SSREJ,
927
+ {
928
+ [_h]: ["PUT", "/export-search-jobs", 200],
929
+ },
930
+ () => StartSearchResultExportJobInput,
931
+ () => StartSearchResultExportJobOutput,
932
+ ];
933
+ var StopSearchJob = [
934
+ 9,
935
+ n0,
936
+ _SSJt,
937
+ {
938
+ [_h]: ["PUT", "/search-jobs/{SearchJobIdentifier}/actions/cancel", 200],
939
+ },
940
+ () => StopSearchJobInput,
941
+ () => StopSearchJobOutput,
942
+ ];
943
+ var TagResource = [
944
+ 9,
945
+ n0,
946
+ _TR,
947
+ {
948
+ [_h]: ["POST", "/tags/{ResourceArn}", 200],
949
+ },
950
+ () => TagResourceRequest,
951
+ () => TagResourceResponse,
952
+ ];
953
+ var UntagResource = [
954
+ 9,
955
+ n0,
956
+ _UR,
957
+ {
958
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 200],
959
+ },
960
+ () => UntagResourceRequest,
961
+ () => UntagResourceResponse,
962
+ ];
1054
963
 
1055
964
  class GetSearchJobCommand extends smithyClient.Command
1056
965
  .classBuilder()
1057
966
  .ep(commonParams)
1058
967
  .m(function (Command, cs, config, o) {
1059
- return [
1060
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1061
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1062
- ];
968
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1063
969
  })
1064
970
  .s("CryoBackupSearchService", "GetSearchJob", {})
1065
971
  .n("BackupSearchClient", "GetSearchJobCommand")
1066
- .f(void 0, void 0)
1067
- .ser(se_GetSearchJobCommand)
1068
- .de(de_GetSearchJobCommand)
972
+ .sc(GetSearchJob)
1069
973
  .build() {
1070
974
  }
1071
975
 
@@ -1073,16 +977,11 @@ class GetSearchResultExportJobCommand extends smithyClient.Command
1073
977
  .classBuilder()
1074
978
  .ep(commonParams)
1075
979
  .m(function (Command, cs, config, o) {
1076
- return [
1077
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1078
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1079
- ];
980
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1080
981
  })
1081
982
  .s("CryoBackupSearchService", "GetSearchResultExportJob", {})
1082
983
  .n("BackupSearchClient", "GetSearchResultExportJobCommand")
1083
- .f(void 0, void 0)
1084
- .ser(se_GetSearchResultExportJobCommand)
1085
- .de(de_GetSearchResultExportJobCommand)
984
+ .sc(GetSearchResultExportJob)
1086
985
  .build() {
1087
986
  }
1088
987
 
@@ -1090,16 +989,11 @@ class ListSearchJobBackupsCommand extends smithyClient.Command
1090
989
  .classBuilder()
1091
990
  .ep(commonParams)
1092
991
  .m(function (Command, cs, config, o) {
1093
- return [
1094
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1095
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1096
- ];
992
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1097
993
  })
1098
994
  .s("CryoBackupSearchService", "ListSearchJobBackups", {})
1099
995
  .n("BackupSearchClient", "ListSearchJobBackupsCommand")
1100
- .f(void 0, void 0)
1101
- .ser(se_ListSearchJobBackupsCommand)
1102
- .de(de_ListSearchJobBackupsCommand)
996
+ .sc(ListSearchJobBackups)
1103
997
  .build() {
1104
998
  }
1105
999
 
@@ -1107,16 +1001,11 @@ class ListSearchJobResultsCommand extends smithyClient.Command
1107
1001
  .classBuilder()
1108
1002
  .ep(commonParams)
1109
1003
  .m(function (Command, cs, config, o) {
1110
- return [
1111
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1112
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1113
- ];
1004
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1114
1005
  })
1115
1006
  .s("CryoBackupSearchService", "ListSearchJobResults", {})
1116
1007
  .n("BackupSearchClient", "ListSearchJobResultsCommand")
1117
- .f(void 0, ListSearchJobResultsOutputFilterSensitiveLog)
1118
- .ser(se_ListSearchJobResultsCommand)
1119
- .de(de_ListSearchJobResultsCommand)
1008
+ .sc(ListSearchJobResults)
1120
1009
  .build() {
1121
1010
  }
1122
1011
 
@@ -1124,16 +1013,11 @@ class ListSearchJobsCommand extends smithyClient.Command
1124
1013
  .classBuilder()
1125
1014
  .ep(commonParams)
1126
1015
  .m(function (Command, cs, config, o) {
1127
- return [
1128
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1129
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1130
- ];
1016
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1131
1017
  })
1132
1018
  .s("CryoBackupSearchService", "ListSearchJobs", {})
1133
1019
  .n("BackupSearchClient", "ListSearchJobsCommand")
1134
- .f(void 0, void 0)
1135
- .ser(se_ListSearchJobsCommand)
1136
- .de(de_ListSearchJobsCommand)
1020
+ .sc(ListSearchJobs)
1137
1021
  .build() {
1138
1022
  }
1139
1023
 
@@ -1141,16 +1025,11 @@ class ListSearchResultExportJobsCommand extends smithyClient.Command
1141
1025
  .classBuilder()
1142
1026
  .ep(commonParams)
1143
1027
  .m(function (Command, cs, config, o) {
1144
- return [
1145
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1146
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1147
- ];
1028
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1148
1029
  })
1149
1030
  .s("CryoBackupSearchService", "ListSearchResultExportJobs", {})
1150
1031
  .n("BackupSearchClient", "ListSearchResultExportJobsCommand")
1151
- .f(void 0, void 0)
1152
- .ser(se_ListSearchResultExportJobsCommand)
1153
- .de(de_ListSearchResultExportJobsCommand)
1032
+ .sc(ListSearchResultExportJobs)
1154
1033
  .build() {
1155
1034
  }
1156
1035
 
@@ -1158,16 +1037,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1158
1037
  .classBuilder()
1159
1038
  .ep(commonParams)
1160
1039
  .m(function (Command, cs, config, o) {
1161
- return [
1162
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1163
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1164
- ];
1040
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1165
1041
  })
1166
1042
  .s("CryoBackupSearchService", "ListTagsForResource", {})
1167
1043
  .n("BackupSearchClient", "ListTagsForResourceCommand")
1168
- .f(void 0, void 0)
1169
- .ser(se_ListTagsForResourceCommand)
1170
- .de(de_ListTagsForResourceCommand)
1044
+ .sc(ListTagsForResource)
1171
1045
  .build() {
1172
1046
  }
1173
1047
 
@@ -1175,16 +1049,11 @@ class StartSearchJobCommand extends smithyClient.Command
1175
1049
  .classBuilder()
1176
1050
  .ep(commonParams)
1177
1051
  .m(function (Command, cs, config, o) {
1178
- return [
1179
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1180
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1181
- ];
1052
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1182
1053
  })
1183
1054
  .s("CryoBackupSearchService", "StartSearchJob", {})
1184
1055
  .n("BackupSearchClient", "StartSearchJobCommand")
1185
- .f(void 0, void 0)
1186
- .ser(se_StartSearchJobCommand)
1187
- .de(de_StartSearchJobCommand)
1056
+ .sc(StartSearchJob)
1188
1057
  .build() {
1189
1058
  }
1190
1059
 
@@ -1192,16 +1061,11 @@ class StartSearchResultExportJobCommand extends smithyClient.Command
1192
1061
  .classBuilder()
1193
1062
  .ep(commonParams)
1194
1063
  .m(function (Command, cs, config, o) {
1195
- return [
1196
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1197
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1198
- ];
1064
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1199
1065
  })
1200
1066
  .s("CryoBackupSearchService", "StartSearchResultExportJob", {})
1201
1067
  .n("BackupSearchClient", "StartSearchResultExportJobCommand")
1202
- .f(void 0, void 0)
1203
- .ser(se_StartSearchResultExportJobCommand)
1204
- .de(de_StartSearchResultExportJobCommand)
1068
+ .sc(StartSearchResultExportJob)
1205
1069
  .build() {
1206
1070
  }
1207
1071
 
@@ -1209,16 +1073,11 @@ class StopSearchJobCommand extends smithyClient.Command
1209
1073
  .classBuilder()
1210
1074
  .ep(commonParams)
1211
1075
  .m(function (Command, cs, config, o) {
1212
- return [
1213
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1214
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1215
- ];
1076
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1216
1077
  })
1217
1078
  .s("CryoBackupSearchService", "StopSearchJob", {})
1218
1079
  .n("BackupSearchClient", "StopSearchJobCommand")
1219
- .f(void 0, void 0)
1220
- .ser(se_StopSearchJobCommand)
1221
- .de(de_StopSearchJobCommand)
1080
+ .sc(StopSearchJob)
1222
1081
  .build() {
1223
1082
  }
1224
1083
 
@@ -1226,16 +1085,11 @@ class TagResourceCommand extends smithyClient.Command
1226
1085
  .classBuilder()
1227
1086
  .ep(commonParams)
1228
1087
  .m(function (Command, cs, config, o) {
1229
- return [
1230
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1231
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1232
- ];
1088
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1233
1089
  })
1234
1090
  .s("CryoBackupSearchService", "TagResource", {})
1235
1091
  .n("BackupSearchClient", "TagResourceCommand")
1236
- .f(void 0, void 0)
1237
- .ser(se_TagResourceCommand)
1238
- .de(de_TagResourceCommand)
1092
+ .sc(TagResource)
1239
1093
  .build() {
1240
1094
  }
1241
1095
 
@@ -1243,16 +1097,11 @@ class UntagResourceCommand extends smithyClient.Command
1243
1097
  .classBuilder()
1244
1098
  .ep(commonParams)
1245
1099
  .m(function (Command, cs, config, o) {
1246
- return [
1247
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1248
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1249
- ];
1100
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1250
1101
  })
1251
1102
  .s("CryoBackupSearchService", "UntagResource", {})
1252
1103
  .n("BackupSearchClient", "UntagResourceCommand")
1253
- .f(void 0, void 0)
1254
- .ser(se_UntagResourceCommand)
1255
- .de(de_UntagResourceCommand)
1104
+ .sc(UntagResource)
1256
1105
  .build() {
1257
1106
  }
1258
1107
 
@@ -1290,38 +1139,34 @@ Object.defineProperty(exports, "__Client", {
1290
1139
  enumerable: true,
1291
1140
  get: function () { return smithyClient.Client; }
1292
1141
  });
1293
- exports.AccessDeniedException = AccessDeniedException;
1142
+ exports.AccessDeniedException = AccessDeniedException$1;
1294
1143
  exports.BackupSearch = BackupSearch;
1295
1144
  exports.BackupSearchClient = BackupSearchClient;
1296
- exports.BackupSearchServiceException = BackupSearchServiceException;
1297
- exports.ConflictException = ConflictException;
1298
- exports.EBSResultItemFilterSensitiveLog = EBSResultItemFilterSensitiveLog;
1145
+ exports.BackupSearchServiceException = BackupSearchServiceException$1;
1146
+ exports.ConflictException = ConflictException$1;
1299
1147
  exports.ExportJobStatus = ExportJobStatus;
1300
1148
  exports.GetSearchJobCommand = GetSearchJobCommand;
1301
1149
  exports.GetSearchResultExportJobCommand = GetSearchResultExportJobCommand;
1302
- exports.InternalServerException = InternalServerException;
1150
+ exports.InternalServerException = InternalServerException$1;
1303
1151
  exports.ListSearchJobBackupsCommand = ListSearchJobBackupsCommand;
1304
1152
  exports.ListSearchJobResultsCommand = ListSearchJobResultsCommand;
1305
- exports.ListSearchJobResultsOutputFilterSensitiveLog = ListSearchJobResultsOutputFilterSensitiveLog;
1306
1153
  exports.ListSearchJobsCommand = ListSearchJobsCommand;
1307
1154
  exports.ListSearchResultExportJobsCommand = ListSearchResultExportJobsCommand;
1308
1155
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1309
1156
  exports.LongConditionOperator = LongConditionOperator;
1310
- exports.ResourceNotFoundException = ResourceNotFoundException;
1157
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1311
1158
  exports.ResourceType = ResourceType;
1312
- exports.ResultItemFilterSensitiveLog = ResultItemFilterSensitiveLog;
1313
- exports.S3ResultItemFilterSensitiveLog = S3ResultItemFilterSensitiveLog;
1314
1159
  exports.SearchJobState = SearchJobState;
1315
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1160
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1316
1161
  exports.StartSearchJobCommand = StartSearchJobCommand;
1317
1162
  exports.StartSearchResultExportJobCommand = StartSearchResultExportJobCommand;
1318
1163
  exports.StopSearchJobCommand = StopSearchJobCommand;
1319
1164
  exports.StringConditionOperator = StringConditionOperator;
1320
1165
  exports.TagResourceCommand = TagResourceCommand;
1321
- exports.ThrottlingException = ThrottlingException;
1166
+ exports.ThrottlingException = ThrottlingException$1;
1322
1167
  exports.TimeConditionOperator = TimeConditionOperator;
1323
1168
  exports.UntagResourceCommand = UntagResourceCommand;
1324
- exports.ValidationException = ValidationException;
1169
+ exports.ValidationException = ValidationException$1;
1325
1170
  exports.paginateListSearchJobBackups = paginateListSearchJobBackups;
1326
1171
  exports.paginateListSearchJobResults = paginateListSearchJobResults;
1327
1172
  exports.paginateListSearchJobs = paginateListSearchJobs;