@aws-sdk/client-cloudhsm-v2 3.721.0 → 3.723.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 +138 -99
- package/dist-es/CloudHSMV2Client.js +1 -0
- package/dist-es/models/models_0.js +21 -14
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -159,7 +159,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
159
159
|
}, "resolveRuntimeExtensions");
|
|
160
160
|
|
|
161
161
|
// src/CloudHSMV2Client.ts
|
|
162
|
-
var
|
|
162
|
+
var CloudHSMV2Client = class extends import_smithy_client.Client {
|
|
163
|
+
static {
|
|
164
|
+
__name(this, "CloudHSMV2Client");
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The resolved configuration of CloudHSMV2Client class. This is resolved and normalized from the {@link CloudHSMV2ClientConfig | constructor configuration interface}.
|
|
168
|
+
*/
|
|
169
|
+
config;
|
|
163
170
|
constructor(...[configuration]) {
|
|
164
171
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
165
172
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -169,7 +176,7 @@ var _CloudHSMV2Client = class _CloudHSMV2Client extends import_smithy_client.Cli
|
|
|
169
176
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
170
177
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
171
178
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
172
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
179
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
173
180
|
super(_config_8);
|
|
174
181
|
this.config = _config_8;
|
|
175
182
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -197,8 +204,6 @@ var _CloudHSMV2Client = class _CloudHSMV2Client extends import_smithy_client.Cli
|
|
|
197
204
|
super.destroy();
|
|
198
205
|
}
|
|
199
206
|
};
|
|
200
|
-
__name(_CloudHSMV2Client, "CloudHSMV2Client");
|
|
201
|
-
var CloudHSMV2Client = _CloudHSMV2Client;
|
|
202
207
|
|
|
203
208
|
// src/CloudHSMV2.ts
|
|
204
209
|
|
|
@@ -215,7 +220,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
215
220
|
|
|
216
221
|
// src/models/CloudHSMV2ServiceException.ts
|
|
217
222
|
|
|
218
|
-
var
|
|
223
|
+
var CloudHSMV2ServiceException = class _CloudHSMV2ServiceException extends import_smithy_client.ServiceException {
|
|
224
|
+
static {
|
|
225
|
+
__name(this, "CloudHSMV2ServiceException");
|
|
226
|
+
}
|
|
219
227
|
/**
|
|
220
228
|
* @internal
|
|
221
229
|
*/
|
|
@@ -224,8 +232,6 @@ var _CloudHSMV2ServiceException = class _CloudHSMV2ServiceException extends impo
|
|
|
224
232
|
Object.setPrototypeOf(this, _CloudHSMV2ServiceException.prototype);
|
|
225
233
|
}
|
|
226
234
|
};
|
|
227
|
-
__name(_CloudHSMV2ServiceException, "CloudHSMV2ServiceException");
|
|
228
|
-
var CloudHSMV2ServiceException = _CloudHSMV2ServiceException;
|
|
229
235
|
|
|
230
236
|
// src/models/models_0.ts
|
|
231
237
|
var BackupState = {
|
|
@@ -244,7 +250,13 @@ var BackupPolicy = {
|
|
|
244
250
|
var BackupRetentionType = {
|
|
245
251
|
DAYS: "DAYS"
|
|
246
252
|
};
|
|
247
|
-
var
|
|
253
|
+
var CloudHsmAccessDeniedException = class _CloudHsmAccessDeniedException extends CloudHSMV2ServiceException {
|
|
254
|
+
static {
|
|
255
|
+
__name(this, "CloudHsmAccessDeniedException");
|
|
256
|
+
}
|
|
257
|
+
name = "CloudHsmAccessDeniedException";
|
|
258
|
+
$fault = "client";
|
|
259
|
+
Message;
|
|
248
260
|
/**
|
|
249
261
|
* @internal
|
|
250
262
|
*/
|
|
@@ -254,15 +266,17 @@ var _CloudHsmAccessDeniedException = class _CloudHsmAccessDeniedException extend
|
|
|
254
266
|
$fault: "client",
|
|
255
267
|
...opts
|
|
256
268
|
});
|
|
257
|
-
this.name = "CloudHsmAccessDeniedException";
|
|
258
|
-
this.$fault = "client";
|
|
259
269
|
Object.setPrototypeOf(this, _CloudHsmAccessDeniedException.prototype);
|
|
260
270
|
this.Message = opts.Message;
|
|
261
271
|
}
|
|
262
272
|
};
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
273
|
+
var CloudHsmInternalFailureException = class _CloudHsmInternalFailureException extends CloudHSMV2ServiceException {
|
|
274
|
+
static {
|
|
275
|
+
__name(this, "CloudHsmInternalFailureException");
|
|
276
|
+
}
|
|
277
|
+
name = "CloudHsmInternalFailureException";
|
|
278
|
+
$fault = "server";
|
|
279
|
+
Message;
|
|
266
280
|
/**
|
|
267
281
|
* @internal
|
|
268
282
|
*/
|
|
@@ -272,15 +286,17 @@ var _CloudHsmInternalFailureException = class _CloudHsmInternalFailureException
|
|
|
272
286
|
$fault: "server",
|
|
273
287
|
...opts
|
|
274
288
|
});
|
|
275
|
-
this.name = "CloudHsmInternalFailureException";
|
|
276
|
-
this.$fault = "server";
|
|
277
289
|
Object.setPrototypeOf(this, _CloudHsmInternalFailureException.prototype);
|
|
278
290
|
this.Message = opts.Message;
|
|
279
291
|
}
|
|
280
292
|
};
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
293
|
+
var CloudHsmInvalidRequestException = class _CloudHsmInvalidRequestException extends CloudHSMV2ServiceException {
|
|
294
|
+
static {
|
|
295
|
+
__name(this, "CloudHsmInvalidRequestException");
|
|
296
|
+
}
|
|
297
|
+
name = "CloudHsmInvalidRequestException";
|
|
298
|
+
$fault = "client";
|
|
299
|
+
Message;
|
|
284
300
|
/**
|
|
285
301
|
* @internal
|
|
286
302
|
*/
|
|
@@ -290,15 +306,17 @@ var _CloudHsmInvalidRequestException = class _CloudHsmInvalidRequestException ex
|
|
|
290
306
|
$fault: "client",
|
|
291
307
|
...opts
|
|
292
308
|
});
|
|
293
|
-
this.name = "CloudHsmInvalidRequestException";
|
|
294
|
-
this.$fault = "client";
|
|
295
309
|
Object.setPrototypeOf(this, _CloudHsmInvalidRequestException.prototype);
|
|
296
310
|
this.Message = opts.Message;
|
|
297
311
|
}
|
|
298
312
|
};
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
313
|
+
var CloudHsmResourceNotFoundException = class _CloudHsmResourceNotFoundException extends CloudHSMV2ServiceException {
|
|
314
|
+
static {
|
|
315
|
+
__name(this, "CloudHsmResourceNotFoundException");
|
|
316
|
+
}
|
|
317
|
+
name = "CloudHsmResourceNotFoundException";
|
|
318
|
+
$fault = "client";
|
|
319
|
+
Message;
|
|
302
320
|
/**
|
|
303
321
|
* @internal
|
|
304
322
|
*/
|
|
@@ -308,15 +326,17 @@ var _CloudHsmResourceNotFoundException = class _CloudHsmResourceNotFoundExceptio
|
|
|
308
326
|
$fault: "client",
|
|
309
327
|
...opts
|
|
310
328
|
});
|
|
311
|
-
this.name = "CloudHsmResourceNotFoundException";
|
|
312
|
-
this.$fault = "client";
|
|
313
329
|
Object.setPrototypeOf(this, _CloudHsmResourceNotFoundException.prototype);
|
|
314
330
|
this.Message = opts.Message;
|
|
315
331
|
}
|
|
316
332
|
};
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
333
|
+
var CloudHsmServiceException = class _CloudHsmServiceException extends CloudHSMV2ServiceException {
|
|
334
|
+
static {
|
|
335
|
+
__name(this, "CloudHsmServiceException");
|
|
336
|
+
}
|
|
337
|
+
name = "CloudHsmServiceException";
|
|
338
|
+
$fault = "client";
|
|
339
|
+
Message;
|
|
320
340
|
/**
|
|
321
341
|
* @internal
|
|
322
342
|
*/
|
|
@@ -326,15 +346,17 @@ var _CloudHsmServiceException = class _CloudHsmServiceException extends CloudHSM
|
|
|
326
346
|
$fault: "client",
|
|
327
347
|
...opts
|
|
328
348
|
});
|
|
329
|
-
this.name = "CloudHsmServiceException";
|
|
330
|
-
this.$fault = "client";
|
|
331
349
|
Object.setPrototypeOf(this, _CloudHsmServiceException.prototype);
|
|
332
350
|
this.Message = opts.Message;
|
|
333
351
|
}
|
|
334
352
|
};
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
353
|
+
var CloudHsmTagException = class _CloudHsmTagException extends CloudHSMV2ServiceException {
|
|
354
|
+
static {
|
|
355
|
+
__name(this, "CloudHsmTagException");
|
|
356
|
+
}
|
|
357
|
+
name = "CloudHsmTagException";
|
|
358
|
+
$fault = "client";
|
|
359
|
+
Message;
|
|
338
360
|
/**
|
|
339
361
|
* @internal
|
|
340
362
|
*/
|
|
@@ -344,14 +366,10 @@ var _CloudHsmTagException = class _CloudHsmTagException extends CloudHSMV2Servic
|
|
|
344
366
|
$fault: "client",
|
|
345
367
|
...opts
|
|
346
368
|
});
|
|
347
|
-
this.name = "CloudHsmTagException";
|
|
348
|
-
this.$fault = "client";
|
|
349
369
|
Object.setPrototypeOf(this, _CloudHsmTagException.prototype);
|
|
350
370
|
this.Message = opts.Message;
|
|
351
371
|
}
|
|
352
372
|
};
|
|
353
|
-
__name(_CloudHsmTagException, "CloudHsmTagException");
|
|
354
|
-
var CloudHsmTagException = _CloudHsmTagException;
|
|
355
373
|
var NetworkType = {
|
|
356
374
|
DUALSTACK: "DUALSTACK",
|
|
357
375
|
IPV4: "IPV4"
|
|
@@ -376,7 +394,13 @@ var ClusterState = {
|
|
|
376
394
|
UNINITIALIZED: "UNINITIALIZED",
|
|
377
395
|
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS"
|
|
378
396
|
};
|
|
379
|
-
var
|
|
397
|
+
var CloudHsmResourceLimitExceededException = class _CloudHsmResourceLimitExceededException extends CloudHSMV2ServiceException {
|
|
398
|
+
static {
|
|
399
|
+
__name(this, "CloudHsmResourceLimitExceededException");
|
|
400
|
+
}
|
|
401
|
+
name = "CloudHsmResourceLimitExceededException";
|
|
402
|
+
$fault = "client";
|
|
403
|
+
Message;
|
|
380
404
|
/**
|
|
381
405
|
* @internal
|
|
382
406
|
*/
|
|
@@ -386,14 +410,10 @@ var _CloudHsmResourceLimitExceededException = class _CloudHsmResourceLimitExceed
|
|
|
386
410
|
$fault: "client",
|
|
387
411
|
...opts
|
|
388
412
|
});
|
|
389
|
-
this.name = "CloudHsmResourceLimitExceededException";
|
|
390
|
-
this.$fault = "client";
|
|
391
413
|
Object.setPrototypeOf(this, _CloudHsmResourceLimitExceededException.prototype);
|
|
392
414
|
this.Message = opts.Message;
|
|
393
415
|
}
|
|
394
416
|
};
|
|
395
|
-
__name(_CloudHsmResourceLimitExceededException, "CloudHsmResourceLimitExceededException");
|
|
396
|
-
var CloudHsmResourceLimitExceededException = _CloudHsmResourceLimitExceededException;
|
|
397
417
|
|
|
398
418
|
// src/protocols/Aws_json1_1.ts
|
|
399
419
|
var se_CopyBackupToRegionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -978,253 +998,271 @@ function sharedHeaders(operation) {
|
|
|
978
998
|
__name(sharedHeaders, "sharedHeaders");
|
|
979
999
|
|
|
980
1000
|
// src/commands/CopyBackupToRegionCommand.ts
|
|
981
|
-
var
|
|
1001
|
+
var CopyBackupToRegionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
982
1002
|
return [
|
|
983
1003
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
984
1004
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
985
1005
|
];
|
|
986
1006
|
}).s("BaldrApiService", "CopyBackupToRegion", {}).n("CloudHSMV2Client", "CopyBackupToRegionCommand").f(void 0, void 0).ser(se_CopyBackupToRegionCommand).de(de_CopyBackupToRegionCommand).build() {
|
|
1007
|
+
static {
|
|
1008
|
+
__name(this, "CopyBackupToRegionCommand");
|
|
1009
|
+
}
|
|
987
1010
|
};
|
|
988
|
-
__name(_CopyBackupToRegionCommand, "CopyBackupToRegionCommand");
|
|
989
|
-
var CopyBackupToRegionCommand = _CopyBackupToRegionCommand;
|
|
990
1011
|
|
|
991
1012
|
// src/commands/CreateClusterCommand.ts
|
|
992
1013
|
|
|
993
1014
|
|
|
994
1015
|
|
|
995
|
-
var
|
|
1016
|
+
var CreateClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
996
1017
|
return [
|
|
997
1018
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
998
1019
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
999
1020
|
];
|
|
1000
1021
|
}).s("BaldrApiService", "CreateCluster", {}).n("CloudHSMV2Client", "CreateClusterCommand").f(void 0, void 0).ser(se_CreateClusterCommand).de(de_CreateClusterCommand).build() {
|
|
1022
|
+
static {
|
|
1023
|
+
__name(this, "CreateClusterCommand");
|
|
1024
|
+
}
|
|
1001
1025
|
};
|
|
1002
|
-
__name(_CreateClusterCommand, "CreateClusterCommand");
|
|
1003
|
-
var CreateClusterCommand = _CreateClusterCommand;
|
|
1004
1026
|
|
|
1005
1027
|
// src/commands/CreateHsmCommand.ts
|
|
1006
1028
|
|
|
1007
1029
|
|
|
1008
1030
|
|
|
1009
|
-
var
|
|
1031
|
+
var CreateHsmCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1010
1032
|
return [
|
|
1011
1033
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1012
1034
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1013
1035
|
];
|
|
1014
1036
|
}).s("BaldrApiService", "CreateHsm", {}).n("CloudHSMV2Client", "CreateHsmCommand").f(void 0, void 0).ser(se_CreateHsmCommand).de(de_CreateHsmCommand).build() {
|
|
1037
|
+
static {
|
|
1038
|
+
__name(this, "CreateHsmCommand");
|
|
1039
|
+
}
|
|
1015
1040
|
};
|
|
1016
|
-
__name(_CreateHsmCommand, "CreateHsmCommand");
|
|
1017
|
-
var CreateHsmCommand = _CreateHsmCommand;
|
|
1018
1041
|
|
|
1019
1042
|
// src/commands/DeleteBackupCommand.ts
|
|
1020
1043
|
|
|
1021
1044
|
|
|
1022
1045
|
|
|
1023
|
-
var
|
|
1046
|
+
var DeleteBackupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1024
1047
|
return [
|
|
1025
1048
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1026
1049
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1027
1050
|
];
|
|
1028
1051
|
}).s("BaldrApiService", "DeleteBackup", {}).n("CloudHSMV2Client", "DeleteBackupCommand").f(void 0, void 0).ser(se_DeleteBackupCommand).de(de_DeleteBackupCommand).build() {
|
|
1052
|
+
static {
|
|
1053
|
+
__name(this, "DeleteBackupCommand");
|
|
1054
|
+
}
|
|
1029
1055
|
};
|
|
1030
|
-
__name(_DeleteBackupCommand, "DeleteBackupCommand");
|
|
1031
|
-
var DeleteBackupCommand = _DeleteBackupCommand;
|
|
1032
1056
|
|
|
1033
1057
|
// src/commands/DeleteClusterCommand.ts
|
|
1034
1058
|
|
|
1035
1059
|
|
|
1036
1060
|
|
|
1037
|
-
var
|
|
1061
|
+
var DeleteClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1038
1062
|
return [
|
|
1039
1063
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1040
1064
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1041
1065
|
];
|
|
1042
1066
|
}).s("BaldrApiService", "DeleteCluster", {}).n("CloudHSMV2Client", "DeleteClusterCommand").f(void 0, void 0).ser(se_DeleteClusterCommand).de(de_DeleteClusterCommand).build() {
|
|
1067
|
+
static {
|
|
1068
|
+
__name(this, "DeleteClusterCommand");
|
|
1069
|
+
}
|
|
1043
1070
|
};
|
|
1044
|
-
__name(_DeleteClusterCommand, "DeleteClusterCommand");
|
|
1045
|
-
var DeleteClusterCommand = _DeleteClusterCommand;
|
|
1046
1071
|
|
|
1047
1072
|
// src/commands/DeleteHsmCommand.ts
|
|
1048
1073
|
|
|
1049
1074
|
|
|
1050
1075
|
|
|
1051
|
-
var
|
|
1076
|
+
var DeleteHsmCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1052
1077
|
return [
|
|
1053
1078
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1054
1079
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1055
1080
|
];
|
|
1056
1081
|
}).s("BaldrApiService", "DeleteHsm", {}).n("CloudHSMV2Client", "DeleteHsmCommand").f(void 0, void 0).ser(se_DeleteHsmCommand).de(de_DeleteHsmCommand).build() {
|
|
1082
|
+
static {
|
|
1083
|
+
__name(this, "DeleteHsmCommand");
|
|
1084
|
+
}
|
|
1057
1085
|
};
|
|
1058
|
-
__name(_DeleteHsmCommand, "DeleteHsmCommand");
|
|
1059
|
-
var DeleteHsmCommand = _DeleteHsmCommand;
|
|
1060
1086
|
|
|
1061
1087
|
// src/commands/DeleteResourcePolicyCommand.ts
|
|
1062
1088
|
|
|
1063
1089
|
|
|
1064
1090
|
|
|
1065
|
-
var
|
|
1091
|
+
var DeleteResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1066
1092
|
return [
|
|
1067
1093
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1068
1094
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1069
1095
|
];
|
|
1070
1096
|
}).s("BaldrApiService", "DeleteResourcePolicy", {}).n("CloudHSMV2Client", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {
|
|
1097
|
+
static {
|
|
1098
|
+
__name(this, "DeleteResourcePolicyCommand");
|
|
1099
|
+
}
|
|
1071
1100
|
};
|
|
1072
|
-
__name(_DeleteResourcePolicyCommand, "DeleteResourcePolicyCommand");
|
|
1073
|
-
var DeleteResourcePolicyCommand = _DeleteResourcePolicyCommand;
|
|
1074
1101
|
|
|
1075
1102
|
// src/commands/DescribeBackupsCommand.ts
|
|
1076
1103
|
|
|
1077
1104
|
|
|
1078
1105
|
|
|
1079
|
-
var
|
|
1106
|
+
var DescribeBackupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1080
1107
|
return [
|
|
1081
1108
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1082
1109
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1083
1110
|
];
|
|
1084
1111
|
}).s("BaldrApiService", "DescribeBackups", {}).n("CloudHSMV2Client", "DescribeBackupsCommand").f(void 0, void 0).ser(se_DescribeBackupsCommand).de(de_DescribeBackupsCommand).build() {
|
|
1112
|
+
static {
|
|
1113
|
+
__name(this, "DescribeBackupsCommand");
|
|
1114
|
+
}
|
|
1085
1115
|
};
|
|
1086
|
-
__name(_DescribeBackupsCommand, "DescribeBackupsCommand");
|
|
1087
|
-
var DescribeBackupsCommand = _DescribeBackupsCommand;
|
|
1088
1116
|
|
|
1089
1117
|
// src/commands/DescribeClustersCommand.ts
|
|
1090
1118
|
|
|
1091
1119
|
|
|
1092
1120
|
|
|
1093
|
-
var
|
|
1121
|
+
var DescribeClustersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1094
1122
|
return [
|
|
1095
1123
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1096
1124
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1097
1125
|
];
|
|
1098
1126
|
}).s("BaldrApiService", "DescribeClusters", {}).n("CloudHSMV2Client", "DescribeClustersCommand").f(void 0, void 0).ser(se_DescribeClustersCommand).de(de_DescribeClustersCommand).build() {
|
|
1127
|
+
static {
|
|
1128
|
+
__name(this, "DescribeClustersCommand");
|
|
1129
|
+
}
|
|
1099
1130
|
};
|
|
1100
|
-
__name(_DescribeClustersCommand, "DescribeClustersCommand");
|
|
1101
|
-
var DescribeClustersCommand = _DescribeClustersCommand;
|
|
1102
1131
|
|
|
1103
1132
|
// src/commands/GetResourcePolicyCommand.ts
|
|
1104
1133
|
|
|
1105
1134
|
|
|
1106
1135
|
|
|
1107
|
-
var
|
|
1136
|
+
var GetResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1108
1137
|
return [
|
|
1109
1138
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1110
1139
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1111
1140
|
];
|
|
1112
1141
|
}).s("BaldrApiService", "GetResourcePolicy", {}).n("CloudHSMV2Client", "GetResourcePolicyCommand").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {
|
|
1142
|
+
static {
|
|
1143
|
+
__name(this, "GetResourcePolicyCommand");
|
|
1144
|
+
}
|
|
1113
1145
|
};
|
|
1114
|
-
__name(_GetResourcePolicyCommand, "GetResourcePolicyCommand");
|
|
1115
|
-
var GetResourcePolicyCommand = _GetResourcePolicyCommand;
|
|
1116
1146
|
|
|
1117
1147
|
// src/commands/InitializeClusterCommand.ts
|
|
1118
1148
|
|
|
1119
1149
|
|
|
1120
1150
|
|
|
1121
|
-
var
|
|
1151
|
+
var InitializeClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1122
1152
|
return [
|
|
1123
1153
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1124
1154
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1125
1155
|
];
|
|
1126
1156
|
}).s("BaldrApiService", "InitializeCluster", {}).n("CloudHSMV2Client", "InitializeClusterCommand").f(void 0, void 0).ser(se_InitializeClusterCommand).de(de_InitializeClusterCommand).build() {
|
|
1157
|
+
static {
|
|
1158
|
+
__name(this, "InitializeClusterCommand");
|
|
1159
|
+
}
|
|
1127
1160
|
};
|
|
1128
|
-
__name(_InitializeClusterCommand, "InitializeClusterCommand");
|
|
1129
|
-
var InitializeClusterCommand = _InitializeClusterCommand;
|
|
1130
1161
|
|
|
1131
1162
|
// src/commands/ListTagsCommand.ts
|
|
1132
1163
|
|
|
1133
1164
|
|
|
1134
1165
|
|
|
1135
|
-
var
|
|
1166
|
+
var ListTagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1136
1167
|
return [
|
|
1137
1168
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1138
1169
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1139
1170
|
];
|
|
1140
1171
|
}).s("BaldrApiService", "ListTags", {}).n("CloudHSMV2Client", "ListTagsCommand").f(void 0, void 0).ser(se_ListTagsCommand).de(de_ListTagsCommand).build() {
|
|
1172
|
+
static {
|
|
1173
|
+
__name(this, "ListTagsCommand");
|
|
1174
|
+
}
|
|
1141
1175
|
};
|
|
1142
|
-
__name(_ListTagsCommand, "ListTagsCommand");
|
|
1143
|
-
var ListTagsCommand = _ListTagsCommand;
|
|
1144
1176
|
|
|
1145
1177
|
// src/commands/ModifyBackupAttributesCommand.ts
|
|
1146
1178
|
|
|
1147
1179
|
|
|
1148
1180
|
|
|
1149
|
-
var
|
|
1181
|
+
var ModifyBackupAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1150
1182
|
return [
|
|
1151
1183
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1152
1184
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1153
1185
|
];
|
|
1154
1186
|
}).s("BaldrApiService", "ModifyBackupAttributes", {}).n("CloudHSMV2Client", "ModifyBackupAttributesCommand").f(void 0, void 0).ser(se_ModifyBackupAttributesCommand).de(de_ModifyBackupAttributesCommand).build() {
|
|
1187
|
+
static {
|
|
1188
|
+
__name(this, "ModifyBackupAttributesCommand");
|
|
1189
|
+
}
|
|
1155
1190
|
};
|
|
1156
|
-
__name(_ModifyBackupAttributesCommand, "ModifyBackupAttributesCommand");
|
|
1157
|
-
var ModifyBackupAttributesCommand = _ModifyBackupAttributesCommand;
|
|
1158
1191
|
|
|
1159
1192
|
// src/commands/ModifyClusterCommand.ts
|
|
1160
1193
|
|
|
1161
1194
|
|
|
1162
1195
|
|
|
1163
|
-
var
|
|
1196
|
+
var ModifyClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1164
1197
|
return [
|
|
1165
1198
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1166
1199
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1167
1200
|
];
|
|
1168
1201
|
}).s("BaldrApiService", "ModifyCluster", {}).n("CloudHSMV2Client", "ModifyClusterCommand").f(void 0, void 0).ser(se_ModifyClusterCommand).de(de_ModifyClusterCommand).build() {
|
|
1202
|
+
static {
|
|
1203
|
+
__name(this, "ModifyClusterCommand");
|
|
1204
|
+
}
|
|
1169
1205
|
};
|
|
1170
|
-
__name(_ModifyClusterCommand, "ModifyClusterCommand");
|
|
1171
|
-
var ModifyClusterCommand = _ModifyClusterCommand;
|
|
1172
1206
|
|
|
1173
1207
|
// src/commands/PutResourcePolicyCommand.ts
|
|
1174
1208
|
|
|
1175
1209
|
|
|
1176
1210
|
|
|
1177
|
-
var
|
|
1211
|
+
var PutResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1178
1212
|
return [
|
|
1179
1213
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1180
1214
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1181
1215
|
];
|
|
1182
1216
|
}).s("BaldrApiService", "PutResourcePolicy", {}).n("CloudHSMV2Client", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {
|
|
1217
|
+
static {
|
|
1218
|
+
__name(this, "PutResourcePolicyCommand");
|
|
1219
|
+
}
|
|
1183
1220
|
};
|
|
1184
|
-
__name(_PutResourcePolicyCommand, "PutResourcePolicyCommand");
|
|
1185
|
-
var PutResourcePolicyCommand = _PutResourcePolicyCommand;
|
|
1186
1221
|
|
|
1187
1222
|
// src/commands/RestoreBackupCommand.ts
|
|
1188
1223
|
|
|
1189
1224
|
|
|
1190
1225
|
|
|
1191
|
-
var
|
|
1226
|
+
var RestoreBackupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1192
1227
|
return [
|
|
1193
1228
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1194
1229
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1195
1230
|
];
|
|
1196
1231
|
}).s("BaldrApiService", "RestoreBackup", {}).n("CloudHSMV2Client", "RestoreBackupCommand").f(void 0, void 0).ser(se_RestoreBackupCommand).de(de_RestoreBackupCommand).build() {
|
|
1232
|
+
static {
|
|
1233
|
+
__name(this, "RestoreBackupCommand");
|
|
1234
|
+
}
|
|
1197
1235
|
};
|
|
1198
|
-
__name(_RestoreBackupCommand, "RestoreBackupCommand");
|
|
1199
|
-
var RestoreBackupCommand = _RestoreBackupCommand;
|
|
1200
1236
|
|
|
1201
1237
|
// src/commands/TagResourceCommand.ts
|
|
1202
1238
|
|
|
1203
1239
|
|
|
1204
1240
|
|
|
1205
|
-
var
|
|
1241
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1206
1242
|
return [
|
|
1207
1243
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1208
1244
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1209
1245
|
];
|
|
1210
1246
|
}).s("BaldrApiService", "TagResource", {}).n("CloudHSMV2Client", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1247
|
+
static {
|
|
1248
|
+
__name(this, "TagResourceCommand");
|
|
1249
|
+
}
|
|
1211
1250
|
};
|
|
1212
|
-
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1213
|
-
var TagResourceCommand = _TagResourceCommand;
|
|
1214
1251
|
|
|
1215
1252
|
// src/commands/UntagResourceCommand.ts
|
|
1216
1253
|
|
|
1217
1254
|
|
|
1218
1255
|
|
|
1219
|
-
var
|
|
1256
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1220
1257
|
return [
|
|
1221
1258
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1222
1259
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1223
1260
|
];
|
|
1224
1261
|
}).s("BaldrApiService", "UntagResource", {}).n("CloudHSMV2Client", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1262
|
+
static {
|
|
1263
|
+
__name(this, "UntagResourceCommand");
|
|
1264
|
+
}
|
|
1225
1265
|
};
|
|
1226
|
-
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1227
|
-
var UntagResourceCommand = _UntagResourceCommand;
|
|
1228
1266
|
|
|
1229
1267
|
// src/CloudHSMV2.ts
|
|
1230
1268
|
var commands = {
|
|
@@ -1247,10 +1285,11 @@ var commands = {
|
|
|
1247
1285
|
TagResourceCommand,
|
|
1248
1286
|
UntagResourceCommand
|
|
1249
1287
|
};
|
|
1250
|
-
var
|
|
1288
|
+
var CloudHSMV2 = class extends CloudHSMV2Client {
|
|
1289
|
+
static {
|
|
1290
|
+
__name(this, "CloudHSMV2");
|
|
1291
|
+
}
|
|
1251
1292
|
};
|
|
1252
|
-
__name(_CloudHSMV2, "CloudHSMV2");
|
|
1253
|
-
var CloudHSMV2 = _CloudHSMV2;
|
|
1254
1293
|
(0, import_smithy_client.createAggregatedClient)(commands, CloudHSMV2);
|
|
1255
1294
|
|
|
1256
1295
|
// src/pagination/DescribeBackupsPaginator.ts
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class CloudHSMV2Client extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -16,79 +16,85 @@ export const BackupRetentionType = {
|
|
|
16
16
|
DAYS: "DAYS",
|
|
17
17
|
};
|
|
18
18
|
export class CloudHsmAccessDeniedException extends __BaseException {
|
|
19
|
+
name = "CloudHsmAccessDeniedException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Message;
|
|
19
22
|
constructor(opts) {
|
|
20
23
|
super({
|
|
21
24
|
name: "CloudHsmAccessDeniedException",
|
|
22
25
|
$fault: "client",
|
|
23
26
|
...opts,
|
|
24
27
|
});
|
|
25
|
-
this.name = "CloudHsmAccessDeniedException";
|
|
26
|
-
this.$fault = "client";
|
|
27
28
|
Object.setPrototypeOf(this, CloudHsmAccessDeniedException.prototype);
|
|
28
29
|
this.Message = opts.Message;
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
export class CloudHsmInternalFailureException extends __BaseException {
|
|
33
|
+
name = "CloudHsmInternalFailureException";
|
|
34
|
+
$fault = "server";
|
|
35
|
+
Message;
|
|
32
36
|
constructor(opts) {
|
|
33
37
|
super({
|
|
34
38
|
name: "CloudHsmInternalFailureException",
|
|
35
39
|
$fault: "server",
|
|
36
40
|
...opts,
|
|
37
41
|
});
|
|
38
|
-
this.name = "CloudHsmInternalFailureException";
|
|
39
|
-
this.$fault = "server";
|
|
40
42
|
Object.setPrototypeOf(this, CloudHsmInternalFailureException.prototype);
|
|
41
43
|
this.Message = opts.Message;
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
export class CloudHsmInvalidRequestException extends __BaseException {
|
|
47
|
+
name = "CloudHsmInvalidRequestException";
|
|
48
|
+
$fault = "client";
|
|
49
|
+
Message;
|
|
45
50
|
constructor(opts) {
|
|
46
51
|
super({
|
|
47
52
|
name: "CloudHsmInvalidRequestException",
|
|
48
53
|
$fault: "client",
|
|
49
54
|
...opts,
|
|
50
55
|
});
|
|
51
|
-
this.name = "CloudHsmInvalidRequestException";
|
|
52
|
-
this.$fault = "client";
|
|
53
56
|
Object.setPrototypeOf(this, CloudHsmInvalidRequestException.prototype);
|
|
54
57
|
this.Message = opts.Message;
|
|
55
58
|
}
|
|
56
59
|
}
|
|
57
60
|
export class CloudHsmResourceNotFoundException extends __BaseException {
|
|
61
|
+
name = "CloudHsmResourceNotFoundException";
|
|
62
|
+
$fault = "client";
|
|
63
|
+
Message;
|
|
58
64
|
constructor(opts) {
|
|
59
65
|
super({
|
|
60
66
|
name: "CloudHsmResourceNotFoundException",
|
|
61
67
|
$fault: "client",
|
|
62
68
|
...opts,
|
|
63
69
|
});
|
|
64
|
-
this.name = "CloudHsmResourceNotFoundException";
|
|
65
|
-
this.$fault = "client";
|
|
66
70
|
Object.setPrototypeOf(this, CloudHsmResourceNotFoundException.prototype);
|
|
67
71
|
this.Message = opts.Message;
|
|
68
72
|
}
|
|
69
73
|
}
|
|
70
74
|
export class CloudHsmServiceException extends __BaseException {
|
|
75
|
+
name = "CloudHsmServiceException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
Message;
|
|
71
78
|
constructor(opts) {
|
|
72
79
|
super({
|
|
73
80
|
name: "CloudHsmServiceException",
|
|
74
81
|
$fault: "client",
|
|
75
82
|
...opts,
|
|
76
83
|
});
|
|
77
|
-
this.name = "CloudHsmServiceException";
|
|
78
|
-
this.$fault = "client";
|
|
79
84
|
Object.setPrototypeOf(this, CloudHsmServiceException.prototype);
|
|
80
85
|
this.Message = opts.Message;
|
|
81
86
|
}
|
|
82
87
|
}
|
|
83
88
|
export class CloudHsmTagException extends __BaseException {
|
|
89
|
+
name = "CloudHsmTagException";
|
|
90
|
+
$fault = "client";
|
|
91
|
+
Message;
|
|
84
92
|
constructor(opts) {
|
|
85
93
|
super({
|
|
86
94
|
name: "CloudHsmTagException",
|
|
87
95
|
$fault: "client",
|
|
88
96
|
...opts,
|
|
89
97
|
});
|
|
90
|
-
this.name = "CloudHsmTagException";
|
|
91
|
-
this.$fault = "client";
|
|
92
98
|
Object.setPrototypeOf(this, CloudHsmTagException.prototype);
|
|
93
99
|
this.Message = opts.Message;
|
|
94
100
|
}
|
|
@@ -118,14 +124,15 @@ export const ClusterState = {
|
|
|
118
124
|
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
119
125
|
};
|
|
120
126
|
export class CloudHsmResourceLimitExceededException extends __BaseException {
|
|
127
|
+
name = "CloudHsmResourceLimitExceededException";
|
|
128
|
+
$fault = "client";
|
|
129
|
+
Message;
|
|
121
130
|
constructor(opts) {
|
|
122
131
|
super({
|
|
123
132
|
name: "CloudHsmResourceLimitExceededException",
|
|
124
133
|
$fault: "client",
|
|
125
134
|
...opts,
|
|
126
135
|
});
|
|
127
|
-
this.name = "CloudHsmResourceLimitExceededException";
|
|
128
|
-
this.$fault = "client";
|
|
129
136
|
Object.setPrototypeOf(this, CloudHsmResourceLimitExceededException.prototype);
|
|
130
137
|
this.Message = opts.Message;
|
|
131
138
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: CloudHSMV2ClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.723.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,56 +20,56 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|