@aws-sdk/client-cloudhsm-v2 3.1086.0 → 3.1088.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/CloudHSMV2.d.ts +62 -79
- package/dist-types/ts3.4/CloudHSMV2Client.d.ts +9 -30
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/CopyBackupToRegionCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateHsmCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DeleteHsmCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DescribeBackupsCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/InitializeClusterCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/ModifyBackupAttributesCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ModifyClusterCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/RestoreBackupCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +1 -2
- package/dist-types/ts3.4/models/errors.d.ts +7 -33
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListTagsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -12,10 +12,7 @@ import {
|
|
|
12
12
|
CreateClusterCommandInput,
|
|
13
13
|
CreateClusterCommandOutput,
|
|
14
14
|
} from "./commands/CreateClusterCommand";
|
|
15
|
-
import {
|
|
16
|
-
CreateHsmCommandInput,
|
|
17
|
-
CreateHsmCommandOutput,
|
|
18
|
-
} from "./commands/CreateHsmCommand";
|
|
15
|
+
import { CreateHsmCommandInput, CreateHsmCommandOutput } from "./commands/CreateHsmCommand";
|
|
19
16
|
import {
|
|
20
17
|
DeleteBackupCommandInput,
|
|
21
18
|
DeleteBackupCommandOutput,
|
|
@@ -24,10 +21,7 @@ import {
|
|
|
24
21
|
DeleteClusterCommandInput,
|
|
25
22
|
DeleteClusterCommandOutput,
|
|
26
23
|
} from "./commands/DeleteClusterCommand";
|
|
27
|
-
import {
|
|
28
|
-
DeleteHsmCommandInput,
|
|
29
|
-
DeleteHsmCommandOutput,
|
|
30
|
-
} from "./commands/DeleteHsmCommand";
|
|
24
|
+
import { DeleteHsmCommandInput, DeleteHsmCommandOutput } from "./commands/DeleteHsmCommand";
|
|
31
25
|
import {
|
|
32
26
|
DeleteResourcePolicyCommandInput,
|
|
33
27
|
DeleteResourcePolicyCommandOutput,
|
|
@@ -48,10 +42,7 @@ import {
|
|
|
48
42
|
InitializeClusterCommandInput,
|
|
49
43
|
InitializeClusterCommandOutput,
|
|
50
44
|
} from "./commands/InitializeClusterCommand";
|
|
51
|
-
import {
|
|
52
|
-
ListTagsCommandInput,
|
|
53
|
-
ListTagsCommandOutput,
|
|
54
|
-
} from "./commands/ListTagsCommand";
|
|
45
|
+
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
55
46
|
import {
|
|
56
47
|
ModifyBackupAttributesCommandInput,
|
|
57
48
|
ModifyBackupAttributesCommandOutput,
|
|
@@ -68,10 +59,7 @@ import {
|
|
|
68
59
|
RestoreBackupCommandInput,
|
|
69
60
|
RestoreBackupCommandOutput,
|
|
70
61
|
} from "./commands/RestoreBackupCommand";
|
|
71
|
-
import {
|
|
72
|
-
TagResourceCommandInput,
|
|
73
|
-
TagResourceCommandOutput,
|
|
74
|
-
} from "./commands/TagResourceCommand";
|
|
62
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
75
63
|
import {
|
|
76
64
|
UntagResourceCommandInput,
|
|
77
65
|
UntagResourceCommandOutput,
|
|
@@ -79,265 +67,260 @@ import {
|
|
|
79
67
|
export interface CloudHSMV2 {
|
|
80
68
|
copyBackupToRegion(
|
|
81
69
|
args: CopyBackupToRegionCommandInput,
|
|
82
|
-
options?: __HttpHandlerOptions
|
|
70
|
+
options?: __HttpHandlerOptions,
|
|
83
71
|
): Promise<CopyBackupToRegionCommandOutput>;
|
|
84
72
|
copyBackupToRegion(
|
|
85
73
|
args: CopyBackupToRegionCommandInput,
|
|
86
|
-
cb: (err: any, data?: CopyBackupToRegionCommandOutput) => void
|
|
74
|
+
cb: (err: any, data?: CopyBackupToRegionCommandOutput) => void,
|
|
87
75
|
): void;
|
|
88
76
|
copyBackupToRegion(
|
|
89
77
|
args: CopyBackupToRegionCommandInput,
|
|
90
78
|
options: __HttpHandlerOptions,
|
|
91
|
-
cb: (err: any, data?: CopyBackupToRegionCommandOutput) => void
|
|
79
|
+
cb: (err: any, data?: CopyBackupToRegionCommandOutput) => void,
|
|
92
80
|
): void;
|
|
93
81
|
createCluster(
|
|
94
82
|
args: CreateClusterCommandInput,
|
|
95
|
-
options?: __HttpHandlerOptions
|
|
83
|
+
options?: __HttpHandlerOptions,
|
|
96
84
|
): Promise<CreateClusterCommandOutput>;
|
|
97
85
|
createCluster(
|
|
98
86
|
args: CreateClusterCommandInput,
|
|
99
|
-
cb: (err: any, data?: CreateClusterCommandOutput) => void
|
|
87
|
+
cb: (err: any, data?: CreateClusterCommandOutput) => void,
|
|
100
88
|
): void;
|
|
101
89
|
createCluster(
|
|
102
90
|
args: CreateClusterCommandInput,
|
|
103
91
|
options: __HttpHandlerOptions,
|
|
104
|
-
cb: (err: any, data?: CreateClusterCommandOutput) => void
|
|
92
|
+
cb: (err: any, data?: CreateClusterCommandOutput) => void,
|
|
105
93
|
): void;
|
|
106
94
|
createHsm(
|
|
107
95
|
args: CreateHsmCommandInput,
|
|
108
|
-
options?: __HttpHandlerOptions
|
|
96
|
+
options?: __HttpHandlerOptions,
|
|
109
97
|
): Promise<CreateHsmCommandOutput>;
|
|
110
98
|
createHsm(
|
|
111
99
|
args: CreateHsmCommandInput,
|
|
112
|
-
cb: (err: any, data?: CreateHsmCommandOutput) => void
|
|
100
|
+
cb: (err: any, data?: CreateHsmCommandOutput) => void,
|
|
113
101
|
): void;
|
|
114
102
|
createHsm(
|
|
115
103
|
args: CreateHsmCommandInput,
|
|
116
104
|
options: __HttpHandlerOptions,
|
|
117
|
-
cb: (err: any, data?: CreateHsmCommandOutput) => void
|
|
105
|
+
cb: (err: any, data?: CreateHsmCommandOutput) => void,
|
|
118
106
|
): void;
|
|
119
107
|
deleteBackup(
|
|
120
108
|
args: DeleteBackupCommandInput,
|
|
121
|
-
options?: __HttpHandlerOptions
|
|
109
|
+
options?: __HttpHandlerOptions,
|
|
122
110
|
): Promise<DeleteBackupCommandOutput>;
|
|
123
111
|
deleteBackup(
|
|
124
112
|
args: DeleteBackupCommandInput,
|
|
125
|
-
cb: (err: any, data?: DeleteBackupCommandOutput) => void
|
|
113
|
+
cb: (err: any, data?: DeleteBackupCommandOutput) => void,
|
|
126
114
|
): void;
|
|
127
115
|
deleteBackup(
|
|
128
116
|
args: DeleteBackupCommandInput,
|
|
129
117
|
options: __HttpHandlerOptions,
|
|
130
|
-
cb: (err: any, data?: DeleteBackupCommandOutput) => void
|
|
118
|
+
cb: (err: any, data?: DeleteBackupCommandOutput) => void,
|
|
131
119
|
): void;
|
|
132
120
|
deleteCluster(
|
|
133
121
|
args: DeleteClusterCommandInput,
|
|
134
|
-
options?: __HttpHandlerOptions
|
|
122
|
+
options?: __HttpHandlerOptions,
|
|
135
123
|
): Promise<DeleteClusterCommandOutput>;
|
|
136
124
|
deleteCluster(
|
|
137
125
|
args: DeleteClusterCommandInput,
|
|
138
|
-
cb: (err: any, data?: DeleteClusterCommandOutput) => void
|
|
126
|
+
cb: (err: any, data?: DeleteClusterCommandOutput) => void,
|
|
139
127
|
): void;
|
|
140
128
|
deleteCluster(
|
|
141
129
|
args: DeleteClusterCommandInput,
|
|
142
130
|
options: __HttpHandlerOptions,
|
|
143
|
-
cb: (err: any, data?: DeleteClusterCommandOutput) => void
|
|
131
|
+
cb: (err: any, data?: DeleteClusterCommandOutput) => void,
|
|
144
132
|
): void;
|
|
145
133
|
deleteHsm(
|
|
146
134
|
args: DeleteHsmCommandInput,
|
|
147
|
-
options?: __HttpHandlerOptions
|
|
135
|
+
options?: __HttpHandlerOptions,
|
|
148
136
|
): Promise<DeleteHsmCommandOutput>;
|
|
149
137
|
deleteHsm(
|
|
150
138
|
args: DeleteHsmCommandInput,
|
|
151
|
-
cb: (err: any, data?: DeleteHsmCommandOutput) => void
|
|
139
|
+
cb: (err: any, data?: DeleteHsmCommandOutput) => void,
|
|
152
140
|
): void;
|
|
153
141
|
deleteHsm(
|
|
154
142
|
args: DeleteHsmCommandInput,
|
|
155
143
|
options: __HttpHandlerOptions,
|
|
156
|
-
cb: (err: any, data?: DeleteHsmCommandOutput) => void
|
|
144
|
+
cb: (err: any, data?: DeleteHsmCommandOutput) => void,
|
|
157
145
|
): void;
|
|
158
146
|
deleteResourcePolicy(): Promise<DeleteResourcePolicyCommandOutput>;
|
|
159
147
|
deleteResourcePolicy(
|
|
160
148
|
args: DeleteResourcePolicyCommandInput,
|
|
161
|
-
options?: __HttpHandlerOptions
|
|
149
|
+
options?: __HttpHandlerOptions,
|
|
162
150
|
): Promise<DeleteResourcePolicyCommandOutput>;
|
|
163
151
|
deleteResourcePolicy(
|
|
164
152
|
args: DeleteResourcePolicyCommandInput,
|
|
165
|
-
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
153
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
|
|
166
154
|
): void;
|
|
167
155
|
deleteResourcePolicy(
|
|
168
156
|
args: DeleteResourcePolicyCommandInput,
|
|
169
157
|
options: __HttpHandlerOptions,
|
|
170
|
-
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
158
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
|
|
171
159
|
): void;
|
|
172
160
|
describeBackups(): Promise<DescribeBackupsCommandOutput>;
|
|
173
161
|
describeBackups(
|
|
174
162
|
args: DescribeBackupsCommandInput,
|
|
175
|
-
options?: __HttpHandlerOptions
|
|
163
|
+
options?: __HttpHandlerOptions,
|
|
176
164
|
): Promise<DescribeBackupsCommandOutput>;
|
|
177
165
|
describeBackups(
|
|
178
166
|
args: DescribeBackupsCommandInput,
|
|
179
|
-
cb: (err: any, data?: DescribeBackupsCommandOutput) => void
|
|
167
|
+
cb: (err: any, data?: DescribeBackupsCommandOutput) => void,
|
|
180
168
|
): void;
|
|
181
169
|
describeBackups(
|
|
182
170
|
args: DescribeBackupsCommandInput,
|
|
183
171
|
options: __HttpHandlerOptions,
|
|
184
|
-
cb: (err: any, data?: DescribeBackupsCommandOutput) => void
|
|
172
|
+
cb: (err: any, data?: DescribeBackupsCommandOutput) => void,
|
|
185
173
|
): void;
|
|
186
174
|
describeClusters(): Promise<DescribeClustersCommandOutput>;
|
|
187
175
|
describeClusters(
|
|
188
176
|
args: DescribeClustersCommandInput,
|
|
189
|
-
options?: __HttpHandlerOptions
|
|
177
|
+
options?: __HttpHandlerOptions,
|
|
190
178
|
): Promise<DescribeClustersCommandOutput>;
|
|
191
179
|
describeClusters(
|
|
192
180
|
args: DescribeClustersCommandInput,
|
|
193
|
-
cb: (err: any, data?: DescribeClustersCommandOutput) => void
|
|
181
|
+
cb: (err: any, data?: DescribeClustersCommandOutput) => void,
|
|
194
182
|
): void;
|
|
195
183
|
describeClusters(
|
|
196
184
|
args: DescribeClustersCommandInput,
|
|
197
185
|
options: __HttpHandlerOptions,
|
|
198
|
-
cb: (err: any, data?: DescribeClustersCommandOutput) => void
|
|
186
|
+
cb: (err: any, data?: DescribeClustersCommandOutput) => void,
|
|
199
187
|
): void;
|
|
200
188
|
getResourcePolicy(): Promise<GetResourcePolicyCommandOutput>;
|
|
201
189
|
getResourcePolicy(
|
|
202
190
|
args: GetResourcePolicyCommandInput,
|
|
203
|
-
options?: __HttpHandlerOptions
|
|
191
|
+
options?: __HttpHandlerOptions,
|
|
204
192
|
): Promise<GetResourcePolicyCommandOutput>;
|
|
205
193
|
getResourcePolicy(
|
|
206
194
|
args: GetResourcePolicyCommandInput,
|
|
207
|
-
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
195
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
|
|
208
196
|
): void;
|
|
209
197
|
getResourcePolicy(
|
|
210
198
|
args: GetResourcePolicyCommandInput,
|
|
211
199
|
options: __HttpHandlerOptions,
|
|
212
|
-
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
200
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
|
|
213
201
|
): void;
|
|
214
202
|
initializeCluster(
|
|
215
203
|
args: InitializeClusterCommandInput,
|
|
216
|
-
options?: __HttpHandlerOptions
|
|
204
|
+
options?: __HttpHandlerOptions,
|
|
217
205
|
): Promise<InitializeClusterCommandOutput>;
|
|
218
206
|
initializeCluster(
|
|
219
207
|
args: InitializeClusterCommandInput,
|
|
220
|
-
cb: (err: any, data?: InitializeClusterCommandOutput) => void
|
|
208
|
+
cb: (err: any, data?: InitializeClusterCommandOutput) => void,
|
|
221
209
|
): void;
|
|
222
210
|
initializeCluster(
|
|
223
211
|
args: InitializeClusterCommandInput,
|
|
224
212
|
options: __HttpHandlerOptions,
|
|
225
|
-
cb: (err: any, data?: InitializeClusterCommandOutput) => void
|
|
213
|
+
cb: (err: any, data?: InitializeClusterCommandOutput) => void,
|
|
226
214
|
): void;
|
|
227
215
|
listTags(
|
|
228
216
|
args: ListTagsCommandInput,
|
|
229
|
-
options?: __HttpHandlerOptions
|
|
217
|
+
options?: __HttpHandlerOptions,
|
|
230
218
|
): Promise<ListTagsCommandOutput>;
|
|
231
|
-
listTags(
|
|
232
|
-
args: ListTagsCommandInput,
|
|
233
|
-
cb: (err: any, data?: ListTagsCommandOutput) => void
|
|
234
|
-
): void;
|
|
219
|
+
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
235
220
|
listTags(
|
|
236
221
|
args: ListTagsCommandInput,
|
|
237
222
|
options: __HttpHandlerOptions,
|
|
238
|
-
cb: (err: any, data?: ListTagsCommandOutput) => void
|
|
223
|
+
cb: (err: any, data?: ListTagsCommandOutput) => void,
|
|
239
224
|
): void;
|
|
240
225
|
modifyBackupAttributes(
|
|
241
226
|
args: ModifyBackupAttributesCommandInput,
|
|
242
|
-
options?: __HttpHandlerOptions
|
|
227
|
+
options?: __HttpHandlerOptions,
|
|
243
228
|
): Promise<ModifyBackupAttributesCommandOutput>;
|
|
244
229
|
modifyBackupAttributes(
|
|
245
230
|
args: ModifyBackupAttributesCommandInput,
|
|
246
|
-
cb: (err: any, data?: ModifyBackupAttributesCommandOutput) => void
|
|
231
|
+
cb: (err: any, data?: ModifyBackupAttributesCommandOutput) => void,
|
|
247
232
|
): void;
|
|
248
233
|
modifyBackupAttributes(
|
|
249
234
|
args: ModifyBackupAttributesCommandInput,
|
|
250
235
|
options: __HttpHandlerOptions,
|
|
251
|
-
cb: (err: any, data?: ModifyBackupAttributesCommandOutput) => void
|
|
236
|
+
cb: (err: any, data?: ModifyBackupAttributesCommandOutput) => void,
|
|
252
237
|
): void;
|
|
253
238
|
modifyCluster(
|
|
254
239
|
args: ModifyClusterCommandInput,
|
|
255
|
-
options?: __HttpHandlerOptions
|
|
240
|
+
options?: __HttpHandlerOptions,
|
|
256
241
|
): Promise<ModifyClusterCommandOutput>;
|
|
257
242
|
modifyCluster(
|
|
258
243
|
args: ModifyClusterCommandInput,
|
|
259
|
-
cb: (err: any, data?: ModifyClusterCommandOutput) => void
|
|
244
|
+
cb: (err: any, data?: ModifyClusterCommandOutput) => void,
|
|
260
245
|
): void;
|
|
261
246
|
modifyCluster(
|
|
262
247
|
args: ModifyClusterCommandInput,
|
|
263
248
|
options: __HttpHandlerOptions,
|
|
264
|
-
cb: (err: any, data?: ModifyClusterCommandOutput) => void
|
|
249
|
+
cb: (err: any, data?: ModifyClusterCommandOutput) => void,
|
|
265
250
|
): void;
|
|
266
251
|
putResourcePolicy(): Promise<PutResourcePolicyCommandOutput>;
|
|
267
252
|
putResourcePolicy(
|
|
268
253
|
args: PutResourcePolicyCommandInput,
|
|
269
|
-
options?: __HttpHandlerOptions
|
|
254
|
+
options?: __HttpHandlerOptions,
|
|
270
255
|
): Promise<PutResourcePolicyCommandOutput>;
|
|
271
256
|
putResourcePolicy(
|
|
272
257
|
args: PutResourcePolicyCommandInput,
|
|
273
|
-
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
258
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
|
|
274
259
|
): void;
|
|
275
260
|
putResourcePolicy(
|
|
276
261
|
args: PutResourcePolicyCommandInput,
|
|
277
262
|
options: __HttpHandlerOptions,
|
|
278
|
-
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
263
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
|
|
279
264
|
): void;
|
|
280
265
|
restoreBackup(
|
|
281
266
|
args: RestoreBackupCommandInput,
|
|
282
|
-
options?: __HttpHandlerOptions
|
|
267
|
+
options?: __HttpHandlerOptions,
|
|
283
268
|
): Promise<RestoreBackupCommandOutput>;
|
|
284
269
|
restoreBackup(
|
|
285
270
|
args: RestoreBackupCommandInput,
|
|
286
|
-
cb: (err: any, data?: RestoreBackupCommandOutput) => void
|
|
271
|
+
cb: (err: any, data?: RestoreBackupCommandOutput) => void,
|
|
287
272
|
): void;
|
|
288
273
|
restoreBackup(
|
|
289
274
|
args: RestoreBackupCommandInput,
|
|
290
275
|
options: __HttpHandlerOptions,
|
|
291
|
-
cb: (err: any, data?: RestoreBackupCommandOutput) => void
|
|
276
|
+
cb: (err: any, data?: RestoreBackupCommandOutput) => void,
|
|
292
277
|
): void;
|
|
293
278
|
tagResource(
|
|
294
279
|
args: TagResourceCommandInput,
|
|
295
|
-
options?: __HttpHandlerOptions
|
|
280
|
+
options?: __HttpHandlerOptions,
|
|
296
281
|
): Promise<TagResourceCommandOutput>;
|
|
297
282
|
tagResource(
|
|
298
283
|
args: TagResourceCommandInput,
|
|
299
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
284
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
300
285
|
): void;
|
|
301
286
|
tagResource(
|
|
302
287
|
args: TagResourceCommandInput,
|
|
303
288
|
options: __HttpHandlerOptions,
|
|
304
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
289
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
305
290
|
): void;
|
|
306
291
|
untagResource(
|
|
307
292
|
args: UntagResourceCommandInput,
|
|
308
|
-
options?: __HttpHandlerOptions
|
|
293
|
+
options?: __HttpHandlerOptions,
|
|
309
294
|
): Promise<UntagResourceCommandOutput>;
|
|
310
295
|
untagResource(
|
|
311
296
|
args: UntagResourceCommandInput,
|
|
312
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
297
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
313
298
|
): void;
|
|
314
299
|
untagResource(
|
|
315
300
|
args: UntagResourceCommandInput,
|
|
316
301
|
options: __HttpHandlerOptions,
|
|
317
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
302
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
318
303
|
): void;
|
|
319
304
|
paginateDescribeBackups(
|
|
320
305
|
args?: DescribeBackupsCommandInput,
|
|
321
306
|
paginationConfig?: Pick<
|
|
322
307
|
PaginationConfiguration,
|
|
323
308
|
Exclude<keyof PaginationConfiguration, "client">
|
|
324
|
-
|
|
309
|
+
>,
|
|
325
310
|
): Paginator<DescribeBackupsCommandOutput>;
|
|
326
311
|
paginateDescribeClusters(
|
|
327
312
|
args?: DescribeClustersCommandInput,
|
|
328
313
|
paginationConfig?: Pick<
|
|
329
314
|
PaginationConfiguration,
|
|
330
315
|
Exclude<keyof PaginationConfiguration, "client">
|
|
331
|
-
|
|
316
|
+
>,
|
|
332
317
|
): Paginator<DescribeClustersCommandOutput>;
|
|
333
318
|
paginateListTags(
|
|
334
319
|
args: ListTagsCommandInput,
|
|
335
320
|
paginationConfig?: Pick<
|
|
336
321
|
PaginationConfiguration,
|
|
337
322
|
Exclude<keyof PaginationConfiguration, "client">
|
|
338
|
-
|
|
323
|
+
>,
|
|
339
324
|
): Paginator<ListTagsCommandOutput>;
|
|
340
325
|
}
|
|
341
|
-
export declare class CloudHSMV2
|
|
342
|
-
extends CloudHSMV2Client
|
|
343
|
-
implements CloudHSMV2 {}
|
|
326
|
+
export declare class CloudHSMV2 extends CloudHSMV2Client implements CloudHSMV2 {}
|
|
@@ -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 {
|
|
@@ -44,10 +41,7 @@ import {
|
|
|
44
41
|
CreateClusterCommandInput,
|
|
45
42
|
CreateClusterCommandOutput,
|
|
46
43
|
} from "./commands/CreateClusterCommand";
|
|
47
|
-
import {
|
|
48
|
-
CreateHsmCommandInput,
|
|
49
|
-
CreateHsmCommandOutput,
|
|
50
|
-
} from "./commands/CreateHsmCommand";
|
|
44
|
+
import { CreateHsmCommandInput, CreateHsmCommandOutput } from "./commands/CreateHsmCommand";
|
|
51
45
|
import {
|
|
52
46
|
DeleteBackupCommandInput,
|
|
53
47
|
DeleteBackupCommandOutput,
|
|
@@ -56,10 +50,7 @@ import {
|
|
|
56
50
|
DeleteClusterCommandInput,
|
|
57
51
|
DeleteClusterCommandOutput,
|
|
58
52
|
} from "./commands/DeleteClusterCommand";
|
|
59
|
-
import {
|
|
60
|
-
DeleteHsmCommandInput,
|
|
61
|
-
DeleteHsmCommandOutput,
|
|
62
|
-
} from "./commands/DeleteHsmCommand";
|
|
53
|
+
import { DeleteHsmCommandInput, DeleteHsmCommandOutput } from "./commands/DeleteHsmCommand";
|
|
63
54
|
import {
|
|
64
55
|
DeleteResourcePolicyCommandInput,
|
|
65
56
|
DeleteResourcePolicyCommandOutput,
|
|
@@ -80,10 +71,7 @@ import {
|
|
|
80
71
|
InitializeClusterCommandInput,
|
|
81
72
|
InitializeClusterCommandOutput,
|
|
82
73
|
} from "./commands/InitializeClusterCommand";
|
|
83
|
-
import {
|
|
84
|
-
ListTagsCommandInput,
|
|
85
|
-
ListTagsCommandOutput,
|
|
86
|
-
} from "./commands/ListTagsCommand";
|
|
74
|
+
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
87
75
|
import {
|
|
88
76
|
ModifyBackupAttributesCommandInput,
|
|
89
77
|
ModifyBackupAttributesCommandOutput,
|
|
@@ -100,10 +88,7 @@ import {
|
|
|
100
88
|
RestoreBackupCommandInput,
|
|
101
89
|
RestoreBackupCommandOutput,
|
|
102
90
|
} from "./commands/RestoreBackupCommand";
|
|
103
|
-
import {
|
|
104
|
-
TagResourceCommandInput,
|
|
105
|
-
TagResourceCommandOutput,
|
|
106
|
-
} from "./commands/TagResourceCommand";
|
|
91
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
107
92
|
import {
|
|
108
93
|
UntagResourceCommandInput,
|
|
109
94
|
UntagResourceCommandOutput,
|
|
@@ -153,8 +138,7 @@ export type ServiceOutputTypes =
|
|
|
153
138
|
| RestoreBackupCommandOutput
|
|
154
139
|
| TagResourceCommandOutput
|
|
155
140
|
| UntagResourceCommandOutput;
|
|
156
|
-
export interface ClientDefaults
|
|
157
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
141
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
158
142
|
requestHandler?: __HttpHandlerUserInput;
|
|
159
143
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
160
144
|
urlParser?: __UrlParser;
|
|
@@ -179,9 +163,7 @@ export interface ClientDefaults
|
|
|
179
163
|
extensions?: RuntimeExtension[];
|
|
180
164
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
181
165
|
}
|
|
182
|
-
export type CloudHSMV2ClientConfigType = Partial<
|
|
183
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
184
|
-
> &
|
|
166
|
+
export type CloudHSMV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
185
167
|
ClientDefaults &
|
|
186
168
|
UserAgentInputConfig &
|
|
187
169
|
RetryInputConfig &
|
|
@@ -202,8 +184,7 @@ export type CloudHSMV2ClientResolvedConfigType =
|
|
|
202
184
|
EndpointResolvedConfig<EndpointParameters> &
|
|
203
185
|
HttpAuthSchemeResolvedConfig &
|
|
204
186
|
ClientResolvedEndpointParameters;
|
|
205
|
-
export interface CloudHSMV2ClientResolvedConfig
|
|
206
|
-
extends CloudHSMV2ClientResolvedConfigType {}
|
|
187
|
+
export interface CloudHSMV2ClientResolvedConfig extends CloudHSMV2ClientResolvedConfigType {}
|
|
207
188
|
export declare class CloudHSMV2Client extends __Client<
|
|
208
189
|
__HttpHandlerOptions,
|
|
209
190
|
ServiceInputTypes,
|
|
@@ -211,8 +192,6 @@ export declare class CloudHSMV2Client extends __Client<
|
|
|
211
192
|
CloudHSMV2ClientResolvedConfig
|
|
212
193
|
> {
|
|
213
194
|
readonly config: CloudHSMV2ClientResolvedConfig;
|
|
214
|
-
constructor(
|
|
215
|
-
...[configuration]: __CheckOptionalClientConfig<CloudHSMV2ClientConfig>
|
|
216
|
-
);
|
|
195
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<CloudHSMV2ClientConfig>);
|
|
217
196
|
destroy(): void;
|
|
218
197
|
}
|
|
@@ -7,17 +7,10 @@ import { CloudHSMV2HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: CloudHSMV2HttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: CloudHSMV2HttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): CloudHSMV2HttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
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 { CloudHSMV2ClientResolvedConfig } from "../CloudHSMV2Client";
|
|
15
|
-
export interface CloudHSMV2HttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface CloudHSMV2HttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface CloudHSMV2HttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface CloudHSMV2HttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
CloudHSMV2ClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
CloudHSMV2HttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultCloudHSMV2HttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: CloudHSMV2ClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<CloudHSMV2HttpAuthSchemeParameters>;
|
|
31
|
-
export interface CloudHSMV2HttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<CloudHSMV2HttpAuthSchemeParameters> {}
|
|
29
|
+
export interface CloudHSMV2HttpAuthSchemeProvider extends HttpAuthSchemeProvider<CloudHSMV2HttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultCloudHSMV2HttpAuthSchemeProvider: CloudHSMV2HttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: CloudHSMV2HttpAuthSchemeProvider;
|
|
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: CloudHSMV2HttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./CloudHSMV2Client";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
CloudHSMV2ClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
CopyBackupToRegionRequest,
|
|
4
|
-
CopyBackupToRegionResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { CopyBackupToRegionRequest, CopyBackupToRegionResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface CopyBackupToRegionCommandInput
|
|
8
|
-
extends CopyBackupToRegionRequest {}
|
|
4
|
+
export interface CopyBackupToRegionCommandInput extends CopyBackupToRegionRequest {}
|
|
9
5
|
export interface CopyBackupToRegionCommandOutput
|
|
10
|
-
extends CopyBackupToRegionResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends CopyBackupToRegionResponse, __MetadataBearer {}
|
|
12
7
|
declare const CopyBackupToRegionCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: CopyBackupToRegionCommandInput
|
|
9
|
+
input: CopyBackupToRegionCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
CopyBackupToRegionCommandInput,
|
|
17
12
|
CopyBackupToRegionCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const CopyBackupToRegionCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: CopyBackupToRegionCommandInput
|
|
18
|
+
input: CopyBackupToRegionCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
CopyBackupToRegionCommandInput,
|
|
26
21
|
CopyBackupToRegionCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
CreateClusterRequest,
|
|
4
|
-
CreateClusterResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { CreateClusterRequest, CreateClusterResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface CreateClusterCommandInput extends CreateClusterRequest {}
|
|
8
|
-
export interface CreateClusterCommandOutput
|
|
9
|
-
extends CreateClusterResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {}
|
|
11
6
|
declare const CreateClusterCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: CreateClusterCommandInput
|
|
8
|
+
input: CreateClusterCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
CreateClusterCommandInput,
|
|
16
11
|
CreateClusterCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const CreateClusterCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: CreateClusterCommandInput
|
|
17
|
+
input: CreateClusterCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
CreateClusterCommandInput,
|
|
25
20
|
CreateClusterCommandOutput,
|