@aws-sdk/client-cloudhsm-v2 3.750.0 → 3.772.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 +20 -20
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
BackupPolicy: () => BackupPolicy,
|
|
25
25
|
BackupRetentionType: () => BackupRetentionType,
|
|
26
26
|
BackupState: () => BackupState,
|
|
@@ -61,7 +61,7 @@ __export(src_exports, {
|
|
|
61
61
|
paginateDescribeClusters: () => paginateDescribeClusters,
|
|
62
62
|
paginateListTags: () => paginateListTags
|
|
63
63
|
});
|
|
64
|
-
module.exports = __toCommonJS(
|
|
64
|
+
module.exports = __toCommonJS(index_exports);
|
|
65
65
|
|
|
66
66
|
// src/CloudHSMV2Client.ts
|
|
67
67
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -188,9 +188,9 @@ var CloudHSMV2Client = class extends import_smithy_client.Client {
|
|
|
188
188
|
this.middlewareStack.use(
|
|
189
189
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
190
190
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCloudHSMV2HttpAuthSchemeParametersProvider,
|
|
191
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
191
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
192
192
|
"aws.auth#sigv4": config.credentials
|
|
193
|
-
})
|
|
193
|
+
}), "identityProviderConfigProvider")
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
196
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -864,9 +864,9 @@ var de_Backup = /* @__PURE__ */ __name((output, context) => {
|
|
|
864
864
|
BackupId: import_smithy_client.expectString,
|
|
865
865
|
BackupState: import_smithy_client.expectString,
|
|
866
866
|
ClusterId: import_smithy_client.expectString,
|
|
867
|
-
CopyTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
868
|
-
CreateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
869
|
-
DeleteTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
867
|
+
CopyTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CopyTimestamp"),
|
|
868
|
+
CreateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTimestamp"),
|
|
869
|
+
DeleteTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeleteTimestamp"),
|
|
870
870
|
HsmType: import_smithy_client.expectString,
|
|
871
871
|
Mode: import_smithy_client.expectString,
|
|
872
872
|
NeverExpires: import_smithy_client.expectBoolean,
|
|
@@ -888,9 +888,9 @@ var de_Cluster = /* @__PURE__ */ __name((output, context) => {
|
|
|
888
888
|
BackupRetentionPolicy: import_smithy_client._json,
|
|
889
889
|
Certificates: import_smithy_client._json,
|
|
890
890
|
ClusterId: import_smithy_client.expectString,
|
|
891
|
-
CreateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
891
|
+
CreateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTimestamp"),
|
|
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
|
+
HsmTypeRollbackExpiration: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "HsmTypeRollbackExpiration"),
|
|
894
894
|
Hsms: import_smithy_client._json,
|
|
895
895
|
Mode: import_smithy_client.expectString,
|
|
896
896
|
NetworkType: import_smithy_client.expectString,
|
|
@@ -912,39 +912,39 @@ var de_Clusters = /* @__PURE__ */ __name((output, context) => {
|
|
|
912
912
|
}, "de_Clusters");
|
|
913
913
|
var de_CopyBackupToRegionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
914
914
|
return (0, import_smithy_client.take)(output, {
|
|
915
|
-
DestinationBackup: (_) => de_DestinationBackup(_, context)
|
|
915
|
+
DestinationBackup: /* @__PURE__ */ __name((_) => de_DestinationBackup(_, context), "DestinationBackup")
|
|
916
916
|
});
|
|
917
917
|
}, "de_CopyBackupToRegionResponse");
|
|
918
918
|
var de_CreateClusterResponse = /* @__PURE__ */ __name((output, context) => {
|
|
919
919
|
return (0, import_smithy_client.take)(output, {
|
|
920
|
-
Cluster: (_) => de_Cluster(_, context)
|
|
920
|
+
Cluster: /* @__PURE__ */ __name((_) => de_Cluster(_, context), "Cluster")
|
|
921
921
|
});
|
|
922
922
|
}, "de_CreateClusterResponse");
|
|
923
923
|
var de_DeleteBackupResponse = /* @__PURE__ */ __name((output, context) => {
|
|
924
924
|
return (0, import_smithy_client.take)(output, {
|
|
925
|
-
Backup: (_) => de_Backup(_, context)
|
|
925
|
+
Backup: /* @__PURE__ */ __name((_) => de_Backup(_, context), "Backup")
|
|
926
926
|
});
|
|
927
927
|
}, "de_DeleteBackupResponse");
|
|
928
928
|
var de_DeleteClusterResponse = /* @__PURE__ */ __name((output, context) => {
|
|
929
929
|
return (0, import_smithy_client.take)(output, {
|
|
930
|
-
Cluster: (_) => de_Cluster(_, context)
|
|
930
|
+
Cluster: /* @__PURE__ */ __name((_) => de_Cluster(_, context), "Cluster")
|
|
931
931
|
});
|
|
932
932
|
}, "de_DeleteClusterResponse");
|
|
933
933
|
var de_DescribeBackupsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
934
934
|
return (0, import_smithy_client.take)(output, {
|
|
935
|
-
Backups: (_) => de_Backups(_, context),
|
|
935
|
+
Backups: /* @__PURE__ */ __name((_) => de_Backups(_, context), "Backups"),
|
|
936
936
|
NextToken: import_smithy_client.expectString
|
|
937
937
|
});
|
|
938
938
|
}, "de_DescribeBackupsResponse");
|
|
939
939
|
var de_DescribeClustersResponse = /* @__PURE__ */ __name((output, context) => {
|
|
940
940
|
return (0, import_smithy_client.take)(output, {
|
|
941
|
-
Clusters: (_) => de_Clusters(_, context),
|
|
941
|
+
Clusters: /* @__PURE__ */ __name((_) => de_Clusters(_, context), "Clusters"),
|
|
942
942
|
NextToken: import_smithy_client.expectString
|
|
943
943
|
});
|
|
944
944
|
}, "de_DescribeClustersResponse");
|
|
945
945
|
var de_DestinationBackup = /* @__PURE__ */ __name((output, context) => {
|
|
946
946
|
return (0, import_smithy_client.take)(output, {
|
|
947
|
-
CreateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
947
|
+
CreateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTimestamp"),
|
|
948
948
|
SourceBackup: import_smithy_client.expectString,
|
|
949
949
|
SourceCluster: import_smithy_client.expectString,
|
|
950
950
|
SourceRegion: import_smithy_client.expectString
|
|
@@ -952,17 +952,17 @@ var de_DestinationBackup = /* @__PURE__ */ __name((output, context) => {
|
|
|
952
952
|
}, "de_DestinationBackup");
|
|
953
953
|
var de_ModifyBackupAttributesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
954
954
|
return (0, import_smithy_client.take)(output, {
|
|
955
|
-
Backup: (_) => de_Backup(_, context)
|
|
955
|
+
Backup: /* @__PURE__ */ __name((_) => de_Backup(_, context), "Backup")
|
|
956
956
|
});
|
|
957
957
|
}, "de_ModifyBackupAttributesResponse");
|
|
958
958
|
var de_ModifyClusterResponse = /* @__PURE__ */ __name((output, context) => {
|
|
959
959
|
return (0, import_smithy_client.take)(output, {
|
|
960
|
-
Cluster: (_) => de_Cluster(_, context)
|
|
960
|
+
Cluster: /* @__PURE__ */ __name((_) => de_Cluster(_, context), "Cluster")
|
|
961
961
|
});
|
|
962
962
|
}, "de_ModifyClusterResponse");
|
|
963
963
|
var de_RestoreBackupResponse = /* @__PURE__ */ __name((output, context) => {
|
|
964
964
|
return (0, import_smithy_client.take)(output, {
|
|
965
|
-
Backup: (_) => de_Backup(_, context)
|
|
965
|
+
Backup: /* @__PURE__ */ __name((_) => de_Backup(_, context), "Backup")
|
|
966
966
|
});
|
|
967
967
|
}, "de_RestoreBackupResponse");
|
|
968
968
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
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.772.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,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|