@aws-sdk/client-cloudhsm-v2 3.490.0 → 3.496.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 (32) hide show
  1. package/dist-cjs/CloudHSMV2.js +1 -41
  2. package/dist-cjs/CloudHSMV2Client.js +1 -43
  3. package/dist-cjs/commands/CopyBackupToRegionCommand.js +1 -28
  4. package/dist-cjs/commands/CreateClusterCommand.js +1 -28
  5. package/dist-cjs/commands/CreateHsmCommand.js +1 -28
  6. package/dist-cjs/commands/DeleteBackupCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteClusterCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteHsmCommand.js +1 -28
  9. package/dist-cjs/commands/DescribeBackupsCommand.js +1 -28
  10. package/dist-cjs/commands/DescribeClustersCommand.js +1 -28
  11. package/dist-cjs/commands/InitializeClusterCommand.js +1 -28
  12. package/dist-cjs/commands/ListTagsCommand.js +1 -28
  13. package/dist-cjs/commands/ModifyBackupAttributesCommand.js +1 -28
  14. package/dist-cjs/commands/ModifyClusterCommand.js +1 -28
  15. package/dist-cjs/commands/RestoreBackupCommand.js +1 -28
  16. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  17. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  18. package/dist-cjs/commands/index.js +1 -18
  19. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  20. package/dist-cjs/extensionConfiguration.js +1 -2
  21. package/dist-cjs/index.js +1638 -11
  22. package/dist-cjs/models/CloudHSMV2ServiceException.js +1 -12
  23. package/dist-cjs/models/index.js +1 -4
  24. package/dist-cjs/models/models_0.js +1 -118
  25. package/dist-cjs/pagination/DescribeBackupsPaginator.js +1 -7
  26. package/dist-cjs/pagination/DescribeClustersPaginator.js +1 -7
  27. package/dist-cjs/pagination/Interfaces.js +1 -2
  28. package/dist-cjs/pagination/ListTagsPaginator.js +1 -7
  29. package/dist-cjs/pagination/index.js +1 -7
  30. package/dist-cjs/protocols/Aws_json1_1.js +1 -1039
  31. package/dist-cjs/runtimeExtensions.js +1 -22
  32. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CloudHSMV2ServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class CloudHSMV2ServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, CloudHSMV2ServiceException.prototype);
10
- }
11
- }
12
- exports.CloudHSMV2ServiceException = CloudHSMV2ServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,118 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ClusterState = exports.HsmState = exports.CloudHsmTagException = exports.CloudHsmServiceException = exports.CloudHsmResourceNotFoundException = exports.CloudHsmInvalidRequestException = exports.CloudHsmInternalFailureException = exports.CloudHsmAccessDeniedException = exports.BackupRetentionType = exports.BackupPolicy = exports.BackupState = void 0;
4
- const CloudHSMV2ServiceException_1 = require("./CloudHSMV2ServiceException");
5
- exports.BackupState = {
6
- CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
7
- DELETED: "DELETED",
8
- PENDING_DELETION: "PENDING_DELETION",
9
- READY: "READY",
10
- };
11
- exports.BackupPolicy = {
12
- DEFAULT: "DEFAULT",
13
- };
14
- exports.BackupRetentionType = {
15
- DAYS: "DAYS",
16
- };
17
- class CloudHsmAccessDeniedException extends CloudHSMV2ServiceException_1.CloudHSMV2ServiceException {
18
- constructor(opts) {
19
- super({
20
- name: "CloudHsmAccessDeniedException",
21
- $fault: "client",
22
- ...opts,
23
- });
24
- this.name = "CloudHsmAccessDeniedException";
25
- this.$fault = "client";
26
- Object.setPrototypeOf(this, CloudHsmAccessDeniedException.prototype);
27
- this.Message = opts.Message;
28
- }
29
- }
30
- exports.CloudHsmAccessDeniedException = CloudHsmAccessDeniedException;
31
- class CloudHsmInternalFailureException extends CloudHSMV2ServiceException_1.CloudHSMV2ServiceException {
32
- constructor(opts) {
33
- super({
34
- name: "CloudHsmInternalFailureException",
35
- $fault: "server",
36
- ...opts,
37
- });
38
- this.name = "CloudHsmInternalFailureException";
39
- this.$fault = "server";
40
- Object.setPrototypeOf(this, CloudHsmInternalFailureException.prototype);
41
- this.Message = opts.Message;
42
- }
43
- }
44
- exports.CloudHsmInternalFailureException = CloudHsmInternalFailureException;
45
- class CloudHsmInvalidRequestException extends CloudHSMV2ServiceException_1.CloudHSMV2ServiceException {
46
- constructor(opts) {
47
- super({
48
- name: "CloudHsmInvalidRequestException",
49
- $fault: "client",
50
- ...opts,
51
- });
52
- this.name = "CloudHsmInvalidRequestException";
53
- this.$fault = "client";
54
- Object.setPrototypeOf(this, CloudHsmInvalidRequestException.prototype);
55
- this.Message = opts.Message;
56
- }
57
- }
58
- exports.CloudHsmInvalidRequestException = CloudHsmInvalidRequestException;
59
- class CloudHsmResourceNotFoundException extends CloudHSMV2ServiceException_1.CloudHSMV2ServiceException {
60
- constructor(opts) {
61
- super({
62
- name: "CloudHsmResourceNotFoundException",
63
- $fault: "client",
64
- ...opts,
65
- });
66
- this.name = "CloudHsmResourceNotFoundException";
67
- this.$fault = "client";
68
- Object.setPrototypeOf(this, CloudHsmResourceNotFoundException.prototype);
69
- this.Message = opts.Message;
70
- }
71
- }
72
- exports.CloudHsmResourceNotFoundException = CloudHsmResourceNotFoundException;
73
- class CloudHsmServiceException extends CloudHSMV2ServiceException_1.CloudHSMV2ServiceException {
74
- constructor(opts) {
75
- super({
76
- name: "CloudHsmServiceException",
77
- $fault: "client",
78
- ...opts,
79
- });
80
- this.name = "CloudHsmServiceException";
81
- this.$fault = "client";
82
- Object.setPrototypeOf(this, CloudHsmServiceException.prototype);
83
- this.Message = opts.Message;
84
- }
85
- }
86
- exports.CloudHsmServiceException = CloudHsmServiceException;
87
- class CloudHsmTagException extends CloudHSMV2ServiceException_1.CloudHSMV2ServiceException {
88
- constructor(opts) {
89
- super({
90
- name: "CloudHsmTagException",
91
- $fault: "client",
92
- ...opts,
93
- });
94
- this.name = "CloudHsmTagException";
95
- this.$fault = "client";
96
- Object.setPrototypeOf(this, CloudHsmTagException.prototype);
97
- this.Message = opts.Message;
98
- }
99
- }
100
- exports.CloudHsmTagException = CloudHsmTagException;
101
- exports.HsmState = {
102
- ACTIVE: "ACTIVE",
103
- CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
104
- DEGRADED: "DEGRADED",
105
- DELETED: "DELETED",
106
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
107
- };
108
- exports.ClusterState = {
109
- ACTIVE: "ACTIVE",
110
- CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
111
- DEGRADED: "DEGRADED",
112
- DELETED: "DELETED",
113
- DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
114
- INITIALIZED: "INITIALIZED",
115
- INITIALIZE_IN_PROGRESS: "INITIALIZE_IN_PROGRESS",
116
- UNINITIALIZED: "UNINITIALIZED",
117
- UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
118
- };
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeBackups = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CloudHSMV2Client_1 = require("../CloudHSMV2Client");
6
- const DescribeBackupsCommand_1 = require("../commands/DescribeBackupsCommand");
7
- exports.paginateDescribeBackups = (0, core_1.createPaginator)(CloudHSMV2Client_1.CloudHSMV2Client, DescribeBackupsCommand_1.DescribeBackupsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeClusters = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CloudHSMV2Client_1 = require("../CloudHSMV2Client");
6
- const DescribeClustersCommand_1 = require("../commands/DescribeClustersCommand");
7
- exports.paginateDescribeClusters = (0, core_1.createPaginator)(CloudHSMV2Client_1.CloudHSMV2Client, DescribeClustersCommand_1.DescribeClustersCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListTags = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CloudHSMV2Client_1 = require("../CloudHSMV2Client");
6
- const ListTagsCommand_1 = require("../commands/ListTagsCommand");
7
- exports.paginateListTags = (0, core_1.createPaginator)(CloudHSMV2Client_1.CloudHSMV2Client, ListTagsCommand_1.ListTagsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./DescribeBackupsPaginator"), exports);
5
- tslib_1.__exportStar(require("./DescribeClustersPaginator"), exports);
6
- tslib_1.__exportStar(require("./Interfaces"), exports);
7
- tslib_1.__exportStar(require("./ListTagsPaginator"), exports);
1
+ module.exports = require("../index.js");