@aws-sdk/client-cloudhsm-v2 3.31.0 → 3.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/CloudHSMV2Client.js +13 -13
  3. package/dist/cjs/CloudHSMV2Client.js.map +1 -1
  4. package/dist/cjs/commands/CopyBackupToRegionCommand.js +3 -3
  5. package/dist/cjs/commands/CopyBackupToRegionCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateClusterCommand.js +3 -3
  7. package/dist/cjs/commands/CreateClusterCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateHsmCommand.js +3 -3
  9. package/dist/cjs/commands/CreateHsmCommand.js.map +1 -1
  10. package/dist/cjs/commands/DeleteBackupCommand.js +3 -3
  11. package/dist/cjs/commands/DeleteBackupCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeleteClusterCommand.js +3 -3
  13. package/dist/cjs/commands/DeleteClusterCommand.js.map +1 -1
  14. package/dist/cjs/commands/DeleteHsmCommand.js +3 -3
  15. package/dist/cjs/commands/DeleteHsmCommand.js.map +1 -1
  16. package/dist/cjs/commands/DescribeBackupsCommand.js +3 -3
  17. package/dist/cjs/commands/DescribeBackupsCommand.js.map +1 -1
  18. package/dist/cjs/commands/DescribeClustersCommand.js +3 -3
  19. package/dist/cjs/commands/DescribeClustersCommand.js.map +1 -1
  20. package/dist/cjs/commands/InitializeClusterCommand.js +3 -3
  21. package/dist/cjs/commands/InitializeClusterCommand.js.map +1 -1
  22. package/dist/cjs/commands/ListTagsCommand.js +3 -3
  23. package/dist/cjs/commands/ListTagsCommand.js.map +1 -1
  24. package/dist/cjs/commands/ModifyBackupAttributesCommand.js +3 -3
  25. package/dist/cjs/commands/ModifyBackupAttributesCommand.js.map +1 -1
  26. package/dist/cjs/commands/ModifyClusterCommand.js +3 -3
  27. package/dist/cjs/commands/ModifyClusterCommand.js.map +1 -1
  28. package/dist/cjs/commands/RestoreBackupCommand.js +3 -3
  29. package/dist/cjs/commands/RestoreBackupCommand.js.map +1 -1
  30. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  31. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  32. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  33. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  34. package/dist/cjs/endpoints.js +1 -1
  35. package/dist/cjs/endpoints.js.map +1 -1
  36. package/dist/cjs/index.js +22 -22
  37. package/dist/cjs/index.js.map +1 -1
  38. package/dist/cjs/models/index.js +1 -1
  39. package/dist/cjs/models/index.js.map +1 -1
  40. package/dist/cjs/package.json +31 -31
  41. package/dist/cjs/protocols/Aws_json1_1.js +54 -54
  42. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  43. package/dist/cjs/runtimeConfig.browser.js +4 -4
  44. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  45. package/dist/cjs/runtimeConfig.js +8 -8
  46. package/dist/cjs/runtimeConfig.js.map +1 -1
  47. package/dist/cjs/runtimeConfig.native.js +1 -1
  48. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  49. package/dist/es/package.json +31 -31
  50. package/dist/es/pagination/DescribeBackupsPaginator.js +4 -4
  51. package/dist/es/pagination/DescribeBackupsPaginator.js.map +1 -1
  52. package/dist/es/pagination/DescribeClustersPaginator.js +4 -4
  53. package/dist/es/pagination/DescribeClustersPaginator.js.map +1 -1
  54. package/dist/es/pagination/ListTagsPaginator.js +4 -4
  55. package/dist/es/pagination/ListTagsPaginator.js.map +1 -1
  56. package/package.json +31 -31
  57. package/tsconfig.json +1 -2
package/dist/cjs/index.js CHANGED
@@ -1,26 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./CloudHSMV2Client"), exports);
5
- (0, tslib_1.__exportStar)(require("./CloudHSMV2"), exports);
6
- (0, tslib_1.__exportStar)(require("./commands/CopyBackupToRegionCommand"), exports);
7
- (0, tslib_1.__exportStar)(require("./commands/CreateClusterCommand"), exports);
8
- (0, tslib_1.__exportStar)(require("./commands/CreateHsmCommand"), exports);
9
- (0, tslib_1.__exportStar)(require("./commands/DeleteBackupCommand"), exports);
10
- (0, tslib_1.__exportStar)(require("./commands/DeleteClusterCommand"), exports);
11
- (0, tslib_1.__exportStar)(require("./commands/DeleteHsmCommand"), exports);
12
- (0, tslib_1.__exportStar)(require("./commands/DescribeBackupsCommand"), exports);
13
- (0, tslib_1.__exportStar)(require("./pagination/DescribeBackupsPaginator"), exports);
14
- (0, tslib_1.__exportStar)(require("./commands/DescribeClustersCommand"), exports);
15
- (0, tslib_1.__exportStar)(require("./pagination/DescribeClustersPaginator"), exports);
16
- (0, tslib_1.__exportStar)(require("./commands/InitializeClusterCommand"), exports);
17
- (0, tslib_1.__exportStar)(require("./commands/ListTagsCommand"), exports);
18
- (0, tslib_1.__exportStar)(require("./pagination/ListTagsPaginator"), exports);
19
- (0, tslib_1.__exportStar)(require("./commands/ModifyBackupAttributesCommand"), exports);
20
- (0, tslib_1.__exportStar)(require("./commands/ModifyClusterCommand"), exports);
21
- (0, tslib_1.__exportStar)(require("./commands/RestoreBackupCommand"), exports);
22
- (0, tslib_1.__exportStar)(require("./commands/TagResourceCommand"), exports);
23
- (0, tslib_1.__exportStar)(require("./commands/UntagResourceCommand"), exports);
24
- (0, tslib_1.__exportStar)(require("./pagination/Interfaces"), exports);
25
- (0, tslib_1.__exportStar)(require("./models/index"), exports);
4
+ tslib_1.__exportStar(require("./CloudHSMV2Client"), exports);
5
+ tslib_1.__exportStar(require("./CloudHSMV2"), exports);
6
+ tslib_1.__exportStar(require("./commands/CopyBackupToRegionCommand"), exports);
7
+ tslib_1.__exportStar(require("./commands/CreateClusterCommand"), exports);
8
+ tslib_1.__exportStar(require("./commands/CreateHsmCommand"), exports);
9
+ tslib_1.__exportStar(require("./commands/DeleteBackupCommand"), exports);
10
+ tslib_1.__exportStar(require("./commands/DeleteClusterCommand"), exports);
11
+ tslib_1.__exportStar(require("./commands/DeleteHsmCommand"), exports);
12
+ tslib_1.__exportStar(require("./commands/DescribeBackupsCommand"), exports);
13
+ tslib_1.__exportStar(require("./pagination/DescribeBackupsPaginator"), exports);
14
+ tslib_1.__exportStar(require("./commands/DescribeClustersCommand"), exports);
15
+ tslib_1.__exportStar(require("./pagination/DescribeClustersPaginator"), exports);
16
+ tslib_1.__exportStar(require("./commands/InitializeClusterCommand"), exports);
17
+ tslib_1.__exportStar(require("./commands/ListTagsCommand"), exports);
18
+ tslib_1.__exportStar(require("./pagination/ListTagsPaginator"), exports);
19
+ tslib_1.__exportStar(require("./commands/ModifyBackupAttributesCommand"), exports);
20
+ tslib_1.__exportStar(require("./commands/ModifyClusterCommand"), exports);
21
+ tslib_1.__exportStar(require("./commands/RestoreBackupCommand"), exports);
22
+ tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
23
+ tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
24
+ tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
25
+ tslib_1.__exportStar(require("./models/index"), exports);
26
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;AAAA,kEAAmC;AACnC,4DAA6B;AAC7B,oFAAqD;AACrD,+EAAgD;AAChD,2EAA4C;AAC5C,8EAA+C;AAC/C,+EAAgD;AAChD,2EAA4C;AAC5C,iFAAkD;AAClD,qFAAsD;AACtD,kFAAmD;AACnD,sFAAuD;AACvD,mFAAoD;AACpD,0EAA2C;AAC3C,8EAA+C;AAC/C,wFAAyD;AACzD,+EAAgD;AAChD,+EAAgD;AAChD,6EAA8C;AAC9C,+EAAgD;AAChD,uEAAwC;AACxC,8DAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC;AACnC,uDAA6B;AAC7B,+EAAqD;AACrD,0EAAgD;AAChD,sEAA4C;AAC5C,yEAA+C;AAC/C,0EAAgD;AAChD,sEAA4C;AAC5C,4EAAkD;AAClD,gFAAsD;AACtD,6EAAmD;AACnD,iFAAuD;AACvD,8EAAoD;AACpD,qEAA2C;AAC3C,yEAA+C;AAC/C,mFAAyD;AACzD,0EAAgD;AAChD,0EAAgD;AAChD,wEAA8C;AAC9C,0EAAgD;AAChD,kEAAwC;AACxC,yDAA+B"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./models_0"), exports);
4
+ tslib_1.__exportStar(require("./models_0"), exports);
5
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":";;;AAAA,0DAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":";;;AAAA,qDAA2B"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudhsm-v2",
3
3
  "description": "AWS SDK for JavaScript Cloudhsm V2 Client for Node.js, Browser and React Native",
4
- "version": "3.31.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,45 +27,45 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.31.0",
31
- "@aws-sdk/config-resolver": "3.30.0",
32
- "@aws-sdk/credential-provider-node": "3.31.0",
33
- "@aws-sdk/fetch-http-handler": "3.29.0",
34
- "@aws-sdk/hash-node": "3.29.0",
35
- "@aws-sdk/invalid-dependency": "3.29.0",
36
- "@aws-sdk/middleware-content-length": "3.29.0",
37
- "@aws-sdk/middleware-host-header": "3.29.0",
38
- "@aws-sdk/middleware-logger": "3.29.0",
39
- "@aws-sdk/middleware-retry": "3.29.0",
40
- "@aws-sdk/middleware-serde": "3.29.0",
41
- "@aws-sdk/middleware-signing": "3.30.0",
42
- "@aws-sdk/middleware-stack": "3.29.0",
43
- "@aws-sdk/middleware-user-agent": "3.29.0",
44
- "@aws-sdk/node-config-provider": "3.29.0",
45
- "@aws-sdk/node-http-handler": "3.29.0",
46
- "@aws-sdk/protocol-http": "3.29.0",
47
- "@aws-sdk/smithy-client": "3.31.0",
48
- "@aws-sdk/types": "3.29.0",
49
- "@aws-sdk/url-parser": "3.29.0",
50
- "@aws-sdk/util-base64-browser": "3.29.0",
51
- "@aws-sdk/util-base64-node": "3.29.0",
52
- "@aws-sdk/util-body-length-browser": "3.29.0",
53
- "@aws-sdk/util-body-length-node": "3.29.0",
54
- "@aws-sdk/util-user-agent-browser": "3.29.0",
55
- "@aws-sdk/util-user-agent-node": "3.29.0",
56
- "@aws-sdk/util-utf8-browser": "3.29.0",
57
- "@aws-sdk/util-utf8-node": "3.29.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
58
  "tslib": "^2.3.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.29.0",
61
+ "@aws-sdk/client-documentation-generator": "3.32.0",
62
62
  "@types/node": "^12.7.5",
63
63
  "downlevel-dts": "0.7.0",
64
64
  "jest": "^26.1.0",
65
65
  "rimraf": "^3.0.0",
66
66
  "ts-jest": "^26.4.1",
67
67
  "typedoc": "^0.19.2",
68
- "typescript": "~4.4.2"
68
+ "typescript": "~4.3.5"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=10.0.0"
@@ -1640,22 +1640,22 @@ const serializeAws_json1_1UntagResourceRequest = (input, context) => {
1640
1640
  };
1641
1641
  const deserializeAws_json1_1Backup = (output, context) => {
1642
1642
  return {
1643
- BackupId: (0, smithy_client_1.expectString)(output.BackupId),
1644
- BackupState: (0, smithy_client_1.expectString)(output.BackupState),
1645
- ClusterId: (0, smithy_client_1.expectString)(output.ClusterId),
1643
+ BackupId: smithy_client_1.expectString(output.BackupId),
1644
+ BackupState: smithy_client_1.expectString(output.BackupState),
1645
+ ClusterId: smithy_client_1.expectString(output.ClusterId),
1646
1646
  CopyTimestamp: output.CopyTimestamp !== undefined && output.CopyTimestamp !== null
1647
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CopyTimestamp)))
1647
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CopyTimestamp)))
1648
1648
  : undefined,
1649
1649
  CreateTimestamp: output.CreateTimestamp !== undefined && output.CreateTimestamp !== null
1650
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTimestamp)))
1650
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateTimestamp)))
1651
1651
  : undefined,
1652
1652
  DeleteTimestamp: output.DeleteTimestamp !== undefined && output.DeleteTimestamp !== null
1653
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeleteTimestamp)))
1653
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeleteTimestamp)))
1654
1654
  : undefined,
1655
- NeverExpires: (0, smithy_client_1.expectBoolean)(output.NeverExpires),
1656
- SourceBackup: (0, smithy_client_1.expectString)(output.SourceBackup),
1657
- SourceCluster: (0, smithy_client_1.expectString)(output.SourceCluster),
1658
- SourceRegion: (0, smithy_client_1.expectString)(output.SourceRegion),
1655
+ NeverExpires: smithy_client_1.expectBoolean(output.NeverExpires),
1656
+ SourceBackup: smithy_client_1.expectString(output.SourceBackup),
1657
+ SourceCluster: smithy_client_1.expectString(output.SourceCluster),
1658
+ SourceRegion: smithy_client_1.expectString(output.SourceRegion),
1659
1659
  TagList: output.TagList !== undefined && output.TagList !== null
1660
1660
  ? deserializeAws_json1_1TagList(output.TagList, context)
1661
1661
  : undefined,
@@ -1663,8 +1663,8 @@ const deserializeAws_json1_1Backup = (output, context) => {
1663
1663
  };
1664
1664
  const deserializeAws_json1_1BackupRetentionPolicy = (output, context) => {
1665
1665
  return {
1666
- Type: (0, smithy_client_1.expectString)(output.Type),
1667
- Value: (0, smithy_client_1.expectString)(output.Value),
1666
+ Type: smithy_client_1.expectString(output.Type),
1667
+ Value: smithy_client_1.expectString(output.Value),
1668
1668
  };
1669
1669
  };
1670
1670
  const deserializeAws_json1_1Backups = (output, context) => {
@@ -1679,70 +1679,70 @@ const deserializeAws_json1_1Backups = (output, context) => {
1679
1679
  };
1680
1680
  const deserializeAws_json1_1Certificates = (output, context) => {
1681
1681
  return {
1682
- AwsHardwareCertificate: (0, smithy_client_1.expectString)(output.AwsHardwareCertificate),
1683
- ClusterCertificate: (0, smithy_client_1.expectString)(output.ClusterCertificate),
1684
- ClusterCsr: (0, smithy_client_1.expectString)(output.ClusterCsr),
1685
- HsmCertificate: (0, smithy_client_1.expectString)(output.HsmCertificate),
1686
- ManufacturerHardwareCertificate: (0, smithy_client_1.expectString)(output.ManufacturerHardwareCertificate),
1682
+ AwsHardwareCertificate: smithy_client_1.expectString(output.AwsHardwareCertificate),
1683
+ ClusterCertificate: smithy_client_1.expectString(output.ClusterCertificate),
1684
+ ClusterCsr: smithy_client_1.expectString(output.ClusterCsr),
1685
+ HsmCertificate: smithy_client_1.expectString(output.HsmCertificate),
1686
+ ManufacturerHardwareCertificate: smithy_client_1.expectString(output.ManufacturerHardwareCertificate),
1687
1687
  };
1688
1688
  };
1689
1689
  const deserializeAws_json1_1CloudHsmAccessDeniedException = (output, context) => {
1690
1690
  return {
1691
- Message: (0, smithy_client_1.expectString)(output.Message),
1691
+ Message: smithy_client_1.expectString(output.Message),
1692
1692
  };
1693
1693
  };
1694
1694
  const deserializeAws_json1_1CloudHsmInternalFailureException = (output, context) => {
1695
1695
  return {
1696
- Message: (0, smithy_client_1.expectString)(output.Message),
1696
+ Message: smithy_client_1.expectString(output.Message),
1697
1697
  };
1698
1698
  };
1699
1699
  const deserializeAws_json1_1CloudHsmInvalidRequestException = (output, context) => {
1700
1700
  return {
1701
- Message: (0, smithy_client_1.expectString)(output.Message),
1701
+ Message: smithy_client_1.expectString(output.Message),
1702
1702
  };
1703
1703
  };
1704
1704
  const deserializeAws_json1_1CloudHsmResourceNotFoundException = (output, context) => {
1705
1705
  return {
1706
- Message: (0, smithy_client_1.expectString)(output.Message),
1706
+ Message: smithy_client_1.expectString(output.Message),
1707
1707
  };
1708
1708
  };
1709
1709
  const deserializeAws_json1_1CloudHsmServiceException = (output, context) => {
1710
1710
  return {
1711
- Message: (0, smithy_client_1.expectString)(output.Message),
1711
+ Message: smithy_client_1.expectString(output.Message),
1712
1712
  };
1713
1713
  };
1714
1714
  const deserializeAws_json1_1CloudHsmTagException = (output, context) => {
1715
1715
  return {
1716
- Message: (0, smithy_client_1.expectString)(output.Message),
1716
+ Message: smithy_client_1.expectString(output.Message),
1717
1717
  };
1718
1718
  };
1719
1719
  const deserializeAws_json1_1Cluster = (output, context) => {
1720
1720
  return {
1721
- BackupPolicy: (0, smithy_client_1.expectString)(output.BackupPolicy),
1721
+ BackupPolicy: smithy_client_1.expectString(output.BackupPolicy),
1722
1722
  BackupRetentionPolicy: output.BackupRetentionPolicy !== undefined && output.BackupRetentionPolicy !== null
1723
1723
  ? deserializeAws_json1_1BackupRetentionPolicy(output.BackupRetentionPolicy, context)
1724
1724
  : undefined,
1725
1725
  Certificates: output.Certificates !== undefined && output.Certificates !== null
1726
1726
  ? deserializeAws_json1_1Certificates(output.Certificates, context)
1727
1727
  : undefined,
1728
- ClusterId: (0, smithy_client_1.expectString)(output.ClusterId),
1728
+ ClusterId: smithy_client_1.expectString(output.ClusterId),
1729
1729
  CreateTimestamp: output.CreateTimestamp !== undefined && output.CreateTimestamp !== null
1730
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTimestamp)))
1730
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateTimestamp)))
1731
1731
  : undefined,
1732
- HsmType: (0, smithy_client_1.expectString)(output.HsmType),
1732
+ HsmType: smithy_client_1.expectString(output.HsmType),
1733
1733
  Hsms: output.Hsms !== undefined && output.Hsms !== null ? deserializeAws_json1_1Hsms(output.Hsms, context) : undefined,
1734
- PreCoPassword: (0, smithy_client_1.expectString)(output.PreCoPassword),
1735
- SecurityGroup: (0, smithy_client_1.expectString)(output.SecurityGroup),
1736
- SourceBackupId: (0, smithy_client_1.expectString)(output.SourceBackupId),
1737
- State: (0, smithy_client_1.expectString)(output.State),
1738
- StateMessage: (0, smithy_client_1.expectString)(output.StateMessage),
1734
+ PreCoPassword: smithy_client_1.expectString(output.PreCoPassword),
1735
+ SecurityGroup: smithy_client_1.expectString(output.SecurityGroup),
1736
+ SourceBackupId: smithy_client_1.expectString(output.SourceBackupId),
1737
+ State: smithy_client_1.expectString(output.State),
1738
+ StateMessage: smithy_client_1.expectString(output.StateMessage),
1739
1739
  SubnetMapping: output.SubnetMapping !== undefined && output.SubnetMapping !== null
1740
1740
  ? deserializeAws_json1_1ExternalSubnetMapping(output.SubnetMapping, context)
1741
1741
  : undefined,
1742
1742
  TagList: output.TagList !== undefined && output.TagList !== null
1743
1743
  ? deserializeAws_json1_1TagList(output.TagList, context)
1744
1744
  : undefined,
1745
- VpcId: (0, smithy_client_1.expectString)(output.VpcId),
1745
+ VpcId: smithy_client_1.expectString(output.VpcId),
1746
1746
  };
1747
1747
  };
1748
1748
  const deserializeAws_json1_1Clusters = (output, context) => {
@@ -1790,7 +1790,7 @@ const deserializeAws_json1_1DeleteClusterResponse = (output, context) => {
1790
1790
  };
1791
1791
  const deserializeAws_json1_1DeleteHsmResponse = (output, context) => {
1792
1792
  return {
1793
- HsmId: (0, smithy_client_1.expectString)(output.HsmId),
1793
+ HsmId: smithy_client_1.expectString(output.HsmId),
1794
1794
  };
1795
1795
  };
1796
1796
  const deserializeAws_json1_1DescribeBackupsResponse = (output, context) => {
@@ -1798,7 +1798,7 @@ const deserializeAws_json1_1DescribeBackupsResponse = (output, context) => {
1798
1798
  Backups: output.Backups !== undefined && output.Backups !== null
1799
1799
  ? deserializeAws_json1_1Backups(output.Backups, context)
1800
1800
  : undefined,
1801
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1801
+ NextToken: smithy_client_1.expectString(output.NextToken),
1802
1802
  };
1803
1803
  };
1804
1804
  const deserializeAws_json1_1DescribeClustersResponse = (output, context) => {
@@ -1806,17 +1806,17 @@ const deserializeAws_json1_1DescribeClustersResponse = (output, context) => {
1806
1806
  Clusters: output.Clusters !== undefined && output.Clusters !== null
1807
1807
  ? deserializeAws_json1_1Clusters(output.Clusters, context)
1808
1808
  : undefined,
1809
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1809
+ NextToken: smithy_client_1.expectString(output.NextToken),
1810
1810
  };
1811
1811
  };
1812
1812
  const deserializeAws_json1_1DestinationBackup = (output, context) => {
1813
1813
  return {
1814
1814
  CreateTimestamp: output.CreateTimestamp !== undefined && output.CreateTimestamp !== null
1815
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTimestamp)))
1815
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateTimestamp)))
1816
1816
  : undefined,
1817
- SourceBackup: (0, smithy_client_1.expectString)(output.SourceBackup),
1818
- SourceCluster: (0, smithy_client_1.expectString)(output.SourceCluster),
1819
- SourceRegion: (0, smithy_client_1.expectString)(output.SourceRegion),
1817
+ SourceBackup: smithy_client_1.expectString(output.SourceBackup),
1818
+ SourceCluster: smithy_client_1.expectString(output.SourceCluster),
1819
+ SourceRegion: smithy_client_1.expectString(output.SourceRegion),
1820
1820
  };
1821
1821
  };
1822
1822
  const deserializeAws_json1_1ExternalSubnetMapping = (output, context) => {
@@ -1826,20 +1826,20 @@ const deserializeAws_json1_1ExternalSubnetMapping = (output, context) => {
1826
1826
  }
1827
1827
  return {
1828
1828
  ...acc,
1829
- [key]: (0, smithy_client_1.expectString)(value),
1829
+ [key]: smithy_client_1.expectString(value),
1830
1830
  };
1831
1831
  }, {});
1832
1832
  };
1833
1833
  const deserializeAws_json1_1Hsm = (output, context) => {
1834
1834
  return {
1835
- AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
1836
- ClusterId: (0, smithy_client_1.expectString)(output.ClusterId),
1837
- EniId: (0, smithy_client_1.expectString)(output.EniId),
1838
- EniIp: (0, smithy_client_1.expectString)(output.EniIp),
1839
- HsmId: (0, smithy_client_1.expectString)(output.HsmId),
1840
- State: (0, smithy_client_1.expectString)(output.State),
1841
- StateMessage: (0, smithy_client_1.expectString)(output.StateMessage),
1842
- SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
1835
+ AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
1836
+ ClusterId: smithy_client_1.expectString(output.ClusterId),
1837
+ EniId: smithy_client_1.expectString(output.EniId),
1838
+ EniIp: smithy_client_1.expectString(output.EniIp),
1839
+ HsmId: smithy_client_1.expectString(output.HsmId),
1840
+ State: smithy_client_1.expectString(output.State),
1841
+ StateMessage: smithy_client_1.expectString(output.StateMessage),
1842
+ SubnetId: smithy_client_1.expectString(output.SubnetId),
1843
1843
  };
1844
1844
  };
1845
1845
  const deserializeAws_json1_1Hsms = (output, context) => {
@@ -1854,13 +1854,13 @@ const deserializeAws_json1_1Hsms = (output, context) => {
1854
1854
  };
1855
1855
  const deserializeAws_json1_1InitializeClusterResponse = (output, context) => {
1856
1856
  return {
1857
- State: (0, smithy_client_1.expectString)(output.State),
1858
- StateMessage: (0, smithy_client_1.expectString)(output.StateMessage),
1857
+ State: smithy_client_1.expectString(output.State),
1858
+ StateMessage: smithy_client_1.expectString(output.StateMessage),
1859
1859
  };
1860
1860
  };
1861
1861
  const deserializeAws_json1_1ListTagsResponse = (output, context) => {
1862
1862
  return {
1863
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1863
+ NextToken: smithy_client_1.expectString(output.NextToken),
1864
1864
  TagList: output.TagList !== undefined && output.TagList !== null
1865
1865
  ? deserializeAws_json1_1TagList(output.TagList, context)
1866
1866
  : undefined,
@@ -1889,8 +1889,8 @@ const deserializeAws_json1_1RestoreBackupResponse = (output, context) => {
1889
1889
  };
1890
1890
  const deserializeAws_json1_1Tag = (output, context) => {
1891
1891
  return {
1892
- Key: (0, smithy_client_1.expectString)(output.Key),
1893
- Value: (0, smithy_client_1.expectString)(output.Value),
1892
+ Key: smithy_client_1.expectString(output.Key),
1893
+ Value: smithy_client_1.expectString(output.Value),
1894
1894
  };
1895
1895
  };
1896
1896
  const deserializeAws_json1_1TagList = (output, context) => {