@aws-sdk/client-cloudhsm 3.315.0 → 3.316.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/CloudHSM.js +24 -280
- package/dist-es/CloudHSM.js +24 -280
- package/dist-types/CloudHSM.d.ts +37 -293
- package/dist-types/ts3.4/CloudHSM.d.ts +2 -1
- package/package.json +6 -6
package/dist-cjs/CloudHSM.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CloudHSM = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CloudHSMClient_1 = require("./CloudHSMClient");
|
|
5
6
|
const AddTagsToResourceCommand_1 = require("./commands/AddTagsToResourceCommand");
|
|
6
7
|
const CreateHapgCommand_1 = require("./commands/CreateHapgCommand");
|
|
@@ -22,286 +23,29 @@ const ModifyHapgCommand_1 = require("./commands/ModifyHapgCommand");
|
|
|
22
23
|
const ModifyHsmCommand_1 = require("./commands/ModifyHsmCommand");
|
|
23
24
|
const ModifyLunaClientCommand_1 = require("./commands/ModifyLunaClientCommand");
|
|
24
25
|
const RemoveTagsFromResourceCommand_1 = require("./commands/RemoveTagsFromResourceCommand");
|
|
26
|
+
const commands = {
|
|
27
|
+
AddTagsToResourceCommand: AddTagsToResourceCommand_1.AddTagsToResourceCommand,
|
|
28
|
+
CreateHapgCommand: CreateHapgCommand_1.CreateHapgCommand,
|
|
29
|
+
CreateHsmCommand: CreateHsmCommand_1.CreateHsmCommand,
|
|
30
|
+
CreateLunaClientCommand: CreateLunaClientCommand_1.CreateLunaClientCommand,
|
|
31
|
+
DeleteHapgCommand: DeleteHapgCommand_1.DeleteHapgCommand,
|
|
32
|
+
DeleteHsmCommand: DeleteHsmCommand_1.DeleteHsmCommand,
|
|
33
|
+
DeleteLunaClientCommand: DeleteLunaClientCommand_1.DeleteLunaClientCommand,
|
|
34
|
+
DescribeHapgCommand: DescribeHapgCommand_1.DescribeHapgCommand,
|
|
35
|
+
DescribeHsmCommand: DescribeHsmCommand_1.DescribeHsmCommand,
|
|
36
|
+
DescribeLunaClientCommand: DescribeLunaClientCommand_1.DescribeLunaClientCommand,
|
|
37
|
+
GetConfigCommand: GetConfigCommand_1.GetConfigCommand,
|
|
38
|
+
ListAvailableZonesCommand: ListAvailableZonesCommand_1.ListAvailableZonesCommand,
|
|
39
|
+
ListHapgsCommand: ListHapgsCommand_1.ListHapgsCommand,
|
|
40
|
+
ListHsmsCommand: ListHsmsCommand_1.ListHsmsCommand,
|
|
41
|
+
ListLunaClientsCommand: ListLunaClientsCommand_1.ListLunaClientsCommand,
|
|
42
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
43
|
+
ModifyHapgCommand: ModifyHapgCommand_1.ModifyHapgCommand,
|
|
44
|
+
ModifyHsmCommand: ModifyHsmCommand_1.ModifyHsmCommand,
|
|
45
|
+
ModifyLunaClientCommand: ModifyLunaClientCommand_1.ModifyLunaClientCommand,
|
|
46
|
+
RemoveTagsFromResourceCommand: RemoveTagsFromResourceCommand_1.RemoveTagsFromResourceCommand,
|
|
47
|
+
};
|
|
25
48
|
class CloudHSM extends CloudHSMClient_1.CloudHSMClient {
|
|
26
|
-
addTagsToResource(args, optionsOrCb, cb) {
|
|
27
|
-
const command = new AddTagsToResourceCommand_1.AddTagsToResourceCommand(args);
|
|
28
|
-
if (typeof optionsOrCb === "function") {
|
|
29
|
-
this.send(command, optionsOrCb);
|
|
30
|
-
}
|
|
31
|
-
else if (typeof cb === "function") {
|
|
32
|
-
if (typeof optionsOrCb !== "object")
|
|
33
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
34
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
return this.send(command, optionsOrCb);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
createHapg(args, optionsOrCb, cb) {
|
|
41
|
-
const command = new CreateHapgCommand_1.CreateHapgCommand(args);
|
|
42
|
-
if (typeof optionsOrCb === "function") {
|
|
43
|
-
this.send(command, optionsOrCb);
|
|
44
|
-
}
|
|
45
|
-
else if (typeof cb === "function") {
|
|
46
|
-
if (typeof optionsOrCb !== "object")
|
|
47
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
48
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
return this.send(command, optionsOrCb);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
createHsm(args, optionsOrCb, cb) {
|
|
55
|
-
const command = new CreateHsmCommand_1.CreateHsmCommand(args);
|
|
56
|
-
if (typeof optionsOrCb === "function") {
|
|
57
|
-
this.send(command, optionsOrCb);
|
|
58
|
-
}
|
|
59
|
-
else if (typeof cb === "function") {
|
|
60
|
-
if (typeof optionsOrCb !== "object")
|
|
61
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
62
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
return this.send(command, optionsOrCb);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
createLunaClient(args, optionsOrCb, cb) {
|
|
69
|
-
const command = new CreateLunaClientCommand_1.CreateLunaClientCommand(args);
|
|
70
|
-
if (typeof optionsOrCb === "function") {
|
|
71
|
-
this.send(command, optionsOrCb);
|
|
72
|
-
}
|
|
73
|
-
else if (typeof cb === "function") {
|
|
74
|
-
if (typeof optionsOrCb !== "object")
|
|
75
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
76
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
return this.send(command, optionsOrCb);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
deleteHapg(args, optionsOrCb, cb) {
|
|
83
|
-
const command = new DeleteHapgCommand_1.DeleteHapgCommand(args);
|
|
84
|
-
if (typeof optionsOrCb === "function") {
|
|
85
|
-
this.send(command, optionsOrCb);
|
|
86
|
-
}
|
|
87
|
-
else if (typeof cb === "function") {
|
|
88
|
-
if (typeof optionsOrCb !== "object")
|
|
89
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
90
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
return this.send(command, optionsOrCb);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
deleteHsm(args, optionsOrCb, cb) {
|
|
97
|
-
const command = new DeleteHsmCommand_1.DeleteHsmCommand(args);
|
|
98
|
-
if (typeof optionsOrCb === "function") {
|
|
99
|
-
this.send(command, optionsOrCb);
|
|
100
|
-
}
|
|
101
|
-
else if (typeof cb === "function") {
|
|
102
|
-
if (typeof optionsOrCb !== "object")
|
|
103
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
104
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
return this.send(command, optionsOrCb);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
deleteLunaClient(args, optionsOrCb, cb) {
|
|
111
|
-
const command = new DeleteLunaClientCommand_1.DeleteLunaClientCommand(args);
|
|
112
|
-
if (typeof optionsOrCb === "function") {
|
|
113
|
-
this.send(command, optionsOrCb);
|
|
114
|
-
}
|
|
115
|
-
else if (typeof cb === "function") {
|
|
116
|
-
if (typeof optionsOrCb !== "object")
|
|
117
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
118
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
119
|
-
}
|
|
120
|
-
else {
|
|
121
|
-
return this.send(command, optionsOrCb);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
describeHapg(args, optionsOrCb, cb) {
|
|
125
|
-
const command = new DescribeHapgCommand_1.DescribeHapgCommand(args);
|
|
126
|
-
if (typeof optionsOrCb === "function") {
|
|
127
|
-
this.send(command, optionsOrCb);
|
|
128
|
-
}
|
|
129
|
-
else if (typeof cb === "function") {
|
|
130
|
-
if (typeof optionsOrCb !== "object")
|
|
131
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
132
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
135
|
-
return this.send(command, optionsOrCb);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
describeHsm(args, optionsOrCb, cb) {
|
|
139
|
-
const command = new DescribeHsmCommand_1.DescribeHsmCommand(args);
|
|
140
|
-
if (typeof optionsOrCb === "function") {
|
|
141
|
-
this.send(command, optionsOrCb);
|
|
142
|
-
}
|
|
143
|
-
else if (typeof cb === "function") {
|
|
144
|
-
if (typeof optionsOrCb !== "object")
|
|
145
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
146
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
return this.send(command, optionsOrCb);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
describeLunaClient(args, optionsOrCb, cb) {
|
|
153
|
-
const command = new DescribeLunaClientCommand_1.DescribeLunaClientCommand(args);
|
|
154
|
-
if (typeof optionsOrCb === "function") {
|
|
155
|
-
this.send(command, optionsOrCb);
|
|
156
|
-
}
|
|
157
|
-
else if (typeof cb === "function") {
|
|
158
|
-
if (typeof optionsOrCb !== "object")
|
|
159
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
160
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
161
|
-
}
|
|
162
|
-
else {
|
|
163
|
-
return this.send(command, optionsOrCb);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
getConfig(args, optionsOrCb, cb) {
|
|
167
|
-
const command = new GetConfigCommand_1.GetConfigCommand(args);
|
|
168
|
-
if (typeof optionsOrCb === "function") {
|
|
169
|
-
this.send(command, optionsOrCb);
|
|
170
|
-
}
|
|
171
|
-
else if (typeof cb === "function") {
|
|
172
|
-
if (typeof optionsOrCb !== "object")
|
|
173
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
174
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
return this.send(command, optionsOrCb);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
listAvailableZones(args, optionsOrCb, cb) {
|
|
181
|
-
const command = new ListAvailableZonesCommand_1.ListAvailableZonesCommand(args);
|
|
182
|
-
if (typeof optionsOrCb === "function") {
|
|
183
|
-
this.send(command, optionsOrCb);
|
|
184
|
-
}
|
|
185
|
-
else if (typeof cb === "function") {
|
|
186
|
-
if (typeof optionsOrCb !== "object")
|
|
187
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
188
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
189
|
-
}
|
|
190
|
-
else {
|
|
191
|
-
return this.send(command, optionsOrCb);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
listHapgs(args, optionsOrCb, cb) {
|
|
195
|
-
const command = new ListHapgsCommand_1.ListHapgsCommand(args);
|
|
196
|
-
if (typeof optionsOrCb === "function") {
|
|
197
|
-
this.send(command, optionsOrCb);
|
|
198
|
-
}
|
|
199
|
-
else if (typeof cb === "function") {
|
|
200
|
-
if (typeof optionsOrCb !== "object")
|
|
201
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
202
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
203
|
-
}
|
|
204
|
-
else {
|
|
205
|
-
return this.send(command, optionsOrCb);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
listHsms(args, optionsOrCb, cb) {
|
|
209
|
-
const command = new ListHsmsCommand_1.ListHsmsCommand(args);
|
|
210
|
-
if (typeof optionsOrCb === "function") {
|
|
211
|
-
this.send(command, optionsOrCb);
|
|
212
|
-
}
|
|
213
|
-
else if (typeof cb === "function") {
|
|
214
|
-
if (typeof optionsOrCb !== "object")
|
|
215
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
216
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
return this.send(command, optionsOrCb);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
listLunaClients(args, optionsOrCb, cb) {
|
|
223
|
-
const command = new ListLunaClientsCommand_1.ListLunaClientsCommand(args);
|
|
224
|
-
if (typeof optionsOrCb === "function") {
|
|
225
|
-
this.send(command, optionsOrCb);
|
|
226
|
-
}
|
|
227
|
-
else if (typeof cb === "function") {
|
|
228
|
-
if (typeof optionsOrCb !== "object")
|
|
229
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
230
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
231
|
-
}
|
|
232
|
-
else {
|
|
233
|
-
return this.send(command, optionsOrCb);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
237
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
238
|
-
if (typeof optionsOrCb === "function") {
|
|
239
|
-
this.send(command, optionsOrCb);
|
|
240
|
-
}
|
|
241
|
-
else if (typeof cb === "function") {
|
|
242
|
-
if (typeof optionsOrCb !== "object")
|
|
243
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
244
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
245
|
-
}
|
|
246
|
-
else {
|
|
247
|
-
return this.send(command, optionsOrCb);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
modifyHapg(args, optionsOrCb, cb) {
|
|
251
|
-
const command = new ModifyHapgCommand_1.ModifyHapgCommand(args);
|
|
252
|
-
if (typeof optionsOrCb === "function") {
|
|
253
|
-
this.send(command, optionsOrCb);
|
|
254
|
-
}
|
|
255
|
-
else if (typeof cb === "function") {
|
|
256
|
-
if (typeof optionsOrCb !== "object")
|
|
257
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
258
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
259
|
-
}
|
|
260
|
-
else {
|
|
261
|
-
return this.send(command, optionsOrCb);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
modifyHsm(args, optionsOrCb, cb) {
|
|
265
|
-
const command = new ModifyHsmCommand_1.ModifyHsmCommand(args);
|
|
266
|
-
if (typeof optionsOrCb === "function") {
|
|
267
|
-
this.send(command, optionsOrCb);
|
|
268
|
-
}
|
|
269
|
-
else if (typeof cb === "function") {
|
|
270
|
-
if (typeof optionsOrCb !== "object")
|
|
271
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
272
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
273
|
-
}
|
|
274
|
-
else {
|
|
275
|
-
return this.send(command, optionsOrCb);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
modifyLunaClient(args, optionsOrCb, cb) {
|
|
279
|
-
const command = new ModifyLunaClientCommand_1.ModifyLunaClientCommand(args);
|
|
280
|
-
if (typeof optionsOrCb === "function") {
|
|
281
|
-
this.send(command, optionsOrCb);
|
|
282
|
-
}
|
|
283
|
-
else if (typeof cb === "function") {
|
|
284
|
-
if (typeof optionsOrCb !== "object")
|
|
285
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
286
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
287
|
-
}
|
|
288
|
-
else {
|
|
289
|
-
return this.send(command, optionsOrCb);
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
removeTagsFromResource(args, optionsOrCb, cb) {
|
|
293
|
-
const command = new RemoveTagsFromResourceCommand_1.RemoveTagsFromResourceCommand(args);
|
|
294
|
-
if (typeof optionsOrCb === "function") {
|
|
295
|
-
this.send(command, optionsOrCb);
|
|
296
|
-
}
|
|
297
|
-
else if (typeof cb === "function") {
|
|
298
|
-
if (typeof optionsOrCb !== "object")
|
|
299
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
300
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
301
|
-
}
|
|
302
|
-
else {
|
|
303
|
-
return this.send(command, optionsOrCb);
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
49
|
}
|
|
307
50
|
exports.CloudHSM = CloudHSM;
|
|
51
|
+
(0, smithy_client_1.createAggregatedClient)(commands, CloudHSM);
|
package/dist-es/CloudHSM.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CloudHSMClient } from "./CloudHSMClient";
|
|
2
3
|
import { AddTagsToResourceCommand, } from "./commands/AddTagsToResourceCommand";
|
|
3
4
|
import { CreateHapgCommand } from "./commands/CreateHapgCommand";
|
|
@@ -19,285 +20,28 @@ import { ModifyHapgCommand } from "./commands/ModifyHapgCommand";
|
|
|
19
20
|
import { ModifyHsmCommand } from "./commands/ModifyHsmCommand";
|
|
20
21
|
import { ModifyLunaClientCommand, } from "./commands/ModifyLunaClientCommand";
|
|
21
22
|
import { RemoveTagsFromResourceCommand, } from "./commands/RemoveTagsFromResourceCommand";
|
|
23
|
+
const commands = {
|
|
24
|
+
AddTagsToResourceCommand,
|
|
25
|
+
CreateHapgCommand,
|
|
26
|
+
CreateHsmCommand,
|
|
27
|
+
CreateLunaClientCommand,
|
|
28
|
+
DeleteHapgCommand,
|
|
29
|
+
DeleteHsmCommand,
|
|
30
|
+
DeleteLunaClientCommand,
|
|
31
|
+
DescribeHapgCommand,
|
|
32
|
+
DescribeHsmCommand,
|
|
33
|
+
DescribeLunaClientCommand,
|
|
34
|
+
GetConfigCommand,
|
|
35
|
+
ListAvailableZonesCommand,
|
|
36
|
+
ListHapgsCommand,
|
|
37
|
+
ListHsmsCommand,
|
|
38
|
+
ListLunaClientsCommand,
|
|
39
|
+
ListTagsForResourceCommand,
|
|
40
|
+
ModifyHapgCommand,
|
|
41
|
+
ModifyHsmCommand,
|
|
42
|
+
ModifyLunaClientCommand,
|
|
43
|
+
RemoveTagsFromResourceCommand,
|
|
44
|
+
};
|
|
22
45
|
export class CloudHSM extends CloudHSMClient {
|
|
23
|
-
addTagsToResource(args, optionsOrCb, cb) {
|
|
24
|
-
const command = new AddTagsToResourceCommand(args);
|
|
25
|
-
if (typeof optionsOrCb === "function") {
|
|
26
|
-
this.send(command, optionsOrCb);
|
|
27
|
-
}
|
|
28
|
-
else if (typeof cb === "function") {
|
|
29
|
-
if (typeof optionsOrCb !== "object")
|
|
30
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
31
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
return this.send(command, optionsOrCb);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
createHapg(args, optionsOrCb, cb) {
|
|
38
|
-
const command = new CreateHapgCommand(args);
|
|
39
|
-
if (typeof optionsOrCb === "function") {
|
|
40
|
-
this.send(command, optionsOrCb);
|
|
41
|
-
}
|
|
42
|
-
else if (typeof cb === "function") {
|
|
43
|
-
if (typeof optionsOrCb !== "object")
|
|
44
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
45
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
return this.send(command, optionsOrCb);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
createHsm(args, optionsOrCb, cb) {
|
|
52
|
-
const command = new CreateHsmCommand(args);
|
|
53
|
-
if (typeof optionsOrCb === "function") {
|
|
54
|
-
this.send(command, optionsOrCb);
|
|
55
|
-
}
|
|
56
|
-
else if (typeof cb === "function") {
|
|
57
|
-
if (typeof optionsOrCb !== "object")
|
|
58
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
59
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
return this.send(command, optionsOrCb);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
createLunaClient(args, optionsOrCb, cb) {
|
|
66
|
-
const command = new CreateLunaClientCommand(args);
|
|
67
|
-
if (typeof optionsOrCb === "function") {
|
|
68
|
-
this.send(command, optionsOrCb);
|
|
69
|
-
}
|
|
70
|
-
else if (typeof cb === "function") {
|
|
71
|
-
if (typeof optionsOrCb !== "object")
|
|
72
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
73
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
return this.send(command, optionsOrCb);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
deleteHapg(args, optionsOrCb, cb) {
|
|
80
|
-
const command = new DeleteHapgCommand(args);
|
|
81
|
-
if (typeof optionsOrCb === "function") {
|
|
82
|
-
this.send(command, optionsOrCb);
|
|
83
|
-
}
|
|
84
|
-
else if (typeof cb === "function") {
|
|
85
|
-
if (typeof optionsOrCb !== "object")
|
|
86
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
87
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
return this.send(command, optionsOrCb);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
deleteHsm(args, optionsOrCb, cb) {
|
|
94
|
-
const command = new DeleteHsmCommand(args);
|
|
95
|
-
if (typeof optionsOrCb === "function") {
|
|
96
|
-
this.send(command, optionsOrCb);
|
|
97
|
-
}
|
|
98
|
-
else if (typeof cb === "function") {
|
|
99
|
-
if (typeof optionsOrCb !== "object")
|
|
100
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
101
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
102
|
-
}
|
|
103
|
-
else {
|
|
104
|
-
return this.send(command, optionsOrCb);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
deleteLunaClient(args, optionsOrCb, cb) {
|
|
108
|
-
const command = new DeleteLunaClientCommand(args);
|
|
109
|
-
if (typeof optionsOrCb === "function") {
|
|
110
|
-
this.send(command, optionsOrCb);
|
|
111
|
-
}
|
|
112
|
-
else if (typeof cb === "function") {
|
|
113
|
-
if (typeof optionsOrCb !== "object")
|
|
114
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
115
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
116
|
-
}
|
|
117
|
-
else {
|
|
118
|
-
return this.send(command, optionsOrCb);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
describeHapg(args, optionsOrCb, cb) {
|
|
122
|
-
const command = new DescribeHapgCommand(args);
|
|
123
|
-
if (typeof optionsOrCb === "function") {
|
|
124
|
-
this.send(command, optionsOrCb);
|
|
125
|
-
}
|
|
126
|
-
else if (typeof cb === "function") {
|
|
127
|
-
if (typeof optionsOrCb !== "object")
|
|
128
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
129
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
130
|
-
}
|
|
131
|
-
else {
|
|
132
|
-
return this.send(command, optionsOrCb);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
describeHsm(args, optionsOrCb, cb) {
|
|
136
|
-
const command = new DescribeHsmCommand(args);
|
|
137
|
-
if (typeof optionsOrCb === "function") {
|
|
138
|
-
this.send(command, optionsOrCb);
|
|
139
|
-
}
|
|
140
|
-
else if (typeof cb === "function") {
|
|
141
|
-
if (typeof optionsOrCb !== "object")
|
|
142
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
143
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
144
|
-
}
|
|
145
|
-
else {
|
|
146
|
-
return this.send(command, optionsOrCb);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
describeLunaClient(args, optionsOrCb, cb) {
|
|
150
|
-
const command = new DescribeLunaClientCommand(args);
|
|
151
|
-
if (typeof optionsOrCb === "function") {
|
|
152
|
-
this.send(command, optionsOrCb);
|
|
153
|
-
}
|
|
154
|
-
else if (typeof cb === "function") {
|
|
155
|
-
if (typeof optionsOrCb !== "object")
|
|
156
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
157
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
158
|
-
}
|
|
159
|
-
else {
|
|
160
|
-
return this.send(command, optionsOrCb);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
getConfig(args, optionsOrCb, cb) {
|
|
164
|
-
const command = new GetConfigCommand(args);
|
|
165
|
-
if (typeof optionsOrCb === "function") {
|
|
166
|
-
this.send(command, optionsOrCb);
|
|
167
|
-
}
|
|
168
|
-
else if (typeof cb === "function") {
|
|
169
|
-
if (typeof optionsOrCb !== "object")
|
|
170
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
171
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
172
|
-
}
|
|
173
|
-
else {
|
|
174
|
-
return this.send(command, optionsOrCb);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
listAvailableZones(args, optionsOrCb, cb) {
|
|
178
|
-
const command = new ListAvailableZonesCommand(args);
|
|
179
|
-
if (typeof optionsOrCb === "function") {
|
|
180
|
-
this.send(command, optionsOrCb);
|
|
181
|
-
}
|
|
182
|
-
else if (typeof cb === "function") {
|
|
183
|
-
if (typeof optionsOrCb !== "object")
|
|
184
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
185
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
return this.send(command, optionsOrCb);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
listHapgs(args, optionsOrCb, cb) {
|
|
192
|
-
const command = new ListHapgsCommand(args);
|
|
193
|
-
if (typeof optionsOrCb === "function") {
|
|
194
|
-
this.send(command, optionsOrCb);
|
|
195
|
-
}
|
|
196
|
-
else if (typeof cb === "function") {
|
|
197
|
-
if (typeof optionsOrCb !== "object")
|
|
198
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
199
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
200
|
-
}
|
|
201
|
-
else {
|
|
202
|
-
return this.send(command, optionsOrCb);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
listHsms(args, optionsOrCb, cb) {
|
|
206
|
-
const command = new ListHsmsCommand(args);
|
|
207
|
-
if (typeof optionsOrCb === "function") {
|
|
208
|
-
this.send(command, optionsOrCb);
|
|
209
|
-
}
|
|
210
|
-
else if (typeof cb === "function") {
|
|
211
|
-
if (typeof optionsOrCb !== "object")
|
|
212
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
213
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
214
|
-
}
|
|
215
|
-
else {
|
|
216
|
-
return this.send(command, optionsOrCb);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
listLunaClients(args, optionsOrCb, cb) {
|
|
220
|
-
const command = new ListLunaClientsCommand(args);
|
|
221
|
-
if (typeof optionsOrCb === "function") {
|
|
222
|
-
this.send(command, optionsOrCb);
|
|
223
|
-
}
|
|
224
|
-
else if (typeof cb === "function") {
|
|
225
|
-
if (typeof optionsOrCb !== "object")
|
|
226
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
227
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
228
|
-
}
|
|
229
|
-
else {
|
|
230
|
-
return this.send(command, optionsOrCb);
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
234
|
-
const command = new ListTagsForResourceCommand(args);
|
|
235
|
-
if (typeof optionsOrCb === "function") {
|
|
236
|
-
this.send(command, optionsOrCb);
|
|
237
|
-
}
|
|
238
|
-
else if (typeof cb === "function") {
|
|
239
|
-
if (typeof optionsOrCb !== "object")
|
|
240
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
241
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
242
|
-
}
|
|
243
|
-
else {
|
|
244
|
-
return this.send(command, optionsOrCb);
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
modifyHapg(args, optionsOrCb, cb) {
|
|
248
|
-
const command = new ModifyHapgCommand(args);
|
|
249
|
-
if (typeof optionsOrCb === "function") {
|
|
250
|
-
this.send(command, optionsOrCb);
|
|
251
|
-
}
|
|
252
|
-
else if (typeof cb === "function") {
|
|
253
|
-
if (typeof optionsOrCb !== "object")
|
|
254
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
255
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
256
|
-
}
|
|
257
|
-
else {
|
|
258
|
-
return this.send(command, optionsOrCb);
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
modifyHsm(args, optionsOrCb, cb) {
|
|
262
|
-
const command = new ModifyHsmCommand(args);
|
|
263
|
-
if (typeof optionsOrCb === "function") {
|
|
264
|
-
this.send(command, optionsOrCb);
|
|
265
|
-
}
|
|
266
|
-
else if (typeof cb === "function") {
|
|
267
|
-
if (typeof optionsOrCb !== "object")
|
|
268
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
269
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
270
|
-
}
|
|
271
|
-
else {
|
|
272
|
-
return this.send(command, optionsOrCb);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
modifyLunaClient(args, optionsOrCb, cb) {
|
|
276
|
-
const command = new ModifyLunaClientCommand(args);
|
|
277
|
-
if (typeof optionsOrCb === "function") {
|
|
278
|
-
this.send(command, optionsOrCb);
|
|
279
|
-
}
|
|
280
|
-
else if (typeof cb === "function") {
|
|
281
|
-
if (typeof optionsOrCb !== "object")
|
|
282
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
283
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
284
|
-
}
|
|
285
|
-
else {
|
|
286
|
-
return this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
removeTagsFromResource(args, optionsOrCb, cb) {
|
|
290
|
-
const command = new RemoveTagsFromResourceCommand(args);
|
|
291
|
-
if (typeof optionsOrCb === "function") {
|
|
292
|
-
this.send(command, optionsOrCb);
|
|
293
|
-
}
|
|
294
|
-
else if (typeof cb === "function") {
|
|
295
|
-
if (typeof optionsOrCb !== "object")
|
|
296
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
297
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
298
|
-
}
|
|
299
|
-
else {
|
|
300
|
-
return this.send(command, optionsOrCb);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
46
|
}
|
|
47
|
+
createAggregatedClient(commands, CloudHSM);
|
package/dist-types/CloudHSM.d.ts
CHANGED
|
@@ -20,397 +20,141 @@ import { ModifyHapgCommandInput, ModifyHapgCommandOutput } from "./commands/Modi
|
|
|
20
20
|
import { ModifyHsmCommandInput, ModifyHsmCommandOutput } from "./commands/ModifyHsmCommand";
|
|
21
21
|
import { ModifyLunaClientCommandInput, ModifyLunaClientCommandOutput } from "./commands/ModifyLunaClientCommand";
|
|
22
22
|
import { RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandOutput } from "./commands/RemoveTagsFromResourceCommand";
|
|
23
|
-
|
|
24
|
-
* @public
|
|
25
|
-
* <fullname>AWS CloudHSM Service</fullname>
|
|
26
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
27
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
28
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
29
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
30
|
-
* <p>
|
|
31
|
-
* <b>For information about the current version of AWS
|
|
32
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
33
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
34
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
35
|
-
* Reference</a>.</p>
|
|
36
|
-
*/
|
|
37
|
-
export declare class CloudHSM extends CloudHSMClient {
|
|
23
|
+
export interface CloudHSM {
|
|
38
24
|
/**
|
|
39
|
-
* @
|
|
40
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
41
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
42
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
43
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
44
|
-
* <p>
|
|
45
|
-
* <b>For information about the current version of AWS
|
|
46
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
47
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
48
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
49
|
-
* Reference</a>.</p>
|
|
50
|
-
* <p>Adds or overwrites one or more tags for the specified AWS CloudHSM resource.</p>
|
|
51
|
-
* <p>Each tag consists of a key and a value. Tag keys must be unique to each
|
|
52
|
-
* resource.</p>
|
|
25
|
+
* @see {@link AddTagsToResourceCommand}
|
|
53
26
|
*/
|
|
54
27
|
addTagsToResource(args: AddTagsToResourceCommandInput, options?: __HttpHandlerOptions): Promise<AddTagsToResourceCommandOutput>;
|
|
55
28
|
addTagsToResource(args: AddTagsToResourceCommandInput, cb: (err: any, data?: AddTagsToResourceCommandOutput) => void): void;
|
|
56
29
|
addTagsToResource(args: AddTagsToResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsToResourceCommandOutput) => void): void;
|
|
57
30
|
/**
|
|
58
|
-
* @
|
|
59
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
60
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
61
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
62
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
63
|
-
* <p>
|
|
64
|
-
* <b>For information about the current version of AWS
|
|
65
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
66
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
67
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
68
|
-
* Reference</a>.</p>
|
|
69
|
-
* <p>Creates a high-availability partition group. A high-availability partition group is a
|
|
70
|
-
* group of partitions that spans multiple physical HSMs.</p>
|
|
31
|
+
* @see {@link CreateHapgCommand}
|
|
71
32
|
*/
|
|
72
33
|
createHapg(args: CreateHapgCommandInput, options?: __HttpHandlerOptions): Promise<CreateHapgCommandOutput>;
|
|
73
34
|
createHapg(args: CreateHapgCommandInput, cb: (err: any, data?: CreateHapgCommandOutput) => void): void;
|
|
74
35
|
createHapg(args: CreateHapgCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHapgCommandOutput) => void): void;
|
|
75
36
|
/**
|
|
76
|
-
* @
|
|
77
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
78
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
79
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
80
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
81
|
-
* <p>
|
|
82
|
-
* <b>For information about the current version of AWS
|
|
83
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
84
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
85
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
86
|
-
* Reference</a>.</p>
|
|
87
|
-
* <p>Creates an uninitialized HSM instance.</p>
|
|
88
|
-
* <p>There is an upfront fee charged for each HSM instance that you create with the
|
|
89
|
-
* <code>CreateHsm</code> operation. If you accidentally provision an HSM and want to request a
|
|
90
|
-
* refund, delete the instance using the <a>DeleteHsm</a> operation, go to the <a href="https://console.aws.amazon.com/support/home">AWS Support Center</a>, create a new case, and select
|
|
91
|
-
* <b>Account and Billing Support</b>.</p>
|
|
92
|
-
* <important>
|
|
93
|
-
* <p>It can take up to 20 minutes to create and provision an HSM. You can monitor the
|
|
94
|
-
* status of the HSM with the <a>DescribeHsm</a> operation. The HSM is ready to be
|
|
95
|
-
* initialized when the status changes to <code>RUNNING</code>.</p>
|
|
96
|
-
* </important>
|
|
37
|
+
* @see {@link CreateHsmCommand}
|
|
97
38
|
*/
|
|
98
39
|
createHsm(args: CreateHsmCommandInput, options?: __HttpHandlerOptions): Promise<CreateHsmCommandOutput>;
|
|
99
40
|
createHsm(args: CreateHsmCommandInput, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
|
|
100
41
|
createHsm(args: CreateHsmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHsmCommandOutput) => void): void;
|
|
101
42
|
/**
|
|
102
|
-
* @
|
|
103
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
104
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
105
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
106
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
107
|
-
* <p>
|
|
108
|
-
* <b>For information about the current version of AWS
|
|
109
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
110
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
111
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
112
|
-
* Reference</a>.</p>
|
|
113
|
-
* <p>Creates an HSM client.</p>
|
|
43
|
+
* @see {@link CreateLunaClientCommand}
|
|
114
44
|
*/
|
|
115
45
|
createLunaClient(args: CreateLunaClientCommandInput, options?: __HttpHandlerOptions): Promise<CreateLunaClientCommandOutput>;
|
|
116
46
|
createLunaClient(args: CreateLunaClientCommandInput, cb: (err: any, data?: CreateLunaClientCommandOutput) => void): void;
|
|
117
47
|
createLunaClient(args: CreateLunaClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLunaClientCommandOutput) => void): void;
|
|
118
48
|
/**
|
|
119
|
-
* @
|
|
120
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
121
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
122
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
123
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
124
|
-
* <p>
|
|
125
|
-
* <b>For information about the current version of AWS
|
|
126
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
127
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
128
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
129
|
-
* Reference</a>.</p>
|
|
130
|
-
* <p>Deletes a high-availability partition group.</p>
|
|
49
|
+
* @see {@link DeleteHapgCommand}
|
|
131
50
|
*/
|
|
132
51
|
deleteHapg(args: DeleteHapgCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHapgCommandOutput>;
|
|
133
52
|
deleteHapg(args: DeleteHapgCommandInput, cb: (err: any, data?: DeleteHapgCommandOutput) => void): void;
|
|
134
53
|
deleteHapg(args: DeleteHapgCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHapgCommandOutput) => void): void;
|
|
135
54
|
/**
|
|
136
|
-
* @
|
|
137
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
138
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
139
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
140
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
141
|
-
* <p>
|
|
142
|
-
* <b>For information about the current version of AWS
|
|
143
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
144
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
145
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
146
|
-
* Reference</a>.</p>
|
|
147
|
-
* <p>Deletes an HSM. After completion, this operation cannot be undone and your key material
|
|
148
|
-
* cannot be recovered.</p>
|
|
55
|
+
* @see {@link DeleteHsmCommand}
|
|
149
56
|
*/
|
|
150
57
|
deleteHsm(args: DeleteHsmCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHsmCommandOutput>;
|
|
151
58
|
deleteHsm(args: DeleteHsmCommandInput, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
|
|
152
59
|
deleteHsm(args: DeleteHsmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHsmCommandOutput) => void): void;
|
|
153
60
|
/**
|
|
154
|
-
* @
|
|
155
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
156
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
157
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
158
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
159
|
-
* <p>
|
|
160
|
-
* <b>For information about the current version of AWS
|
|
161
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
162
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
163
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
164
|
-
* Reference</a>.</p>
|
|
165
|
-
* <p>Deletes a client.</p>
|
|
61
|
+
* @see {@link DeleteLunaClientCommand}
|
|
166
62
|
*/
|
|
167
63
|
deleteLunaClient(args: DeleteLunaClientCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLunaClientCommandOutput>;
|
|
168
64
|
deleteLunaClient(args: DeleteLunaClientCommandInput, cb: (err: any, data?: DeleteLunaClientCommandOutput) => void): void;
|
|
169
65
|
deleteLunaClient(args: DeleteLunaClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLunaClientCommandOutput) => void): void;
|
|
170
66
|
/**
|
|
171
|
-
* @
|
|
172
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
173
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
174
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
175
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
176
|
-
* <p>
|
|
177
|
-
* <b>For information about the current version of AWS
|
|
178
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
179
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
180
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
181
|
-
* Reference</a>.</p>
|
|
182
|
-
* <p>Retrieves information about a high-availability partition group.</p>
|
|
67
|
+
* @see {@link DescribeHapgCommand}
|
|
183
68
|
*/
|
|
184
69
|
describeHapg(args: DescribeHapgCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHapgCommandOutput>;
|
|
185
70
|
describeHapg(args: DescribeHapgCommandInput, cb: (err: any, data?: DescribeHapgCommandOutput) => void): void;
|
|
186
71
|
describeHapg(args: DescribeHapgCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeHapgCommandOutput) => void): void;
|
|
187
72
|
/**
|
|
188
|
-
* @
|
|
189
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
190
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
191
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
192
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
193
|
-
* <p>
|
|
194
|
-
* <b>For information about the current version of AWS
|
|
195
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
196
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
197
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
198
|
-
* Reference</a>.</p>
|
|
199
|
-
* <p>Retrieves information about an HSM. You can identify the HSM by its ARN or its serial
|
|
200
|
-
* number.</p>
|
|
73
|
+
* @see {@link DescribeHsmCommand}
|
|
201
74
|
*/
|
|
202
75
|
describeHsm(args: DescribeHsmCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHsmCommandOutput>;
|
|
203
76
|
describeHsm(args: DescribeHsmCommandInput, cb: (err: any, data?: DescribeHsmCommandOutput) => void): void;
|
|
204
77
|
describeHsm(args: DescribeHsmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeHsmCommandOutput) => void): void;
|
|
205
78
|
/**
|
|
206
|
-
* @
|
|
207
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
208
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
209
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
210
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
211
|
-
* <p>
|
|
212
|
-
* <b>For information about the current version of AWS
|
|
213
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
214
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
215
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
216
|
-
* Reference</a>.</p>
|
|
217
|
-
* <p>Retrieves information about an HSM client.</p>
|
|
79
|
+
* @see {@link DescribeLunaClientCommand}
|
|
218
80
|
*/
|
|
219
81
|
describeLunaClient(args: DescribeLunaClientCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLunaClientCommandOutput>;
|
|
220
82
|
describeLunaClient(args: DescribeLunaClientCommandInput, cb: (err: any, data?: DescribeLunaClientCommandOutput) => void): void;
|
|
221
83
|
describeLunaClient(args: DescribeLunaClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLunaClientCommandOutput) => void): void;
|
|
222
84
|
/**
|
|
223
|
-
* @
|
|
224
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
225
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
226
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
227
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
228
|
-
* <p>
|
|
229
|
-
* <b>For information about the current version of AWS
|
|
230
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
231
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
232
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
233
|
-
* Reference</a>.</p>
|
|
234
|
-
* <p>Gets the configuration files necessary to connect to all high availability partition
|
|
235
|
-
* groups the client is associated with.</p>
|
|
85
|
+
* @see {@link GetConfigCommand}
|
|
236
86
|
*/
|
|
237
87
|
getConfig(args: GetConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigCommandOutput>;
|
|
238
88
|
getConfig(args: GetConfigCommandInput, cb: (err: any, data?: GetConfigCommandOutput) => void): void;
|
|
239
89
|
getConfig(args: GetConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfigCommandOutput) => void): void;
|
|
240
90
|
/**
|
|
241
|
-
* @
|
|
242
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
243
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
244
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
245
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
246
|
-
* <p>
|
|
247
|
-
* <b>For information about the current version of AWS
|
|
248
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
249
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
250
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
251
|
-
* Reference</a>.</p>
|
|
252
|
-
* <p>Lists the Availability Zones that have available AWS CloudHSM capacity.</p>
|
|
91
|
+
* @see {@link ListAvailableZonesCommand}
|
|
253
92
|
*/
|
|
254
93
|
listAvailableZones(args: ListAvailableZonesCommandInput, options?: __HttpHandlerOptions): Promise<ListAvailableZonesCommandOutput>;
|
|
255
94
|
listAvailableZones(args: ListAvailableZonesCommandInput, cb: (err: any, data?: ListAvailableZonesCommandOutput) => void): void;
|
|
256
95
|
listAvailableZones(args: ListAvailableZonesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAvailableZonesCommandOutput) => void): void;
|
|
257
96
|
/**
|
|
258
|
-
* @
|
|
259
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
260
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
261
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
262
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
263
|
-
* <p>
|
|
264
|
-
* <b>For information about the current version of AWS
|
|
265
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
266
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
267
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
268
|
-
* Reference</a>.</p>
|
|
269
|
-
* <p>Lists the high-availability partition groups for the account.</p>
|
|
270
|
-
* <p>This operation supports pagination with the use of the <code>NextToken</code> member.
|
|
271
|
-
* If more results are available, the <code>NextToken</code> member of the response contains a
|
|
272
|
-
* token that you pass in the next call to <code>ListHapgs</code> to retrieve the next set of
|
|
273
|
-
* items.</p>
|
|
97
|
+
* @see {@link ListHapgsCommand}
|
|
274
98
|
*/
|
|
275
99
|
listHapgs(args: ListHapgsCommandInput, options?: __HttpHandlerOptions): Promise<ListHapgsCommandOutput>;
|
|
276
100
|
listHapgs(args: ListHapgsCommandInput, cb: (err: any, data?: ListHapgsCommandOutput) => void): void;
|
|
277
101
|
listHapgs(args: ListHapgsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHapgsCommandOutput) => void): void;
|
|
278
102
|
/**
|
|
279
|
-
* @
|
|
280
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
281
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
282
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
283
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
284
|
-
* <p>
|
|
285
|
-
* <b>For information about the current version of AWS
|
|
286
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
287
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
288
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
289
|
-
* Reference</a>.</p>
|
|
290
|
-
* <p>Retrieves the identifiers of all of the HSMs provisioned for the current
|
|
291
|
-
* customer.</p>
|
|
292
|
-
* <p>This operation supports pagination with the use of the <code>NextToken</code> member.
|
|
293
|
-
* If more results are available, the <code>NextToken</code> member of the response contains a
|
|
294
|
-
* token that you pass in the next call to <code>ListHsms</code> to retrieve the next set of
|
|
295
|
-
* items.</p>
|
|
103
|
+
* @see {@link ListHsmsCommand}
|
|
296
104
|
*/
|
|
297
105
|
listHsms(args: ListHsmsCommandInput, options?: __HttpHandlerOptions): Promise<ListHsmsCommandOutput>;
|
|
298
106
|
listHsms(args: ListHsmsCommandInput, cb: (err: any, data?: ListHsmsCommandOutput) => void): void;
|
|
299
107
|
listHsms(args: ListHsmsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHsmsCommandOutput) => void): void;
|
|
300
108
|
/**
|
|
301
|
-
* @
|
|
302
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
303
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
304
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
305
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
306
|
-
* <p>
|
|
307
|
-
* <b>For information about the current version of AWS
|
|
308
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
309
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
310
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
311
|
-
* Reference</a>.</p>
|
|
312
|
-
* <p>Lists all of the clients.</p>
|
|
313
|
-
* <p>This operation supports pagination with the use of the <code>NextToken</code> member.
|
|
314
|
-
* If more results are available, the <code>NextToken</code> member of the response contains a
|
|
315
|
-
* token that you pass in the next call to <code>ListLunaClients</code> to retrieve the next set
|
|
316
|
-
* of items.</p>
|
|
109
|
+
* @see {@link ListLunaClientsCommand}
|
|
317
110
|
*/
|
|
318
111
|
listLunaClients(args: ListLunaClientsCommandInput, options?: __HttpHandlerOptions): Promise<ListLunaClientsCommandOutput>;
|
|
319
112
|
listLunaClients(args: ListLunaClientsCommandInput, cb: (err: any, data?: ListLunaClientsCommandOutput) => void): void;
|
|
320
113
|
listLunaClients(args: ListLunaClientsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLunaClientsCommandOutput) => void): void;
|
|
321
114
|
/**
|
|
322
|
-
* @
|
|
323
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
324
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
325
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
326
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
327
|
-
* <p>
|
|
328
|
-
* <b>For information about the current version of AWS
|
|
329
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
330
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
331
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
332
|
-
* Reference</a>.</p>
|
|
333
|
-
* <p>Returns a list of all tags for the specified AWS CloudHSM resource.</p>
|
|
115
|
+
* @see {@link ListTagsForResourceCommand}
|
|
334
116
|
*/
|
|
335
117
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
336
118
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
337
119
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
338
120
|
/**
|
|
339
|
-
* @
|
|
340
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
341
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
342
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
343
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
344
|
-
* <p>
|
|
345
|
-
* <b>For information about the current version of AWS
|
|
346
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
347
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
348
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
349
|
-
* Reference</a>.</p>
|
|
350
|
-
* <p>Modifies an existing high-availability partition group.</p>
|
|
121
|
+
* @see {@link ModifyHapgCommand}
|
|
351
122
|
*/
|
|
352
123
|
modifyHapg(args: ModifyHapgCommandInput, options?: __HttpHandlerOptions): Promise<ModifyHapgCommandOutput>;
|
|
353
124
|
modifyHapg(args: ModifyHapgCommandInput, cb: (err: any, data?: ModifyHapgCommandOutput) => void): void;
|
|
354
125
|
modifyHapg(args: ModifyHapgCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyHapgCommandOutput) => void): void;
|
|
355
126
|
/**
|
|
356
|
-
* @
|
|
357
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
358
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
359
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
360
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
361
|
-
* <p>
|
|
362
|
-
* <b>For information about the current version of AWS
|
|
363
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
364
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
365
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
366
|
-
* Reference</a>.</p>
|
|
367
|
-
* <p>Modifies an HSM.</p>
|
|
368
|
-
* <important>
|
|
369
|
-
* <p>This operation can result in the HSM being offline for up to 15 minutes while the AWS
|
|
370
|
-
* CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure
|
|
371
|
-
* that your AWS CloudHSM service is configured for high availability, and consider executing this
|
|
372
|
-
* operation during a maintenance window.</p>
|
|
373
|
-
* </important>
|
|
127
|
+
* @see {@link ModifyHsmCommand}
|
|
374
128
|
*/
|
|
375
129
|
modifyHsm(args: ModifyHsmCommandInput, options?: __HttpHandlerOptions): Promise<ModifyHsmCommandOutput>;
|
|
376
130
|
modifyHsm(args: ModifyHsmCommandInput, cb: (err: any, data?: ModifyHsmCommandOutput) => void): void;
|
|
377
131
|
modifyHsm(args: ModifyHsmCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyHsmCommandOutput) => void): void;
|
|
378
132
|
/**
|
|
379
|
-
* @
|
|
380
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
381
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
382
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
383
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
384
|
-
* <p>
|
|
385
|
-
* <b>For information about the current version of AWS
|
|
386
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
387
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
388
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
389
|
-
* Reference</a>.</p>
|
|
390
|
-
* <p>Modifies the certificate used by the client.</p>
|
|
391
|
-
* <p>This action can potentially start a workflow to install the new certificate on the
|
|
392
|
-
* client's HSMs.</p>
|
|
133
|
+
* @see {@link ModifyLunaClientCommand}
|
|
393
134
|
*/
|
|
394
135
|
modifyLunaClient(args: ModifyLunaClientCommandInput, options?: __HttpHandlerOptions): Promise<ModifyLunaClientCommandOutput>;
|
|
395
136
|
modifyLunaClient(args: ModifyLunaClientCommandInput, cb: (err: any, data?: ModifyLunaClientCommandOutput) => void): void;
|
|
396
137
|
modifyLunaClient(args: ModifyLunaClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyLunaClientCommandOutput) => void): void;
|
|
397
138
|
/**
|
|
398
|
-
* @
|
|
399
|
-
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
400
|
-
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
401
|
-
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
402
|
-
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
403
|
-
* <p>
|
|
404
|
-
* <b>For information about the current version of AWS
|
|
405
|
-
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
406
|
-
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
407
|
-
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
408
|
-
* Reference</a>.</p>
|
|
409
|
-
* <p>Removes one or more tags from the specified AWS CloudHSM resource.</p>
|
|
410
|
-
* <p>To remove a tag, specify only the tag key to remove (not the value). To overwrite the
|
|
411
|
-
* value for an existing tag, use <a>AddTagsToResource</a>.</p>
|
|
139
|
+
* @see {@link RemoveTagsFromResourceCommand}
|
|
412
140
|
*/
|
|
413
141
|
removeTagsFromResource(args: RemoveTagsFromResourceCommandInput, options?: __HttpHandlerOptions): Promise<RemoveTagsFromResourceCommandOutput>;
|
|
414
142
|
removeTagsFromResource(args: RemoveTagsFromResourceCommandInput, cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void): void;
|
|
415
143
|
removeTagsFromResource(args: RemoveTagsFromResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void): void;
|
|
416
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
* <fullname>AWS CloudHSM Service</fullname>
|
|
148
|
+
* <p>This is documentation for <b>AWS CloudHSM Classic</b>. For
|
|
149
|
+
* more information, see <a href="http://aws.amazon.com/cloudhsm/faqs-classic/">AWS CloudHSM
|
|
150
|
+
* Classic FAQs</a>, the <a href="https://docs.aws.amazon.com/cloudhsm/classic/userguide/">AWS
|
|
151
|
+
* CloudHSM Classic User Guide</a>, and the <a href="https://docs.aws.amazon.com/cloudhsm/classic/APIReference/">AWS CloudHSM Classic API Reference</a>.</p>
|
|
152
|
+
* <p>
|
|
153
|
+
* <b>For information about the current version of AWS
|
|
154
|
+
* CloudHSM</b>, see <a href="http://aws.amazon.com/cloudhsm/">AWS CloudHSM</a>, the
|
|
155
|
+
* <a href="https://docs.aws.amazon.com/cloudhsm/latest/userguide/">AWS CloudHSM User Guide</a>,
|
|
156
|
+
* and the <a href="https://docs.aws.amazon.com/cloudhsm/latest/APIReference/">AWS CloudHSM API
|
|
157
|
+
* Reference</a>.</p>
|
|
158
|
+
*/
|
|
159
|
+
export declare class CloudHSM extends CloudHSMClient implements CloudHSM {
|
|
160
|
+
}
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
RemoveTagsFromResourceCommandInput,
|
|
81
81
|
RemoveTagsFromResourceCommandOutput,
|
|
82
82
|
} from "./commands/RemoveTagsFromResourceCommand";
|
|
83
|
-
export
|
|
83
|
+
export interface CloudHSM {
|
|
84
84
|
addTagsToResource(
|
|
85
85
|
args: AddTagsToResourceCommandInput,
|
|
86
86
|
options?: __HttpHandlerOptions
|
|
@@ -342,3 +342,4 @@ export declare class CloudHSM extends CloudHSMClient {
|
|
|
342
342
|
cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
|
|
343
343
|
): void;
|
|
344
344
|
}
|
|
345
|
+
export declare class CloudHSM extends CloudHSMClient implements CloudHSM {}
|
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.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|