@aws-sdk/client-efs 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 (52) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/EFSClient.js +13 -13
  3. package/dist-cjs/commands/CreateAccessPointCommand.js +3 -3
  4. package/dist-cjs/commands/CreateFileSystemCommand.js +3 -3
  5. package/dist-cjs/commands/CreateMountTargetCommand.js +3 -3
  6. package/dist-cjs/commands/CreateReplicationConfigurationCommand.js +3 -3
  7. package/dist-cjs/commands/CreateTagsCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteAccessPointCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteFileSystemCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteFileSystemPolicyCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteMountTargetCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteReplicationConfigurationCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteTagsCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeAccessPointsCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeAccountPreferencesCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeBackupPolicyCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeFileSystemPolicyCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeFileSystemsCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeLifecycleConfigurationCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeMountTargetSecurityGroupsCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeMountTargetsCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeReplicationConfigurationsCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeTagsCommand.js +3 -3
  24. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  25. package/dist-cjs/commands/ModifyMountTargetSecurityGroupsCommand.js +3 -3
  26. package/dist-cjs/commands/PutAccountPreferencesCommand.js +3 -3
  27. package/dist-cjs/commands/PutBackupPolicyCommand.js +3 -3
  28. package/dist-cjs/commands/PutFileSystemPolicyCommand.js +3 -3
  29. package/dist-cjs/commands/PutLifecycleConfigurationCommand.js +3 -3
  30. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  31. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  32. package/dist-cjs/commands/UpdateFileSystemCommand.js +3 -3
  33. package/dist-cjs/endpoints.js +1 -1
  34. package/dist-cjs/protocols/Aws_restJson1.js +290 -290
  35. package/dist-cjs/runtimeConfig.browser.js +4 -4
  36. package/dist-cjs/runtimeConfig.js +9 -9
  37. package/dist-cjs/runtimeConfig.native.js +1 -1
  38. package/dist-es/EFS.js +30 -30
  39. package/dist-es/pagination/DescribeAccessPointsPaginator.js +4 -4
  40. package/dist-es/pagination/DescribeFileSystemsPaginator.js +4 -4
  41. package/dist-es/pagination/DescribeTagsPaginator.js +4 -4
  42. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  43. package/dist-es/protocols/Aws_restJson1.js +30 -30
  44. package/dist-types/EFSClient.d.ts +2 -2
  45. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  46. package/dist-types/runtimeConfig.d.ts +1 -1
  47. package/dist-types/runtimeConfig.native.d.ts +3 -3
  48. package/dist-types/ts3.4/EFSClient.d.ts +2 -2
  49. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  50. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  51. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  52. package/package.json +34 -34
@@ -16,7 +16,7 @@ const serializeAws_restJson1CreateAccessPointCommand = async (input, context) =>
16
16
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/2015-02-01/access-points";
17
17
  let body;
18
18
  body = JSON.stringify({
19
- ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
19
+ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
20
20
  ...(input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId }),
21
21
  ...(input.PosixUser !== undefined &&
22
22
  input.PosixUser !== null && { PosixUser: serializeAws_restJson1PosixUser(input.PosixUser, context) }),
@@ -49,14 +49,14 @@ const serializeAws_restJson1CreateFileSystemCommand = async (input, context) =>
49
49
  ...(input.AvailabilityZoneName !== undefined &&
50
50
  input.AvailabilityZoneName !== null && { AvailabilityZoneName: input.AvailabilityZoneName }),
51
51
  ...(input.Backup !== undefined && input.Backup !== null && { Backup: input.Backup }),
52
- CreationToken: (_a = input.CreationToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
52
+ CreationToken: (_a = input.CreationToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
53
53
  ...(input.Encrypted !== undefined && input.Encrypted !== null && { Encrypted: input.Encrypted }),
54
54
  ...(input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }),
55
55
  ...(input.PerformanceMode !== undefined &&
56
56
  input.PerformanceMode !== null && { PerformanceMode: input.PerformanceMode }),
57
57
  ...(input.ProvisionedThroughputInMibps !== undefined &&
58
58
  input.ProvisionedThroughputInMibps !== null && {
59
- ProvisionedThroughputInMibps: smithy_client_1.serializeFloat(input.ProvisionedThroughputInMibps),
59
+ ProvisionedThroughputInMibps: (0, smithy_client_1.serializeFloat)(input.ProvisionedThroughputInMibps),
60
60
  }),
61
61
  ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1Tags(input.Tags, context) }),
62
62
  ...(input.ThroughputMode !== undefined &&
@@ -112,7 +112,7 @@ const serializeAws_restJson1CreateReplicationConfigurationCommand = async (input
112
112
  if (labelValue.length <= 0) {
113
113
  throw new Error("Empty value provided for input HTTP label: SourceFileSystemId.");
114
114
  }
115
- resolvedPath = resolvedPath.replace("{SourceFileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
115
+ resolvedPath = resolvedPath.replace("{SourceFileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
116
116
  }
117
117
  else {
118
118
  throw new Error("No value provided for input HTTP label: SourceFileSystemId.");
@@ -146,7 +146,7 @@ const serializeAws_restJson1CreateTagsCommand = async (input, context) => {
146
146
  if (labelValue.length <= 0) {
147
147
  throw new Error("Empty value provided for input HTTP label: FileSystemId.");
148
148
  }
149
- resolvedPath = resolvedPath.replace("{FileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
149
+ resolvedPath = resolvedPath.replace("{FileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
150
150
  }
151
151
  else {
152
152
  throw new Error("No value provided for input HTTP label: FileSystemId.");
@@ -175,7 +175,7 @@ const serializeAws_restJson1DeleteAccessPointCommand = async (input, context) =>
175
175
  if (labelValue.length <= 0) {
176
176
  throw new Error("Empty value provided for input HTTP label: AccessPointId.");
177
177
  }
178
- resolvedPath = resolvedPath.replace("{AccessPointId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
178
+ resolvedPath = resolvedPath.replace("{AccessPointId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
179
179
  }
180
180
  else {
181
181
  throw new Error("No value provided for input HTTP label: AccessPointId.");
@@ -201,7 +201,7 @@ const serializeAws_restJson1DeleteFileSystemCommand = async (input, context) =>
201
201
  if (labelValue.length <= 0) {
202
202
  throw new Error("Empty value provided for input HTTP label: FileSystemId.");
203
203
  }
204
- resolvedPath = resolvedPath.replace("{FileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
204
+ resolvedPath = resolvedPath.replace("{FileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
205
205
  }
206
206
  else {
207
207
  throw new Error("No value provided for input HTTP label: FileSystemId.");
@@ -228,7 +228,7 @@ const serializeAws_restJson1DeleteFileSystemPolicyCommand = async (input, contex
228
228
  if (labelValue.length <= 0) {
229
229
  throw new Error("Empty value provided for input HTTP label: FileSystemId.");
230
230
  }
231
- resolvedPath = resolvedPath.replace("{FileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
231
+ resolvedPath = resolvedPath.replace("{FileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
232
232
  }
233
233
  else {
234
234
  throw new Error("No value provided for input HTTP label: FileSystemId.");
@@ -254,7 +254,7 @@ const serializeAws_restJson1DeleteMountTargetCommand = async (input, context) =>
254
254
  if (labelValue.length <= 0) {
255
255
  throw new Error("Empty value provided for input HTTP label: MountTargetId.");
256
256
  }
257
- resolvedPath = resolvedPath.replace("{MountTargetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
257
+ resolvedPath = resolvedPath.replace("{MountTargetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
258
258
  }
259
259
  else {
260
260
  throw new Error("No value provided for input HTTP label: MountTargetId.");
@@ -281,7 +281,7 @@ const serializeAws_restJson1DeleteReplicationConfigurationCommand = async (input
281
281
  if (labelValue.length <= 0) {
282
282
  throw new Error("Empty value provided for input HTTP label: SourceFileSystemId.");
283
283
  }
284
- resolvedPath = resolvedPath.replace("{SourceFileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
284
+ resolvedPath = resolvedPath.replace("{SourceFileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
285
285
  }
286
286
  else {
287
287
  throw new Error("No value provided for input HTTP label: SourceFileSystemId.");
@@ -309,7 +309,7 @@ const serializeAws_restJson1DeleteTagsCommand = async (input, context) => {
309
309
  if (labelValue.length <= 0) {
310
310
  throw new Error("Empty value provided for input HTTP label: FileSystemId.");
311
311
  }
312
- resolvedPath = resolvedPath.replace("{FileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
312
+ resolvedPath = resolvedPath.replace("{FileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
313
313
  }
314
314
  else {
315
315
  throw new Error("No value provided for input HTTP label: FileSystemId.");
@@ -385,7 +385,7 @@ const serializeAws_restJson1DescribeBackupPolicyCommand = async (input, context)
385
385
  if (labelValue.length <= 0) {
386
386
  throw new Error("Empty value provided for input HTTP label: FileSystemId.");
387
387
  }
388
- resolvedPath = resolvedPath.replace("{FileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
388
+ resolvedPath = resolvedPath.replace("{FileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
389
389
  }
390
390
  else {
391
391
  throw new Error("No value provided for input HTTP label: FileSystemId.");
@@ -412,7 +412,7 @@ const serializeAws_restJson1DescribeFileSystemPolicyCommand = async (input, cont
412
412
  if (labelValue.length <= 0) {
413
413
  throw new Error("Empty value provided for input HTTP label: FileSystemId.");
414
414
  }
415
- resolvedPath = resolvedPath.replace("{FileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
415
+ resolvedPath = resolvedPath.replace("{FileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
416
416
  }
417
417
  else {
418
418
  throw new Error("No value provided for input HTTP label: FileSystemId.");
@@ -462,7 +462,7 @@ const serializeAws_restJson1DescribeLifecycleConfigurationCommand = async (input
462
462
  if (labelValue.length <= 0) {
463
463
  throw new Error("Empty value provided for input HTTP label: FileSystemId.");
464
464
  }
465
- resolvedPath = resolvedPath.replace("{FileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
465
+ resolvedPath = resolvedPath.replace("{FileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
466
466
  }
467
467
  else {
468
468
  throw new Error("No value provided for input HTTP label: FileSystemId.");
@@ -513,7 +513,7 @@ const serializeAws_restJson1DescribeMountTargetSecurityGroupsCommand = async (in
513
513
  if (labelValue.length <= 0) {
514
514
  throw new Error("Empty value provided for input HTTP label: MountTargetId.");
515
515
  }
516
- resolvedPath = resolvedPath.replace("{MountTargetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
516
+ resolvedPath = resolvedPath.replace("{MountTargetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
517
517
  }
518
518
  else {
519
519
  throw new Error("No value provided for input HTTP label: MountTargetId.");
@@ -562,7 +562,7 @@ const serializeAws_restJson1DescribeTagsCommand = async (input, context) => {
562
562
  if (labelValue.length <= 0) {
563
563
  throw new Error("Empty value provided for input HTTP label: FileSystemId.");
564
564
  }
565
- resolvedPath = resolvedPath.replace("{FileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
565
+ resolvedPath = resolvedPath.replace("{FileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
566
566
  }
567
567
  else {
568
568
  throw new Error("No value provided for input HTTP label: FileSystemId.");
@@ -593,7 +593,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
593
593
  if (labelValue.length <= 0) {
594
594
  throw new Error("Empty value provided for input HTTP label: ResourceId.");
595
595
  }
596
- resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
596
+ resolvedPath = resolvedPath.replace("{ResourceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
597
597
  }
598
598
  else {
599
599
  throw new Error("No value provided for input HTTP label: ResourceId.");
@@ -627,7 +627,7 @@ const serializeAws_restJson1ModifyMountTargetSecurityGroupsCommand = async (inpu
627
627
  if (labelValue.length <= 0) {
628
628
  throw new Error("Empty value provided for input HTTP label: MountTargetId.");
629
629
  }
630
- resolvedPath = resolvedPath.replace("{MountTargetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
630
+ resolvedPath = resolvedPath.replace("{MountTargetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
631
631
  }
632
632
  else {
633
633
  throw new Error("No value provided for input HTTP label: MountTargetId.");
@@ -684,7 +684,7 @@ const serializeAws_restJson1PutBackupPolicyCommand = async (input, context) => {
684
684
  if (labelValue.length <= 0) {
685
685
  throw new Error("Empty value provided for input HTTP label: FileSystemId.");
686
686
  }
687
- resolvedPath = resolvedPath.replace("{FileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
687
+ resolvedPath = resolvedPath.replace("{FileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
688
688
  }
689
689
  else {
690
690
  throw new Error("No value provided for input HTTP label: FileSystemId.");
@@ -717,7 +717,7 @@ const serializeAws_restJson1PutFileSystemPolicyCommand = async (input, context)
717
717
  if (labelValue.length <= 0) {
718
718
  throw new Error("Empty value provided for input HTTP label: FileSystemId.");
719
719
  }
720
- resolvedPath = resolvedPath.replace("{FileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
720
+ resolvedPath = resolvedPath.replace("{FileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
721
721
  }
722
722
  else {
723
723
  throw new Error("No value provided for input HTTP label: FileSystemId.");
@@ -753,7 +753,7 @@ const serializeAws_restJson1PutLifecycleConfigurationCommand = async (input, con
753
753
  if (labelValue.length <= 0) {
754
754
  throw new Error("Empty value provided for input HTTP label: FileSystemId.");
755
755
  }
756
- resolvedPath = resolvedPath.replace("{FileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
756
+ resolvedPath = resolvedPath.replace("{FileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
757
757
  }
758
758
  else {
759
759
  throw new Error("No value provided for input HTTP label: FileSystemId.");
@@ -787,7 +787,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
787
787
  if (labelValue.length <= 0) {
788
788
  throw new Error("Empty value provided for input HTTP label: ResourceId.");
789
789
  }
790
- resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
790
+ resolvedPath = resolvedPath.replace("{ResourceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
791
791
  }
792
792
  else {
793
793
  throw new Error("No value provided for input HTTP label: ResourceId.");
@@ -816,7 +816,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
816
816
  if (labelValue.length <= 0) {
817
817
  throw new Error("Empty value provided for input HTTP label: ResourceId.");
818
818
  }
819
- resolvedPath = resolvedPath.replace("{ResourceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
819
+ resolvedPath = resolvedPath.replace("{ResourceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
820
820
  }
821
821
  else {
822
822
  throw new Error("No value provided for input HTTP label: ResourceId.");
@@ -848,7 +848,7 @@ const serializeAws_restJson1UpdateFileSystemCommand = async (input, context) =>
848
848
  if (labelValue.length <= 0) {
849
849
  throw new Error("Empty value provided for input HTTP label: FileSystemId.");
850
850
  }
851
- resolvedPath = resolvedPath.replace("{FileSystemId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
851
+ resolvedPath = resolvedPath.replace("{FileSystemId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
852
852
  }
853
853
  else {
854
854
  throw new Error("No value provided for input HTTP label: FileSystemId.");
@@ -857,7 +857,7 @@ const serializeAws_restJson1UpdateFileSystemCommand = async (input, context) =>
857
857
  body = JSON.stringify({
858
858
  ...(input.ProvisionedThroughputInMibps !== undefined &&
859
859
  input.ProvisionedThroughputInMibps !== null && {
860
- ProvisionedThroughputInMibps: smithy_client_1.serializeFloat(input.ProvisionedThroughputInMibps),
860
+ ProvisionedThroughputInMibps: (0, smithy_client_1.serializeFloat)(input.ProvisionedThroughputInMibps),
861
861
  }),
862
862
  ...(input.ThroughputMode !== undefined &&
863
863
  input.ThroughputMode !== null && { ThroughputMode: input.ThroughputMode }),
@@ -890,27 +890,27 @@ const deserializeAws_restJson1CreateAccessPointCommand = async (output, context)
890
890
  RootDirectory: undefined,
891
891
  Tags: undefined,
892
892
  };
893
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
893
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
894
894
  if (data.AccessPointArn !== undefined && data.AccessPointArn !== null) {
895
- contents.AccessPointArn = smithy_client_1.expectString(data.AccessPointArn);
895
+ contents.AccessPointArn = (0, smithy_client_1.expectString)(data.AccessPointArn);
896
896
  }
897
897
  if (data.AccessPointId !== undefined && data.AccessPointId !== null) {
898
- contents.AccessPointId = smithy_client_1.expectString(data.AccessPointId);
898
+ contents.AccessPointId = (0, smithy_client_1.expectString)(data.AccessPointId);
899
899
  }
900
900
  if (data.ClientToken !== undefined && data.ClientToken !== null) {
901
- contents.ClientToken = smithy_client_1.expectString(data.ClientToken);
901
+ contents.ClientToken = (0, smithy_client_1.expectString)(data.ClientToken);
902
902
  }
903
903
  if (data.FileSystemId !== undefined && data.FileSystemId !== null) {
904
- contents.FileSystemId = smithy_client_1.expectString(data.FileSystemId);
904
+ contents.FileSystemId = (0, smithy_client_1.expectString)(data.FileSystemId);
905
905
  }
906
906
  if (data.LifeCycleState !== undefined && data.LifeCycleState !== null) {
907
- contents.LifeCycleState = smithy_client_1.expectString(data.LifeCycleState);
907
+ contents.LifeCycleState = (0, smithy_client_1.expectString)(data.LifeCycleState);
908
908
  }
909
909
  if (data.Name !== undefined && data.Name !== null) {
910
- contents.Name = smithy_client_1.expectString(data.Name);
910
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
911
911
  }
912
912
  if (data.OwnerId !== undefined && data.OwnerId !== null) {
913
- contents.OwnerId = smithy_client_1.expectString(data.OwnerId);
913
+ contents.OwnerId = (0, smithy_client_1.expectString)(data.OwnerId);
914
914
  }
915
915
  if (data.PosixUser !== undefined && data.PosixUser !== null) {
916
916
  contents.PosixUser = deserializeAws_restJson1PosixUser(data.PosixUser, context);
@@ -958,7 +958,7 @@ const deserializeAws_restJson1CreateAccessPointCommandError = async (output, con
958
958
  $fault: "client",
959
959
  $metadata: deserializeMetadata(output),
960
960
  });
961
- throw smithy_client_1.decorateServiceException(response, parsedBody);
961
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
962
962
  }
963
963
  };
964
964
  const deserializeAws_restJson1CreateFileSystemCommand = async (output, context) => {
@@ -985,48 +985,48 @@ const deserializeAws_restJson1CreateFileSystemCommand = async (output, context)
985
985
  Tags: undefined,
986
986
  ThroughputMode: undefined,
987
987
  };
988
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
988
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
989
989
  if (data.AvailabilityZoneId !== undefined && data.AvailabilityZoneId !== null) {
990
- contents.AvailabilityZoneId = smithy_client_1.expectString(data.AvailabilityZoneId);
990
+ contents.AvailabilityZoneId = (0, smithy_client_1.expectString)(data.AvailabilityZoneId);
991
991
  }
992
992
  if (data.AvailabilityZoneName !== undefined && data.AvailabilityZoneName !== null) {
993
- contents.AvailabilityZoneName = smithy_client_1.expectString(data.AvailabilityZoneName);
993
+ contents.AvailabilityZoneName = (0, smithy_client_1.expectString)(data.AvailabilityZoneName);
994
994
  }
995
995
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
996
- contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
996
+ contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
997
997
  }
998
998
  if (data.CreationToken !== undefined && data.CreationToken !== null) {
999
- contents.CreationToken = smithy_client_1.expectString(data.CreationToken);
999
+ contents.CreationToken = (0, smithy_client_1.expectString)(data.CreationToken);
1000
1000
  }
1001
1001
  if (data.Encrypted !== undefined && data.Encrypted !== null) {
1002
- contents.Encrypted = smithy_client_1.expectBoolean(data.Encrypted);
1002
+ contents.Encrypted = (0, smithy_client_1.expectBoolean)(data.Encrypted);
1003
1003
  }
1004
1004
  if (data.FileSystemArn !== undefined && data.FileSystemArn !== null) {
1005
- contents.FileSystemArn = smithy_client_1.expectString(data.FileSystemArn);
1005
+ contents.FileSystemArn = (0, smithy_client_1.expectString)(data.FileSystemArn);
1006
1006
  }
1007
1007
  if (data.FileSystemId !== undefined && data.FileSystemId !== null) {
1008
- contents.FileSystemId = smithy_client_1.expectString(data.FileSystemId);
1008
+ contents.FileSystemId = (0, smithy_client_1.expectString)(data.FileSystemId);
1009
1009
  }
1010
1010
  if (data.KmsKeyId !== undefined && data.KmsKeyId !== null) {
1011
- contents.KmsKeyId = smithy_client_1.expectString(data.KmsKeyId);
1011
+ contents.KmsKeyId = (0, smithy_client_1.expectString)(data.KmsKeyId);
1012
1012
  }
1013
1013
  if (data.LifeCycleState !== undefined && data.LifeCycleState !== null) {
1014
- contents.LifeCycleState = smithy_client_1.expectString(data.LifeCycleState);
1014
+ contents.LifeCycleState = (0, smithy_client_1.expectString)(data.LifeCycleState);
1015
1015
  }
1016
1016
  if (data.Name !== undefined && data.Name !== null) {
1017
- contents.Name = smithy_client_1.expectString(data.Name);
1017
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1018
1018
  }
1019
1019
  if (data.NumberOfMountTargets !== undefined && data.NumberOfMountTargets !== null) {
1020
- contents.NumberOfMountTargets = smithy_client_1.expectInt32(data.NumberOfMountTargets);
1020
+ contents.NumberOfMountTargets = (0, smithy_client_1.expectInt32)(data.NumberOfMountTargets);
1021
1021
  }
1022
1022
  if (data.OwnerId !== undefined && data.OwnerId !== null) {
1023
- contents.OwnerId = smithy_client_1.expectString(data.OwnerId);
1023
+ contents.OwnerId = (0, smithy_client_1.expectString)(data.OwnerId);
1024
1024
  }
1025
1025
  if (data.PerformanceMode !== undefined && data.PerformanceMode !== null) {
1026
- contents.PerformanceMode = smithy_client_1.expectString(data.PerformanceMode);
1026
+ contents.PerformanceMode = (0, smithy_client_1.expectString)(data.PerformanceMode);
1027
1027
  }
1028
1028
  if (data.ProvisionedThroughputInMibps !== undefined && data.ProvisionedThroughputInMibps !== null) {
1029
- contents.ProvisionedThroughputInMibps = smithy_client_1.limitedParseDouble(data.ProvisionedThroughputInMibps);
1029
+ contents.ProvisionedThroughputInMibps = (0, smithy_client_1.limitedParseDouble)(data.ProvisionedThroughputInMibps);
1030
1030
  }
1031
1031
  if (data.SizeInBytes !== undefined && data.SizeInBytes !== null) {
1032
1032
  contents.SizeInBytes = deserializeAws_restJson1FileSystemSize(data.SizeInBytes, context);
@@ -1035,7 +1035,7 @@ const deserializeAws_restJson1CreateFileSystemCommand = async (output, context)
1035
1035
  contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
1036
1036
  }
1037
1037
  if (data.ThroughputMode !== undefined && data.ThroughputMode !== null) {
1038
- contents.ThroughputMode = smithy_client_1.expectString(data.ThroughputMode);
1038
+ contents.ThroughputMode = (0, smithy_client_1.expectString)(data.ThroughputMode);
1039
1039
  }
1040
1040
  return Promise.resolve(contents);
1041
1041
  };
@@ -1077,7 +1077,7 @@ const deserializeAws_restJson1CreateFileSystemCommandError = async (output, cont
1077
1077
  $fault: "client",
1078
1078
  $metadata: deserializeMetadata(output),
1079
1079
  });
1080
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1080
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1081
1081
  }
1082
1082
  };
1083
1083
  const deserializeAws_restJson1CreateMountTargetCommand = async (output, context) => {
@@ -1097,36 +1097,36 @@ const deserializeAws_restJson1CreateMountTargetCommand = async (output, context)
1097
1097
  SubnetId: undefined,
1098
1098
  VpcId: undefined,
1099
1099
  };
1100
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1100
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1101
1101
  if (data.AvailabilityZoneId !== undefined && data.AvailabilityZoneId !== null) {
1102
- contents.AvailabilityZoneId = smithy_client_1.expectString(data.AvailabilityZoneId);
1102
+ contents.AvailabilityZoneId = (0, smithy_client_1.expectString)(data.AvailabilityZoneId);
1103
1103
  }
1104
1104
  if (data.AvailabilityZoneName !== undefined && data.AvailabilityZoneName !== null) {
1105
- contents.AvailabilityZoneName = smithy_client_1.expectString(data.AvailabilityZoneName);
1105
+ contents.AvailabilityZoneName = (0, smithy_client_1.expectString)(data.AvailabilityZoneName);
1106
1106
  }
1107
1107
  if (data.FileSystemId !== undefined && data.FileSystemId !== null) {
1108
- contents.FileSystemId = smithy_client_1.expectString(data.FileSystemId);
1108
+ contents.FileSystemId = (0, smithy_client_1.expectString)(data.FileSystemId);
1109
1109
  }
1110
1110
  if (data.IpAddress !== undefined && data.IpAddress !== null) {
1111
- contents.IpAddress = smithy_client_1.expectString(data.IpAddress);
1111
+ contents.IpAddress = (0, smithy_client_1.expectString)(data.IpAddress);
1112
1112
  }
1113
1113
  if (data.LifeCycleState !== undefined && data.LifeCycleState !== null) {
1114
- contents.LifeCycleState = smithy_client_1.expectString(data.LifeCycleState);
1114
+ contents.LifeCycleState = (0, smithy_client_1.expectString)(data.LifeCycleState);
1115
1115
  }
1116
1116
  if (data.MountTargetId !== undefined && data.MountTargetId !== null) {
1117
- contents.MountTargetId = smithy_client_1.expectString(data.MountTargetId);
1117
+ contents.MountTargetId = (0, smithy_client_1.expectString)(data.MountTargetId);
1118
1118
  }
1119
1119
  if (data.NetworkInterfaceId !== undefined && data.NetworkInterfaceId !== null) {
1120
- contents.NetworkInterfaceId = smithy_client_1.expectString(data.NetworkInterfaceId);
1120
+ contents.NetworkInterfaceId = (0, smithy_client_1.expectString)(data.NetworkInterfaceId);
1121
1121
  }
1122
1122
  if (data.OwnerId !== undefined && data.OwnerId !== null) {
1123
- contents.OwnerId = smithy_client_1.expectString(data.OwnerId);
1123
+ contents.OwnerId = (0, smithy_client_1.expectString)(data.OwnerId);
1124
1124
  }
1125
1125
  if (data.SubnetId !== undefined && data.SubnetId !== null) {
1126
- contents.SubnetId = smithy_client_1.expectString(data.SubnetId);
1126
+ contents.SubnetId = (0, smithy_client_1.expectString)(data.SubnetId);
1127
1127
  }
1128
1128
  if (data.VpcId !== undefined && data.VpcId !== null) {
1129
- contents.VpcId = smithy_client_1.expectString(data.VpcId);
1129
+ contents.VpcId = (0, smithy_client_1.expectString)(data.VpcId);
1130
1130
  }
1131
1131
  return Promise.resolve(contents);
1132
1132
  };
@@ -1186,7 +1186,7 @@ const deserializeAws_restJson1CreateMountTargetCommandError = async (output, con
1186
1186
  $fault: "client",
1187
1187
  $metadata: deserializeMetadata(output),
1188
1188
  });
1189
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1189
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1190
1190
  }
1191
1191
  };
1192
1192
  const deserializeAws_restJson1CreateReplicationConfigurationCommand = async (output, context) => {
@@ -1202,24 +1202,24 @@ const deserializeAws_restJson1CreateReplicationConfigurationCommand = async (out
1202
1202
  SourceFileSystemId: undefined,
1203
1203
  SourceFileSystemRegion: undefined,
1204
1204
  };
1205
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1205
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1206
1206
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
1207
- contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
1207
+ contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
1208
1208
  }
1209
1209
  if (data.Destinations !== undefined && data.Destinations !== null) {
1210
1210
  contents.Destinations = deserializeAws_restJson1Destinations(data.Destinations, context);
1211
1211
  }
1212
1212
  if (data.OriginalSourceFileSystemArn !== undefined && data.OriginalSourceFileSystemArn !== null) {
1213
- contents.OriginalSourceFileSystemArn = smithy_client_1.expectString(data.OriginalSourceFileSystemArn);
1213
+ contents.OriginalSourceFileSystemArn = (0, smithy_client_1.expectString)(data.OriginalSourceFileSystemArn);
1214
1214
  }
1215
1215
  if (data.SourceFileSystemArn !== undefined && data.SourceFileSystemArn !== null) {
1216
- contents.SourceFileSystemArn = smithy_client_1.expectString(data.SourceFileSystemArn);
1216
+ contents.SourceFileSystemArn = (0, smithy_client_1.expectString)(data.SourceFileSystemArn);
1217
1217
  }
1218
1218
  if (data.SourceFileSystemId !== undefined && data.SourceFileSystemId !== null) {
1219
- contents.SourceFileSystemId = smithy_client_1.expectString(data.SourceFileSystemId);
1219
+ contents.SourceFileSystemId = (0, smithy_client_1.expectString)(data.SourceFileSystemId);
1220
1220
  }
1221
1221
  if (data.SourceFileSystemRegion !== undefined && data.SourceFileSystemRegion !== null) {
1222
- contents.SourceFileSystemRegion = smithy_client_1.expectString(data.SourceFileSystemRegion);
1222
+ contents.SourceFileSystemRegion = (0, smithy_client_1.expectString)(data.SourceFileSystemRegion);
1223
1223
  }
1224
1224
  return Promise.resolve(contents);
1225
1225
  };
@@ -1270,7 +1270,7 @@ const deserializeAws_restJson1CreateReplicationConfigurationCommandError = async
1270
1270
  $fault: "client",
1271
1271
  $metadata: deserializeMetadata(output),
1272
1272
  });
1273
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1273
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1274
1274
  }
1275
1275
  };
1276
1276
  const deserializeAws_restJson1CreateTagsCommand = async (output, context) => {
@@ -1309,7 +1309,7 @@ const deserializeAws_restJson1CreateTagsCommandError = async (output, context) =
1309
1309
  $fault: "client",
1310
1310
  $metadata: deserializeMetadata(output),
1311
1311
  });
1312
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1312
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1313
1313
  }
1314
1314
  };
1315
1315
  const deserializeAws_restJson1DeleteAccessPointCommand = async (output, context) => {
@@ -1348,7 +1348,7 @@ const deserializeAws_restJson1DeleteAccessPointCommandError = async (output, con
1348
1348
  $fault: "client",
1349
1349
  $metadata: deserializeMetadata(output),
1350
1350
  });
1351
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1351
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1352
1352
  }
1353
1353
  };
1354
1354
  const deserializeAws_restJson1DeleteFileSystemCommand = async (output, context) => {
@@ -1390,7 +1390,7 @@ const deserializeAws_restJson1DeleteFileSystemCommandError = async (output, cont
1390
1390
  $fault: "client",
1391
1391
  $metadata: deserializeMetadata(output),
1392
1392
  });
1393
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1393
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1394
1394
  }
1395
1395
  };
1396
1396
  const deserializeAws_restJson1DeleteFileSystemPolicyCommand = async (output, context) => {
@@ -1432,7 +1432,7 @@ const deserializeAws_restJson1DeleteFileSystemPolicyCommandError = async (output
1432
1432
  $fault: "client",
1433
1433
  $metadata: deserializeMetadata(output),
1434
1434
  });
1435
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1435
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1436
1436
  }
1437
1437
  };
1438
1438
  const deserializeAws_restJson1DeleteMountTargetCommand = async (output, context) => {
@@ -1474,7 +1474,7 @@ const deserializeAws_restJson1DeleteMountTargetCommandError = async (output, con
1474
1474
  $fault: "client",
1475
1475
  $metadata: deserializeMetadata(output),
1476
1476
  });
1477
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1477
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1478
1478
  }
1479
1479
  };
1480
1480
  const deserializeAws_restJson1DeleteReplicationConfigurationCommand = async (output, context) => {
@@ -1516,7 +1516,7 @@ const deserializeAws_restJson1DeleteReplicationConfigurationCommandError = async
1516
1516
  $fault: "client",
1517
1517
  $metadata: deserializeMetadata(output),
1518
1518
  });
1519
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1519
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1520
1520
  }
1521
1521
  };
1522
1522
  const deserializeAws_restJson1DeleteTagsCommand = async (output, context) => {
@@ -1555,7 +1555,7 @@ const deserializeAws_restJson1DeleteTagsCommandError = async (output, context) =
1555
1555
  $fault: "client",
1556
1556
  $metadata: deserializeMetadata(output),
1557
1557
  });
1558
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1558
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1559
1559
  }
1560
1560
  };
1561
1561
  const deserializeAws_restJson1DescribeAccessPointsCommand = async (output, context) => {
@@ -1567,12 +1567,12 @@ const deserializeAws_restJson1DescribeAccessPointsCommand = async (output, conte
1567
1567
  AccessPoints: undefined,
1568
1568
  NextToken: undefined,
1569
1569
  };
1570
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1570
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1571
1571
  if (data.AccessPoints !== undefined && data.AccessPoints !== null) {
1572
1572
  contents.AccessPoints = deserializeAws_restJson1AccessPointDescriptions(data.AccessPoints, context);
1573
1573
  }
1574
1574
  if (data.NextToken !== undefined && data.NextToken !== null) {
1575
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1575
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1576
1576
  }
1577
1577
  return Promise.resolve(contents);
1578
1578
  };
@@ -1605,7 +1605,7 @@ const deserializeAws_restJson1DescribeAccessPointsCommandError = async (output,
1605
1605
  $fault: "client",
1606
1606
  $metadata: deserializeMetadata(output),
1607
1607
  });
1608
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1608
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1609
1609
  }
1610
1610
  };
1611
1611
  const deserializeAws_restJson1DescribeAccountPreferencesCommand = async (output, context) => {
@@ -1617,9 +1617,9 @@ const deserializeAws_restJson1DescribeAccountPreferencesCommand = async (output,
1617
1617
  NextToken: undefined,
1618
1618
  ResourceIdPreference: undefined,
1619
1619
  };
1620
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1620
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1621
1621
  if (data.NextToken !== undefined && data.NextToken !== null) {
1622
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1622
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1623
1623
  }
1624
1624
  if (data.ResourceIdPreference !== undefined && data.ResourceIdPreference !== null) {
1625
1625
  contents.ResourceIdPreference = deserializeAws_restJson1ResourceIdPreference(data.ResourceIdPreference, context);
@@ -1646,7 +1646,7 @@ const deserializeAws_restJson1DescribeAccountPreferencesCommandError = async (ou
1646
1646
  $fault: "client",
1647
1647
  $metadata: deserializeMetadata(output),
1648
1648
  });
1649
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1649
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1650
1650
  }
1651
1651
  };
1652
1652
  const deserializeAws_restJson1DescribeBackupPolicyCommand = async (output, context) => {
@@ -1657,7 +1657,7 @@ const deserializeAws_restJson1DescribeBackupPolicyCommand = async (output, conte
1657
1657
  $metadata: deserializeMetadata(output),
1658
1658
  BackupPolicy: undefined,
1659
1659
  };
1660
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1660
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1661
1661
  if (data.BackupPolicy !== undefined && data.BackupPolicy !== null) {
1662
1662
  contents.BackupPolicy = deserializeAws_restJson1BackupPolicy(data.BackupPolicy, context);
1663
1663
  }
@@ -1695,7 +1695,7 @@ const deserializeAws_restJson1DescribeBackupPolicyCommandError = async (output,
1695
1695
  $fault: "client",
1696
1696
  $metadata: deserializeMetadata(output),
1697
1697
  });
1698
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1698
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1699
1699
  }
1700
1700
  };
1701
1701
  const deserializeAws_restJson1DescribeFileSystemPolicyCommand = async (output, context) => {
@@ -1707,12 +1707,12 @@ const deserializeAws_restJson1DescribeFileSystemPolicyCommand = async (output, c
1707
1707
  FileSystemId: undefined,
1708
1708
  Policy: undefined,
1709
1709
  };
1710
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1710
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1711
1711
  if (data.FileSystemId !== undefined && data.FileSystemId !== null) {
1712
- contents.FileSystemId = smithy_client_1.expectString(data.FileSystemId);
1712
+ contents.FileSystemId = (0, smithy_client_1.expectString)(data.FileSystemId);
1713
1713
  }
1714
1714
  if (data.Policy !== undefined && data.Policy !== null) {
1715
- contents.Policy = smithy_client_1.expectString(data.Policy);
1715
+ contents.Policy = (0, smithy_client_1.expectString)(data.Policy);
1716
1716
  }
1717
1717
  return Promise.resolve(contents);
1718
1718
  };
@@ -1745,7 +1745,7 @@ const deserializeAws_restJson1DescribeFileSystemPolicyCommandError = async (outp
1745
1745
  $fault: "client",
1746
1746
  $metadata: deserializeMetadata(output),
1747
1747
  });
1748
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1748
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1749
1749
  }
1750
1750
  };
1751
1751
  const deserializeAws_restJson1DescribeFileSystemsCommand = async (output, context) => {
@@ -1758,15 +1758,15 @@ const deserializeAws_restJson1DescribeFileSystemsCommand = async (output, contex
1758
1758
  Marker: undefined,
1759
1759
  NextMarker: undefined,
1760
1760
  };
1761
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1761
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1762
1762
  if (data.FileSystems !== undefined && data.FileSystems !== null) {
1763
1763
  contents.FileSystems = deserializeAws_restJson1FileSystemDescriptions(data.FileSystems, context);
1764
1764
  }
1765
1765
  if (data.Marker !== undefined && data.Marker !== null) {
1766
- contents.Marker = smithy_client_1.expectString(data.Marker);
1766
+ contents.Marker = (0, smithy_client_1.expectString)(data.Marker);
1767
1767
  }
1768
1768
  if (data.NextMarker !== undefined && data.NextMarker !== null) {
1769
- contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
1769
+ contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
1770
1770
  }
1771
1771
  return Promise.resolve(contents);
1772
1772
  };
@@ -1796,7 +1796,7 @@ const deserializeAws_restJson1DescribeFileSystemsCommandError = async (output, c
1796
1796
  $fault: "client",
1797
1797
  $metadata: deserializeMetadata(output),
1798
1798
  });
1799
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1799
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1800
1800
  }
1801
1801
  };
1802
1802
  const deserializeAws_restJson1DescribeLifecycleConfigurationCommand = async (output, context) => {
@@ -1807,7 +1807,7 @@ const deserializeAws_restJson1DescribeLifecycleConfigurationCommand = async (out
1807
1807
  $metadata: deserializeMetadata(output),
1808
1808
  LifecyclePolicies: undefined,
1809
1809
  };
1810
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1810
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1811
1811
  if (data.LifecyclePolicies !== undefined && data.LifecyclePolicies !== null) {
1812
1812
  contents.LifecyclePolicies = deserializeAws_restJson1LifecyclePolicies(data.LifecyclePolicies, context);
1813
1813
  }
@@ -1839,7 +1839,7 @@ const deserializeAws_restJson1DescribeLifecycleConfigurationCommandError = async
1839
1839
  $fault: "client",
1840
1840
  $metadata: deserializeMetadata(output),
1841
1841
  });
1842
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1842
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1843
1843
  }
1844
1844
  };
1845
1845
  const deserializeAws_restJson1DescribeMountTargetsCommand = async (output, context) => {
@@ -1852,15 +1852,15 @@ const deserializeAws_restJson1DescribeMountTargetsCommand = async (output, conte
1852
1852
  MountTargets: undefined,
1853
1853
  NextMarker: undefined,
1854
1854
  };
1855
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1855
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1856
1856
  if (data.Marker !== undefined && data.Marker !== null) {
1857
- contents.Marker = smithy_client_1.expectString(data.Marker);
1857
+ contents.Marker = (0, smithy_client_1.expectString)(data.Marker);
1858
1858
  }
1859
1859
  if (data.MountTargets !== undefined && data.MountTargets !== null) {
1860
1860
  contents.MountTargets = deserializeAws_restJson1MountTargetDescriptions(data.MountTargets, context);
1861
1861
  }
1862
1862
  if (data.NextMarker !== undefined && data.NextMarker !== null) {
1863
- contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
1863
+ contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
1864
1864
  }
1865
1865
  return Promise.resolve(contents);
1866
1866
  };
@@ -1896,7 +1896,7 @@ const deserializeAws_restJson1DescribeMountTargetsCommandError = async (output,
1896
1896
  $fault: "client",
1897
1897
  $metadata: deserializeMetadata(output),
1898
1898
  });
1899
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1899
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1900
1900
  }
1901
1901
  };
1902
1902
  const deserializeAws_restJson1DescribeMountTargetSecurityGroupsCommand = async (output, context) => {
@@ -1907,7 +1907,7 @@ const deserializeAws_restJson1DescribeMountTargetSecurityGroupsCommand = async (
1907
1907
  $metadata: deserializeMetadata(output),
1908
1908
  SecurityGroups: undefined,
1909
1909
  };
1910
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1910
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1911
1911
  if (data.SecurityGroups !== undefined && data.SecurityGroups !== null) {
1912
1912
  contents.SecurityGroups = deserializeAws_restJson1SecurityGroups(data.SecurityGroups, context);
1913
1913
  }
@@ -1942,7 +1942,7 @@ const deserializeAws_restJson1DescribeMountTargetSecurityGroupsCommandError = as
1942
1942
  $fault: "client",
1943
1943
  $metadata: deserializeMetadata(output),
1944
1944
  });
1945
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1945
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1946
1946
  }
1947
1947
  };
1948
1948
  const deserializeAws_restJson1DescribeReplicationConfigurationsCommand = async (output, context) => {
@@ -1954,9 +1954,9 @@ const deserializeAws_restJson1DescribeReplicationConfigurationsCommand = async (
1954
1954
  NextToken: undefined,
1955
1955
  Replications: undefined,
1956
1956
  };
1957
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1957
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1958
1958
  if (data.NextToken !== undefined && data.NextToken !== null) {
1959
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
1959
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1960
1960
  }
1961
1961
  if (data.Replications !== undefined && data.Replications !== null) {
1962
1962
  contents.Replications = deserializeAws_restJson1ReplicationConfigurationDescriptions(data.Replications, context);
@@ -1995,7 +1995,7 @@ const deserializeAws_restJson1DescribeReplicationConfigurationsCommandError = as
1995
1995
  $fault: "client",
1996
1996
  $metadata: deserializeMetadata(output),
1997
1997
  });
1998
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1998
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1999
1999
  }
2000
2000
  };
2001
2001
  const deserializeAws_restJson1DescribeTagsCommand = async (output, context) => {
@@ -2008,12 +2008,12 @@ const deserializeAws_restJson1DescribeTagsCommand = async (output, context) => {
2008
2008
  NextMarker: undefined,
2009
2009
  Tags: undefined,
2010
2010
  };
2011
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2011
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2012
2012
  if (data.Marker !== undefined && data.Marker !== null) {
2013
- contents.Marker = smithy_client_1.expectString(data.Marker);
2013
+ contents.Marker = (0, smithy_client_1.expectString)(data.Marker);
2014
2014
  }
2015
2015
  if (data.NextMarker !== undefined && data.NextMarker !== null) {
2016
- contents.NextMarker = smithy_client_1.expectString(data.NextMarker);
2016
+ contents.NextMarker = (0, smithy_client_1.expectString)(data.NextMarker);
2017
2017
  }
2018
2018
  if (data.Tags !== undefined && data.Tags !== null) {
2019
2019
  contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
@@ -2046,7 +2046,7 @@ const deserializeAws_restJson1DescribeTagsCommandError = async (output, context)
2046
2046
  $fault: "client",
2047
2047
  $metadata: deserializeMetadata(output),
2048
2048
  });
2049
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2049
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2050
2050
  }
2051
2051
  };
2052
2052
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -2058,9 +2058,9 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2058
2058
  NextToken: undefined,
2059
2059
  Tags: undefined,
2060
2060
  };
2061
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2061
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2062
2062
  if (data.NextToken !== undefined && data.NextToken !== null) {
2063
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2063
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2064
2064
  }
2065
2065
  if (data.Tags !== undefined && data.Tags !== null) {
2066
2066
  contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
@@ -2096,7 +2096,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2096
2096
  $fault: "client",
2097
2097
  $metadata: deserializeMetadata(output),
2098
2098
  });
2099
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2099
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2100
2100
  }
2101
2101
  };
2102
2102
  const deserializeAws_restJson1ModifyMountTargetSecurityGroupsCommand = async (output, context) => {
@@ -2144,7 +2144,7 @@ const deserializeAws_restJson1ModifyMountTargetSecurityGroupsCommandError = asyn
2144
2144
  $fault: "client",
2145
2145
  $metadata: deserializeMetadata(output),
2146
2146
  });
2147
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2147
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2148
2148
  }
2149
2149
  };
2150
2150
  const deserializeAws_restJson1PutAccountPreferencesCommand = async (output, context) => {
@@ -2155,7 +2155,7 @@ const deserializeAws_restJson1PutAccountPreferencesCommand = async (output, cont
2155
2155
  $metadata: deserializeMetadata(output),
2156
2156
  ResourceIdPreference: undefined,
2157
2157
  };
2158
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2158
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2159
2159
  if (data.ResourceIdPreference !== undefined && data.ResourceIdPreference !== null) {
2160
2160
  contents.ResourceIdPreference = deserializeAws_restJson1ResourceIdPreference(data.ResourceIdPreference, context);
2161
2161
  }
@@ -2184,7 +2184,7 @@ const deserializeAws_restJson1PutAccountPreferencesCommandError = async (output,
2184
2184
  $fault: "client",
2185
2185
  $metadata: deserializeMetadata(output),
2186
2186
  });
2187
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2187
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2188
2188
  }
2189
2189
  };
2190
2190
  const deserializeAws_restJson1PutBackupPolicyCommand = async (output, context) => {
@@ -2195,7 +2195,7 @@ const deserializeAws_restJson1PutBackupPolicyCommand = async (output, context) =
2195
2195
  $metadata: deserializeMetadata(output),
2196
2196
  BackupPolicy: undefined,
2197
2197
  };
2198
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2198
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2199
2199
  if (data.BackupPolicy !== undefined && data.BackupPolicy !== null) {
2200
2200
  contents.BackupPolicy = deserializeAws_restJson1BackupPolicy(data.BackupPolicy, context);
2201
2201
  }
@@ -2233,7 +2233,7 @@ const deserializeAws_restJson1PutBackupPolicyCommandError = async (output, conte
2233
2233
  $fault: "client",
2234
2234
  $metadata: deserializeMetadata(output),
2235
2235
  });
2236
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2236
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2237
2237
  }
2238
2238
  };
2239
2239
  const deserializeAws_restJson1PutFileSystemPolicyCommand = async (output, context) => {
@@ -2245,12 +2245,12 @@ const deserializeAws_restJson1PutFileSystemPolicyCommand = async (output, contex
2245
2245
  FileSystemId: undefined,
2246
2246
  Policy: undefined,
2247
2247
  };
2248
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2248
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2249
2249
  if (data.FileSystemId !== undefined && data.FileSystemId !== null) {
2250
- contents.FileSystemId = smithy_client_1.expectString(data.FileSystemId);
2250
+ contents.FileSystemId = (0, smithy_client_1.expectString)(data.FileSystemId);
2251
2251
  }
2252
2252
  if (data.Policy !== undefined && data.Policy !== null) {
2253
- contents.Policy = smithy_client_1.expectString(data.Policy);
2253
+ contents.Policy = (0, smithy_client_1.expectString)(data.Policy);
2254
2254
  }
2255
2255
  return Promise.resolve(contents);
2256
2256
  };
@@ -2286,7 +2286,7 @@ const deserializeAws_restJson1PutFileSystemPolicyCommandError = async (output, c
2286
2286
  $fault: "client",
2287
2287
  $metadata: deserializeMetadata(output),
2288
2288
  });
2289
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2289
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2290
2290
  }
2291
2291
  };
2292
2292
  const deserializeAws_restJson1PutLifecycleConfigurationCommand = async (output, context) => {
@@ -2297,7 +2297,7 @@ const deserializeAws_restJson1PutLifecycleConfigurationCommand = async (output,
2297
2297
  $metadata: deserializeMetadata(output),
2298
2298
  LifecyclePolicies: undefined,
2299
2299
  };
2300
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2300
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2301
2301
  if (data.LifecyclePolicies !== undefined && data.LifecyclePolicies !== null) {
2302
2302
  contents.LifecyclePolicies = deserializeAws_restJson1LifecyclePolicies(data.LifecyclePolicies, context);
2303
2303
  }
@@ -2332,7 +2332,7 @@ const deserializeAws_restJson1PutLifecycleConfigurationCommandError = async (out
2332
2332
  $fault: "client",
2333
2333
  $metadata: deserializeMetadata(output),
2334
2334
  });
2335
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2335
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2336
2336
  }
2337
2337
  };
2338
2338
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -2374,7 +2374,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2374
2374
  $fault: "client",
2375
2375
  $metadata: deserializeMetadata(output),
2376
2376
  });
2377
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2377
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2378
2378
  }
2379
2379
  };
2380
2380
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -2416,7 +2416,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2416
2416
  $fault: "client",
2417
2417
  $metadata: deserializeMetadata(output),
2418
2418
  });
2419
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2419
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2420
2420
  }
2421
2421
  };
2422
2422
  const deserializeAws_restJson1UpdateFileSystemCommand = async (output, context) => {
@@ -2443,48 +2443,48 @@ const deserializeAws_restJson1UpdateFileSystemCommand = async (output, context)
2443
2443
  Tags: undefined,
2444
2444
  ThroughputMode: undefined,
2445
2445
  };
2446
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2446
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2447
2447
  if (data.AvailabilityZoneId !== undefined && data.AvailabilityZoneId !== null) {
2448
- contents.AvailabilityZoneId = smithy_client_1.expectString(data.AvailabilityZoneId);
2448
+ contents.AvailabilityZoneId = (0, smithy_client_1.expectString)(data.AvailabilityZoneId);
2449
2449
  }
2450
2450
  if (data.AvailabilityZoneName !== undefined && data.AvailabilityZoneName !== null) {
2451
- contents.AvailabilityZoneName = smithy_client_1.expectString(data.AvailabilityZoneName);
2451
+ contents.AvailabilityZoneName = (0, smithy_client_1.expectString)(data.AvailabilityZoneName);
2452
2452
  }
2453
2453
  if (data.CreationTime !== undefined && data.CreationTime !== null) {
2454
- contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreationTime)));
2454
+ contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreationTime)));
2455
2455
  }
2456
2456
  if (data.CreationToken !== undefined && data.CreationToken !== null) {
2457
- contents.CreationToken = smithy_client_1.expectString(data.CreationToken);
2457
+ contents.CreationToken = (0, smithy_client_1.expectString)(data.CreationToken);
2458
2458
  }
2459
2459
  if (data.Encrypted !== undefined && data.Encrypted !== null) {
2460
- contents.Encrypted = smithy_client_1.expectBoolean(data.Encrypted);
2460
+ contents.Encrypted = (0, smithy_client_1.expectBoolean)(data.Encrypted);
2461
2461
  }
2462
2462
  if (data.FileSystemArn !== undefined && data.FileSystemArn !== null) {
2463
- contents.FileSystemArn = smithy_client_1.expectString(data.FileSystemArn);
2463
+ contents.FileSystemArn = (0, smithy_client_1.expectString)(data.FileSystemArn);
2464
2464
  }
2465
2465
  if (data.FileSystemId !== undefined && data.FileSystemId !== null) {
2466
- contents.FileSystemId = smithy_client_1.expectString(data.FileSystemId);
2466
+ contents.FileSystemId = (0, smithy_client_1.expectString)(data.FileSystemId);
2467
2467
  }
2468
2468
  if (data.KmsKeyId !== undefined && data.KmsKeyId !== null) {
2469
- contents.KmsKeyId = smithy_client_1.expectString(data.KmsKeyId);
2469
+ contents.KmsKeyId = (0, smithy_client_1.expectString)(data.KmsKeyId);
2470
2470
  }
2471
2471
  if (data.LifeCycleState !== undefined && data.LifeCycleState !== null) {
2472
- contents.LifeCycleState = smithy_client_1.expectString(data.LifeCycleState);
2472
+ contents.LifeCycleState = (0, smithy_client_1.expectString)(data.LifeCycleState);
2473
2473
  }
2474
2474
  if (data.Name !== undefined && data.Name !== null) {
2475
- contents.Name = smithy_client_1.expectString(data.Name);
2475
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
2476
2476
  }
2477
2477
  if (data.NumberOfMountTargets !== undefined && data.NumberOfMountTargets !== null) {
2478
- contents.NumberOfMountTargets = smithy_client_1.expectInt32(data.NumberOfMountTargets);
2478
+ contents.NumberOfMountTargets = (0, smithy_client_1.expectInt32)(data.NumberOfMountTargets);
2479
2479
  }
2480
2480
  if (data.OwnerId !== undefined && data.OwnerId !== null) {
2481
- contents.OwnerId = smithy_client_1.expectString(data.OwnerId);
2481
+ contents.OwnerId = (0, smithy_client_1.expectString)(data.OwnerId);
2482
2482
  }
2483
2483
  if (data.PerformanceMode !== undefined && data.PerformanceMode !== null) {
2484
- contents.PerformanceMode = smithy_client_1.expectString(data.PerformanceMode);
2484
+ contents.PerformanceMode = (0, smithy_client_1.expectString)(data.PerformanceMode);
2485
2485
  }
2486
2486
  if (data.ProvisionedThroughputInMibps !== undefined && data.ProvisionedThroughputInMibps !== null) {
2487
- contents.ProvisionedThroughputInMibps = smithy_client_1.limitedParseDouble(data.ProvisionedThroughputInMibps);
2487
+ contents.ProvisionedThroughputInMibps = (0, smithy_client_1.limitedParseDouble)(data.ProvisionedThroughputInMibps);
2488
2488
  }
2489
2489
  if (data.SizeInBytes !== undefined && data.SizeInBytes !== null) {
2490
2490
  contents.SizeInBytes = deserializeAws_restJson1FileSystemSize(data.SizeInBytes, context);
@@ -2493,7 +2493,7 @@ const deserializeAws_restJson1UpdateFileSystemCommand = async (output, context)
2493
2493
  contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
2494
2494
  }
2495
2495
  if (data.ThroughputMode !== undefined && data.ThroughputMode !== null) {
2496
- contents.ThroughputMode = smithy_client_1.expectString(data.ThroughputMode);
2496
+ contents.ThroughputMode = (0, smithy_client_1.expectString)(data.ThroughputMode);
2497
2497
  }
2498
2498
  return Promise.resolve(contents);
2499
2499
  };
@@ -2535,449 +2535,449 @@ const deserializeAws_restJson1UpdateFileSystemCommandError = async (output, cont
2535
2535
  $fault: "client",
2536
2536
  $metadata: deserializeMetadata(output),
2537
2537
  });
2538
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2538
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2539
2539
  }
2540
2540
  };
2541
2541
  const deserializeAws_restJson1AccessPointAlreadyExistsResponse = async (parsedOutput, context) => {
2542
2542
  const contents = {};
2543
2543
  const data = parsedOutput.body;
2544
2544
  if (data.AccessPointId !== undefined && data.AccessPointId !== null) {
2545
- contents.AccessPointId = smithy_client_1.expectString(data.AccessPointId);
2545
+ contents.AccessPointId = (0, smithy_client_1.expectString)(data.AccessPointId);
2546
2546
  }
2547
2547
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2548
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2548
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2549
2549
  }
2550
2550
  if (data.Message !== undefined && data.Message !== null) {
2551
- contents.Message = smithy_client_1.expectString(data.Message);
2551
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2552
2552
  }
2553
2553
  const exception = new models_0_1.AccessPointAlreadyExists({
2554
2554
  $metadata: deserializeMetadata(parsedOutput),
2555
2555
  ...contents,
2556
2556
  });
2557
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2557
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2558
2558
  };
2559
2559
  const deserializeAws_restJson1AccessPointLimitExceededResponse = async (parsedOutput, context) => {
2560
2560
  const contents = {};
2561
2561
  const data = parsedOutput.body;
2562
2562
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2563
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2563
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2564
2564
  }
2565
2565
  if (data.Message !== undefined && data.Message !== null) {
2566
- contents.Message = smithy_client_1.expectString(data.Message);
2566
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2567
2567
  }
2568
2568
  const exception = new models_0_1.AccessPointLimitExceeded({
2569
2569
  $metadata: deserializeMetadata(parsedOutput),
2570
2570
  ...contents,
2571
2571
  });
2572
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2572
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2573
2573
  };
2574
2574
  const deserializeAws_restJson1AccessPointNotFoundResponse = async (parsedOutput, context) => {
2575
2575
  const contents = {};
2576
2576
  const data = parsedOutput.body;
2577
2577
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2578
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2578
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2579
2579
  }
2580
2580
  if (data.Message !== undefined && data.Message !== null) {
2581
- contents.Message = smithy_client_1.expectString(data.Message);
2581
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2582
2582
  }
2583
2583
  const exception = new models_0_1.AccessPointNotFound({
2584
2584
  $metadata: deserializeMetadata(parsedOutput),
2585
2585
  ...contents,
2586
2586
  });
2587
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2587
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2588
2588
  };
2589
2589
  const deserializeAws_restJson1AvailabilityZonesMismatchResponse = async (parsedOutput, context) => {
2590
2590
  const contents = {};
2591
2591
  const data = parsedOutput.body;
2592
2592
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2593
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2593
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2594
2594
  }
2595
2595
  if (data.Message !== undefined && data.Message !== null) {
2596
- contents.Message = smithy_client_1.expectString(data.Message);
2596
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2597
2597
  }
2598
2598
  const exception = new models_0_1.AvailabilityZonesMismatch({
2599
2599
  $metadata: deserializeMetadata(parsedOutput),
2600
2600
  ...contents,
2601
2601
  });
2602
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2602
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2603
2603
  };
2604
2604
  const deserializeAws_restJson1BadRequestResponse = async (parsedOutput, context) => {
2605
2605
  const contents = {};
2606
2606
  const data = parsedOutput.body;
2607
2607
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2608
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2608
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2609
2609
  }
2610
2610
  if (data.Message !== undefined && data.Message !== null) {
2611
- contents.Message = smithy_client_1.expectString(data.Message);
2611
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2612
2612
  }
2613
2613
  const exception = new models_0_1.BadRequest({
2614
2614
  $metadata: deserializeMetadata(parsedOutput),
2615
2615
  ...contents,
2616
2616
  });
2617
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2617
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2618
2618
  };
2619
2619
  const deserializeAws_restJson1DependencyTimeoutResponse = async (parsedOutput, context) => {
2620
2620
  const contents = {};
2621
2621
  const data = parsedOutput.body;
2622
2622
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2623
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2623
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2624
2624
  }
2625
2625
  if (data.Message !== undefined && data.Message !== null) {
2626
- contents.Message = smithy_client_1.expectString(data.Message);
2626
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2627
2627
  }
2628
2628
  const exception = new models_0_1.DependencyTimeout({
2629
2629
  $metadata: deserializeMetadata(parsedOutput),
2630
2630
  ...contents,
2631
2631
  });
2632
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2632
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2633
2633
  };
2634
2634
  const deserializeAws_restJson1FileSystemAlreadyExistsResponse = async (parsedOutput, context) => {
2635
2635
  const contents = {};
2636
2636
  const data = parsedOutput.body;
2637
2637
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2638
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2638
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2639
2639
  }
2640
2640
  if (data.FileSystemId !== undefined && data.FileSystemId !== null) {
2641
- contents.FileSystemId = smithy_client_1.expectString(data.FileSystemId);
2641
+ contents.FileSystemId = (0, smithy_client_1.expectString)(data.FileSystemId);
2642
2642
  }
2643
2643
  if (data.Message !== undefined && data.Message !== null) {
2644
- contents.Message = smithy_client_1.expectString(data.Message);
2644
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2645
2645
  }
2646
2646
  const exception = new models_0_1.FileSystemAlreadyExists({
2647
2647
  $metadata: deserializeMetadata(parsedOutput),
2648
2648
  ...contents,
2649
2649
  });
2650
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2650
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2651
2651
  };
2652
2652
  const deserializeAws_restJson1FileSystemInUseResponse = async (parsedOutput, context) => {
2653
2653
  const contents = {};
2654
2654
  const data = parsedOutput.body;
2655
2655
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2656
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2656
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2657
2657
  }
2658
2658
  if (data.Message !== undefined && data.Message !== null) {
2659
- contents.Message = smithy_client_1.expectString(data.Message);
2659
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2660
2660
  }
2661
2661
  const exception = new models_0_1.FileSystemInUse({
2662
2662
  $metadata: deserializeMetadata(parsedOutput),
2663
2663
  ...contents,
2664
2664
  });
2665
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2665
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2666
2666
  };
2667
2667
  const deserializeAws_restJson1FileSystemLimitExceededResponse = async (parsedOutput, context) => {
2668
2668
  const contents = {};
2669
2669
  const data = parsedOutput.body;
2670
2670
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2671
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2671
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2672
2672
  }
2673
2673
  if (data.Message !== undefined && data.Message !== null) {
2674
- contents.Message = smithy_client_1.expectString(data.Message);
2674
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2675
2675
  }
2676
2676
  const exception = new models_0_1.FileSystemLimitExceeded({
2677
2677
  $metadata: deserializeMetadata(parsedOutput),
2678
2678
  ...contents,
2679
2679
  });
2680
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2680
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2681
2681
  };
2682
2682
  const deserializeAws_restJson1FileSystemNotFoundResponse = async (parsedOutput, context) => {
2683
2683
  const contents = {};
2684
2684
  const data = parsedOutput.body;
2685
2685
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2686
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2686
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2687
2687
  }
2688
2688
  if (data.Message !== undefined && data.Message !== null) {
2689
- contents.Message = smithy_client_1.expectString(data.Message);
2689
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2690
2690
  }
2691
2691
  const exception = new models_0_1.FileSystemNotFound({
2692
2692
  $metadata: deserializeMetadata(parsedOutput),
2693
2693
  ...contents,
2694
2694
  });
2695
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2695
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2696
2696
  };
2697
2697
  const deserializeAws_restJson1IncorrectFileSystemLifeCycleStateResponse = async (parsedOutput, context) => {
2698
2698
  const contents = {};
2699
2699
  const data = parsedOutput.body;
2700
2700
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2701
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2701
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2702
2702
  }
2703
2703
  if (data.Message !== undefined && data.Message !== null) {
2704
- contents.Message = smithy_client_1.expectString(data.Message);
2704
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2705
2705
  }
2706
2706
  const exception = new models_0_1.IncorrectFileSystemLifeCycleState({
2707
2707
  $metadata: deserializeMetadata(parsedOutput),
2708
2708
  ...contents,
2709
2709
  });
2710
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2710
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2711
2711
  };
2712
2712
  const deserializeAws_restJson1IncorrectMountTargetStateResponse = async (parsedOutput, context) => {
2713
2713
  const contents = {};
2714
2714
  const data = parsedOutput.body;
2715
2715
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2716
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2716
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2717
2717
  }
2718
2718
  if (data.Message !== undefined && data.Message !== null) {
2719
- contents.Message = smithy_client_1.expectString(data.Message);
2719
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2720
2720
  }
2721
2721
  const exception = new models_0_1.IncorrectMountTargetState({
2722
2722
  $metadata: deserializeMetadata(parsedOutput),
2723
2723
  ...contents,
2724
2724
  });
2725
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2725
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2726
2726
  };
2727
2727
  const deserializeAws_restJson1InsufficientThroughputCapacityResponse = async (parsedOutput, context) => {
2728
2728
  const contents = {};
2729
2729
  const data = parsedOutput.body;
2730
2730
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2731
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2731
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2732
2732
  }
2733
2733
  if (data.Message !== undefined && data.Message !== null) {
2734
- contents.Message = smithy_client_1.expectString(data.Message);
2734
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2735
2735
  }
2736
2736
  const exception = new models_0_1.InsufficientThroughputCapacity({
2737
2737
  $metadata: deserializeMetadata(parsedOutput),
2738
2738
  ...contents,
2739
2739
  });
2740
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2740
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2741
2741
  };
2742
2742
  const deserializeAws_restJson1InternalServerErrorResponse = async (parsedOutput, context) => {
2743
2743
  const contents = {};
2744
2744
  const data = parsedOutput.body;
2745
2745
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2746
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2746
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2747
2747
  }
2748
2748
  if (data.Message !== undefined && data.Message !== null) {
2749
- contents.Message = smithy_client_1.expectString(data.Message);
2749
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2750
2750
  }
2751
2751
  const exception = new models_0_1.InternalServerError({
2752
2752
  $metadata: deserializeMetadata(parsedOutput),
2753
2753
  ...contents,
2754
2754
  });
2755
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2755
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2756
2756
  };
2757
2757
  const deserializeAws_restJson1InvalidPolicyExceptionResponse = async (parsedOutput, context) => {
2758
2758
  const contents = {};
2759
2759
  const data = parsedOutput.body;
2760
2760
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2761
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2761
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2762
2762
  }
2763
2763
  if (data.Message !== undefined && data.Message !== null) {
2764
- contents.Message = smithy_client_1.expectString(data.Message);
2764
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2765
2765
  }
2766
2766
  const exception = new models_0_1.InvalidPolicyException({
2767
2767
  $metadata: deserializeMetadata(parsedOutput),
2768
2768
  ...contents,
2769
2769
  });
2770
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2770
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2771
2771
  };
2772
2772
  const deserializeAws_restJson1IpAddressInUseResponse = async (parsedOutput, context) => {
2773
2773
  const contents = {};
2774
2774
  const data = parsedOutput.body;
2775
2775
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2776
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2776
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2777
2777
  }
2778
2778
  if (data.Message !== undefined && data.Message !== null) {
2779
- contents.Message = smithy_client_1.expectString(data.Message);
2779
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2780
2780
  }
2781
2781
  const exception = new models_0_1.IpAddressInUse({
2782
2782
  $metadata: deserializeMetadata(parsedOutput),
2783
2783
  ...contents,
2784
2784
  });
2785
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2785
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2786
2786
  };
2787
2787
  const deserializeAws_restJson1MountTargetConflictResponse = async (parsedOutput, context) => {
2788
2788
  const contents = {};
2789
2789
  const data = parsedOutput.body;
2790
2790
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2791
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2791
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2792
2792
  }
2793
2793
  if (data.Message !== undefined && data.Message !== null) {
2794
- contents.Message = smithy_client_1.expectString(data.Message);
2794
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2795
2795
  }
2796
2796
  const exception = new models_0_1.MountTargetConflict({
2797
2797
  $metadata: deserializeMetadata(parsedOutput),
2798
2798
  ...contents,
2799
2799
  });
2800
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2800
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2801
2801
  };
2802
2802
  const deserializeAws_restJson1MountTargetNotFoundResponse = async (parsedOutput, context) => {
2803
2803
  const contents = {};
2804
2804
  const data = parsedOutput.body;
2805
2805
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2806
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2806
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2807
2807
  }
2808
2808
  if (data.Message !== undefined && data.Message !== null) {
2809
- contents.Message = smithy_client_1.expectString(data.Message);
2809
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2810
2810
  }
2811
2811
  const exception = new models_0_1.MountTargetNotFound({
2812
2812
  $metadata: deserializeMetadata(parsedOutput),
2813
2813
  ...contents,
2814
2814
  });
2815
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2815
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2816
2816
  };
2817
2817
  const deserializeAws_restJson1NetworkInterfaceLimitExceededResponse = async (parsedOutput, context) => {
2818
2818
  const contents = {};
2819
2819
  const data = parsedOutput.body;
2820
2820
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2821
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2821
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2822
2822
  }
2823
2823
  if (data.Message !== undefined && data.Message !== null) {
2824
- contents.Message = smithy_client_1.expectString(data.Message);
2824
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2825
2825
  }
2826
2826
  const exception = new models_0_1.NetworkInterfaceLimitExceeded({
2827
2827
  $metadata: deserializeMetadata(parsedOutput),
2828
2828
  ...contents,
2829
2829
  });
2830
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2830
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2831
2831
  };
2832
2832
  const deserializeAws_restJson1NoFreeAddressesInSubnetResponse = async (parsedOutput, context) => {
2833
2833
  const contents = {};
2834
2834
  const data = parsedOutput.body;
2835
2835
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2836
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2836
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2837
2837
  }
2838
2838
  if (data.Message !== undefined && data.Message !== null) {
2839
- contents.Message = smithy_client_1.expectString(data.Message);
2839
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2840
2840
  }
2841
2841
  const exception = new models_0_1.NoFreeAddressesInSubnet({
2842
2842
  $metadata: deserializeMetadata(parsedOutput),
2843
2843
  ...contents,
2844
2844
  });
2845
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2845
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2846
2846
  };
2847
2847
  const deserializeAws_restJson1PolicyNotFoundResponse = async (parsedOutput, context) => {
2848
2848
  const contents = {};
2849
2849
  const data = parsedOutput.body;
2850
2850
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2851
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2851
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2852
2852
  }
2853
2853
  if (data.Message !== undefined && data.Message !== null) {
2854
- contents.Message = smithy_client_1.expectString(data.Message);
2854
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2855
2855
  }
2856
2856
  const exception = new models_0_1.PolicyNotFound({
2857
2857
  $metadata: deserializeMetadata(parsedOutput),
2858
2858
  ...contents,
2859
2859
  });
2860
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2860
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2861
2861
  };
2862
2862
  const deserializeAws_restJson1ReplicationNotFoundResponse = async (parsedOutput, context) => {
2863
2863
  const contents = {};
2864
2864
  const data = parsedOutput.body;
2865
2865
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2866
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2866
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2867
2867
  }
2868
2868
  if (data.Message !== undefined && data.Message !== null) {
2869
- contents.Message = smithy_client_1.expectString(data.Message);
2869
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2870
2870
  }
2871
2871
  const exception = new models_0_1.ReplicationNotFound({
2872
2872
  $metadata: deserializeMetadata(parsedOutput),
2873
2873
  ...contents,
2874
2874
  });
2875
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2875
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2876
2876
  };
2877
2877
  const deserializeAws_restJson1SecurityGroupLimitExceededResponse = async (parsedOutput, context) => {
2878
2878
  const contents = {};
2879
2879
  const data = parsedOutput.body;
2880
2880
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2881
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2881
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2882
2882
  }
2883
2883
  if (data.Message !== undefined && data.Message !== null) {
2884
- contents.Message = smithy_client_1.expectString(data.Message);
2884
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2885
2885
  }
2886
2886
  const exception = new models_0_1.SecurityGroupLimitExceeded({
2887
2887
  $metadata: deserializeMetadata(parsedOutput),
2888
2888
  ...contents,
2889
2889
  });
2890
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2890
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2891
2891
  };
2892
2892
  const deserializeAws_restJson1SecurityGroupNotFoundResponse = async (parsedOutput, context) => {
2893
2893
  const contents = {};
2894
2894
  const data = parsedOutput.body;
2895
2895
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2896
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2896
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2897
2897
  }
2898
2898
  if (data.Message !== undefined && data.Message !== null) {
2899
- contents.Message = smithy_client_1.expectString(data.Message);
2899
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2900
2900
  }
2901
2901
  const exception = new models_0_1.SecurityGroupNotFound({
2902
2902
  $metadata: deserializeMetadata(parsedOutput),
2903
2903
  ...contents,
2904
2904
  });
2905
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2905
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2906
2906
  };
2907
2907
  const deserializeAws_restJson1SubnetNotFoundResponse = async (parsedOutput, context) => {
2908
2908
  const contents = {};
2909
2909
  const data = parsedOutput.body;
2910
2910
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2911
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2911
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2912
2912
  }
2913
2913
  if (data.Message !== undefined && data.Message !== null) {
2914
- contents.Message = smithy_client_1.expectString(data.Message);
2914
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2915
2915
  }
2916
2916
  const exception = new models_0_1.SubnetNotFound({
2917
2917
  $metadata: deserializeMetadata(parsedOutput),
2918
2918
  ...contents,
2919
2919
  });
2920
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2920
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2921
2921
  };
2922
2922
  const deserializeAws_restJson1ThroughputLimitExceededResponse = async (parsedOutput, context) => {
2923
2923
  const contents = {};
2924
2924
  const data = parsedOutput.body;
2925
2925
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2926
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2926
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2927
2927
  }
2928
2928
  if (data.Message !== undefined && data.Message !== null) {
2929
- contents.Message = smithy_client_1.expectString(data.Message);
2929
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2930
2930
  }
2931
2931
  const exception = new models_0_1.ThroughputLimitExceeded({
2932
2932
  $metadata: deserializeMetadata(parsedOutput),
2933
2933
  ...contents,
2934
2934
  });
2935
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2935
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2936
2936
  };
2937
2937
  const deserializeAws_restJson1TooManyRequestsResponse = async (parsedOutput, context) => {
2938
2938
  const contents = {};
2939
2939
  const data = parsedOutput.body;
2940
2940
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2941
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2941
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2942
2942
  }
2943
2943
  if (data.Message !== undefined && data.Message !== null) {
2944
- contents.Message = smithy_client_1.expectString(data.Message);
2944
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2945
2945
  }
2946
2946
  const exception = new models_0_1.TooManyRequests({
2947
2947
  $metadata: deserializeMetadata(parsedOutput),
2948
2948
  ...contents,
2949
2949
  });
2950
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2950
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2951
2951
  };
2952
2952
  const deserializeAws_restJson1UnsupportedAvailabilityZoneResponse = async (parsedOutput, context) => {
2953
2953
  const contents = {};
2954
2954
  const data = parsedOutput.body;
2955
2955
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2956
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2956
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2957
2957
  }
2958
2958
  if (data.Message !== undefined && data.Message !== null) {
2959
- contents.Message = smithy_client_1.expectString(data.Message);
2959
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2960
2960
  }
2961
2961
  const exception = new models_0_1.UnsupportedAvailabilityZone({
2962
2962
  $metadata: deserializeMetadata(parsedOutput),
2963
2963
  ...contents,
2964
2964
  });
2965
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2965
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2966
2966
  };
2967
2967
  const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2968
2968
  const contents = {};
2969
2969
  const data = parsedOutput.body;
2970
2970
  if (data.ErrorCode !== undefined && data.ErrorCode !== null) {
2971
- contents.ErrorCode = smithy_client_1.expectString(data.ErrorCode);
2971
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.ErrorCode);
2972
2972
  }
2973
2973
  if (data.Message !== undefined && data.Message !== null) {
2974
- contents.Message = smithy_client_1.expectString(data.Message);
2974
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
2975
2975
  }
2976
2976
  const exception = new models_0_1.ValidationException({
2977
2977
  $metadata: deserializeMetadata(parsedOutput),
2978
2978
  ...contents,
2979
2979
  });
2980
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
2980
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2981
2981
  };
2982
2982
  const serializeAws_restJson1BackupPolicy = (input, context) => {
2983
2983
  return {
@@ -3094,13 +3094,13 @@ const serializeAws_restJson1Tags = (input, context) => {
3094
3094
  };
3095
3095
  const deserializeAws_restJson1AccessPointDescription = (output, context) => {
3096
3096
  return {
3097
- AccessPointArn: smithy_client_1.expectString(output.AccessPointArn),
3098
- AccessPointId: smithy_client_1.expectString(output.AccessPointId),
3099
- ClientToken: smithy_client_1.expectString(output.ClientToken),
3100
- FileSystemId: smithy_client_1.expectString(output.FileSystemId),
3101
- LifeCycleState: smithy_client_1.expectString(output.LifeCycleState),
3102
- Name: smithy_client_1.expectString(output.Name),
3103
- OwnerId: smithy_client_1.expectString(output.OwnerId),
3097
+ AccessPointArn: (0, smithy_client_1.expectString)(output.AccessPointArn),
3098
+ AccessPointId: (0, smithy_client_1.expectString)(output.AccessPointId),
3099
+ ClientToken: (0, smithy_client_1.expectString)(output.ClientToken),
3100
+ FileSystemId: (0, smithy_client_1.expectString)(output.FileSystemId),
3101
+ LifeCycleState: (0, smithy_client_1.expectString)(output.LifeCycleState),
3102
+ Name: (0, smithy_client_1.expectString)(output.Name),
3103
+ OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
3104
3104
  PosixUser: output.PosixUser !== undefined && output.PosixUser !== null
3105
3105
  ? deserializeAws_restJson1PosixUser(output.PosixUser, context)
3106
3106
  : undefined,
@@ -3125,24 +3125,24 @@ const deserializeAws_restJson1AccessPointDescriptions = (output, context) => {
3125
3125
  };
3126
3126
  const deserializeAws_restJson1BackupPolicy = (output, context) => {
3127
3127
  return {
3128
- Status: smithy_client_1.expectString(output.Status),
3128
+ Status: (0, smithy_client_1.expectString)(output.Status),
3129
3129
  };
3130
3130
  };
3131
3131
  const deserializeAws_restJson1CreationInfo = (output, context) => {
3132
3132
  return {
3133
- OwnerGid: smithy_client_1.expectLong(output.OwnerGid),
3134
- OwnerUid: smithy_client_1.expectLong(output.OwnerUid),
3135
- Permissions: smithy_client_1.expectString(output.Permissions),
3133
+ OwnerGid: (0, smithy_client_1.expectLong)(output.OwnerGid),
3134
+ OwnerUid: (0, smithy_client_1.expectLong)(output.OwnerUid),
3135
+ Permissions: (0, smithy_client_1.expectString)(output.Permissions),
3136
3136
  };
3137
3137
  };
3138
3138
  const deserializeAws_restJson1Destination = (output, context) => {
3139
3139
  return {
3140
- FileSystemId: smithy_client_1.expectString(output.FileSystemId),
3140
+ FileSystemId: (0, smithy_client_1.expectString)(output.FileSystemId),
3141
3141
  LastReplicatedTimestamp: output.LastReplicatedTimestamp !== undefined && output.LastReplicatedTimestamp !== null
3142
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastReplicatedTimestamp)))
3142
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastReplicatedTimestamp)))
3143
3143
  : undefined,
3144
- Region: smithy_client_1.expectString(output.Region),
3145
- Status: smithy_client_1.expectString(output.Status),
3144
+ Region: (0, smithy_client_1.expectString)(output.Region),
3145
+ Status: (0, smithy_client_1.expectString)(output.Status),
3146
3146
  };
3147
3147
  };
3148
3148
  const deserializeAws_restJson1Destinations = (output, context) => {
@@ -3158,29 +3158,29 @@ const deserializeAws_restJson1Destinations = (output, context) => {
3158
3158
  };
3159
3159
  const deserializeAws_restJson1FileSystemDescription = (output, context) => {
3160
3160
  return {
3161
- AvailabilityZoneId: smithy_client_1.expectString(output.AvailabilityZoneId),
3162
- AvailabilityZoneName: smithy_client_1.expectString(output.AvailabilityZoneName),
3161
+ AvailabilityZoneId: (0, smithy_client_1.expectString)(output.AvailabilityZoneId),
3162
+ AvailabilityZoneName: (0, smithy_client_1.expectString)(output.AvailabilityZoneName),
3163
3163
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3164
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3164
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3165
3165
  : undefined,
3166
- CreationToken: smithy_client_1.expectString(output.CreationToken),
3167
- Encrypted: smithy_client_1.expectBoolean(output.Encrypted),
3168
- FileSystemArn: smithy_client_1.expectString(output.FileSystemArn),
3169
- FileSystemId: smithy_client_1.expectString(output.FileSystemId),
3170
- KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
3171
- LifeCycleState: smithy_client_1.expectString(output.LifeCycleState),
3172
- Name: smithy_client_1.expectString(output.Name),
3173
- NumberOfMountTargets: smithy_client_1.expectInt32(output.NumberOfMountTargets),
3174
- OwnerId: smithy_client_1.expectString(output.OwnerId),
3175
- PerformanceMode: smithy_client_1.expectString(output.PerformanceMode),
3176
- ProvisionedThroughputInMibps: smithy_client_1.limitedParseDouble(output.ProvisionedThroughputInMibps),
3166
+ CreationToken: (0, smithy_client_1.expectString)(output.CreationToken),
3167
+ Encrypted: (0, smithy_client_1.expectBoolean)(output.Encrypted),
3168
+ FileSystemArn: (0, smithy_client_1.expectString)(output.FileSystemArn),
3169
+ FileSystemId: (0, smithy_client_1.expectString)(output.FileSystemId),
3170
+ KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
3171
+ LifeCycleState: (0, smithy_client_1.expectString)(output.LifeCycleState),
3172
+ Name: (0, smithy_client_1.expectString)(output.Name),
3173
+ NumberOfMountTargets: (0, smithy_client_1.expectInt32)(output.NumberOfMountTargets),
3174
+ OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
3175
+ PerformanceMode: (0, smithy_client_1.expectString)(output.PerformanceMode),
3176
+ ProvisionedThroughputInMibps: (0, smithy_client_1.limitedParseDouble)(output.ProvisionedThroughputInMibps),
3177
3177
  SizeInBytes: output.SizeInBytes !== undefined && output.SizeInBytes !== null
3178
3178
  ? deserializeAws_restJson1FileSystemSize(output.SizeInBytes, context)
3179
3179
  : undefined,
3180
3180
  Tags: output.Tags !== undefined && output.Tags !== null
3181
3181
  ? deserializeAws_restJson1Tags(output.Tags, context)
3182
3182
  : undefined,
3183
- ThroughputMode: smithy_client_1.expectString(output.ThroughputMode),
3183
+ ThroughputMode: (0, smithy_client_1.expectString)(output.ThroughputMode),
3184
3184
  };
3185
3185
  };
3186
3186
  const deserializeAws_restJson1FileSystemDescriptions = (output, context) => {
@@ -3197,11 +3197,11 @@ const deserializeAws_restJson1FileSystemDescriptions = (output, context) => {
3197
3197
  const deserializeAws_restJson1FileSystemSize = (output, context) => {
3198
3198
  return {
3199
3199
  Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
3200
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Timestamp)))
3200
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
3201
3201
  : undefined,
3202
- Value: smithy_client_1.expectLong(output.Value),
3203
- ValueInIA: smithy_client_1.expectLong(output.ValueInIA),
3204
- ValueInStandard: smithy_client_1.expectLong(output.ValueInStandard),
3202
+ Value: (0, smithy_client_1.expectLong)(output.Value),
3203
+ ValueInIA: (0, smithy_client_1.expectLong)(output.ValueInIA),
3204
+ ValueInStandard: (0, smithy_client_1.expectLong)(output.ValueInStandard),
3205
3205
  };
3206
3206
  };
3207
3207
  const deserializeAws_restJson1LifecyclePolicies = (output, context) => {
@@ -3217,22 +3217,22 @@ const deserializeAws_restJson1LifecyclePolicies = (output, context) => {
3217
3217
  };
3218
3218
  const deserializeAws_restJson1LifecyclePolicy = (output, context) => {
3219
3219
  return {
3220
- TransitionToIA: smithy_client_1.expectString(output.TransitionToIA),
3221
- TransitionToPrimaryStorageClass: smithy_client_1.expectString(output.TransitionToPrimaryStorageClass),
3220
+ TransitionToIA: (0, smithy_client_1.expectString)(output.TransitionToIA),
3221
+ TransitionToPrimaryStorageClass: (0, smithy_client_1.expectString)(output.TransitionToPrimaryStorageClass),
3222
3222
  };
3223
3223
  };
3224
3224
  const deserializeAws_restJson1MountTargetDescription = (output, context) => {
3225
3225
  return {
3226
- AvailabilityZoneId: smithy_client_1.expectString(output.AvailabilityZoneId),
3227
- AvailabilityZoneName: smithy_client_1.expectString(output.AvailabilityZoneName),
3228
- FileSystemId: smithy_client_1.expectString(output.FileSystemId),
3229
- IpAddress: smithy_client_1.expectString(output.IpAddress),
3230
- LifeCycleState: smithy_client_1.expectString(output.LifeCycleState),
3231
- MountTargetId: smithy_client_1.expectString(output.MountTargetId),
3232
- NetworkInterfaceId: smithy_client_1.expectString(output.NetworkInterfaceId),
3233
- OwnerId: smithy_client_1.expectString(output.OwnerId),
3234
- SubnetId: smithy_client_1.expectString(output.SubnetId),
3235
- VpcId: smithy_client_1.expectString(output.VpcId),
3226
+ AvailabilityZoneId: (0, smithy_client_1.expectString)(output.AvailabilityZoneId),
3227
+ AvailabilityZoneName: (0, smithy_client_1.expectString)(output.AvailabilityZoneName),
3228
+ FileSystemId: (0, smithy_client_1.expectString)(output.FileSystemId),
3229
+ IpAddress: (0, smithy_client_1.expectString)(output.IpAddress),
3230
+ LifeCycleState: (0, smithy_client_1.expectString)(output.LifeCycleState),
3231
+ MountTargetId: (0, smithy_client_1.expectString)(output.MountTargetId),
3232
+ NetworkInterfaceId: (0, smithy_client_1.expectString)(output.NetworkInterfaceId),
3233
+ OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
3234
+ SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
3235
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
3236
3236
  };
3237
3237
  };
3238
3238
  const deserializeAws_restJson1MountTargetDescriptions = (output, context) => {
@@ -3248,25 +3248,25 @@ const deserializeAws_restJson1MountTargetDescriptions = (output, context) => {
3248
3248
  };
3249
3249
  const deserializeAws_restJson1PosixUser = (output, context) => {
3250
3250
  return {
3251
- Gid: smithy_client_1.expectLong(output.Gid),
3251
+ Gid: (0, smithy_client_1.expectLong)(output.Gid),
3252
3252
  SecondaryGids: output.SecondaryGids !== undefined && output.SecondaryGids !== null
3253
3253
  ? deserializeAws_restJson1SecondaryGids(output.SecondaryGids, context)
3254
3254
  : undefined,
3255
- Uid: smithy_client_1.expectLong(output.Uid),
3255
+ Uid: (0, smithy_client_1.expectLong)(output.Uid),
3256
3256
  };
3257
3257
  };
3258
3258
  const deserializeAws_restJson1ReplicationConfigurationDescription = (output, context) => {
3259
3259
  return {
3260
3260
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3261
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3261
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
3262
3262
  : undefined,
3263
3263
  Destinations: output.Destinations !== undefined && output.Destinations !== null
3264
3264
  ? deserializeAws_restJson1Destinations(output.Destinations, context)
3265
3265
  : undefined,
3266
- OriginalSourceFileSystemArn: smithy_client_1.expectString(output.OriginalSourceFileSystemArn),
3267
- SourceFileSystemArn: smithy_client_1.expectString(output.SourceFileSystemArn),
3268
- SourceFileSystemId: smithy_client_1.expectString(output.SourceFileSystemId),
3269
- SourceFileSystemRegion: smithy_client_1.expectString(output.SourceFileSystemRegion),
3266
+ OriginalSourceFileSystemArn: (0, smithy_client_1.expectString)(output.OriginalSourceFileSystemArn),
3267
+ SourceFileSystemArn: (0, smithy_client_1.expectString)(output.SourceFileSystemArn),
3268
+ SourceFileSystemId: (0, smithy_client_1.expectString)(output.SourceFileSystemId),
3269
+ SourceFileSystemRegion: (0, smithy_client_1.expectString)(output.SourceFileSystemRegion),
3270
3270
  };
3271
3271
  };
3272
3272
  const deserializeAws_restJson1ReplicationConfigurationDescriptions = (output, context) => {
@@ -3282,7 +3282,7 @@ const deserializeAws_restJson1ReplicationConfigurationDescriptions = (output, co
3282
3282
  };
3283
3283
  const deserializeAws_restJson1ResourceIdPreference = (output, context) => {
3284
3284
  return {
3285
- ResourceIdType: smithy_client_1.expectString(output.ResourceIdType),
3285
+ ResourceIdType: (0, smithy_client_1.expectString)(output.ResourceIdType),
3286
3286
  Resources: output.Resources !== undefined && output.Resources !== null
3287
3287
  ? deserializeAws_restJson1Resources(output.Resources, context)
3288
3288
  : undefined,
@@ -3295,7 +3295,7 @@ const deserializeAws_restJson1Resources = (output, context) => {
3295
3295
  if (entry === null) {
3296
3296
  return null;
3297
3297
  }
3298
- return smithy_client_1.expectString(entry);
3298
+ return (0, smithy_client_1.expectString)(entry);
3299
3299
  });
3300
3300
  return retVal;
3301
3301
  };
@@ -3304,7 +3304,7 @@ const deserializeAws_restJson1RootDirectory = (output, context) => {
3304
3304
  CreationInfo: output.CreationInfo !== undefined && output.CreationInfo !== null
3305
3305
  ? deserializeAws_restJson1CreationInfo(output.CreationInfo, context)
3306
3306
  : undefined,
3307
- Path: smithy_client_1.expectString(output.Path),
3307
+ Path: (0, smithy_client_1.expectString)(output.Path),
3308
3308
  };
3309
3309
  };
3310
3310
  const deserializeAws_restJson1SecondaryGids = (output, context) => {
@@ -3314,7 +3314,7 @@ const deserializeAws_restJson1SecondaryGids = (output, context) => {
3314
3314
  if (entry === null) {
3315
3315
  return null;
3316
3316
  }
3317
- return smithy_client_1.expectLong(entry);
3317
+ return (0, smithy_client_1.expectLong)(entry);
3318
3318
  });
3319
3319
  return retVal;
3320
3320
  };
@@ -3325,14 +3325,14 @@ const deserializeAws_restJson1SecurityGroups = (output, context) => {
3325
3325
  if (entry === null) {
3326
3326
  return null;
3327
3327
  }
3328
- return smithy_client_1.expectString(entry);
3328
+ return (0, smithy_client_1.expectString)(entry);
3329
3329
  });
3330
3330
  return retVal;
3331
3331
  };
3332
3332
  const deserializeAws_restJson1Tag = (output, context) => {
3333
3333
  return {
3334
- Key: smithy_client_1.expectString(output.Key),
3335
- Value: smithy_client_1.expectString(output.Value),
3334
+ Key: (0, smithy_client_1.expectString)(output.Key),
3335
+ Value: (0, smithy_client_1.expectString)(output.Value),
3336
3336
  };
3337
3337
  };
3338
3338
  const deserializeAws_restJson1Tags = (output, context) => {