@aws-sdk/client-cloudhsm 3.940.0 → 3.946.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 -137
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/CloudHSMClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +20 -137
- package/dist-types/CloudHSM.d.ts +1 -1
- package/dist-types/CloudHSMClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -3
- package/dist-types/commands/CreateHapgCommand.d.ts +3 -3
- package/dist-types/commands/CreateHsmCommand.d.ts +3 -3
- package/dist-types/commands/CreateLunaClientCommand.d.ts +3 -3
- package/dist-types/commands/DeleteHapgCommand.d.ts +3 -3
- package/dist-types/commands/DeleteHsmCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLunaClientCommand.d.ts +3 -3
- package/dist-types/commands/DescribeHapgCommand.d.ts +3 -3
- package/dist-types/commands/DescribeHsmCommand.d.ts +3 -3
- package/dist-types/commands/DescribeLunaClientCommand.d.ts +3 -3
- package/dist-types/commands/GetConfigCommand.d.ts +3 -3
- package/dist-types/commands/ListAvailableZonesCommand.d.ts +3 -3
- package/dist-types/commands/ListHapgsCommand.d.ts +3 -3
- package/dist-types/commands/ListHsmsCommand.d.ts +3 -3
- package/dist-types/commands/ListLunaClientsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ModifyHapgCommand.d.ts +3 -3
- package/dist-types/commands/ModifyHsmCommand.d.ts +3 -3
- package/dist-types/commands/ModifyLunaClientCommand.d.ts +3 -3
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/CloudHSMServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/CloudHSMClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/CloudHSMServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -286,27 +286,9 @@ const _xN = "xmlName";
|
|
|
286
286
|
const n0 = "com.amazonaws.cloudhsm";
|
|
287
287
|
var AddTagsToResourceRequest = [3, n0, _ATTRR, 0, [_RA, _TL], [0, () => TagList]];
|
|
288
288
|
var AddTagsToResourceResponse = [3, n0, _ATTRRd, 0, [_S], [0]];
|
|
289
|
-
var CloudHsmInternalException = [
|
|
290
|
-
-3,
|
|
291
|
-
n0,
|
|
292
|
-
_CHIE,
|
|
293
|
-
{
|
|
294
|
-
[_e]: _s,
|
|
295
|
-
},
|
|
296
|
-
[_m, _r],
|
|
297
|
-
[0, 2],
|
|
298
|
-
];
|
|
289
|
+
var CloudHsmInternalException = [-3, n0, _CHIE, { [_e]: _s }, [_m, _r], [0, 2]];
|
|
299
290
|
schema.TypeRegistry.for(n0).registerError(CloudHsmInternalException, CloudHsmInternalException$1);
|
|
300
|
-
var CloudHsmServiceException = [
|
|
301
|
-
-3,
|
|
302
|
-
n0,
|
|
303
|
-
_CHSE,
|
|
304
|
-
{
|
|
305
|
-
[_e]: _c,
|
|
306
|
-
},
|
|
307
|
-
[_m, _r],
|
|
308
|
-
[0, 2],
|
|
309
|
-
];
|
|
291
|
+
var CloudHsmServiceException = [-3, n0, _CHSE, { [_e]: _c }, [_m, _r], [0, 2]];
|
|
310
292
|
schema.TypeRegistry.for(n0).registerError(CloudHsmServiceException, CloudHsmServiceException$1);
|
|
311
293
|
var CreateHapgRequest = [3, n0, _CHR, 0, [_L], [0]];
|
|
312
294
|
var CreateHapgResponse = [3, n0, _CHRr, 0, [_HA], [0]];
|
|
@@ -314,59 +296,17 @@ var CreateHsmRequest = [
|
|
|
314
296
|
3,
|
|
315
297
|
n0,
|
|
316
298
|
_CHRre,
|
|
317
|
-
{
|
|
318
|
-
[_xN]: _CHRre,
|
|
319
|
-
},
|
|
299
|
+
{ [_xN]: _CHRre },
|
|
320
300
|
[_SI, _SK, _EI, _IRA, _EIx, _ST, _CT, _SIy],
|
|
321
301
|
[
|
|
322
|
-
[
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
],
|
|
328
|
-
[
|
|
329
|
-
|
|
330
|
-
{
|
|
331
|
-
[_xN]: _SK,
|
|
332
|
-
},
|
|
333
|
-
],
|
|
334
|
-
[
|
|
335
|
-
0,
|
|
336
|
-
{
|
|
337
|
-
[_xN]: _EI,
|
|
338
|
-
},
|
|
339
|
-
],
|
|
340
|
-
[
|
|
341
|
-
0,
|
|
342
|
-
{
|
|
343
|
-
[_xN]: _IRA,
|
|
344
|
-
},
|
|
345
|
-
],
|
|
346
|
-
[
|
|
347
|
-
0,
|
|
348
|
-
{
|
|
349
|
-
[_xN]: _EIx,
|
|
350
|
-
},
|
|
351
|
-
],
|
|
352
|
-
[
|
|
353
|
-
0,
|
|
354
|
-
{
|
|
355
|
-
[_xN]: _ST,
|
|
356
|
-
},
|
|
357
|
-
],
|
|
358
|
-
[
|
|
359
|
-
0,
|
|
360
|
-
{
|
|
361
|
-
[_xN]: _CT,
|
|
362
|
-
},
|
|
363
|
-
],
|
|
364
|
-
[
|
|
365
|
-
0,
|
|
366
|
-
{
|
|
367
|
-
[_xN]: _SIy,
|
|
368
|
-
},
|
|
369
|
-
],
|
|
302
|
+
[0, { [_xN]: _SI }],
|
|
303
|
+
[0, { [_xN]: _SK }],
|
|
304
|
+
[0, { [_xN]: _EI }],
|
|
305
|
+
[0, { [_xN]: _IRA }],
|
|
306
|
+
[0, { [_xN]: _EIx }],
|
|
307
|
+
[0, { [_xN]: _ST }],
|
|
308
|
+
[0, { [_xN]: _CT }],
|
|
309
|
+
[0, { [_xN]: _SIy }],
|
|
370
310
|
],
|
|
371
311
|
];
|
|
372
312
|
var CreateHsmResponse = [3, n0, _CHRrea, 0, [_HAs], [0]];
|
|
@@ -374,23 +314,7 @@ var CreateLunaClientRequest = [3, n0, _CLCR, 0, [_L, _C], [0, 0]];
|
|
|
374
314
|
var CreateLunaClientResponse = [3, n0, _CLCRr, 0, [_CA], [0]];
|
|
375
315
|
var DeleteHapgRequest = [3, n0, _DHR, 0, [_HA], [0]];
|
|
376
316
|
var DeleteHapgResponse = [3, n0, _DHRe, 0, [_S], [0]];
|
|
377
|
-
var DeleteHsmRequest = [
|
|
378
|
-
3,
|
|
379
|
-
n0,
|
|
380
|
-
_DHRel,
|
|
381
|
-
{
|
|
382
|
-
[_xN]: _DHRel,
|
|
383
|
-
},
|
|
384
|
-
[_HAs],
|
|
385
|
-
[
|
|
386
|
-
[
|
|
387
|
-
0,
|
|
388
|
-
{
|
|
389
|
-
[_xN]: _HAs,
|
|
390
|
-
},
|
|
391
|
-
],
|
|
392
|
-
],
|
|
393
|
-
];
|
|
317
|
+
var DeleteHsmRequest = [3, n0, _DHRel, { [_xN]: _DHRel }, [_HAs], [[0, { [_xN]: _HAs }]]];
|
|
394
318
|
var DeleteHsmResponse = [3, n0, _DHRele, 0, [_S], [0]];
|
|
395
319
|
var DeleteLunaClientRequest = [3, n0, _DLCR, 0, [_CA], [0]];
|
|
396
320
|
var DeleteLunaClientResponse = [3, n0, _DLCRe, 0, [_S], [0]];
|
|
@@ -423,16 +347,7 @@ var DescribeLunaClientResponse = [
|
|
|
423
347
|
];
|
|
424
348
|
var GetConfigRequest = [3, n0, _GCR, 0, [_CA, _CV, _HL], [0, 0, 64 | 0]];
|
|
425
349
|
var GetConfigResponse = [3, n0, _GCRe, 0, [_CTo, _CFo, _CC], [0, 0, 0]];
|
|
426
|
-
var InvalidRequestException = [
|
|
427
|
-
-3,
|
|
428
|
-
n0,
|
|
429
|
-
_IRE,
|
|
430
|
-
{
|
|
431
|
-
[_e]: _c,
|
|
432
|
-
},
|
|
433
|
-
[_m, _r],
|
|
434
|
-
[0, 2],
|
|
435
|
-
];
|
|
350
|
+
var InvalidRequestException = [-3, n0, _IRE, { [_e]: _c }, [_m, _r], [0, 2]];
|
|
436
351
|
schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
|
|
437
352
|
var ListAvailableZonesRequest = [3, n0, _LAZR, 0, [], []];
|
|
438
353
|
var ListAvailableZonesResponse = [3, n0, _LAZRi, 0, [_AZL], [64 | 0]];
|
|
@@ -450,47 +365,15 @@ var ModifyHsmRequest = [
|
|
|
450
365
|
3,
|
|
451
366
|
n0,
|
|
452
367
|
_MHRod,
|
|
453
|
-
{
|
|
454
|
-
[_xN]: _MHRod,
|
|
455
|
-
},
|
|
368
|
+
{ [_xN]: _MHRod },
|
|
456
369
|
[_HAs, _SI, _EI, _IRA, _EIx, _SIy],
|
|
457
370
|
[
|
|
458
|
-
[
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
],
|
|
464
|
-
[
|
|
465
|
-
0,
|
|
466
|
-
{
|
|
467
|
-
[_xN]: _SI,
|
|
468
|
-
},
|
|
469
|
-
],
|
|
470
|
-
[
|
|
471
|
-
0,
|
|
472
|
-
{
|
|
473
|
-
[_xN]: _EI,
|
|
474
|
-
},
|
|
475
|
-
],
|
|
476
|
-
[
|
|
477
|
-
0,
|
|
478
|
-
{
|
|
479
|
-
[_xN]: _IRA,
|
|
480
|
-
},
|
|
481
|
-
],
|
|
482
|
-
[
|
|
483
|
-
0,
|
|
484
|
-
{
|
|
485
|
-
[_xN]: _EIx,
|
|
486
|
-
},
|
|
487
|
-
],
|
|
488
|
-
[
|
|
489
|
-
0,
|
|
490
|
-
{
|
|
491
|
-
[_xN]: _SIy,
|
|
492
|
-
},
|
|
493
|
-
],
|
|
371
|
+
[0, { [_xN]: _HAs }],
|
|
372
|
+
[0, { [_xN]: _SI }],
|
|
373
|
+
[0, { [_xN]: _EI }],
|
|
374
|
+
[0, { [_xN]: _IRA }],
|
|
375
|
+
[0, { [_xN]: _EIx }],
|
|
376
|
+
[0, { [_xN]: _SIy }],
|
|
494
377
|
],
|
|
495
378
|
];
|
|
496
379
|
var ModifyHsmResponse = [3, n0, _MHRodi, 0, [_HAs], [0]];
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultCloudHSMHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -127,27 +127,9 @@ import { CloudHSMServiceException as __CloudHSMServiceException } from "../model
|
|
|
127
127
|
import { CloudHsmInternalException as __CloudHsmInternalException, CloudHsmServiceException as __CloudHsmServiceException, InvalidRequestException as __InvalidRequestException, } from "../models/errors";
|
|
128
128
|
export var AddTagsToResourceRequest = [3, n0, _ATTRR, 0, [_RA, _TL], [0, () => TagList]];
|
|
129
129
|
export var AddTagsToResourceResponse = [3, n0, _ATTRRd, 0, [_S], [0]];
|
|
130
|
-
export var CloudHsmInternalException = [
|
|
131
|
-
-3,
|
|
132
|
-
n0,
|
|
133
|
-
_CHIE,
|
|
134
|
-
{
|
|
135
|
-
[_e]: _s,
|
|
136
|
-
},
|
|
137
|
-
[_m, _r],
|
|
138
|
-
[0, 2],
|
|
139
|
-
];
|
|
130
|
+
export var CloudHsmInternalException = [-3, n0, _CHIE, { [_e]: _s }, [_m, _r], [0, 2]];
|
|
140
131
|
TypeRegistry.for(n0).registerError(CloudHsmInternalException, __CloudHsmInternalException);
|
|
141
|
-
export var CloudHsmServiceException = [
|
|
142
|
-
-3,
|
|
143
|
-
n0,
|
|
144
|
-
_CHSE,
|
|
145
|
-
{
|
|
146
|
-
[_e]: _c,
|
|
147
|
-
},
|
|
148
|
-
[_m, _r],
|
|
149
|
-
[0, 2],
|
|
150
|
-
];
|
|
132
|
+
export var CloudHsmServiceException = [-3, n0, _CHSE, { [_e]: _c }, [_m, _r], [0, 2]];
|
|
151
133
|
TypeRegistry.for(n0).registerError(CloudHsmServiceException, __CloudHsmServiceException);
|
|
152
134
|
export var CreateHapgRequest = [3, n0, _CHR, 0, [_L], [0]];
|
|
153
135
|
export var CreateHapgResponse = [3, n0, _CHRr, 0, [_HA], [0]];
|
|
@@ -155,59 +137,17 @@ export var CreateHsmRequest = [
|
|
|
155
137
|
3,
|
|
156
138
|
n0,
|
|
157
139
|
_CHRre,
|
|
158
|
-
{
|
|
159
|
-
[_xN]: _CHRre,
|
|
160
|
-
},
|
|
140
|
+
{ [_xN]: _CHRre },
|
|
161
141
|
[_SI, _SK, _EI, _IRA, _EIx, _ST, _CT, _SIy],
|
|
162
142
|
[
|
|
163
|
-
[
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
],
|
|
169
|
-
[
|
|
170
|
-
|
|
171
|
-
{
|
|
172
|
-
[_xN]: _SK,
|
|
173
|
-
},
|
|
174
|
-
],
|
|
175
|
-
[
|
|
176
|
-
0,
|
|
177
|
-
{
|
|
178
|
-
[_xN]: _EI,
|
|
179
|
-
},
|
|
180
|
-
],
|
|
181
|
-
[
|
|
182
|
-
0,
|
|
183
|
-
{
|
|
184
|
-
[_xN]: _IRA,
|
|
185
|
-
},
|
|
186
|
-
],
|
|
187
|
-
[
|
|
188
|
-
0,
|
|
189
|
-
{
|
|
190
|
-
[_xN]: _EIx,
|
|
191
|
-
},
|
|
192
|
-
],
|
|
193
|
-
[
|
|
194
|
-
0,
|
|
195
|
-
{
|
|
196
|
-
[_xN]: _ST,
|
|
197
|
-
},
|
|
198
|
-
],
|
|
199
|
-
[
|
|
200
|
-
0,
|
|
201
|
-
{
|
|
202
|
-
[_xN]: _CT,
|
|
203
|
-
},
|
|
204
|
-
],
|
|
205
|
-
[
|
|
206
|
-
0,
|
|
207
|
-
{
|
|
208
|
-
[_xN]: _SIy,
|
|
209
|
-
},
|
|
210
|
-
],
|
|
143
|
+
[0, { [_xN]: _SI }],
|
|
144
|
+
[0, { [_xN]: _SK }],
|
|
145
|
+
[0, { [_xN]: _EI }],
|
|
146
|
+
[0, { [_xN]: _IRA }],
|
|
147
|
+
[0, { [_xN]: _EIx }],
|
|
148
|
+
[0, { [_xN]: _ST }],
|
|
149
|
+
[0, { [_xN]: _CT }],
|
|
150
|
+
[0, { [_xN]: _SIy }],
|
|
211
151
|
],
|
|
212
152
|
];
|
|
213
153
|
export var CreateHsmResponse = [3, n0, _CHRrea, 0, [_HAs], [0]];
|
|
@@ -215,23 +155,7 @@ export var CreateLunaClientRequest = [3, n0, _CLCR, 0, [_L, _C], [0, 0]];
|
|
|
215
155
|
export var CreateLunaClientResponse = [3, n0, _CLCRr, 0, [_CA], [0]];
|
|
216
156
|
export var DeleteHapgRequest = [3, n0, _DHR, 0, [_HA], [0]];
|
|
217
157
|
export var DeleteHapgResponse = [3, n0, _DHRe, 0, [_S], [0]];
|
|
218
|
-
export var DeleteHsmRequest = [
|
|
219
|
-
3,
|
|
220
|
-
n0,
|
|
221
|
-
_DHRel,
|
|
222
|
-
{
|
|
223
|
-
[_xN]: _DHRel,
|
|
224
|
-
},
|
|
225
|
-
[_HAs],
|
|
226
|
-
[
|
|
227
|
-
[
|
|
228
|
-
0,
|
|
229
|
-
{
|
|
230
|
-
[_xN]: _HAs,
|
|
231
|
-
},
|
|
232
|
-
],
|
|
233
|
-
],
|
|
234
|
-
];
|
|
158
|
+
export var DeleteHsmRequest = [3, n0, _DHRel, { [_xN]: _DHRel }, [_HAs], [[0, { [_xN]: _HAs }]]];
|
|
235
159
|
export var DeleteHsmResponse = [3, n0, _DHRele, 0, [_S], [0]];
|
|
236
160
|
export var DeleteLunaClientRequest = [3, n0, _DLCR, 0, [_CA], [0]];
|
|
237
161
|
export var DeleteLunaClientResponse = [3, n0, _DLCRe, 0, [_S], [0]];
|
|
@@ -264,16 +188,7 @@ export var DescribeLunaClientResponse = [
|
|
|
264
188
|
];
|
|
265
189
|
export var GetConfigRequest = [3, n0, _GCR, 0, [_CA, _CV, _HL], [0, 0, 64 | 0]];
|
|
266
190
|
export var GetConfigResponse = [3, n0, _GCRe, 0, [_CTo, _CFo, _CC], [0, 0, 0]];
|
|
267
|
-
export var InvalidRequestException = [
|
|
268
|
-
-3,
|
|
269
|
-
n0,
|
|
270
|
-
_IRE,
|
|
271
|
-
{
|
|
272
|
-
[_e]: _c,
|
|
273
|
-
},
|
|
274
|
-
[_m, _r],
|
|
275
|
-
[0, 2],
|
|
276
|
-
];
|
|
191
|
+
export var InvalidRequestException = [-3, n0, _IRE, { [_e]: _c }, [_m, _r], [0, 2]];
|
|
277
192
|
TypeRegistry.for(n0).registerError(InvalidRequestException, __InvalidRequestException);
|
|
278
193
|
export var ListAvailableZonesRequest = [3, n0, _LAZR, 0, [], []];
|
|
279
194
|
export var ListAvailableZonesResponse = [3, n0, _LAZRi, 0, [_AZL], [64 | 0]];
|
|
@@ -291,47 +206,15 @@ export var ModifyHsmRequest = [
|
|
|
291
206
|
3,
|
|
292
207
|
n0,
|
|
293
208
|
_MHRod,
|
|
294
|
-
{
|
|
295
|
-
[_xN]: _MHRod,
|
|
296
|
-
},
|
|
209
|
+
{ [_xN]: _MHRod },
|
|
297
210
|
[_HAs, _SI, _EI, _IRA, _EIx, _SIy],
|
|
298
211
|
[
|
|
299
|
-
[
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
],
|
|
305
|
-
[
|
|
306
|
-
0,
|
|
307
|
-
{
|
|
308
|
-
[_xN]: _SI,
|
|
309
|
-
},
|
|
310
|
-
],
|
|
311
|
-
[
|
|
312
|
-
0,
|
|
313
|
-
{
|
|
314
|
-
[_xN]: _EI,
|
|
315
|
-
},
|
|
316
|
-
],
|
|
317
|
-
[
|
|
318
|
-
0,
|
|
319
|
-
{
|
|
320
|
-
[_xN]: _IRA,
|
|
321
|
-
},
|
|
322
|
-
],
|
|
323
|
-
[
|
|
324
|
-
0,
|
|
325
|
-
{
|
|
326
|
-
[_xN]: _EIx,
|
|
327
|
-
},
|
|
328
|
-
],
|
|
329
|
-
[
|
|
330
|
-
0,
|
|
331
|
-
{
|
|
332
|
-
[_xN]: _SIy,
|
|
333
|
-
},
|
|
334
|
-
],
|
|
212
|
+
[0, { [_xN]: _HAs }],
|
|
213
|
+
[0, { [_xN]: _SI }],
|
|
214
|
+
[0, { [_xN]: _EI }],
|
|
215
|
+
[0, { [_xN]: _IRA }],
|
|
216
|
+
[0, { [_xN]: _EIx }],
|
|
217
|
+
[0, { [_xN]: _SIy }],
|
|
335
218
|
],
|
|
336
219
|
];
|
|
337
220
|
export var ModifyHsmResponse = [3, n0, _MHRodi, 0, [_HAs], [0]];
|
package/dist-types/CloudHSM.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CloudHSMClient } from "./CloudHSMClient";
|
|
3
3
|
import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
|
|
4
4
|
import { CreateHapgCommandInput, CreateHapgCommandOutput } from "./commands/CreateHapgCommand";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
|
|
11
11
|
import { CreateHapgCommandInput, CreateHapgCommandOutput } from "./commands/CreateHapgCommand";
|
|
12
12
|
import { CreateHsmCommandInput, CreateHsmCommandOutput } from "./commands/CreateHsmCommand";
|
|
@@ -28,7 +28,7 @@ import { ModifyHsmCommandInput, ModifyHsmCommandOutput } from "./commands/Modify
|
|
|
28
28
|
import { ModifyLunaClientCommandInput, ModifyLunaClientCommandOutput } from "./commands/ModifyLunaClientCommand";
|
|
29
29
|
import { RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandOutput } from "./commands/RemoveTagsFromResourceCommand";
|
|
30
30
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
31
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
31
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
32
32
|
export { __Client };
|
|
33
33
|
/**
|
|
34
34
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { CloudHSMHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { CloudHSMHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig } from "../CloudHSMClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type CloudHSMClientResolvedConfig } from "../CloudHSMClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { AddTagsToResourceRequest, AddTagsToResourceResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { AddTagsToResourceRequest, AddTagsToResourceResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { CreateHapgRequest, CreateHapgResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { CreateHapgRequest, CreateHapgResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { CreateHsmRequest, CreateHsmResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { CreateHsmRequest, CreateHsmResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { CreateLunaClientRequest, CreateLunaClientResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { CreateLunaClientRequest, CreateLunaClientResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { DeleteHapgRequest, DeleteHapgResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { DeleteHapgRequest, DeleteHapgResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { DeleteHsmRequest, DeleteHsmResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { DeleteHsmRequest, DeleteHsmResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { DeleteLunaClientRequest, DeleteLunaClientResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { DeleteLunaClientRequest, DeleteLunaClientResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { DescribeHapgRequest, DescribeHapgResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { DescribeHapgRequest, DescribeHapgResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { DescribeHsmRequest, DescribeHsmResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { DescribeHsmRequest, DescribeHsmResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { DescribeLunaClientRequest, DescribeLunaClientResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { DescribeLunaClientRequest, DescribeLunaClientResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { GetConfigRequest, GetConfigResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { GetConfigRequest, GetConfigResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { ListAvailableZonesRequest, ListAvailableZonesResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { ListAvailableZonesRequest, ListAvailableZonesResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { ListHapgsRequest, ListHapgsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { ListHapgsRequest, ListHapgsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { ListHsmsRequest, ListHsmsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { ListHsmsRequest, ListHsmsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { ListLunaClientsRequest, ListLunaClientsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { ListLunaClientsRequest, ListLunaClientsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { ModifyHapgRequest, ModifyHapgResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { ModifyHapgRequest, ModifyHapgResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { ModifyHsmRequest, ModifyHsmResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { ModifyHsmRequest, ModifyHsmResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { ModifyLunaClientRequest, ModifyLunaClientResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { ModifyLunaClientRequest, ModifyLunaClientResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
-
import { RemoveTagsFromResourceRequest, RemoveTagsFromResourceResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudHSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudHSMClient";
|
|
4
|
+
import type { RemoveTagsFromResourceRequest, RemoveTagsFromResourceResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
Region?: string | undefined;
|
|
35
47
|
UseDualStack?: boolean | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CloudHSMServiceException as __BaseException } from "./CloudHSMServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Indicates that an internal error occurred.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var AddTagsToResourceRequest: StaticStructureSchema;
|
|
3
3
|
export declare var AddTagsToResourceResponse: StaticStructureSchema;
|
|
4
4
|
export declare var CloudHsmInternalException: StaticErrorSchema;
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudhsm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudhsm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.946.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",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo cloudhsm"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo cloudhsm",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +21,38 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.946.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.946.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.946.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
31
|
"@aws-sdk/types": "3.936.0",
|
|
31
32
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.946.0",
|
|
34
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.7",
|
|
36
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
38
|
"@smithy/hash-node": "^4.2.5",
|
|
38
39
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
40
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
42
43
|
"@smithy/middleware-serde": "^4.2.6",
|
|
43
44
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
45
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
46
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
47
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
48
49
|
"@smithy/types": "^4.9.0",
|
|
49
50
|
"@smithy/url-parser": "^4.2.5",
|
|
50
51
|
"@smithy/util-base64": "^4.3.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
55
56
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
57
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
58
|
"@smithy/util-retry": "^4.2.5",
|