@aws-sdk/client-cloudhsm-v2 3.408.0 → 3.410.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +5 -5
- package/dist-types/commands/CreateHsmCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +4 -4
- package/dist-types/commands/DescribeBackupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClustersCommand.d.ts +4 -4
- package/dist-types/commands/InitializeClusterCommand.d.ts +1 -1
- package/dist-types/commands/ModifyBackupAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterCommand.d.ts +5 -5
- package/dist-types/commands/RestoreBackupCommand.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/runtimeConfig.d.ts +4 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +28 -28
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const t = "required", u = "fn", v = "argv", w = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [t]: false, "type": "String" }, h = { [t]: true, "default": false, "type": "Boolean" }, i = { [w]: "Endpoint" }, j = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, k = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, l = {}, m = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: e }, "supportsFIPS"] }] }, n = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: e }, "supportsDualStack"] }] }, o = { [u]: "getAttr", [v]: [{ [w]: e }, "name"] }, p = { "url": "https://cloudhsmv2.{Region}.amazonaws.com", "properties": {}, "headers": {} }, q = [j], r = [k], s = [{ [w]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [u]: a, [v]: [i] }], type: b, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [u]: a, [v]: s }], type: b, rules: [{ conditions: [{ [u]: "aws.partition", [v]: s, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://cloudhsmv2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://cloudhsmv2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [n], type: b, rules: [{ endpoint: { url: "https://cloudhsmv2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { conditions: [{ [u]: f, [v]: ["aws", o] }], endpoint: p, type: d }, { conditions: [{ [u]: f, [v]: ["aws-us-gov", o] }], endpoint: p, type: d }, { endpoint: { url: "https://cloudhsmv2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const asPartial = (t) => t;
|
|
6
7
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
8
|
const extensionConfiguration = {
|
|
8
9
|
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
10
|
+
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
9
11
|
};
|
|
10
12
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
13
|
return {
|
|
12
14
|
...runtimeConfig,
|
|
13
15
|
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
16
|
+
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
14
17
|
};
|
|
15
18
|
};
|
|
16
19
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const t = "required", u = "fn", v = "argv", w = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [t]: false, "type": "String" }, h = { [t]: true, "default": false, "type": "Boolean" }, i = { [w]: "Endpoint" }, j = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, k = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, l = {}, m = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: e }, "supportsFIPS"] }] }, n = { [u]: "booleanEquals", [v]: [true, { [u]: "getAttr", [v]: [{ [w]: e }, "supportsDualStack"] }] }, o = { [u]: "getAttr", [v]: [{ [w]: e }, "name"] }, p = { "url": "https://cloudhsmv2.{Region}.amazonaws.com", "properties": {}, "headers": {} }, q = [j], r = [k], s = [{ [w]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [u]: a, [v]: [i] }], type: b, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [u]: a, [v]: s }], type: b, rules: [{ conditions: [{ [u]: "aws.partition", [v]: s, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ endpoint: { url: "https://cloudhsmv2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://cloudhsmv2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [n], type: b, rules: [{ endpoint: { url: "https://cloudhsmv2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { conditions: [{ [u]: f, [v]: ["aws", o] }], endpoint: p, type: d }, { conditions: [{ [u]: f, [v]: ["aws-us-gov", o] }], endpoint: p, type: d }, { endpoint: { url: "https://cloudhsmv2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
1
2
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
3
|
const asPartial = (t) => t;
|
|
3
4
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
5
|
const extensionConfiguration = {
|
|
5
6
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
|
+
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
};
|
|
7
9
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
10
|
return {
|
|
9
11
|
...runtimeConfig,
|
|
10
12
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
|
+
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
11
14
|
};
|
|
12
15
|
};
|
|
@@ -32,7 +32,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
32
32
|
* const client = new CloudHSMV2Client(config);
|
|
33
33
|
* const input = { // CreateClusterRequest
|
|
34
34
|
* BackupRetentionPolicy: { // BackupRetentionPolicy
|
|
35
|
-
* Type: "
|
|
35
|
+
* Type: "DAYS",
|
|
36
36
|
* Value: "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
38
|
* HsmType: "STRING_VALUE", // required
|
|
@@ -51,9 +51,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
51
51
|
* const response = await client.send(command);
|
|
52
52
|
* // { // CreateClusterResponse
|
|
53
53
|
* // Cluster: { // Cluster
|
|
54
|
-
* // BackupPolicy: "
|
|
54
|
+
* // BackupPolicy: "DEFAULT",
|
|
55
55
|
* // BackupRetentionPolicy: { // BackupRetentionPolicy
|
|
56
|
-
* // Type: "
|
|
56
|
+
* // Type: "DAYS",
|
|
57
57
|
* // Value: "STRING_VALUE",
|
|
58
58
|
* // },
|
|
59
59
|
* // ClusterId: "STRING_VALUE",
|
|
@@ -66,7 +66,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
66
66
|
* // EniId: "STRING_VALUE",
|
|
67
67
|
* // EniIp: "STRING_VALUE",
|
|
68
68
|
* // HsmId: "STRING_VALUE", // required
|
|
69
|
-
* // State: "
|
|
69
|
+
* // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED",
|
|
70
70
|
* // StateMessage: "STRING_VALUE",
|
|
71
71
|
* // },
|
|
72
72
|
* // ],
|
|
@@ -74,7 +74,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
74
74
|
* // PreCoPassword: "STRING_VALUE",
|
|
75
75
|
* // SecurityGroup: "STRING_VALUE",
|
|
76
76
|
* // SourceBackupId: "STRING_VALUE",
|
|
77
|
-
* // State: "
|
|
77
|
+
* // State: "CREATE_IN_PROGRESS" || "UNINITIALIZED" || "INITIALIZE_IN_PROGRESS" || "INITIALIZED" || "ACTIVE" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DEGRADED",
|
|
78
78
|
* // StateMessage: "STRING_VALUE",
|
|
79
79
|
* // SubnetMapping: { // ExternalSubnetMapping
|
|
80
80
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -46,7 +46,7 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea
|
|
|
46
46
|
* // EniId: "STRING_VALUE",
|
|
47
47
|
* // EniIp: "STRING_VALUE",
|
|
48
48
|
* // HsmId: "STRING_VALUE", // required
|
|
49
|
-
* // State: "
|
|
49
|
+
* // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED",
|
|
50
50
|
* // StateMessage: "STRING_VALUE",
|
|
51
51
|
* // },
|
|
52
52
|
* // };
|
|
@@ -40,7 +40,7 @@ export interface DeleteBackupCommandOutput extends DeleteBackupResponse, __Metad
|
|
|
40
40
|
* // { // DeleteBackupResponse
|
|
41
41
|
* // Backup: { // Backup
|
|
42
42
|
* // BackupId: "STRING_VALUE", // required
|
|
43
|
-
* // BackupState: "
|
|
43
|
+
* // BackupState: "CREATE_IN_PROGRESS" || "READY" || "DELETED" || "PENDING_DELETION",
|
|
44
44
|
* // ClusterId: "STRING_VALUE",
|
|
45
45
|
* // CreateTimestamp: new Date("TIMESTAMP"),
|
|
46
46
|
* // CopyTimestamp: new Date("TIMESTAMP"),
|
|
@@ -38,9 +38,9 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
|
|
|
38
38
|
* const response = await client.send(command);
|
|
39
39
|
* // { // DeleteClusterResponse
|
|
40
40
|
* // Cluster: { // Cluster
|
|
41
|
-
* // BackupPolicy: "
|
|
41
|
+
* // BackupPolicy: "DEFAULT",
|
|
42
42
|
* // BackupRetentionPolicy: { // BackupRetentionPolicy
|
|
43
|
-
* // Type: "
|
|
43
|
+
* // Type: "DAYS",
|
|
44
44
|
* // Value: "STRING_VALUE",
|
|
45
45
|
* // },
|
|
46
46
|
* // ClusterId: "STRING_VALUE",
|
|
@@ -53,7 +53,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
|
|
|
53
53
|
* // EniId: "STRING_VALUE",
|
|
54
54
|
* // EniIp: "STRING_VALUE",
|
|
55
55
|
* // HsmId: "STRING_VALUE", // required
|
|
56
|
-
* // State: "
|
|
56
|
+
* // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED",
|
|
57
57
|
* // StateMessage: "STRING_VALUE",
|
|
58
58
|
* // },
|
|
59
59
|
* // ],
|
|
@@ -61,7 +61,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
|
|
|
61
61
|
* // PreCoPassword: "STRING_VALUE",
|
|
62
62
|
* // SecurityGroup: "STRING_VALUE",
|
|
63
63
|
* // SourceBackupId: "STRING_VALUE",
|
|
64
|
-
* // State: "
|
|
64
|
+
* // State: "CREATE_IN_PROGRESS" || "UNINITIALIZED" || "INITIALIZE_IN_PROGRESS" || "INITIALIZED" || "ACTIVE" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DEGRADED",
|
|
65
65
|
* // StateMessage: "STRING_VALUE",
|
|
66
66
|
* // SubnetMapping: { // ExternalSubnetMapping
|
|
67
67
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -51,7 +51,7 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _
|
|
|
51
51
|
* // Backups: [ // Backups
|
|
52
52
|
* // { // Backup
|
|
53
53
|
* // BackupId: "STRING_VALUE", // required
|
|
54
|
-
* // BackupState: "
|
|
54
|
+
* // BackupState: "CREATE_IN_PROGRESS" || "READY" || "DELETED" || "PENDING_DELETION",
|
|
55
55
|
* // ClusterId: "STRING_VALUE",
|
|
56
56
|
* // CreateTimestamp: new Date("TIMESTAMP"),
|
|
57
57
|
* // CopyTimestamp: new Date("TIMESTAMP"),
|
|
@@ -49,9 +49,9 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
|
|
|
49
49
|
* // { // DescribeClustersResponse
|
|
50
50
|
* // Clusters: [ // Clusters
|
|
51
51
|
* // { // Cluster
|
|
52
|
-
* // BackupPolicy: "
|
|
52
|
+
* // BackupPolicy: "DEFAULT",
|
|
53
53
|
* // BackupRetentionPolicy: { // BackupRetentionPolicy
|
|
54
|
-
* // Type: "
|
|
54
|
+
* // Type: "DAYS",
|
|
55
55
|
* // Value: "STRING_VALUE",
|
|
56
56
|
* // },
|
|
57
57
|
* // ClusterId: "STRING_VALUE",
|
|
@@ -64,7 +64,7 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
|
|
|
64
64
|
* // EniId: "STRING_VALUE",
|
|
65
65
|
* // EniIp: "STRING_VALUE",
|
|
66
66
|
* // HsmId: "STRING_VALUE", // required
|
|
67
|
-
* // State: "
|
|
67
|
+
* // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED",
|
|
68
68
|
* // StateMessage: "STRING_VALUE",
|
|
69
69
|
* // },
|
|
70
70
|
* // ],
|
|
@@ -72,7 +72,7 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
|
|
|
72
72
|
* // PreCoPassword: "STRING_VALUE",
|
|
73
73
|
* // SecurityGroup: "STRING_VALUE",
|
|
74
74
|
* // SourceBackupId: "STRING_VALUE",
|
|
75
|
-
* // State: "
|
|
75
|
+
* // State: "CREATE_IN_PROGRESS" || "UNINITIALIZED" || "INITIALIZE_IN_PROGRESS" || "INITIALIZED" || "ACTIVE" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DEGRADED",
|
|
76
76
|
* // StateMessage: "STRING_VALUE",
|
|
77
77
|
* // SubnetMapping: { // ExternalSubnetMapping
|
|
78
78
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -41,7 +41,7 @@ export interface InitializeClusterCommandOutput extends InitializeClusterRespons
|
|
|
41
41
|
* const command = new InitializeClusterCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
43
|
* // { // InitializeClusterResponse
|
|
44
|
-
* // State: "
|
|
44
|
+
* // State: "CREATE_IN_PROGRESS" || "UNINITIALIZED" || "INITIALIZE_IN_PROGRESS" || "INITIALIZED" || "ACTIVE" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DEGRADED",
|
|
45
45
|
* // StateMessage: "STRING_VALUE",
|
|
46
46
|
* // };
|
|
47
47
|
*
|
|
@@ -39,7 +39,7 @@ export interface ModifyBackupAttributesCommandOutput extends ModifyBackupAttribu
|
|
|
39
39
|
* // { // ModifyBackupAttributesResponse
|
|
40
40
|
* // Backup: { // Backup
|
|
41
41
|
* // BackupId: "STRING_VALUE", // required
|
|
42
|
-
* // BackupState: "
|
|
42
|
+
* // BackupState: "CREATE_IN_PROGRESS" || "READY" || "DELETED" || "PENDING_DELETION",
|
|
43
43
|
* // ClusterId: "STRING_VALUE",
|
|
44
44
|
* // CreateTimestamp: new Date("TIMESTAMP"),
|
|
45
45
|
* // CopyTimestamp: new Date("TIMESTAMP"),
|
|
@@ -32,7 +32,7 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResponse, __Met
|
|
|
32
32
|
* const client = new CloudHSMV2Client(config);
|
|
33
33
|
* const input = { // ModifyClusterRequest
|
|
34
34
|
* BackupRetentionPolicy: { // BackupRetentionPolicy
|
|
35
|
-
* Type: "
|
|
35
|
+
* Type: "DAYS",
|
|
36
36
|
* Value: "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
38
|
* ClusterId: "STRING_VALUE", // required
|
|
@@ -41,9 +41,9 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResponse, __Met
|
|
|
41
41
|
* const response = await client.send(command);
|
|
42
42
|
* // { // ModifyClusterResponse
|
|
43
43
|
* // Cluster: { // Cluster
|
|
44
|
-
* // BackupPolicy: "
|
|
44
|
+
* // BackupPolicy: "DEFAULT",
|
|
45
45
|
* // BackupRetentionPolicy: { // BackupRetentionPolicy
|
|
46
|
-
* // Type: "
|
|
46
|
+
* // Type: "DAYS",
|
|
47
47
|
* // Value: "STRING_VALUE",
|
|
48
48
|
* // },
|
|
49
49
|
* // ClusterId: "STRING_VALUE",
|
|
@@ -56,7 +56,7 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResponse, __Met
|
|
|
56
56
|
* // EniId: "STRING_VALUE",
|
|
57
57
|
* // EniIp: "STRING_VALUE",
|
|
58
58
|
* // HsmId: "STRING_VALUE", // required
|
|
59
|
-
* // State: "
|
|
59
|
+
* // State: "CREATE_IN_PROGRESS" || "ACTIVE" || "DEGRADED" || "DELETE_IN_PROGRESS" || "DELETED",
|
|
60
60
|
* // StateMessage: "STRING_VALUE",
|
|
61
61
|
* // },
|
|
62
62
|
* // ],
|
|
@@ -64,7 +64,7 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResponse, __Met
|
|
|
64
64
|
* // PreCoPassword: "STRING_VALUE",
|
|
65
65
|
* // SecurityGroup: "STRING_VALUE",
|
|
66
66
|
* // SourceBackupId: "STRING_VALUE",
|
|
67
|
-
* // State: "
|
|
67
|
+
* // State: "CREATE_IN_PROGRESS" || "UNINITIALIZED" || "INITIALIZE_IN_PROGRESS" || "INITIALIZED" || "ACTIVE" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "DELETED" || "DEGRADED",
|
|
68
68
|
* // StateMessage: "STRING_VALUE",
|
|
69
69
|
* // SubnetMapping: { // ExternalSubnetMapping
|
|
70
70
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -40,7 +40,7 @@ export interface RestoreBackupCommandOutput extends RestoreBackupResponse, __Met
|
|
|
40
40
|
* // { // RestoreBackupResponse
|
|
41
41
|
* // Backup: { // Backup
|
|
42
42
|
* // BackupId: "STRING_VALUE", // required
|
|
43
|
-
* // BackupState: "
|
|
43
|
+
* // BackupState: "CREATE_IN_PROGRESS" || "READY" || "DELETED" || "PENDING_DELETION",
|
|
44
44
|
* // ClusterId: "STRING_VALUE",
|
|
45
45
|
* // CreateTimestamp: new Date("TIMESTAMP"),
|
|
46
46
|
* // CopyTimestamp: new Date("TIMESTAMP"),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
4
5
|
*/
|
|
5
|
-
export interface CloudHSMV2ExtensionConfiguration extends DefaultExtensionConfiguration {
|
|
6
|
+
export interface CloudHSMV2ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
6
7
|
}
|
|
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
14
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
15
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
+
httpHandlerConfigs(): {};
|
|
17
|
+
}) | RequestHandler;
|
|
15
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
14
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
15
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
+
httpHandlerConfigs(): {};
|
|
17
|
+
}) | RequestHandler;
|
|
15
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,7 +5,10 @@ import { CloudHSMV2ClientConfig } from "./CloudHSMV2Client";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
8
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
9
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
10
|
+
httpHandlerConfigs(): {};
|
|
11
|
+
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
12
|
apiVersion: string;
|
|
10
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -3,7 +3,7 @@ import { CloudHSMV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeExtension {
|
|
6
|
-
configure(
|
|
6
|
+
configure(extensionConfiguration: CloudHSMV2ExtensionConfiguration): void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
export interface CloudHSMV2ExtensionConfiguration
|
|
3
|
-
extends
|
|
4
|
+
extends HttpHandlerExtensionConfiguration,
|
|
5
|
+
DefaultExtensionConfiguration {}
|
|
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@smithy/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@smithy/
|
|
23
|
+
import("@smithy/types").RequestHandler<
|
|
24
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
+
import("@smithy/types").HttpHandlerOptions
|
|
27
|
+
> & {
|
|
28
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
+
httpHandlerConfigs(): {};
|
|
30
|
+
})
|
|
24
31
|
| RequestHandler;
|
|
25
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
33
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@smithy/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@smithy/
|
|
23
|
+
import("@smithy/types").RequestHandler<
|
|
24
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
+
import("@smithy/types").HttpHandlerOptions
|
|
27
|
+
> & {
|
|
28
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
+
httpHandlerConfigs(): {};
|
|
30
|
+
})
|
|
24
31
|
| RequestHandler;
|
|
25
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
33
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -8,7 +8,14 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@smithy/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@smithy/
|
|
11
|
+
import("@smithy/types").RequestHandler<
|
|
12
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
13
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
14
|
+
import("@smithy/types").HttpHandlerOptions
|
|
15
|
+
> & {
|
|
16
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
+
httpHandlerConfigs(): {};
|
|
18
|
+
})
|
|
12
19
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
20
|
apiVersion: string;
|
|
14
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CloudHSMV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
3
|
+
configure(extensionConfiguration: CloudHSMV2ExtensionConfiguration): void;
|
|
4
4
|
}
|
|
5
5
|
export interface RuntimeExtensionsConfig {
|
|
6
6
|
extensions: RuntimeExtension[];
|
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.410.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,37 +21,37 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
-
"@smithy/fetch-http-handler": "^2.
|
|
37
|
-
"@smithy/hash-node": "^2.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
41
|
-
"@smithy/middleware-retry": "^2.0.
|
|
42
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.410.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.410.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.410.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.410.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.410.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.410.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.410.0",
|
|
31
|
+
"@aws-sdk/types": "3.410.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.410.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.410.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.410.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.7",
|
|
36
|
+
"@smithy/fetch-http-handler": "^2.1.2",
|
|
37
|
+
"@smithy/hash-node": "^2.0.6",
|
|
38
|
+
"@smithy/invalid-dependency": "^2.0.6",
|
|
39
|
+
"@smithy/middleware-content-length": "^2.0.8",
|
|
40
|
+
"@smithy/middleware-endpoint": "^2.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-serde": "^2.0.6",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.
|
|
46
|
-
"@smithy/protocol-http": "^
|
|
47
|
-
"@smithy/smithy-client": "^2.
|
|
48
|
-
"@smithy/types": "^2.
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.9",
|
|
45
|
+
"@smithy/node-http-handler": "^2.1.2",
|
|
46
|
+
"@smithy/protocol-http": "^3.0.2",
|
|
47
|
+
"@smithy/smithy-client": "^2.1.3",
|
|
48
|
+
"@smithy/types": "^2.3.0",
|
|
49
|
+
"@smithy/url-parser": "^2.0.6",
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.9",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
57
|
"tslib": "^2.5.0"
|