@aws-sdk/client-acm-pca 3.168.0 → 3.170.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 (47) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/ACMPCA.d.ts +442 -120
  3. package/dist-types/ts3.4/ACMPCAClient.d.ts +267 -96
  4. package/dist-types/ts3.4/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +41 -17
  5. package/dist-types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +41 -17
  6. package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +32 -17
  7. package/dist-types/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +37 -17
  8. package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +32 -17
  9. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +32 -17
  10. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +41 -17
  11. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +41 -17
  12. package/dist-types/ts3.4/commands/GetCertificateAuthorityCertificateCommand.d.ts +41 -17
  13. package/dist-types/ts3.4/commands/GetCertificateAuthorityCsrCommand.d.ts +41 -17
  14. package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +37 -17
  15. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +34 -17
  16. package/dist-types/ts3.4/commands/ImportCertificateAuthorityCertificateCommand.d.ts +37 -17
  17. package/dist-types/ts3.4/commands/IssueCertificateCommand.d.ts +37 -17
  18. package/dist-types/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +41 -17
  19. package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +37 -17
  20. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +34 -17
  21. package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +32 -17
  22. package/dist-types/ts3.4/commands/RestoreCertificateAuthorityCommand.d.ts +37 -17
  23. package/dist-types/ts3.4/commands/RevokeCertificateCommand.d.ts +33 -17
  24. package/dist-types/ts3.4/commands/TagCertificateAuthorityCommand.d.ts +37 -17
  25. package/dist-types/ts3.4/commands/UntagCertificateAuthorityCommand.d.ts +37 -17
  26. package/dist-types/ts3.4/commands/UpdateCertificateAuthorityCommand.d.ts +37 -17
  27. package/dist-types/ts3.4/commands/index.d.ts +23 -23
  28. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  29. package/dist-types/ts3.4/index.d.ts +7 -7
  30. package/dist-types/ts3.4/models/ACMPCAServiceException.d.ts +8 -6
  31. package/dist-types/ts3.4/models/index.d.ts +1 -1
  32. package/dist-types/ts3.4/models/models_0.d.ts +933 -847
  33. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  34. package/dist-types/ts3.4/pagination/ListCertificateAuthoritiesPaginator.d.ts +11 -4
  35. package/dist-types/ts3.4/pagination/ListPermissionsPaginator.d.ts +11 -4
  36. package/dist-types/ts3.4/pagination/ListTagsPaginator.d.ts +11 -4
  37. package/dist-types/ts3.4/pagination/index.d.ts +4 -4
  38. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +281 -71
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  42. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  43. package/dist-types/ts3.4/waiters/index.d.ts +3 -3
  44. package/dist-types/ts3.4/waiters/waitForAuditReportCreated.d.ts +13 -7
  45. package/dist-types/ts3.4/waiters/waitForCertificateAuthorityCSRCreated.d.ts +13 -7
  46. package/dist-types/ts3.4/waiters/waitForCertificateIssued.d.ts +13 -7
  47. package/package.json +35 -35
@@ -1,847 +1,933 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { ACMPCAServiceException as __BaseException } from "./ACMPCAServiceException";
3
-
4
- export interface CustomAttribute {
5
-
6
- ObjectIdentifier: string | undefined;
7
-
8
- Value: string | undefined;
9
- }
10
-
11
- export interface ASN1Subject {
12
-
13
- Country?: string;
14
-
15
- Organization?: string;
16
-
17
- OrganizationalUnit?: string;
18
-
19
- DistinguishedNameQualifier?: string;
20
-
21
- State?: string;
22
-
23
- CommonName?: string;
24
-
25
- SerialNumber?: string;
26
-
27
- Locality?: string;
28
-
29
- Title?: string;
30
-
31
- Surname?: string;
32
-
33
- GivenName?: string;
34
-
35
- Initials?: string;
36
-
37
- Pseudonym?: string;
38
-
39
- GenerationQualifier?: string;
40
-
41
- CustomAttributes?: CustomAttribute[];
42
- }
43
-
44
- export interface EdiPartyName {
45
-
46
- PartyName: string | undefined;
47
-
48
- NameAssigner?: string;
49
- }
50
-
51
- export interface OtherName {
52
-
53
- TypeId: string | undefined;
54
-
55
- Value: string | undefined;
56
- }
57
-
58
- export interface GeneralName {
59
-
60
- OtherName?: OtherName;
61
-
62
- Rfc822Name?: string;
63
-
64
- DnsName?: string;
65
-
66
- DirectoryName?: ASN1Subject;
67
-
68
- EdiPartyName?: EdiPartyName;
69
-
70
- UniformResourceIdentifier?: string;
71
-
72
- IpAddress?: string;
73
-
74
- RegisteredId?: string;
75
- }
76
- export declare enum AccessMethodType {
77
- CA_REPOSITORY = "CA_REPOSITORY",
78
- RESOURCE_PKI_MANIFEST = "RESOURCE_PKI_MANIFEST",
79
- RESOURCE_PKI_NOTIFY = "RESOURCE_PKI_NOTIFY"
80
- }
81
-
82
- export interface AccessMethod {
83
-
84
- CustomObjectIdentifier?: string;
85
-
86
- AccessMethodType?: AccessMethodType | string;
87
- }
88
-
89
- export interface AccessDescription {
90
-
91
- AccessMethod: AccessMethod | undefined;
92
-
93
- AccessLocation: GeneralName | undefined;
94
- }
95
-
96
- export interface KeyUsage {
97
-
98
- DigitalSignature?: boolean;
99
-
100
- NonRepudiation?: boolean;
101
-
102
- KeyEncipherment?: boolean;
103
-
104
- DataEncipherment?: boolean;
105
-
106
- KeyAgreement?: boolean;
107
-
108
- KeyCertSign?: boolean;
109
-
110
- CRLSign?: boolean;
111
-
112
- EncipherOnly?: boolean;
113
-
114
- DecipherOnly?: boolean;
115
- }
116
-
117
- export interface CsrExtensions {
118
-
119
- KeyUsage?: KeyUsage;
120
-
121
- SubjectInformationAccess?: AccessDescription[];
122
- }
123
- export declare enum KeyAlgorithm {
124
- EC_prime256v1 = "EC_prime256v1",
125
- EC_secp384r1 = "EC_secp384r1",
126
- RSA_2048 = "RSA_2048",
127
- RSA_4096 = "RSA_4096"
128
- }
129
- export declare enum SigningAlgorithm {
130
- SHA256WITHECDSA = "SHA256WITHECDSA",
131
- SHA256WITHRSA = "SHA256WITHRSA",
132
- SHA384WITHECDSA = "SHA384WITHECDSA",
133
- SHA384WITHRSA = "SHA384WITHRSA",
134
- SHA512WITHECDSA = "SHA512WITHECDSA",
135
- SHA512WITHRSA = "SHA512WITHRSA"
136
- }
137
-
138
- export interface CertificateAuthorityConfiguration {
139
-
140
- KeyAlgorithm: KeyAlgorithm | string | undefined;
141
-
142
- SigningAlgorithm: SigningAlgorithm | string | undefined;
143
-
144
- Subject: ASN1Subject | undefined;
145
-
146
- CsrExtensions?: CsrExtensions;
147
- }
148
- export declare enum CertificateAuthorityType {
149
- ROOT = "ROOT",
150
- SUBORDINATE = "SUBORDINATE"
151
- }
152
- export declare enum KeyStorageSecurityStandard {
153
- FIPS_140_2_LEVEL_2_OR_HIGHER = "FIPS_140_2_LEVEL_2_OR_HIGHER",
154
- FIPS_140_2_LEVEL_3_OR_HIGHER = "FIPS_140_2_LEVEL_3_OR_HIGHER"
155
- }
156
- export declare enum S3ObjectAcl {
157
- BUCKET_OWNER_FULL_CONTROL = "BUCKET_OWNER_FULL_CONTROL",
158
- PUBLIC_READ = "PUBLIC_READ"
159
- }
160
-
161
- export interface CrlConfiguration {
162
-
163
- Enabled: boolean | undefined;
164
-
165
- ExpirationInDays?: number;
166
-
167
- CustomCname?: string;
168
-
169
- S3BucketName?: string;
170
-
171
- S3ObjectAcl?: S3ObjectAcl | string;
172
- }
173
-
174
- export interface OcspConfiguration {
175
-
176
- Enabled: boolean | undefined;
177
-
178
- OcspCustomCname?: string;
179
- }
180
-
181
- export interface RevocationConfiguration {
182
-
183
- CrlConfiguration?: CrlConfiguration;
184
-
185
- OcspConfiguration?: OcspConfiguration;
186
- }
187
-
188
- export interface Tag {
189
-
190
- Key: string | undefined;
191
-
192
- Value?: string;
193
- }
194
- export interface CreateCertificateAuthorityRequest {
195
-
196
- CertificateAuthorityConfiguration: CertificateAuthorityConfiguration | undefined;
197
-
198
- RevocationConfiguration?: RevocationConfiguration;
199
-
200
- CertificateAuthorityType: CertificateAuthorityType | string | undefined;
201
-
202
- IdempotencyToken?: string;
203
-
204
- KeyStorageSecurityStandard?: KeyStorageSecurityStandard | string;
205
-
206
- Tags?: Tag[];
207
- }
208
- export interface CreateCertificateAuthorityResponse {
209
-
210
- CertificateAuthorityArn?: string;
211
- }
212
-
213
- export declare class InvalidArgsException extends __BaseException {
214
- readonly name: "InvalidArgsException";
215
- readonly $fault: "client";
216
-
217
- constructor(opts: __ExceptionOptionType<InvalidArgsException, __BaseException>);
218
- }
219
-
220
- export declare class InvalidPolicyException extends __BaseException {
221
- readonly name: "InvalidPolicyException";
222
- readonly $fault: "client";
223
-
224
- constructor(opts: __ExceptionOptionType<InvalidPolicyException, __BaseException>);
225
- }
226
-
227
- export declare class InvalidTagException extends __BaseException {
228
- readonly name: "InvalidTagException";
229
- readonly $fault: "client";
230
-
231
- constructor(opts: __ExceptionOptionType<InvalidTagException, __BaseException>);
232
- }
233
-
234
- export declare class LimitExceededException extends __BaseException {
235
- readonly name: "LimitExceededException";
236
- readonly $fault: "client";
237
-
238
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
239
- }
240
- export declare enum AuditReportResponseFormat {
241
- CSV = "CSV",
242
- JSON = "JSON"
243
- }
244
- export interface CreateCertificateAuthorityAuditReportRequest {
245
-
246
- CertificateAuthorityArn: string | undefined;
247
-
248
- S3BucketName: string | undefined;
249
-
250
- AuditReportResponseFormat: AuditReportResponseFormat | string | undefined;
251
- }
252
- export interface CreateCertificateAuthorityAuditReportResponse {
253
-
254
- AuditReportId?: string;
255
-
256
- S3Key?: string;
257
- }
258
-
259
- export declare class InvalidArnException extends __BaseException {
260
- readonly name: "InvalidArnException";
261
- readonly $fault: "client";
262
-
263
- constructor(opts: __ExceptionOptionType<InvalidArnException, __BaseException>);
264
- }
265
-
266
- export declare class InvalidStateException extends __BaseException {
267
- readonly name: "InvalidStateException";
268
- readonly $fault: "client";
269
-
270
- constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
271
- }
272
-
273
- export declare class RequestFailedException extends __BaseException {
274
- readonly name: "RequestFailedException";
275
- readonly $fault: "client";
276
-
277
- constructor(opts: __ExceptionOptionType<RequestFailedException, __BaseException>);
278
- }
279
-
280
- export declare class RequestInProgressException extends __BaseException {
281
- readonly name: "RequestInProgressException";
282
- readonly $fault: "client";
283
-
284
- constructor(opts: __ExceptionOptionType<RequestInProgressException, __BaseException>);
285
- }
286
-
287
- export declare class ResourceNotFoundException extends __BaseException {
288
- readonly name: "ResourceNotFoundException";
289
- readonly $fault: "client";
290
-
291
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
292
- }
293
- export declare enum ActionType {
294
- GetCertificate = "GetCertificate",
295
- IssueCertificate = "IssueCertificate",
296
- ListPermissions = "ListPermissions"
297
- }
298
- export interface CreatePermissionRequest {
299
-
300
- CertificateAuthorityArn: string | undefined;
301
-
302
- Principal: string | undefined;
303
-
304
- SourceAccount?: string;
305
-
306
- Actions: (ActionType | string)[] | undefined;
307
- }
308
-
309
- export declare class PermissionAlreadyExistsException extends __BaseException {
310
- readonly name: "PermissionAlreadyExistsException";
311
- readonly $fault: "client";
312
-
313
- constructor(opts: __ExceptionOptionType<PermissionAlreadyExistsException, __BaseException>);
314
- }
315
-
316
- export declare class ConcurrentModificationException extends __BaseException {
317
- readonly name: "ConcurrentModificationException";
318
- readonly $fault: "client";
319
-
320
- constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
321
- }
322
- export interface DeleteCertificateAuthorityRequest {
323
-
324
- CertificateAuthorityArn: string | undefined;
325
-
326
- PermanentDeletionTimeInDays?: number;
327
- }
328
- export interface DeletePermissionRequest {
329
-
330
- CertificateAuthorityArn: string | undefined;
331
-
332
- Principal: string | undefined;
333
-
334
- SourceAccount?: string;
335
- }
336
- export interface DeletePolicyRequest {
337
-
338
- ResourceArn: string | undefined;
339
- }
340
-
341
- export declare class LockoutPreventedException extends __BaseException {
342
- readonly name: "LockoutPreventedException";
343
- readonly $fault: "client";
344
-
345
- constructor(opts: __ExceptionOptionType<LockoutPreventedException, __BaseException>);
346
- }
347
- export interface DescribeCertificateAuthorityRequest {
348
-
349
- CertificateAuthorityArn: string | undefined;
350
- }
351
- export declare enum FailureReason {
352
- OTHER = "OTHER",
353
- REQUEST_TIMED_OUT = "REQUEST_TIMED_OUT",
354
- UNSUPPORTED_ALGORITHM = "UNSUPPORTED_ALGORITHM"
355
- }
356
- export declare enum CertificateAuthorityStatus {
357
- ACTIVE = "ACTIVE",
358
- CREATING = "CREATING",
359
- DELETED = "DELETED",
360
- DISABLED = "DISABLED",
361
- EXPIRED = "EXPIRED",
362
- FAILED = "FAILED",
363
- PENDING_CERTIFICATE = "PENDING_CERTIFICATE"
364
- }
365
-
366
- export interface CertificateAuthority {
367
-
368
- Arn?: string;
369
-
370
- OwnerAccount?: string;
371
-
372
- CreatedAt?: Date;
373
-
374
- LastStateChangeAt?: Date;
375
-
376
- Type?: CertificateAuthorityType | string;
377
-
378
- Serial?: string;
379
-
380
- Status?: CertificateAuthorityStatus | string;
381
-
382
- NotBefore?: Date;
383
-
384
- NotAfter?: Date;
385
-
386
- FailureReason?: FailureReason | string;
387
-
388
- CertificateAuthorityConfiguration?: CertificateAuthorityConfiguration;
389
-
390
- RevocationConfiguration?: RevocationConfiguration;
391
-
392
- RestorableUntil?: Date;
393
-
394
- KeyStorageSecurityStandard?: KeyStorageSecurityStandard | string;
395
- }
396
- export interface DescribeCertificateAuthorityResponse {
397
-
398
- CertificateAuthority?: CertificateAuthority;
399
- }
400
- export interface DescribeCertificateAuthorityAuditReportRequest {
401
-
402
- CertificateAuthorityArn: string | undefined;
403
-
404
- AuditReportId: string | undefined;
405
- }
406
- export declare enum AuditReportStatus {
407
- CREATING = "CREATING",
408
- FAILED = "FAILED",
409
- SUCCESS = "SUCCESS"
410
- }
411
- export interface DescribeCertificateAuthorityAuditReportResponse {
412
-
413
- AuditReportStatus?: AuditReportStatus | string;
414
-
415
- S3BucketName?: string;
416
-
417
- S3Key?: string;
418
-
419
- CreatedAt?: Date;
420
- }
421
- export interface GetCertificateRequest {
422
-
423
- CertificateAuthorityArn: string | undefined;
424
-
425
- CertificateArn: string | undefined;
426
- }
427
- export interface GetCertificateResponse {
428
-
429
- Certificate?: string;
430
-
431
- CertificateChain?: string;
432
- }
433
- export interface GetCertificateAuthorityCertificateRequest {
434
-
435
- CertificateAuthorityArn: string | undefined;
436
- }
437
- export interface GetCertificateAuthorityCertificateResponse {
438
-
439
- Certificate?: string;
440
-
441
- CertificateChain?: string;
442
- }
443
- export interface GetCertificateAuthorityCsrRequest {
444
-
445
- CertificateAuthorityArn: string | undefined;
446
- }
447
- export interface GetCertificateAuthorityCsrResponse {
448
-
449
- Csr?: string;
450
- }
451
- export interface GetPolicyRequest {
452
-
453
- ResourceArn: string | undefined;
454
- }
455
- export interface GetPolicyResponse {
456
-
457
- Policy?: string;
458
- }
459
-
460
- export declare class CertificateMismatchException extends __BaseException {
461
- readonly name: "CertificateMismatchException";
462
- readonly $fault: "client";
463
-
464
- constructor(opts: __ExceptionOptionType<CertificateMismatchException, __BaseException>);
465
- }
466
- export interface ImportCertificateAuthorityCertificateRequest {
467
-
468
- CertificateAuthorityArn: string | undefined;
469
-
470
- Certificate: Uint8Array | undefined;
471
-
472
- CertificateChain?: Uint8Array;
473
- }
474
-
475
- export declare class InvalidRequestException extends __BaseException {
476
- readonly name: "InvalidRequestException";
477
- readonly $fault: "client";
478
-
479
- constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
480
- }
481
-
482
- export declare class MalformedCertificateException extends __BaseException {
483
- readonly name: "MalformedCertificateException";
484
- readonly $fault: "client";
485
-
486
- constructor(opts: __ExceptionOptionType<MalformedCertificateException, __BaseException>);
487
- }
488
- export declare enum PolicyQualifierId {
489
- CPS = "CPS"
490
- }
491
-
492
- export interface Qualifier {
493
-
494
- CpsUri: string | undefined;
495
- }
496
-
497
- export interface PolicyQualifierInfo {
498
-
499
- PolicyQualifierId: PolicyQualifierId | string | undefined;
500
-
501
- Qualifier: Qualifier | undefined;
502
- }
503
-
504
- export interface PolicyInformation {
505
-
506
- CertPolicyId: string | undefined;
507
-
508
- PolicyQualifiers?: PolicyQualifierInfo[];
509
- }
510
-
511
- export interface CustomExtension {
512
-
513
- ObjectIdentifier: string | undefined;
514
-
515
- Value: string | undefined;
516
-
517
- Critical?: boolean;
518
- }
519
- export declare enum ExtendedKeyUsageType {
520
- CERTIFICATE_TRANSPARENCY = "CERTIFICATE_TRANSPARENCY",
521
- CLIENT_AUTH = "CLIENT_AUTH",
522
- CODE_SIGNING = "CODE_SIGNING",
523
- DOCUMENT_SIGNING = "DOCUMENT_SIGNING",
524
- EMAIL_PROTECTION = "EMAIL_PROTECTION",
525
- OCSP_SIGNING = "OCSP_SIGNING",
526
- SERVER_AUTH = "SERVER_AUTH",
527
- SMART_CARD_LOGIN = "SMART_CARD_LOGIN",
528
- TIME_STAMPING = "TIME_STAMPING"
529
- }
530
-
531
- export interface ExtendedKeyUsage {
532
-
533
- ExtendedKeyUsageType?: ExtendedKeyUsageType | string;
534
-
535
- ExtendedKeyUsageObjectIdentifier?: string;
536
- }
537
-
538
- export interface Extensions {
539
-
540
- CertificatePolicies?: PolicyInformation[];
541
-
542
- ExtendedKeyUsage?: ExtendedKeyUsage[];
543
-
544
- KeyUsage?: KeyUsage;
545
-
546
- SubjectAlternativeNames?: GeneralName[];
547
-
548
- CustomExtensions?: CustomExtension[];
549
- }
550
-
551
- export interface ApiPassthrough {
552
-
553
- Extensions?: Extensions;
554
-
555
- Subject?: ASN1Subject;
556
- }
557
- export declare enum ValidityPeriodType {
558
- ABSOLUTE = "ABSOLUTE",
559
- DAYS = "DAYS",
560
- END_DATE = "END_DATE",
561
- MONTHS = "MONTHS",
562
- YEARS = "YEARS"
563
- }
564
-
565
- export interface Validity {
566
-
567
- Value: number | undefined;
568
-
569
- Type: ValidityPeriodType | string | undefined;
570
- }
571
- export interface IssueCertificateRequest {
572
-
573
- ApiPassthrough?: ApiPassthrough;
574
-
575
- CertificateAuthorityArn: string | undefined;
576
-
577
- Csr: Uint8Array | undefined;
578
-
579
- SigningAlgorithm: SigningAlgorithm | string | undefined;
580
-
581
- TemplateArn?: string;
582
-
583
- Validity: Validity | undefined;
584
-
585
- ValidityNotBefore?: Validity;
586
-
587
- IdempotencyToken?: string;
588
- }
589
- export interface IssueCertificateResponse {
590
-
591
- CertificateArn?: string;
592
- }
593
-
594
- export declare class MalformedCSRException extends __BaseException {
595
- readonly name: "MalformedCSRException";
596
- readonly $fault: "client";
597
-
598
- constructor(opts: __ExceptionOptionType<MalformedCSRException, __BaseException>);
599
- }
600
-
601
- export declare class InvalidNextTokenException extends __BaseException {
602
- readonly name: "InvalidNextTokenException";
603
- readonly $fault: "client";
604
-
605
- constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
606
- }
607
- export declare enum ResourceOwner {
608
- OTHER_ACCOUNTS = "OTHER_ACCOUNTS",
609
- SELF = "SELF"
610
- }
611
- export interface ListCertificateAuthoritiesRequest {
612
-
613
- NextToken?: string;
614
-
615
- MaxResults?: number;
616
-
617
- ResourceOwner?: ResourceOwner | string;
618
- }
619
- export interface ListCertificateAuthoritiesResponse {
620
-
621
- CertificateAuthorities?: CertificateAuthority[];
622
-
623
- NextToken?: string;
624
- }
625
- export interface ListPermissionsRequest {
626
-
627
- CertificateAuthorityArn: string | undefined;
628
-
629
- NextToken?: string;
630
-
631
- MaxResults?: number;
632
- }
633
-
634
- export interface Permission {
635
-
636
- CertificateAuthorityArn?: string;
637
-
638
- CreatedAt?: Date;
639
-
640
- Principal?: string;
641
-
642
- SourceAccount?: string;
643
-
644
- Actions?: (ActionType | string)[];
645
-
646
- Policy?: string;
647
- }
648
- export interface ListPermissionsResponse {
649
-
650
- Permissions?: Permission[];
651
-
652
- NextToken?: string;
653
- }
654
- export interface ListTagsRequest {
655
-
656
- CertificateAuthorityArn: string | undefined;
657
-
658
- NextToken?: string;
659
-
660
- MaxResults?: number;
661
- }
662
- export interface ListTagsResponse {
663
-
664
- Tags?: Tag[];
665
-
666
- NextToken?: string;
667
- }
668
- export interface PutPolicyRequest {
669
-
670
- ResourceArn: string | undefined;
671
-
672
- Policy: string | undefined;
673
- }
674
- export interface RestoreCertificateAuthorityRequest {
675
-
676
- CertificateAuthorityArn: string | undefined;
677
- }
678
-
679
- export declare class RequestAlreadyProcessedException extends __BaseException {
680
- readonly name: "RequestAlreadyProcessedException";
681
- readonly $fault: "client";
682
-
683
- constructor(opts: __ExceptionOptionType<RequestAlreadyProcessedException, __BaseException>);
684
- }
685
- export declare enum RevocationReason {
686
- AFFILIATION_CHANGED = "AFFILIATION_CHANGED",
687
- A_A_COMPROMISE = "A_A_COMPROMISE",
688
- CERTIFICATE_AUTHORITY_COMPROMISE = "CERTIFICATE_AUTHORITY_COMPROMISE",
689
- CESSATION_OF_OPERATION = "CESSATION_OF_OPERATION",
690
- KEY_COMPROMISE = "KEY_COMPROMISE",
691
- PRIVILEGE_WITHDRAWN = "PRIVILEGE_WITHDRAWN",
692
- SUPERSEDED = "SUPERSEDED",
693
- UNSPECIFIED = "UNSPECIFIED"
694
- }
695
- export interface RevokeCertificateRequest {
696
-
697
- CertificateAuthorityArn: string | undefined;
698
-
699
- CertificateSerial: string | undefined;
700
-
701
- RevocationReason: RevocationReason | string | undefined;
702
- }
703
- export interface TagCertificateAuthorityRequest {
704
-
705
- CertificateAuthorityArn: string | undefined;
706
-
707
- Tags: Tag[] | undefined;
708
- }
709
-
710
- export declare class TooManyTagsException extends __BaseException {
711
- readonly name: "TooManyTagsException";
712
- readonly $fault: "client";
713
-
714
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
715
- }
716
- export interface UntagCertificateAuthorityRequest {
717
-
718
- CertificateAuthorityArn: string | undefined;
719
-
720
- Tags: Tag[] | undefined;
721
- }
722
- export interface UpdateCertificateAuthorityRequest {
723
-
724
- CertificateAuthorityArn: string | undefined;
725
-
726
- RevocationConfiguration?: RevocationConfiguration;
727
-
728
- Status?: CertificateAuthorityStatus | string;
729
- }
730
-
731
- export declare const CustomAttributeFilterSensitiveLog: (obj: CustomAttribute) => any;
732
-
733
- export declare const ASN1SubjectFilterSensitiveLog: (obj: ASN1Subject) => any;
734
-
735
- export declare const EdiPartyNameFilterSensitiveLog: (obj: EdiPartyName) => any;
736
-
737
- export declare const OtherNameFilterSensitiveLog: (obj: OtherName) => any;
738
-
739
- export declare const GeneralNameFilterSensitiveLog: (obj: GeneralName) => any;
740
-
741
- export declare const AccessMethodFilterSensitiveLog: (obj: AccessMethod) => any;
742
-
743
- export declare const AccessDescriptionFilterSensitiveLog: (obj: AccessDescription) => any;
744
-
745
- export declare const KeyUsageFilterSensitiveLog: (obj: KeyUsage) => any;
746
-
747
- export declare const CsrExtensionsFilterSensitiveLog: (obj: CsrExtensions) => any;
748
-
749
- export declare const CertificateAuthorityConfigurationFilterSensitiveLog: (obj: CertificateAuthorityConfiguration) => any;
750
-
751
- export declare const CrlConfigurationFilterSensitiveLog: (obj: CrlConfiguration) => any;
752
-
753
- export declare const OcspConfigurationFilterSensitiveLog: (obj: OcspConfiguration) => any;
754
-
755
- export declare const RevocationConfigurationFilterSensitiveLog: (obj: RevocationConfiguration) => any;
756
-
757
- export declare const TagFilterSensitiveLog: (obj: Tag) => any;
758
-
759
- export declare const CreateCertificateAuthorityRequestFilterSensitiveLog: (obj: CreateCertificateAuthorityRequest) => any;
760
-
761
- export declare const CreateCertificateAuthorityResponseFilterSensitiveLog: (obj: CreateCertificateAuthorityResponse) => any;
762
-
763
- export declare const CreateCertificateAuthorityAuditReportRequestFilterSensitiveLog: (obj: CreateCertificateAuthorityAuditReportRequest) => any;
764
-
765
- export declare const CreateCertificateAuthorityAuditReportResponseFilterSensitiveLog: (obj: CreateCertificateAuthorityAuditReportResponse) => any;
766
-
767
- export declare const CreatePermissionRequestFilterSensitiveLog: (obj: CreatePermissionRequest) => any;
768
-
769
- export declare const DeleteCertificateAuthorityRequestFilterSensitiveLog: (obj: DeleteCertificateAuthorityRequest) => any;
770
-
771
- export declare const DeletePermissionRequestFilterSensitiveLog: (obj: DeletePermissionRequest) => any;
772
-
773
- export declare const DeletePolicyRequestFilterSensitiveLog: (obj: DeletePolicyRequest) => any;
774
-
775
- export declare const DescribeCertificateAuthorityRequestFilterSensitiveLog: (obj: DescribeCertificateAuthorityRequest) => any;
776
-
777
- export declare const CertificateAuthorityFilterSensitiveLog: (obj: CertificateAuthority) => any;
778
-
779
- export declare const DescribeCertificateAuthorityResponseFilterSensitiveLog: (obj: DescribeCertificateAuthorityResponse) => any;
780
-
781
- export declare const DescribeCertificateAuthorityAuditReportRequestFilterSensitiveLog: (obj: DescribeCertificateAuthorityAuditReportRequest) => any;
782
-
783
- export declare const DescribeCertificateAuthorityAuditReportResponseFilterSensitiveLog: (obj: DescribeCertificateAuthorityAuditReportResponse) => any;
784
-
785
- export declare const GetCertificateRequestFilterSensitiveLog: (obj: GetCertificateRequest) => any;
786
-
787
- export declare const GetCertificateResponseFilterSensitiveLog: (obj: GetCertificateResponse) => any;
788
-
789
- export declare const GetCertificateAuthorityCertificateRequestFilterSensitiveLog: (obj: GetCertificateAuthorityCertificateRequest) => any;
790
-
791
- export declare const GetCertificateAuthorityCertificateResponseFilterSensitiveLog: (obj: GetCertificateAuthorityCertificateResponse) => any;
792
-
793
- export declare const GetCertificateAuthorityCsrRequestFilterSensitiveLog: (obj: GetCertificateAuthorityCsrRequest) => any;
794
-
795
- export declare const GetCertificateAuthorityCsrResponseFilterSensitiveLog: (obj: GetCertificateAuthorityCsrResponse) => any;
796
-
797
- export declare const GetPolicyRequestFilterSensitiveLog: (obj: GetPolicyRequest) => any;
798
-
799
- export declare const GetPolicyResponseFilterSensitiveLog: (obj: GetPolicyResponse) => any;
800
-
801
- export declare const ImportCertificateAuthorityCertificateRequestFilterSensitiveLog: (obj: ImportCertificateAuthorityCertificateRequest) => any;
802
-
803
- export declare const QualifierFilterSensitiveLog: (obj: Qualifier) => any;
804
-
805
- export declare const PolicyQualifierInfoFilterSensitiveLog: (obj: PolicyQualifierInfo) => any;
806
-
807
- export declare const PolicyInformationFilterSensitiveLog: (obj: PolicyInformation) => any;
808
-
809
- export declare const CustomExtensionFilterSensitiveLog: (obj: CustomExtension) => any;
810
-
811
- export declare const ExtendedKeyUsageFilterSensitiveLog: (obj: ExtendedKeyUsage) => any;
812
-
813
- export declare const ExtensionsFilterSensitiveLog: (obj: Extensions) => any;
814
-
815
- export declare const ApiPassthroughFilterSensitiveLog: (obj: ApiPassthrough) => any;
816
-
817
- export declare const ValidityFilterSensitiveLog: (obj: Validity) => any;
818
-
819
- export declare const IssueCertificateRequestFilterSensitiveLog: (obj: IssueCertificateRequest) => any;
820
-
821
- export declare const IssueCertificateResponseFilterSensitiveLog: (obj: IssueCertificateResponse) => any;
822
-
823
- export declare const ListCertificateAuthoritiesRequestFilterSensitiveLog: (obj: ListCertificateAuthoritiesRequest) => any;
824
-
825
- export declare const ListCertificateAuthoritiesResponseFilterSensitiveLog: (obj: ListCertificateAuthoritiesResponse) => any;
826
-
827
- export declare const ListPermissionsRequestFilterSensitiveLog: (obj: ListPermissionsRequest) => any;
828
-
829
- export declare const PermissionFilterSensitiveLog: (obj: Permission) => any;
830
-
831
- export declare const ListPermissionsResponseFilterSensitiveLog: (obj: ListPermissionsResponse) => any;
832
-
833
- export declare const ListTagsRequestFilterSensitiveLog: (obj: ListTagsRequest) => any;
834
-
835
- export declare const ListTagsResponseFilterSensitiveLog: (obj: ListTagsResponse) => any;
836
-
837
- export declare const PutPolicyRequestFilterSensitiveLog: (obj: PutPolicyRequest) => any;
838
-
839
- export declare const RestoreCertificateAuthorityRequestFilterSensitiveLog: (obj: RestoreCertificateAuthorityRequest) => any;
840
-
841
- export declare const RevokeCertificateRequestFilterSensitiveLog: (obj: RevokeCertificateRequest) => any;
842
-
843
- export declare const TagCertificateAuthorityRequestFilterSensitiveLog: (obj: TagCertificateAuthorityRequest) => any;
844
-
845
- export declare const UntagCertificateAuthorityRequestFilterSensitiveLog: (obj: UntagCertificateAuthorityRequest) => any;
846
-
847
- export declare const UpdateCertificateAuthorityRequestFilterSensitiveLog: (obj: UpdateCertificateAuthorityRequest) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ACMPCAServiceException as __BaseException } from "./ACMPCAServiceException";
3
+
4
+ export interface CustomAttribute {
5
+ ObjectIdentifier: string | undefined;
6
+
7
+ Value: string | undefined;
8
+ }
9
+
10
+ export interface ASN1Subject {
11
+ Country?: string;
12
+
13
+ Organization?: string;
14
+
15
+ OrganizationalUnit?: string;
16
+
17
+ DistinguishedNameQualifier?: string;
18
+
19
+ State?: string;
20
+
21
+ CommonName?: string;
22
+
23
+ SerialNumber?: string;
24
+
25
+ Locality?: string;
26
+
27
+ Title?: string;
28
+
29
+ Surname?: string;
30
+
31
+ GivenName?: string;
32
+
33
+ Initials?: string;
34
+
35
+ Pseudonym?: string;
36
+
37
+ GenerationQualifier?: string;
38
+
39
+ CustomAttributes?: CustomAttribute[];
40
+ }
41
+
42
+ export interface EdiPartyName {
43
+ PartyName: string | undefined;
44
+
45
+ NameAssigner?: string;
46
+ }
47
+
48
+ export interface OtherName {
49
+ TypeId: string | undefined;
50
+
51
+ Value: string | undefined;
52
+ }
53
+
54
+ export interface GeneralName {
55
+ OtherName?: OtherName;
56
+
57
+ Rfc822Name?: string;
58
+
59
+ DnsName?: string;
60
+
61
+ DirectoryName?: ASN1Subject;
62
+
63
+ EdiPartyName?: EdiPartyName;
64
+
65
+ UniformResourceIdentifier?: string;
66
+
67
+ IpAddress?: string;
68
+
69
+ RegisteredId?: string;
70
+ }
71
+ export declare enum AccessMethodType {
72
+ CA_REPOSITORY = "CA_REPOSITORY",
73
+ RESOURCE_PKI_MANIFEST = "RESOURCE_PKI_MANIFEST",
74
+ RESOURCE_PKI_NOTIFY = "RESOURCE_PKI_NOTIFY",
75
+ }
76
+
77
+ export interface AccessMethod {
78
+ CustomObjectIdentifier?: string;
79
+
80
+ AccessMethodType?: AccessMethodType | string;
81
+ }
82
+
83
+ export interface AccessDescription {
84
+ AccessMethod: AccessMethod | undefined;
85
+
86
+ AccessLocation: GeneralName | undefined;
87
+ }
88
+
89
+ export interface KeyUsage {
90
+ DigitalSignature?: boolean;
91
+
92
+ NonRepudiation?: boolean;
93
+
94
+ KeyEncipherment?: boolean;
95
+
96
+ DataEncipherment?: boolean;
97
+
98
+ KeyAgreement?: boolean;
99
+
100
+ KeyCertSign?: boolean;
101
+
102
+ CRLSign?: boolean;
103
+
104
+ EncipherOnly?: boolean;
105
+
106
+ DecipherOnly?: boolean;
107
+ }
108
+
109
+ export interface CsrExtensions {
110
+ KeyUsage?: KeyUsage;
111
+
112
+ SubjectInformationAccess?: AccessDescription[];
113
+ }
114
+ export declare enum KeyAlgorithm {
115
+ EC_prime256v1 = "EC_prime256v1",
116
+ EC_secp384r1 = "EC_secp384r1",
117
+ RSA_2048 = "RSA_2048",
118
+ RSA_4096 = "RSA_4096",
119
+ }
120
+ export declare enum SigningAlgorithm {
121
+ SHA256WITHECDSA = "SHA256WITHECDSA",
122
+ SHA256WITHRSA = "SHA256WITHRSA",
123
+ SHA384WITHECDSA = "SHA384WITHECDSA",
124
+ SHA384WITHRSA = "SHA384WITHRSA",
125
+ SHA512WITHECDSA = "SHA512WITHECDSA",
126
+ SHA512WITHRSA = "SHA512WITHRSA",
127
+ }
128
+
129
+ export interface CertificateAuthorityConfiguration {
130
+ KeyAlgorithm: KeyAlgorithm | string | undefined;
131
+
132
+ SigningAlgorithm: SigningAlgorithm | string | undefined;
133
+
134
+ Subject: ASN1Subject | undefined;
135
+
136
+ CsrExtensions?: CsrExtensions;
137
+ }
138
+ export declare enum CertificateAuthorityType {
139
+ ROOT = "ROOT",
140
+ SUBORDINATE = "SUBORDINATE",
141
+ }
142
+ export declare enum KeyStorageSecurityStandard {
143
+ FIPS_140_2_LEVEL_2_OR_HIGHER = "FIPS_140_2_LEVEL_2_OR_HIGHER",
144
+ FIPS_140_2_LEVEL_3_OR_HIGHER = "FIPS_140_2_LEVEL_3_OR_HIGHER",
145
+ }
146
+ export declare enum S3ObjectAcl {
147
+ BUCKET_OWNER_FULL_CONTROL = "BUCKET_OWNER_FULL_CONTROL",
148
+ PUBLIC_READ = "PUBLIC_READ",
149
+ }
150
+
151
+ export interface CrlConfiguration {
152
+ Enabled: boolean | undefined;
153
+
154
+ ExpirationInDays?: number;
155
+
156
+ CustomCname?: string;
157
+
158
+ S3BucketName?: string;
159
+
160
+ S3ObjectAcl?: S3ObjectAcl | string;
161
+ }
162
+
163
+ export interface OcspConfiguration {
164
+ Enabled: boolean | undefined;
165
+
166
+ OcspCustomCname?: string;
167
+ }
168
+
169
+ export interface RevocationConfiguration {
170
+ CrlConfiguration?: CrlConfiguration;
171
+
172
+ OcspConfiguration?: OcspConfiguration;
173
+ }
174
+
175
+ export interface Tag {
176
+ Key: string | undefined;
177
+
178
+ Value?: string;
179
+ }
180
+ export interface CreateCertificateAuthorityRequest {
181
+ CertificateAuthorityConfiguration:
182
+ | CertificateAuthorityConfiguration
183
+ | undefined;
184
+
185
+ RevocationConfiguration?: RevocationConfiguration;
186
+
187
+ CertificateAuthorityType: CertificateAuthorityType | string | undefined;
188
+
189
+ IdempotencyToken?: string;
190
+
191
+ KeyStorageSecurityStandard?: KeyStorageSecurityStandard | string;
192
+
193
+ Tags?: Tag[];
194
+ }
195
+ export interface CreateCertificateAuthorityResponse {
196
+ CertificateAuthorityArn?: string;
197
+ }
198
+
199
+ export declare class InvalidArgsException extends __BaseException {
200
+ readonly name: "InvalidArgsException";
201
+ readonly $fault: "client";
202
+
203
+ constructor(
204
+ opts: __ExceptionOptionType<InvalidArgsException, __BaseException>
205
+ );
206
+ }
207
+
208
+ export declare class InvalidPolicyException extends __BaseException {
209
+ readonly name: "InvalidPolicyException";
210
+ readonly $fault: "client";
211
+
212
+ constructor(
213
+ opts: __ExceptionOptionType<InvalidPolicyException, __BaseException>
214
+ );
215
+ }
216
+
217
+ export declare class InvalidTagException extends __BaseException {
218
+ readonly name: "InvalidTagException";
219
+ readonly $fault: "client";
220
+
221
+ constructor(
222
+ opts: __ExceptionOptionType<InvalidTagException, __BaseException>
223
+ );
224
+ }
225
+
226
+ export declare class LimitExceededException extends __BaseException {
227
+ readonly name: "LimitExceededException";
228
+ readonly $fault: "client";
229
+
230
+ constructor(
231
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
232
+ );
233
+ }
234
+ export declare enum AuditReportResponseFormat {
235
+ CSV = "CSV",
236
+ JSON = "JSON",
237
+ }
238
+ export interface CreateCertificateAuthorityAuditReportRequest {
239
+ CertificateAuthorityArn: string | undefined;
240
+
241
+ S3BucketName: string | undefined;
242
+
243
+ AuditReportResponseFormat: AuditReportResponseFormat | string | undefined;
244
+ }
245
+ export interface CreateCertificateAuthorityAuditReportResponse {
246
+ AuditReportId?: string;
247
+
248
+ S3Key?: string;
249
+ }
250
+
251
+ export declare class InvalidArnException extends __BaseException {
252
+ readonly name: "InvalidArnException";
253
+ readonly $fault: "client";
254
+
255
+ constructor(
256
+ opts: __ExceptionOptionType<InvalidArnException, __BaseException>
257
+ );
258
+ }
259
+
260
+ export declare class InvalidStateException extends __BaseException {
261
+ readonly name: "InvalidStateException";
262
+ readonly $fault: "client";
263
+
264
+ constructor(
265
+ opts: __ExceptionOptionType<InvalidStateException, __BaseException>
266
+ );
267
+ }
268
+
269
+ export declare class RequestFailedException extends __BaseException {
270
+ readonly name: "RequestFailedException";
271
+ readonly $fault: "client";
272
+
273
+ constructor(
274
+ opts: __ExceptionOptionType<RequestFailedException, __BaseException>
275
+ );
276
+ }
277
+
278
+ export declare class RequestInProgressException extends __BaseException {
279
+ readonly name: "RequestInProgressException";
280
+ readonly $fault: "client";
281
+
282
+ constructor(
283
+ opts: __ExceptionOptionType<RequestInProgressException, __BaseException>
284
+ );
285
+ }
286
+
287
+ export declare class ResourceNotFoundException extends __BaseException {
288
+ readonly name: "ResourceNotFoundException";
289
+ readonly $fault: "client";
290
+
291
+ constructor(
292
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
293
+ );
294
+ }
295
+ export declare enum ActionType {
296
+ GetCertificate = "GetCertificate",
297
+ IssueCertificate = "IssueCertificate",
298
+ ListPermissions = "ListPermissions",
299
+ }
300
+ export interface CreatePermissionRequest {
301
+ CertificateAuthorityArn: string | undefined;
302
+
303
+ Principal: string | undefined;
304
+
305
+ SourceAccount?: string;
306
+
307
+ Actions: (ActionType | string)[] | undefined;
308
+ }
309
+
310
+ export declare class PermissionAlreadyExistsException extends __BaseException {
311
+ readonly name: "PermissionAlreadyExistsException";
312
+ readonly $fault: "client";
313
+
314
+ constructor(
315
+ opts: __ExceptionOptionType<
316
+ PermissionAlreadyExistsException,
317
+ __BaseException
318
+ >
319
+ );
320
+ }
321
+
322
+ export declare class ConcurrentModificationException extends __BaseException {
323
+ readonly name: "ConcurrentModificationException";
324
+ readonly $fault: "client";
325
+
326
+ constructor(
327
+ opts: __ExceptionOptionType<
328
+ ConcurrentModificationException,
329
+ __BaseException
330
+ >
331
+ );
332
+ }
333
+ export interface DeleteCertificateAuthorityRequest {
334
+ CertificateAuthorityArn: string | undefined;
335
+
336
+ PermanentDeletionTimeInDays?: number;
337
+ }
338
+ export interface DeletePermissionRequest {
339
+ CertificateAuthorityArn: string | undefined;
340
+
341
+ Principal: string | undefined;
342
+
343
+ SourceAccount?: string;
344
+ }
345
+ export interface DeletePolicyRequest {
346
+ ResourceArn: string | undefined;
347
+ }
348
+
349
+ export declare class LockoutPreventedException extends __BaseException {
350
+ readonly name: "LockoutPreventedException";
351
+ readonly $fault: "client";
352
+
353
+ constructor(
354
+ opts: __ExceptionOptionType<LockoutPreventedException, __BaseException>
355
+ );
356
+ }
357
+ export interface DescribeCertificateAuthorityRequest {
358
+ CertificateAuthorityArn: string | undefined;
359
+ }
360
+ export declare enum FailureReason {
361
+ OTHER = "OTHER",
362
+ REQUEST_TIMED_OUT = "REQUEST_TIMED_OUT",
363
+ UNSUPPORTED_ALGORITHM = "UNSUPPORTED_ALGORITHM",
364
+ }
365
+ export declare enum CertificateAuthorityStatus {
366
+ ACTIVE = "ACTIVE",
367
+ CREATING = "CREATING",
368
+ DELETED = "DELETED",
369
+ DISABLED = "DISABLED",
370
+ EXPIRED = "EXPIRED",
371
+ FAILED = "FAILED",
372
+ PENDING_CERTIFICATE = "PENDING_CERTIFICATE",
373
+ }
374
+
375
+ export interface CertificateAuthority {
376
+ Arn?: string;
377
+
378
+ OwnerAccount?: string;
379
+
380
+ CreatedAt?: Date;
381
+
382
+ LastStateChangeAt?: Date;
383
+
384
+ Type?: CertificateAuthorityType | string;
385
+
386
+ Serial?: string;
387
+
388
+ Status?: CertificateAuthorityStatus | string;
389
+
390
+ NotBefore?: Date;
391
+
392
+ NotAfter?: Date;
393
+
394
+ FailureReason?: FailureReason | string;
395
+
396
+ CertificateAuthorityConfiguration?: CertificateAuthorityConfiguration;
397
+
398
+ RevocationConfiguration?: RevocationConfiguration;
399
+
400
+ RestorableUntil?: Date;
401
+
402
+ KeyStorageSecurityStandard?: KeyStorageSecurityStandard | string;
403
+ }
404
+ export interface DescribeCertificateAuthorityResponse {
405
+ CertificateAuthority?: CertificateAuthority;
406
+ }
407
+ export interface DescribeCertificateAuthorityAuditReportRequest {
408
+ CertificateAuthorityArn: string | undefined;
409
+
410
+ AuditReportId: string | undefined;
411
+ }
412
+ export declare enum AuditReportStatus {
413
+ CREATING = "CREATING",
414
+ FAILED = "FAILED",
415
+ SUCCESS = "SUCCESS",
416
+ }
417
+ export interface DescribeCertificateAuthorityAuditReportResponse {
418
+ AuditReportStatus?: AuditReportStatus | string;
419
+
420
+ S3BucketName?: string;
421
+
422
+ S3Key?: string;
423
+
424
+ CreatedAt?: Date;
425
+ }
426
+ export interface GetCertificateRequest {
427
+ CertificateAuthorityArn: string | undefined;
428
+
429
+ CertificateArn: string | undefined;
430
+ }
431
+ export interface GetCertificateResponse {
432
+ Certificate?: string;
433
+
434
+ CertificateChain?: string;
435
+ }
436
+ export interface GetCertificateAuthorityCertificateRequest {
437
+ CertificateAuthorityArn: string | undefined;
438
+ }
439
+ export interface GetCertificateAuthorityCertificateResponse {
440
+ Certificate?: string;
441
+
442
+ CertificateChain?: string;
443
+ }
444
+ export interface GetCertificateAuthorityCsrRequest {
445
+ CertificateAuthorityArn: string | undefined;
446
+ }
447
+ export interface GetCertificateAuthorityCsrResponse {
448
+ Csr?: string;
449
+ }
450
+ export interface GetPolicyRequest {
451
+ ResourceArn: string | undefined;
452
+ }
453
+ export interface GetPolicyResponse {
454
+ Policy?: string;
455
+ }
456
+
457
+ export declare class CertificateMismatchException extends __BaseException {
458
+ readonly name: "CertificateMismatchException";
459
+ readonly $fault: "client";
460
+
461
+ constructor(
462
+ opts: __ExceptionOptionType<CertificateMismatchException, __BaseException>
463
+ );
464
+ }
465
+ export interface ImportCertificateAuthorityCertificateRequest {
466
+ CertificateAuthorityArn: string | undefined;
467
+
468
+ Certificate: Uint8Array | undefined;
469
+
470
+ CertificateChain?: Uint8Array;
471
+ }
472
+
473
+ export declare class InvalidRequestException extends __BaseException {
474
+ readonly name: "InvalidRequestException";
475
+ readonly $fault: "client";
476
+
477
+ constructor(
478
+ opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
479
+ );
480
+ }
481
+
482
+ export declare class MalformedCertificateException extends __BaseException {
483
+ readonly name: "MalformedCertificateException";
484
+ readonly $fault: "client";
485
+
486
+ constructor(
487
+ opts: __ExceptionOptionType<MalformedCertificateException, __BaseException>
488
+ );
489
+ }
490
+ export declare enum PolicyQualifierId {
491
+ CPS = "CPS",
492
+ }
493
+
494
+ export interface Qualifier {
495
+ CpsUri: string | undefined;
496
+ }
497
+
498
+ export interface PolicyQualifierInfo {
499
+ PolicyQualifierId: PolicyQualifierId | string | undefined;
500
+
501
+ Qualifier: Qualifier | undefined;
502
+ }
503
+
504
+ export interface PolicyInformation {
505
+ CertPolicyId: string | undefined;
506
+
507
+ PolicyQualifiers?: PolicyQualifierInfo[];
508
+ }
509
+
510
+ export interface CustomExtension {
511
+ ObjectIdentifier: string | undefined;
512
+
513
+ Value: string | undefined;
514
+
515
+ Critical?: boolean;
516
+ }
517
+ export declare enum ExtendedKeyUsageType {
518
+ CERTIFICATE_TRANSPARENCY = "CERTIFICATE_TRANSPARENCY",
519
+ CLIENT_AUTH = "CLIENT_AUTH",
520
+ CODE_SIGNING = "CODE_SIGNING",
521
+ DOCUMENT_SIGNING = "DOCUMENT_SIGNING",
522
+ EMAIL_PROTECTION = "EMAIL_PROTECTION",
523
+ OCSP_SIGNING = "OCSP_SIGNING",
524
+ SERVER_AUTH = "SERVER_AUTH",
525
+ SMART_CARD_LOGIN = "SMART_CARD_LOGIN",
526
+ TIME_STAMPING = "TIME_STAMPING",
527
+ }
528
+
529
+ export interface ExtendedKeyUsage {
530
+ ExtendedKeyUsageType?: ExtendedKeyUsageType | string;
531
+
532
+ ExtendedKeyUsageObjectIdentifier?: string;
533
+ }
534
+
535
+ export interface Extensions {
536
+ CertificatePolicies?: PolicyInformation[];
537
+
538
+ ExtendedKeyUsage?: ExtendedKeyUsage[];
539
+
540
+ KeyUsage?: KeyUsage;
541
+
542
+ SubjectAlternativeNames?: GeneralName[];
543
+
544
+ CustomExtensions?: CustomExtension[];
545
+ }
546
+
547
+ export interface ApiPassthrough {
548
+ Extensions?: Extensions;
549
+
550
+ Subject?: ASN1Subject;
551
+ }
552
+ export declare enum ValidityPeriodType {
553
+ ABSOLUTE = "ABSOLUTE",
554
+ DAYS = "DAYS",
555
+ END_DATE = "END_DATE",
556
+ MONTHS = "MONTHS",
557
+ YEARS = "YEARS",
558
+ }
559
+
560
+ export interface Validity {
561
+ Value: number | undefined;
562
+
563
+ Type: ValidityPeriodType | string | undefined;
564
+ }
565
+ export interface IssueCertificateRequest {
566
+ ApiPassthrough?: ApiPassthrough;
567
+
568
+ CertificateAuthorityArn: string | undefined;
569
+
570
+ Csr: Uint8Array | undefined;
571
+
572
+ SigningAlgorithm: SigningAlgorithm | string | undefined;
573
+
574
+ TemplateArn?: string;
575
+
576
+ Validity: Validity | undefined;
577
+
578
+ ValidityNotBefore?: Validity;
579
+
580
+ IdempotencyToken?: string;
581
+ }
582
+ export interface IssueCertificateResponse {
583
+ CertificateArn?: string;
584
+ }
585
+
586
+ export declare class MalformedCSRException extends __BaseException {
587
+ readonly name: "MalformedCSRException";
588
+ readonly $fault: "client";
589
+
590
+ constructor(
591
+ opts: __ExceptionOptionType<MalformedCSRException, __BaseException>
592
+ );
593
+ }
594
+
595
+ export declare class InvalidNextTokenException extends __BaseException {
596
+ readonly name: "InvalidNextTokenException";
597
+ readonly $fault: "client";
598
+
599
+ constructor(
600
+ opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
601
+ );
602
+ }
603
+ export declare enum ResourceOwner {
604
+ OTHER_ACCOUNTS = "OTHER_ACCOUNTS",
605
+ SELF = "SELF",
606
+ }
607
+ export interface ListCertificateAuthoritiesRequest {
608
+ NextToken?: string;
609
+
610
+ MaxResults?: number;
611
+
612
+ ResourceOwner?: ResourceOwner | string;
613
+ }
614
+ export interface ListCertificateAuthoritiesResponse {
615
+ CertificateAuthorities?: CertificateAuthority[];
616
+
617
+ NextToken?: string;
618
+ }
619
+ export interface ListPermissionsRequest {
620
+ CertificateAuthorityArn: string | undefined;
621
+
622
+ NextToken?: string;
623
+
624
+ MaxResults?: number;
625
+ }
626
+
627
+ export interface Permission {
628
+ CertificateAuthorityArn?: string;
629
+
630
+ CreatedAt?: Date;
631
+
632
+ Principal?: string;
633
+
634
+ SourceAccount?: string;
635
+
636
+ Actions?: (ActionType | string)[];
637
+
638
+ Policy?: string;
639
+ }
640
+ export interface ListPermissionsResponse {
641
+ Permissions?: Permission[];
642
+
643
+ NextToken?: string;
644
+ }
645
+ export interface ListTagsRequest {
646
+ CertificateAuthorityArn: string | undefined;
647
+
648
+ NextToken?: string;
649
+
650
+ MaxResults?: number;
651
+ }
652
+ export interface ListTagsResponse {
653
+ Tags?: Tag[];
654
+
655
+ NextToken?: string;
656
+ }
657
+ export interface PutPolicyRequest {
658
+ ResourceArn: string | undefined;
659
+
660
+ Policy: string | undefined;
661
+ }
662
+ export interface RestoreCertificateAuthorityRequest {
663
+ CertificateAuthorityArn: string | undefined;
664
+ }
665
+
666
+ export declare class RequestAlreadyProcessedException extends __BaseException {
667
+ readonly name: "RequestAlreadyProcessedException";
668
+ readonly $fault: "client";
669
+
670
+ constructor(
671
+ opts: __ExceptionOptionType<
672
+ RequestAlreadyProcessedException,
673
+ __BaseException
674
+ >
675
+ );
676
+ }
677
+ export declare enum RevocationReason {
678
+ AFFILIATION_CHANGED = "AFFILIATION_CHANGED",
679
+ A_A_COMPROMISE = "A_A_COMPROMISE",
680
+ CERTIFICATE_AUTHORITY_COMPROMISE = "CERTIFICATE_AUTHORITY_COMPROMISE",
681
+ CESSATION_OF_OPERATION = "CESSATION_OF_OPERATION",
682
+ KEY_COMPROMISE = "KEY_COMPROMISE",
683
+ PRIVILEGE_WITHDRAWN = "PRIVILEGE_WITHDRAWN",
684
+ SUPERSEDED = "SUPERSEDED",
685
+ UNSPECIFIED = "UNSPECIFIED",
686
+ }
687
+ export interface RevokeCertificateRequest {
688
+ CertificateAuthorityArn: string | undefined;
689
+
690
+ CertificateSerial: string | undefined;
691
+
692
+ RevocationReason: RevocationReason | string | undefined;
693
+ }
694
+ export interface TagCertificateAuthorityRequest {
695
+ CertificateAuthorityArn: string | undefined;
696
+
697
+ Tags: Tag[] | undefined;
698
+ }
699
+
700
+ export declare class TooManyTagsException extends __BaseException {
701
+ readonly name: "TooManyTagsException";
702
+ readonly $fault: "client";
703
+
704
+ constructor(
705
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
706
+ );
707
+ }
708
+ export interface UntagCertificateAuthorityRequest {
709
+ CertificateAuthorityArn: string | undefined;
710
+
711
+ Tags: Tag[] | undefined;
712
+ }
713
+ export interface UpdateCertificateAuthorityRequest {
714
+ CertificateAuthorityArn: string | undefined;
715
+
716
+ RevocationConfiguration?: RevocationConfiguration;
717
+
718
+ Status?: CertificateAuthorityStatus | string;
719
+ }
720
+
721
+ export declare const CustomAttributeFilterSensitiveLog: (
722
+ obj: CustomAttribute
723
+ ) => any;
724
+
725
+ export declare const ASN1SubjectFilterSensitiveLog: (obj: ASN1Subject) => any;
726
+
727
+ export declare const EdiPartyNameFilterSensitiveLog: (obj: EdiPartyName) => any;
728
+
729
+ export declare const OtherNameFilterSensitiveLog: (obj: OtherName) => any;
730
+
731
+ export declare const GeneralNameFilterSensitiveLog: (obj: GeneralName) => any;
732
+
733
+ export declare const AccessMethodFilterSensitiveLog: (obj: AccessMethod) => any;
734
+
735
+ export declare const AccessDescriptionFilterSensitiveLog: (
736
+ obj: AccessDescription
737
+ ) => any;
738
+
739
+ export declare const KeyUsageFilterSensitiveLog: (obj: KeyUsage) => any;
740
+
741
+ export declare const CsrExtensionsFilterSensitiveLog: (
742
+ obj: CsrExtensions
743
+ ) => any;
744
+
745
+ export declare const CertificateAuthorityConfigurationFilterSensitiveLog: (
746
+ obj: CertificateAuthorityConfiguration
747
+ ) => any;
748
+
749
+ export declare const CrlConfigurationFilterSensitiveLog: (
750
+ obj: CrlConfiguration
751
+ ) => any;
752
+
753
+ export declare const OcspConfigurationFilterSensitiveLog: (
754
+ obj: OcspConfiguration
755
+ ) => any;
756
+
757
+ export declare const RevocationConfigurationFilterSensitiveLog: (
758
+ obj: RevocationConfiguration
759
+ ) => any;
760
+
761
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
762
+
763
+ export declare const CreateCertificateAuthorityRequestFilterSensitiveLog: (
764
+ obj: CreateCertificateAuthorityRequest
765
+ ) => any;
766
+
767
+ export declare const CreateCertificateAuthorityResponseFilterSensitiveLog: (
768
+ obj: CreateCertificateAuthorityResponse
769
+ ) => any;
770
+
771
+ export declare const CreateCertificateAuthorityAuditReportRequestFilterSensitiveLog: (
772
+ obj: CreateCertificateAuthorityAuditReportRequest
773
+ ) => any;
774
+
775
+ export declare const CreateCertificateAuthorityAuditReportResponseFilterSensitiveLog: (
776
+ obj: CreateCertificateAuthorityAuditReportResponse
777
+ ) => any;
778
+
779
+ export declare const CreatePermissionRequestFilterSensitiveLog: (
780
+ obj: CreatePermissionRequest
781
+ ) => any;
782
+
783
+ export declare const DeleteCertificateAuthorityRequestFilterSensitiveLog: (
784
+ obj: DeleteCertificateAuthorityRequest
785
+ ) => any;
786
+
787
+ export declare const DeletePermissionRequestFilterSensitiveLog: (
788
+ obj: DeletePermissionRequest
789
+ ) => any;
790
+
791
+ export declare const DeletePolicyRequestFilterSensitiveLog: (
792
+ obj: DeletePolicyRequest
793
+ ) => any;
794
+
795
+ export declare const DescribeCertificateAuthorityRequestFilterSensitiveLog: (
796
+ obj: DescribeCertificateAuthorityRequest
797
+ ) => any;
798
+
799
+ export declare const CertificateAuthorityFilterSensitiveLog: (
800
+ obj: CertificateAuthority
801
+ ) => any;
802
+
803
+ export declare const DescribeCertificateAuthorityResponseFilterSensitiveLog: (
804
+ obj: DescribeCertificateAuthorityResponse
805
+ ) => any;
806
+
807
+ export declare const DescribeCertificateAuthorityAuditReportRequestFilterSensitiveLog: (
808
+ obj: DescribeCertificateAuthorityAuditReportRequest
809
+ ) => any;
810
+
811
+ export declare const DescribeCertificateAuthorityAuditReportResponseFilterSensitiveLog: (
812
+ obj: DescribeCertificateAuthorityAuditReportResponse
813
+ ) => any;
814
+
815
+ export declare const GetCertificateRequestFilterSensitiveLog: (
816
+ obj: GetCertificateRequest
817
+ ) => any;
818
+
819
+ export declare const GetCertificateResponseFilterSensitiveLog: (
820
+ obj: GetCertificateResponse
821
+ ) => any;
822
+
823
+ export declare const GetCertificateAuthorityCertificateRequestFilterSensitiveLog: (
824
+ obj: GetCertificateAuthorityCertificateRequest
825
+ ) => any;
826
+
827
+ export declare const GetCertificateAuthorityCertificateResponseFilterSensitiveLog: (
828
+ obj: GetCertificateAuthorityCertificateResponse
829
+ ) => any;
830
+
831
+ export declare const GetCertificateAuthorityCsrRequestFilterSensitiveLog: (
832
+ obj: GetCertificateAuthorityCsrRequest
833
+ ) => any;
834
+
835
+ export declare const GetCertificateAuthorityCsrResponseFilterSensitiveLog: (
836
+ obj: GetCertificateAuthorityCsrResponse
837
+ ) => any;
838
+
839
+ export declare const GetPolicyRequestFilterSensitiveLog: (
840
+ obj: GetPolicyRequest
841
+ ) => any;
842
+
843
+ export declare const GetPolicyResponseFilterSensitiveLog: (
844
+ obj: GetPolicyResponse
845
+ ) => any;
846
+
847
+ export declare const ImportCertificateAuthorityCertificateRequestFilterSensitiveLog: (
848
+ obj: ImportCertificateAuthorityCertificateRequest
849
+ ) => any;
850
+
851
+ export declare const QualifierFilterSensitiveLog: (obj: Qualifier) => any;
852
+
853
+ export declare const PolicyQualifierInfoFilterSensitiveLog: (
854
+ obj: PolicyQualifierInfo
855
+ ) => any;
856
+
857
+ export declare const PolicyInformationFilterSensitiveLog: (
858
+ obj: PolicyInformation
859
+ ) => any;
860
+
861
+ export declare const CustomExtensionFilterSensitiveLog: (
862
+ obj: CustomExtension
863
+ ) => any;
864
+
865
+ export declare const ExtendedKeyUsageFilterSensitiveLog: (
866
+ obj: ExtendedKeyUsage
867
+ ) => any;
868
+
869
+ export declare const ExtensionsFilterSensitiveLog: (obj: Extensions) => any;
870
+
871
+ export declare const ApiPassthroughFilterSensitiveLog: (
872
+ obj: ApiPassthrough
873
+ ) => any;
874
+
875
+ export declare const ValidityFilterSensitiveLog: (obj: Validity) => any;
876
+
877
+ export declare const IssueCertificateRequestFilterSensitiveLog: (
878
+ obj: IssueCertificateRequest
879
+ ) => any;
880
+
881
+ export declare const IssueCertificateResponseFilterSensitiveLog: (
882
+ obj: IssueCertificateResponse
883
+ ) => any;
884
+
885
+ export declare const ListCertificateAuthoritiesRequestFilterSensitiveLog: (
886
+ obj: ListCertificateAuthoritiesRequest
887
+ ) => any;
888
+
889
+ export declare const ListCertificateAuthoritiesResponseFilterSensitiveLog: (
890
+ obj: ListCertificateAuthoritiesResponse
891
+ ) => any;
892
+
893
+ export declare const ListPermissionsRequestFilterSensitiveLog: (
894
+ obj: ListPermissionsRequest
895
+ ) => any;
896
+
897
+ export declare const PermissionFilterSensitiveLog: (obj: Permission) => any;
898
+
899
+ export declare const ListPermissionsResponseFilterSensitiveLog: (
900
+ obj: ListPermissionsResponse
901
+ ) => any;
902
+
903
+ export declare const ListTagsRequestFilterSensitiveLog: (
904
+ obj: ListTagsRequest
905
+ ) => any;
906
+
907
+ export declare const ListTagsResponseFilterSensitiveLog: (
908
+ obj: ListTagsResponse
909
+ ) => any;
910
+
911
+ export declare const PutPolicyRequestFilterSensitiveLog: (
912
+ obj: PutPolicyRequest
913
+ ) => any;
914
+
915
+ export declare const RestoreCertificateAuthorityRequestFilterSensitiveLog: (
916
+ obj: RestoreCertificateAuthorityRequest
917
+ ) => any;
918
+
919
+ export declare const RevokeCertificateRequestFilterSensitiveLog: (
920
+ obj: RevokeCertificateRequest
921
+ ) => any;
922
+
923
+ export declare const TagCertificateAuthorityRequestFilterSensitiveLog: (
924
+ obj: TagCertificateAuthorityRequest
925
+ ) => any;
926
+
927
+ export declare const UntagCertificateAuthorityRequestFilterSensitiveLog: (
928
+ obj: UntagCertificateAuthorityRequest
929
+ ) => any;
930
+
931
+ export declare const UpdateCertificateAuthorityRequestFilterSensitiveLog: (
932
+ obj: UpdateCertificateAuthorityRequest
933
+ ) => any;