@aws-sdk/client-acm-pca 3.1087.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/ACMPCA.d.ts +79 -126
- package/dist-types/ts3.4/ACMPCAClient.d.ts +18 -37
- 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 +8 -18
- package/dist-types/ts3.4/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetCertificateAuthorityCertificateCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetCertificateAuthorityCsrCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/ImportCertificateAuthorityCertificateCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/IssueCertificateCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +6 -2
- package/dist-types/ts3.4/commands/RestoreCertificateAuthorityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/RevokeCertificateCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/TagCertificateAuthorityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UntagCertificateAuthorityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateCertificateAuthorityCommand.d.ts +4 -6
- 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 +7 -14
- package/dist-types/ts3.4/models/errors.d.ts +19 -66
- package/dist-types/ts3.4/models/models_0.d.ts +2 -6
- 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/dist-types/ts3.4/waiters/waitForAuditReportCreated.d.ts +4 -9
- package/dist-types/ts3.4/waiters/waitForCertificateAuthorityCSRCreated.d.ts +3 -5
- package/dist-types/ts3.4/waiters/waitForCertificateIssued.d.ts +3 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -50,10 +50,7 @@ import {
|
|
|
50
50
|
GetCertificateCommandInput,
|
|
51
51
|
GetCertificateCommandOutput,
|
|
52
52
|
} from "./commands/GetCertificateCommand";
|
|
53
|
-
import {
|
|
54
|
-
GetPolicyCommandInput,
|
|
55
|
-
GetPolicyCommandOutput,
|
|
56
|
-
} from "./commands/GetPolicyCommand";
|
|
53
|
+
import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
|
|
57
54
|
import {
|
|
58
55
|
ImportCertificateAuthorityCertificateCommandInput,
|
|
59
56
|
ImportCertificateAuthorityCertificateCommandOutput,
|
|
@@ -70,14 +67,8 @@ import {
|
|
|
70
67
|
ListPermissionsCommandInput,
|
|
71
68
|
ListPermissionsCommandOutput,
|
|
72
69
|
} from "./commands/ListPermissionsCommand";
|
|
73
|
-
import {
|
|
74
|
-
|
|
75
|
-
ListTagsCommandOutput,
|
|
76
|
-
} from "./commands/ListTagsCommand";
|
|
77
|
-
import {
|
|
78
|
-
PutPolicyCommandInput,
|
|
79
|
-
PutPolicyCommandOutput,
|
|
80
|
-
} from "./commands/PutPolicyCommand";
|
|
70
|
+
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
71
|
+
import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
|
|
81
72
|
import {
|
|
82
73
|
RestoreCertificateAuthorityCommandInput,
|
|
83
74
|
RestoreCertificateAuthorityCommandOutput,
|
|
@@ -101,377 +92,339 @@ import {
|
|
|
101
92
|
export interface ACMPCA {
|
|
102
93
|
createCertificateAuthority(
|
|
103
94
|
args: CreateCertificateAuthorityCommandInput,
|
|
104
|
-
options?: __HttpHandlerOptions
|
|
95
|
+
options?: __HttpHandlerOptions,
|
|
105
96
|
): Promise<CreateCertificateAuthorityCommandOutput>;
|
|
106
97
|
createCertificateAuthority(
|
|
107
98
|
args: CreateCertificateAuthorityCommandInput,
|
|
108
|
-
cb: (err: any, data?: CreateCertificateAuthorityCommandOutput) => void
|
|
99
|
+
cb: (err: any, data?: CreateCertificateAuthorityCommandOutput) => void,
|
|
109
100
|
): void;
|
|
110
101
|
createCertificateAuthority(
|
|
111
102
|
args: CreateCertificateAuthorityCommandInput,
|
|
112
103
|
options: __HttpHandlerOptions,
|
|
113
|
-
cb: (err: any, data?: CreateCertificateAuthorityCommandOutput) => void
|
|
104
|
+
cb: (err: any, data?: CreateCertificateAuthorityCommandOutput) => void,
|
|
114
105
|
): void;
|
|
115
106
|
createCertificateAuthorityAuditReport(
|
|
116
107
|
args: CreateCertificateAuthorityAuditReportCommandInput,
|
|
117
|
-
options?: __HttpHandlerOptions
|
|
108
|
+
options?: __HttpHandlerOptions,
|
|
118
109
|
): Promise<CreateCertificateAuthorityAuditReportCommandOutput>;
|
|
119
110
|
createCertificateAuthorityAuditReport(
|
|
120
111
|
args: CreateCertificateAuthorityAuditReportCommandInput,
|
|
121
|
-
cb: (
|
|
122
|
-
err: any,
|
|
123
|
-
data?: CreateCertificateAuthorityAuditReportCommandOutput
|
|
124
|
-
) => void
|
|
112
|
+
cb: (err: any, data?: CreateCertificateAuthorityAuditReportCommandOutput) => void,
|
|
125
113
|
): void;
|
|
126
114
|
createCertificateAuthorityAuditReport(
|
|
127
115
|
args: CreateCertificateAuthorityAuditReportCommandInput,
|
|
128
116
|
options: __HttpHandlerOptions,
|
|
129
|
-
cb: (
|
|
130
|
-
err: any,
|
|
131
|
-
data?: CreateCertificateAuthorityAuditReportCommandOutput
|
|
132
|
-
) => void
|
|
117
|
+
cb: (err: any, data?: CreateCertificateAuthorityAuditReportCommandOutput) => void,
|
|
133
118
|
): void;
|
|
134
119
|
createPermission(
|
|
135
120
|
args: CreatePermissionCommandInput,
|
|
136
|
-
options?: __HttpHandlerOptions
|
|
121
|
+
options?: __HttpHandlerOptions,
|
|
137
122
|
): Promise<CreatePermissionCommandOutput>;
|
|
138
123
|
createPermission(
|
|
139
124
|
args: CreatePermissionCommandInput,
|
|
140
|
-
cb: (err: any, data?: CreatePermissionCommandOutput) => void
|
|
125
|
+
cb: (err: any, data?: CreatePermissionCommandOutput) => void,
|
|
141
126
|
): void;
|
|
142
127
|
createPermission(
|
|
143
128
|
args: CreatePermissionCommandInput,
|
|
144
129
|
options: __HttpHandlerOptions,
|
|
145
|
-
cb: (err: any, data?: CreatePermissionCommandOutput) => void
|
|
130
|
+
cb: (err: any, data?: CreatePermissionCommandOutput) => void,
|
|
146
131
|
): void;
|
|
147
132
|
deleteCertificateAuthority(
|
|
148
133
|
args: DeleteCertificateAuthorityCommandInput,
|
|
149
|
-
options?: __HttpHandlerOptions
|
|
134
|
+
options?: __HttpHandlerOptions,
|
|
150
135
|
): Promise<DeleteCertificateAuthorityCommandOutput>;
|
|
151
136
|
deleteCertificateAuthority(
|
|
152
137
|
args: DeleteCertificateAuthorityCommandInput,
|
|
153
|
-
cb: (err: any, data?: DeleteCertificateAuthorityCommandOutput) => void
|
|
138
|
+
cb: (err: any, data?: DeleteCertificateAuthorityCommandOutput) => void,
|
|
154
139
|
): void;
|
|
155
140
|
deleteCertificateAuthority(
|
|
156
141
|
args: DeleteCertificateAuthorityCommandInput,
|
|
157
142
|
options: __HttpHandlerOptions,
|
|
158
|
-
cb: (err: any, data?: DeleteCertificateAuthorityCommandOutput) => void
|
|
143
|
+
cb: (err: any, data?: DeleteCertificateAuthorityCommandOutput) => void,
|
|
159
144
|
): void;
|
|
160
145
|
deletePermission(
|
|
161
146
|
args: DeletePermissionCommandInput,
|
|
162
|
-
options?: __HttpHandlerOptions
|
|
147
|
+
options?: __HttpHandlerOptions,
|
|
163
148
|
): Promise<DeletePermissionCommandOutput>;
|
|
164
149
|
deletePermission(
|
|
165
150
|
args: DeletePermissionCommandInput,
|
|
166
|
-
cb: (err: any, data?: DeletePermissionCommandOutput) => void
|
|
151
|
+
cb: (err: any, data?: DeletePermissionCommandOutput) => void,
|
|
167
152
|
): void;
|
|
168
153
|
deletePermission(
|
|
169
154
|
args: DeletePermissionCommandInput,
|
|
170
155
|
options: __HttpHandlerOptions,
|
|
171
|
-
cb: (err: any, data?: DeletePermissionCommandOutput) => void
|
|
156
|
+
cb: (err: any, data?: DeletePermissionCommandOutput) => void,
|
|
172
157
|
): void;
|
|
173
158
|
deletePolicy(
|
|
174
159
|
args: DeletePolicyCommandInput,
|
|
175
|
-
options?: __HttpHandlerOptions
|
|
160
|
+
options?: __HttpHandlerOptions,
|
|
176
161
|
): Promise<DeletePolicyCommandOutput>;
|
|
177
162
|
deletePolicy(
|
|
178
163
|
args: DeletePolicyCommandInput,
|
|
179
|
-
cb: (err: any, data?: DeletePolicyCommandOutput) => void
|
|
164
|
+
cb: (err: any, data?: DeletePolicyCommandOutput) => void,
|
|
180
165
|
): void;
|
|
181
166
|
deletePolicy(
|
|
182
167
|
args: DeletePolicyCommandInput,
|
|
183
168
|
options: __HttpHandlerOptions,
|
|
184
|
-
cb: (err: any, data?: DeletePolicyCommandOutput) => void
|
|
169
|
+
cb: (err: any, data?: DeletePolicyCommandOutput) => void,
|
|
185
170
|
): void;
|
|
186
171
|
describeCertificateAuthority(
|
|
187
172
|
args: DescribeCertificateAuthorityCommandInput,
|
|
188
|
-
options?: __HttpHandlerOptions
|
|
173
|
+
options?: __HttpHandlerOptions,
|
|
189
174
|
): Promise<DescribeCertificateAuthorityCommandOutput>;
|
|
190
175
|
describeCertificateAuthority(
|
|
191
176
|
args: DescribeCertificateAuthorityCommandInput,
|
|
192
|
-
cb: (err: any, data?: DescribeCertificateAuthorityCommandOutput) => void
|
|
177
|
+
cb: (err: any, data?: DescribeCertificateAuthorityCommandOutput) => void,
|
|
193
178
|
): void;
|
|
194
179
|
describeCertificateAuthority(
|
|
195
180
|
args: DescribeCertificateAuthorityCommandInput,
|
|
196
181
|
options: __HttpHandlerOptions,
|
|
197
|
-
cb: (err: any, data?: DescribeCertificateAuthorityCommandOutput) => void
|
|
182
|
+
cb: (err: any, data?: DescribeCertificateAuthorityCommandOutput) => void,
|
|
198
183
|
): void;
|
|
199
184
|
describeCertificateAuthorityAuditReport(
|
|
200
185
|
args: DescribeCertificateAuthorityAuditReportCommandInput,
|
|
201
|
-
options?: __HttpHandlerOptions
|
|
186
|
+
options?: __HttpHandlerOptions,
|
|
202
187
|
): Promise<DescribeCertificateAuthorityAuditReportCommandOutput>;
|
|
203
188
|
describeCertificateAuthorityAuditReport(
|
|
204
189
|
args: DescribeCertificateAuthorityAuditReportCommandInput,
|
|
205
|
-
cb: (
|
|
206
|
-
err: any,
|
|
207
|
-
data?: DescribeCertificateAuthorityAuditReportCommandOutput
|
|
208
|
-
) => void
|
|
190
|
+
cb: (err: any, data?: DescribeCertificateAuthorityAuditReportCommandOutput) => void,
|
|
209
191
|
): void;
|
|
210
192
|
describeCertificateAuthorityAuditReport(
|
|
211
193
|
args: DescribeCertificateAuthorityAuditReportCommandInput,
|
|
212
194
|
options: __HttpHandlerOptions,
|
|
213
|
-
cb: (
|
|
214
|
-
err: any,
|
|
215
|
-
data?: DescribeCertificateAuthorityAuditReportCommandOutput
|
|
216
|
-
) => void
|
|
195
|
+
cb: (err: any, data?: DescribeCertificateAuthorityAuditReportCommandOutput) => void,
|
|
217
196
|
): void;
|
|
218
197
|
getCertificate(
|
|
219
198
|
args: GetCertificateCommandInput,
|
|
220
|
-
options?: __HttpHandlerOptions
|
|
199
|
+
options?: __HttpHandlerOptions,
|
|
221
200
|
): Promise<GetCertificateCommandOutput>;
|
|
222
201
|
getCertificate(
|
|
223
202
|
args: GetCertificateCommandInput,
|
|
224
|
-
cb: (err: any, data?: GetCertificateCommandOutput) => void
|
|
203
|
+
cb: (err: any, data?: GetCertificateCommandOutput) => void,
|
|
225
204
|
): void;
|
|
226
205
|
getCertificate(
|
|
227
206
|
args: GetCertificateCommandInput,
|
|
228
207
|
options: __HttpHandlerOptions,
|
|
229
|
-
cb: (err: any, data?: GetCertificateCommandOutput) => void
|
|
208
|
+
cb: (err: any, data?: GetCertificateCommandOutput) => void,
|
|
230
209
|
): void;
|
|
231
210
|
getCertificateAuthorityCertificate(
|
|
232
211
|
args: GetCertificateAuthorityCertificateCommandInput,
|
|
233
|
-
options?: __HttpHandlerOptions
|
|
212
|
+
options?: __HttpHandlerOptions,
|
|
234
213
|
): Promise<GetCertificateAuthorityCertificateCommandOutput>;
|
|
235
214
|
getCertificateAuthorityCertificate(
|
|
236
215
|
args: GetCertificateAuthorityCertificateCommandInput,
|
|
237
|
-
cb: (
|
|
238
|
-
err: any,
|
|
239
|
-
data?: GetCertificateAuthorityCertificateCommandOutput
|
|
240
|
-
) => void
|
|
216
|
+
cb: (err: any, data?: GetCertificateAuthorityCertificateCommandOutput) => void,
|
|
241
217
|
): void;
|
|
242
218
|
getCertificateAuthorityCertificate(
|
|
243
219
|
args: GetCertificateAuthorityCertificateCommandInput,
|
|
244
220
|
options: __HttpHandlerOptions,
|
|
245
|
-
cb: (
|
|
246
|
-
err: any,
|
|
247
|
-
data?: GetCertificateAuthorityCertificateCommandOutput
|
|
248
|
-
) => void
|
|
221
|
+
cb: (err: any, data?: GetCertificateAuthorityCertificateCommandOutput) => void,
|
|
249
222
|
): void;
|
|
250
223
|
getCertificateAuthorityCsr(
|
|
251
224
|
args: GetCertificateAuthorityCsrCommandInput,
|
|
252
|
-
options?: __HttpHandlerOptions
|
|
225
|
+
options?: __HttpHandlerOptions,
|
|
253
226
|
): Promise<GetCertificateAuthorityCsrCommandOutput>;
|
|
254
227
|
getCertificateAuthorityCsr(
|
|
255
228
|
args: GetCertificateAuthorityCsrCommandInput,
|
|
256
|
-
cb: (err: any, data?: GetCertificateAuthorityCsrCommandOutput) => void
|
|
229
|
+
cb: (err: any, data?: GetCertificateAuthorityCsrCommandOutput) => void,
|
|
257
230
|
): void;
|
|
258
231
|
getCertificateAuthorityCsr(
|
|
259
232
|
args: GetCertificateAuthorityCsrCommandInput,
|
|
260
233
|
options: __HttpHandlerOptions,
|
|
261
|
-
cb: (err: any, data?: GetCertificateAuthorityCsrCommandOutput) => void
|
|
234
|
+
cb: (err: any, data?: GetCertificateAuthorityCsrCommandOutput) => void,
|
|
262
235
|
): void;
|
|
263
236
|
getPolicy(
|
|
264
237
|
args: GetPolicyCommandInput,
|
|
265
|
-
options?: __HttpHandlerOptions
|
|
238
|
+
options?: __HttpHandlerOptions,
|
|
266
239
|
): Promise<GetPolicyCommandOutput>;
|
|
267
240
|
getPolicy(
|
|
268
241
|
args: GetPolicyCommandInput,
|
|
269
|
-
cb: (err: any, data?: GetPolicyCommandOutput) => void
|
|
242
|
+
cb: (err: any, data?: GetPolicyCommandOutput) => void,
|
|
270
243
|
): void;
|
|
271
244
|
getPolicy(
|
|
272
245
|
args: GetPolicyCommandInput,
|
|
273
246
|
options: __HttpHandlerOptions,
|
|
274
|
-
cb: (err: any, data?: GetPolicyCommandOutput) => void
|
|
247
|
+
cb: (err: any, data?: GetPolicyCommandOutput) => void,
|
|
275
248
|
): void;
|
|
276
249
|
importCertificateAuthorityCertificate(
|
|
277
250
|
args: ImportCertificateAuthorityCertificateCommandInput,
|
|
278
|
-
options?: __HttpHandlerOptions
|
|
251
|
+
options?: __HttpHandlerOptions,
|
|
279
252
|
): Promise<ImportCertificateAuthorityCertificateCommandOutput>;
|
|
280
253
|
importCertificateAuthorityCertificate(
|
|
281
254
|
args: ImportCertificateAuthorityCertificateCommandInput,
|
|
282
|
-
cb: (
|
|
283
|
-
err: any,
|
|
284
|
-
data?: ImportCertificateAuthorityCertificateCommandOutput
|
|
285
|
-
) => void
|
|
255
|
+
cb: (err: any, data?: ImportCertificateAuthorityCertificateCommandOutput) => void,
|
|
286
256
|
): void;
|
|
287
257
|
importCertificateAuthorityCertificate(
|
|
288
258
|
args: ImportCertificateAuthorityCertificateCommandInput,
|
|
289
259
|
options: __HttpHandlerOptions,
|
|
290
|
-
cb: (
|
|
291
|
-
err: any,
|
|
292
|
-
data?: ImportCertificateAuthorityCertificateCommandOutput
|
|
293
|
-
) => void
|
|
260
|
+
cb: (err: any, data?: ImportCertificateAuthorityCertificateCommandOutput) => void,
|
|
294
261
|
): void;
|
|
295
262
|
issueCertificate(
|
|
296
263
|
args: IssueCertificateCommandInput,
|
|
297
|
-
options?: __HttpHandlerOptions
|
|
264
|
+
options?: __HttpHandlerOptions,
|
|
298
265
|
): Promise<IssueCertificateCommandOutput>;
|
|
299
266
|
issueCertificate(
|
|
300
267
|
args: IssueCertificateCommandInput,
|
|
301
|
-
cb: (err: any, data?: IssueCertificateCommandOutput) => void
|
|
268
|
+
cb: (err: any, data?: IssueCertificateCommandOutput) => void,
|
|
302
269
|
): void;
|
|
303
270
|
issueCertificate(
|
|
304
271
|
args: IssueCertificateCommandInput,
|
|
305
272
|
options: __HttpHandlerOptions,
|
|
306
|
-
cb: (err: any, data?: IssueCertificateCommandOutput) => void
|
|
273
|
+
cb: (err: any, data?: IssueCertificateCommandOutput) => void,
|
|
307
274
|
): void;
|
|
308
275
|
listCertificateAuthorities(): Promise<ListCertificateAuthoritiesCommandOutput>;
|
|
309
276
|
listCertificateAuthorities(
|
|
310
277
|
args: ListCertificateAuthoritiesCommandInput,
|
|
311
|
-
options?: __HttpHandlerOptions
|
|
278
|
+
options?: __HttpHandlerOptions,
|
|
312
279
|
): Promise<ListCertificateAuthoritiesCommandOutput>;
|
|
313
280
|
listCertificateAuthorities(
|
|
314
281
|
args: ListCertificateAuthoritiesCommandInput,
|
|
315
|
-
cb: (err: any, data?: ListCertificateAuthoritiesCommandOutput) => void
|
|
282
|
+
cb: (err: any, data?: ListCertificateAuthoritiesCommandOutput) => void,
|
|
316
283
|
): void;
|
|
317
284
|
listCertificateAuthorities(
|
|
318
285
|
args: ListCertificateAuthoritiesCommandInput,
|
|
319
286
|
options: __HttpHandlerOptions,
|
|
320
|
-
cb: (err: any, data?: ListCertificateAuthoritiesCommandOutput) => void
|
|
287
|
+
cb: (err: any, data?: ListCertificateAuthoritiesCommandOutput) => void,
|
|
321
288
|
): void;
|
|
322
289
|
listPermissions(
|
|
323
290
|
args: ListPermissionsCommandInput,
|
|
324
|
-
options?: __HttpHandlerOptions
|
|
291
|
+
options?: __HttpHandlerOptions,
|
|
325
292
|
): Promise<ListPermissionsCommandOutput>;
|
|
326
293
|
listPermissions(
|
|
327
294
|
args: ListPermissionsCommandInput,
|
|
328
|
-
cb: (err: any, data?: ListPermissionsCommandOutput) => void
|
|
295
|
+
cb: (err: any, data?: ListPermissionsCommandOutput) => void,
|
|
329
296
|
): void;
|
|
330
297
|
listPermissions(
|
|
331
298
|
args: ListPermissionsCommandInput,
|
|
332
299
|
options: __HttpHandlerOptions,
|
|
333
|
-
cb: (err: any, data?: ListPermissionsCommandOutput) => void
|
|
300
|
+
cb: (err: any, data?: ListPermissionsCommandOutput) => void,
|
|
334
301
|
): void;
|
|
335
302
|
listTags(
|
|
336
303
|
args: ListTagsCommandInput,
|
|
337
|
-
options?: __HttpHandlerOptions
|
|
304
|
+
options?: __HttpHandlerOptions,
|
|
338
305
|
): Promise<ListTagsCommandOutput>;
|
|
339
|
-
listTags(
|
|
340
|
-
args: ListTagsCommandInput,
|
|
341
|
-
cb: (err: any, data?: ListTagsCommandOutput) => void
|
|
342
|
-
): void;
|
|
306
|
+
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
343
307
|
listTags(
|
|
344
308
|
args: ListTagsCommandInput,
|
|
345
309
|
options: __HttpHandlerOptions,
|
|
346
|
-
cb: (err: any, data?: ListTagsCommandOutput) => void
|
|
310
|
+
cb: (err: any, data?: ListTagsCommandOutput) => void,
|
|
347
311
|
): void;
|
|
348
312
|
putPolicy(
|
|
349
313
|
args: PutPolicyCommandInput,
|
|
350
|
-
options?: __HttpHandlerOptions
|
|
314
|
+
options?: __HttpHandlerOptions,
|
|
351
315
|
): Promise<PutPolicyCommandOutput>;
|
|
352
316
|
putPolicy(
|
|
353
317
|
args: PutPolicyCommandInput,
|
|
354
|
-
cb: (err: any, data?: PutPolicyCommandOutput) => void
|
|
318
|
+
cb: (err: any, data?: PutPolicyCommandOutput) => void,
|
|
355
319
|
): void;
|
|
356
320
|
putPolicy(
|
|
357
321
|
args: PutPolicyCommandInput,
|
|
358
322
|
options: __HttpHandlerOptions,
|
|
359
|
-
cb: (err: any, data?: PutPolicyCommandOutput) => void
|
|
323
|
+
cb: (err: any, data?: PutPolicyCommandOutput) => void,
|
|
360
324
|
): void;
|
|
361
325
|
restoreCertificateAuthority(
|
|
362
326
|
args: RestoreCertificateAuthorityCommandInput,
|
|
363
|
-
options?: __HttpHandlerOptions
|
|
327
|
+
options?: __HttpHandlerOptions,
|
|
364
328
|
): Promise<RestoreCertificateAuthorityCommandOutput>;
|
|
365
329
|
restoreCertificateAuthority(
|
|
366
330
|
args: RestoreCertificateAuthorityCommandInput,
|
|
367
|
-
cb: (err: any, data?: RestoreCertificateAuthorityCommandOutput) => void
|
|
331
|
+
cb: (err: any, data?: RestoreCertificateAuthorityCommandOutput) => void,
|
|
368
332
|
): void;
|
|
369
333
|
restoreCertificateAuthority(
|
|
370
334
|
args: RestoreCertificateAuthorityCommandInput,
|
|
371
335
|
options: __HttpHandlerOptions,
|
|
372
|
-
cb: (err: any, data?: RestoreCertificateAuthorityCommandOutput) => void
|
|
336
|
+
cb: (err: any, data?: RestoreCertificateAuthorityCommandOutput) => void,
|
|
373
337
|
): void;
|
|
374
338
|
revokeCertificate(
|
|
375
339
|
args: RevokeCertificateCommandInput,
|
|
376
|
-
options?: __HttpHandlerOptions
|
|
340
|
+
options?: __HttpHandlerOptions,
|
|
377
341
|
): Promise<RevokeCertificateCommandOutput>;
|
|
378
342
|
revokeCertificate(
|
|
379
343
|
args: RevokeCertificateCommandInput,
|
|
380
|
-
cb: (err: any, data?: RevokeCertificateCommandOutput) => void
|
|
344
|
+
cb: (err: any, data?: RevokeCertificateCommandOutput) => void,
|
|
381
345
|
): void;
|
|
382
346
|
revokeCertificate(
|
|
383
347
|
args: RevokeCertificateCommandInput,
|
|
384
348
|
options: __HttpHandlerOptions,
|
|
385
|
-
cb: (err: any, data?: RevokeCertificateCommandOutput) => void
|
|
349
|
+
cb: (err: any, data?: RevokeCertificateCommandOutput) => void,
|
|
386
350
|
): void;
|
|
387
351
|
tagCertificateAuthority(
|
|
388
352
|
args: TagCertificateAuthorityCommandInput,
|
|
389
|
-
options?: __HttpHandlerOptions
|
|
353
|
+
options?: __HttpHandlerOptions,
|
|
390
354
|
): Promise<TagCertificateAuthorityCommandOutput>;
|
|
391
355
|
tagCertificateAuthority(
|
|
392
356
|
args: TagCertificateAuthorityCommandInput,
|
|
393
|
-
cb: (err: any, data?: TagCertificateAuthorityCommandOutput) => void
|
|
357
|
+
cb: (err: any, data?: TagCertificateAuthorityCommandOutput) => void,
|
|
394
358
|
): void;
|
|
395
359
|
tagCertificateAuthority(
|
|
396
360
|
args: TagCertificateAuthorityCommandInput,
|
|
397
361
|
options: __HttpHandlerOptions,
|
|
398
|
-
cb: (err: any, data?: TagCertificateAuthorityCommandOutput) => void
|
|
362
|
+
cb: (err: any, data?: TagCertificateAuthorityCommandOutput) => void,
|
|
399
363
|
): void;
|
|
400
364
|
untagCertificateAuthority(
|
|
401
365
|
args: UntagCertificateAuthorityCommandInput,
|
|
402
|
-
options?: __HttpHandlerOptions
|
|
366
|
+
options?: __HttpHandlerOptions,
|
|
403
367
|
): Promise<UntagCertificateAuthorityCommandOutput>;
|
|
404
368
|
untagCertificateAuthority(
|
|
405
369
|
args: UntagCertificateAuthorityCommandInput,
|
|
406
|
-
cb: (err: any, data?: UntagCertificateAuthorityCommandOutput) => void
|
|
370
|
+
cb: (err: any, data?: UntagCertificateAuthorityCommandOutput) => void,
|
|
407
371
|
): void;
|
|
408
372
|
untagCertificateAuthority(
|
|
409
373
|
args: UntagCertificateAuthorityCommandInput,
|
|
410
374
|
options: __HttpHandlerOptions,
|
|
411
|
-
cb: (err: any, data?: UntagCertificateAuthorityCommandOutput) => void
|
|
375
|
+
cb: (err: any, data?: UntagCertificateAuthorityCommandOutput) => void,
|
|
412
376
|
): void;
|
|
413
377
|
updateCertificateAuthority(
|
|
414
378
|
args: UpdateCertificateAuthorityCommandInput,
|
|
415
|
-
options?: __HttpHandlerOptions
|
|
379
|
+
options?: __HttpHandlerOptions,
|
|
416
380
|
): Promise<UpdateCertificateAuthorityCommandOutput>;
|
|
417
381
|
updateCertificateAuthority(
|
|
418
382
|
args: UpdateCertificateAuthorityCommandInput,
|
|
419
|
-
cb: (err: any, data?: UpdateCertificateAuthorityCommandOutput) => void
|
|
383
|
+
cb: (err: any, data?: UpdateCertificateAuthorityCommandOutput) => void,
|
|
420
384
|
): void;
|
|
421
385
|
updateCertificateAuthority(
|
|
422
386
|
args: UpdateCertificateAuthorityCommandInput,
|
|
423
387
|
options: __HttpHandlerOptions,
|
|
424
|
-
cb: (err: any, data?: UpdateCertificateAuthorityCommandOutput) => void
|
|
388
|
+
cb: (err: any, data?: UpdateCertificateAuthorityCommandOutput) => void,
|
|
425
389
|
): void;
|
|
426
390
|
paginateListCertificateAuthorities(
|
|
427
391
|
args?: ListCertificateAuthoritiesCommandInput,
|
|
428
392
|
paginationConfig?: Pick<
|
|
429
393
|
PaginationConfiguration,
|
|
430
394
|
Exclude<keyof PaginationConfiguration, "client">
|
|
431
|
-
|
|
395
|
+
>,
|
|
432
396
|
): Paginator<ListCertificateAuthoritiesCommandOutput>;
|
|
433
397
|
paginateListPermissions(
|
|
434
398
|
args: ListPermissionsCommandInput,
|
|
435
399
|
paginationConfig?: Pick<
|
|
436
400
|
PaginationConfiguration,
|
|
437
401
|
Exclude<keyof PaginationConfiguration, "client">
|
|
438
|
-
|
|
402
|
+
>,
|
|
439
403
|
): Paginator<ListPermissionsCommandOutput>;
|
|
440
404
|
paginateListTags(
|
|
441
405
|
args: ListTagsCommandInput,
|
|
442
406
|
paginationConfig?: Pick<
|
|
443
407
|
PaginationConfiguration,
|
|
444
408
|
Exclude<keyof PaginationConfiguration, "client">
|
|
445
|
-
|
|
409
|
+
>,
|
|
446
410
|
): Paginator<ListTagsCommandOutput>;
|
|
447
411
|
waitUntilAuditReportCreated(
|
|
448
412
|
args: DescribeCertificateAuthorityAuditReportCommandInput,
|
|
449
413
|
waiterConfig:
|
|
450
414
|
| number
|
|
451
|
-
| Pick<
|
|
452
|
-
|
|
453
|
-
Exclude<keyof WaiterConfiguration<ACMPCA>, "client">
|
|
454
|
-
>
|
|
455
|
-
): Promise<
|
|
456
|
-
WaiterResult<DescribeCertificateAuthorityAuditReportCommandOutput>
|
|
457
|
-
>;
|
|
415
|
+
| Pick<WaiterConfiguration<ACMPCA>, Exclude<keyof WaiterConfiguration<ACMPCA>, "client">>,
|
|
416
|
+
): Promise<WaiterResult<DescribeCertificateAuthorityAuditReportCommandOutput>>;
|
|
458
417
|
waitUntilCertificateIssued(
|
|
459
418
|
args: GetCertificateCommandInput,
|
|
460
419
|
waiterConfig:
|
|
461
420
|
| number
|
|
462
|
-
| Pick<
|
|
463
|
-
WaiterConfiguration<ACMPCA>,
|
|
464
|
-
Exclude<keyof WaiterConfiguration<ACMPCA>, "client">
|
|
465
|
-
>
|
|
421
|
+
| Pick<WaiterConfiguration<ACMPCA>, Exclude<keyof WaiterConfiguration<ACMPCA>, "client">>,
|
|
466
422
|
): Promise<WaiterResult<GetCertificateCommandOutput>>;
|
|
467
423
|
waitUntilCertificateAuthorityCSRCreated(
|
|
468
424
|
args: GetCertificateAuthorityCsrCommandInput,
|
|
469
425
|
waiterConfig:
|
|
470
426
|
| number
|
|
471
|
-
| Pick<
|
|
472
|
-
WaiterConfiguration<ACMPCA>,
|
|
473
|
-
Exclude<keyof WaiterConfiguration<ACMPCA>, "client">
|
|
474
|
-
>
|
|
427
|
+
| Pick<WaiterConfiguration<ACMPCA>, Exclude<keyof WaiterConfiguration<ACMPCA>, "client">>,
|
|
475
428
|
): Promise<WaiterResult<GetCertificateAuthorityCsrCommandOutput>>;
|
|
476
429
|
}
|
|
477
430
|
export declare class ACMPCA extends ACMPCAClient implements ACMPCA {}
|
|
@@ -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 {
|
|
@@ -80,10 +77,7 @@ import {
|
|
|
80
77
|
GetCertificateCommandInput,
|
|
81
78
|
GetCertificateCommandOutput,
|
|
82
79
|
} from "./commands/GetCertificateCommand";
|
|
83
|
-
import {
|
|
84
|
-
GetPolicyCommandInput,
|
|
85
|
-
GetPolicyCommandOutput,
|
|
86
|
-
} from "./commands/GetPolicyCommand";
|
|
80
|
+
import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
|
|
87
81
|
import {
|
|
88
82
|
ImportCertificateAuthorityCertificateCommandInput,
|
|
89
83
|
ImportCertificateAuthorityCertificateCommandOutput,
|
|
@@ -100,14 +94,8 @@ import {
|
|
|
100
94
|
ListPermissionsCommandInput,
|
|
101
95
|
ListPermissionsCommandOutput,
|
|
102
96
|
} from "./commands/ListPermissionsCommand";
|
|
103
|
-
import {
|
|
104
|
-
|
|
105
|
-
ListTagsCommandOutput,
|
|
106
|
-
} from "./commands/ListTagsCommand";
|
|
107
|
-
import {
|
|
108
|
-
PutPolicyCommandInput,
|
|
109
|
-
PutPolicyCommandOutput,
|
|
110
|
-
} from "./commands/PutPolicyCommand";
|
|
97
|
+
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
98
|
+
import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
|
|
111
99
|
import {
|
|
112
100
|
RestoreCertificateAuthorityCommandInput,
|
|
113
101
|
RestoreCertificateAuthorityCommandOutput,
|
|
@@ -183,8 +171,7 @@ export type ServiceOutputTypes =
|
|
|
183
171
|
| TagCertificateAuthorityCommandOutput
|
|
184
172
|
| UntagCertificateAuthorityCommandOutput
|
|
185
173
|
| UpdateCertificateAuthorityCommandOutput;
|
|
186
|
-
export interface ClientDefaults
|
|
187
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
174
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
188
175
|
requestHandler?: __HttpHandlerUserInput;
|
|
189
176
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
190
177
|
urlParser?: __UrlParser;
|
|
@@ -209,9 +196,7 @@ export interface ClientDefaults
|
|
|
209
196
|
extensions?: RuntimeExtension[];
|
|
210
197
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
211
198
|
}
|
|
212
|
-
export type ACMPCAClientConfigType = Partial<
|
|
213
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
214
|
-
> &
|
|
199
|
+
export type ACMPCAClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
215
200
|
ClientDefaults &
|
|
216
201
|
UserAgentInputConfig &
|
|
217
202
|
RetryInputConfig &
|
|
@@ -221,19 +206,17 @@ export type ACMPCAClientConfigType = Partial<
|
|
|
221
206
|
HttpAuthSchemeInputConfig &
|
|
222
207
|
ClientInputEndpointParameters;
|
|
223
208
|
export interface ACMPCAClientConfig extends ACMPCAClientConfigType {}
|
|
224
|
-
export type ACMPCAClientResolvedConfigType =
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
export interface ACMPCAClientResolvedConfig
|
|
236
|
-
extends ACMPCAClientResolvedConfigType {}
|
|
209
|
+
export type ACMPCAClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
210
|
+
Required<ClientDefaults> &
|
|
211
|
+
RuntimeExtensionsConfig &
|
|
212
|
+
UserAgentResolvedConfig &
|
|
213
|
+
RetryResolvedConfig &
|
|
214
|
+
RegionResolvedConfig &
|
|
215
|
+
HostHeaderResolvedConfig &
|
|
216
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
217
|
+
HttpAuthSchemeResolvedConfig &
|
|
218
|
+
ClientResolvedEndpointParameters;
|
|
219
|
+
export interface ACMPCAClientResolvedConfig extends ACMPCAClientResolvedConfigType {}
|
|
237
220
|
export declare class ACMPCAClient extends __Client<
|
|
238
221
|
__HttpHandlerOptions,
|
|
239
222
|
ServiceInputTypes,
|
|
@@ -241,8 +224,6 @@ export declare class ACMPCAClient extends __Client<
|
|
|
241
224
|
ACMPCAClientResolvedConfig
|
|
242
225
|
> {
|
|
243
226
|
readonly config: ACMPCAClientResolvedConfig;
|
|
244
|
-
constructor(
|
|
245
|
-
...[configuration]: __CheckOptionalClientConfig<ACMPCAClientConfig>
|
|
246
|
-
);
|
|
227
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<ACMPCAClientConfig>);
|
|
247
228
|
destroy(): void;
|
|
248
229
|
}
|
|
@@ -7,17 +7,10 @@ import { ACMPCAHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: ACMPCAHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: ACMPCAHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): ACMPCAHttpAuthSchemeProvider;
|
|
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 { ACMPCAClientResolvedConfig } from "../ACMPCAClient";
|
|
15
|
-
export interface ACMPCAHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface ACMPCAHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface ACMPCAHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface ACMPCAHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
ACMPCAClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
ACMPCAHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultACMPCAHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: ACMPCAClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<ACMPCAHttpAuthSchemeParameters>;
|
|
31
|
-
export interface ACMPCAHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<ACMPCAHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface ACMPCAHttpAuthSchemeProvider extends HttpAuthSchemeProvider<ACMPCAHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultACMPCAHttpAuthSchemeProvider: ACMPCAHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: ACMPCAHttpAuthSchemeProvider;
|
|
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: ACMPCAHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|