@aws-sdk/client-cloudhsm-v2 3.723.0 → 3.726.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
- package/dist-types/commands/CreateHsmCommand.d.ts +1 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +2 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +2 -0
- package/dist-types/commands/ModifyClusterCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +21 -6
- package/dist-types/ts3.4/models/models_0.d.ts +4 -1
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -890,6 +890,7 @@ var de_Cluster = /* @__PURE__ */ __name((output, context) => {
|
|
|
890
890
|
ClusterId: import_smithy_client.expectString,
|
|
891
891
|
CreateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
892
892
|
HsmType: import_smithy_client.expectString,
|
|
893
|
+
HsmTypeRollbackExpiration: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
893
894
|
Hsms: import_smithy_client._json,
|
|
894
895
|
Mode: import_smithy_client.expectString,
|
|
895
896
|
NetworkType: import_smithy_client.expectString,
|
|
@@ -479,6 +479,7 @@ const de_Cluster = (output, context) => {
|
|
|
479
479
|
ClusterId: __expectString,
|
|
480
480
|
CreateTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
481
481
|
HsmType: __expectString,
|
|
482
|
+
HsmTypeRollbackExpiration: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
482
483
|
Hsms: _json,
|
|
483
484
|
Mode: __expectString,
|
|
484
485
|
NetworkType: __expectString,
|
|
@@ -76,11 +76,13 @@ declare const CreateClusterCommand_base: {
|
|
|
76
76
|
* // EniIp: "STRING_VALUE",
|
|
77
77
|
* // EniIpV6: "STRING_VALUE",
|
|
78
78
|
* // HsmId: "STRING_VALUE", // required
|
|
79
|
+
* // HsmType: "STRING_VALUE",
|
|
79
80
|
* // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED",
|
|
80
81
|
* // StateMessage: "STRING_VALUE",
|
|
81
82
|
* // },
|
|
82
83
|
* // ],
|
|
83
84
|
* // HsmType: "STRING_VALUE",
|
|
85
|
+
* // HsmTypeRollbackExpiration: new Date("TIMESTAMP"),
|
|
84
86
|
* // PreCoPassword: "STRING_VALUE",
|
|
85
87
|
* // SecurityGroup: "STRING_VALUE",
|
|
86
88
|
* // SourceBackupId: "STRING_VALUE",
|
|
@@ -53,6 +53,7 @@ declare const CreateHsmCommand_base: {
|
|
|
53
53
|
* // EniIp: "STRING_VALUE",
|
|
54
54
|
* // EniIpV6: "STRING_VALUE",
|
|
55
55
|
* // HsmId: "STRING_VALUE", // required
|
|
56
|
+
* // HsmType: "STRING_VALUE",
|
|
56
57
|
* // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED",
|
|
57
58
|
* // StateMessage: "STRING_VALUE",
|
|
58
59
|
* // },
|
|
@@ -60,11 +60,13 @@ declare const DeleteClusterCommand_base: {
|
|
|
60
60
|
* // EniIp: "STRING_VALUE",
|
|
61
61
|
* // EniIpV6: "STRING_VALUE",
|
|
62
62
|
* // HsmId: "STRING_VALUE", // required
|
|
63
|
+
* // HsmType: "STRING_VALUE",
|
|
63
64
|
* // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED",
|
|
64
65
|
* // StateMessage: "STRING_VALUE",
|
|
65
66
|
* // },
|
|
66
67
|
* // ],
|
|
67
68
|
* // HsmType: "STRING_VALUE",
|
|
69
|
+
* // HsmTypeRollbackExpiration: new Date("TIMESTAMP"),
|
|
68
70
|
* // PreCoPassword: "STRING_VALUE",
|
|
69
71
|
* // SecurityGroup: "STRING_VALUE",
|
|
70
72
|
* // SourceBackupId: "STRING_VALUE",
|
|
@@ -71,11 +71,13 @@ declare const DescribeClustersCommand_base: {
|
|
|
71
71
|
* // EniIp: "STRING_VALUE",
|
|
72
72
|
* // EniIpV6: "STRING_VALUE",
|
|
73
73
|
* // HsmId: "STRING_VALUE", // required
|
|
74
|
+
* // HsmType: "STRING_VALUE",
|
|
74
75
|
* // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED",
|
|
75
76
|
* // StateMessage: "STRING_VALUE",
|
|
76
77
|
* // },
|
|
77
78
|
* // ],
|
|
78
79
|
* // HsmType: "STRING_VALUE",
|
|
80
|
+
* // HsmTypeRollbackExpiration: new Date("TIMESTAMP"),
|
|
79
81
|
* // PreCoPassword: "STRING_VALUE",
|
|
80
82
|
* // SecurityGroup: "STRING_VALUE",
|
|
81
83
|
* // SourceBackupId: "STRING_VALUE",
|
|
@@ -37,6 +37,7 @@ declare const ModifyClusterCommand_base: {
|
|
|
37
37
|
* // const { CloudHSMV2Client, ModifyClusterCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import
|
|
38
38
|
* const client = new CloudHSMV2Client(config);
|
|
39
39
|
* const input = { // ModifyClusterRequest
|
|
40
|
+
* HsmType: "STRING_VALUE",
|
|
40
41
|
* BackupRetentionPolicy: { // BackupRetentionPolicy
|
|
41
42
|
* Type: "DAYS",
|
|
42
43
|
* Value: "STRING_VALUE",
|
|
@@ -63,11 +64,13 @@ declare const ModifyClusterCommand_base: {
|
|
|
63
64
|
* // EniIp: "STRING_VALUE",
|
|
64
65
|
* // EniIpV6: "STRING_VALUE",
|
|
65
66
|
* // HsmId: "STRING_VALUE", // required
|
|
67
|
+
* // HsmType: "STRING_VALUE",
|
|
66
68
|
* // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED",
|
|
67
69
|
* // StateMessage: "STRING_VALUE",
|
|
68
70
|
* // },
|
|
69
71
|
* // ],
|
|
70
72
|
* // HsmType: "STRING_VALUE",
|
|
73
|
+
* // HsmTypeRollbackExpiration: new Date("TIMESTAMP"),
|
|
71
74
|
* // PreCoPassword: "STRING_VALUE",
|
|
72
75
|
* // SecurityGroup: "STRING_VALUE",
|
|
73
76
|
* // SourceBackupId: "STRING_VALUE",
|
|
@@ -465,6 +465,11 @@ export interface Hsm {
|
|
|
465
465
|
* @public
|
|
466
466
|
*/
|
|
467
467
|
HsmId: string | undefined;
|
|
468
|
+
/**
|
|
469
|
+
* <p>The type of HSM.</p>
|
|
470
|
+
* @public
|
|
471
|
+
*/
|
|
472
|
+
HsmType?: string | undefined;
|
|
468
473
|
/**
|
|
469
474
|
* <p>The HSM's state.</p>
|
|
470
475
|
* @public
|
|
@@ -532,6 +537,11 @@ export interface Cluster {
|
|
|
532
537
|
* @public
|
|
533
538
|
*/
|
|
534
539
|
HsmType?: string | undefined;
|
|
540
|
+
/**
|
|
541
|
+
* <p>The timestamp until when the cluster can be rolled back to its original HSM type.</p>
|
|
542
|
+
* @public
|
|
543
|
+
*/
|
|
544
|
+
HsmTypeRollbackExpiration?: Date | undefined;
|
|
535
545
|
/**
|
|
536
546
|
* <p>The default password for the cluster's Pre-Crypto Officer (PRECO) user.</p>
|
|
537
547
|
* @public
|
|
@@ -570,11 +580,11 @@ export interface Cluster {
|
|
|
570
580
|
*/
|
|
571
581
|
VpcId?: string | undefined;
|
|
572
582
|
/**
|
|
573
|
-
* <p>The cluster's NetworkType can be
|
|
574
|
-
*
|
|
575
|
-
*
|
|
576
|
-
*
|
|
577
|
-
* The
|
|
583
|
+
* <p>The cluster's NetworkType can be IPv4 (the default) or DUALSTACK.
|
|
584
|
+
* The IPv4 NetworkType restricts communication between your application and the hardware security modules (HSMs) to the IPv4 protocol only. The DUALSTACK NetworkType enables communication over both IPv4 and IPv6 protocols.
|
|
585
|
+
* To use DUALSTACK, configure your virtual private cloud (VPC) and subnets to support both IPv4 and IPv6.
|
|
586
|
+
* This configuration involves adding IPv6 Classless Inter-Domain Routing (CIDR) blocks to the existing IPv4 CIDR blocks in your subnets.
|
|
587
|
+
* The NetworkType you choose affects the network addressing options for your cluster. DUALSTACK provides more flexibility by supporting both IPv4 and IPv6 communication.</p>
|
|
578
588
|
* @public
|
|
579
589
|
*/
|
|
580
590
|
NetworkType?: NetworkType | undefined;
|
|
@@ -989,11 +999,16 @@ export interface ModifyBackupAttributesResponse {
|
|
|
989
999
|
* @public
|
|
990
1000
|
*/
|
|
991
1001
|
export interface ModifyClusterRequest {
|
|
1002
|
+
/**
|
|
1003
|
+
* <p>The desired HSM type of the cluster.</p>
|
|
1004
|
+
* @public
|
|
1005
|
+
*/
|
|
1006
|
+
HsmType?: string | undefined;
|
|
992
1007
|
/**
|
|
993
1008
|
* <p>A policy that defines how the service retains backups.</p>
|
|
994
1009
|
* @public
|
|
995
1010
|
*/
|
|
996
|
-
BackupRetentionPolicy
|
|
1011
|
+
BackupRetentionPolicy?: BackupRetentionPolicy | undefined;
|
|
997
1012
|
/**
|
|
998
1013
|
* <p>The identifier (ID) of the cluster that you want to modify. To find the cluster ID, use
|
|
999
1014
|
* <a>DescribeClusters</a>.</p>
|
|
@@ -153,6 +153,7 @@ export interface Hsm {
|
|
|
153
153
|
EniIp?: string | undefined;
|
|
154
154
|
EniIpV6?: string | undefined;
|
|
155
155
|
HsmId: string | undefined;
|
|
156
|
+
HsmType?: string | undefined;
|
|
156
157
|
State?: HsmState | undefined;
|
|
157
158
|
StateMessage?: string | undefined;
|
|
158
159
|
}
|
|
@@ -177,6 +178,7 @@ export interface Cluster {
|
|
|
177
178
|
CreateTimestamp?: Date | undefined;
|
|
178
179
|
Hsms?: Hsm[] | undefined;
|
|
179
180
|
HsmType?: string | undefined;
|
|
181
|
+
HsmTypeRollbackExpiration?: Date | undefined;
|
|
180
182
|
PreCoPassword?: string | undefined;
|
|
181
183
|
SecurityGroup?: string | undefined;
|
|
182
184
|
SourceBackupId?: string | undefined;
|
|
@@ -280,7 +282,8 @@ export interface ModifyBackupAttributesResponse {
|
|
|
280
282
|
Backup?: Backup | undefined;
|
|
281
283
|
}
|
|
282
284
|
export interface ModifyClusterRequest {
|
|
283
|
-
|
|
285
|
+
HsmType?: string | undefined;
|
|
286
|
+
BackupRetentionPolicy?: BackupRetentionPolicy | undefined;
|
|
284
287
|
ClusterId: string | undefined;
|
|
285
288
|
}
|
|
286
289
|
export interface ModifyClusterResponse {
|
package/package.json
CHANGED
|
@@ -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.
|
|
4
|
+
"version": "3.726.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudhsm-v2",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.726.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.726.0",
|
|
25
25
|
"@aws-sdk/core": "3.723.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.726.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.726.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
32
|
"@aws-sdk/types": "3.723.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.726.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.726.0",
|
|
36
36
|
"@smithy/config-resolver": "^4.0.0",
|
|
37
37
|
"@smithy/core": "^3.0.0",
|
|
38
38
|
"@smithy/fetch-http-handler": "^5.0.0",
|