@aws-sdk/client-glacier 3.53.0 → 3.55.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 (57) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/GlacierClient.js +14 -14
  3. package/dist-cjs/commands/AbortMultipartUploadCommand.js +3 -3
  4. package/dist-cjs/commands/AbortVaultLockCommand.js +3 -3
  5. package/dist-cjs/commands/AddTagsToVaultCommand.js +3 -3
  6. package/dist-cjs/commands/CompleteMultipartUploadCommand.js +3 -3
  7. package/dist-cjs/commands/CompleteVaultLockCommand.js +3 -3
  8. package/dist-cjs/commands/CreateVaultCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteArchiveCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteVaultAccessPolicyCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteVaultCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteVaultNotificationsCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeJobCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeVaultCommand.js +3 -3
  15. package/dist-cjs/commands/GetDataRetrievalPolicyCommand.js +3 -3
  16. package/dist-cjs/commands/GetJobOutputCommand.js +3 -3
  17. package/dist-cjs/commands/GetVaultAccessPolicyCommand.js +3 -3
  18. package/dist-cjs/commands/GetVaultLockCommand.js +3 -3
  19. package/dist-cjs/commands/GetVaultNotificationsCommand.js +3 -3
  20. package/dist-cjs/commands/InitiateJobCommand.js +3 -3
  21. package/dist-cjs/commands/InitiateMultipartUploadCommand.js +3 -3
  22. package/dist-cjs/commands/InitiateVaultLockCommand.js +3 -3
  23. package/dist-cjs/commands/ListJobsCommand.js +3 -3
  24. package/dist-cjs/commands/ListMultipartUploadsCommand.js +3 -3
  25. package/dist-cjs/commands/ListPartsCommand.js +3 -3
  26. package/dist-cjs/commands/ListProvisionedCapacityCommand.js +3 -3
  27. package/dist-cjs/commands/ListTagsForVaultCommand.js +3 -3
  28. package/dist-cjs/commands/ListVaultsCommand.js +3 -3
  29. package/dist-cjs/commands/PurchaseProvisionedCapacityCommand.js +3 -3
  30. package/dist-cjs/commands/RemoveTagsFromVaultCommand.js +3 -3
  31. package/dist-cjs/commands/SetDataRetrievalPolicyCommand.js +3 -3
  32. package/dist-cjs/commands/SetVaultAccessPolicyCommand.js +3 -3
  33. package/dist-cjs/commands/SetVaultNotificationsCommand.js +3 -3
  34. package/dist-cjs/commands/UploadArchiveCommand.js +3 -3
  35. package/dist-cjs/commands/UploadMultipartPartCommand.js +3 -3
  36. package/dist-cjs/endpoints.js +1 -1
  37. package/dist-cjs/protocols/Aws_restJson1.js +255 -255
  38. package/dist-cjs/runtimeConfig.browser.js +4 -4
  39. package/dist-cjs/runtimeConfig.js +9 -9
  40. package/dist-cjs/runtimeConfig.native.js +1 -1
  41. package/dist-cjs/waiters/waitForVaultExists.js +3 -3
  42. package/dist-cjs/waiters/waitForVaultNotExists.js +3 -3
  43. package/dist-es/Glacier.js +33 -33
  44. package/dist-es/pagination/ListJobsPaginator.js +4 -4
  45. package/dist-es/pagination/ListMultipartUploadsPaginator.js +4 -4
  46. package/dist-es/pagination/ListPartsPaginator.js +4 -4
  47. package/dist-es/pagination/ListVaultsPaginator.js +4 -4
  48. package/dist-es/protocols/Aws_restJson1.js +33 -33
  49. package/dist-types/GlacierClient.d.ts +2 -2
  50. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  51. package/dist-types/runtimeConfig.d.ts +1 -1
  52. package/dist-types/runtimeConfig.native.d.ts +3 -3
  53. package/dist-types/ts3.4/GlacierClient.d.ts +2 -2
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  57. package/package.json +38 -38
@@ -16,7 +16,7 @@ const serializeAws_restJson1AbortMultipartUploadCommand = async (input, context)
16
16
  if (labelValue.length <= 0) {
17
17
  throw new Error("Empty value provided for input HTTP label: accountId.");
18
18
  }
19
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
19
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
20
20
  }
21
21
  else {
22
22
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -26,7 +26,7 @@ const serializeAws_restJson1AbortMultipartUploadCommand = async (input, context)
26
26
  if (labelValue.length <= 0) {
27
27
  throw new Error("Empty value provided for input HTTP label: vaultName.");
28
28
  }
29
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
29
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
30
30
  }
31
31
  else {
32
32
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -36,7 +36,7 @@ const serializeAws_restJson1AbortMultipartUploadCommand = async (input, context)
36
36
  if (labelValue.length <= 0) {
37
37
  throw new Error("Empty value provided for input HTTP label: uploadId.");
38
38
  }
39
- resolvedPath = resolvedPath.replace("{uploadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
39
+ resolvedPath = resolvedPath.replace("{uploadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
40
40
  }
41
41
  else {
42
42
  throw new Error("No value provided for input HTTP label: uploadId.");
@@ -63,7 +63,7 @@ const serializeAws_restJson1AbortVaultLockCommand = async (input, context) => {
63
63
  if (labelValue.length <= 0) {
64
64
  throw new Error("Empty value provided for input HTTP label: accountId.");
65
65
  }
66
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
66
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
67
67
  }
68
68
  else {
69
69
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -73,7 +73,7 @@ const serializeAws_restJson1AbortVaultLockCommand = async (input, context) => {
73
73
  if (labelValue.length <= 0) {
74
74
  throw new Error("Empty value provided for input HTTP label: vaultName.");
75
75
  }
76
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
76
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
77
77
  }
78
78
  else {
79
79
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -101,7 +101,7 @@ const serializeAws_restJson1AddTagsToVaultCommand = async (input, context) => {
101
101
  if (labelValue.length <= 0) {
102
102
  throw new Error("Empty value provided for input HTTP label: accountId.");
103
103
  }
104
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
104
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
105
105
  }
106
106
  else {
107
107
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -111,7 +111,7 @@ const serializeAws_restJson1AddTagsToVaultCommand = async (input, context) => {
111
111
  if (labelValue.length <= 0) {
112
112
  throw new Error("Empty value provided for input HTTP label: vaultName.");
113
113
  }
114
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
114
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
115
115
  }
116
116
  else {
117
117
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -148,7 +148,7 @@ const serializeAws_restJson1CompleteMultipartUploadCommand = async (input, conte
148
148
  if (labelValue.length <= 0) {
149
149
  throw new Error("Empty value provided for input HTTP label: accountId.");
150
150
  }
151
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
151
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
152
152
  }
153
153
  else {
154
154
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -158,7 +158,7 @@ const serializeAws_restJson1CompleteMultipartUploadCommand = async (input, conte
158
158
  if (labelValue.length <= 0) {
159
159
  throw new Error("Empty value provided for input HTTP label: vaultName.");
160
160
  }
161
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
161
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
162
162
  }
163
163
  else {
164
164
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -168,7 +168,7 @@ const serializeAws_restJson1CompleteMultipartUploadCommand = async (input, conte
168
168
  if (labelValue.length <= 0) {
169
169
  throw new Error("Empty value provided for input HTTP label: uploadId.");
170
170
  }
171
- resolvedPath = resolvedPath.replace("{uploadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
171
+ resolvedPath = resolvedPath.replace("{uploadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
172
172
  }
173
173
  else {
174
174
  throw new Error("No value provided for input HTTP label: uploadId.");
@@ -195,7 +195,7 @@ const serializeAws_restJson1CompleteVaultLockCommand = async (input, context) =>
195
195
  if (labelValue.length <= 0) {
196
196
  throw new Error("Empty value provided for input HTTP label: accountId.");
197
197
  }
198
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
198
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
199
199
  }
200
200
  else {
201
201
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -205,7 +205,7 @@ const serializeAws_restJson1CompleteVaultLockCommand = async (input, context) =>
205
205
  if (labelValue.length <= 0) {
206
206
  throw new Error("Empty value provided for input HTTP label: vaultName.");
207
207
  }
208
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
208
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
209
209
  }
210
210
  else {
211
211
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -215,7 +215,7 @@ const serializeAws_restJson1CompleteVaultLockCommand = async (input, context) =>
215
215
  if (labelValue.length <= 0) {
216
216
  throw new Error("Empty value provided for input HTTP label: lockId.");
217
217
  }
218
- resolvedPath = resolvedPath.replace("{lockId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
218
+ resolvedPath = resolvedPath.replace("{lockId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
219
219
  }
220
220
  else {
221
221
  throw new Error("No value provided for input HTTP label: lockId.");
@@ -241,7 +241,7 @@ const serializeAws_restJson1CreateVaultCommand = async (input, context) => {
241
241
  if (labelValue.length <= 0) {
242
242
  throw new Error("Empty value provided for input HTTP label: accountId.");
243
243
  }
244
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
244
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
245
245
  }
246
246
  else {
247
247
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -251,7 +251,7 @@ const serializeAws_restJson1CreateVaultCommand = async (input, context) => {
251
251
  if (labelValue.length <= 0) {
252
252
  throw new Error("Empty value provided for input HTTP label: vaultName.");
253
253
  }
254
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
254
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
255
255
  }
256
256
  else {
257
257
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -278,7 +278,7 @@ const serializeAws_restJson1DeleteArchiveCommand = async (input, context) => {
278
278
  if (labelValue.length <= 0) {
279
279
  throw new Error("Empty value provided for input HTTP label: accountId.");
280
280
  }
281
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
281
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
282
282
  }
283
283
  else {
284
284
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -288,7 +288,7 @@ const serializeAws_restJson1DeleteArchiveCommand = async (input, context) => {
288
288
  if (labelValue.length <= 0) {
289
289
  throw new Error("Empty value provided for input HTTP label: vaultName.");
290
290
  }
291
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
291
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
292
292
  }
293
293
  else {
294
294
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -298,7 +298,7 @@ const serializeAws_restJson1DeleteArchiveCommand = async (input, context) => {
298
298
  if (labelValue.length <= 0) {
299
299
  throw new Error("Empty value provided for input HTTP label: archiveId.");
300
300
  }
301
- resolvedPath = resolvedPath.replace("{archiveId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
301
+ resolvedPath = resolvedPath.replace("{archiveId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
302
302
  }
303
303
  else {
304
304
  throw new Error("No value provided for input HTTP label: archiveId.");
@@ -324,7 +324,7 @@ const serializeAws_restJson1DeleteVaultCommand = async (input, context) => {
324
324
  if (labelValue.length <= 0) {
325
325
  throw new Error("Empty value provided for input HTTP label: accountId.");
326
326
  }
327
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
327
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
328
328
  }
329
329
  else {
330
330
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -334,7 +334,7 @@ const serializeAws_restJson1DeleteVaultCommand = async (input, context) => {
334
334
  if (labelValue.length <= 0) {
335
335
  throw new Error("Empty value provided for input HTTP label: vaultName.");
336
336
  }
337
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
337
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
338
338
  }
339
339
  else {
340
340
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -361,7 +361,7 @@ const serializeAws_restJson1DeleteVaultAccessPolicyCommand = async (input, conte
361
361
  if (labelValue.length <= 0) {
362
362
  throw new Error("Empty value provided for input HTTP label: accountId.");
363
363
  }
364
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
364
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
365
365
  }
366
366
  else {
367
367
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -371,7 +371,7 @@ const serializeAws_restJson1DeleteVaultAccessPolicyCommand = async (input, conte
371
371
  if (labelValue.length <= 0) {
372
372
  throw new Error("Empty value provided for input HTTP label: vaultName.");
373
373
  }
374
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
374
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
375
375
  }
376
376
  else {
377
377
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -398,7 +398,7 @@ const serializeAws_restJson1DeleteVaultNotificationsCommand = async (input, cont
398
398
  if (labelValue.length <= 0) {
399
399
  throw new Error("Empty value provided for input HTTP label: accountId.");
400
400
  }
401
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
401
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
402
402
  }
403
403
  else {
404
404
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -408,7 +408,7 @@ const serializeAws_restJson1DeleteVaultNotificationsCommand = async (input, cont
408
408
  if (labelValue.length <= 0) {
409
409
  throw new Error("Empty value provided for input HTTP label: vaultName.");
410
410
  }
411
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
411
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
412
412
  }
413
413
  else {
414
414
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -435,7 +435,7 @@ const serializeAws_restJson1DescribeJobCommand = async (input, context) => {
435
435
  if (labelValue.length <= 0) {
436
436
  throw new Error("Empty value provided for input HTTP label: accountId.");
437
437
  }
438
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
438
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
439
439
  }
440
440
  else {
441
441
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -445,7 +445,7 @@ const serializeAws_restJson1DescribeJobCommand = async (input, context) => {
445
445
  if (labelValue.length <= 0) {
446
446
  throw new Error("Empty value provided for input HTTP label: vaultName.");
447
447
  }
448
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
448
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
449
449
  }
450
450
  else {
451
451
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -455,7 +455,7 @@ const serializeAws_restJson1DescribeJobCommand = async (input, context) => {
455
455
  if (labelValue.length <= 0) {
456
456
  throw new Error("Empty value provided for input HTTP label: jobId.");
457
457
  }
458
- resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
458
+ resolvedPath = resolvedPath.replace("{jobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
459
459
  }
460
460
  else {
461
461
  throw new Error("No value provided for input HTTP label: jobId.");
@@ -481,7 +481,7 @@ const serializeAws_restJson1DescribeVaultCommand = async (input, context) => {
481
481
  if (labelValue.length <= 0) {
482
482
  throw new Error("Empty value provided for input HTTP label: accountId.");
483
483
  }
484
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
484
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
485
485
  }
486
486
  else {
487
487
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -491,7 +491,7 @@ const serializeAws_restJson1DescribeVaultCommand = async (input, context) => {
491
491
  if (labelValue.length <= 0) {
492
492
  throw new Error("Empty value provided for input HTTP label: vaultName.");
493
493
  }
494
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
494
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
495
495
  }
496
496
  else {
497
497
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -517,7 +517,7 @@ const serializeAws_restJson1GetDataRetrievalPolicyCommand = async (input, contex
517
517
  if (labelValue.length <= 0) {
518
518
  throw new Error("Empty value provided for input HTTP label: accountId.");
519
519
  }
520
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
520
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
521
521
  }
522
522
  else {
523
523
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -546,7 +546,7 @@ const serializeAws_restJson1GetJobOutputCommand = async (input, context) => {
546
546
  if (labelValue.length <= 0) {
547
547
  throw new Error("Empty value provided for input HTTP label: accountId.");
548
548
  }
549
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
549
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
550
550
  }
551
551
  else {
552
552
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -556,7 +556,7 @@ const serializeAws_restJson1GetJobOutputCommand = async (input, context) => {
556
556
  if (labelValue.length <= 0) {
557
557
  throw new Error("Empty value provided for input HTTP label: vaultName.");
558
558
  }
559
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
559
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
560
560
  }
561
561
  else {
562
562
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -566,7 +566,7 @@ const serializeAws_restJson1GetJobOutputCommand = async (input, context) => {
566
566
  if (labelValue.length <= 0) {
567
567
  throw new Error("Empty value provided for input HTTP label: jobId.");
568
568
  }
569
- resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
569
+ resolvedPath = resolvedPath.replace("{jobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
570
570
  }
571
571
  else {
572
572
  throw new Error("No value provided for input HTTP label: jobId.");
@@ -593,7 +593,7 @@ const serializeAws_restJson1GetVaultAccessPolicyCommand = async (input, context)
593
593
  if (labelValue.length <= 0) {
594
594
  throw new Error("Empty value provided for input HTTP label: accountId.");
595
595
  }
596
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
596
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
597
597
  }
598
598
  else {
599
599
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -603,7 +603,7 @@ const serializeAws_restJson1GetVaultAccessPolicyCommand = async (input, context)
603
603
  if (labelValue.length <= 0) {
604
604
  throw new Error("Empty value provided for input HTTP label: vaultName.");
605
605
  }
606
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
606
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
607
607
  }
608
608
  else {
609
609
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -630,7 +630,7 @@ const serializeAws_restJson1GetVaultLockCommand = async (input, context) => {
630
630
  if (labelValue.length <= 0) {
631
631
  throw new Error("Empty value provided for input HTTP label: accountId.");
632
632
  }
633
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
633
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
634
634
  }
635
635
  else {
636
636
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -640,7 +640,7 @@ const serializeAws_restJson1GetVaultLockCommand = async (input, context) => {
640
640
  if (labelValue.length <= 0) {
641
641
  throw new Error("Empty value provided for input HTTP label: vaultName.");
642
642
  }
643
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
643
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
644
644
  }
645
645
  else {
646
646
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -667,7 +667,7 @@ const serializeAws_restJson1GetVaultNotificationsCommand = async (input, context
667
667
  if (labelValue.length <= 0) {
668
668
  throw new Error("Empty value provided for input HTTP label: accountId.");
669
669
  }
670
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
670
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
671
671
  }
672
672
  else {
673
673
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -677,7 +677,7 @@ const serializeAws_restJson1GetVaultNotificationsCommand = async (input, context
677
677
  if (labelValue.length <= 0) {
678
678
  throw new Error("Empty value provided for input HTTP label: vaultName.");
679
679
  }
680
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
680
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
681
681
  }
682
682
  else {
683
683
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -705,7 +705,7 @@ const serializeAws_restJson1InitiateJobCommand = async (input, context) => {
705
705
  if (labelValue.length <= 0) {
706
706
  throw new Error("Empty value provided for input HTTP label: accountId.");
707
707
  }
708
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
708
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
709
709
  }
710
710
  else {
711
711
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -715,7 +715,7 @@ const serializeAws_restJson1InitiateJobCommand = async (input, context) => {
715
715
  if (labelValue.length <= 0) {
716
716
  throw new Error("Empty value provided for input HTTP label: vaultName.");
717
717
  }
718
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
718
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
719
719
  }
720
720
  else {
721
721
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -754,7 +754,7 @@ const serializeAws_restJson1InitiateMultipartUploadCommand = async (input, conte
754
754
  if (labelValue.length <= 0) {
755
755
  throw new Error("Empty value provided for input HTTP label: accountId.");
756
756
  }
757
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
757
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
758
758
  }
759
759
  else {
760
760
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -764,7 +764,7 @@ const serializeAws_restJson1InitiateMultipartUploadCommand = async (input, conte
764
764
  if (labelValue.length <= 0) {
765
765
  throw new Error("Empty value provided for input HTTP label: vaultName.");
766
766
  }
767
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
767
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
768
768
  }
769
769
  else {
770
770
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -793,7 +793,7 @@ const serializeAws_restJson1InitiateVaultLockCommand = async (input, context) =>
793
793
  if (labelValue.length <= 0) {
794
794
  throw new Error("Empty value provided for input HTTP label: accountId.");
795
795
  }
796
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
796
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
797
797
  }
798
798
  else {
799
799
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -803,7 +803,7 @@ const serializeAws_restJson1InitiateVaultLockCommand = async (input, context) =>
803
803
  if (labelValue.length <= 0) {
804
804
  throw new Error("Empty value provided for input HTTP label: vaultName.");
805
805
  }
806
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
806
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
807
807
  }
808
808
  else {
809
809
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -836,7 +836,7 @@ const serializeAws_restJson1ListJobsCommand = async (input, context) => {
836
836
  if (labelValue.length <= 0) {
837
837
  throw new Error("Empty value provided for input HTTP label: accountId.");
838
838
  }
839
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
839
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
840
840
  }
841
841
  else {
842
842
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -846,7 +846,7 @@ const serializeAws_restJson1ListJobsCommand = async (input, context) => {
846
846
  if (labelValue.length <= 0) {
847
847
  throw new Error("Empty value provided for input HTTP label: vaultName.");
848
848
  }
849
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
849
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
850
850
  }
851
851
  else {
852
852
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -880,7 +880,7 @@ const serializeAws_restJson1ListMultipartUploadsCommand = async (input, context)
880
880
  if (labelValue.length <= 0) {
881
881
  throw new Error("Empty value provided for input HTTP label: accountId.");
882
882
  }
883
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
883
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
884
884
  }
885
885
  else {
886
886
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -890,7 +890,7 @@ const serializeAws_restJson1ListMultipartUploadsCommand = async (input, context)
890
890
  if (labelValue.length <= 0) {
891
891
  throw new Error("Empty value provided for input HTTP label: vaultName.");
892
892
  }
893
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
893
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
894
894
  }
895
895
  else {
896
896
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -922,7 +922,7 @@ const serializeAws_restJson1ListPartsCommand = async (input, context) => {
922
922
  if (labelValue.length <= 0) {
923
923
  throw new Error("Empty value provided for input HTTP label: accountId.");
924
924
  }
925
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
925
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
926
926
  }
927
927
  else {
928
928
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -932,7 +932,7 @@ const serializeAws_restJson1ListPartsCommand = async (input, context) => {
932
932
  if (labelValue.length <= 0) {
933
933
  throw new Error("Empty value provided for input HTTP label: vaultName.");
934
934
  }
935
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
935
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
936
936
  }
937
937
  else {
938
938
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -942,7 +942,7 @@ const serializeAws_restJson1ListPartsCommand = async (input, context) => {
942
942
  if (labelValue.length <= 0) {
943
943
  throw new Error("Empty value provided for input HTTP label: uploadId.");
944
944
  }
945
- resolvedPath = resolvedPath.replace("{uploadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
945
+ resolvedPath = resolvedPath.replace("{uploadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
946
946
  }
947
947
  else {
948
948
  throw new Error("No value provided for input HTTP label: uploadId.");
@@ -973,7 +973,7 @@ const serializeAws_restJson1ListProvisionedCapacityCommand = async (input, conte
973
973
  if (labelValue.length <= 0) {
974
974
  throw new Error("Empty value provided for input HTTP label: accountId.");
975
975
  }
976
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
976
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
977
977
  }
978
978
  else {
979
979
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -999,7 +999,7 @@ const serializeAws_restJson1ListTagsForVaultCommand = async (input, context) =>
999
999
  if (labelValue.length <= 0) {
1000
1000
  throw new Error("Empty value provided for input HTTP label: accountId.");
1001
1001
  }
1002
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1002
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1003
1003
  }
1004
1004
  else {
1005
1005
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -1009,7 +1009,7 @@ const serializeAws_restJson1ListTagsForVaultCommand = async (input, context) =>
1009
1009
  if (labelValue.length <= 0) {
1010
1010
  throw new Error("Empty value provided for input HTTP label: vaultName.");
1011
1011
  }
1012
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1012
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1013
1013
  }
1014
1014
  else {
1015
1015
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -1035,7 +1035,7 @@ const serializeAws_restJson1ListVaultsCommand = async (input, context) => {
1035
1035
  if (labelValue.length <= 0) {
1036
1036
  throw new Error("Empty value provided for input HTTP label: accountId.");
1037
1037
  }
1038
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1038
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1039
1039
  }
1040
1040
  else {
1041
1041
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -1066,7 +1066,7 @@ const serializeAws_restJson1PurchaseProvisionedCapacityCommand = async (input, c
1066
1066
  if (labelValue.length <= 0) {
1067
1067
  throw new Error("Empty value provided for input HTTP label: accountId.");
1068
1068
  }
1069
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1069
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1070
1070
  }
1071
1071
  else {
1072
1072
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -1094,7 +1094,7 @@ const serializeAws_restJson1RemoveTagsFromVaultCommand = async (input, context)
1094
1094
  if (labelValue.length <= 0) {
1095
1095
  throw new Error("Empty value provided for input HTTP label: accountId.");
1096
1096
  }
1097
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1097
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1098
1098
  }
1099
1099
  else {
1100
1100
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -1104,7 +1104,7 @@ const serializeAws_restJson1RemoveTagsFromVaultCommand = async (input, context)
1104
1104
  if (labelValue.length <= 0) {
1105
1105
  throw new Error("Empty value provided for input HTTP label: vaultName.");
1106
1106
  }
1107
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1107
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1108
1108
  }
1109
1109
  else {
1110
1110
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -1140,7 +1140,7 @@ const serializeAws_restJson1SetDataRetrievalPolicyCommand = async (input, contex
1140
1140
  if (labelValue.length <= 0) {
1141
1141
  throw new Error("Empty value provided for input HTTP label: accountId.");
1142
1142
  }
1143
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1143
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1144
1144
  }
1145
1145
  else {
1146
1146
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -1173,7 +1173,7 @@ const serializeAws_restJson1SetVaultAccessPolicyCommand = async (input, context)
1173
1173
  if (labelValue.length <= 0) {
1174
1174
  throw new Error("Empty value provided for input HTTP label: accountId.");
1175
1175
  }
1176
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1176
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1177
1177
  }
1178
1178
  else {
1179
1179
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -1183,7 +1183,7 @@ const serializeAws_restJson1SetVaultAccessPolicyCommand = async (input, context)
1183
1183
  if (labelValue.length <= 0) {
1184
1184
  throw new Error("Empty value provided for input HTTP label: vaultName.");
1185
1185
  }
1186
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1186
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1187
1187
  }
1188
1188
  else {
1189
1189
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -1219,7 +1219,7 @@ const serializeAws_restJson1SetVaultNotificationsCommand = async (input, context
1219
1219
  if (labelValue.length <= 0) {
1220
1220
  throw new Error("Empty value provided for input HTTP label: accountId.");
1221
1221
  }
1222
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1222
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1223
1223
  }
1224
1224
  else {
1225
1225
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -1229,7 +1229,7 @@ const serializeAws_restJson1SetVaultNotificationsCommand = async (input, context
1229
1229
  if (labelValue.length <= 0) {
1230
1230
  throw new Error("Empty value provided for input HTTP label: vaultName.");
1231
1231
  }
1232
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1232
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1233
1233
  }
1234
1234
  else {
1235
1235
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -1268,7 +1268,7 @@ const serializeAws_restJson1UploadArchiveCommand = async (input, context) => {
1268
1268
  if (labelValue.length <= 0) {
1269
1269
  throw new Error("Empty value provided for input HTTP label: vaultName.");
1270
1270
  }
1271
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1271
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1272
1272
  }
1273
1273
  else {
1274
1274
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -1278,7 +1278,7 @@ const serializeAws_restJson1UploadArchiveCommand = async (input, context) => {
1278
1278
  if (labelValue.length <= 0) {
1279
1279
  throw new Error("Empty value provided for input HTTP label: accountId.");
1280
1280
  }
1281
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1281
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1282
1282
  }
1283
1283
  else {
1284
1284
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -1312,7 +1312,7 @@ const serializeAws_restJson1UploadMultipartPartCommand = async (input, context)
1312
1312
  if (labelValue.length <= 0) {
1313
1313
  throw new Error("Empty value provided for input HTTP label: accountId.");
1314
1314
  }
1315
- resolvedPath = resolvedPath.replace("{accountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1315
+ resolvedPath = resolvedPath.replace("{accountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1316
1316
  }
1317
1317
  else {
1318
1318
  throw new Error("No value provided for input HTTP label: accountId.");
@@ -1322,7 +1322,7 @@ const serializeAws_restJson1UploadMultipartPartCommand = async (input, context)
1322
1322
  if (labelValue.length <= 0) {
1323
1323
  throw new Error("Empty value provided for input HTTP label: vaultName.");
1324
1324
  }
1325
- resolvedPath = resolvedPath.replace("{vaultName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1325
+ resolvedPath = resolvedPath.replace("{vaultName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1326
1326
  }
1327
1327
  else {
1328
1328
  throw new Error("No value provided for input HTTP label: vaultName.");
@@ -1332,7 +1332,7 @@ const serializeAws_restJson1UploadMultipartPartCommand = async (input, context)
1332
1332
  if (labelValue.length <= 0) {
1333
1333
  throw new Error("Empty value provided for input HTTP label: uploadId.");
1334
1334
  }
1335
- resolvedPath = resolvedPath.replace("{uploadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1335
+ resolvedPath = resolvedPath.replace("{uploadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1336
1336
  }
1337
1337
  else {
1338
1338
  throw new Error("No value provided for input HTTP label: uploadId.");
@@ -1391,7 +1391,7 @@ const deserializeAws_restJson1AbortMultipartUploadCommandError = async (output,
1391
1391
  $fault: "client",
1392
1392
  $metadata: deserializeMetadata(output),
1393
1393
  });
1394
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1394
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1395
1395
  }
1396
1396
  };
1397
1397
  const deserializeAws_restJson1AbortVaultLockCommand = async (output, context) => {
@@ -1433,7 +1433,7 @@ const deserializeAws_restJson1AbortVaultLockCommandError = async (output, contex
1433
1433
  $fault: "client",
1434
1434
  $metadata: deserializeMetadata(output),
1435
1435
  });
1436
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1436
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1437
1437
  }
1438
1438
  };
1439
1439
  const deserializeAws_restJson1AddTagsToVaultCommand = async (output, context) => {
@@ -1478,7 +1478,7 @@ const deserializeAws_restJson1AddTagsToVaultCommandError = async (output, contex
1478
1478
  $fault: "client",
1479
1479
  $metadata: deserializeMetadata(output),
1480
1480
  });
1481
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1481
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1482
1482
  }
1483
1483
  };
1484
1484
  const deserializeAws_restJson1CompleteMultipartUploadCommand = async (output, context) => {
@@ -1532,7 +1532,7 @@ const deserializeAws_restJson1CompleteMultipartUploadCommandError = async (outpu
1532
1532
  $fault: "client",
1533
1533
  $metadata: deserializeMetadata(output),
1534
1534
  });
1535
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1535
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1536
1536
  }
1537
1537
  };
1538
1538
  const deserializeAws_restJson1CompleteVaultLockCommand = async (output, context) => {
@@ -1574,7 +1574,7 @@ const deserializeAws_restJson1CompleteVaultLockCommandError = async (output, con
1574
1574
  $fault: "client",
1575
1575
  $metadata: deserializeMetadata(output),
1576
1576
  });
1577
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1577
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1578
1578
  }
1579
1579
  };
1580
1580
  const deserializeAws_restJson1CreateVaultCommand = async (output, context) => {
@@ -1620,7 +1620,7 @@ const deserializeAws_restJson1CreateVaultCommandError = async (output, context)
1620
1620
  $fault: "client",
1621
1621
  $metadata: deserializeMetadata(output),
1622
1622
  });
1623
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1623
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1624
1624
  }
1625
1625
  };
1626
1626
  const deserializeAws_restJson1DeleteArchiveCommand = async (output, context) => {
@@ -1662,7 +1662,7 @@ const deserializeAws_restJson1DeleteArchiveCommandError = async (output, context
1662
1662
  $fault: "client",
1663
1663
  $metadata: deserializeMetadata(output),
1664
1664
  });
1665
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1665
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1666
1666
  }
1667
1667
  };
1668
1668
  const deserializeAws_restJson1DeleteVaultCommand = async (output, context) => {
@@ -1704,7 +1704,7 @@ const deserializeAws_restJson1DeleteVaultCommandError = async (output, context)
1704
1704
  $fault: "client",
1705
1705
  $metadata: deserializeMetadata(output),
1706
1706
  });
1707
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1707
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1708
1708
  }
1709
1709
  };
1710
1710
  const deserializeAws_restJson1DeleteVaultAccessPolicyCommand = async (output, context) => {
@@ -1746,7 +1746,7 @@ const deserializeAws_restJson1DeleteVaultAccessPolicyCommandError = async (outpu
1746
1746
  $fault: "client",
1747
1747
  $metadata: deserializeMetadata(output),
1748
1748
  });
1749
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1749
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1750
1750
  }
1751
1751
  };
1752
1752
  const deserializeAws_restJson1DeleteVaultNotificationsCommand = async (output, context) => {
@@ -1788,7 +1788,7 @@ const deserializeAws_restJson1DeleteVaultNotificationsCommandError = async (outp
1788
1788
  $fault: "client",
1789
1789
  $metadata: deserializeMetadata(output),
1790
1790
  });
1791
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1791
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1792
1792
  }
1793
1793
  };
1794
1794
  const deserializeAws_restJson1DescribeJobCommand = async (output, context) => {
@@ -1819,69 +1819,69 @@ const deserializeAws_restJson1DescribeJobCommand = async (output, context) => {
1819
1819
  Tier: undefined,
1820
1820
  VaultARN: undefined,
1821
1821
  };
1822
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1822
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1823
1823
  if (data.Action !== undefined && data.Action !== null) {
1824
- contents.Action = smithy_client_1.expectString(data.Action);
1824
+ contents.Action = (0, smithy_client_1.expectString)(data.Action);
1825
1825
  }
1826
1826
  if (data.ArchiveId !== undefined && data.ArchiveId !== null) {
1827
- contents.ArchiveId = smithy_client_1.expectString(data.ArchiveId);
1827
+ contents.ArchiveId = (0, smithy_client_1.expectString)(data.ArchiveId);
1828
1828
  }
1829
1829
  if (data.ArchiveSHA256TreeHash !== undefined && data.ArchiveSHA256TreeHash !== null) {
1830
- contents.ArchiveSHA256TreeHash = smithy_client_1.expectString(data.ArchiveSHA256TreeHash);
1830
+ contents.ArchiveSHA256TreeHash = (0, smithy_client_1.expectString)(data.ArchiveSHA256TreeHash);
1831
1831
  }
1832
1832
  if (data.ArchiveSizeInBytes !== undefined && data.ArchiveSizeInBytes !== null) {
1833
- contents.ArchiveSizeInBytes = smithy_client_1.expectLong(data.ArchiveSizeInBytes);
1833
+ contents.ArchiveSizeInBytes = (0, smithy_client_1.expectLong)(data.ArchiveSizeInBytes);
1834
1834
  }
1835
1835
  if (data.Completed !== undefined && data.Completed !== null) {
1836
- contents.Completed = smithy_client_1.expectBoolean(data.Completed);
1836
+ contents.Completed = (0, smithy_client_1.expectBoolean)(data.Completed);
1837
1837
  }
1838
1838
  if (data.CompletionDate !== undefined && data.CompletionDate !== null) {
1839
- contents.CompletionDate = smithy_client_1.expectString(data.CompletionDate);
1839
+ contents.CompletionDate = (0, smithy_client_1.expectString)(data.CompletionDate);
1840
1840
  }
1841
1841
  if (data.CreationDate !== undefined && data.CreationDate !== null) {
1842
- contents.CreationDate = smithy_client_1.expectString(data.CreationDate);
1842
+ contents.CreationDate = (0, smithy_client_1.expectString)(data.CreationDate);
1843
1843
  }
1844
1844
  if (data.InventoryRetrievalParameters !== undefined && data.InventoryRetrievalParameters !== null) {
1845
1845
  contents.InventoryRetrievalParameters = deserializeAws_restJson1InventoryRetrievalJobDescription(data.InventoryRetrievalParameters, context);
1846
1846
  }
1847
1847
  if (data.InventorySizeInBytes !== undefined && data.InventorySizeInBytes !== null) {
1848
- contents.InventorySizeInBytes = smithy_client_1.expectLong(data.InventorySizeInBytes);
1848
+ contents.InventorySizeInBytes = (0, smithy_client_1.expectLong)(data.InventorySizeInBytes);
1849
1849
  }
1850
1850
  if (data.JobDescription !== undefined && data.JobDescription !== null) {
1851
- contents.JobDescription = smithy_client_1.expectString(data.JobDescription);
1851
+ contents.JobDescription = (0, smithy_client_1.expectString)(data.JobDescription);
1852
1852
  }
1853
1853
  if (data.JobId !== undefined && data.JobId !== null) {
1854
- contents.JobId = smithy_client_1.expectString(data.JobId);
1854
+ contents.JobId = (0, smithy_client_1.expectString)(data.JobId);
1855
1855
  }
1856
1856
  if (data.JobOutputPath !== undefined && data.JobOutputPath !== null) {
1857
- contents.JobOutputPath = smithy_client_1.expectString(data.JobOutputPath);
1857
+ contents.JobOutputPath = (0, smithy_client_1.expectString)(data.JobOutputPath);
1858
1858
  }
1859
1859
  if (data.OutputLocation !== undefined && data.OutputLocation !== null) {
1860
1860
  contents.OutputLocation = deserializeAws_restJson1OutputLocation(data.OutputLocation, context);
1861
1861
  }
1862
1862
  if (data.RetrievalByteRange !== undefined && data.RetrievalByteRange !== null) {
1863
- contents.RetrievalByteRange = smithy_client_1.expectString(data.RetrievalByteRange);
1863
+ contents.RetrievalByteRange = (0, smithy_client_1.expectString)(data.RetrievalByteRange);
1864
1864
  }
1865
1865
  if (data.SHA256TreeHash !== undefined && data.SHA256TreeHash !== null) {
1866
- contents.SHA256TreeHash = smithy_client_1.expectString(data.SHA256TreeHash);
1866
+ contents.SHA256TreeHash = (0, smithy_client_1.expectString)(data.SHA256TreeHash);
1867
1867
  }
1868
1868
  if (data.SNSTopic !== undefined && data.SNSTopic !== null) {
1869
- contents.SNSTopic = smithy_client_1.expectString(data.SNSTopic);
1869
+ contents.SNSTopic = (0, smithy_client_1.expectString)(data.SNSTopic);
1870
1870
  }
1871
1871
  if (data.SelectParameters !== undefined && data.SelectParameters !== null) {
1872
1872
  contents.SelectParameters = deserializeAws_restJson1SelectParameters(data.SelectParameters, context);
1873
1873
  }
1874
1874
  if (data.StatusCode !== undefined && data.StatusCode !== null) {
1875
- contents.StatusCode = smithy_client_1.expectString(data.StatusCode);
1875
+ contents.StatusCode = (0, smithy_client_1.expectString)(data.StatusCode);
1876
1876
  }
1877
1877
  if (data.StatusMessage !== undefined && data.StatusMessage !== null) {
1878
- contents.StatusMessage = smithy_client_1.expectString(data.StatusMessage);
1878
+ contents.StatusMessage = (0, smithy_client_1.expectString)(data.StatusMessage);
1879
1879
  }
1880
1880
  if (data.Tier !== undefined && data.Tier !== null) {
1881
- contents.Tier = smithy_client_1.expectString(data.Tier);
1881
+ contents.Tier = (0, smithy_client_1.expectString)(data.Tier);
1882
1882
  }
1883
1883
  if (data.VaultARN !== undefined && data.VaultARN !== null) {
1884
- contents.VaultARN = smithy_client_1.expectString(data.VaultARN);
1884
+ contents.VaultARN = (0, smithy_client_1.expectString)(data.VaultARN);
1885
1885
  }
1886
1886
  return Promise.resolve(contents);
1887
1887
  };
@@ -1914,7 +1914,7 @@ const deserializeAws_restJson1DescribeJobCommandError = async (output, context)
1914
1914
  $fault: "client",
1915
1915
  $metadata: deserializeMetadata(output),
1916
1916
  });
1917
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1917
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1918
1918
  }
1919
1919
  };
1920
1920
  const deserializeAws_restJson1DescribeVaultCommand = async (output, context) => {
@@ -1930,24 +1930,24 @@ const deserializeAws_restJson1DescribeVaultCommand = async (output, context) =>
1930
1930
  VaultARN: undefined,
1931
1931
  VaultName: undefined,
1932
1932
  };
1933
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1933
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1934
1934
  if (data.CreationDate !== undefined && data.CreationDate !== null) {
1935
- contents.CreationDate = smithy_client_1.expectString(data.CreationDate);
1935
+ contents.CreationDate = (0, smithy_client_1.expectString)(data.CreationDate);
1936
1936
  }
1937
1937
  if (data.LastInventoryDate !== undefined && data.LastInventoryDate !== null) {
1938
- contents.LastInventoryDate = smithy_client_1.expectString(data.LastInventoryDate);
1938
+ contents.LastInventoryDate = (0, smithy_client_1.expectString)(data.LastInventoryDate);
1939
1939
  }
1940
1940
  if (data.NumberOfArchives !== undefined && data.NumberOfArchives !== null) {
1941
- contents.NumberOfArchives = smithy_client_1.expectLong(data.NumberOfArchives);
1941
+ contents.NumberOfArchives = (0, smithy_client_1.expectLong)(data.NumberOfArchives);
1942
1942
  }
1943
1943
  if (data.SizeInBytes !== undefined && data.SizeInBytes !== null) {
1944
- contents.SizeInBytes = smithy_client_1.expectLong(data.SizeInBytes);
1944
+ contents.SizeInBytes = (0, smithy_client_1.expectLong)(data.SizeInBytes);
1945
1945
  }
1946
1946
  if (data.VaultARN !== undefined && data.VaultARN !== null) {
1947
- contents.VaultARN = smithy_client_1.expectString(data.VaultARN);
1947
+ contents.VaultARN = (0, smithy_client_1.expectString)(data.VaultARN);
1948
1948
  }
1949
1949
  if (data.VaultName !== undefined && data.VaultName !== null) {
1950
- contents.VaultName = smithy_client_1.expectString(data.VaultName);
1950
+ contents.VaultName = (0, smithy_client_1.expectString)(data.VaultName);
1951
1951
  }
1952
1952
  return Promise.resolve(contents);
1953
1953
  };
@@ -1980,7 +1980,7 @@ const deserializeAws_restJson1DescribeVaultCommandError = async (output, context
1980
1980
  $fault: "client",
1981
1981
  $metadata: deserializeMetadata(output),
1982
1982
  });
1983
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1983
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1984
1984
  }
1985
1985
  };
1986
1986
  const deserializeAws_restJson1GetDataRetrievalPolicyCommand = async (output, context) => {
@@ -1991,7 +1991,7 @@ const deserializeAws_restJson1GetDataRetrievalPolicyCommand = async (output, con
1991
1991
  $metadata: deserializeMetadata(output),
1992
1992
  Policy: undefined,
1993
1993
  };
1994
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1994
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1995
1995
  if (data.Policy !== undefined && data.Policy !== null) {
1996
1996
  contents.Policy = deserializeAws_restJson1DataRetrievalPolicy(data.Policy, context);
1997
1997
  }
@@ -2023,7 +2023,7 @@ const deserializeAws_restJson1GetDataRetrievalPolicyCommandError = async (output
2023
2023
  $fault: "client",
2024
2024
  $metadata: deserializeMetadata(output),
2025
2025
  });
2026
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2026
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2027
2027
  }
2028
2028
  };
2029
2029
  const deserializeAws_restJson1GetJobOutputCommand = async (output, context) => {
@@ -2091,7 +2091,7 @@ const deserializeAws_restJson1GetJobOutputCommandError = async (output, context)
2091
2091
  $fault: "client",
2092
2092
  $metadata: deserializeMetadata(output),
2093
2093
  });
2094
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2094
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2095
2095
  }
2096
2096
  };
2097
2097
  const deserializeAws_restJson1GetVaultAccessPolicyCommand = async (output, context) => {
@@ -2102,7 +2102,7 @@ const deserializeAws_restJson1GetVaultAccessPolicyCommand = async (output, conte
2102
2102
  $metadata: deserializeMetadata(output),
2103
2103
  policy: undefined,
2104
2104
  };
2105
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2105
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2106
2106
  contents.policy = deserializeAws_restJson1VaultAccessPolicy(data, context);
2107
2107
  return Promise.resolve(contents);
2108
2108
  };
@@ -2135,7 +2135,7 @@ const deserializeAws_restJson1GetVaultAccessPolicyCommandError = async (output,
2135
2135
  $fault: "client",
2136
2136
  $metadata: deserializeMetadata(output),
2137
2137
  });
2138
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2138
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2139
2139
  }
2140
2140
  };
2141
2141
  const deserializeAws_restJson1GetVaultLockCommand = async (output, context) => {
@@ -2149,18 +2149,18 @@ const deserializeAws_restJson1GetVaultLockCommand = async (output, context) => {
2149
2149
  Policy: undefined,
2150
2150
  State: undefined,
2151
2151
  };
2152
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2152
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2153
2153
  if (data.CreationDate !== undefined && data.CreationDate !== null) {
2154
- contents.CreationDate = smithy_client_1.expectString(data.CreationDate);
2154
+ contents.CreationDate = (0, smithy_client_1.expectString)(data.CreationDate);
2155
2155
  }
2156
2156
  if (data.ExpirationDate !== undefined && data.ExpirationDate !== null) {
2157
- contents.ExpirationDate = smithy_client_1.expectString(data.ExpirationDate);
2157
+ contents.ExpirationDate = (0, smithy_client_1.expectString)(data.ExpirationDate);
2158
2158
  }
2159
2159
  if (data.Policy !== undefined && data.Policy !== null) {
2160
- contents.Policy = smithy_client_1.expectString(data.Policy);
2160
+ contents.Policy = (0, smithy_client_1.expectString)(data.Policy);
2161
2161
  }
2162
2162
  if (data.State !== undefined && data.State !== null) {
2163
- contents.State = smithy_client_1.expectString(data.State);
2163
+ contents.State = (0, smithy_client_1.expectString)(data.State);
2164
2164
  }
2165
2165
  return Promise.resolve(contents);
2166
2166
  };
@@ -2193,7 +2193,7 @@ const deserializeAws_restJson1GetVaultLockCommandError = async (output, context)
2193
2193
  $fault: "client",
2194
2194
  $metadata: deserializeMetadata(output),
2195
2195
  });
2196
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2196
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2197
2197
  }
2198
2198
  };
2199
2199
  const deserializeAws_restJson1GetVaultNotificationsCommand = async (output, context) => {
@@ -2204,7 +2204,7 @@ const deserializeAws_restJson1GetVaultNotificationsCommand = async (output, cont
2204
2204
  $metadata: deserializeMetadata(output),
2205
2205
  vaultNotificationConfig: undefined,
2206
2206
  };
2207
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
2207
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
2208
2208
  contents.vaultNotificationConfig = deserializeAws_restJson1VaultNotificationConfig(data, context);
2209
2209
  return Promise.resolve(contents);
2210
2210
  };
@@ -2237,7 +2237,7 @@ const deserializeAws_restJson1GetVaultNotificationsCommandError = async (output,
2237
2237
  $fault: "client",
2238
2238
  $metadata: deserializeMetadata(output),
2239
2239
  });
2240
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2240
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2241
2241
  }
2242
2242
  };
2243
2243
  const deserializeAws_restJson1InitiateJobCommand = async (output, context) => {
@@ -2297,7 +2297,7 @@ const deserializeAws_restJson1InitiateJobCommandError = async (output, context)
2297
2297
  $fault: "client",
2298
2298
  $metadata: deserializeMetadata(output),
2299
2299
  });
2300
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2300
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2301
2301
  }
2302
2302
  };
2303
2303
  const deserializeAws_restJson1InitiateMultipartUploadCommand = async (output, context) => {
@@ -2347,7 +2347,7 @@ const deserializeAws_restJson1InitiateMultipartUploadCommandError = async (outpu
2347
2347
  $fault: "client",
2348
2348
  $metadata: deserializeMetadata(output),
2349
2349
  });
2350
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2350
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2351
2351
  }
2352
2352
  };
2353
2353
  const deserializeAws_restJson1InitiateVaultLockCommand = async (output, context) => {
@@ -2393,7 +2393,7 @@ const deserializeAws_restJson1InitiateVaultLockCommandError = async (output, con
2393
2393
  $fault: "client",
2394
2394
  $metadata: deserializeMetadata(output),
2395
2395
  });
2396
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2396
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2397
2397
  }
2398
2398
  };
2399
2399
  const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
@@ -2405,12 +2405,12 @@ const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
2405
2405
  JobList: undefined,
2406
2406
  Marker: undefined,
2407
2407
  };
2408
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2408
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2409
2409
  if (data.JobList !== undefined && data.JobList !== null) {
2410
2410
  contents.JobList = deserializeAws_restJson1JobList(data.JobList, context);
2411
2411
  }
2412
2412
  if (data.Marker !== undefined && data.Marker !== null) {
2413
- contents.Marker = smithy_client_1.expectString(data.Marker);
2413
+ contents.Marker = (0, smithy_client_1.expectString)(data.Marker);
2414
2414
  }
2415
2415
  return Promise.resolve(contents);
2416
2416
  };
@@ -2443,7 +2443,7 @@ const deserializeAws_restJson1ListJobsCommandError = async (output, context) =>
2443
2443
  $fault: "client",
2444
2444
  $metadata: deserializeMetadata(output),
2445
2445
  });
2446
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2446
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2447
2447
  }
2448
2448
  };
2449
2449
  const deserializeAws_restJson1ListMultipartUploadsCommand = async (output, context) => {
@@ -2455,9 +2455,9 @@ const deserializeAws_restJson1ListMultipartUploadsCommand = async (output, conte
2455
2455
  Marker: undefined,
2456
2456
  UploadsList: undefined,
2457
2457
  };
2458
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2458
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2459
2459
  if (data.Marker !== undefined && data.Marker !== null) {
2460
- contents.Marker = smithy_client_1.expectString(data.Marker);
2460
+ contents.Marker = (0, smithy_client_1.expectString)(data.Marker);
2461
2461
  }
2462
2462
  if (data.UploadsList !== undefined && data.UploadsList !== null) {
2463
2463
  contents.UploadsList = deserializeAws_restJson1UploadsList(data.UploadsList, context);
@@ -2493,7 +2493,7 @@ const deserializeAws_restJson1ListMultipartUploadsCommandError = async (output,
2493
2493
  $fault: "client",
2494
2494
  $metadata: deserializeMetadata(output),
2495
2495
  });
2496
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2496
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2497
2497
  }
2498
2498
  };
2499
2499
  const deserializeAws_restJson1ListPartsCommand = async (output, context) => {
@@ -2510,27 +2510,27 @@ const deserializeAws_restJson1ListPartsCommand = async (output, context) => {
2510
2510
  Parts: undefined,
2511
2511
  VaultARN: undefined,
2512
2512
  };
2513
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2513
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2514
2514
  if (data.ArchiveDescription !== undefined && data.ArchiveDescription !== null) {
2515
- contents.ArchiveDescription = smithy_client_1.expectString(data.ArchiveDescription);
2515
+ contents.ArchiveDescription = (0, smithy_client_1.expectString)(data.ArchiveDescription);
2516
2516
  }
2517
2517
  if (data.CreationDate !== undefined && data.CreationDate !== null) {
2518
- contents.CreationDate = smithy_client_1.expectString(data.CreationDate);
2518
+ contents.CreationDate = (0, smithy_client_1.expectString)(data.CreationDate);
2519
2519
  }
2520
2520
  if (data.Marker !== undefined && data.Marker !== null) {
2521
- contents.Marker = smithy_client_1.expectString(data.Marker);
2521
+ contents.Marker = (0, smithy_client_1.expectString)(data.Marker);
2522
2522
  }
2523
2523
  if (data.MultipartUploadId !== undefined && data.MultipartUploadId !== null) {
2524
- contents.MultipartUploadId = smithy_client_1.expectString(data.MultipartUploadId);
2524
+ contents.MultipartUploadId = (0, smithy_client_1.expectString)(data.MultipartUploadId);
2525
2525
  }
2526
2526
  if (data.PartSizeInBytes !== undefined && data.PartSizeInBytes !== null) {
2527
- contents.PartSizeInBytes = smithy_client_1.expectLong(data.PartSizeInBytes);
2527
+ contents.PartSizeInBytes = (0, smithy_client_1.expectLong)(data.PartSizeInBytes);
2528
2528
  }
2529
2529
  if (data.Parts !== undefined && data.Parts !== null) {
2530
2530
  contents.Parts = deserializeAws_restJson1PartList(data.Parts, context);
2531
2531
  }
2532
2532
  if (data.VaultARN !== undefined && data.VaultARN !== null) {
2533
- contents.VaultARN = smithy_client_1.expectString(data.VaultARN);
2533
+ contents.VaultARN = (0, smithy_client_1.expectString)(data.VaultARN);
2534
2534
  }
2535
2535
  return Promise.resolve(contents);
2536
2536
  };
@@ -2563,7 +2563,7 @@ const deserializeAws_restJson1ListPartsCommandError = async (output, context) =>
2563
2563
  $fault: "client",
2564
2564
  $metadata: deserializeMetadata(output),
2565
2565
  });
2566
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2566
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2567
2567
  }
2568
2568
  };
2569
2569
  const deserializeAws_restJson1ListProvisionedCapacityCommand = async (output, context) => {
@@ -2574,7 +2574,7 @@ const deserializeAws_restJson1ListProvisionedCapacityCommand = async (output, co
2574
2574
  $metadata: deserializeMetadata(output),
2575
2575
  ProvisionedCapacityList: undefined,
2576
2576
  };
2577
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2577
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2578
2578
  if (data.ProvisionedCapacityList !== undefined && data.ProvisionedCapacityList !== null) {
2579
2579
  contents.ProvisionedCapacityList = deserializeAws_restJson1ProvisionedCapacityList(data.ProvisionedCapacityList, context);
2580
2580
  }
@@ -2606,7 +2606,7 @@ const deserializeAws_restJson1ListProvisionedCapacityCommandError = async (outpu
2606
2606
  $fault: "client",
2607
2607
  $metadata: deserializeMetadata(output),
2608
2608
  });
2609
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2609
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2610
2610
  }
2611
2611
  };
2612
2612
  const deserializeAws_restJson1ListTagsForVaultCommand = async (output, context) => {
@@ -2617,7 +2617,7 @@ const deserializeAws_restJson1ListTagsForVaultCommand = async (output, context)
2617
2617
  $metadata: deserializeMetadata(output),
2618
2618
  Tags: undefined,
2619
2619
  };
2620
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2620
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2621
2621
  if (data.Tags !== undefined && data.Tags !== null) {
2622
2622
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2623
2623
  }
@@ -2652,7 +2652,7 @@ const deserializeAws_restJson1ListTagsForVaultCommandError = async (output, cont
2652
2652
  $fault: "client",
2653
2653
  $metadata: deserializeMetadata(output),
2654
2654
  });
2655
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2655
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2656
2656
  }
2657
2657
  };
2658
2658
  const deserializeAws_restJson1ListVaultsCommand = async (output, context) => {
@@ -2664,9 +2664,9 @@ const deserializeAws_restJson1ListVaultsCommand = async (output, context) => {
2664
2664
  Marker: undefined,
2665
2665
  VaultList: undefined,
2666
2666
  };
2667
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2667
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2668
2668
  if (data.Marker !== undefined && data.Marker !== null) {
2669
- contents.Marker = smithy_client_1.expectString(data.Marker);
2669
+ contents.Marker = (0, smithy_client_1.expectString)(data.Marker);
2670
2670
  }
2671
2671
  if (data.VaultList !== undefined && data.VaultList !== null) {
2672
2672
  contents.VaultList = deserializeAws_restJson1VaultList(data.VaultList, context);
@@ -2702,7 +2702,7 @@ const deserializeAws_restJson1ListVaultsCommandError = async (output, context) =
2702
2702
  $fault: "client",
2703
2703
  $metadata: deserializeMetadata(output),
2704
2704
  });
2705
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2705
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2706
2706
  }
2707
2707
  };
2708
2708
  const deserializeAws_restJson1PurchaseProvisionedCapacityCommand = async (output, context) => {
@@ -2748,7 +2748,7 @@ const deserializeAws_restJson1PurchaseProvisionedCapacityCommandError = async (o
2748
2748
  $fault: "client",
2749
2749
  $metadata: deserializeMetadata(output),
2750
2750
  });
2751
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2751
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2752
2752
  }
2753
2753
  };
2754
2754
  const deserializeAws_restJson1RemoveTagsFromVaultCommand = async (output, context) => {
@@ -2790,7 +2790,7 @@ const deserializeAws_restJson1RemoveTagsFromVaultCommandError = async (output, c
2790
2790
  $fault: "client",
2791
2791
  $metadata: deserializeMetadata(output),
2792
2792
  });
2793
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2793
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2794
2794
  }
2795
2795
  };
2796
2796
  const deserializeAws_restJson1SetDataRetrievalPolicyCommand = async (output, context) => {
@@ -2829,7 +2829,7 @@ const deserializeAws_restJson1SetDataRetrievalPolicyCommandError = async (output
2829
2829
  $fault: "client",
2830
2830
  $metadata: deserializeMetadata(output),
2831
2831
  });
2832
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2832
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2833
2833
  }
2834
2834
  };
2835
2835
  const deserializeAws_restJson1SetVaultAccessPolicyCommand = async (output, context) => {
@@ -2871,7 +2871,7 @@ const deserializeAws_restJson1SetVaultAccessPolicyCommandError = async (output,
2871
2871
  $fault: "client",
2872
2872
  $metadata: deserializeMetadata(output),
2873
2873
  });
2874
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2874
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2875
2875
  }
2876
2876
  };
2877
2877
  const deserializeAws_restJson1SetVaultNotificationsCommand = async (output, context) => {
@@ -2913,7 +2913,7 @@ const deserializeAws_restJson1SetVaultNotificationsCommandError = async (output,
2913
2913
  $fault: "client",
2914
2914
  $metadata: deserializeMetadata(output),
2915
2915
  });
2916
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2916
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2917
2917
  }
2918
2918
  };
2919
2919
  const deserializeAws_restJson1UploadArchiveCommand = async (output, context) => {
@@ -2970,7 +2970,7 @@ const deserializeAws_restJson1UploadArchiveCommandError = async (output, context
2970
2970
  $fault: "client",
2971
2971
  $metadata: deserializeMetadata(output),
2972
2972
  });
2973
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2973
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2974
2974
  }
2975
2975
  };
2976
2976
  const deserializeAws_restJson1UploadMultipartPartCommand = async (output, context) => {
@@ -3019,152 +3019,152 @@ const deserializeAws_restJson1UploadMultipartPartCommandError = async (output, c
3019
3019
  $fault: "client",
3020
3020
  $metadata: deserializeMetadata(output),
3021
3021
  });
3022
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3022
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3023
3023
  }
3024
3024
  };
3025
3025
  const deserializeAws_restJson1InsufficientCapacityExceptionResponse = async (parsedOutput, context) => {
3026
3026
  const contents = {};
3027
3027
  const data = parsedOutput.body;
3028
3028
  if (data.code !== undefined && data.code !== null) {
3029
- contents.code = smithy_client_1.expectString(data.code);
3029
+ contents.code = (0, smithy_client_1.expectString)(data.code);
3030
3030
  }
3031
3031
  if (data.message !== undefined && data.message !== null) {
3032
- contents.message = smithy_client_1.expectString(data.message);
3032
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3033
3033
  }
3034
3034
  if (data.type !== undefined && data.type !== null) {
3035
- contents.type = smithy_client_1.expectString(data.type);
3035
+ contents.type = (0, smithy_client_1.expectString)(data.type);
3036
3036
  }
3037
3037
  const exception = new models_0_1.InsufficientCapacityException({
3038
3038
  $metadata: deserializeMetadata(parsedOutput),
3039
3039
  ...contents,
3040
3040
  });
3041
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3041
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3042
3042
  };
3043
3043
  const deserializeAws_restJson1InvalidParameterValueExceptionResponse = async (parsedOutput, context) => {
3044
3044
  const contents = {};
3045
3045
  const data = parsedOutput.body;
3046
3046
  if (data.code !== undefined && data.code !== null) {
3047
- contents.code = smithy_client_1.expectString(data.code);
3047
+ contents.code = (0, smithy_client_1.expectString)(data.code);
3048
3048
  }
3049
3049
  if (data.message !== undefined && data.message !== null) {
3050
- contents.message = smithy_client_1.expectString(data.message);
3050
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3051
3051
  }
3052
3052
  if (data.type !== undefined && data.type !== null) {
3053
- contents.type = smithy_client_1.expectString(data.type);
3053
+ contents.type = (0, smithy_client_1.expectString)(data.type);
3054
3054
  }
3055
3055
  const exception = new models_0_1.InvalidParameterValueException({
3056
3056
  $metadata: deserializeMetadata(parsedOutput),
3057
3057
  ...contents,
3058
3058
  });
3059
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3059
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3060
3060
  };
3061
3061
  const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
3062
3062
  const contents = {};
3063
3063
  const data = parsedOutput.body;
3064
3064
  if (data.code !== undefined && data.code !== null) {
3065
- contents.code = smithy_client_1.expectString(data.code);
3065
+ contents.code = (0, smithy_client_1.expectString)(data.code);
3066
3066
  }
3067
3067
  if (data.message !== undefined && data.message !== null) {
3068
- contents.message = smithy_client_1.expectString(data.message);
3068
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3069
3069
  }
3070
3070
  if (data.type !== undefined && data.type !== null) {
3071
- contents.type = smithy_client_1.expectString(data.type);
3071
+ contents.type = (0, smithy_client_1.expectString)(data.type);
3072
3072
  }
3073
3073
  const exception = new models_0_1.LimitExceededException({
3074
3074
  $metadata: deserializeMetadata(parsedOutput),
3075
3075
  ...contents,
3076
3076
  });
3077
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3077
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3078
3078
  };
3079
3079
  const deserializeAws_restJson1MissingParameterValueExceptionResponse = async (parsedOutput, context) => {
3080
3080
  const contents = {};
3081
3081
  const data = parsedOutput.body;
3082
3082
  if (data.code !== undefined && data.code !== null) {
3083
- contents.code = smithy_client_1.expectString(data.code);
3083
+ contents.code = (0, smithy_client_1.expectString)(data.code);
3084
3084
  }
3085
3085
  if (data.message !== undefined && data.message !== null) {
3086
- contents.message = smithy_client_1.expectString(data.message);
3086
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3087
3087
  }
3088
3088
  if (data.type !== undefined && data.type !== null) {
3089
- contents.type = smithy_client_1.expectString(data.type);
3089
+ contents.type = (0, smithy_client_1.expectString)(data.type);
3090
3090
  }
3091
3091
  const exception = new models_0_1.MissingParameterValueException({
3092
3092
  $metadata: deserializeMetadata(parsedOutput),
3093
3093
  ...contents,
3094
3094
  });
3095
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3095
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3096
3096
  };
3097
3097
  const deserializeAws_restJson1PolicyEnforcedExceptionResponse = async (parsedOutput, context) => {
3098
3098
  const contents = {};
3099
3099
  const data = parsedOutput.body;
3100
3100
  if (data.code !== undefined && data.code !== null) {
3101
- contents.code = smithy_client_1.expectString(data.code);
3101
+ contents.code = (0, smithy_client_1.expectString)(data.code);
3102
3102
  }
3103
3103
  if (data.message !== undefined && data.message !== null) {
3104
- contents.message = smithy_client_1.expectString(data.message);
3104
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3105
3105
  }
3106
3106
  if (data.type !== undefined && data.type !== null) {
3107
- contents.type = smithy_client_1.expectString(data.type);
3107
+ contents.type = (0, smithy_client_1.expectString)(data.type);
3108
3108
  }
3109
3109
  const exception = new models_0_1.PolicyEnforcedException({
3110
3110
  $metadata: deserializeMetadata(parsedOutput),
3111
3111
  ...contents,
3112
3112
  });
3113
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3113
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3114
3114
  };
3115
3115
  const deserializeAws_restJson1RequestTimeoutExceptionResponse = async (parsedOutput, context) => {
3116
3116
  const contents = {};
3117
3117
  const data = parsedOutput.body;
3118
3118
  if (data.code !== undefined && data.code !== null) {
3119
- contents.code = smithy_client_1.expectString(data.code);
3119
+ contents.code = (0, smithy_client_1.expectString)(data.code);
3120
3120
  }
3121
3121
  if (data.message !== undefined && data.message !== null) {
3122
- contents.message = smithy_client_1.expectString(data.message);
3122
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3123
3123
  }
3124
3124
  if (data.type !== undefined && data.type !== null) {
3125
- contents.type = smithy_client_1.expectString(data.type);
3125
+ contents.type = (0, smithy_client_1.expectString)(data.type);
3126
3126
  }
3127
3127
  const exception = new models_0_1.RequestTimeoutException({
3128
3128
  $metadata: deserializeMetadata(parsedOutput),
3129
3129
  ...contents,
3130
3130
  });
3131
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3131
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3132
3132
  };
3133
3133
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
3134
3134
  const contents = {};
3135
3135
  const data = parsedOutput.body;
3136
3136
  if (data.code !== undefined && data.code !== null) {
3137
- contents.code = smithy_client_1.expectString(data.code);
3137
+ contents.code = (0, smithy_client_1.expectString)(data.code);
3138
3138
  }
3139
3139
  if (data.message !== undefined && data.message !== null) {
3140
- contents.message = smithy_client_1.expectString(data.message);
3140
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3141
3141
  }
3142
3142
  if (data.type !== undefined && data.type !== null) {
3143
- contents.type = smithy_client_1.expectString(data.type);
3143
+ contents.type = (0, smithy_client_1.expectString)(data.type);
3144
3144
  }
3145
3145
  const exception = new models_0_1.ResourceNotFoundException({
3146
3146
  $metadata: deserializeMetadata(parsedOutput),
3147
3147
  ...contents,
3148
3148
  });
3149
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3149
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3150
3150
  };
3151
3151
  const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
3152
3152
  const contents = {};
3153
3153
  const data = parsedOutput.body;
3154
3154
  if (data.code !== undefined && data.code !== null) {
3155
- contents.code = smithy_client_1.expectString(data.code);
3155
+ contents.code = (0, smithy_client_1.expectString)(data.code);
3156
3156
  }
3157
3157
  if (data.message !== undefined && data.message !== null) {
3158
- contents.message = smithy_client_1.expectString(data.message);
3158
+ contents.message = (0, smithy_client_1.expectString)(data.message);
3159
3159
  }
3160
3160
  if (data.type !== undefined && data.type !== null) {
3161
- contents.type = smithy_client_1.expectString(data.type);
3161
+ contents.type = (0, smithy_client_1.expectString)(data.type);
3162
3162
  }
3163
3163
  const exception = new models_0_1.ServiceUnavailableException({
3164
3164
  $metadata: deserializeMetadata(parsedOutput),
3165
3165
  ...contents,
3166
3166
  });
3167
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3167
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3168
3168
  };
3169
3169
  const serializeAws_restJson1AccessControlPolicyList = (input, context) => {
3170
3170
  return input
@@ -3402,21 +3402,21 @@ const deserializeAws_restJson1AccessControlPolicyList = (output, context) => {
3402
3402
  };
3403
3403
  const deserializeAws_restJson1CSVInput = (output, context) => {
3404
3404
  return {
3405
- Comments: smithy_client_1.expectString(output.Comments),
3406
- FieldDelimiter: smithy_client_1.expectString(output.FieldDelimiter),
3407
- FileHeaderInfo: smithy_client_1.expectString(output.FileHeaderInfo),
3408
- QuoteCharacter: smithy_client_1.expectString(output.QuoteCharacter),
3409
- QuoteEscapeCharacter: smithy_client_1.expectString(output.QuoteEscapeCharacter),
3410
- RecordDelimiter: smithy_client_1.expectString(output.RecordDelimiter),
3405
+ Comments: (0, smithy_client_1.expectString)(output.Comments),
3406
+ FieldDelimiter: (0, smithy_client_1.expectString)(output.FieldDelimiter),
3407
+ FileHeaderInfo: (0, smithy_client_1.expectString)(output.FileHeaderInfo),
3408
+ QuoteCharacter: (0, smithy_client_1.expectString)(output.QuoteCharacter),
3409
+ QuoteEscapeCharacter: (0, smithy_client_1.expectString)(output.QuoteEscapeCharacter),
3410
+ RecordDelimiter: (0, smithy_client_1.expectString)(output.RecordDelimiter),
3411
3411
  };
3412
3412
  };
3413
3413
  const deserializeAws_restJson1CSVOutput = (output, context) => {
3414
3414
  return {
3415
- FieldDelimiter: smithy_client_1.expectString(output.FieldDelimiter),
3416
- QuoteCharacter: smithy_client_1.expectString(output.QuoteCharacter),
3417
- QuoteEscapeCharacter: smithy_client_1.expectString(output.QuoteEscapeCharacter),
3418
- QuoteFields: smithy_client_1.expectString(output.QuoteFields),
3419
- RecordDelimiter: smithy_client_1.expectString(output.RecordDelimiter),
3415
+ FieldDelimiter: (0, smithy_client_1.expectString)(output.FieldDelimiter),
3416
+ QuoteCharacter: (0, smithy_client_1.expectString)(output.QuoteCharacter),
3417
+ QuoteEscapeCharacter: (0, smithy_client_1.expectString)(output.QuoteEscapeCharacter),
3418
+ QuoteFields: (0, smithy_client_1.expectString)(output.QuoteFields),
3419
+ RecordDelimiter: (0, smithy_client_1.expectString)(output.RecordDelimiter),
3420
3420
  };
3421
3421
  };
3422
3422
  const deserializeAws_restJson1DataRetrievalPolicy = (output, context) => {
@@ -3428,8 +3428,8 @@ const deserializeAws_restJson1DataRetrievalPolicy = (output, context) => {
3428
3428
  };
3429
3429
  const deserializeAws_restJson1DataRetrievalRule = (output, context) => {
3430
3430
  return {
3431
- BytesPerHour: smithy_client_1.expectLong(output.BytesPerHour),
3432
- Strategy: smithy_client_1.expectString(output.Strategy),
3431
+ BytesPerHour: (0, smithy_client_1.expectLong)(output.BytesPerHour),
3432
+ Strategy: (0, smithy_client_1.expectString)(output.Strategy),
3433
3433
  };
3434
3434
  };
3435
3435
  const deserializeAws_restJson1DataRetrievalRulesList = (output, context) => {
@@ -3445,50 +3445,50 @@ const deserializeAws_restJson1DataRetrievalRulesList = (output, context) => {
3445
3445
  };
3446
3446
  const deserializeAws_restJson1DescribeVaultOutput = (output, context) => {
3447
3447
  return {
3448
- CreationDate: smithy_client_1.expectString(output.CreationDate),
3449
- LastInventoryDate: smithy_client_1.expectString(output.LastInventoryDate),
3450
- NumberOfArchives: smithy_client_1.expectLong(output.NumberOfArchives),
3451
- SizeInBytes: smithy_client_1.expectLong(output.SizeInBytes),
3452
- VaultARN: smithy_client_1.expectString(output.VaultARN),
3453
- VaultName: smithy_client_1.expectString(output.VaultName),
3448
+ CreationDate: (0, smithy_client_1.expectString)(output.CreationDate),
3449
+ LastInventoryDate: (0, smithy_client_1.expectString)(output.LastInventoryDate),
3450
+ NumberOfArchives: (0, smithy_client_1.expectLong)(output.NumberOfArchives),
3451
+ SizeInBytes: (0, smithy_client_1.expectLong)(output.SizeInBytes),
3452
+ VaultARN: (0, smithy_client_1.expectString)(output.VaultARN),
3453
+ VaultName: (0, smithy_client_1.expectString)(output.VaultName),
3454
3454
  };
3455
3455
  };
3456
3456
  const deserializeAws_restJson1Encryption = (output, context) => {
3457
3457
  return {
3458
- EncryptionType: smithy_client_1.expectString(output.EncryptionType),
3459
- KMSContext: smithy_client_1.expectString(output.KMSContext),
3460
- KMSKeyId: smithy_client_1.expectString(output.KMSKeyId),
3458
+ EncryptionType: (0, smithy_client_1.expectString)(output.EncryptionType),
3459
+ KMSContext: (0, smithy_client_1.expectString)(output.KMSContext),
3460
+ KMSKeyId: (0, smithy_client_1.expectString)(output.KMSKeyId),
3461
3461
  };
3462
3462
  };
3463
3463
  const deserializeAws_restJson1GlacierJobDescription = (output, context) => {
3464
3464
  return {
3465
- Action: smithy_client_1.expectString(output.Action),
3466
- ArchiveId: smithy_client_1.expectString(output.ArchiveId),
3467
- ArchiveSHA256TreeHash: smithy_client_1.expectString(output.ArchiveSHA256TreeHash),
3468
- ArchiveSizeInBytes: smithy_client_1.expectLong(output.ArchiveSizeInBytes),
3469
- Completed: smithy_client_1.expectBoolean(output.Completed),
3470
- CompletionDate: smithy_client_1.expectString(output.CompletionDate),
3471
- CreationDate: smithy_client_1.expectString(output.CreationDate),
3465
+ Action: (0, smithy_client_1.expectString)(output.Action),
3466
+ ArchiveId: (0, smithy_client_1.expectString)(output.ArchiveId),
3467
+ ArchiveSHA256TreeHash: (0, smithy_client_1.expectString)(output.ArchiveSHA256TreeHash),
3468
+ ArchiveSizeInBytes: (0, smithy_client_1.expectLong)(output.ArchiveSizeInBytes),
3469
+ Completed: (0, smithy_client_1.expectBoolean)(output.Completed),
3470
+ CompletionDate: (0, smithy_client_1.expectString)(output.CompletionDate),
3471
+ CreationDate: (0, smithy_client_1.expectString)(output.CreationDate),
3472
3472
  InventoryRetrievalParameters: output.InventoryRetrievalParameters !== undefined && output.InventoryRetrievalParameters !== null
3473
3473
  ? deserializeAws_restJson1InventoryRetrievalJobDescription(output.InventoryRetrievalParameters, context)
3474
3474
  : undefined,
3475
- InventorySizeInBytes: smithy_client_1.expectLong(output.InventorySizeInBytes),
3476
- JobDescription: smithy_client_1.expectString(output.JobDescription),
3477
- JobId: smithy_client_1.expectString(output.JobId),
3478
- JobOutputPath: smithy_client_1.expectString(output.JobOutputPath),
3475
+ InventorySizeInBytes: (0, smithy_client_1.expectLong)(output.InventorySizeInBytes),
3476
+ JobDescription: (0, smithy_client_1.expectString)(output.JobDescription),
3477
+ JobId: (0, smithy_client_1.expectString)(output.JobId),
3478
+ JobOutputPath: (0, smithy_client_1.expectString)(output.JobOutputPath),
3479
3479
  OutputLocation: output.OutputLocation !== undefined && output.OutputLocation !== null
3480
3480
  ? deserializeAws_restJson1OutputLocation(output.OutputLocation, context)
3481
3481
  : undefined,
3482
- RetrievalByteRange: smithy_client_1.expectString(output.RetrievalByteRange),
3483
- SHA256TreeHash: smithy_client_1.expectString(output.SHA256TreeHash),
3484
- SNSTopic: smithy_client_1.expectString(output.SNSTopic),
3482
+ RetrievalByteRange: (0, smithy_client_1.expectString)(output.RetrievalByteRange),
3483
+ SHA256TreeHash: (0, smithy_client_1.expectString)(output.SHA256TreeHash),
3484
+ SNSTopic: (0, smithy_client_1.expectString)(output.SNSTopic),
3485
3485
  SelectParameters: output.SelectParameters !== undefined && output.SelectParameters !== null
3486
3486
  ? deserializeAws_restJson1SelectParameters(output.SelectParameters, context)
3487
3487
  : undefined,
3488
- StatusCode: smithy_client_1.expectString(output.StatusCode),
3489
- StatusMessage: smithy_client_1.expectString(output.StatusMessage),
3490
- Tier: smithy_client_1.expectString(output.Tier),
3491
- VaultARN: smithy_client_1.expectString(output.VaultARN),
3488
+ StatusCode: (0, smithy_client_1.expectString)(output.StatusCode),
3489
+ StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
3490
+ Tier: (0, smithy_client_1.expectString)(output.Tier),
3491
+ VaultARN: (0, smithy_client_1.expectString)(output.VaultARN),
3492
3492
  };
3493
3493
  };
3494
3494
  const deserializeAws_restJson1Grant = (output, context) => {
@@ -3496,16 +3496,16 @@ const deserializeAws_restJson1Grant = (output, context) => {
3496
3496
  Grantee: output.Grantee !== undefined && output.Grantee !== null
3497
3497
  ? deserializeAws_restJson1Grantee(output.Grantee, context)
3498
3498
  : undefined,
3499
- Permission: smithy_client_1.expectString(output.Permission),
3499
+ Permission: (0, smithy_client_1.expectString)(output.Permission),
3500
3500
  };
3501
3501
  };
3502
3502
  const deserializeAws_restJson1Grantee = (output, context) => {
3503
3503
  return {
3504
- DisplayName: smithy_client_1.expectString(output.DisplayName),
3505
- EmailAddress: smithy_client_1.expectString(output.EmailAddress),
3506
- ID: smithy_client_1.expectString(output.ID),
3507
- Type: smithy_client_1.expectString(output.Type),
3508
- URI: smithy_client_1.expectString(output.URI),
3504
+ DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
3505
+ EmailAddress: (0, smithy_client_1.expectString)(output.EmailAddress),
3506
+ ID: (0, smithy_client_1.expectString)(output.ID),
3507
+ Type: (0, smithy_client_1.expectString)(output.Type),
3508
+ URI: (0, smithy_client_1.expectString)(output.URI),
3509
3509
  };
3510
3510
  };
3511
3511
  const deserializeAws_restJson1hashmap = (output, context) => {
@@ -3515,7 +3515,7 @@ const deserializeAws_restJson1hashmap = (output, context) => {
3515
3515
  }
3516
3516
  return {
3517
3517
  ...acc,
3518
- [key]: smithy_client_1.expectString(value),
3518
+ [key]: (0, smithy_client_1.expectString)(value),
3519
3519
  };
3520
3520
  }, {});
3521
3521
  };
@@ -3528,11 +3528,11 @@ const deserializeAws_restJson1InputSerialization = (output, context) => {
3528
3528
  };
3529
3529
  const deserializeAws_restJson1InventoryRetrievalJobDescription = (output, context) => {
3530
3530
  return {
3531
- EndDate: smithy_client_1.expectString(output.EndDate),
3532
- Format: smithy_client_1.expectString(output.Format),
3533
- Limit: smithy_client_1.expectString(output.Limit),
3534
- Marker: smithy_client_1.expectString(output.Marker),
3535
- StartDate: smithy_client_1.expectString(output.StartDate),
3531
+ EndDate: (0, smithy_client_1.expectString)(output.EndDate),
3532
+ Format: (0, smithy_client_1.expectString)(output.Format),
3533
+ Limit: (0, smithy_client_1.expectString)(output.Limit),
3534
+ Marker: (0, smithy_client_1.expectString)(output.Marker),
3535
+ StartDate: (0, smithy_client_1.expectString)(output.StartDate),
3536
3536
  };
3537
3537
  };
3538
3538
  const deserializeAws_restJson1JobList = (output, context) => {
@@ -3553,7 +3553,7 @@ const deserializeAws_restJson1NotificationEventList = (output, context) => {
3553
3553
  if (entry === null) {
3554
3554
  return null;
3555
3555
  }
3556
- return smithy_client_1.expectString(entry);
3556
+ return (0, smithy_client_1.expectString)(entry);
3557
3557
  });
3558
3558
  return retVal;
3559
3559
  };
@@ -3584,15 +3584,15 @@ const deserializeAws_restJson1PartList = (output, context) => {
3584
3584
  };
3585
3585
  const deserializeAws_restJson1PartListElement = (output, context) => {
3586
3586
  return {
3587
- RangeInBytes: smithy_client_1.expectString(output.RangeInBytes),
3588
- SHA256TreeHash: smithy_client_1.expectString(output.SHA256TreeHash),
3587
+ RangeInBytes: (0, smithy_client_1.expectString)(output.RangeInBytes),
3588
+ SHA256TreeHash: (0, smithy_client_1.expectString)(output.SHA256TreeHash),
3589
3589
  };
3590
3590
  };
3591
3591
  const deserializeAws_restJson1ProvisionedCapacityDescription = (output, context) => {
3592
3592
  return {
3593
- CapacityId: smithy_client_1.expectString(output.CapacityId),
3594
- ExpirationDate: smithy_client_1.expectString(output.ExpirationDate),
3595
- StartDate: smithy_client_1.expectString(output.StartDate),
3593
+ CapacityId: (0, smithy_client_1.expectString)(output.CapacityId),
3594
+ ExpirationDate: (0, smithy_client_1.expectString)(output.ExpirationDate),
3595
+ StartDate: (0, smithy_client_1.expectString)(output.StartDate),
3596
3596
  };
3597
3597
  };
3598
3598
  const deserializeAws_restJson1ProvisionedCapacityList = (output, context) => {
@@ -3611,13 +3611,13 @@ const deserializeAws_restJson1S3Location = (output, context) => {
3611
3611
  AccessControlList: output.AccessControlList !== undefined && output.AccessControlList !== null
3612
3612
  ? deserializeAws_restJson1AccessControlPolicyList(output.AccessControlList, context)
3613
3613
  : undefined,
3614
- BucketName: smithy_client_1.expectString(output.BucketName),
3615
- CannedACL: smithy_client_1.expectString(output.CannedACL),
3614
+ BucketName: (0, smithy_client_1.expectString)(output.BucketName),
3615
+ CannedACL: (0, smithy_client_1.expectString)(output.CannedACL),
3616
3616
  Encryption: output.Encryption !== undefined && output.Encryption !== null
3617
3617
  ? deserializeAws_restJson1Encryption(output.Encryption, context)
3618
3618
  : undefined,
3619
- Prefix: smithy_client_1.expectString(output.Prefix),
3620
- StorageClass: smithy_client_1.expectString(output.StorageClass),
3619
+ Prefix: (0, smithy_client_1.expectString)(output.Prefix),
3620
+ StorageClass: (0, smithy_client_1.expectString)(output.StorageClass),
3621
3621
  Tagging: output.Tagging !== undefined && output.Tagging !== null
3622
3622
  ? deserializeAws_restJson1hashmap(output.Tagging, context)
3623
3623
  : undefined,
@@ -3628,8 +3628,8 @@ const deserializeAws_restJson1S3Location = (output, context) => {
3628
3628
  };
3629
3629
  const deserializeAws_restJson1SelectParameters = (output, context) => {
3630
3630
  return {
3631
- Expression: smithy_client_1.expectString(output.Expression),
3632
- ExpressionType: smithy_client_1.expectString(output.ExpressionType),
3631
+ Expression: (0, smithy_client_1.expectString)(output.Expression),
3632
+ ExpressionType: (0, smithy_client_1.expectString)(output.ExpressionType),
3633
3633
  InputSerialization: output.InputSerialization !== undefined && output.InputSerialization !== null
3634
3634
  ? deserializeAws_restJson1InputSerialization(output.InputSerialization, context)
3635
3635
  : undefined,
@@ -3645,17 +3645,17 @@ const deserializeAws_restJson1TagMap = (output, context) => {
3645
3645
  }
3646
3646
  return {
3647
3647
  ...acc,
3648
- [key]: smithy_client_1.expectString(value),
3648
+ [key]: (0, smithy_client_1.expectString)(value),
3649
3649
  };
3650
3650
  }, {});
3651
3651
  };
3652
3652
  const deserializeAws_restJson1UploadListElement = (output, context) => {
3653
3653
  return {
3654
- ArchiveDescription: smithy_client_1.expectString(output.ArchiveDescription),
3655
- CreationDate: smithy_client_1.expectString(output.CreationDate),
3656
- MultipartUploadId: smithy_client_1.expectString(output.MultipartUploadId),
3657
- PartSizeInBytes: smithy_client_1.expectLong(output.PartSizeInBytes),
3658
- VaultARN: smithy_client_1.expectString(output.VaultARN),
3654
+ ArchiveDescription: (0, smithy_client_1.expectString)(output.ArchiveDescription),
3655
+ CreationDate: (0, smithy_client_1.expectString)(output.CreationDate),
3656
+ MultipartUploadId: (0, smithy_client_1.expectString)(output.MultipartUploadId),
3657
+ PartSizeInBytes: (0, smithy_client_1.expectLong)(output.PartSizeInBytes),
3658
+ VaultARN: (0, smithy_client_1.expectString)(output.VaultARN),
3659
3659
  };
3660
3660
  };
3661
3661
  const deserializeAws_restJson1UploadsList = (output, context) => {
@@ -3671,7 +3671,7 @@ const deserializeAws_restJson1UploadsList = (output, context) => {
3671
3671
  };
3672
3672
  const deserializeAws_restJson1VaultAccessPolicy = (output, context) => {
3673
3673
  return {
3674
- Policy: smithy_client_1.expectString(output.Policy),
3674
+ Policy: (0, smithy_client_1.expectString)(output.Policy),
3675
3675
  };
3676
3676
  };
3677
3677
  const deserializeAws_restJson1VaultList = (output, context) => {
@@ -3690,7 +3690,7 @@ const deserializeAws_restJson1VaultNotificationConfig = (output, context) => {
3690
3690
  Events: output.Events !== undefined && output.Events !== null
3691
3691
  ? deserializeAws_restJson1NotificationEventList(output.Events, context)
3692
3692
  : undefined,
3693
- SNSTopic: smithy_client_1.expectString(output.SNSTopic),
3693
+ SNSTopic: (0, smithy_client_1.expectString)(output.SNSTopic),
3694
3694
  };
3695
3695
  };
3696
3696
  const deserializeMetadata = (output) => {