@aws-sdk/client-cloudhsm 3.926.0 → 3.928.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 +486 -614
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CloudHSMClient.js +2 -0
- package/dist-es/commands/AddTagsToResourceCommand.js +3 -9
- package/dist-es/commands/CreateHapgCommand.js +3 -9
- package/dist-es/commands/CreateHsmCommand.js +3 -9
- package/dist-es/commands/CreateLunaClientCommand.js +3 -9
- package/dist-es/commands/DeleteHapgCommand.js +3 -9
- package/dist-es/commands/DeleteHsmCommand.js +3 -9
- package/dist-es/commands/DeleteLunaClientCommand.js +3 -9
- package/dist-es/commands/DescribeHapgCommand.js +3 -9
- package/dist-es/commands/DescribeHsmCommand.js +3 -9
- package/dist-es/commands/DescribeLunaClientCommand.js +3 -9
- package/dist-es/commands/GetConfigCommand.js +3 -9
- package/dist-es/commands/ListAvailableZonesCommand.js +3 -9
- package/dist-es/commands/ListHapgsCommand.js +3 -9
- package/dist-es/commands/ListHsmsCommand.js +3 -9
- package/dist-es/commands/ListLunaClientsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ModifyHapgCommand.js +3 -9
- package/dist-es/commands/ModifyHsmCommand.js +3 -9
- package/dist-es/commands/ModifyLunaClientCommand.js +3 -9
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +443 -0
- package/dist-types/CloudHSMClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +75 -0
- package/dist-types/ts3.4/CloudHSMClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +80 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -469
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -182
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -245
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
const _ATTR = "AddTagsToResource";
|
|
2
|
+
const _ATTRR = "AddTagsToResourceRequest";
|
|
3
|
+
const _ATTRRd = "AddTagsToResourceResponse";
|
|
4
|
+
const _AZ = "AvailabilityZone";
|
|
5
|
+
const _AZL = "AZList";
|
|
6
|
+
const _C = "Certificate";
|
|
7
|
+
const _CA = "ClientArn";
|
|
8
|
+
const _CC = "ConfigCred";
|
|
9
|
+
const _CF = "CertificateFingerprint";
|
|
10
|
+
const _CFo = "ConfigFile";
|
|
11
|
+
const _CH = "CreateHapg";
|
|
12
|
+
const _CHIE = "CloudHsmInternalException";
|
|
13
|
+
const _CHR = "CreateHapgRequest";
|
|
14
|
+
const _CHRr = "CreateHapgResponse";
|
|
15
|
+
const _CHRre = "CreateHsmRequest";
|
|
16
|
+
const _CHRrea = "CreateHsmResponse";
|
|
17
|
+
const _CHSE = "CloudHsmServiceException";
|
|
18
|
+
const _CHr = "CreateHsm";
|
|
19
|
+
const _CL = "ClientList";
|
|
20
|
+
const _CLC = "CreateLunaClient";
|
|
21
|
+
const _CLCR = "CreateLunaClientRequest";
|
|
22
|
+
const _CLCRr = "CreateLunaClientResponse";
|
|
23
|
+
const _CT = "ClientToken";
|
|
24
|
+
const _CTo = "ConfigType";
|
|
25
|
+
const _CV = "ClientVersion";
|
|
26
|
+
const _DH = "DeleteHapg";
|
|
27
|
+
const _DHR = "DeleteHapgRequest";
|
|
28
|
+
const _DHRe = "DeleteHapgResponse";
|
|
29
|
+
const _DHRel = "DeleteHsmRequest";
|
|
30
|
+
const _DHRele = "DeleteHsmResponse";
|
|
31
|
+
const _DHRes = "DescribeHapgRequest";
|
|
32
|
+
const _DHResc = "DescribeHapgResponse";
|
|
33
|
+
const _DHRescr = "DescribeHsmRequest";
|
|
34
|
+
const _DHRescri = "DescribeHsmResponse";
|
|
35
|
+
const _DHe = "DeleteHsm";
|
|
36
|
+
const _DHes = "DescribeHapg";
|
|
37
|
+
const _DHesc = "DescribeHsm";
|
|
38
|
+
const _DLC = "DeleteLunaClient";
|
|
39
|
+
const _DLCR = "DeleteLunaClientRequest";
|
|
40
|
+
const _DLCRe = "DeleteLunaClientResponse";
|
|
41
|
+
const _DLCRes = "DescribeLunaClientRequest";
|
|
42
|
+
const _DLCResc = "DescribeLunaClientResponse";
|
|
43
|
+
const _DLCe = "DescribeLunaClient";
|
|
44
|
+
const _EI = "EniIp";
|
|
45
|
+
const _EIn = "EniId";
|
|
46
|
+
const _EIx = "ExternalId";
|
|
47
|
+
const _GC = "GetConfig";
|
|
48
|
+
const _GCR = "GetConfigRequest";
|
|
49
|
+
const _GCRe = "GetConfigResponse";
|
|
50
|
+
const _HA = "HapgArn";
|
|
51
|
+
const _HAs = "HsmArn";
|
|
52
|
+
const _HL = "HapgList";
|
|
53
|
+
const _HLAF = "HsmsLastActionFailed";
|
|
54
|
+
const _HLs = "HsmList";
|
|
55
|
+
const _HPD = "HsmsPendingDeletion";
|
|
56
|
+
const _HPR = "HsmsPendingRegistration";
|
|
57
|
+
const _HS = "HapgSerial";
|
|
58
|
+
const _HSN = "HsmSerialNumber";
|
|
59
|
+
const _HT = "HsmType";
|
|
60
|
+
const _IRA = "IamRoleArn";
|
|
61
|
+
const _IRE = "InvalidRequestException";
|
|
62
|
+
const _K = "Key";
|
|
63
|
+
const _L = "Label";
|
|
64
|
+
const _LAZ = "ListAvailableZones";
|
|
65
|
+
const _LAZR = "ListAvailableZonesRequest";
|
|
66
|
+
const _LAZRi = "ListAvailableZonesResponse";
|
|
67
|
+
const _LH = "ListHapgs";
|
|
68
|
+
const _LHR = "ListHapgsRequest";
|
|
69
|
+
const _LHRi = "ListHapgsResponse";
|
|
70
|
+
const _LHRis = "ListHsmsRequest";
|
|
71
|
+
const _LHRist = "ListHsmsResponse";
|
|
72
|
+
const _LHi = "ListHsms";
|
|
73
|
+
const _LLC = "ListLunaClients";
|
|
74
|
+
const _LLCR = "ListLunaClientsRequest";
|
|
75
|
+
const _LLCRi = "ListLunaClientsResponse";
|
|
76
|
+
const _LMT = "LastModifiedTimestamp";
|
|
77
|
+
const _LTFR = "ListTagsForResource";
|
|
78
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
79
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
80
|
+
const _MH = "ModifyHapg";
|
|
81
|
+
const _MHR = "ModifyHapgRequest";
|
|
82
|
+
const _MHRo = "ModifyHapgResponse";
|
|
83
|
+
const _MHRod = "ModifyHsmRequest";
|
|
84
|
+
const _MHRodi = "ModifyHsmResponse";
|
|
85
|
+
const _MHo = "ModifyHsm";
|
|
86
|
+
const _MLC = "ModifyLunaClient";
|
|
87
|
+
const _MLCR = "ModifyLunaClientRequest";
|
|
88
|
+
const _MLCRo = "ModifyLunaClientResponse";
|
|
89
|
+
const _NT = "NextToken";
|
|
90
|
+
const _P = "Partitions";
|
|
91
|
+
const _PSL = "PartitionSerialList";
|
|
92
|
+
const _RA = "ResourceArn";
|
|
93
|
+
const _RTFR = "RemoveTagsFromResource";
|
|
94
|
+
const _RTFRR = "RemoveTagsFromResourceRequest";
|
|
95
|
+
const _RTFRRe = "RemoveTagsFromResourceResponse";
|
|
96
|
+
const _S = "Status";
|
|
97
|
+
const _SCLU = "ServerCertLastUpdated";
|
|
98
|
+
const _SCU = "ServerCertUri";
|
|
99
|
+
const _SD = "StatusDetails";
|
|
100
|
+
const _SED = "SubscriptionEndDate";
|
|
101
|
+
const _SI = "SubnetId";
|
|
102
|
+
const _SIy = "SyslogIp";
|
|
103
|
+
const _SK = "SshKey";
|
|
104
|
+
const _SKLU = "SshKeyLastUpdated";
|
|
105
|
+
const _SN = "SerialNumber";
|
|
106
|
+
const _SPK = "SshPublicKey";
|
|
107
|
+
const _SSD = "SubscriptionStartDate";
|
|
108
|
+
const _ST = "SubscriptionType";
|
|
109
|
+
const _SV = "SoftwareVersion";
|
|
110
|
+
const _St = "State";
|
|
111
|
+
const _T = "Tag";
|
|
112
|
+
const _TKL = "TagKeyList";
|
|
113
|
+
const _TL = "TagList";
|
|
114
|
+
const _V = "Value";
|
|
115
|
+
const _VI = "VpcId";
|
|
116
|
+
const _VN = "VendorName";
|
|
117
|
+
const _c = "client";
|
|
118
|
+
const _e = "error";
|
|
119
|
+
const _m = "message";
|
|
120
|
+
const _r = "retryable";
|
|
121
|
+
const _s = "server";
|
|
122
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudhsm";
|
|
123
|
+
const _xN = "xmlName";
|
|
124
|
+
const n0 = "com.amazonaws.cloudhsm";
|
|
125
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
126
|
+
import { CloudHSMServiceException as __CloudHSMServiceException } from "../models/CloudHSMServiceException";
|
|
127
|
+
import { CloudHsmInternalException as __CloudHsmInternalException, CloudHsmServiceException as __CloudHsmServiceException, InvalidRequestException as __InvalidRequestException, } from "../models/index";
|
|
128
|
+
export var AddTagsToResourceRequest = [3, n0, _ATTRR, 0, [_RA, _TL], [0, () => TagList]];
|
|
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
|
+
];
|
|
140
|
+
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
|
+
];
|
|
151
|
+
TypeRegistry.for(n0).registerError(CloudHsmServiceException, __CloudHsmServiceException);
|
|
152
|
+
export var CreateHapgRequest = [3, n0, _CHR, 0, [_L], [0]];
|
|
153
|
+
export var CreateHapgResponse = [3, n0, _CHRr, 0, [_HA], [0]];
|
|
154
|
+
export var CreateHsmRequest = [
|
|
155
|
+
3,
|
|
156
|
+
n0,
|
|
157
|
+
_CHRre,
|
|
158
|
+
{
|
|
159
|
+
[_xN]: _CHRre,
|
|
160
|
+
},
|
|
161
|
+
[_SI, _SK, _EI, _IRA, _EIx, _ST, _CT, _SIy],
|
|
162
|
+
[
|
|
163
|
+
[
|
|
164
|
+
0,
|
|
165
|
+
{
|
|
166
|
+
[_xN]: _SI,
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
[
|
|
170
|
+
0,
|
|
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
|
+
],
|
|
211
|
+
],
|
|
212
|
+
];
|
|
213
|
+
export var CreateHsmResponse = [3, n0, _CHRrea, 0, [_HAs], [0]];
|
|
214
|
+
export var CreateLunaClientRequest = [3, n0, _CLCR, 0, [_L, _C], [0, 0]];
|
|
215
|
+
export var CreateLunaClientResponse = [3, n0, _CLCRr, 0, [_CA], [0]];
|
|
216
|
+
export var DeleteHapgRequest = [3, n0, _DHR, 0, [_HA], [0]];
|
|
217
|
+
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
|
+
];
|
|
235
|
+
export var DeleteHsmResponse = [3, n0, _DHRele, 0, [_S], [0]];
|
|
236
|
+
export var DeleteLunaClientRequest = [3, n0, _DLCR, 0, [_CA], [0]];
|
|
237
|
+
export var DeleteLunaClientResponse = [3, n0, _DLCRe, 0, [_S], [0]];
|
|
238
|
+
export var DescribeHapgRequest = [3, n0, _DHRes, 0, [_HA], [0]];
|
|
239
|
+
export var DescribeHapgResponse = [
|
|
240
|
+
3,
|
|
241
|
+
n0,
|
|
242
|
+
_DHResc,
|
|
243
|
+
0,
|
|
244
|
+
[_HA, _HS, _HLAF, _HPD, _HPR, _L, _LMT, _PSL, _St],
|
|
245
|
+
[0, 0, 64 | 0, 64 | 0, 64 | 0, 0, 0, 64 | 0, 0],
|
|
246
|
+
];
|
|
247
|
+
export var DescribeHsmRequest = [3, n0, _DHRescr, 0, [_HAs, _HSN], [0, 0]];
|
|
248
|
+
export var DescribeHsmResponse = [
|
|
249
|
+
3,
|
|
250
|
+
n0,
|
|
251
|
+
_DHRescri,
|
|
252
|
+
0,
|
|
253
|
+
[_HAs, _S, _SD, _AZ, _EIn, _EI, _ST, _SSD, _SED, _VI, _SI, _IRA, _SN, _VN, _HT, _SV, _SPK, _SKLU, _SCU, _SCLU, _P],
|
|
254
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0],
|
|
255
|
+
];
|
|
256
|
+
export var DescribeLunaClientRequest = [3, n0, _DLCRes, 0, [_CA, _CF], [0, 0]];
|
|
257
|
+
export var DescribeLunaClientResponse = [
|
|
258
|
+
3,
|
|
259
|
+
n0,
|
|
260
|
+
_DLCResc,
|
|
261
|
+
0,
|
|
262
|
+
[_CA, _C, _CF, _LMT, _L],
|
|
263
|
+
[0, 0, 0, 0, 0],
|
|
264
|
+
];
|
|
265
|
+
export var GetConfigRequest = [3, n0, _GCR, 0, [_CA, _CV, _HL], [0, 0, 64 | 0]];
|
|
266
|
+
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
|
+
];
|
|
277
|
+
TypeRegistry.for(n0).registerError(InvalidRequestException, __InvalidRequestException);
|
|
278
|
+
export var ListAvailableZonesRequest = [3, n0, _LAZR, 0, [], []];
|
|
279
|
+
export var ListAvailableZonesResponse = [3, n0, _LAZRi, 0, [_AZL], [64 | 0]];
|
|
280
|
+
export var ListHapgsRequest = [3, n0, _LHR, 0, [_NT], [0]];
|
|
281
|
+
export var ListHapgsResponse = [3, n0, _LHRi, 0, [_HL, _NT], [64 | 0, 0]];
|
|
282
|
+
export var ListHsmsRequest = [3, n0, _LHRis, 0, [_NT], [0]];
|
|
283
|
+
export var ListHsmsResponse = [3, n0, _LHRist, 0, [_HLs, _NT], [64 | 0, 0]];
|
|
284
|
+
export var ListLunaClientsRequest = [3, n0, _LLCR, 0, [_NT], [0]];
|
|
285
|
+
export var ListLunaClientsResponse = [3, n0, _LLCRi, 0, [_CL, _NT], [64 | 0, 0]];
|
|
286
|
+
export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [0]];
|
|
287
|
+
export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_TL], [() => TagList]];
|
|
288
|
+
export var ModifyHapgRequest = [3, n0, _MHR, 0, [_HA, _L, _PSL], [0, 0, 64 | 0]];
|
|
289
|
+
export var ModifyHapgResponse = [3, n0, _MHRo, 0, [_HA], [0]];
|
|
290
|
+
export var ModifyHsmRequest = [
|
|
291
|
+
3,
|
|
292
|
+
n0,
|
|
293
|
+
_MHRod,
|
|
294
|
+
{
|
|
295
|
+
[_xN]: _MHRod,
|
|
296
|
+
},
|
|
297
|
+
[_HAs, _SI, _EI, _IRA, _EIx, _SIy],
|
|
298
|
+
[
|
|
299
|
+
[
|
|
300
|
+
0,
|
|
301
|
+
{
|
|
302
|
+
[_xN]: _HAs,
|
|
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
|
+
],
|
|
335
|
+
],
|
|
336
|
+
];
|
|
337
|
+
export var ModifyHsmResponse = [3, n0, _MHRodi, 0, [_HAs], [0]];
|
|
338
|
+
export var ModifyLunaClientRequest = [3, n0, _MLCR, 0, [_CA, _C], [0, 0]];
|
|
339
|
+
export var ModifyLunaClientResponse = [3, n0, _MLCRo, 0, [_CA], [0]];
|
|
340
|
+
export var RemoveTagsFromResourceRequest = [3, n0, _RTFRR, 0, [_RA, _TKL], [0, 64 | 0]];
|
|
341
|
+
export var RemoveTagsFromResourceResponse = [3, n0, _RTFRRe, 0, [_S], [0]];
|
|
342
|
+
export var Tag = [3, n0, _T, 0, [_K, _V], [0, 0]];
|
|
343
|
+
export var __Unit = "unit";
|
|
344
|
+
export var CloudHSMServiceException = [-3, _sm, "CloudHSMServiceException", 0, [], []];
|
|
345
|
+
TypeRegistry.for(_sm).registerError(CloudHSMServiceException, __CloudHSMServiceException);
|
|
346
|
+
export var AZList = 64 | 0;
|
|
347
|
+
export var ClientList = 64 | 0;
|
|
348
|
+
export var HapgList = 64 | 0;
|
|
349
|
+
export var HsmList = 64 | 0;
|
|
350
|
+
export var PartitionList = 64 | 0;
|
|
351
|
+
export var PartitionSerialList = 64 | 0;
|
|
352
|
+
export var TagKeyList = 64 | 0;
|
|
353
|
+
export var TagList = [1, n0, _TL, 0, () => Tag];
|
|
354
|
+
export var AddTagsToResource = [
|
|
355
|
+
9,
|
|
356
|
+
n0,
|
|
357
|
+
_ATTR,
|
|
358
|
+
0,
|
|
359
|
+
() => AddTagsToResourceRequest,
|
|
360
|
+
() => AddTagsToResourceResponse,
|
|
361
|
+
];
|
|
362
|
+
export var CreateHapg = [9, n0, _CH, 0, () => CreateHapgRequest, () => CreateHapgResponse];
|
|
363
|
+
export var CreateHsm = [9, n0, _CHr, 0, () => CreateHsmRequest, () => CreateHsmResponse];
|
|
364
|
+
export var CreateLunaClient = [
|
|
365
|
+
9,
|
|
366
|
+
n0,
|
|
367
|
+
_CLC,
|
|
368
|
+
0,
|
|
369
|
+
() => CreateLunaClientRequest,
|
|
370
|
+
() => CreateLunaClientResponse,
|
|
371
|
+
];
|
|
372
|
+
export var DeleteHapg = [9, n0, _DH, 0, () => DeleteHapgRequest, () => DeleteHapgResponse];
|
|
373
|
+
export var DeleteHsm = [9, n0, _DHe, 0, () => DeleteHsmRequest, () => DeleteHsmResponse];
|
|
374
|
+
export var DeleteLunaClient = [
|
|
375
|
+
9,
|
|
376
|
+
n0,
|
|
377
|
+
_DLC,
|
|
378
|
+
0,
|
|
379
|
+
() => DeleteLunaClientRequest,
|
|
380
|
+
() => DeleteLunaClientResponse,
|
|
381
|
+
];
|
|
382
|
+
export var DescribeHapg = [
|
|
383
|
+
9,
|
|
384
|
+
n0,
|
|
385
|
+
_DHes,
|
|
386
|
+
0,
|
|
387
|
+
() => DescribeHapgRequest,
|
|
388
|
+
() => DescribeHapgResponse,
|
|
389
|
+
];
|
|
390
|
+
export var DescribeHsm = [9, n0, _DHesc, 0, () => DescribeHsmRequest, () => DescribeHsmResponse];
|
|
391
|
+
export var DescribeLunaClient = [
|
|
392
|
+
9,
|
|
393
|
+
n0,
|
|
394
|
+
_DLCe,
|
|
395
|
+
0,
|
|
396
|
+
() => DescribeLunaClientRequest,
|
|
397
|
+
() => DescribeLunaClientResponse,
|
|
398
|
+
];
|
|
399
|
+
export var GetConfig = [9, n0, _GC, 0, () => GetConfigRequest, () => GetConfigResponse];
|
|
400
|
+
export var ListAvailableZones = [
|
|
401
|
+
9,
|
|
402
|
+
n0,
|
|
403
|
+
_LAZ,
|
|
404
|
+
0,
|
|
405
|
+
() => ListAvailableZonesRequest,
|
|
406
|
+
() => ListAvailableZonesResponse,
|
|
407
|
+
];
|
|
408
|
+
export var ListHapgs = [9, n0, _LH, 0, () => ListHapgsRequest, () => ListHapgsResponse];
|
|
409
|
+
export var ListHsms = [9, n0, _LHi, 0, () => ListHsmsRequest, () => ListHsmsResponse];
|
|
410
|
+
export var ListLunaClients = [
|
|
411
|
+
9,
|
|
412
|
+
n0,
|
|
413
|
+
_LLC,
|
|
414
|
+
0,
|
|
415
|
+
() => ListLunaClientsRequest,
|
|
416
|
+
() => ListLunaClientsResponse,
|
|
417
|
+
];
|
|
418
|
+
export var ListTagsForResource = [
|
|
419
|
+
9,
|
|
420
|
+
n0,
|
|
421
|
+
_LTFR,
|
|
422
|
+
0,
|
|
423
|
+
() => ListTagsForResourceRequest,
|
|
424
|
+
() => ListTagsForResourceResponse,
|
|
425
|
+
];
|
|
426
|
+
export var ModifyHapg = [9, n0, _MH, 0, () => ModifyHapgRequest, () => ModifyHapgResponse];
|
|
427
|
+
export var ModifyHsm = [9, n0, _MHo, 0, () => ModifyHsmRequest, () => ModifyHsmResponse];
|
|
428
|
+
export var ModifyLunaClient = [
|
|
429
|
+
9,
|
|
430
|
+
n0,
|
|
431
|
+
_MLC,
|
|
432
|
+
0,
|
|
433
|
+
() => ModifyLunaClientRequest,
|
|
434
|
+
() => ModifyLunaClientResponse,
|
|
435
|
+
];
|
|
436
|
+
export var RemoveTagsFromResource = [
|
|
437
|
+
9,
|
|
438
|
+
n0,
|
|
439
|
+
_RTFR,
|
|
440
|
+
0,
|
|
441
|
+
() => RemoveTagsFromResourceRequest,
|
|
442
|
+
() => RemoveTagsFromResourceResponse,
|
|
443
|
+
];
|
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
|
|
11
11
|
import { CreateHapgCommandInput, CreateHapgCommandOutput } from "./commands/CreateHapgCommand";
|
|
@@ -161,6 +161,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
161
161
|
* Optional extensions
|
|
162
162
|
*/
|
|
163
163
|
extensions?: RuntimeExtension[];
|
|
164
|
+
/**
|
|
165
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
166
|
+
* may be overridden. A default will always be set by the client.
|
|
167
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
168
|
+
* the client.
|
|
169
|
+
* @alpha
|
|
170
|
+
*
|
|
171
|
+
*/
|
|
172
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
164
173
|
/**
|
|
165
174
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
166
175
|
*/
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
|
|
|
31
31
|
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
34
35
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
36
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
37
|
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;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
|
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
30
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudHSMHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
17
18
|
serviceId: string;
|
|
18
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
20
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var AddTagsToResourceRequest: StaticStructureSchema;
|
|
3
|
+
export declare var AddTagsToResourceResponse: StaticStructureSchema;
|
|
4
|
+
export declare var CloudHsmInternalException: StaticErrorSchema;
|
|
5
|
+
export declare var CloudHsmServiceException: StaticErrorSchema;
|
|
6
|
+
export declare var CreateHapgRequest: StaticStructureSchema;
|
|
7
|
+
export declare var CreateHapgResponse: StaticStructureSchema;
|
|
8
|
+
export declare var CreateHsmRequest: StaticStructureSchema;
|
|
9
|
+
export declare var CreateHsmResponse: StaticStructureSchema;
|
|
10
|
+
export declare var CreateLunaClientRequest: StaticStructureSchema;
|
|
11
|
+
export declare var CreateLunaClientResponse: StaticStructureSchema;
|
|
12
|
+
export declare var DeleteHapgRequest: StaticStructureSchema;
|
|
13
|
+
export declare var DeleteHapgResponse: StaticStructureSchema;
|
|
14
|
+
export declare var DeleteHsmRequest: StaticStructureSchema;
|
|
15
|
+
export declare var DeleteHsmResponse: StaticStructureSchema;
|
|
16
|
+
export declare var DeleteLunaClientRequest: StaticStructureSchema;
|
|
17
|
+
export declare var DeleteLunaClientResponse: StaticStructureSchema;
|
|
18
|
+
export declare var DescribeHapgRequest: StaticStructureSchema;
|
|
19
|
+
export declare var DescribeHapgResponse: StaticStructureSchema;
|
|
20
|
+
export declare var DescribeHsmRequest: StaticStructureSchema;
|
|
21
|
+
export declare var DescribeHsmResponse: StaticStructureSchema;
|
|
22
|
+
export declare var DescribeLunaClientRequest: StaticStructureSchema;
|
|
23
|
+
export declare var DescribeLunaClientResponse: StaticStructureSchema;
|
|
24
|
+
export declare var GetConfigRequest: StaticStructureSchema;
|
|
25
|
+
export declare var GetConfigResponse: StaticStructureSchema;
|
|
26
|
+
export declare var InvalidRequestException: StaticErrorSchema;
|
|
27
|
+
export declare var ListAvailableZonesRequest: StaticStructureSchema;
|
|
28
|
+
export declare var ListAvailableZonesResponse: StaticStructureSchema;
|
|
29
|
+
export declare var ListHapgsRequest: StaticStructureSchema;
|
|
30
|
+
export declare var ListHapgsResponse: StaticStructureSchema;
|
|
31
|
+
export declare var ListHsmsRequest: StaticStructureSchema;
|
|
32
|
+
export declare var ListHsmsResponse: StaticStructureSchema;
|
|
33
|
+
export declare var ListLunaClientsRequest: StaticStructureSchema;
|
|
34
|
+
export declare var ListLunaClientsResponse: StaticStructureSchema;
|
|
35
|
+
export declare var ListTagsForResourceRequest: StaticStructureSchema;
|
|
36
|
+
export declare var ListTagsForResourceResponse: StaticStructureSchema;
|
|
37
|
+
export declare var ModifyHapgRequest: StaticStructureSchema;
|
|
38
|
+
export declare var ModifyHapgResponse: StaticStructureSchema;
|
|
39
|
+
export declare var ModifyHsmRequest: StaticStructureSchema;
|
|
40
|
+
export declare var ModifyHsmResponse: StaticStructureSchema;
|
|
41
|
+
export declare var ModifyLunaClientRequest: StaticStructureSchema;
|
|
42
|
+
export declare var ModifyLunaClientResponse: StaticStructureSchema;
|
|
43
|
+
export declare var RemoveTagsFromResourceRequest: StaticStructureSchema;
|
|
44
|
+
export declare var RemoveTagsFromResourceResponse: StaticStructureSchema;
|
|
45
|
+
export declare var Tag: StaticStructureSchema;
|
|
46
|
+
export declare var __Unit: "unit";
|
|
47
|
+
export declare var CloudHSMServiceException: StaticErrorSchema;
|
|
48
|
+
export declare var AZList: number;
|
|
49
|
+
export declare var ClientList: number;
|
|
50
|
+
export declare var HapgList: number;
|
|
51
|
+
export declare var HsmList: number;
|
|
52
|
+
export declare var PartitionList: number;
|
|
53
|
+
export declare var PartitionSerialList: number;
|
|
54
|
+
export declare var TagKeyList: number;
|
|
55
|
+
export declare var TagList: StaticListSchema;
|
|
56
|
+
export declare var AddTagsToResource: StaticOperationSchema;
|
|
57
|
+
export declare var CreateHapg: StaticOperationSchema;
|
|
58
|
+
export declare var CreateHsm: StaticOperationSchema;
|
|
59
|
+
export declare var CreateLunaClient: StaticOperationSchema;
|
|
60
|
+
export declare var DeleteHapg: StaticOperationSchema;
|
|
61
|
+
export declare var DeleteHsm: StaticOperationSchema;
|
|
62
|
+
export declare var DeleteLunaClient: StaticOperationSchema;
|
|
63
|
+
export declare var DescribeHapg: StaticOperationSchema;
|
|
64
|
+
export declare var DescribeHsm: StaticOperationSchema;
|
|
65
|
+
export declare var DescribeLunaClient: StaticOperationSchema;
|
|
66
|
+
export declare var GetConfig: StaticOperationSchema;
|
|
67
|
+
export declare var ListAvailableZones: StaticOperationSchema;
|
|
68
|
+
export declare var ListHapgs: StaticOperationSchema;
|
|
69
|
+
export declare var ListHsms: StaticOperationSchema;
|
|
70
|
+
export declare var ListLunaClients: StaticOperationSchema;
|
|
71
|
+
export declare var ListTagsForResource: StaticOperationSchema;
|
|
72
|
+
export declare var ModifyHapg: StaticOperationSchema;
|
|
73
|
+
export declare var ModifyHsm: StaticOperationSchema;
|
|
74
|
+
export declare var ModifyLunaClient: StaticOperationSchema;
|
|
75
|
+
export declare var RemoveTagsFromResource: StaticOperationSchema;
|
|
@@ -30,10 +30,13 @@ import {
|
|
|
30
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
ClientProtocol,
|
|
33
34
|
Decoder as __Decoder,
|
|
34
35
|
Encoder as __Encoder,
|
|
35
36
|
HashConstructor as __HashConstructor,
|
|
36
37
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
38
|
+
HttpRequest,
|
|
39
|
+
HttpResponse,
|
|
37
40
|
Logger as __Logger,
|
|
38
41
|
Provider as __Provider,
|
|
39
42
|
Provider,
|
|
@@ -198,6 +201,7 @@ export interface ClientDefaults
|
|
|
198
201
|
retryMode?: string | __Provider<string>;
|
|
199
202
|
logger?: __Logger;
|
|
200
203
|
extensions?: RuntimeExtension[];
|
|
204
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
201
205
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
202
206
|
}
|
|
203
207
|
export type CloudHSMClientConfigType = Partial<
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
userAgentAppId?:
|
|
43
47
|
| string
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
retryStrategy?:
|
|
43
47
|
| import("@smithy/types").RetryStrategy
|
|
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
|
|
|
37
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
39
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
+
import("@smithy/types").HttpRequest,
|
|
42
|
+
import("@smithy/types").HttpResponse
|
|
43
|
+
>;
|
|
40
44
|
defaultsMode:
|
|
41
45
|
| import("@smithy/smithy-client").DefaultsMode
|
|
42
46
|
| import("@smithy/types").Provider<
|
|
@@ -14,6 +14,10 @@ export declare const getRuntimeConfig: (config: CloudHSMClientConfig) => {
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudHSMHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
18
|
+
import("@smithy/types").HttpRequest,
|
|
19
|
+
import("@smithy/types").HttpResponse
|
|
20
|
+
>;
|
|
17
21
|
serviceId: string;
|
|
18
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
23
|
utf8Decoder: import("@smithy/types").Decoder;
|