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