@aws-sdk/client-cloudhsm 3.1087.0 → 3.1089.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.
Files changed (39) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/CloudHSM.d.ts +70 -103
  3. package/dist-types/ts3.4/CloudHSMClient.d.ts +25 -65
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +5 -10
  8. package/dist-types/ts3.4/commands/CreateHapgCommand.d.ts +3 -5
  9. package/dist-types/ts3.4/commands/CreateHsmCommand.d.ts +7 -5
  10. package/dist-types/ts3.4/commands/CreateLunaClientCommand.d.ts +4 -9
  11. package/dist-types/ts3.4/commands/DeleteHapgCommand.d.ts +3 -5
  12. package/dist-types/ts3.4/commands/DeleteHsmCommand.d.ts +7 -5
  13. package/dist-types/ts3.4/commands/DeleteLunaClientCommand.d.ts +4 -9
  14. package/dist-types/ts3.4/commands/DescribeHapgCommand.d.ts +3 -5
  15. package/dist-types/ts3.4/commands/DescribeHsmCommand.d.ts +2 -4
  16. package/dist-types/ts3.4/commands/DescribeLunaClientCommand.d.ts +4 -9
  17. package/dist-types/ts3.4/commands/GetConfigCommand.d.ts +7 -5
  18. package/dist-types/ts3.4/commands/ListAvailableZonesCommand.d.ts +4 -9
  19. package/dist-types/ts3.4/commands/ListHapgsCommand.d.ts +4 -4
  20. package/dist-types/ts3.4/commands/ListHsmsCommand.d.ts +4 -4
  21. package/dist-types/ts3.4/commands/ListLunaClientsCommand.d.ts +3 -8
  22. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  23. package/dist-types/ts3.4/commands/ModifyHapgCommand.d.ts +3 -5
  24. package/dist-types/ts3.4/commands/ModifyHsmCommand.d.ts +7 -5
  25. package/dist-types/ts3.4/commands/ModifyLunaClientCommand.d.ts +4 -9
  26. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +5 -10
  27. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  28. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  29. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  30. package/dist-types/ts3.4/models/enums.d.ts +2 -4
  31. package/dist-types/ts3.4/models/errors.d.ts +3 -9
  32. package/dist-types/ts3.4/models/models_0.d.ts +1 -6
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  36. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  37. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  39. package/package.json +38 -38
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1086.0";
72
+ var version = "3.1088.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -4,26 +4,14 @@ import {
4
4
  AddTagsToResourceCommandInput,
5
5
  AddTagsToResourceCommandOutput,
6
6
  } from "./commands/AddTagsToResourceCommand";
7
- import {
8
- CreateHapgCommandInput,
9
- CreateHapgCommandOutput,
10
- } from "./commands/CreateHapgCommand";
11
- import {
12
- CreateHsmCommandInput,
13
- CreateHsmCommandOutput,
14
- } from "./commands/CreateHsmCommand";
7
+ import { CreateHapgCommandInput, CreateHapgCommandOutput } from "./commands/CreateHapgCommand";
8
+ import { CreateHsmCommandInput, CreateHsmCommandOutput } from "./commands/CreateHsmCommand";
15
9
  import {
16
10
  CreateLunaClientCommandInput,
17
11
  CreateLunaClientCommandOutput,
18
12
  } from "./commands/CreateLunaClientCommand";
19
- import {
20
- DeleteHapgCommandInput,
21
- DeleteHapgCommandOutput,
22
- } from "./commands/DeleteHapgCommand";
23
- import {
24
- DeleteHsmCommandInput,
25
- DeleteHsmCommandOutput,
26
- } from "./commands/DeleteHsmCommand";
13
+ import { DeleteHapgCommandInput, DeleteHapgCommandOutput } from "./commands/DeleteHapgCommand";
14
+ import { DeleteHsmCommandInput, DeleteHsmCommandOutput } from "./commands/DeleteHsmCommand";
27
15
  import {
28
16
  DeleteLunaClientCommandInput,
29
17
  DeleteLunaClientCommandOutput,
@@ -32,30 +20,18 @@ import {
32
20
  DescribeHapgCommandInput,
33
21
  DescribeHapgCommandOutput,
34
22
  } from "./commands/DescribeHapgCommand";
35
- import {
36
- DescribeHsmCommandInput,
37
- DescribeHsmCommandOutput,
38
- } from "./commands/DescribeHsmCommand";
23
+ import { DescribeHsmCommandInput, DescribeHsmCommandOutput } from "./commands/DescribeHsmCommand";
39
24
  import {
40
25
  DescribeLunaClientCommandInput,
41
26
  DescribeLunaClientCommandOutput,
42
27
  } from "./commands/DescribeLunaClientCommand";
43
- import {
44
- GetConfigCommandInput,
45
- GetConfigCommandOutput,
46
- } from "./commands/GetConfigCommand";
28
+ import { GetConfigCommandInput, GetConfigCommandOutput } from "./commands/GetConfigCommand";
47
29
  import {
48
30
  ListAvailableZonesCommandInput,
49
31
  ListAvailableZonesCommandOutput,
50
32
  } from "./commands/ListAvailableZonesCommand";
51
- import {
52
- ListHapgsCommandInput,
53
- ListHapgsCommandOutput,
54
- } from "./commands/ListHapgsCommand";
55
- import {
56
- ListHsmsCommandInput,
57
- ListHsmsCommandOutput,
58
- } from "./commands/ListHsmsCommand";
33
+ import { ListHapgsCommandInput, ListHapgsCommandOutput } from "./commands/ListHapgsCommand";
34
+ import { ListHsmsCommandInput, ListHsmsCommandOutput } from "./commands/ListHsmsCommand";
59
35
  import {
60
36
  ListLunaClientsCommandInput,
61
37
  ListLunaClientsCommandOutput,
@@ -64,14 +40,8 @@ import {
64
40
  ListTagsForResourceCommandInput,
65
41
  ListTagsForResourceCommandOutput,
66
42
  } from "./commands/ListTagsForResourceCommand";
67
- import {
68
- ModifyHapgCommandInput,
69
- ModifyHapgCommandOutput,
70
- } from "./commands/ModifyHapgCommand";
71
- import {
72
- ModifyHsmCommandInput,
73
- ModifyHsmCommandOutput,
74
- } from "./commands/ModifyHsmCommand";
43
+ import { ModifyHapgCommandInput, ModifyHapgCommandOutput } from "./commands/ModifyHapgCommand";
44
+ import { ModifyHsmCommandInput, ModifyHsmCommandOutput } from "./commands/ModifyHsmCommand";
75
45
  import {
76
46
  ModifyLunaClientCommandInput,
77
47
  ModifyLunaClientCommandOutput,
@@ -83,269 +53,266 @@ import {
83
53
  export interface CloudHSM {
84
54
  addTagsToResource(
85
55
  args: AddTagsToResourceCommandInput,
86
- options?: __HttpHandlerOptions
56
+ options?: __HttpHandlerOptions,
87
57
  ): Promise<AddTagsToResourceCommandOutput>;
88
58
  addTagsToResource(
89
59
  args: AddTagsToResourceCommandInput,
90
- cb: (err: any, data?: AddTagsToResourceCommandOutput) => void
60
+ cb: (err: any, data?: AddTagsToResourceCommandOutput) => void,
91
61
  ): void;
92
62
  addTagsToResource(
93
63
  args: AddTagsToResourceCommandInput,
94
64
  options: __HttpHandlerOptions,
95
- cb: (err: any, data?: AddTagsToResourceCommandOutput) => void
65
+ cb: (err: any, data?: AddTagsToResourceCommandOutput) => void,
96
66
  ): void;
97
67
  createHapg(
98
68
  args: CreateHapgCommandInput,
99
- options?: __HttpHandlerOptions
69
+ options?: __HttpHandlerOptions,
100
70
  ): Promise<CreateHapgCommandOutput>;
101
71
  createHapg(
102
72
  args: CreateHapgCommandInput,
103
- cb: (err: any, data?: CreateHapgCommandOutput) => void
73
+ cb: (err: any, data?: CreateHapgCommandOutput) => void,
104
74
  ): void;
105
75
  createHapg(
106
76
  args: CreateHapgCommandInput,
107
77
  options: __HttpHandlerOptions,
108
- cb: (err: any, data?: CreateHapgCommandOutput) => void
78
+ cb: (err: any, data?: CreateHapgCommandOutput) => void,
109
79
  ): void;
110
80
  createHsm(
111
81
  args: CreateHsmCommandInput,
112
- options?: __HttpHandlerOptions
82
+ options?: __HttpHandlerOptions,
113
83
  ): Promise<CreateHsmCommandOutput>;
114
84
  createHsm(
115
85
  args: CreateHsmCommandInput,
116
- cb: (err: any, data?: CreateHsmCommandOutput) => void
86
+ cb: (err: any, data?: CreateHsmCommandOutput) => void,
117
87
  ): void;
118
88
  createHsm(
119
89
  args: CreateHsmCommandInput,
120
90
  options: __HttpHandlerOptions,
121
- cb: (err: any, data?: CreateHsmCommandOutput) => void
91
+ cb: (err: any, data?: CreateHsmCommandOutput) => void,
122
92
  ): void;
123
93
  createLunaClient(
124
94
  args: CreateLunaClientCommandInput,
125
- options?: __HttpHandlerOptions
95
+ options?: __HttpHandlerOptions,
126
96
  ): Promise<CreateLunaClientCommandOutput>;
127
97
  createLunaClient(
128
98
  args: CreateLunaClientCommandInput,
129
- cb: (err: any, data?: CreateLunaClientCommandOutput) => void
99
+ cb: (err: any, data?: CreateLunaClientCommandOutput) => void,
130
100
  ): void;
131
101
  createLunaClient(
132
102
  args: CreateLunaClientCommandInput,
133
103
  options: __HttpHandlerOptions,
134
- cb: (err: any, data?: CreateLunaClientCommandOutput) => void
104
+ cb: (err: any, data?: CreateLunaClientCommandOutput) => void,
135
105
  ): void;
136
106
  deleteHapg(
137
107
  args: DeleteHapgCommandInput,
138
- options?: __HttpHandlerOptions
108
+ options?: __HttpHandlerOptions,
139
109
  ): Promise<DeleteHapgCommandOutput>;
140
110
  deleteHapg(
141
111
  args: DeleteHapgCommandInput,
142
- cb: (err: any, data?: DeleteHapgCommandOutput) => void
112
+ cb: (err: any, data?: DeleteHapgCommandOutput) => void,
143
113
  ): void;
144
114
  deleteHapg(
145
115
  args: DeleteHapgCommandInput,
146
116
  options: __HttpHandlerOptions,
147
- cb: (err: any, data?: DeleteHapgCommandOutput) => void
117
+ cb: (err: any, data?: DeleteHapgCommandOutput) => void,
148
118
  ): void;
149
119
  deleteHsm(
150
120
  args: DeleteHsmCommandInput,
151
- options?: __HttpHandlerOptions
121
+ options?: __HttpHandlerOptions,
152
122
  ): Promise<DeleteHsmCommandOutput>;
153
123
  deleteHsm(
154
124
  args: DeleteHsmCommandInput,
155
- cb: (err: any, data?: DeleteHsmCommandOutput) => void
125
+ cb: (err: any, data?: DeleteHsmCommandOutput) => void,
156
126
  ): void;
157
127
  deleteHsm(
158
128
  args: DeleteHsmCommandInput,
159
129
  options: __HttpHandlerOptions,
160
- cb: (err: any, data?: DeleteHsmCommandOutput) => void
130
+ cb: (err: any, data?: DeleteHsmCommandOutput) => void,
161
131
  ): void;
162
132
  deleteLunaClient(
163
133
  args: DeleteLunaClientCommandInput,
164
- options?: __HttpHandlerOptions
134
+ options?: __HttpHandlerOptions,
165
135
  ): Promise<DeleteLunaClientCommandOutput>;
166
136
  deleteLunaClient(
167
137
  args: DeleteLunaClientCommandInput,
168
- cb: (err: any, data?: DeleteLunaClientCommandOutput) => void
138
+ cb: (err: any, data?: DeleteLunaClientCommandOutput) => void,
169
139
  ): void;
170
140
  deleteLunaClient(
171
141
  args: DeleteLunaClientCommandInput,
172
142
  options: __HttpHandlerOptions,
173
- cb: (err: any, data?: DeleteLunaClientCommandOutput) => void
143
+ cb: (err: any, data?: DeleteLunaClientCommandOutput) => void,
174
144
  ): void;
175
145
  describeHapg(
176
146
  args: DescribeHapgCommandInput,
177
- options?: __HttpHandlerOptions
147
+ options?: __HttpHandlerOptions,
178
148
  ): Promise<DescribeHapgCommandOutput>;
179
149
  describeHapg(
180
150
  args: DescribeHapgCommandInput,
181
- cb: (err: any, data?: DescribeHapgCommandOutput) => void
151
+ cb: (err: any, data?: DescribeHapgCommandOutput) => void,
182
152
  ): void;
183
153
  describeHapg(
184
154
  args: DescribeHapgCommandInput,
185
155
  options: __HttpHandlerOptions,
186
- cb: (err: any, data?: DescribeHapgCommandOutput) => void
156
+ cb: (err: any, data?: DescribeHapgCommandOutput) => void,
187
157
  ): void;
188
158
  describeHsm(): Promise<DescribeHsmCommandOutput>;
189
159
  describeHsm(
190
160
  args: DescribeHsmCommandInput,
191
- options?: __HttpHandlerOptions
161
+ options?: __HttpHandlerOptions,
192
162
  ): Promise<DescribeHsmCommandOutput>;
193
163
  describeHsm(
194
164
  args: DescribeHsmCommandInput,
195
- cb: (err: any, data?: DescribeHsmCommandOutput) => void
165
+ cb: (err: any, data?: DescribeHsmCommandOutput) => void,
196
166
  ): void;
197
167
  describeHsm(
198
168
  args: DescribeHsmCommandInput,
199
169
  options: __HttpHandlerOptions,
200
- cb: (err: any, data?: DescribeHsmCommandOutput) => void
170
+ cb: (err: any, data?: DescribeHsmCommandOutput) => void,
201
171
  ): void;
202
172
  describeLunaClient(): Promise<DescribeLunaClientCommandOutput>;
203
173
  describeLunaClient(
204
174
  args: DescribeLunaClientCommandInput,
205
- options?: __HttpHandlerOptions
175
+ options?: __HttpHandlerOptions,
206
176
  ): Promise<DescribeLunaClientCommandOutput>;
207
177
  describeLunaClient(
208
178
  args: DescribeLunaClientCommandInput,
209
- cb: (err: any, data?: DescribeLunaClientCommandOutput) => void
179
+ cb: (err: any, data?: DescribeLunaClientCommandOutput) => void,
210
180
  ): void;
211
181
  describeLunaClient(
212
182
  args: DescribeLunaClientCommandInput,
213
183
  options: __HttpHandlerOptions,
214
- cb: (err: any, data?: DescribeLunaClientCommandOutput) => void
184
+ cb: (err: any, data?: DescribeLunaClientCommandOutput) => void,
215
185
  ): void;
216
186
  getConfig(
217
187
  args: GetConfigCommandInput,
218
- options?: __HttpHandlerOptions
188
+ options?: __HttpHandlerOptions,
219
189
  ): Promise<GetConfigCommandOutput>;
220
190
  getConfig(
221
191
  args: GetConfigCommandInput,
222
- cb: (err: any, data?: GetConfigCommandOutput) => void
192
+ cb: (err: any, data?: GetConfigCommandOutput) => void,
223
193
  ): void;
224
194
  getConfig(
225
195
  args: GetConfigCommandInput,
226
196
  options: __HttpHandlerOptions,
227
- cb: (err: any, data?: GetConfigCommandOutput) => void
197
+ cb: (err: any, data?: GetConfigCommandOutput) => void,
228
198
  ): void;
229
199
  listAvailableZones(): Promise<ListAvailableZonesCommandOutput>;
230
200
  listAvailableZones(
231
201
  args: ListAvailableZonesCommandInput,
232
- options?: __HttpHandlerOptions
202
+ options?: __HttpHandlerOptions,
233
203
  ): Promise<ListAvailableZonesCommandOutput>;
234
204
  listAvailableZones(
235
205
  args: ListAvailableZonesCommandInput,
236
- cb: (err: any, data?: ListAvailableZonesCommandOutput) => void
206
+ cb: (err: any, data?: ListAvailableZonesCommandOutput) => void,
237
207
  ): void;
238
208
  listAvailableZones(
239
209
  args: ListAvailableZonesCommandInput,
240
210
  options: __HttpHandlerOptions,
241
- cb: (err: any, data?: ListAvailableZonesCommandOutput) => void
211
+ cb: (err: any, data?: ListAvailableZonesCommandOutput) => void,
242
212
  ): void;
243
213
  listHapgs(): Promise<ListHapgsCommandOutput>;
244
214
  listHapgs(
245
215
  args: ListHapgsCommandInput,
246
- options?: __HttpHandlerOptions
216
+ options?: __HttpHandlerOptions,
247
217
  ): Promise<ListHapgsCommandOutput>;
248
218
  listHapgs(
249
219
  args: ListHapgsCommandInput,
250
- cb: (err: any, data?: ListHapgsCommandOutput) => void
220
+ cb: (err: any, data?: ListHapgsCommandOutput) => void,
251
221
  ): void;
252
222
  listHapgs(
253
223
  args: ListHapgsCommandInput,
254
224
  options: __HttpHandlerOptions,
255
- cb: (err: any, data?: ListHapgsCommandOutput) => void
225
+ cb: (err: any, data?: ListHapgsCommandOutput) => void,
256
226
  ): void;
257
227
  listHsms(): Promise<ListHsmsCommandOutput>;
258
228
  listHsms(
259
229
  args: ListHsmsCommandInput,
260
- options?: __HttpHandlerOptions
230
+ options?: __HttpHandlerOptions,
261
231
  ): Promise<ListHsmsCommandOutput>;
262
- listHsms(
263
- args: ListHsmsCommandInput,
264
- cb: (err: any, data?: ListHsmsCommandOutput) => void
265
- ): void;
232
+ listHsms(args: ListHsmsCommandInput, cb: (err: any, data?: ListHsmsCommandOutput) => void): void;
266
233
  listHsms(
267
234
  args: ListHsmsCommandInput,
268
235
  options: __HttpHandlerOptions,
269
- cb: (err: any, data?: ListHsmsCommandOutput) => void
236
+ cb: (err: any, data?: ListHsmsCommandOutput) => void,
270
237
  ): void;
271
238
  listLunaClients(): Promise<ListLunaClientsCommandOutput>;
272
239
  listLunaClients(
273
240
  args: ListLunaClientsCommandInput,
274
- options?: __HttpHandlerOptions
241
+ options?: __HttpHandlerOptions,
275
242
  ): Promise<ListLunaClientsCommandOutput>;
276
243
  listLunaClients(
277
244
  args: ListLunaClientsCommandInput,
278
- cb: (err: any, data?: ListLunaClientsCommandOutput) => void
245
+ cb: (err: any, data?: ListLunaClientsCommandOutput) => void,
279
246
  ): void;
280
247
  listLunaClients(
281
248
  args: ListLunaClientsCommandInput,
282
249
  options: __HttpHandlerOptions,
283
- cb: (err: any, data?: ListLunaClientsCommandOutput) => void
250
+ cb: (err: any, data?: ListLunaClientsCommandOutput) => void,
284
251
  ): void;
285
252
  listTagsForResource(
286
253
  args: ListTagsForResourceCommandInput,
287
- options?: __HttpHandlerOptions
254
+ options?: __HttpHandlerOptions,
288
255
  ): Promise<ListTagsForResourceCommandOutput>;
289
256
  listTagsForResource(
290
257
  args: ListTagsForResourceCommandInput,
291
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
258
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
292
259
  ): void;
293
260
  listTagsForResource(
294
261
  args: ListTagsForResourceCommandInput,
295
262
  options: __HttpHandlerOptions,
296
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
263
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
297
264
  ): void;
298
265
  modifyHapg(
299
266
  args: ModifyHapgCommandInput,
300
- options?: __HttpHandlerOptions
267
+ options?: __HttpHandlerOptions,
301
268
  ): Promise<ModifyHapgCommandOutput>;
302
269
  modifyHapg(
303
270
  args: ModifyHapgCommandInput,
304
- cb: (err: any, data?: ModifyHapgCommandOutput) => void
271
+ cb: (err: any, data?: ModifyHapgCommandOutput) => void,
305
272
  ): void;
306
273
  modifyHapg(
307
274
  args: ModifyHapgCommandInput,
308
275
  options: __HttpHandlerOptions,
309
- cb: (err: any, data?: ModifyHapgCommandOutput) => void
276
+ cb: (err: any, data?: ModifyHapgCommandOutput) => void,
310
277
  ): void;
311
278
  modifyHsm(
312
279
  args: ModifyHsmCommandInput,
313
- options?: __HttpHandlerOptions
280
+ options?: __HttpHandlerOptions,
314
281
  ): Promise<ModifyHsmCommandOutput>;
315
282
  modifyHsm(
316
283
  args: ModifyHsmCommandInput,
317
- cb: (err: any, data?: ModifyHsmCommandOutput) => void
284
+ cb: (err: any, data?: ModifyHsmCommandOutput) => void,
318
285
  ): void;
319
286
  modifyHsm(
320
287
  args: ModifyHsmCommandInput,
321
288
  options: __HttpHandlerOptions,
322
- cb: (err: any, data?: ModifyHsmCommandOutput) => void
289
+ cb: (err: any, data?: ModifyHsmCommandOutput) => void,
323
290
  ): void;
324
291
  modifyLunaClient(
325
292
  args: ModifyLunaClientCommandInput,
326
- options?: __HttpHandlerOptions
293
+ options?: __HttpHandlerOptions,
327
294
  ): Promise<ModifyLunaClientCommandOutput>;
328
295
  modifyLunaClient(
329
296
  args: ModifyLunaClientCommandInput,
330
- cb: (err: any, data?: ModifyLunaClientCommandOutput) => void
297
+ cb: (err: any, data?: ModifyLunaClientCommandOutput) => void,
331
298
  ): void;
332
299
  modifyLunaClient(
333
300
  args: ModifyLunaClientCommandInput,
334
301
  options: __HttpHandlerOptions,
335
- cb: (err: any, data?: ModifyLunaClientCommandOutput) => void
302
+ cb: (err: any, data?: ModifyLunaClientCommandOutput) => void,
336
303
  ): void;
337
304
  removeTagsFromResource(
338
305
  args: RemoveTagsFromResourceCommandInput,
339
- options?: __HttpHandlerOptions
306
+ options?: __HttpHandlerOptions,
340
307
  ): Promise<RemoveTagsFromResourceCommandOutput>;
341
308
  removeTagsFromResource(
342
309
  args: RemoveTagsFromResourceCommandInput,
343
- cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
310
+ cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void,
344
311
  ): void;
345
312
  removeTagsFromResource(
346
313
  args: RemoveTagsFromResourceCommandInput,
347
314
  options: __HttpHandlerOptions,
348
- cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
315
+ cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void,
349
316
  ): void;
350
317
  }
351
318
  export declare class CloudHSM extends CloudHSMClient implements CloudHSM {}
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -40,26 +37,14 @@ import {
40
37
  AddTagsToResourceCommandInput,
41
38
  AddTagsToResourceCommandOutput,
42
39
  } from "./commands/AddTagsToResourceCommand";
43
- import {
44
- CreateHapgCommandInput,
45
- CreateHapgCommandOutput,
46
- } from "./commands/CreateHapgCommand";
47
- import {
48
- CreateHsmCommandInput,
49
- CreateHsmCommandOutput,
50
- } from "./commands/CreateHsmCommand";
40
+ import { CreateHapgCommandInput, CreateHapgCommandOutput } from "./commands/CreateHapgCommand";
41
+ import { CreateHsmCommandInput, CreateHsmCommandOutput } from "./commands/CreateHsmCommand";
51
42
  import {
52
43
  CreateLunaClientCommandInput,
53
44
  CreateLunaClientCommandOutput,
54
45
  } from "./commands/CreateLunaClientCommand";
55
- import {
56
- DeleteHapgCommandInput,
57
- DeleteHapgCommandOutput,
58
- } from "./commands/DeleteHapgCommand";
59
- import {
60
- DeleteHsmCommandInput,
61
- DeleteHsmCommandOutput,
62
- } from "./commands/DeleteHsmCommand";
46
+ import { DeleteHapgCommandInput, DeleteHapgCommandOutput } from "./commands/DeleteHapgCommand";
47
+ import { DeleteHsmCommandInput, DeleteHsmCommandOutput } from "./commands/DeleteHsmCommand";
63
48
  import {
64
49
  DeleteLunaClientCommandInput,
65
50
  DeleteLunaClientCommandOutput,
@@ -68,30 +53,18 @@ import {
68
53
  DescribeHapgCommandInput,
69
54
  DescribeHapgCommandOutput,
70
55
  } from "./commands/DescribeHapgCommand";
71
- import {
72
- DescribeHsmCommandInput,
73
- DescribeHsmCommandOutput,
74
- } from "./commands/DescribeHsmCommand";
56
+ import { DescribeHsmCommandInput, DescribeHsmCommandOutput } from "./commands/DescribeHsmCommand";
75
57
  import {
76
58
  DescribeLunaClientCommandInput,
77
59
  DescribeLunaClientCommandOutput,
78
60
  } from "./commands/DescribeLunaClientCommand";
79
- import {
80
- GetConfigCommandInput,
81
- GetConfigCommandOutput,
82
- } from "./commands/GetConfigCommand";
61
+ import { GetConfigCommandInput, GetConfigCommandOutput } from "./commands/GetConfigCommand";
83
62
  import {
84
63
  ListAvailableZonesCommandInput,
85
64
  ListAvailableZonesCommandOutput,
86
65
  } from "./commands/ListAvailableZonesCommand";
87
- import {
88
- ListHapgsCommandInput,
89
- ListHapgsCommandOutput,
90
- } from "./commands/ListHapgsCommand";
91
- import {
92
- ListHsmsCommandInput,
93
- ListHsmsCommandOutput,
94
- } from "./commands/ListHsmsCommand";
66
+ import { ListHapgsCommandInput, ListHapgsCommandOutput } from "./commands/ListHapgsCommand";
67
+ import { ListHsmsCommandInput, ListHsmsCommandOutput } from "./commands/ListHsmsCommand";
95
68
  import {
96
69
  ListLunaClientsCommandInput,
97
70
  ListLunaClientsCommandOutput,
@@ -100,14 +73,8 @@ import {
100
73
  ListTagsForResourceCommandInput,
101
74
  ListTagsForResourceCommandOutput,
102
75
  } from "./commands/ListTagsForResourceCommand";
103
- import {
104
- ModifyHapgCommandInput,
105
- ModifyHapgCommandOutput,
106
- } from "./commands/ModifyHapgCommand";
107
- import {
108
- ModifyHsmCommandInput,
109
- ModifyHsmCommandOutput,
110
- } from "./commands/ModifyHsmCommand";
76
+ import { ModifyHapgCommandInput, ModifyHapgCommandOutput } from "./commands/ModifyHapgCommand";
77
+ import { ModifyHsmCommandInput, ModifyHsmCommandOutput } from "./commands/ModifyHsmCommand";
111
78
  import {
112
79
  ModifyLunaClientCommandInput,
113
80
  ModifyLunaClientCommandOutput,
@@ -165,8 +132,7 @@ export type ServiceOutputTypes =
165
132
  | ModifyHsmCommandOutput
166
133
  | ModifyLunaClientCommandOutput
167
134
  | RemoveTagsFromResourceCommandOutput;
168
- export interface ClientDefaults
169
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
135
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
170
136
  requestHandler?: __HttpHandlerUserInput;
171
137
  sha256?: __ChecksumConstructor | __HashConstructor;
172
138
  urlParser?: __UrlParser;
@@ -191,9 +157,7 @@ export interface ClientDefaults
191
157
  extensions?: RuntimeExtension[];
192
158
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
193
159
  }
194
- export type CloudHSMClientConfigType = Partial<
195
- __SmithyConfiguration<__HttpHandlerOptions>
196
- > &
160
+ export type CloudHSMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
197
161
  ClientDefaults &
198
162
  UserAgentInputConfig &
199
163
  RetryInputConfig &
@@ -203,19 +167,17 @@ export type CloudHSMClientConfigType = Partial<
203
167
  HttpAuthSchemeInputConfig &
204
168
  ClientInputEndpointParameters;
205
169
  export interface CloudHSMClientConfig extends CloudHSMClientConfigType {}
206
- export type CloudHSMClientResolvedConfigType =
207
- __SmithyResolvedConfiguration<__HttpHandlerOptions> &
208
- Required<ClientDefaults> &
209
- RuntimeExtensionsConfig &
210
- UserAgentResolvedConfig &
211
- RetryResolvedConfig &
212
- RegionResolvedConfig &
213
- HostHeaderResolvedConfig &
214
- EndpointResolvedConfig<EndpointParameters> &
215
- HttpAuthSchemeResolvedConfig &
216
- ClientResolvedEndpointParameters;
217
- export interface CloudHSMClientResolvedConfig
218
- extends CloudHSMClientResolvedConfigType {}
170
+ export type CloudHSMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
171
+ Required<ClientDefaults> &
172
+ RuntimeExtensionsConfig &
173
+ UserAgentResolvedConfig &
174
+ RetryResolvedConfig &
175
+ RegionResolvedConfig &
176
+ HostHeaderResolvedConfig &
177
+ EndpointResolvedConfig<EndpointParameters> &
178
+ HttpAuthSchemeResolvedConfig &
179
+ ClientResolvedEndpointParameters;
180
+ export interface CloudHSMClientResolvedConfig extends CloudHSMClientResolvedConfigType {}
219
181
  export declare class CloudHSMClient extends __Client<
220
182
  __HttpHandlerOptions,
221
183
  ServiceInputTypes,
@@ -223,8 +185,6 @@ export declare class CloudHSMClient extends __Client<
223
185
  CloudHSMClientResolvedConfig
224
186
  > {
225
187
  readonly config: CloudHSMClientResolvedConfig;
226
- constructor(
227
- ...[configuration]: __CheckOptionalClientConfig<CloudHSMClientConfig>
228
- );
188
+ constructor(...[configuration]: __CheckOptionalClientConfig<CloudHSMClientConfig>);
229
189
  destroy(): void;
230
190
  }
@@ -7,17 +7,10 @@ import { CloudHSMHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: CloudHSMHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: CloudHSMHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): CloudHSMHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;
@@ -12,36 +12,32 @@ import {
12
12
  Provider,
13
13
  } from "@smithy/types";
14
14
  import { CloudHSMClientResolvedConfig } from "../CloudHSMClient";
15
- export interface CloudHSMHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface CloudHSMHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface CloudHSMHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- CloudHSMClientResolvedConfig,
22
- HandlerExecutionContext,
23
- CloudHSMHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface CloudHSMHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ CloudHSMClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ CloudHSMHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultCloudHSMHttpAuthSchemeParametersProvider: (
27
25
  config: CloudHSMClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<CloudHSMHttpAuthSchemeParameters>;
31
- export interface CloudHSMHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<CloudHSMHttpAuthSchemeParameters> {}
29
+ export interface CloudHSMHttpAuthSchemeProvider extends HttpAuthSchemeProvider<CloudHSMHttpAuthSchemeParameters> {}
33
30
  export declare const defaultCloudHSMHttpAuthSchemeProvider: CloudHSMHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: CloudHSMHttpAuthSchemeProvider;
38
35
  }
39
- export interface HttpAuthSchemeResolvedConfig
40
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
41
37
  readonly authSchemePreference: Provider<string[]>;
42
38
  readonly httpAuthSchemes: HttpAuthScheme[];
43
39
  readonly httpAuthSchemeProvider: CloudHSMHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;