@aws-sdk/client-acm 3.1178.0 → 3.1180.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 (83) hide show
  1. package/README.md +105 -0
  2. package/dist-cjs/index.js +1323 -53
  3. package/dist-es/ACM.js +38 -0
  4. package/dist-es/commandBuilder.js +3 -0
  5. package/dist-es/commands/DeleteMemberCertificateAuthorityCommand.js +4 -0
  6. package/dist-es/commands/DeleteMemberCertificateCommand.js +4 -0
  7. package/dist-es/commands/GetInventoryConfigurationCommand.js +4 -0
  8. package/dist-es/commands/GetInventoryInsightsCommand.js +4 -0
  9. package/dist-es/commands/ListInventoryFindingsCommand.js +4 -0
  10. package/dist-es/commands/ListInventoryRelatedResourcesCommand.js +4 -0
  11. package/dist-es/commands/ListInventoryUsagesCommand.js +4 -0
  12. package/dist-es/commands/PutInventoryConfigurationCommand.js +4 -0
  13. package/dist-es/commands/RenewMemberCertificateCommand.js +4 -0
  14. package/dist-es/commands/RestoreMemberCertificateAuthorityCommand.js +4 -0
  15. package/dist-es/commands/RevokeMemberCertificateCommand.js +4 -0
  16. package/dist-es/commands/RevokeMemberIssuedCertificateCommand.js +4 -0
  17. package/dist-es/commands/SearchInventoryCommand.js +4 -0
  18. package/dist-es/commands/UpdateMemberCertificateAuthorityCommand.js +4 -0
  19. package/dist-es/commands/UpdateMemberCertificateOptionsCommand.js +4 -0
  20. package/dist-es/commands/index.js +15 -0
  21. package/dist-es/endpoint/bdd.js +27 -22
  22. package/dist-es/models/enums.js +322 -0
  23. package/dist-es/pagination/ListInventoryFindingsPaginator.js +4 -0
  24. package/dist-es/pagination/ListInventoryRelatedResourcesPaginator.js +4 -0
  25. package/dist-es/pagination/ListInventoryUsagesPaginator.js +4 -0
  26. package/dist-es/pagination/SearchInventoryPaginator.js +4 -0
  27. package/dist-es/pagination/index.js +4 -0
  28. package/dist-es/schemas/schemas_0.js +732 -30
  29. package/dist-types/ACM.d.ts +135 -0
  30. package/dist-types/ACMClient.d.ts +17 -2
  31. package/dist-types/commandBuilder.d.ts +4 -0
  32. package/dist-types/commands/DeleteMemberCertificateAuthorityCommand.d.ts +122 -0
  33. package/dist-types/commands/DeleteMemberCertificateCommand.d.ts +119 -0
  34. package/dist-types/commands/GetInventoryConfigurationCommand.d.ts +277 -0
  35. package/dist-types/commands/GetInventoryInsightsCommand.d.ts +485 -0
  36. package/dist-types/commands/ListInventoryFindingsCommand.d.ts +243 -0
  37. package/dist-types/commands/ListInventoryRelatedResourcesCommand.d.ts +219 -0
  38. package/dist-types/commands/ListInventoryUsagesCommand.d.ts +176 -0
  39. package/dist-types/commands/PutInventoryConfigurationCommand.d.ts +542 -0
  40. package/dist-types/commands/RenewMemberCertificateCommand.d.ts +148 -0
  41. package/dist-types/commands/RestoreMemberCertificateAuthorityCommand.d.ts +120 -0
  42. package/dist-types/commands/RevokeMemberCertificateCommand.d.ts +126 -0
  43. package/dist-types/commands/RevokeMemberIssuedCertificateCommand.d.ts +125 -0
  44. package/dist-types/commands/SearchInventoryCommand.d.ts +318 -0
  45. package/dist-types/commands/UpdateMemberCertificateAuthorityCommand.d.ts +179 -0
  46. package/dist-types/commands/UpdateMemberCertificateOptionsCommand.d.ts +133 -0
  47. package/dist-types/commands/index.d.ts +15 -0
  48. package/dist-types/models/enums.d.ts +1148 -34
  49. package/dist-types/models/models_0.d.ts +3112 -503
  50. package/dist-types/pagination/ListInventoryFindingsPaginator.d.ts +7 -0
  51. package/dist-types/pagination/ListInventoryRelatedResourcesPaginator.d.ts +7 -0
  52. package/dist-types/pagination/ListInventoryUsagesPaginator.d.ts +7 -0
  53. package/dist-types/pagination/SearchInventoryPaginator.d.ts +7 -0
  54. package/dist-types/pagination/index.d.ts +4 -0
  55. package/dist-types/schemas/schemas_0.d.ts +97 -0
  56. package/dist-types/ts3.4/ACM.d.ts +285 -0
  57. package/dist-types/ts3.4/ACMClient.d.ts +92 -2
  58. package/dist-types/ts3.4/commandBuilder.d.ts +1 -0
  59. package/dist-types/ts3.4/commands/DeleteMemberCertificateAuthorityCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/DeleteMemberCertificateCommand.d.ts +39 -0
  61. package/dist-types/ts3.4/commands/GetInventoryConfigurationCommand.d.ts +42 -0
  62. package/dist-types/ts3.4/commands/GetInventoryInsightsCommand.d.ts +39 -0
  63. package/dist-types/ts3.4/commands/ListInventoryFindingsCommand.d.ts +39 -0
  64. package/dist-types/ts3.4/commands/ListInventoryRelatedResourcesCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/ListInventoryUsagesCommand.d.ts +39 -0
  66. package/dist-types/ts3.4/commands/PutInventoryConfigurationCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/RenewMemberCertificateCommand.d.ts +39 -0
  68. package/dist-types/ts3.4/commands/RestoreMemberCertificateAuthorityCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/RevokeMemberCertificateCommand.d.ts +39 -0
  70. package/dist-types/ts3.4/commands/RevokeMemberIssuedCertificateCommand.d.ts +42 -0
  71. package/dist-types/ts3.4/commands/SearchInventoryCommand.d.ts +38 -0
  72. package/dist-types/ts3.4/commands/UpdateMemberCertificateAuthorityCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/UpdateMemberCertificateOptionsCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  75. package/dist-types/ts3.4/models/enums.d.ts +403 -0
  76. package/dist-types/ts3.4/models/models_0.d.ts +1050 -0
  77. package/dist-types/ts3.4/pagination/ListInventoryFindingsPaginator.d.ts +11 -0
  78. package/dist-types/ts3.4/pagination/ListInventoryRelatedResourcesPaginator.d.ts +11 -0
  79. package/dist-types/ts3.4/pagination/ListInventoryUsagesPaginator.d.ts +11 -0
  80. package/dist-types/ts3.4/pagination/SearchInventoryPaginator.d.ts +11 -0
  81. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  82. package/dist-types/ts3.4/schemas/schemas_0.d.ts +97 -0
  83. package/package.json +1 -1
@@ -1,4 +1,49 @@
1
- import type { AcmeAccountStatus, AcmeAuthorizationBehavior, AcmeContact, AcmeDomainValidationFailureReason, AcmeDomainValidationStatus, AcmeEndpointStatus, CertificateExport, CertificateKeyPairOrigin, CertificateManagedBy, CertificateStatus, CertificateTransparencyLoggingPreference, CertificateType, CertificateUsage, ComparisonOperator, DomainScopeOption, DomainStatus, ExtendedKeyUsageName, FailureReason, KeyAlgorithm, KeyUsageName, PrevalidationType, PublicKeyAlgorithm, RecordType, RenewalEligibility, RenewalStatus, RevocationReason, RootHierarchyType, SearchCertificatesSortBy, SearchCertificatesSortOrder, SortBy, SortOrder, TimeType, UpdateStatus, UpdateType, ValidationMethod } from "./enums";
1
+ import type { AccountScopeMode, AcmCertificateArnMatch, AcmCertificateExport, AcmCertificateKeyPairOrigin, AcmCertificateManagedBy, AcmCertificateStatus, AcmCertificateType, AcmeAccountStatus, AcmeAuthorizationBehavior, AcmeContact, AcmeDomainValidationFailureReason, AcmeDomainValidationStatus, AcmeEndpointStatus, AcmFailureReason, AcmMetadataCertificateExport, AcmMetadataRevocationReason, AcmMetadataValidationMethod, AcmRenewalEligibility, AcmRenewalStatus, AcmRevocationReason, AcmUpdateStatus, AcmUpdateType, AcmValidationMethod, CertificateExport, CertificateHealthSeverity, CertificateKeyPairOrigin, CertificateManagedBy, CertificateStatus, CertificateTransparencyLoggingPreference, CertificateType, CertificateUsage, ComparisonOperator, DomainMatch, DomainScopeOption, DomainStatus, ExtendedKeyUsageName, FailureReason, FindingReason, FindingRuleId, FindingSeverity, InventoryAggregate, InventoryAggregateStatus, InventoryAssociationStatus, InventoryCertificateType, InventoryHighestFindingSeverityGroupBy, InventoryKeyAlgorithm, InventoryNotificationChannel, InventoryNotificationDeliveryStatusCode, InventoryNotificationFrequency, InventorySortOrder, InventoryStatus, InventoryTier, InventoryTierStatus, InventoryUsageStatus, IssuanceType, KeyAlgorithm, KeyUsageName, LifecycleManagementStatus, MaterialType, PrevalidationType, PrivateCaCertificateAuthorityRelationship, PrivateCaCertificateAuthorityStatus, PrivateCaCertificateAuthorityType, PrivateCaCertificateAuthorityUsageMode, PrivateCaCrlType, PrivateCaKeyStorageSecurityStandard, PrivateCaMetadataCertificateAuthorityStatus, PrivateCaRevocationReason, PrivateCaS3ObjectAcl, ProvisioningStatus, ProvisioningStatusReasonCode, PublicKeyAlgorithm, RecordType, RegionalScopeMode, RelatedResourceType, RenewalEligibility, RenewalStatus, RevocationReason, RootHierarchyType, SearchCertificatesSortBy, SearchCertificatesSortOrder, SortBy, SortField, SortOrder, TimeType, TotalCountRelation, UpdateStatus, UpdateType, UsageTargetResourceType, ValidationMethod } from "./enums";
2
+ /**
3
+ * The accounts to collect from, selected by account ID, by organizational unit, or both. When Mode is INCLUDE or
4
+ * EXCLUDE, AccountIds or OrganizationalUnitIds must list at least one ID. An empty list counts as absent.
5
+ * @public
6
+ */
7
+ export interface AccountScope {
8
+ /**
9
+ * How AccountIds and OrganizationalUnitIds are applied.
10
+ * @public
11
+ */
12
+ Mode: AccountScopeMode | undefined;
13
+ /**
14
+ * The organizational units to include or exclude.
15
+ * @public
16
+ */
17
+ OrganizationalUnitIds?: string[] | undefined;
18
+ /**
19
+ * The accounts to include or exclude.
20
+ * @public
21
+ */
22
+ AccountIds?: string[] | undefined;
23
+ }
24
+ /**
25
+ * An ACM certificate ARN, and which of its certificates to match. An ACM certificate holds one certificate at a time,
26
+ * and a renewal or reimport replaces it.
27
+ * - CURRENT matches the certificate it holds now. This is the one ListInventoryRelatedResources reports with
28
+ * AssociationStatus CURRENT.
29
+ * - ANY matches every certificate it has held, including the current one.
30
+ *
31
+ * Both reflect the inventory as of its last update of each certificate. An ARN the inventory has not collected matches
32
+ * nothing.
33
+ * @public
34
+ */
35
+ export interface AcmCertificateArnPredicate {
36
+ /**
37
+ * The ARN of the ACM certificate.
38
+ * @public
39
+ */
40
+ Value: string | undefined;
41
+ /**
42
+ * Which of the ACM certificate's certificates to match.
43
+ * @public
44
+ */
45
+ Match: AcmCertificateArnMatch | undefined;
46
+ }
2
47
  /**
3
48
  * <p>Contains ACM-specific metadata about a certificate.</p>
4
49
  * @public
@@ -370,6 +415,25 @@ export declare namespace AcmCertificateMetadataFilter {
370
415
  _: (name: string, value: any) => T;
371
416
  }
372
417
  }
418
+ /**
419
+ * The certificate options a member operation can set: the Export and ValidationMethod options of the ACM
420
+ * CertificateOptions type. The ACM certificate transparency logging preference is not included. For details, see
421
+ * CertificateOptions in the AWS Certificate Manager API Reference.
422
+ * @public
423
+ */
424
+ export interface AcmCertificateOptions {
425
+ /**
426
+ * Whether the certificate can be exported. ACM decides whether this value can change. For details, see
427
+ * CertificateOptions in the AWS Certificate Manager API Reference.
428
+ * @public
429
+ */
430
+ Export?: AcmCertificateExport | undefined;
431
+ /**
432
+ * How ACM validates that the certificate's owner controls its domains.
433
+ * @public
434
+ */
435
+ ValidationMethod?: AcmValidationMethod | undefined;
436
+ }
373
437
  /**
374
438
  * <p>Contains detailed information about an ACME account.</p>
375
439
  * @public
@@ -920,6 +984,192 @@ export interface AcmeExternalAccountBindingSummary {
920
984
  */
921
985
  UpdatedAt?: Date | undefined;
922
986
  }
987
+ /**
988
+ * ACM Options: the certificate's export and validation options.
989
+ * @public
990
+ */
991
+ export interface AcmMetadataCertificateOptions {
992
+ /**
993
+ * ACM Export: whether the certificate can be exported.
994
+ * @public
995
+ */
996
+ Export?: AcmMetadataCertificateExport | undefined;
997
+ /**
998
+ * ACM ValidationMethod: how domain ownership is validated.
999
+ * @public
1000
+ */
1001
+ ValidationMethod?: AcmMetadataValidationMethod | undefined;
1002
+ }
1003
+ /**
1004
+ * ACM RenewalSummary, without its domain validation details.
1005
+ * @public
1006
+ */
1007
+ export interface AcmRenewalSummary {
1008
+ /**
1009
+ * ACM RenewalStatus: where the renewal is.
1010
+ * @public
1011
+ */
1012
+ RenewalStatus: AcmRenewalStatus | undefined;
1013
+ /**
1014
+ * ACM RenewalStatusReason: why the renewal failed. Present only when ACM reports one.
1015
+ * @public
1016
+ */
1017
+ RenewalStatusReason?: AcmFailureReason | undefined;
1018
+ /**
1019
+ * ACM UpdatedAt: when the renewal status last changed, as ACM reports it. This is the time ACM reports, not when
1020
+ * the inventory read it.
1021
+ * @public
1022
+ */
1023
+ UpdatedAt: Date | undefined;
1024
+ }
1025
+ /**
1026
+ * ACM UpdateSummary, without its domain validation details.
1027
+ * @public
1028
+ */
1029
+ export interface AcmUpdateSummary {
1030
+ /**
1031
+ * ACM Status: where the update is.
1032
+ * @public
1033
+ */
1034
+ Status?: AcmUpdateStatus | undefined;
1035
+ /**
1036
+ * ACM Type: what the update changes.
1037
+ * @public
1038
+ */
1039
+ Type?: AcmUpdateType | undefined;
1040
+ /**
1041
+ * ACM RequestedAt: when the update was requested.
1042
+ * @public
1043
+ */
1044
+ RequestedAt?: Date | undefined;
1045
+ /**
1046
+ * ACM UpdatedAt: when the update's status last changed, as ACM reports it. This is the time ACM reports, not when
1047
+ * the inventory read it.
1048
+ * @public
1049
+ */
1050
+ UpdatedAt?: Date | undefined;
1051
+ }
1052
+ /**
1053
+ * What DescribeCertificate in AWS Certificate Manager (ACM) reported for an ACM certificate when the inventory read
1054
+ * it. Members keep the names ACM uses in CertificateDetail. A member is absent when ACM did not report it in that
1055
+ * read.
1056
+ *
1057
+ * Three members are named UpdatedAt. This structure's UpdatedAt is when the inventory read it.
1058
+ * RenewalSummary.UpdatedAt and UpdateSummary.UpdatedAt are the times ACM reports for the renewal and the update.
1059
+ * @public
1060
+ */
1061
+ export interface AcmMetadataCertificate {
1062
+ /**
1063
+ * When the inventory last read this from ACM, in UTC. This is the inventory's time, not a time ACM reports. The
1064
+ * UpdatedAt members of RenewalSummary and UpdateSummary are times ACM reports.
1065
+ * @public
1066
+ */
1067
+ UpdatedAt: Date | undefined;
1068
+ /**
1069
+ * ACM DomainName: the certificate's primary domain name.
1070
+ * @public
1071
+ */
1072
+ DomainName?: string | undefined;
1073
+ /**
1074
+ * ACM Serial: the serial number of the certificate the ACM certificate holds.
1075
+ * @public
1076
+ */
1077
+ Serial?: string | undefined;
1078
+ /**
1079
+ * ACM NotAfter: the end of the validity period of the certificate the ACM certificate holds.
1080
+ * @public
1081
+ */
1082
+ NotAfter?: Date | undefined;
1083
+ /**
1084
+ * ACM Status: where the certificate is in its lifecycle. Some values might never appear here, because the
1085
+ * inventory records only the certificates it tracks.
1086
+ * @public
1087
+ */
1088
+ Status?: AcmCertificateStatus | undefined;
1089
+ /**
1090
+ * ACM Type: how ACM holds the certificate.
1091
+ * @public
1092
+ */
1093
+ Type?: AcmCertificateType | undefined;
1094
+ /**
1095
+ * The number of AWS resources in the InUseBy list in ACM for this certificate, when the inventory last read it
1096
+ * (see UpdatedAt). For the resources the inventory observed, use ListInventoryUsages. The two can differ.
1097
+ * @public
1098
+ */
1099
+ InUseByCount?: number | undefined;
1100
+ /**
1101
+ * ACM RenewalEligibility: whether ACM can renew the certificate.
1102
+ * @public
1103
+ */
1104
+ RenewalEligibility?: AcmRenewalEligibility | undefined;
1105
+ /**
1106
+ * ACM RenewalSummary, without its domain validation details. Present only when ACM reports a renewal.
1107
+ * @public
1108
+ */
1109
+ RenewalSummary?: AcmRenewalSummary | undefined;
1110
+ /**
1111
+ * ACM Options: the export and validation options.
1112
+ * @public
1113
+ */
1114
+ Options?: AcmMetadataCertificateOptions | undefined;
1115
+ /**
1116
+ * ACM UpdateSummary, without its domain validation details. It is the last requested change to the certificate,
1117
+ * such as a new validation method. Present only when ACM reports one.
1118
+ * @public
1119
+ */
1120
+ UpdateSummary?: AcmUpdateSummary | undefined;
1121
+ /**
1122
+ * ACM CertificateKeyPairOrigin: where the certificate's key pair came from.
1123
+ * @public
1124
+ */
1125
+ CertificateKeyPairOrigin?: AcmCertificateKeyPairOrigin | undefined;
1126
+ /**
1127
+ * ACM ManagedBy: the service that manages the certificate. Absent when no service manages it.
1128
+ * @public
1129
+ */
1130
+ ManagedBy?: AcmCertificateManagedBy | undefined;
1131
+ /**
1132
+ * ACM CreatedAt: when the certificate was requested from ACM. Absent when ACM did not return it.
1133
+ * @public
1134
+ */
1135
+ CreatedAt?: Date | undefined;
1136
+ /**
1137
+ * ACM IssuedAt: when ACM issued the certificate. Present only when Type is AMAZON_ISSUED.
1138
+ * @public
1139
+ */
1140
+ IssuedAt?: Date | undefined;
1141
+ /**
1142
+ * ACM ImportedAt: when the certificate was imported. Present only when Type is IMPORTED.
1143
+ * @public
1144
+ */
1145
+ ImportedAt?: Date | undefined;
1146
+ /**
1147
+ * ACM RevokedAt: when the certificate was revoked. Present only when Status is REVOKED.
1148
+ * @public
1149
+ */
1150
+ RevokedAt?: Date | undefined;
1151
+ /**
1152
+ * ACM RevocationReason. Present only when Status is REVOKED.
1153
+ * @public
1154
+ */
1155
+ RevocationReason?: AcmMetadataRevocationReason | undefined;
1156
+ /**
1157
+ * ACM CertificateAuthorityArn: the AWS Private Certificate Authority (AWS Private CA) certificate authority that
1158
+ * issued the certificate. Present only when Type is PRIVATE.
1159
+ * @public
1160
+ */
1161
+ CertificateAuthorityArn?: string | undefined;
1162
+ /**
1163
+ * The ACME endpoint ARN the certificate was issued through, when ACM issued it through ACME. Absent otherwise.
1164
+ * @public
1165
+ */
1166
+ AcmeEndpointArn?: string | undefined;
1167
+ /**
1168
+ * The ACME account that requested the certificate, when ACM issued it through ACME. Absent otherwise.
1169
+ * @public
1170
+ */
1171
+ AcmeAccountId?: string | undefined;
1172
+ }
923
1173
  /**
924
1174
  * @public
925
1175
  */
@@ -951,6 +1201,78 @@ export interface ThrottlingReason {
951
1201
  */
952
1202
  resource?: string | undefined;
953
1203
  }
1204
+ /**
1205
+ * What a provider reported about a certificate it keeps renewed.
1206
+ * @public
1207
+ */
1208
+ export interface AgentAutomationDetail {
1209
+ /**
1210
+ * The ACM certificate ARN the provider keeps renewed.
1211
+ * @public
1212
+ */
1213
+ CertificateArn: string | undefined;
1214
+ }
1215
+ /**
1216
+ * What a provider's discovery scan observed about a served certificate.
1217
+ * @public
1218
+ */
1219
+ export interface AgentDiscoveryDetail {
1220
+ /**
1221
+ * The TCP or UDP port the certificate was observed on.
1222
+ * @public
1223
+ */
1224
+ Port: number | undefined;
1225
+ /**
1226
+ * The Server Name Indication (SNI) server name the certificate was served for, when the provider reported one.
1227
+ * @public
1228
+ */
1229
+ ServerName?: string | undefined;
1230
+ }
1231
+ /**
1232
+ * Detail about a usage that a provider reported. Exactly one member is set.
1233
+ * @public
1234
+ */
1235
+ export type AgentUsageDetail = AgentUsageDetail.AutomationMember | AgentUsageDetail.DiscoveryMember | AgentUsageDetail.$UnknownMember;
1236
+ /**
1237
+ * @public
1238
+ */
1239
+ export declare namespace AgentUsageDetail {
1240
+ /**
1241
+ * A usage the provider observed while it scanned a host for served certificates.
1242
+ * @public
1243
+ */
1244
+ interface DiscoveryMember {
1245
+ Discovery: AgentDiscoveryDetail;
1246
+ Automation?: never;
1247
+ $unknown?: never;
1248
+ }
1249
+ /**
1250
+ * A usage the provider reported while it renewed one configured certificate.
1251
+ * @public
1252
+ */
1253
+ interface AutomationMember {
1254
+ Discovery?: never;
1255
+ Automation: AgentAutomationDetail;
1256
+ $unknown?: never;
1257
+ }
1258
+ /**
1259
+ * @public
1260
+ */
1261
+ interface $UnknownMember {
1262
+ Discovery?: never;
1263
+ Automation?: never;
1264
+ $unknown: [string, any];
1265
+ }
1266
+ /**
1267
+ * @deprecated unused in schema-serde mode.
1268
+ *
1269
+ */
1270
+ interface Visitor<T> {
1271
+ Discovery: (value: AgentDiscoveryDetail) => T;
1272
+ Automation: (value: AgentAutomationDetail) => T;
1273
+ _: (name: string, value: any) => T;
1274
+ }
1275
+ }
954
1276
  /**
955
1277
  * <p>Contains information for HTTP-based domain validation of certificates requested through Amazon CloudFront and issued by ACM. This field exists only when the certificate type is <code>AMAZON_ISSUED</code> and the validation method is <code>HTTP</code>.</p>
956
1278
  * @public
@@ -1864,6 +2186,43 @@ export interface DeleteCertificateRequest {
1864
2186
  */
1865
2187
  CertificateArn: string | undefined;
1866
2188
  }
2189
+ /**
2190
+ * @public
2191
+ */
2192
+ export interface DeleteMemberCertificateInput {
2193
+ /**
2194
+ * The ARN of the certificate to delete.
2195
+ * @public
2196
+ */
2197
+ CertificateArn: string | undefined;
2198
+ }
2199
+ /**
2200
+ * @public
2201
+ */
2202
+ export interface DeleteMemberCertificateOutput {
2203
+ }
2204
+ /**
2205
+ * @public
2206
+ */
2207
+ export interface DeleteMemberCertificateAuthorityInput {
2208
+ /**
2209
+ * The ARN of the certificate authority to delete.
2210
+ * @public
2211
+ */
2212
+ CertificateAuthorityArn: string | undefined;
2213
+ /**
2214
+ * How many days the deleted certificate authority can be restored, 7 to 30. If you omit it, AWS Private
2215
+ * Certificate Authority (AWS Private CA) applies its default; see DeleteCertificateAuthority in the AWS Private CA
2216
+ * API Reference.
2217
+ * @public
2218
+ */
2219
+ PermanentDeletionTimeInDays?: number | undefined;
2220
+ }
2221
+ /**
2222
+ * @public
2223
+ */
2224
+ export interface DeleteMemberCertificateAuthorityOutput {
2225
+ }
1867
2226
  /**
1868
2227
  * @public
1869
2228
  */
@@ -2078,258 +2437,395 @@ export interface GetCertificateResponse {
2078
2437
  /**
2079
2438
  * @public
2080
2439
  */
2081
- export interface ImportCertificateRequest {
2440
+ export interface GetInventoryConfigurationInput {
2441
+ }
2442
+ /**
2443
+ * Certificate expiry notifications for the organization. A notification is sent at the chosen Frequency for each
2444
+ * certificate that is not expired or revoked and whose NotAfter is within LeadTimeDays.
2445
+ *
2446
+ * With Enabled true, the topic must be a standard (non-FIFO) Amazon SNS topic in the management account and the home
2447
+ * Region. It must also be in the partition of the endpoint you call. PutInventoryConfiguration checks only the ARN.
2448
+ * Each save with Enabled true verifies the topic again after the call returns. Nothing is delivered until
2449
+ * LastDeliveryStatus is VERIFIED.
2450
+ *
2451
+ * Notifications are sent only while inventory Status is ENABLED. The setting is returned as saved.
2452
+ * @public
2453
+ */
2454
+ export interface InventoryExpiryNotification {
2082
2455
  /**
2083
- * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of an imported certificate to replace. To import a new certificate, omit this field. </p>
2456
+ * Whether notifications are sent. Defaults to false. When true, Channel and TopicArn are required.
2084
2457
  * @public
2085
2458
  */
2086
- CertificateArn?: string | undefined;
2459
+ Enabled?: boolean | undefined;
2087
2460
  /**
2088
- * <p>The certificate to import.</p>
2461
+ * Where notifications are delivered. Set together with TopicArn.
2089
2462
  * @public
2090
2463
  */
2091
- Certificate: Uint8Array | undefined;
2464
+ Channel?: InventoryNotificationChannel | undefined;
2092
2465
  /**
2093
- * <p>The private key that matches the public key in the certificate.</p>
2466
+ * The Amazon SNS topic to publish to. Set together with Channel.
2094
2467
  * @public
2095
2468
  */
2096
- PrivateKey: Uint8Array | undefined;
2469
+ TopicArn?: string | undefined;
2097
2470
  /**
2098
- * <p>The PEM encoded certificate chain.</p>
2471
+ * Days before NotAfter that notifications start: 7, 30, 60, or 90. Defaults to 7.
2099
2472
  * @public
2100
2473
  */
2101
- CertificateChain?: Uint8Array | undefined;
2474
+ LeadTimeDays?: number | undefined;
2102
2475
  /**
2103
- * <p>One or more resource tags to associate with the imported certificate. </p> <p>Note: You cannot apply tags when reimporting a certificate.</p>
2476
+ * How often a notification is sent for a certificate within LeadTimeDays. Defaults to ONCE.
2104
2477
  * @public
2105
2478
  */
2106
- Tags?: Tag[] | undefined;
2479
+ Frequency?: InventoryNotificationFrequency | undefined;
2107
2480
  }
2108
2481
  /**
2482
+ * A scheduled change to the ACM plan: a move to a lower plan, or the end of the plan. A move to a higher plan takes
2483
+ * effect immediately, so it is never scheduled.
2109
2484
  * @public
2110
2485
  */
2111
- export interface ImportCertificateResponse {
2486
+ export interface InventoryTierScheduledChange {
2112
2487
  /**
2113
- * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the imported certificate.</p>
2488
+ * The lower plan that takes effect. Absent when the plan ends with no plan to follow.
2114
2489
  * @public
2115
2490
  */
2116
- CertificateArn?: string | undefined;
2491
+ Tier?: InventoryTier | undefined;
2492
+ /**
2493
+ * When the change takes effect.
2494
+ * @public
2495
+ */
2496
+ EffectiveAt: Date | undefined;
2117
2497
  }
2118
2498
  /**
2499
+ * The organization's ACM plan, whether it is in effect yet, and any scheduled change to it.
2119
2500
  * @public
2120
2501
  */
2121
- export interface ListAcmeAccountsRequest {
2502
+ export interface InventoryTierConfiguration {
2122
2503
  /**
2123
- * <p>A token for pagination.</p>
2504
+ * The plan in effect, or, while Status is PENDING, the plan being applied.
2124
2505
  * @public
2125
2506
  */
2126
- NextToken?: string | undefined;
2507
+ Tier: InventoryTier | undefined;
2127
2508
  /**
2128
- * <p>The maximum number of results to return.</p>
2509
+ * PENDING while a requested plan is not yet in effect, usually for a few seconds after PutInventoryConfiguration.
2510
+ * ACTIVE after the plan takes effect. A scheduled downgrade or end of the plan shows as ACTIVE with a
2511
+ * ScheduledChange.
2129
2512
  * @public
2130
2513
  */
2131
- MaxResults?: number | undefined;
2514
+ Status: InventoryTierStatus | undefined;
2132
2515
  /**
2133
- * <p>The Amazon Resource Name (ARN) of the ACME endpoint.</p>
2516
+ * A change that is scheduled but not yet in effect: a move to a lower plan, or the end of the plan. Absent when
2517
+ * no change is scheduled.
2134
2518
  * @public
2135
2519
  */
2136
- AcmeEndpointArn: string | undefined;
2520
+ ScheduledChange?: InventoryTierScheduledChange | undefined;
2137
2521
  }
2138
2522
  /**
2523
+ * The latest verification or delivery outcome for the configured topic.
2139
2524
  * @public
2140
2525
  */
2141
- export interface ListAcmeAccountsResponse {
2526
+ export interface InventoryNotificationDeliveryStatus {
2142
2527
  /**
2143
- * <p>The list of ACME accounts.</p>
2528
+ * The latest outcome.
2144
2529
  * @public
2145
2530
  */
2146
- AcmeAccounts?: AcmeAccountSummary[] | undefined;
2531
+ Status: InventoryNotificationDeliveryStatusCode | undefined;
2147
2532
  /**
2148
- * <p>A token for pagination.</p>
2533
+ * When Status last changed. Can be absent while PENDING_VERIFICATION.
2149
2534
  * @public
2150
2535
  */
2151
- NextToken?: string | undefined;
2536
+ UpdatedAt?: Date | undefined;
2537
+ /**
2538
+ * Why verification or delivery failed. Present only for VERIFICATION_FAILED and DELIVERY_FAILED.
2539
+ * @public
2540
+ */
2541
+ Message?: string | undefined;
2152
2542
  }
2153
2543
  /**
2544
+ * Why provisioning failed.
2154
2545
  * @public
2155
2546
  */
2156
- export interface ListAcmeDomainValidationsRequest {
2157
- /**
2158
- * <p>A token for pagination.</p>
2159
- * @public
2160
- */
2161
- NextToken?: string | undefined;
2547
+ export interface ProvisioningStatusReason {
2162
2548
  /**
2163
- * <p>The maximum number of results to return.</p>
2549
+ * The cause, as a code.
2164
2550
  * @public
2165
2551
  */
2166
- MaxResults?: number | undefined;
2552
+ Code: ProvisioningStatusReasonCode | undefined;
2167
2553
  /**
2168
- * <p>The Amazon Resource Name (ARN) of the ACME endpoint.</p>
2554
+ * The cause and what to do about it, for a person to read.
2169
2555
  * @public
2170
2556
  */
2171
- AcmeEndpointArn: string | undefined;
2557
+ Message?: string | undefined;
2172
2558
  }
2173
2559
  /**
2560
+ * Whether Certificate actions for organizations are on, and how far their setup has progressed. Certificate actions
2561
+ * are the operations that act on certificates and certificate authorities in the organization's member accounts, such
2562
+ * as RenewMemberCertificate.
2174
2563
  * @public
2175
2564
  */
2176
- export interface ListAcmeDomainValidationsResponse {
2565
+ export interface LifecycleManagementConfiguration {
2177
2566
  /**
2178
- * <p>The list of domain validations.</p>
2567
+ * Whether Certificate actions for organizations are on. Certificate actions are the operations that act on
2568
+ * certificates and certificate authorities in the organization's member accounts, such as RenewMemberCertificate.
2569
+ * DISABLED until they are first turned on.
2179
2570
  * @public
2180
2571
  */
2181
- AcmeDomainValidations?: AcmeDomainValidationSummary[] | undefined;
2572
+ Status: LifecycleManagementStatus | undefined;
2182
2573
  /**
2183
- * <p>A token for pagination.</p>
2574
+ * How far setup of Certificate actions for organizations has progressed in the organization's member accounts.
2184
2575
  * @public
2185
2576
  */
2186
- NextToken?: string | undefined;
2577
+ ProvisioningStatus: ProvisioningStatus | undefined;
2578
+ /**
2579
+ * Why setup failed. Present only when ProvisioningStatus is FAILED.
2580
+ * @public
2581
+ */
2582
+ ProvisioningStatusReason?: ProvisioningStatusReason | undefined;
2187
2583
  }
2188
2584
  /**
2585
+ * The Regions to collect from.
2189
2586
  * @public
2190
2587
  */
2191
- export interface ListAcmeEndpointsRequest {
2588
+ export interface RegionalScope {
2192
2589
  /**
2193
- * <p>A token for pagination.</p>
2590
+ * How the Regions list is applied.
2194
2591
  * @public
2195
2592
  */
2196
- NextToken?: string | undefined;
2593
+ Mode: RegionalScopeMode | undefined;
2197
2594
  /**
2198
- * <p>The maximum number of results to return.</p>
2595
+ * The Regions to include or exclude. Required when Mode is INCLUDE or EXCLUDE, and not allowed
2596
+ * when Mode is ALL_REGIONS.
2199
2597
  * @public
2200
2598
  */
2201
- MaxResults?: number | undefined;
2599
+ Regions?: string[] | undefined;
2202
2600
  }
2203
2601
  /**
2602
+ * The organization's inventory configuration.
2204
2603
  * @public
2205
2604
  */
2206
- export interface ListAcmeEndpointsResponse {
2605
+ export interface InventoryConfiguration {
2207
2606
  /**
2208
- * <p>The list of ACME endpoints.</p>
2607
+ * The Regions collected from.
2209
2608
  * @public
2210
2609
  */
2211
- AcmeEndpoints?: AcmeEndpointSummary[] | undefined;
2610
+ RegionalScope: RegionalScope | undefined;
2212
2611
  /**
2213
- * <p>A token for pagination.</p>
2612
+ * The accounts collected from.
2214
2613
  * @public
2215
2614
  */
2216
- NextToken?: string | undefined;
2217
- }
2218
- /**
2219
- * @public
2220
- */
2221
- export interface ListAcmeExternalAccountBindingsRequest {
2615
+ AccountScope: AccountScope | undefined;
2222
2616
  /**
2223
- * <p>A token for pagination.</p>
2617
+ * How many days inventory data is kept.
2224
2618
  * @public
2225
2619
  */
2226
- NextToken?: string | undefined;
2620
+ DataRetentionDays: number | undefined;
2227
2621
  /**
2228
- * <p>The maximum number of results to return.</p>
2622
+ * Whether collection is on. After a DISABLED request while the organization has an ACM plan, Status stays ENABLED
2623
+ * until the plan ends at the end of the billing period.
2229
2624
  * @public
2230
2625
  */
2231
- MaxResults?: number | undefined;
2626
+ Status: InventoryStatus | undefined;
2232
2627
  /**
2233
- * <p>The Amazon Resource Name (ARN) of the ACME endpoint.</p>
2628
+ * How far setup of the current configuration has progressed in the organization's accounts.
2234
2629
  * @public
2235
2630
  */
2236
- AcmeEndpointArn: string | undefined;
2237
- }
2238
- /**
2239
- * @public
2240
- */
2241
- export interface ListAcmeExternalAccountBindingsResponse {
2631
+ ProvisioningStatus: ProvisioningStatus | undefined;
2242
2632
  /**
2243
- * <p>The list of external account bindings.</p>
2633
+ * Why setup failed. Present only when ProvisioningStatus is FAILED.
2244
2634
  * @public
2245
2635
  */
2246
- ExternalAccountBindings?: AcmeExternalAccountBindingSummary[] | undefined;
2636
+ ProvisioningStatusReason?: ProvisioningStatusReason | undefined;
2247
2637
  /**
2248
- * <p>A token for pagination.</p>
2638
+ * The home Region: the Region where the configuration is managed. It is the Region of the first
2639
+ * PutInventoryConfiguration call.
2249
2640
  * @public
2250
2641
  */
2251
- NextToken?: string | undefined;
2252
- }
2253
- /**
2254
- * @public
2255
- */
2256
- export interface ListCertificateDomainValidationsRequest {
2642
+ HomeRegion: string | undefined;
2257
2643
  /**
2258
- * <p>The Amazon Resource Name (ARN) of the certificate for which to list domain validation summaries.</p>
2644
+ * The state of Certificate actions for organizations. Certificate actions are the operations that act on
2645
+ * certificates and certificate authorities in the organization's member accounts, such as RenewMemberCertificate.
2646
+ * Status is DISABLED until certificate actions are first turned on.
2259
2647
  * @public
2260
2648
  */
2261
- CertificateArn: string | undefined;
2649
+ LifecycleManagement: LifecycleManagementConfiguration | undefined;
2262
2650
  /**
2263
- * <p>A token returned by a previous call to <code>ListCertificateDomainValidations</code>. If the number of results exceeds <code>MaxItems</code>, use this token to retrieve the next page of results.</p>
2651
+ * Certificate expiry notifications as stored. Until they are configured, Enabled is false, LeadTimeDays is 7, and
2652
+ * Frequency is ONCE.
2264
2653
  * @public
2265
2654
  */
2266
- NextToken?: string | undefined;
2655
+ ExpiryNotification: InventoryExpiryNotification | undefined;
2267
2656
  /**
2268
- * <p>The maximum number of domain validation summaries to return. If you don't specify a value, the default is 1000.</p>
2657
+ * The latest verification or delivery outcome for ExpiryNotification. Absent while inventory Status is DISABLED or
2658
+ * notifications are off.
2269
2659
  * @public
2270
2660
  */
2271
- MaxItems?: number | undefined;
2661
+ LastDeliveryStatus?: InventoryNotificationDeliveryStatus | undefined;
2662
+ /**
2663
+ * The organization's ACM plan. Present while the organization has a plan or one is being applied, and while a
2664
+ * scheduled change is pending. Absent when the organization has no plan. Only GetInventoryConfiguration returns
2665
+ * it. PutInventoryConfiguration never does.
2666
+ * @public
2667
+ */
2668
+ InventoryTierConfiguration?: InventoryTierConfiguration | undefined;
2272
2669
  }
2273
2670
  /**
2274
- * <p>Contains the CNAME record that you must add to your DNS configuration to validate domain ownership using DNS validation.</p>
2275
2671
  * @public
2276
2672
  */
2277
- export interface DnsValidationChallenge {
2673
+ export interface GetInventoryConfigurationOutput {
2278
2674
  /**
2279
- * <p>The CNAME record that ACM creates for DNS validation. Add this record to your DNS configuration to prove that you own or control the domain.</p>
2675
+ * The organization's inventory configuration.
2280
2676
  * @public
2281
2677
  */
2282
- ResourceRecord?: ResourceRecord | undefined;
2678
+ Configuration: InventoryConfiguration | undefined;
2283
2679
  }
2284
2680
  /**
2285
- * <p>Contains the email addresses used for email-based domain validation.</p>
2681
+ * Options for the EXPIRY_WINDOW aggregate. This aggregate has no options.
2286
2682
  * @public
2287
2683
  */
2288
- export interface EmailValidationChallenge {
2289
- /**
2290
- * <p>A list of email addresses that ACM uses to send domain validation emails.</p>
2291
- * @public
2292
- */
2293
- ValidationEmails?: string[] | undefined;
2684
+ export interface InventoryExpiryWindowOptions {
2685
+ }
2686
+ /**
2687
+ * Options for the HIGHEST_FINDING_SEVERITY aggregate.
2688
+ * @public
2689
+ */
2690
+ export interface InventoryHighestFindingSeverityOptions {
2294
2691
  /**
2295
- * <p>The domain name that ACM uses to send validation emails.</p>
2692
+ * Adds a second breakdown to the result. CERTIFICATE_TYPE returns the severity groups of each certificate type, in
2693
+ * CertificateTypeGroups. These come from the same precomputed counts as Groups. The result is FAILED until the
2694
+ * organization's per-type counts have first been computed. If you omit it, the result has only the severity
2695
+ * groups.
2296
2696
  * @public
2297
2697
  */
2298
- ValidationDomain?: string | undefined;
2698
+ GroupBy?: InventoryHighestFindingSeverityGroupBy | undefined;
2299
2699
  }
2300
2700
  /**
2301
- * <p>Contains the challenge details that you use to prove domain ownership. Only one member is set, depending on the validation method.</p>
2701
+ * Options for the IN_USE aggregate. This aggregate has no options.
2302
2702
  * @public
2303
2703
  */
2304
- export type ValidationChallenge = ValidationChallenge.DnsValidationChallengeMember | ValidationChallenge.EmailValidationChallengeMember | ValidationChallenge.$UnknownMember;
2704
+ export interface InventoryInUseOptions {
2705
+ }
2305
2706
  /**
2707
+ * Options for the ISSUANCE_TYPE aggregate. This aggregate has no options.
2306
2708
  * @public
2307
2709
  */
2308
- export declare namespace ValidationChallenge {
2710
+ export interface InventoryIssuanceTypeOptions {
2711
+ }
2712
+ /**
2713
+ * Options for the KEY_ALGORITHM aggregate. This aggregate has no options.
2714
+ * @public
2715
+ */
2716
+ export interface InventoryKeyAlgorithmOptions {
2717
+ }
2718
+ /**
2719
+ * Options for the REGION aggregate. This aggregate has no options.
2720
+ * @public
2721
+ */
2722
+ export interface InventoryRegionOptions {
2723
+ }
2724
+ /**
2725
+ * Selects one aggregate and carries its options. Only HighestFindingSeverity takes options. Each member returns the
2726
+ * InventoryAggregateResult with the matching Aggregate:
2727
+ * - ExpiryWindow: EXPIRY_WINDOW
2728
+ * - IssuanceType: ISSUANCE_TYPE
2729
+ * - Region: REGION
2730
+ * - InUse: IN_USE
2731
+ * - KeyAlgorithm: KEY_ALGORITHM
2732
+ * - HighestFindingSeverity: HIGHEST_FINDING_SEVERITY
2733
+ * @public
2734
+ */
2735
+ export type InventoryAggregateRequest = InventoryAggregateRequest.ExpiryWindowMember | InventoryAggregateRequest.HighestFindingSeverityMember | InventoryAggregateRequest.InUseMember | InventoryAggregateRequest.IssuanceTypeMember | InventoryAggregateRequest.KeyAlgorithmMember | InventoryAggregateRequest.RegionMember | InventoryAggregateRequest.$UnknownMember;
2736
+ /**
2737
+ * @public
2738
+ */
2739
+ export declare namespace InventoryAggregateRequest {
2309
2740
  /**
2310
- * <p>Contains the email addresses used for email-based domain validation.</p>
2741
+ * Requests expiry-window groups.
2311
2742
  * @public
2312
2743
  */
2313
- interface EmailValidationChallengeMember {
2314
- EmailValidationChallenge: EmailValidationChallenge;
2315
- DnsValidationChallenge?: never;
2744
+ interface ExpiryWindowMember {
2745
+ ExpiryWindow: InventoryExpiryWindowOptions;
2746
+ IssuanceType?: never;
2747
+ Region?: never;
2748
+ InUse?: never;
2749
+ KeyAlgorithm?: never;
2750
+ HighestFindingSeverity?: never;
2316
2751
  $unknown?: never;
2317
2752
  }
2318
2753
  /**
2319
- * <p>Contains the CNAME record that you must add to your DNS configuration to validate domain ownership using DNS validation.</p>
2754
+ * Requests issuance-type groups.
2320
2755
  * @public
2321
2756
  */
2322
- interface DnsValidationChallengeMember {
2323
- EmailValidationChallenge?: never;
2324
- DnsValidationChallenge: DnsValidationChallenge;
2757
+ interface IssuanceTypeMember {
2758
+ ExpiryWindow?: never;
2759
+ IssuanceType: InventoryIssuanceTypeOptions;
2760
+ Region?: never;
2761
+ InUse?: never;
2762
+ KeyAlgorithm?: never;
2763
+ HighestFindingSeverity?: never;
2764
+ $unknown?: never;
2765
+ }
2766
+ /**
2767
+ * Requests Region groups.
2768
+ * @public
2769
+ */
2770
+ interface RegionMember {
2771
+ ExpiryWindow?: never;
2772
+ IssuanceType?: never;
2773
+ Region: InventoryRegionOptions;
2774
+ InUse?: never;
2775
+ KeyAlgorithm?: never;
2776
+ HighestFindingSeverity?: never;
2777
+ $unknown?: never;
2778
+ }
2779
+ /**
2780
+ * Requests usage-presence groups.
2781
+ * @public
2782
+ */
2783
+ interface InUseMember {
2784
+ ExpiryWindow?: never;
2785
+ IssuanceType?: never;
2786
+ Region?: never;
2787
+ InUse: InventoryInUseOptions;
2788
+ KeyAlgorithm?: never;
2789
+ HighestFindingSeverity?: never;
2790
+ $unknown?: never;
2791
+ }
2792
+ /**
2793
+ * Requests key-algorithm groups.
2794
+ * @public
2795
+ */
2796
+ interface KeyAlgorithmMember {
2797
+ ExpiryWindow?: never;
2798
+ IssuanceType?: never;
2799
+ Region?: never;
2800
+ InUse?: never;
2801
+ KeyAlgorithm: InventoryKeyAlgorithmOptions;
2802
+ HighestFindingSeverity?: never;
2803
+ $unknown?: never;
2804
+ }
2805
+ /**
2806
+ * Requests groups by the highest severity among each certificate's open findings. Certificates whose findings have
2807
+ * not been evaluated are counted in a NOT_EVALUATED group, so the groups sum to CertificateCount.
2808
+ * @public
2809
+ */
2810
+ interface HighestFindingSeverityMember {
2811
+ ExpiryWindow?: never;
2812
+ IssuanceType?: never;
2813
+ Region?: never;
2814
+ InUse?: never;
2815
+ KeyAlgorithm?: never;
2816
+ HighestFindingSeverity: InventoryHighestFindingSeverityOptions;
2325
2817
  $unknown?: never;
2326
2818
  }
2327
2819
  /**
2328
2820
  * @public
2329
2821
  */
2330
2822
  interface $UnknownMember {
2331
- EmailValidationChallenge?: never;
2332
- DnsValidationChallenge?: never;
2823
+ ExpiryWindow?: never;
2824
+ IssuanceType?: never;
2825
+ Region?: never;
2826
+ InUse?: never;
2827
+ KeyAlgorithm?: never;
2828
+ HighestFindingSeverity?: never;
2333
2829
  $unknown: [string, any];
2334
2830
  }
2335
2831
  /**
@@ -2337,543 +2833,763 @@ export declare namespace ValidationChallenge {
2337
2833
  *
2338
2834
  */
2339
2835
  interface Visitor<T> {
2340
- EmailValidationChallenge: (value: EmailValidationChallenge) => T;
2341
- DnsValidationChallenge: (value: DnsValidationChallenge) => T;
2836
+ ExpiryWindow: (value: InventoryExpiryWindowOptions) => T;
2837
+ IssuanceType: (value: InventoryIssuanceTypeOptions) => T;
2838
+ Region: (value: InventoryRegionOptions) => T;
2839
+ InUse: (value: InventoryInUseOptions) => T;
2840
+ KeyAlgorithm: (value: InventoryKeyAlgorithmOptions) => T;
2841
+ HighestFindingSeverity: (value: InventoryHighestFindingSeverityOptions) => T;
2342
2842
  _: (name: string, value: any) => T;
2343
2843
  }
2344
2844
  }
2345
2845
  /**
2346
- * <p>Contains the validation method, validation status, and validation challenge details for a domain. This structure appears in <a>DomainValidationSummary</a> as both the active and requested validation configuration.</p>
2347
2846
  * @public
2348
2847
  */
2349
- export interface ValidationConfiguration {
2350
- /**
2351
- * <p>The validation method for this configuration. Valid values:</p> <ul> <li> <p> <code>DNS</code> – Validation using a CNAME record added to your DNS configuration.</p> </li> <li> <p> <code>EMAIL</code> – Validation using an approval email sent to domain contacts.</p> </li> <li> <p> <code>HTTP</code> – Validation using an HTTP resource placed on your web server.</p> </li> </ul>
2352
- * @public
2353
- */
2354
- ValidationMethod?: ValidationMethod | undefined;
2355
- /**
2356
- * <p>The validation challenge details for this configuration. The structure varies by validation method: for DNS validation, contains a <code>DnsValidationChallenge</code> with the CNAME record to add; for email validation, contains an <code>EmailValidationChallenge</code> with the validation email addresses.</p>
2357
- * @public
2358
- */
2359
- ValidationChallenge?: ValidationChallenge | undefined;
2848
+ export interface GetInventoryInsightsInput {
2360
2849
  /**
2361
- * <p>The validation status for this domain. Valid values:</p> <ul> <li> <p> <code>PENDING_VALIDATION</code> – The domain is waiting for validation to complete.</p> </li> <li> <p> <code>SUCCESS</code> – Validation completed successfully.</p> </li> <li> <p> <code>FAILED</code> – Validation failed.</p> </li> </ul>
2850
+ * The aggregates to return, 0 to 25 entries. CertificateCount is always returned and needs no entry, so an empty
2851
+ * list returns CertificateCount with an empty Aggregates list. Each aggregate can appear at most once. A repeated
2852
+ * aggregate, or an aggregate the service does not support, returns ValidationException.
2362
2853
  * @public
2363
2854
  */
2364
- ValidationStatus?: DomainStatus | undefined;
2855
+ RequestedAggregates: InventoryAggregateRequest[] | undefined;
2365
2856
  }
2366
2857
  /**
2367
- * <p>Contains per-domain validation information for a certificate. This structure is returned as a member of the <a>ListCertificateDomainValidations</a> response.</p>
2858
+ * A group in an aggregate result. For EXPIRY_WINDOW, Value is absent, and MinDays and MaxDays bound the window. The
2859
+ * expired group has MaxDays -1 and no MinDays. The 91 or more group has MinDays 91 and no MaxDays. For ranked
2860
+ * aggregates, MinDays and MaxDays are absent.
2368
2861
  * @public
2369
2862
  */
2370
- export interface DomainValidationSummary {
2863
+ export interface InventoryAggregateGroup {
2371
2864
  /**
2372
- * <p>The fully qualified domain name (FQDN) in the certificate for which this validation summary applies.</p>
2865
+ * The group key for a ranked aggregate:
2866
+ * - ISSUANCE_TYPE: the IssuanceType value.
2867
+ * - REGION: the Region code.
2868
+ * - IN_USE: "true" or "false".
2869
+ * - KEY_ALGORITHM: the InventoryKeyAlgorithm value.
2870
+ * - HIGHEST_FINDING_SEVERITY: the CertificateHealthSeverity value.
2871
+ *
2872
+ * Absent for EXPIRY_WINDOW. Clients must accept values they do not know. 1 to 256 characters.
2373
2873
  * @public
2374
2874
  */
2375
- DomainName: string | undefined;
2875
+ Value?: string | undefined;
2376
2876
  /**
2377
- * <p>The validation configuration currently in effect for this domain. This reflects the validation method that ACM is currently using to validate domain ownership (for example, email or DNS).</p>
2877
+ * The number of certificates in the group.
2378
2878
  * @public
2379
2879
  */
2380
- ActiveValidationConfiguration?: ValidationConfiguration | undefined;
2880
+ Count: number | undefined;
2381
2881
  /**
2382
- * <p>The validation configuration for a pending validation method migration. This field is present only when a migration is in progress (for example, from email to DNS validation). It contains the target validation method, the current validation status, and the validation challenge details (such as the CNAME record to add to your DNS configuration).</p>
2882
+ * Inclusive lower bound, in whole days remaining. Absent on the expired EXPIRY_WINDOW group, which has MaxDays -1.
2383
2883
  * @public
2384
2884
  */
2385
- RequestedValidationConfiguration?: ValidationConfiguration | undefined;
2885
+ MinDays?: number | undefined;
2886
+ /**
2887
+ * Inclusive upper bound, in whole days remaining. On the expired EXPIRY_WINDOW group, it is -1. This means the
2888
+ * certificate had already expired: its NotAfter is before the result's UpdatedAt. That group has no MinDays. -1 is
2889
+ * the only negative value. Absent on the 91 or more group.
2890
+ * @public
2891
+ */
2892
+ MaxDays?: number | undefined;
2386
2893
  }
2387
2894
  /**
2895
+ * The HIGHEST_FINDING_SEVERITY groups of one certificate type. They are ranked like the aggregate's own groups. Groups
2896
+ * with a count of 0 are omitted, and the rest are ordered by Count, descending, and then by Value, ascending. The
2897
+ * NOT_EVALUATED group counts this type's certificates whose findings have not been evaluated yet. This is
2898
+ * CertificateCount minus the type's evaluated groups, so the groups sum to CertificateCount.
2388
2899
  * @public
2389
2900
  */
2390
- export interface ListCertificateDomainValidationsResponse {
2901
+ export interface InventoryCertificateTypeGroup {
2391
2902
  /**
2392
- * <p>A list of <a>DomainValidationSummary</a> objects, one for each domain on the certificate. Each object contains the domain name and its active and requested validation configurations.</p>
2903
+ * The certificate type these groups count.
2393
2904
  * @public
2394
2905
  */
2395
- DomainValidationSummaryList?: DomainValidationSummary[] | undefined;
2906
+ CertificateType: InventoryCertificateType | undefined;
2396
2907
  /**
2397
- * <p>If the number of results exceeds <code>MaxItems</code>, this token is included in the response. Use this token in a subsequent <code>ListCertificateDomainValidations</code> request to retrieve the next page of results.</p>
2908
+ * The number of certificates of this type in the organization's inventory, evaluated or not. It comes from the
2909
+ * same precomputed counts as GetInventoryInsightsOutput.CertificateCount.
2398
2910
  * @public
2399
2911
  */
2400
- NextToken?: string | undefined;
2912
+ CertificateCount: number | undefined;
2913
+ /**
2914
+ * The severity groups of this certificate type, with the CertificateHealthSeverity value as each group's Value.
2915
+ * @public
2916
+ */
2917
+ Groups: InventoryAggregateGroup[] | undefined;
2401
2918
  }
2402
2919
  /**
2403
- * <p>This structure can be used in the <a>ListCertificates</a> action to filter the output of the certificate list. </p>
2920
+ * One requested aggregate and its groups.
2921
+ *
2922
+ * EXPIRY_WINDOW always returns its six fixed groups, including groups with a count of 0. They are ordered from expired
2923
+ * to 91 or more days.
2924
+ *
2925
+ * ISSUANCE_TYPE, REGION, IN_USE, KEY_ALGORITHM, and HIGHEST_FINDING_SEVERITY are ranked aggregates. A ranked aggregate
2926
+ * omits groups with a count of 0. It orders groups by Count, descending, and then by Value, ascending. It returns at
2927
+ * most 100 groups, and OtherCount carries the remainder.
2404
2928
  * @public
2405
2929
  */
2406
- export interface Filters {
2930
+ export interface InventoryAggregateResult {
2407
2931
  /**
2408
- * <p>Specify one or more <a>ExtendedKeyUsage</a> extension values.</p>
2932
+ * The aggregate this result reports.
2409
2933
  * @public
2410
2934
  */
2411
- extendedKeyUsage?: ExtendedKeyUsageName[] | undefined;
2935
+ Aggregate: InventoryAggregate | undefined;
2412
2936
  /**
2413
- * <p>Specify one or more <a>KeyUsage</a> extension values.</p>
2937
+ * COMPLETE results include Groups; FAILED results omit them.
2414
2938
  * @public
2415
2939
  */
2416
- keyUsage?: KeyUsageName[] | undefined;
2940
+ Status: InventoryAggregateStatus | undefined;
2417
2941
  /**
2418
- * <p>Specify one or more algorithms that can be used to generate key pairs.</p> <p>Default filtering returns only <code>RSA_1024</code> and <code>RSA_2048</code> certificates that have at least one domain. To return other certificate types, provide the desired type signatures in a comma-separated list. For example, <code>"keyTypes": ["RSA_2048","RSA_4096"]</code> returns both <code>RSA_2048</code> and <code>RSA_4096</code> certificates.</p>
2942
+ * When this aggregate's counts were last recomputed, in UTC. EXPIRY_WINDOW measures days remaining from this time.
2943
+ * Absent when Status is FAILED, or when the organization's counts have not been computed yet.
2419
2944
  * @public
2420
2945
  */
2421
- keyTypes?: KeyAlgorithm[] | undefined;
2946
+ UpdatedAt?: Date | undefined;
2422
2947
  /**
2423
- * <p>Specify <code>ENABLED</code> or <code>DISABLED</code> to identify certificates that can be exported.</p>
2948
+ * Present only when Status is COMPLETE. Can be empty for a ranked aggregate.
2424
2949
  * @public
2425
2950
  */
2426
- exportOption?: CertificateExport | undefined;
2951
+ Groups?: InventoryAggregateGroup[] | undefined;
2427
2952
  /**
2428
- * <p>Identifies the Amazon Web Services service that manages the certificate issued by ACM.</p>
2953
+ * The total count of certificates in ranked groups beyond the 100 returned. Absent when every group was
2954
+ * returned.
2429
2955
  * @public
2430
2956
  */
2431
- managedBy?: CertificateManagedBy | undefined;
2957
+ OtherCount?: number | undefined;
2958
+ /**
2959
+ * The severity groups of each certificate type. Present only on a COMPLETE HIGHEST_FINDING_SEVERITY result
2960
+ * requested with GroupBy CERTIFICATE_TYPE. Groups still holds the severity groups of all certificate types. A
2961
+ * certificate type with no certificates is omitted. The rest are ordered alphabetically by CertificateType value.
2962
+ * @public
2963
+ */
2964
+ CertificateTypeGroups?: InventoryCertificateTypeGroup[] | undefined;
2432
2965
  }
2433
2966
  /**
2434
2967
  * @public
2435
2968
  */
2436
- export interface ListCertificatesRequest {
2969
+ export interface GetInventoryInsightsOutput {
2437
2970
  /**
2438
- * <p>Filter the certificate list by status value.</p>
2971
+ * The number of certificates in the organization's inventory.
2439
2972
  * @public
2440
2973
  */
2441
- CertificateStatuses?: CertificateStatus[] | undefined;
2974
+ CertificateCount: number | undefined;
2442
2975
  /**
2443
- * <p>Filter the certificate list by certificate key pair origin. Specify one or more <code>CertificateKeyPairOrigin</code> values. Default filtering returns only certificates with key pair origin of <code>AWS_MANAGED</code> and <code>CUSTOMER_PROVIDED</code>.</p>
2976
+ * When CertificateCount was last recomputed, in UTC. Absent when the organization's counts have not been
2977
+ * computed yet.
2444
2978
  * @public
2445
2979
  */
2446
- CertificateKeyPairOrigins?: CertificateKeyPairOrigin[] | undefined;
2980
+ UpdatedAt?: Date | undefined;
2447
2981
  /**
2448
- * <p>Filter the certificate list by root hierarchy type. Specify one or more <code>RootHierarchyType</code> values. By default, this action does not return certificates with a <code>RootHierarchyType</code> of <code>N2_AMAZON_MANAGED</code> or <code>N2_SFG2_AMAZON_MANAGED</code>. To list only Amazon N2 certificates, specify one or both of these values in the <code>RootHierarchyTypes</code> filter.</p>
2982
+ * One result for each requested aggregate, in request order.
2449
2983
  * @public
2450
2984
  */
2451
- RootHierarchyTypes?: RootHierarchyType[] | undefined;
2985
+ Aggregates: InventoryAggregateResult[] | undefined;
2986
+ }
2987
+ /**
2988
+ * @public
2989
+ */
2990
+ export interface ImportCertificateRequest {
2452
2991
  /**
2453
- * <p>Filter the certificate list. For more information, see the <a>Filters</a> structure.</p>
2992
+ * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of an imported certificate to replace. To import a new certificate, omit this field. </p>
2454
2993
  * @public
2455
2994
  */
2456
- Includes?: Filters | undefined;
2995
+ CertificateArn?: string | undefined;
2457
2996
  /**
2458
- * <p>Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of <code>NextToken</code> from the response you just received.</p>
2997
+ * <p>The certificate to import.</p>
2459
2998
  * @public
2460
2999
  */
2461
- NextToken?: string | undefined;
3000
+ Certificate: Uint8Array | undefined;
2462
3001
  /**
2463
- * <p>Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the <code>NextToken</code> element is sent in the response. Use this <code>NextToken</code> value in a subsequent request to retrieve additional items.</p>
3002
+ * <p>The private key that matches the public key in the certificate.</p>
2464
3003
  * @public
2465
3004
  */
2466
- MaxItems?: number | undefined;
3005
+ PrivateKey: Uint8Array | undefined;
2467
3006
  /**
2468
- * <p>Specifies the field to sort results by. If you specify <code>SortBy</code>, you must also specify <code>SortOrder</code>.</p>
3007
+ * <p>The PEM encoded certificate chain.</p>
2469
3008
  * @public
2470
3009
  */
2471
- SortBy?: SortBy | undefined;
3010
+ CertificateChain?: Uint8Array | undefined;
2472
3011
  /**
2473
- * <p>Specifies the order of sorted results. If you specify <code>SortOrder</code>, you must also specify <code>SortBy</code>.</p>
3012
+ * <p>One or more resource tags to associate with the imported certificate. </p> <p>Note: You cannot apply tags when reimporting a certificate.</p>
2474
3013
  * @public
2475
3014
  */
2476
- SortOrder?: SortOrder | undefined;
3015
+ Tags?: Tag[] | undefined;
2477
3016
  }
2478
3017
  /**
2479
- * <p>This structure is returned in the response object of <a>ListCertificates</a> action. </p>
2480
3018
  * @public
2481
3019
  */
2482
- export interface CertificateSummary {
3020
+ export interface ImportCertificateResponse {
2483
3021
  /**
2484
- * <p>Amazon Resource Name (ARN) of the certificate. This is of the form:</p> <p> <code>arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012</code> </p> <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
3022
+ * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the imported certificate.</p>
2485
3023
  * @public
2486
3024
  */
2487
3025
  CertificateArn?: string | undefined;
3026
+ }
3027
+ /**
3028
+ * @public
3029
+ */
3030
+ export interface ListAcmeAccountsRequest {
2488
3031
  /**
2489
- * <p>Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.</p>
3032
+ * <p>A token for pagination.</p>
2490
3033
  * @public
2491
3034
  */
2492
- DomainName?: string | undefined;
3035
+ NextToken?: string | undefined;
2493
3036
  /**
2494
- * <p>One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website. </p> <p>When called by <a href="https://docs.aws.amazon.com/acm/latest/APIReference/API_ListCertificates.html">ListCertificates</a>, this parameter will only return the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use <a href="https://docs.aws.amazon.com/acm/latest/APIReference/API_DescribeCertificate.html">DescribeCertificate</a>.</p>
3037
+ * <p>The maximum number of results to return.</p>
2495
3038
  * @public
2496
3039
  */
2497
- SubjectAlternativeNameSummaries?: string[] | undefined;
3040
+ MaxResults?: number | undefined;
2498
3041
  /**
2499
- * <p>When called by <a href="https://docs.aws.amazon.com/acm/latest/APIReference/API_ListCertificates.html">ListCertificates</a>, indicates whether the full list of subject alternative names has been included in the response. If false, the response includes all of the subject alternative names included in the certificate. If true, the response only includes the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use <a href="https://docs.aws.amazon.com/acm/latest/APIReference/API_DescribeCertificate.html">DescribeCertificate</a>.</p>
3042
+ * <p>The Amazon Resource Name (ARN) of the ACME endpoint.</p>
2500
3043
  * @public
2501
3044
  */
2502
- HasAdditionalSubjectAlternativeNames?: boolean | undefined;
3045
+ AcmeEndpointArn: string | undefined;
3046
+ }
3047
+ /**
3048
+ * @public
3049
+ */
3050
+ export interface ListAcmeAccountsResponse {
2503
3051
  /**
2504
- * <p>The status of the certificate.</p> <p>A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for any of the reasons given in the troubleshooting topic <a href="https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting-failed.html">Certificate request fails</a>. ACM makes repeated attempts to validate a certificate for 72 hours and then times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with <a href="https://docs.aws.amazon.com/acm/latest/userguide/dns-validation.html">DNS validation</a> or <a href="https://docs.aws.amazon.com/acm/latest/userguide/email-validation.html">Email validation</a>, and try again. If validation succeeds, the certificate enters status ISSUED. </p>
3052
+ * <p>The list of ACME accounts.</p>
2505
3053
  * @public
2506
3054
  */
2507
- Status?: CertificateStatus | undefined;
3055
+ AcmeAccounts?: AcmeAccountSummary[] | undefined;
2508
3056
  /**
2509
- * <p>The source of the certificate. For certificates provided by ACM, this value is <code>AMAZON_ISSUED</code>. For certificates that you imported with <a>ImportCertificate</a>, this value is <code>IMPORTED</code>. ACM does not provide <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed renewal</a> for imported certificates. For more information about the differences between certificates that you import and those that ACM provides, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing Certificates</a> in the <i>Certificate Manager User Guide</i>. </p>
3057
+ * <p>A token for pagination.</p>
2510
3058
  * @public
2511
3059
  */
2512
- Type?: CertificateType | undefined;
3060
+ NextToken?: string | undefined;
3061
+ }
3062
+ /**
3063
+ * @public
3064
+ */
3065
+ export interface ListAcmeDomainValidationsRequest {
2513
3066
  /**
2514
- * <p>The algorithm that was used to generate the public-private key pair.</p>
3067
+ * <p>A token for pagination.</p>
2515
3068
  * @public
2516
3069
  */
2517
- KeyAlgorithm?: KeyAlgorithm | undefined;
3070
+ NextToken?: string | undefined;
2518
3071
  /**
2519
- * <p>A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the purpose of the public key contained in the certificate. Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.</p>
3072
+ * <p>The maximum number of results to return.</p>
2520
3073
  * @public
2521
3074
  */
2522
- KeyUsages?: KeyUsageName[] | undefined;
3075
+ MaxResults?: number | undefined;
2523
3076
  /**
2524
- * <p>Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID). </p>
3077
+ * <p>The Amazon Resource Name (ARN) of the ACME endpoint.</p>
2525
3078
  * @public
2526
3079
  */
2527
- ExtendedKeyUsages?: ExtendedKeyUsageName[] | undefined;
3080
+ AcmeEndpointArn: string | undefined;
3081
+ }
3082
+ /**
3083
+ * @public
3084
+ */
3085
+ export interface ListAcmeDomainValidationsResponse {
2528
3086
  /**
2529
- * <p>Indicates if export is enabled for the certificate.</p>
3087
+ * <p>The list of domain validations.</p>
2530
3088
  * @public
2531
3089
  */
2532
- ExportOption?: CertificateExport | undefined;
3090
+ AcmeDomainValidations?: AcmeDomainValidationSummary[] | undefined;
2533
3091
  /**
2534
- * <p>Indicates whether the certificate is currently in use by any Amazon Web Services resources.</p>
3092
+ * <p>A token for pagination.</p>
2535
3093
  * @public
2536
3094
  */
2537
- InUse?: boolean | undefined;
3095
+ NextToken?: string | undefined;
3096
+ }
3097
+ /**
3098
+ * @public
3099
+ */
3100
+ export interface ListAcmeEndpointsRequest {
2538
3101
  /**
2539
- * <p>Indicates whether the certificate has been exported.</p>
3102
+ * <p>A token for pagination.</p>
2540
3103
  * @public
2541
3104
  */
2542
- Exported?: boolean | undefined;
3105
+ NextToken?: string | undefined;
2543
3106
  /**
2544
- * <p>Specifies whether the certificate is eligible for renewal. At this time, only exported private certificates can be renewed with the <a>RenewCertificate</a> command.</p>
3107
+ * <p>The maximum number of results to return.</p>
2545
3108
  * @public
2546
3109
  */
2547
- RenewalEligibility?: RenewalEligibility | undefined;
3110
+ MaxResults?: number | undefined;
3111
+ }
3112
+ /**
3113
+ * @public
3114
+ */
3115
+ export interface ListAcmeEndpointsResponse {
2548
3116
  /**
2549
- * <p>The time before which the certificate is not valid.</p>
3117
+ * <p>The list of ACME endpoints.</p>
2550
3118
  * @public
2551
3119
  */
2552
- NotBefore?: Date | undefined;
3120
+ AcmeEndpoints?: AcmeEndpointSummary[] | undefined;
2553
3121
  /**
2554
- * <p>The time after which the certificate is not valid.</p>
3122
+ * <p>A token for pagination.</p>
2555
3123
  * @public
2556
3124
  */
2557
- NotAfter?: Date | undefined;
3125
+ NextToken?: string | undefined;
3126
+ }
3127
+ /**
3128
+ * @public
3129
+ */
3130
+ export interface ListAcmeExternalAccountBindingsRequest {
2558
3131
  /**
2559
- * <p>The time at which the certificate was requested.</p>
3132
+ * <p>A token for pagination.</p>
2560
3133
  * @public
2561
3134
  */
2562
- CreatedAt?: Date | undefined;
3135
+ NextToken?: string | undefined;
2563
3136
  /**
2564
- * <p>The time at which the certificate was issued. This value exists only when the certificate type is <code>AMAZON_ISSUED</code>. </p>
3137
+ * <p>The maximum number of results to return.</p>
2565
3138
  * @public
2566
3139
  */
2567
- IssuedAt?: Date | undefined;
3140
+ MaxResults?: number | undefined;
2568
3141
  /**
2569
- * <p>The date and time when the certificate was imported. This value exists only when the certificate type is <code>IMPORTED</code>. </p>
3142
+ * <p>The Amazon Resource Name (ARN) of the ACME endpoint.</p>
2570
3143
  * @public
2571
3144
  */
2572
- ImportedAt?: Date | undefined;
3145
+ AcmeEndpointArn: string | undefined;
3146
+ }
3147
+ /**
3148
+ * @public
3149
+ */
3150
+ export interface ListAcmeExternalAccountBindingsResponse {
2573
3151
  /**
2574
- * <p>The time at which the certificate was revoked. This value exists only when the certificate status is <code>REVOKED</code>. </p>
3152
+ * <p>The list of external account bindings.</p>
2575
3153
  * @public
2576
3154
  */
2577
- RevokedAt?: Date | undefined;
3155
+ ExternalAccountBindings?: AcmeExternalAccountBindingSummary[] | undefined;
2578
3156
  /**
2579
- * <p>Identifies the Amazon Web Services service that manages the certificate issued by ACM.</p>
3157
+ * <p>A token for pagination.</p>
2580
3158
  * @public
2581
3159
  */
2582
- ManagedBy?: CertificateManagedBy | undefined;
3160
+ NextToken?: string | undefined;
3161
+ }
3162
+ /**
3163
+ * @public
3164
+ */
3165
+ export interface ListCertificateDomainValidationsRequest {
2583
3166
  /**
2584
- * <p>The origin of the certificate's key pair.</p>
3167
+ * <p>The Amazon Resource Name (ARN) of the certificate for which to list domain validation summaries.</p>
2585
3168
  * @public
2586
3169
  */
2587
- CertificateKeyPairOrigin?: CertificateKeyPairOrigin | undefined;
3170
+ CertificateArn: string | undefined;
2588
3171
  /**
2589
- * <p>The Extended Key Usage profile of the certificate. This value exists only for Amazon N2 certificates. If <code>CertificateUsage</code> was omitted from the request, this value is <code>CLIENT_AND_SERVER_AUTH</code>.</p>
3172
+ * <p>A token returned by a previous call to <code>ListCertificateDomainValidations</code>. If the number of results exceeds <code>MaxItems</code>, use this token to retrieve the next page of results.</p>
2590
3173
  * @public
2591
3174
  */
2592
- CertificateUsage?: CertificateUsage | undefined;
3175
+ NextToken?: string | undefined;
2593
3176
  /**
2594
- * <p>The root hierarchy from which the certificate was issued. This value exists only for Amazon N2 certificates, which have a <code>Type</code> of <code>AMAZON_ISSUED</code>.</p>
3177
+ * <p>The maximum number of domain validation summaries to return. If you don't specify a value, the default is 1000.</p>
2595
3178
  * @public
2596
3179
  */
2597
- RootHierarchyType?: RootHierarchyType | undefined;
3180
+ MaxItems?: number | undefined;
2598
3181
  }
2599
3182
  /**
3183
+ * <p>Contains the CNAME record that you must add to your DNS configuration to validate domain ownership using DNS validation.</p>
2600
3184
  * @public
2601
3185
  */
2602
- export interface ListCertificatesResponse {
2603
- /**
2604
- * <p>When the list is truncated, this value is present and contains the value to use for the <code>NextToken</code> parameter in a subsequent pagination request.</p>
2605
- * @public
2606
- */
2607
- NextToken?: string | undefined;
3186
+ export interface DnsValidationChallenge {
2608
3187
  /**
2609
- * <p>A list of ACM certificates.</p>
3188
+ * <p>The CNAME record that ACM creates for DNS validation. Add this record to your DNS configuration to prove that you own or control the domain.</p>
2610
3189
  * @public
2611
3190
  */
2612
- CertificateSummaryList?: CertificateSummary[] | undefined;
3191
+ ResourceRecord?: ResourceRecord | undefined;
2613
3192
  }
2614
3193
  /**
3194
+ * <p>Contains the email addresses used for email-based domain validation.</p>
2615
3195
  * @public
2616
3196
  */
2617
- export interface ListTagsForCertificateRequest {
3197
+ export interface EmailValidationChallenge {
2618
3198
  /**
2619
- * <p>String that contains the ARN of the ACM certificate for which you want to list the tags. This must have the following form:</p> <p> <code>arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012</code> </p> <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
3199
+ * <p>A list of email addresses that ACM uses to send domain validation emails.</p>
2620
3200
  * @public
2621
3201
  */
2622
- CertificateArn: string | undefined;
2623
- }
2624
- /**
2625
- * @public
2626
- */
2627
- export interface ListTagsForCertificateResponse {
3202
+ ValidationEmails?: string[] | undefined;
2628
3203
  /**
2629
- * <p>The key-value pairs that define the applied tags.</p>
3204
+ * <p>The domain name that ACM uses to send validation emails.</p>
2630
3205
  * @public
2631
3206
  */
2632
- Tags?: Tag[] | undefined;
3207
+ ValidationDomain?: string | undefined;
2633
3208
  }
2634
3209
  /**
3210
+ * <p>Contains the challenge details that you use to prove domain ownership. Only one member is set, depending on the validation method.</p>
2635
3211
  * @public
2636
3212
  */
2637
- export interface ListTagsForResourceRequest {
2638
- /**
2639
- * <p>The ARN of the ACM resource for which to list tags.</p>
2640
- * @public
2641
- */
2642
- ResourceArn: string | undefined;
2643
- }
3213
+ export type ValidationChallenge = ValidationChallenge.DnsValidationChallengeMember | ValidationChallenge.EmailValidationChallengeMember | ValidationChallenge.$UnknownMember;
2644
3214
  /**
2645
3215
  * @public
2646
3216
  */
2647
- export interface ListTagsForResourceResponse {
3217
+ export declare namespace ValidationChallenge {
2648
3218
  /**
2649
- * <p>The tags associated with the resource.</p>
3219
+ * <p>Contains the email addresses used for email-based domain validation.</p>
2650
3220
  * @public
2651
3221
  */
2652
- Tags?: Tag[] | undefined;
2653
- }
2654
- /**
2655
- * @public
2656
- */
2657
- export interface PutAccountConfigurationRequest {
3222
+ interface EmailValidationChallengeMember {
3223
+ EmailValidationChallenge: EmailValidationChallenge;
3224
+ DnsValidationChallenge?: never;
3225
+ $unknown?: never;
3226
+ }
2658
3227
  /**
2659
- * <p>Specifies expiration events associated with an account.</p>
3228
+ * <p>Contains the CNAME record that you must add to your DNS configuration to validate domain ownership using DNS validation.</p>
2660
3229
  * @public
2661
3230
  */
2662
- ExpiryEvents?: ExpiryEventsConfiguration | undefined;
3231
+ interface DnsValidationChallengeMember {
3232
+ EmailValidationChallenge?: never;
3233
+ DnsValidationChallenge: DnsValidationChallenge;
3234
+ $unknown?: never;
3235
+ }
2663
3236
  /**
2664
- * <p>Customer-chosen string used to distinguish between calls to <code>PutAccountConfiguration</code>. Idempotency tokens time out after one hour. If you call <code>PutAccountConfiguration</code> multiple times with the same unexpired idempotency token, ACM treats it as the same request and returns the original result. If you change the idempotency token for each call, ACM treats each call as a new request.</p>
2665
3237
  * @public
2666
3238
  */
2667
- IdempotencyToken: string | undefined;
3239
+ interface $UnknownMember {
3240
+ EmailValidationChallenge?: never;
3241
+ DnsValidationChallenge?: never;
3242
+ $unknown: [string, any];
3243
+ }
3244
+ /**
3245
+ * @deprecated unused in schema-serde mode.
3246
+ *
3247
+ */
3248
+ interface Visitor<T> {
3249
+ EmailValidationChallenge: (value: EmailValidationChallenge) => T;
3250
+ DnsValidationChallenge: (value: DnsValidationChallenge) => T;
3251
+ _: (name: string, value: any) => T;
3252
+ }
2668
3253
  }
2669
3254
  /**
3255
+ * <p>Contains the validation method, validation status, and validation challenge details for a domain. This structure appears in <a>DomainValidationSummary</a> as both the active and requested validation configuration.</p>
2670
3256
  * @public
2671
3257
  */
2672
- export interface RemoveTagsFromCertificateRequest {
3258
+ export interface ValidationConfiguration {
2673
3259
  /**
2674
- * <p>String that contains the ARN of the ACM Certificate with one or more tags that you want to remove. This must be of the form:</p> <p> <code>arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012</code> </p> <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
3260
+ * <p>The validation method for this configuration. Valid values:</p> <ul> <li> <p> <code>DNS</code> – Validation using a CNAME record added to your DNS configuration.</p> </li> <li> <p> <code>EMAIL</code> – Validation using an approval email sent to domain contacts.</p> </li> <li> <p> <code>HTTP</code> – Validation using an HTTP resource placed on your web server.</p> </li> </ul>
2675
3261
  * @public
2676
3262
  */
2677
- CertificateArn: string | undefined;
3263
+ ValidationMethod?: ValidationMethod | undefined;
2678
3264
  /**
2679
- * <p>The key-value pair that defines the tag to remove.</p>
3265
+ * <p>The validation challenge details for this configuration. The structure varies by validation method: for DNS validation, contains a <code>DnsValidationChallenge</code> with the CNAME record to add; for email validation, contains an <code>EmailValidationChallenge</code> with the validation email addresses.</p>
2680
3266
  * @public
2681
3267
  */
2682
- Tags: Tag[] | undefined;
2683
- }
2684
- /**
2685
- * @public
2686
- */
2687
- export interface RenewCertificateRequest {
3268
+ ValidationChallenge?: ValidationChallenge | undefined;
2688
3269
  /**
2689
- * <p>String that contains the ARN of the ACM certificate to be renewed. This must be of the form:</p> <p> <code>arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012</code> </p> <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
3270
+ * <p>The validation status for this domain. Valid values:</p> <ul> <li> <p> <code>PENDING_VALIDATION</code> – The domain is waiting for validation to complete.</p> </li> <li> <p> <code>SUCCESS</code> – Validation completed successfully.</p> </li> <li> <p> <code>FAILED</code> – Validation failed.</p> </li> </ul>
2690
3271
  * @public
2691
3272
  */
2692
- CertificateArn: string | undefined;
3273
+ ValidationStatus?: DomainStatus | undefined;
2693
3274
  }
2694
3275
  /**
2695
- * <p>Contains information about the domain names that you want ACM to use to send you emails that enable you to validate domain ownership.</p>
3276
+ * <p>Contains per-domain validation information for a certificate. This structure is returned as a member of the <a>ListCertificateDomainValidations</a> response.</p>
2696
3277
  * @public
2697
3278
  */
2698
- export interface DomainValidationOption {
3279
+ export interface DomainValidationSummary {
2699
3280
  /**
2700
- * <p>A fully qualified domain name (FQDN) in the certificate request.</p>
3281
+ * <p>The fully qualified domain name (FQDN) in the certificate for which this validation summary applies.</p>
2701
3282
  * @public
2702
3283
  */
2703
3284
  DomainName: string | undefined;
2704
3285
  /**
2705
- * <p>The domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the <code>DomainName</code> value or a superdomain of the <code>DomainName</code> value. For example, if you request a certificate for <code>testing.example.com</code>, you can specify <code>example.com</code> for this value. In that case, ACM sends domain validation emails to the following five addresses:</p> <ul> <li> <p>admin@example.com</p> </li> <li> <p>administrator@example.com</p> </li> <li> <p>hostmaster@example.com</p> </li> <li> <p>postmaster@example.com</p> </li> <li> <p>webmaster@example.com</p> </li> </ul>
3286
+ * <p>The validation configuration currently in effect for this domain. This reflects the validation method that ACM is currently using to validate domain ownership (for example, email or DNS).</p>
2706
3287
  * @public
2707
3288
  */
2708
- ValidationDomain: string | undefined;
3289
+ ActiveValidationConfiguration?: ValidationConfiguration | undefined;
3290
+ /**
3291
+ * <p>The validation configuration for a pending validation method migration. This field is present only when a migration is in progress (for example, from email to DNS validation). It contains the target validation method, the current validation status, and the validation challenge details (such as the CNAME record to add to your DNS configuration).</p>
3292
+ * @public
3293
+ */
3294
+ RequestedValidationConfiguration?: ValidationConfiguration | undefined;
2709
3295
  }
2710
3296
  /**
2711
3297
  * @public
2712
3298
  */
2713
- export interface RequestCertificateRequest {
3299
+ export interface ListCertificateDomainValidationsResponse {
2714
3300
  /**
2715
- * <p>Fully qualified domain name (FQDN), such as www.example.com, that you want to secure with an ACM certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com. </p> <p>In compliance with <a href="https://datatracker.ietf.org/doc/html/rfc5280">RFC 5280</a>, the length of the domain name (technically, the Common Name) that you provide cannot exceed 64 octets (characters), including periods. To add a longer domain name, specify it in the Subject Alternative Name field, which supports names up to 253 octets in length. </p>
3301
+ * <p>A list of <a>DomainValidationSummary</a> objects, one for each domain on the certificate. Each object contains the domain name and its active and requested validation configurations.</p>
2716
3302
  * @public
2717
3303
  */
2718
- DomainName: string | undefined;
3304
+ DomainValidationSummaryList?: DomainValidationSummary[] | undefined;
2719
3305
  /**
2720
- * <p>The method you want to use if you are requesting a public certificate to validate that you own or control domain. You can <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html">validate with DNS</a> or <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-email.html">validate with email</a>. We recommend that you use DNS validation. </p>
3306
+ * <p>If the number of results exceeds <code>MaxItems</code>, this token is included in the response. Use this token in a subsequent <code>ListCertificateDomainValidations</code> request to retrieve the next page of results.</p>
2721
3307
  * @public
2722
3308
  */
2723
- ValidationMethod?: ValidationMethod | undefined;
3309
+ NextToken?: string | undefined;
3310
+ }
3311
+ /**
3312
+ * <p>This structure can be used in the <a>ListCertificates</a> action to filter the output of the certificate list. </p>
3313
+ * @public
3314
+ */
3315
+ export interface Filters {
2724
3316
  /**
2725
- * <p>Additional FQDNs to be included in the Subject Alternative Name extension of the ACM certificate. For example, add the name www.example.net to a certificate for which the <code>DomainName</code> field is www.example.com if users can reach your site by using either name. The maximum number of domain names that you can add to an ACM certificate is 100. However, the initial quota is 10 domain names. If you need more than 10 names, you must request a quota increase. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html">Quotas</a>.</p> <p> The maximum length of a SAN DNS name is 253 octets. The name is made up of multiple labels separated by periods. No label can be longer than 63 octets. Consider the following examples: </p> <ul> <li> <p> <code>(63 octets).(63 octets).(63 octets).(61 octets)</code> is legal because the total length is 253 octets (63+1+63+1+63+1+61) and no label exceeds 63 octets.</p> </li> <li> <p> <code>(64 octets).(63 octets).(63 octets).(61 octets)</code> is not legal because the total length exceeds 253 octets (64+1+63+1+63+1+61) and the first label exceeds 63 octets.</p> </li> <li> <p> <code>(63 octets).(63 octets).(63 octets).(62 octets)</code> is not legal because the total length of the DNS name (63+1+63+1+63+1+62) exceeds 253 octets.</p> </li> </ul>
3317
+ * <p>Specify one or more <a>ExtendedKeyUsage</a> extension values.</p>
2726
3318
  * @public
2727
3319
  */
2728
- SubjectAlternativeNames?: string[] | undefined;
3320
+ extendedKeyUsage?: ExtendedKeyUsageName[] | undefined;
2729
3321
  /**
2730
- * <p>Customer chosen string that can be used to distinguish between calls to <code>RequestCertificate</code>. Idempotency tokens time out after one hour. Therefore, if you call <code>RequestCertificate</code> multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates.</p>
3322
+ * <p>Specify one or more <a>KeyUsage</a> extension values.</p>
2731
3323
  * @public
2732
3324
  */
2733
- IdempotencyToken?: string | undefined;
3325
+ keyUsage?: KeyUsageName[] | undefined;
2734
3326
  /**
2735
- * <p>The domain name that you want ACM to use to send you emails so that you can validate domain ownership.</p>
3327
+ * <p>Specify one or more algorithms that can be used to generate key pairs.</p> <p>Default filtering returns only <code>RSA_1024</code> and <code>RSA_2048</code> certificates that have at least one domain. To return other certificate types, provide the desired type signatures in a comma-separated list. For example, <code>"keyTypes": ["RSA_2048","RSA_4096"]</code> returns both <code>RSA_2048</code> and <code>RSA_4096</code> certificates.</p>
2736
3328
  * @public
2737
3329
  */
2738
- DomainValidationOptions?: DomainValidationOption[] | undefined;
3330
+ keyTypes?: KeyAlgorithm[] | undefined;
2739
3331
  /**
2740
- * <p>You can use this parameter to specify whether to export your certificate.</p> <p>Certificate transparency logging opt-out is no longer available. ACM records all public certificates other than Amazon N2 certificates in a certificate transparency log. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency">Certificate Transparency Logging</a>.</p> <p>You can export public ACM certificates to use with Amazon Web Services services as well as outside the Amazon Web Services Cloud. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-exportable-certificates.html">Certificate Manager exportable public certificate</a>.</p>
3332
+ * <p>Specify <code>ENABLED</code> or <code>DISABLED</code> to identify certificates that can be exported.</p>
2741
3333
  * @public
2742
3334
  */
2743
- Options?: CertificateOptions | undefined;
3335
+ exportOption?: CertificateExport | undefined;
2744
3336
  /**
2745
- * <p>The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used to issue the certificate. If you do not provide an ARN and you are trying to request a private certificate, ACM will attempt to issue a public certificate. For more information about private CAs, see the <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaWelcome.html">Amazon Web Services Private Certificate Authority</a> user guide. The ARN must have the following form: </p> <p> <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code> </p>
3337
+ * <p>Identifies the Amazon Web Services service that manages the certificate issued by ACM.</p>
2746
3338
  * @public
2747
3339
  */
2748
- CertificateAuthorityArn?: string | undefined;
3340
+ managedBy?: CertificateManagedBy | undefined;
3341
+ }
3342
+ /**
3343
+ * @public
3344
+ */
3345
+ export interface ListCertificatesRequest {
2749
3346
  /**
2750
- * <p>One or more resource tags to associate with the certificate.</p>
3347
+ * <p>Filter the certificate list by status value.</p>
2751
3348
  * @public
2752
3349
  */
2753
- Tags?: Tag[] | undefined;
3350
+ CertificateStatuses?: CertificateStatus[] | undefined;
2754
3351
  /**
2755
- * <p>Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but with greater computing efficiency. However, ECDSA is not supported by all network clients. Some Amazon Web Services services may require RSA keys, or only support ECDSA keys of a particular size, while others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken. Check the requirements for the Amazon Web Services service where you plan to deploy your certificate. For more information about selecting an algorithm, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate-characteristics.html#algorithms-term">Key algorithms</a>.</p> <note> <p>Algorithms supported for an ACM certificate request include: </p> <ul> <li> <p> <code>RSA_2048</code> </p> </li> <li> <p> <code>EC_prime256v1</code> </p> </li> <li> <p> <code>EC_secp384r1</code> </p> </li> </ul> <p>Other listed algorithms are for imported certificates only. </p> </note> <note> <p>When you request a private PKI certificate signed by a CA from Amazon Web Services Private CA, the specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.</p> </note> <p>Default: RSA_2048</p>
3352
+ * <p>Filter the certificate list by certificate key pair origin. Specify one or more <code>CertificateKeyPairOrigin</code> values. Default filtering returns only certificates with key pair origin of <code>AWS_MANAGED</code> and <code>CUSTOMER_PROVIDED</code>.</p>
2756
3353
  * @public
2757
3354
  */
2758
- KeyAlgorithm?: KeyAlgorithm | undefined;
3355
+ CertificateKeyPairOrigins?: CertificateKeyPairOrigin[] | undefined;
2759
3356
  /**
2760
- * <p>Identifies the Amazon Web Services service that manages the certificate issued by ACM.</p>
3357
+ * <p>Filter the certificate list by root hierarchy type. Specify one or more <code>RootHierarchyType</code> values. By default, this action does not return certificates with a <code>RootHierarchyType</code> of <code>N2_AMAZON_MANAGED</code> or <code>N2_SFG2_AMAZON_MANAGED</code>. To list only Amazon N2 certificates, specify one or both of these values in the <code>RootHierarchyTypes</code> filter.</p>
2761
3358
  * @public
2762
3359
  */
2763
- ManagedBy?: CertificateManagedBy | undefined;
3360
+ RootHierarchyTypes?: RootHierarchyType[] | undefined;
2764
3361
  /**
2765
- * <p>The Extended Key Usage profile of the certificate. You can specify this parameter only when <code>RootHierarchyType</code> is <code>N2_AMAZON_MANAGED</code> or <code>N2_SFG2_AMAZON_MANAGED</code>. If you specify <code>CertificateUsage</code> with any other root hierarchy type, or without <code>RootHierarchyType</code>, the request fails with a <code>ValidationException</code>.</p> <ul> <li> <p> <code>CLIENT_AND_SERVER_AUTH</code> authenticates both the client and the server. Valid for both N2 root hierarchy types.</p> </li> <li> <p> <code>CLIENT_AUTH_ONLY</code> authenticates only the client. Valid only for <code>N2_AMAZON_MANAGED</code>.</p> </li> </ul> <p>Default: CLIENT_AND_SERVER_AUTH</p>
3362
+ * <p>Filter the certificate list. For more information, see the <a>Filters</a> structure.</p>
2766
3363
  * @public
2767
3364
  */
2768
- CertificateUsage?: CertificateUsage | undefined;
3365
+ Includes?: Filters | undefined;
2769
3366
  /**
2770
- * <p>The root hierarchy from which ACM issues the certificate. Specify one of the following values to request an Amazon N2 certificate:</p> <ul> <li> <p> <code>N2_AMAZON_MANAGED</code> – An Amazon N2 certificate that chains to an Amazon N2 root. The maximum validity period, which is also the default, is 395 days.</p> </li> <li> <p> <code>N2_SFG2_AMAZON_MANAGED</code> – An Amazon N2 certificate that chains to an Amazon N2 root cross-signed by Starfield G2. The maximum validity period, which is also the default, is 98 days.</p> </li> </ul> <p>You cannot specify <code>RootHierarchyType</code> together with <code>CertificateAuthorityArn</code>.</p> <p>If you omit this parameter, ACM issues a standard public certificate. A request that specifies any value other than <code>N2_AMAZON_MANAGED</code> or <code>N2_SFG2_AMAZON_MANAGED</code> fails with a <code>ValidationException</code>.</p> <p>An Amazon N2 certificate request must specify a <code>ValidationMethod</code> of <code>DNS</code>. Amazon N2 certificates are not recorded in a certificate transparency log.</p> <p>A request for a validity period longer than the maximum fails with a <code>ValidationException</code>.</p> <note> <p>Algorithms supported for an N2 certificate request include: </p> <ul> <li> <p> <code>RSA_2048</code> </p> </li> <li> <p> <code>EC_prime256v1</code> </p> </li> <li> <p> <code>EC_secp384r1</code> </p> </li> </ul> </note>
3367
+ * <p>Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of <code>NextToken</code> from the response you just received.</p>
2771
3368
  * @public
2772
3369
  */
2773
- RootHierarchyType?: RootHierarchyType | undefined;
3370
+ NextToken?: string | undefined;
3371
+ /**
3372
+ * <p>Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the <code>NextToken</code> element is sent in the response. Use this <code>NextToken</code> value in a subsequent request to retrieve additional items.</p>
3373
+ * @public
3374
+ */
3375
+ MaxItems?: number | undefined;
3376
+ /**
3377
+ * <p>Specifies the field to sort results by. If you specify <code>SortBy</code>, you must also specify <code>SortOrder</code>.</p>
3378
+ * @public
3379
+ */
3380
+ SortBy?: SortBy | undefined;
3381
+ /**
3382
+ * <p>Specifies the order of sorted results. If you specify <code>SortOrder</code>, you must also specify <code>SortBy</code>.</p>
3383
+ * @public
3384
+ */
3385
+ SortOrder?: SortOrder | undefined;
2774
3386
  }
2775
3387
  /**
3388
+ * <p>This structure is returned in the response object of <a>ListCertificates</a> action. </p>
2776
3389
  * @public
2777
3390
  */
2778
- export interface RequestCertificateResponse {
3391
+ export interface CertificateSummary {
2779
3392
  /**
2780
- * <p>String that contains the ARN of the issued certificate. This must be of the form:</p> <p> <code>arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012</code> </p>
3393
+ * <p>Amazon Resource Name (ARN) of the certificate. This is of the form:</p> <p> <code>arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012</code> </p> <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
2781
3394
  * @public
2782
3395
  */
2783
3396
  CertificateArn?: string | undefined;
2784
- }
2785
- /**
2786
- * @public
2787
- */
2788
- export interface ResendValidationEmailRequest {
2789
3397
  /**
2790
- * <p>String that contains the ARN of the requested certificate. The certificate ARN is generated and returned by the <a>RequestCertificate</a> action as soon as the request is made. By default, using this parameter causes email to be sent to all top-level domains you specified in the certificate request. The ARN must be of the form: </p> <p> <code>arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012</code> </p>
3398
+ * <p>Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.</p>
2791
3399
  * @public
2792
3400
  */
2793
- CertificateArn: string | undefined;
3401
+ DomainName?: string | undefined;
2794
3402
  /**
2795
- * <p>The fully qualified domain name (FQDN) of the certificate that needs to be validated.</p>
3403
+ * <p>One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website. </p> <p>When called by <a href="https://docs.aws.amazon.com/acm/latest/APIReference/API_ListCertificates.html">ListCertificates</a>, this parameter will only return the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use <a href="https://docs.aws.amazon.com/acm/latest/APIReference/API_DescribeCertificate.html">DescribeCertificate</a>.</p>
2796
3404
  * @public
2797
3405
  */
2798
- Domain: string | undefined;
3406
+ SubjectAlternativeNameSummaries?: string[] | undefined;
2799
3407
  /**
2800
- * <p>The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as the <code>Domain</code> value or a superdomain of the <code>Domain</code> value. For example, if you requested a certificate for <code>site.subdomain.example.com</code> and specify a <b>ValidationDomain</b> of <code>subdomain.example.com</code>, ACM sends email to the the following five addresses:</p> <ul> <li> <p>admin@subdomain.example.com</p> </li> <li> <p>administrator@subdomain.example.com</p> </li> <li> <p>hostmaster@subdomain.example.com</p> </li> <li> <p>postmaster@subdomain.example.com</p> </li> <li> <p>webmaster@subdomain.example.com</p> </li> </ul>
3408
+ * <p>When called by <a href="https://docs.aws.amazon.com/acm/latest/APIReference/API_ListCertificates.html">ListCertificates</a>, indicates whether the full list of subject alternative names has been included in the response. If false, the response includes all of the subject alternative names included in the certificate. If true, the response only includes the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use <a href="https://docs.aws.amazon.com/acm/latest/APIReference/API_DescribeCertificate.html">DescribeCertificate</a>.</p>
2801
3409
  * @public
2802
3410
  */
2803
- ValidationDomain: string | undefined;
3411
+ HasAdditionalSubjectAlternativeNames?: boolean | undefined;
3412
+ /**
3413
+ * <p>The status of the certificate.</p> <p>A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for any of the reasons given in the troubleshooting topic <a href="https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting-failed.html">Certificate request fails</a>. ACM makes repeated attempts to validate a certificate for 72 hours and then times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with <a href="https://docs.aws.amazon.com/acm/latest/userguide/dns-validation.html">DNS validation</a> or <a href="https://docs.aws.amazon.com/acm/latest/userguide/email-validation.html">Email validation</a>, and try again. If validation succeeds, the certificate enters status ISSUED. </p>
3414
+ * @public
3415
+ */
3416
+ Status?: CertificateStatus | undefined;
3417
+ /**
3418
+ * <p>The source of the certificate. For certificates provided by ACM, this value is <code>AMAZON_ISSUED</code>. For certificates that you imported with <a>ImportCertificate</a>, this value is <code>IMPORTED</code>. ACM does not provide <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed renewal</a> for imported certificates. For more information about the differences between certificates that you import and those that ACM provides, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing Certificates</a> in the <i>Certificate Manager User Guide</i>. </p>
3419
+ * @public
3420
+ */
3421
+ Type?: CertificateType | undefined;
3422
+ /**
3423
+ * <p>The algorithm that was used to generate the public-private key pair.</p>
3424
+ * @public
3425
+ */
3426
+ KeyAlgorithm?: KeyAlgorithm | undefined;
3427
+ /**
3428
+ * <p>A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the purpose of the public key contained in the certificate. Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.</p>
3429
+ * @public
3430
+ */
3431
+ KeyUsages?: KeyUsageName[] | undefined;
3432
+ /**
3433
+ * <p>Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID). </p>
3434
+ * @public
3435
+ */
3436
+ ExtendedKeyUsages?: ExtendedKeyUsageName[] | undefined;
3437
+ /**
3438
+ * <p>Indicates if export is enabled for the certificate.</p>
3439
+ * @public
3440
+ */
3441
+ ExportOption?: CertificateExport | undefined;
3442
+ /**
3443
+ * <p>Indicates whether the certificate is currently in use by any Amazon Web Services resources.</p>
3444
+ * @public
3445
+ */
3446
+ InUse?: boolean | undefined;
3447
+ /**
3448
+ * <p>Indicates whether the certificate has been exported.</p>
3449
+ * @public
3450
+ */
3451
+ Exported?: boolean | undefined;
3452
+ /**
3453
+ * <p>Specifies whether the certificate is eligible for renewal. At this time, only exported private certificates can be renewed with the <a>RenewCertificate</a> command.</p>
3454
+ * @public
3455
+ */
3456
+ RenewalEligibility?: RenewalEligibility | undefined;
3457
+ /**
3458
+ * <p>The time before which the certificate is not valid.</p>
3459
+ * @public
3460
+ */
3461
+ NotBefore?: Date | undefined;
3462
+ /**
3463
+ * <p>The time after which the certificate is not valid.</p>
3464
+ * @public
3465
+ */
3466
+ NotAfter?: Date | undefined;
3467
+ /**
3468
+ * <p>The time at which the certificate was requested.</p>
3469
+ * @public
3470
+ */
3471
+ CreatedAt?: Date | undefined;
3472
+ /**
3473
+ * <p>The time at which the certificate was issued. This value exists only when the certificate type is <code>AMAZON_ISSUED</code>. </p>
3474
+ * @public
3475
+ */
3476
+ IssuedAt?: Date | undefined;
3477
+ /**
3478
+ * <p>The date and time when the certificate was imported. This value exists only when the certificate type is <code>IMPORTED</code>. </p>
3479
+ * @public
3480
+ */
3481
+ ImportedAt?: Date | undefined;
3482
+ /**
3483
+ * <p>The time at which the certificate was revoked. This value exists only when the certificate status is <code>REVOKED</code>. </p>
3484
+ * @public
3485
+ */
3486
+ RevokedAt?: Date | undefined;
3487
+ /**
3488
+ * <p>Identifies the Amazon Web Services service that manages the certificate issued by ACM.</p>
3489
+ * @public
3490
+ */
3491
+ ManagedBy?: CertificateManagedBy | undefined;
3492
+ /**
3493
+ * <p>The origin of the certificate's key pair.</p>
3494
+ * @public
3495
+ */
3496
+ CertificateKeyPairOrigin?: CertificateKeyPairOrigin | undefined;
3497
+ /**
3498
+ * <p>The Extended Key Usage profile of the certificate. This value exists only for Amazon N2 certificates. If <code>CertificateUsage</code> was omitted from the request, this value is <code>CLIENT_AND_SERVER_AUTH</code>.</p>
3499
+ * @public
3500
+ */
3501
+ CertificateUsage?: CertificateUsage | undefined;
3502
+ /**
3503
+ * <p>The root hierarchy from which the certificate was issued. This value exists only for Amazon N2 certificates, which have a <code>Type</code> of <code>AMAZON_ISSUED</code>.</p>
3504
+ * @public
3505
+ */
3506
+ RootHierarchyType?: RootHierarchyType | undefined;
2804
3507
  }
2805
3508
  /**
2806
3509
  * @public
2807
3510
  */
2808
- export interface RevokeAcmeAccountRequest {
3511
+ export interface ListCertificatesResponse {
2809
3512
  /**
2810
- * <p>The Amazon Resource Name (ARN) of the ACME endpoint.</p>
3513
+ * <p>When the list is truncated, this value is present and contains the value to use for the <code>NextToken</code> parameter in a subsequent pagination request.</p>
2811
3514
  * @public
2812
3515
  */
2813
- AcmeEndpointArn: string | undefined;
3516
+ NextToken?: string | undefined;
2814
3517
  /**
2815
- * <p>The URL of the ACME account to revoke.</p>
3518
+ * <p>A list of ACM certificates.</p>
2816
3519
  * @public
2817
3520
  */
2818
- AccountUrl: string | undefined;
3521
+ CertificateSummaryList?: CertificateSummary[] | undefined;
2819
3522
  }
2820
3523
  /**
2821
3524
  * @public
2822
3525
  */
2823
- export interface RevokeAcmeExternalAccountBindingRequest {
3526
+ export interface ListInventoryFindingsInput {
2824
3527
  /**
2825
- * <p>The Amazon Resource Name (ARN) of the ACME external account binding to revoke.</p>
3528
+ * The identifier of the certificate whose findings to list, as SearchInventory returns it.
2826
3529
  * @public
2827
3530
  */
2828
- AcmeExternalAccountBindingArn: string | undefined;
3531
+ CertificateIdentifier: string | undefined;
3532
+ /**
3533
+ * Return only findings of this severity. Omit it to return findings of every severity.
3534
+ * @public
3535
+ */
3536
+ Severity?: FindingSeverity | undefined;
3537
+ /**
3538
+ * The maximum number of findings to return, 1 to 100. Defaults to 25.
3539
+ * @public
3540
+ */
3541
+ MaxResults?: number | undefined;
3542
+ /**
3543
+ * The NextToken from the previous response, to read the next page.
3544
+ * @public
3545
+ */
3546
+ NextToken?: string | undefined;
2829
3547
  }
2830
3548
  /**
3549
+ * The ACM certificate a finding was evaluated on.
2831
3550
  * @public
2832
3551
  */
2833
- export interface RevokeCertificateRequest {
3552
+ export interface SeriesFindingContext {
2834
3553
  /**
2835
- * <p>The Amazon Resource Name (ARN) of the public or private certificate that will be revoked. The ARN must have the following form: </p> <p> <code>arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012</code> </p>
3554
+ * The ARN of the ACM certificate.
2836
3555
  * @public
2837
3556
  */
2838
3557
  CertificateArn: string | undefined;
2839
3558
  /**
2840
- * <p>Specifies why you revoked the certificate.</p>
3559
+ * The account that holds the ACM certificate.
2841
3560
  * @public
2842
3561
  */
2843
- RevocationReason: RevocationReason | undefined;
2844
- }
2845
- /**
2846
- * @public
2847
- */
2848
- export interface RevokeCertificateResponse {
3562
+ AccountId: string | undefined;
2849
3563
  /**
2850
- * <p>The Amazon Resource Name (ARN) of the public or private certificate that was revoked.</p>
3564
+ * The Region of the ACM certificate.
2851
3565
  * @public
2852
3566
  */
2853
- CertificateArn?: string | undefined;
3567
+ Region: string | undefined;
2854
3568
  }
2855
3569
  /**
2856
- * <p>Contains metadata about a certificate. Currently supports ACM certificate metadata.</p>
3570
+ * What a rule evaluated. Exactly one member is set. Members can be added; clients must accept members they do
3571
+ * not know.
2857
3572
  * @public
2858
3573
  */
2859
- export type CertificateMetadata = CertificateMetadata.AcmCertificateMetadataMember | CertificateMetadata.$UnknownMember;
3574
+ export type FindingScope = FindingScope.SeriesMember | FindingScope.$UnknownMember;
2860
3575
  /**
2861
3576
  * @public
2862
3577
  */
2863
- export declare namespace CertificateMetadata {
3578
+ export declare namespace FindingScope {
2864
3579
  /**
2865
- * <p>Metadata for an ACM certificate.</p>
3580
+ * The ACM certificate ARN, account, and Region of the series the rule evaluated. A series is the set of
3581
+ * certificates that one ACM certificate holds across renewals and reimports.
2866
3582
  * @public
2867
3583
  */
2868
- interface AcmCertificateMetadataMember {
2869
- AcmCertificateMetadata: AcmCertificateMetadata;
3584
+ interface SeriesMember {
3585
+ Series: SeriesFindingContext;
2870
3586
  $unknown?: never;
2871
3587
  }
2872
3588
  /**
2873
3589
  * @public
2874
3590
  */
2875
3591
  interface $UnknownMember {
2876
- AcmCertificateMetadata?: never;
3592
+ Series?: never;
2877
3593
  $unknown: [string, any];
2878
3594
  }
2879
3595
  /**
@@ -2881,349 +3597,1996 @@ export declare namespace CertificateMetadata {
2881
3597
  *
2882
3598
  */
2883
3599
  interface Visitor<T> {
2884
- AcmCertificateMetadata: (value: AcmCertificateMetadata) => T;
3600
+ Series: (value: SeriesFindingContext) => T;
2885
3601
  _: (name: string, value: any) => T;
2886
3602
  }
2887
3603
  }
2888
3604
  /**
2889
- * <p>Defines the X.500 relative distinguished name (RDN).</p>
3605
+ * One open finding: a problem a rule found in what it evaluated. Only open findings are returned, so a finding has
3606
+ * no status.
2890
3607
  * @public
2891
3608
  */
2892
- export interface CustomAttribute {
3609
+ export interface InventoryFinding {
2893
3610
  /**
2894
- * <p>Specifies the object identifier (OID) of the attribute type of the relative distinguished name (RDN).</p>
3611
+ * Identifies the finding. It stays the same for the same rule and the same evaluated subject, across evaluations
3612
+ * and pages. Use it to recognize a finding that is returned again. It is opaque: do not parse it or build one.
2895
3613
  * @public
2896
3614
  */
2897
- ObjectIdentifier?: string | undefined;
3615
+ FindingId: string | undefined;
2898
3616
  /**
2899
- * <p>Specifies the attribute value of relative distinguished name (RDN).</p>
3617
+ * The identifier of the certificate whose findings were requested.
2900
3618
  * @public
2901
3619
  */
2902
- Value?: string | undefined;
2903
- }
2904
- /**
2905
- * <p>Contains X.500 distinguished name information.</p>
2906
- * @public
2907
- */
2908
- export interface DistinguishedName {
3620
+ CertificateIdentifier: string | undefined;
2909
3621
  /**
2910
- * <p>The common name (CN) attribute.</p>
3622
+ * The rule that produced the finding.
2911
3623
  * @public
2912
3624
  */
2913
- CommonName?: string | undefined;
3625
+ RuleId: FindingRuleId | undefined;
2914
3626
  /**
2915
- * <p>The domain component attributes.</p>
3627
+ * How severe the finding is.
2916
3628
  * @public
2917
3629
  */
2918
- DomainComponents?: string[] | undefined;
3630
+ Severity: FindingSeverity | undefined;
2919
3631
  /**
2920
- * <p>The country (C) attribute.</p>
3632
+ * What the rule evaluated.
2921
3633
  * @public
2922
3634
  */
2923
- Country?: string | undefined;
3635
+ Scope: FindingScope | undefined;
2924
3636
  /**
2925
- * <p>A list of custom attributes in the distinguished name. Each custom attribute contains an object identifier (OID) and its corresponding value.</p>
3637
+ * Why the rule fired, for a rule with more than one cause. FindingReason lists which rules return which
3638
+ * reasons. Absent for a rule with one cause.
2926
3639
  * @public
2927
3640
  */
2928
- CustomAttributes?: CustomAttribute[] | undefined;
3641
+ Reason?: FindingReason | undefined;
2929
3642
  /**
2930
- * <p>The distinguished name qualifier attribute.</p>
3643
+ * What the rule requires, up to 1,024 characters. Absent when the rule does not describe it.
2931
3644
  * @public
2932
3645
  */
2933
- DistinguishedNameQualifier?: string | undefined;
3646
+ Expected?: string | undefined;
2934
3647
  /**
2935
- * <p>The generation qualifier attribute.</p>
3648
+ * What the rule found, up to 1,024 characters. Absent when the rule does not describe it.
2936
3649
  * @public
2937
3650
  */
2938
- GenerationQualifier?: string | undefined;
3651
+ Actual?: string | undefined;
2939
3652
  /**
2940
- * <p>The given name attribute.</p>
3653
+ * How to resolve the finding, up to 1,024 characters. Absent when the rule does not describe it.
2941
3654
  * @public
2942
3655
  */
2943
- GivenName?: string | undefined;
3656
+ Remediation?: string | undefined;
2944
3657
  /**
2945
- * <p>The initials attribute.</p>
3658
+ * When the finding was opened or its content last changed, to the second. A change in severity counts as a change
3659
+ * in content. Evaluating an unchanged finding again does not change this time.
2946
3660
  * @public
2947
3661
  */
2948
- Initials?: string | undefined;
3662
+ EvaluatedAt: Date | undefined;
3663
+ }
3664
+ /**
3665
+ * @public
3666
+ */
3667
+ export interface ListInventoryFindingsOutput {
2949
3668
  /**
2950
- * <p>The locality (L) attribute.</p>
3669
+ * The findings on this page. They are sorted by severity, highest first, then by RuleId in alphabetical order,
3670
+ * then in an order unique to each finding. A later page can start with findings that changed since the first page
3671
+ * was returned. A changed finding that sorts before the position the NextToken records is returned again once,
3672
+ * with its new values.
2951
3673
  * @public
2952
3674
  */
2953
- Locality?: string | undefined;
3675
+ Findings: InventoryFinding[] | undefined;
2954
3676
  /**
2955
- * <p>The organization (O) attribute.</p>
3677
+ * The certificate's health, as SearchInventory reports it. It is the highest severity among the certificate's open
3678
+ * findings, HEALTHY, or NOT_APPLICABLE. It is NOT_EVALUATED when the certificate's findings have not been
3679
+ * evaluated yet.
2956
3680
  * @public
2957
3681
  */
2958
- Organization?: string | undefined;
3682
+ HighestFindingSeverity: CertificateHealthSeverity | undefined;
2959
3683
  /**
2960
- * <p>The organizational unit (OU) attribute.</p>
3684
+ * Pass this value as NextToken to read the next page. Absent on the last page. The token is opaque; do not parse
3685
+ * or build one. A later page also returns any finding that changed after the first page was returned.
2961
3686
  * @public
2962
3687
  */
2963
- OrganizationalUnit?: string | undefined;
3688
+ NextToken?: string | undefined;
2964
3689
  /**
2965
- * <p>The pseudonym attribute.</p>
3690
+ * How many findings match in total, not only on this page.
3691
+ * Counted when each page is read, so it can change between pages if the inventory changes.
2966
3692
  * @public
2967
3693
  */
2968
- Pseudonym?: string | undefined;
3694
+ TotalCount: number | undefined;
2969
3695
  /**
2970
- * <p>The serial number attribute.</p>
3696
+ * Whether TotalCount is exact or a lower bound.
2971
3697
  * @public
2972
3698
  */
2973
- SerialNumber?: string | undefined;
2974
- /**
3699
+ TotalCountRelation: TotalCountRelation | undefined;
3700
+ }
3701
+ /**
3702
+ * @public
3703
+ */
3704
+ export interface ListInventoryRelatedResourcesInput {
3705
+ /**
3706
+ * The identifier of the certificate whose related resources to list, as SearchInventory returns it.
3707
+ * @public
3708
+ */
3709
+ CertificateIdentifier: string | undefined;
3710
+ /**
3711
+ * The maximum number of related resources to return, 1 to 100. Defaults to 25.
3712
+ * @public
3713
+ */
3714
+ MaxResults?: number | undefined;
3715
+ /**
3716
+ * The NextToken from the previous response, to read the next page.
3717
+ * @public
3718
+ */
3719
+ NextToken?: string | undefined;
3720
+ }
3721
+ /**
3722
+ * What AWS Private Certificate Authority (AWS Private CA) DescribeCertificateAuthority reported for a certificate
3723
+ * authority when the inventory read it. Members keep the names AWS Private CA uses in CertificateAuthority. A member
3724
+ * is absent when AWS Private CA did not report it in that read.
3725
+ * @public
3726
+ */
3727
+ export interface PrivateCaMetadataCertificateAuthority {
3728
+ /**
3729
+ * When the inventory last read this from AWS Private CA, in UTC. This is the inventory's time, not a time AWS
3730
+ * Private CA reports.
3731
+ * @public
3732
+ */
3733
+ UpdatedAt: Date | undefined;
3734
+ /**
3735
+ * AWS Private CA Status: where the certificate authority is in its lifecycle. Some values might never appear here,
3736
+ * because the inventory records only the certificate authorities it tracks.
3737
+ * @public
3738
+ */
3739
+ Status?: PrivateCaMetadataCertificateAuthorityStatus | undefined;
3740
+ /**
3741
+ * AWS Private CA Type: root or subordinate.
3742
+ * @public
3743
+ */
3744
+ Type?: PrivateCaCertificateAuthorityType | undefined;
3745
+ /**
3746
+ * AWS Private CA UsageMode: what certificates the certificate authority issues.
3747
+ * @public
3748
+ */
3749
+ UsageMode?: PrivateCaCertificateAuthorityUsageMode | undefined;
3750
+ /**
3751
+ * AWS Private CA KeyStorageSecurityStandard: how the certificate authority's private key is stored.
3752
+ * @public
3753
+ */
3754
+ KeyStorageSecurityStandard?: PrivateCaKeyStorageSecurityStandard | undefined;
3755
+ /**
3756
+ * AWS Private CA Serial: the serial number of the certificate authority's certificate, as AWS Private CA
3757
+ * reports it.
3758
+ * @public
3759
+ */
3760
+ Serial?: string | undefined;
3761
+ /**
3762
+ * AWS Private CA NotBefore: the start of the validity period of the certificate authority's certificate.
3763
+ * @public
3764
+ */
3765
+ NotBefore?: Date | undefined;
3766
+ /**
3767
+ * AWS Private CA NotAfter: the end of the validity period of the certificate authority's certificate.
3768
+ * @public
3769
+ */
3770
+ NotAfter?: Date | undefined;
3771
+ /**
3772
+ * AWS Private CA CreatedAt: when the certificate authority was created.
3773
+ * @public
3774
+ */
3775
+ CreatedAt?: Date | undefined;
3776
+ /**
3777
+ * AWS Private CA LastStateChangeAt: when the certificate authority's Status last changed.
3778
+ * @public
3779
+ */
3780
+ LastStateChangeAt?: Date | undefined;
3781
+ /**
3782
+ * AWS Private CA RestorableUntil: until when a deleted certificate authority can be restored. Present only when
3783
+ * Status is DELETED.
3784
+ * @public
3785
+ */
3786
+ RestorableUntil?: Date | undefined;
3787
+ }
3788
+ /**
3789
+ * Metadata for a related resource. Exactly one member is set. The service sets the member that matches the resource's
3790
+ * ResourceType:
3791
+ * - AcmCertificate for ACM_CERTIFICATE.
3792
+ * - PcaCertificateAuthority for PCA_CERTIFICATE_AUTHORITY.
3793
+ *
3794
+ * Members can be added; clients must accept members they do not know.
3795
+ * @public
3796
+ */
3797
+ export type InventoryRelatedResourceMetadata = InventoryRelatedResourceMetadata.AcmCertificateMember | InventoryRelatedResourceMetadata.PcaCertificateAuthorityMember | InventoryRelatedResourceMetadata.$UnknownMember;
3798
+ /**
3799
+ * @public
3800
+ */
3801
+ export declare namespace InventoryRelatedResourceMetadata {
3802
+ /**
3803
+ * Metadata of an ACM_CERTIFICATE, from ACM DescribeCertificate.
3804
+ * @public
3805
+ */
3806
+ interface AcmCertificateMember {
3807
+ AcmCertificate: AcmMetadataCertificate;
3808
+ PcaCertificateAuthority?: never;
3809
+ $unknown?: never;
3810
+ }
3811
+ /**
3812
+ * Metadata of a PCA_CERTIFICATE_AUTHORITY, from AWS Private Certificate Authority (AWS Private CA)
3813
+ * DescribeCertificateAuthority.
3814
+ * @public
3815
+ */
3816
+ interface PcaCertificateAuthorityMember {
3817
+ AcmCertificate?: never;
3818
+ PcaCertificateAuthority: PrivateCaMetadataCertificateAuthority;
3819
+ $unknown?: never;
3820
+ }
3821
+ /**
3822
+ * @public
3823
+ */
3824
+ interface $UnknownMember {
3825
+ AcmCertificate?: never;
3826
+ PcaCertificateAuthority?: never;
3827
+ $unknown: [string, any];
3828
+ }
3829
+ /**
3830
+ * @deprecated unused in schema-serde mode.
3831
+ *
3832
+ */
3833
+ interface Visitor<T> {
3834
+ AcmCertificate: (value: AcmMetadataCertificate) => T;
3835
+ PcaCertificateAuthority: (value: PrivateCaMetadataCertificateAuthority) => T;
3836
+ _: (name: string, value: any) => T;
3837
+ }
3838
+ }
3839
+ /**
3840
+ * An AWS Certificate Manager or AWS Private Certificate Authority (AWS Private CA) resource that a certificate maps
3841
+ * to.
3842
+ * @public
3843
+ */
3844
+ export interface InventoryRelatedResource {
3845
+ /**
3846
+ * The type of the resource.
3847
+ * @public
3848
+ */
3849
+ ResourceType: RelatedResourceType | undefined;
3850
+ /**
3851
+ * The resource's ARN.
3852
+ * @public
3853
+ */
3854
+ ResourceArn: string | undefined;
3855
+ /**
3856
+ * How AWS Certificate Manager holds the certificate. Present only for ACM_CERTIFICATE.
3857
+ * @public
3858
+ */
3859
+ IssuanceType?: IssuanceType | undefined;
3860
+ /**
3861
+ * Whether the ACM certificate still holds this certificate. Present only for ACM_CERTIFICATE.
3862
+ * @public
3863
+ */
3864
+ AssociationStatus?: InventoryAssociationStatus | undefined;
3865
+ /**
3866
+ * What AWS Certificate Manager (ACM) or AWS Private Certificate Authority (AWS Private CA) reported for the
3867
+ * resource named by ResourceArn, when the inventory last read it. The metadata's UpdatedAt says when.
3868
+ *
3869
+ * It describes that resource, not necessarily this certificate. After a renewal or reimport (AssociationStatus
3870
+ * REPLACED), an ACM certificate's metadata describes the certificate it holds now.
3871
+ *
3872
+ * It is a stored copy, not a live read, and can be as old as the inventory's last read of the resource. Before you
3873
+ * act on it, read ACM or AWS Private CA in the owning account. Absent when the inventory holds no read of the
3874
+ * resource. Always absent for PCA_CERTIFICATE.
3875
+ * @public
3876
+ */
3877
+ Metadata?: InventoryRelatedResourceMetadata | undefined;
3878
+ }
3879
+ /**
3880
+ * @public
3881
+ */
3882
+ export interface ListInventoryRelatedResourcesOutput {
3883
+ /**
3884
+ * The related resources on this page, sorted by ResourceArn in ascending order.
3885
+ * @public
3886
+ */
3887
+ RelatedResources: InventoryRelatedResource[] | undefined;
3888
+ /**
3889
+ * Pass this value as NextToken to read the next page. Absent on the last page.
3890
+ * @public
3891
+ */
3892
+ NextToken?: string | undefined;
3893
+ /**
3894
+ * How many related resources the certificate has in total, not only on this page.
3895
+ * Counted when each page is read, so it can change between pages if the inventory changes.
3896
+ * @public
3897
+ */
3898
+ TotalCount: number | undefined;
3899
+ /**
3900
+ * Whether TotalCount is exact or a lower bound.
3901
+ * @public
3902
+ */
3903
+ TotalCountRelation: TotalCountRelation | undefined;
3904
+ }
3905
+ /**
3906
+ * @public
3907
+ */
3908
+ export interface ListInventoryUsagesInput {
3909
+ /**
3910
+ * The identifier of the certificate whose usages to list, as SearchInventory returns it.
3911
+ * @public
3912
+ */
3913
+ CertificateIdentifier: string | undefined;
3914
+ /**
3915
+ * The maximum number of usages to return, 1 to 100. Defaults to 25.
3916
+ * @public
3917
+ */
3918
+ MaxResults?: number | undefined;
3919
+ /**
3920
+ * The NextToken from the previous response, to read the next page.
3921
+ * @public
3922
+ */
3923
+ NextToken?: string | undefined;
3924
+ }
3925
+ /**
3926
+ * A target without an ARN, named by its type and identifier.
3927
+ * @public
3928
+ */
3929
+ export interface ResourceIdentifier {
3930
+ /**
3931
+ * The type of the target.
3932
+ * @public
3933
+ */
3934
+ ResourceType: UsageTargetResourceType | undefined;
3935
+ /**
3936
+ * The target's identifier, such as a host name.
3937
+ * @public
3938
+ */
3939
+ Value: string | undefined;
3940
+ }
3941
+ /**
3942
+ * Where a certificate is used. Exactly one member is set.
3943
+ * @public
3944
+ */
3945
+ export type UsageTarget = UsageTarget.ArnMember | UsageTarget.ResourceIdentifierMember | UsageTarget.$UnknownMember;
3946
+ /**
3947
+ * @public
3948
+ */
3949
+ export declare namespace UsageTarget {
3950
+ /**
3951
+ * The ARN of the resource the certificate is attached to, such as a load balancer.
3952
+ * @public
3953
+ */
3954
+ interface ArnMember {
3955
+ Arn: string;
3956
+ ResourceIdentifier?: never;
3957
+ $unknown?: never;
3958
+ }
3959
+ /**
3960
+ * The type and identifier of a target that has no ARN.
3961
+ * @public
3962
+ */
3963
+ interface ResourceIdentifierMember {
3964
+ Arn?: never;
3965
+ ResourceIdentifier: ResourceIdentifier;
3966
+ $unknown?: never;
3967
+ }
3968
+ /**
3969
+ * @public
3970
+ */
3971
+ interface $UnknownMember {
3972
+ Arn?: never;
3973
+ ResourceIdentifier?: never;
3974
+ $unknown: [string, any];
3975
+ }
3976
+ /**
3977
+ * @deprecated unused in schema-serde mode.
3978
+ *
3979
+ */
3980
+ interface Visitor<T> {
3981
+ Arn: (value: string) => T;
3982
+ ResourceIdentifier: (value: ResourceIdentifier) => T;
3983
+ _: (name: string, value: any) => T;
3984
+ }
3985
+ }
3986
+ /**
3987
+ * One place where a certificate was observed in use. This is a record of what was observed, not an AWS resource.
3988
+ * @public
3989
+ */
3990
+ export interface InventoryUsage {
3991
+ /**
3992
+ * The identifier of the certificate in use.
3993
+ * @public
3994
+ */
3995
+ CertificateIdentifier: string | undefined;
3996
+ /**
3997
+ * Where the certificate is used.
3998
+ * @public
3999
+ */
4000
+ Target: UsageTarget | undefined;
4001
+ /**
4002
+ * When the certificate was last observed at the target, to the second.
4003
+ * @public
4004
+ */
4005
+ LastObservedAt: Date | undefined;
4006
+ /**
4007
+ * The account that holds the target. Absent when it is not known.
4008
+ * @public
4009
+ */
4010
+ AccountId?: string | undefined;
4011
+ /**
4012
+ * The Region of the target. Absent for a global resource, such as an Amazon CloudFront distribution, and when
4013
+ * it is not known.
4014
+ * @public
4015
+ */
4016
+ Region?: string | undefined;
4017
+ /**
4018
+ * Detail about a usage that a provider reported. Absent for a usage that AWS Certificate Manager (ACM) reports.
4019
+ * @public
4020
+ */
4021
+ AgentReported?: AgentUsageDetail | undefined;
4022
+ }
4023
+ /**
4024
+ * @public
4025
+ */
4026
+ export interface ListInventoryUsagesOutput {
4027
+ /**
4028
+ * The usages on this page, sorted by target in ascending order.
4029
+ * @public
4030
+ */
4031
+ Usages: InventoryUsage[] | undefined;
4032
+ /**
4033
+ * Pass this value as NextToken to read the next page. Absent on the last page.
4034
+ * @public
4035
+ */
4036
+ NextToken?: string | undefined;
4037
+ /**
4038
+ * How many usages the certificate has in total, not only on this page.
4039
+ * Counted when each page is read, so it can change between pages if the inventory changes.
4040
+ * @public
4041
+ */
4042
+ TotalCount: number | undefined;
4043
+ /**
4044
+ * Whether TotalCount is exact or a lower bound.
4045
+ * @public
4046
+ */
4047
+ TotalCountRelation: TotalCountRelation | undefined;
4048
+ }
4049
+ /**
4050
+ * @public
4051
+ */
4052
+ export interface ListTagsForCertificateRequest {
4053
+ /**
4054
+ * <p>String that contains the ARN of the ACM certificate for which you want to list the tags. This must have the following form:</p> <p> <code>arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012</code> </p> <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
4055
+ * @public
4056
+ */
4057
+ CertificateArn: string | undefined;
4058
+ }
4059
+ /**
4060
+ * @public
4061
+ */
4062
+ export interface ListTagsForCertificateResponse {
4063
+ /**
4064
+ * <p>The key-value pairs that define the applied tags.</p>
4065
+ * @public
4066
+ */
4067
+ Tags?: Tag[] | undefined;
4068
+ }
4069
+ /**
4070
+ * @public
4071
+ */
4072
+ export interface ListTagsForResourceRequest {
4073
+ /**
4074
+ * <p>The ARN of the ACM resource for which to list tags.</p>
4075
+ * @public
4076
+ */
4077
+ ResourceArn: string | undefined;
4078
+ }
4079
+ /**
4080
+ * @public
4081
+ */
4082
+ export interface ListTagsForResourceResponse {
4083
+ /**
4084
+ * <p>The tags associated with the resource.</p>
4085
+ * @public
4086
+ */
4087
+ Tags?: Tag[] | undefined;
4088
+ }
4089
+ /**
4090
+ * @public
4091
+ */
4092
+ export interface PutAccountConfigurationRequest {
4093
+ /**
4094
+ * <p>Specifies expiration events associated with an account.</p>
4095
+ * @public
4096
+ */
4097
+ ExpiryEvents?: ExpiryEventsConfiguration | undefined;
4098
+ /**
4099
+ * <p>Customer-chosen string used to distinguish between calls to <code>PutAccountConfiguration</code>. Idempotency tokens time out after one hour. If you call <code>PutAccountConfiguration</code> multiple times with the same unexpired idempotency token, ACM treats it as the same request and returns the original result. If you change the idempotency token for each call, ACM treats each call as a new request.</p>
4100
+ * @public
4101
+ */
4102
+ IdempotencyToken: string | undefined;
4103
+ }
4104
+ /**
4105
+ * Turns Certificate actions for organizations on or off. Certificate actions are the operations that act on
4106
+ * certificates and certificate authorities in the organization's member accounts. To turn them on, inventory Status
4107
+ * must be ENABLED. Turning them on starts setting up the access the service needs in every member account. Setup
4108
+ * requires AWS Organizations trusted access; if it is off, setup fails and LifecycleManagement.ProvisioningStatus is
4109
+ * FAILED.
4110
+ * @public
4111
+ */
4112
+ export interface LifecycleManagement {
4113
+ /**
4114
+ * ENABLED turns Certificate actions for organizations on. DISABLED turns them off.
4115
+ * @public
4116
+ */
4117
+ Status: LifecycleManagementStatus | undefined;
4118
+ }
4119
+ /**
4120
+ * @public
4121
+ */
4122
+ export interface PutInventoryConfigurationInput {
4123
+ /**
4124
+ * The Regions to collect from.
4125
+ * @public
4126
+ */
4127
+ RegionalScope: RegionalScope | undefined;
4128
+ /**
4129
+ * The accounts to collect from.
4130
+ * @public
4131
+ */
4132
+ AccountScope: AccountScope | undefined;
4133
+ /**
4134
+ * How many days inventory data is kept, 90 to 365. When omitted, retention is set to 90 days, even if a
4135
+ * different value is stored.
4136
+ * @public
4137
+ */
4138
+ DataRetentionDays?: number | undefined;
4139
+ /**
4140
+ * ENABLED turns collection on. DISABLED turns collection off and keeps an existing configuration.
4141
+ *
4142
+ * If the organization has an ACM plan, DISABLED instead ends the plan at the end of the billing period. Collection
4143
+ * stays on until then, and the configuration's Status stays ENABLED. To see when the plan ends, read
4144
+ * InventoryTierConfiguration.ScheduledChange with GetInventoryConfiguration. Certificate actions for organizations
4145
+ * still turn off immediately. Without a plan, DISABLED turns collection off immediately.
4146
+ *
4147
+ * DISABLED cannot create the organization's first configuration.
4148
+ * @public
4149
+ */
4150
+ Status: InventoryStatus | undefined;
4151
+ /**
4152
+ * Turns Certificate actions for organizations on or off. Certificate actions are the operations that act on
4153
+ * certificates and certificate authorities in the organization's member accounts, such as RenewMemberCertificate.
4154
+ * Omit it to keep the stored value.
4155
+ * @public
4156
+ */
4157
+ LifecycleManagement?: LifecycleManagement | undefined;
4158
+ /**
4159
+ * Certificate expiry notifications. Omit it to keep the stored setting. Set Enabled to false to turn notifications
4160
+ * off. Members you leave out of ExpiryNotification take their defaults.
4161
+ * @public
4162
+ */
4163
+ ExpiryNotification?: InventoryExpiryNotification | undefined;
4164
+ /**
4165
+ * The organization's ACM plan: Essentials or Pro. This API calls the ACM plan the inventory tier. Omit it to keep
4166
+ * the current plan. With Status ENABLED, this is the plan to subscribe to. While the organization has no plan,
4167
+ * such as on the first call, a call with Status ENABLED must name one. Otherwise, it returns ValidationException.
4168
+ * With Status DISABLED, it is ignored, and the plan ends at the end of the billing period.
4169
+ *
4170
+ * Only the organization's management account can start, change, or end the plan. A delegated administrator call
4171
+ * that would do so returns AccessDeniedException, even when its IAM policy allows the action.
4172
+ * PutInventoryConfiguration never returns the plan.
4173
+ *
4174
+ * A template or script that always sends the same plan undoes a plan set another way. For example, it changes an
4175
+ * upgrade made in the console back to the plan it sends. To leave the plan as it is, omit InventoryTier.
4176
+ * @public
4177
+ */
4178
+ InventoryTier?: InventoryTier | undefined;
4179
+ }
4180
+ /**
4181
+ * @public
4182
+ */
4183
+ export interface PutInventoryConfigurationOutput {
4184
+ /**
4185
+ * The configuration as stored.
4186
+ * @public
4187
+ */
4188
+ Configuration: InventoryConfiguration | undefined;
4189
+ }
4190
+ /**
4191
+ * @public
4192
+ */
4193
+ export interface RemoveTagsFromCertificateRequest {
4194
+ /**
4195
+ * <p>String that contains the ARN of the ACM Certificate with one or more tags that you want to remove. This must be of the form:</p> <p> <code>arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012</code> </p> <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
4196
+ * @public
4197
+ */
4198
+ CertificateArn: string | undefined;
4199
+ /**
4200
+ * <p>The key-value pair that defines the tag to remove.</p>
4201
+ * @public
4202
+ */
4203
+ Tags: Tag[] | undefined;
4204
+ }
4205
+ /**
4206
+ * @public
4207
+ */
4208
+ export interface RenewCertificateRequest {
4209
+ /**
4210
+ * <p>String that contains the ARN of the ACM certificate to be renewed. This must be of the form:</p> <p> <code>arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012</code> </p> <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
4211
+ * @public
4212
+ */
4213
+ CertificateArn: string | undefined;
4214
+ }
4215
+ /**
4216
+ * @public
4217
+ */
4218
+ export interface RenewMemberCertificateInput {
4219
+ /**
4220
+ * The ARN of the certificate to renew.
4221
+ * @public
4222
+ */
4223
+ CertificateArn: string | undefined;
4224
+ }
4225
+ /**
4226
+ * @public
4227
+ */
4228
+ export interface RenewMemberCertificateOutput {
4229
+ }
4230
+ /**
4231
+ * <p>Contains information about the domain names that you want ACM to use to send you emails that enable you to validate domain ownership.</p>
4232
+ * @public
4233
+ */
4234
+ export interface DomainValidationOption {
4235
+ /**
4236
+ * <p>A fully qualified domain name (FQDN) in the certificate request.</p>
4237
+ * @public
4238
+ */
4239
+ DomainName: string | undefined;
4240
+ /**
4241
+ * <p>The domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the <code>DomainName</code> value or a superdomain of the <code>DomainName</code> value. For example, if you request a certificate for <code>testing.example.com</code>, you can specify <code>example.com</code> for this value. In that case, ACM sends domain validation emails to the following five addresses:</p> <ul> <li> <p>admin@example.com</p> </li> <li> <p>administrator@example.com</p> </li> <li> <p>hostmaster@example.com</p> </li> <li> <p>postmaster@example.com</p> </li> <li> <p>webmaster@example.com</p> </li> </ul>
4242
+ * @public
4243
+ */
4244
+ ValidationDomain: string | undefined;
4245
+ }
4246
+ /**
4247
+ * @public
4248
+ */
4249
+ export interface RequestCertificateRequest {
4250
+ /**
4251
+ * <p>Fully qualified domain name (FQDN), such as www.example.com, that you want to secure with an ACM certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com. </p> <p>In compliance with <a href="https://datatracker.ietf.org/doc/html/rfc5280">RFC 5280</a>, the length of the domain name (technically, the Common Name) that you provide cannot exceed 64 octets (characters), including periods. To add a longer domain name, specify it in the Subject Alternative Name field, which supports names up to 253 octets in length. </p>
4252
+ * @public
4253
+ */
4254
+ DomainName: string | undefined;
4255
+ /**
4256
+ * <p>The method you want to use if you are requesting a public certificate to validate that you own or control domain. You can <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html">validate with DNS</a> or <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-email.html">validate with email</a>. We recommend that you use DNS validation. </p>
4257
+ * @public
4258
+ */
4259
+ ValidationMethod?: ValidationMethod | undefined;
4260
+ /**
4261
+ * <p>Additional FQDNs to be included in the Subject Alternative Name extension of the ACM certificate. For example, add the name www.example.net to a certificate for which the <code>DomainName</code> field is www.example.com if users can reach your site by using either name. The maximum number of domain names that you can add to an ACM certificate is 100. However, the initial quota is 10 domain names. If you need more than 10 names, you must request a quota increase. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html">Quotas</a>.</p> <p> The maximum length of a SAN DNS name is 253 octets. The name is made up of multiple labels separated by periods. No label can be longer than 63 octets. Consider the following examples: </p> <ul> <li> <p> <code>(63 octets).(63 octets).(63 octets).(61 octets)</code> is legal because the total length is 253 octets (63+1+63+1+63+1+61) and no label exceeds 63 octets.</p> </li> <li> <p> <code>(64 octets).(63 octets).(63 octets).(61 octets)</code> is not legal because the total length exceeds 253 octets (64+1+63+1+63+1+61) and the first label exceeds 63 octets.</p> </li> <li> <p> <code>(63 octets).(63 octets).(63 octets).(62 octets)</code> is not legal because the total length of the DNS name (63+1+63+1+63+1+62) exceeds 253 octets.</p> </li> </ul>
4262
+ * @public
4263
+ */
4264
+ SubjectAlternativeNames?: string[] | undefined;
4265
+ /**
4266
+ * <p>Customer chosen string that can be used to distinguish between calls to <code>RequestCertificate</code>. Idempotency tokens time out after one hour. Therefore, if you call <code>RequestCertificate</code> multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates.</p>
4267
+ * @public
4268
+ */
4269
+ IdempotencyToken?: string | undefined;
4270
+ /**
4271
+ * <p>The domain name that you want ACM to use to send you emails so that you can validate domain ownership.</p>
4272
+ * @public
4273
+ */
4274
+ DomainValidationOptions?: DomainValidationOption[] | undefined;
4275
+ /**
4276
+ * <p>You can use this parameter to specify whether to export your certificate.</p> <p>Certificate transparency logging opt-out is no longer available. ACM records all public certificates other than Amazon N2 certificates in a certificate transparency log. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency">Certificate Transparency Logging</a>.</p> <p>You can export public ACM certificates to use with Amazon Web Services services as well as outside the Amazon Web Services Cloud. For more information, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-exportable-certificates.html">Certificate Manager exportable public certificate</a>.</p>
4277
+ * @public
4278
+ */
4279
+ Options?: CertificateOptions | undefined;
4280
+ /**
4281
+ * <p>The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used to issue the certificate. If you do not provide an ARN and you are trying to request a private certificate, ACM will attempt to issue a public certificate. For more information about private CAs, see the <a href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaWelcome.html">Amazon Web Services Private Certificate Authority</a> user guide. The ARN must have the following form: </p> <p> <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code> </p>
4282
+ * @public
4283
+ */
4284
+ CertificateAuthorityArn?: string | undefined;
4285
+ /**
4286
+ * <p>One or more resource tags to associate with the certificate.</p>
4287
+ * @public
4288
+ */
4289
+ Tags?: Tag[] | undefined;
4290
+ /**
4291
+ * <p>Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but with greater computing efficiency. However, ECDSA is not supported by all network clients. Some Amazon Web Services services may require RSA keys, or only support ECDSA keys of a particular size, while others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken. Check the requirements for the Amazon Web Services service where you plan to deploy your certificate. For more information about selecting an algorithm, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate-characteristics.html#algorithms-term">Key algorithms</a>.</p> <note> <p>Algorithms supported for an ACM certificate request include: </p> <ul> <li> <p> <code>RSA_2048</code> </p> </li> <li> <p> <code>EC_prime256v1</code> </p> </li> <li> <p> <code>EC_secp384r1</code> </p> </li> </ul> <p>Other listed algorithms are for imported certificates only. </p> </note> <note> <p>When you request a private PKI certificate signed by a CA from Amazon Web Services Private CA, the specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.</p> </note> <p>Default: RSA_2048</p>
4292
+ * @public
4293
+ */
4294
+ KeyAlgorithm?: KeyAlgorithm | undefined;
4295
+ /**
4296
+ * <p>Identifies the Amazon Web Services service that manages the certificate issued by ACM.</p>
4297
+ * @public
4298
+ */
4299
+ ManagedBy?: CertificateManagedBy | undefined;
4300
+ /**
4301
+ * <p>The Extended Key Usage profile of the certificate. You can specify this parameter only when <code>RootHierarchyType</code> is <code>N2_AMAZON_MANAGED</code> or <code>N2_SFG2_AMAZON_MANAGED</code>. If you specify <code>CertificateUsage</code> with any other root hierarchy type, or without <code>RootHierarchyType</code>, the request fails with a <code>ValidationException</code>.</p> <ul> <li> <p> <code>CLIENT_AND_SERVER_AUTH</code> authenticates both the client and the server. Valid for both N2 root hierarchy types.</p> </li> <li> <p> <code>CLIENT_AUTH_ONLY</code> authenticates only the client. Valid only for <code>N2_AMAZON_MANAGED</code>.</p> </li> </ul> <p>Default: CLIENT_AND_SERVER_AUTH</p>
4302
+ * @public
4303
+ */
4304
+ CertificateUsage?: CertificateUsage | undefined;
4305
+ /**
4306
+ * <p>The root hierarchy from which ACM issues the certificate. Specify one of the following values to request an Amazon N2 certificate:</p> <ul> <li> <p> <code>N2_AMAZON_MANAGED</code> – An Amazon N2 certificate that chains to an Amazon N2 root. The maximum validity period, which is also the default, is 395 days.</p> </li> <li> <p> <code>N2_SFG2_AMAZON_MANAGED</code> – An Amazon N2 certificate that chains to an Amazon N2 root cross-signed by Starfield G2. The maximum validity period, which is also the default, is 98 days.</p> </li> </ul> <p>You cannot specify <code>RootHierarchyType</code> together with <code>CertificateAuthorityArn</code>.</p> <p>If you omit this parameter, ACM issues a standard public certificate. A request that specifies any value other than <code>N2_AMAZON_MANAGED</code> or <code>N2_SFG2_AMAZON_MANAGED</code> fails with a <code>ValidationException</code>.</p> <p>An Amazon N2 certificate request must specify a <code>ValidationMethod</code> of <code>DNS</code>. Amazon N2 certificates are not recorded in a certificate transparency log.</p> <p>A request for a validity period longer than the maximum fails with a <code>ValidationException</code>.</p> <note> <p>Algorithms supported for an N2 certificate request include: </p> <ul> <li> <p> <code>RSA_2048</code> </p> </li> <li> <p> <code>EC_prime256v1</code> </p> </li> <li> <p> <code>EC_secp384r1</code> </p> </li> </ul> </note>
4307
+ * @public
4308
+ */
4309
+ RootHierarchyType?: RootHierarchyType | undefined;
4310
+ }
4311
+ /**
4312
+ * @public
4313
+ */
4314
+ export interface RequestCertificateResponse {
4315
+ /**
4316
+ * <p>String that contains the ARN of the issued certificate. This must be of the form:</p> <p> <code>arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012</code> </p>
4317
+ * @public
4318
+ */
4319
+ CertificateArn?: string | undefined;
4320
+ }
4321
+ /**
4322
+ * @public
4323
+ */
4324
+ export interface ResendValidationEmailRequest {
4325
+ /**
4326
+ * <p>String that contains the ARN of the requested certificate. The certificate ARN is generated and returned by the <a>RequestCertificate</a> action as soon as the request is made. By default, using this parameter causes email to be sent to all top-level domains you specified in the certificate request. The ARN must be of the form: </p> <p> <code>arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012</code> </p>
4327
+ * @public
4328
+ */
4329
+ CertificateArn: string | undefined;
4330
+ /**
4331
+ * <p>The fully qualified domain name (FQDN) of the certificate that needs to be validated.</p>
4332
+ * @public
4333
+ */
4334
+ Domain: string | undefined;
4335
+ /**
4336
+ * <p>The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as the <code>Domain</code> value or a superdomain of the <code>Domain</code> value. For example, if you requested a certificate for <code>site.subdomain.example.com</code> and specify a <b>ValidationDomain</b> of <code>subdomain.example.com</code>, ACM sends email to the the following five addresses:</p> <ul> <li> <p>admin@subdomain.example.com</p> </li> <li> <p>administrator@subdomain.example.com</p> </li> <li> <p>hostmaster@subdomain.example.com</p> </li> <li> <p>postmaster@subdomain.example.com</p> </li> <li> <p>webmaster@subdomain.example.com</p> </li> </ul>
4337
+ * @public
4338
+ */
4339
+ ValidationDomain: string | undefined;
4340
+ }
4341
+ /**
4342
+ * @public
4343
+ */
4344
+ export interface RestoreMemberCertificateAuthorityInput {
4345
+ /**
4346
+ * The ARN of the certificate authority to restore.
4347
+ * @public
4348
+ */
4349
+ CertificateAuthorityArn: string | undefined;
4350
+ }
4351
+ /**
4352
+ * @public
4353
+ */
4354
+ export interface RestoreMemberCertificateAuthorityOutput {
4355
+ }
4356
+ /**
4357
+ * @public
4358
+ */
4359
+ export interface RevokeAcmeAccountRequest {
4360
+ /**
4361
+ * <p>The Amazon Resource Name (ARN) of the ACME endpoint.</p>
4362
+ * @public
4363
+ */
4364
+ AcmeEndpointArn: string | undefined;
4365
+ /**
4366
+ * <p>The URL of the ACME account to revoke.</p>
4367
+ * @public
4368
+ */
4369
+ AccountUrl: string | undefined;
4370
+ }
4371
+ /**
4372
+ * @public
4373
+ */
4374
+ export interface RevokeAcmeExternalAccountBindingRequest {
4375
+ /**
4376
+ * <p>The Amazon Resource Name (ARN) of the ACME external account binding to revoke.</p>
4377
+ * @public
4378
+ */
4379
+ AcmeExternalAccountBindingArn: string | undefined;
4380
+ }
4381
+ /**
4382
+ * @public
4383
+ */
4384
+ export interface RevokeCertificateRequest {
4385
+ /**
4386
+ * <p>The Amazon Resource Name (ARN) of the public or private certificate that will be revoked. The ARN must have the following form: </p> <p> <code>arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012</code> </p>
4387
+ * @public
4388
+ */
4389
+ CertificateArn: string | undefined;
4390
+ /**
4391
+ * <p>Specifies why you revoked the certificate.</p>
4392
+ * @public
4393
+ */
4394
+ RevocationReason: RevocationReason | undefined;
4395
+ }
4396
+ /**
4397
+ * @public
4398
+ */
4399
+ export interface RevokeCertificateResponse {
4400
+ /**
4401
+ * <p>The Amazon Resource Name (ARN) of the public or private certificate that was revoked.</p>
4402
+ * @public
4403
+ */
4404
+ CertificateArn?: string | undefined;
4405
+ }
4406
+ /**
4407
+ * @public
4408
+ */
4409
+ export interface RevokeMemberCertificateInput {
4410
+ /**
4411
+ * The ARN of the certificate to revoke.
4412
+ * @public
4413
+ */
4414
+ CertificateArn: string | undefined;
4415
+ /**
4416
+ * Why the certificate is revoked.
4417
+ * @public
4418
+ */
4419
+ RevocationReason: AcmRevocationReason | undefined;
4420
+ }
4421
+ /**
4422
+ * @public
4423
+ */
4424
+ export interface RevokeMemberCertificateOutput {
4425
+ /**
4426
+ * The ARN of the revoked certificate, as ACM returns it.
4427
+ * @public
4428
+ */
4429
+ CertificateArn?: string | undefined;
4430
+ }
4431
+ /**
4432
+ * @public
4433
+ */
4434
+ export interface RevokeMemberIssuedCertificateInput {
4435
+ /**
4436
+ * The ARN of the certificate authority that issued the certificate.
4437
+ * @public
4438
+ */
4439
+ CertificateAuthorityArn: string | undefined;
4440
+ /**
4441
+ * The serial number of the certificate to revoke.
4442
+ * @public
4443
+ */
4444
+ CertificateSerial: string | undefined;
4445
+ /**
4446
+ * Why the certificate is revoked.
4447
+ * @public
4448
+ */
4449
+ RevocationReason: PrivateCaRevocationReason | undefined;
4450
+ }
4451
+ /**
4452
+ * @public
4453
+ */
4454
+ export interface RevokeMemberIssuedCertificateOutput {
4455
+ }
4456
+ /**
4457
+ * <p>Contains metadata about a certificate. Currently supports ACM certificate metadata.</p>
4458
+ * @public
4459
+ */
4460
+ export type CertificateMetadata = CertificateMetadata.AcmCertificateMetadataMember | CertificateMetadata.$UnknownMember;
4461
+ /**
4462
+ * @public
4463
+ */
4464
+ export declare namespace CertificateMetadata {
4465
+ /**
4466
+ * <p>Metadata for an ACM certificate.</p>
4467
+ * @public
4468
+ */
4469
+ interface AcmCertificateMetadataMember {
4470
+ AcmCertificateMetadata: AcmCertificateMetadata;
4471
+ $unknown?: never;
4472
+ }
4473
+ /**
4474
+ * @public
4475
+ */
4476
+ interface $UnknownMember {
4477
+ AcmCertificateMetadata?: never;
4478
+ $unknown: [string, any];
4479
+ }
4480
+ /**
4481
+ * @deprecated unused in schema-serde mode.
4482
+ *
4483
+ */
4484
+ interface Visitor<T> {
4485
+ AcmCertificateMetadata: (value: AcmCertificateMetadata) => T;
4486
+ _: (name: string, value: any) => T;
4487
+ }
4488
+ }
4489
+ /**
4490
+ * <p>Defines the X.500 relative distinguished name (RDN).</p>
4491
+ * @public
4492
+ */
4493
+ export interface CustomAttribute {
4494
+ /**
4495
+ * <p>Specifies the object identifier (OID) of the attribute type of the relative distinguished name (RDN).</p>
4496
+ * @public
4497
+ */
4498
+ ObjectIdentifier?: string | undefined;
4499
+ /**
4500
+ * <p>Specifies the attribute value of relative distinguished name (RDN).</p>
4501
+ * @public
4502
+ */
4503
+ Value?: string | undefined;
4504
+ }
4505
+ /**
4506
+ * <p>Contains X.500 distinguished name information.</p>
4507
+ * @public
4508
+ */
4509
+ export interface DistinguishedName {
4510
+ /**
4511
+ * <p>The common name (CN) attribute.</p>
4512
+ * @public
4513
+ */
4514
+ CommonName?: string | undefined;
4515
+ /**
4516
+ * <p>The domain component attributes.</p>
4517
+ * @public
4518
+ */
4519
+ DomainComponents?: string[] | undefined;
4520
+ /**
4521
+ * <p>The country (C) attribute.</p>
4522
+ * @public
4523
+ */
4524
+ Country?: string | undefined;
4525
+ /**
4526
+ * <p>A list of custom attributes in the distinguished name. Each custom attribute contains an object identifier (OID) and its corresponding value.</p>
4527
+ * @public
4528
+ */
4529
+ CustomAttributes?: CustomAttribute[] | undefined;
4530
+ /**
4531
+ * <p>The distinguished name qualifier attribute.</p>
4532
+ * @public
4533
+ */
4534
+ DistinguishedNameQualifier?: string | undefined;
4535
+ /**
4536
+ * <p>The generation qualifier attribute.</p>
4537
+ * @public
4538
+ */
4539
+ GenerationQualifier?: string | undefined;
4540
+ /**
4541
+ * <p>The given name attribute.</p>
4542
+ * @public
4543
+ */
4544
+ GivenName?: string | undefined;
4545
+ /**
4546
+ * <p>The initials attribute.</p>
4547
+ * @public
4548
+ */
4549
+ Initials?: string | undefined;
4550
+ /**
4551
+ * <p>The locality (L) attribute.</p>
4552
+ * @public
4553
+ */
4554
+ Locality?: string | undefined;
4555
+ /**
4556
+ * <p>The organization (O) attribute.</p>
4557
+ * @public
4558
+ */
4559
+ Organization?: string | undefined;
4560
+ /**
4561
+ * <p>The organizational unit (OU) attribute.</p>
4562
+ * @public
4563
+ */
4564
+ OrganizationalUnit?: string | undefined;
4565
+ /**
4566
+ * <p>The pseudonym attribute.</p>
4567
+ * @public
4568
+ */
4569
+ Pseudonym?: string | undefined;
4570
+ /**
4571
+ * <p>The serial number attribute.</p>
4572
+ * @public
4573
+ */
4574
+ SerialNumber?: string | undefined;
4575
+ /**
2975
4576
  * <p>The state or province (ST) attribute.</p>
2976
4577
  * @public
2977
4578
  */
2978
- State?: string | undefined;
4579
+ State?: string | undefined;
4580
+ /**
4581
+ * <p>The surname attribute.</p>
4582
+ * @public
4583
+ */
4584
+ Surname?: string | undefined;
4585
+ /**
4586
+ * <p>The title attribute.</p>
4587
+ * @public
4588
+ */
4589
+ Title?: string | undefined;
4590
+ }
4591
+ /**
4592
+ * <p>Defines a custom ASN.1 X.400 <code>GeneralName</code> using an object identifier (OID) and value. For more information, see NIST's definition of <a href="https://csrc.nist.gov/glossary/term/Object_Identifier">Object Identifier (OID)</a>.</p>
4593
+ * @public
4594
+ */
4595
+ export interface OtherName {
4596
+ /**
4597
+ * <p>Specifies an OID.</p>
4598
+ * @public
4599
+ */
4600
+ ObjectIdentifier?: string | undefined;
4601
+ /**
4602
+ * <p>Specifies an OID value.</p>
4603
+ * @public
4604
+ */
4605
+ Value?: string | undefined;
4606
+ }
4607
+ /**
4608
+ * <p>Describes an ASN.1 X.400 <code>GeneralName</code> as defined in <a href="https://datatracker.ietf.org/doc/html/rfc5280">RFC 5280</a>. Only one of the following naming options should be provided.</p>
4609
+ * @public
4610
+ */
4611
+ export type GeneralName = GeneralName.DirectoryNameMember | GeneralName.DnsNameMember | GeneralName.IpAddressMember | GeneralName.OtherNameMember | GeneralName.RegisteredIdMember | GeneralName.Rfc822NameMember | GeneralName.UniformResourceIdentifierMember | GeneralName.$UnknownMember;
4612
+ /**
4613
+ * @public
4614
+ */
4615
+ export declare namespace GeneralName {
4616
+ /**
4617
+ * <p>Contains information about the certificate subject. The <code>Subject</code> field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The <code>Subject</code> must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.</p>
4618
+ * @public
4619
+ */
4620
+ interface DirectoryNameMember {
4621
+ DirectoryName: DistinguishedName;
4622
+ DnsName?: never;
4623
+ IpAddress?: never;
4624
+ OtherName?: never;
4625
+ RegisteredId?: never;
4626
+ Rfc822Name?: never;
4627
+ UniformResourceIdentifier?: never;
4628
+ $unknown?: never;
4629
+ }
4630
+ /**
4631
+ * <p>Represents <code>GeneralName</code> as a DNS name.</p>
4632
+ * @public
4633
+ */
4634
+ interface DnsNameMember {
4635
+ DirectoryName?: never;
4636
+ DnsName: string;
4637
+ IpAddress?: never;
4638
+ OtherName?: never;
4639
+ RegisteredId?: never;
4640
+ Rfc822Name?: never;
4641
+ UniformResourceIdentifier?: never;
4642
+ $unknown?: never;
4643
+ }
4644
+ /**
4645
+ * <p>Represents <code>GeneralName</code> as an IPv4 or IPv6 address.</p>
4646
+ * @public
4647
+ */
4648
+ interface IpAddressMember {
4649
+ DirectoryName?: never;
4650
+ DnsName?: never;
4651
+ IpAddress: string;
4652
+ OtherName?: never;
4653
+ RegisteredId?: never;
4654
+ Rfc822Name?: never;
4655
+ UniformResourceIdentifier?: never;
4656
+ $unknown?: never;
4657
+ }
4658
+ /**
4659
+ * <p>Represents <code>GeneralName</code> using an <code>OtherName</code> object.</p>
4660
+ * @public
4661
+ */
4662
+ interface OtherNameMember {
4663
+ DirectoryName?: never;
4664
+ DnsName?: never;
4665
+ IpAddress?: never;
4666
+ OtherName: OtherName;
4667
+ RegisteredId?: never;
4668
+ Rfc822Name?: never;
4669
+ UniformResourceIdentifier?: never;
4670
+ $unknown?: never;
4671
+ }
4672
+ /**
4673
+ * <p>Represents <code>GeneralName</code> as an object identifier (OID).</p>
4674
+ * @public
4675
+ */
4676
+ interface RegisteredIdMember {
4677
+ DirectoryName?: never;
4678
+ DnsName?: never;
4679
+ IpAddress?: never;
4680
+ OtherName?: never;
4681
+ RegisteredId: string;
4682
+ Rfc822Name?: never;
4683
+ UniformResourceIdentifier?: never;
4684
+ $unknown?: never;
4685
+ }
4686
+ /**
4687
+ * <p>Represents <code>GeneralName</code> as an <a href="https://datatracker.ietf.org/doc/html/rfc822">RFC 822</a> email address.</p>
4688
+ * @public
4689
+ */
4690
+ interface Rfc822NameMember {
4691
+ DirectoryName?: never;
4692
+ DnsName?: never;
4693
+ IpAddress?: never;
4694
+ OtherName?: never;
4695
+ RegisteredId?: never;
4696
+ Rfc822Name: string;
4697
+ UniformResourceIdentifier?: never;
4698
+ $unknown?: never;
4699
+ }
4700
+ /**
4701
+ * <p>Represents <code>GeneralName</code> as a URI.</p>
4702
+ * @public
4703
+ */
4704
+ interface UniformResourceIdentifierMember {
4705
+ DirectoryName?: never;
4706
+ DnsName?: never;
4707
+ IpAddress?: never;
4708
+ OtherName?: never;
4709
+ RegisteredId?: never;
4710
+ Rfc822Name?: never;
4711
+ UniformResourceIdentifier: string;
4712
+ $unknown?: never;
4713
+ }
4714
+ /**
4715
+ * @public
4716
+ */
4717
+ interface $UnknownMember {
4718
+ DirectoryName?: never;
4719
+ DnsName?: never;
4720
+ IpAddress?: never;
4721
+ OtherName?: never;
4722
+ RegisteredId?: never;
4723
+ Rfc822Name?: never;
4724
+ UniformResourceIdentifier?: never;
4725
+ $unknown: [string, any];
4726
+ }
4727
+ /**
4728
+ * @deprecated unused in schema-serde mode.
4729
+ *
4730
+ */
4731
+ interface Visitor<T> {
4732
+ DirectoryName: (value: DistinguishedName) => T;
4733
+ DnsName: (value: string) => T;
4734
+ IpAddress: (value: string) => T;
4735
+ OtherName: (value: OtherName) => T;
4736
+ RegisteredId: (value: string) => T;
4737
+ Rfc822Name: (value: string) => T;
4738
+ UniformResourceIdentifier: (value: string) => T;
4739
+ _: (name: string, value: any) => T;
4740
+ }
4741
+ }
4742
+ /**
4743
+ * <p>Contains X.509 certificate attributes extracted from the certificate.</p>
4744
+ * @public
4745
+ */
4746
+ export interface X509Attributes {
4747
+ /**
4748
+ * <p>The distinguished name of the certificate issuer.</p>
4749
+ * @public
4750
+ */
4751
+ Issuer?: DistinguishedName | undefined;
4752
+ /**
4753
+ * <p>The distinguished name of the certificate subject.</p>
4754
+ * @public
4755
+ */
4756
+ Subject?: DistinguishedName | undefined;
4757
+ /**
4758
+ * <p>One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website. </p>
4759
+ * @public
4760
+ */
4761
+ SubjectAlternativeNames?: GeneralName[] | undefined;
4762
+ /**
4763
+ * <p>Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID). </p>
4764
+ * @public
4765
+ */
4766
+ ExtendedKeyUsages?: ExtendedKeyUsageName[] | undefined;
4767
+ /**
4768
+ * <p>The algorithm that was used to generate the public-private key pair.</p>
4769
+ * @public
4770
+ */
4771
+ KeyAlgorithm?: KeyAlgorithm | undefined;
4772
+ /**
4773
+ * <p>A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the purpose of the public key contained in the certificate. Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.</p>
4774
+ * @public
4775
+ */
4776
+ KeyUsages?: KeyUsageName[] | undefined;
4777
+ /**
4778
+ * <p>The serial number assigned by the certificate authority.</p>
4779
+ * @public
4780
+ */
4781
+ SerialNumber?: string | undefined;
4782
+ /**
4783
+ * <p>The time after which the certificate is not valid.</p>
4784
+ * @public
4785
+ */
4786
+ NotAfter?: Date | undefined;
4787
+ /**
4788
+ * <p>The time before which the certificate is not valid.</p>
4789
+ * @public
4790
+ */
4791
+ NotBefore?: Date | undefined;
4792
+ }
4793
+ /**
4794
+ * <p>Contains information about a certificate returned by the <a>SearchCertificates</a> action. This structure includes the certificate ARN, X.509 attributes, and ACM metadata.</p>
4795
+ * @public
4796
+ */
4797
+ export interface CertificateSearchResult {
4798
+ /**
4799
+ * <p>The Amazon Resource Name (ARN) of the certificate.</p>
4800
+ * @public
4801
+ */
4802
+ CertificateArn?: string | undefined;
2979
4803
  /**
2980
- * <p>The surname attribute.</p>
4804
+ * <p>X.509 certificate attributes such as subject, issuer, and validity period.</p>
2981
4805
  * @public
2982
4806
  */
2983
- Surname?: string | undefined;
4807
+ X509Attributes?: X509Attributes | undefined;
2984
4808
  /**
2985
- * <p>The title attribute.</p>
4809
+ * <p>ACM-specific metadata about the certificate.</p>
2986
4810
  * @public
2987
4811
  */
2988
- Title?: string | undefined;
4812
+ CertificateMetadata?: CertificateMetadata | undefined;
2989
4813
  }
2990
4814
  /**
2991
- * <p>Defines a custom ASN.1 X.400 <code>GeneralName</code> using an object identifier (OID) and value. For more information, see NIST's definition of <a href="https://csrc.nist.gov/glossary/term/Object_Identifier">Object Identifier (OID)</a>.</p>
2992
4815
  * @public
2993
4816
  */
2994
- export interface OtherName {
4817
+ export interface SearchCertificatesResponse {
2995
4818
  /**
2996
- * <p>Specifies an OID.</p>
4819
+ * <p>A list of certificate search results containing certificate ARNs, X.509 attributes, and ACM metadata.</p>
2997
4820
  * @public
2998
4821
  */
2999
- ObjectIdentifier?: string | undefined;
4822
+ Results?: CertificateSearchResult[] | undefined;
3000
4823
  /**
3001
- * <p>Specifies an OID value.</p>
4824
+ * <p>When the list is truncated, this value is present and contains the value to use for the <code>NextToken</code> parameter in a subsequent pagination request.</p>
3002
4825
  * @public
3003
4826
  */
3004
- Value?: string | undefined;
4827
+ NextToken?: string | undefined;
3005
4828
  }
3006
4829
  /**
3007
- * <p>Describes an ASN.1 X.400 <code>GeneralName</code> as defined in <a href="https://datatracker.ietf.org/doc/html/rfc5280">RFC 5280</a>. Only one of the following naming options should be provided.</p>
4830
+ * A domain name and how to match it.
4831
+ * - EQUALS matches the name exactly.
4832
+ * - IN_DOMAIN matches the name and every name under it, at label boundaries. For example, example.com matches
4833
+ * www.example.com but not notexample.com.
4834
+ * - CONTAINS matches every name that contains the value anywhere. For example, example matches www.example.com and
4835
+ * notexample.org.
4836
+ *
4837
+ * An asterisk is always matched literally. For example, *.example.com does not match www.example.com.
3008
4838
  * @public
3009
4839
  */
3010
- export type GeneralName = GeneralName.DirectoryNameMember | GeneralName.DnsNameMember | GeneralName.IpAddressMember | GeneralName.OtherNameMember | GeneralName.RegisteredIdMember | GeneralName.Rfc822NameMember | GeneralName.UniformResourceIdentifierMember | GeneralName.$UnknownMember;
4840
+ export interface DomainPredicate {
4841
+ /**
4842
+ * The domain name, 1 to 253 characters. For CONTAINS, part of a name, 3 to 253 characters: letters, digits,
4843
+ * hyphens, and dots, optionally after a leading `*.`.
4844
+ * @public
4845
+ */
4846
+ Value: string | undefined;
4847
+ /**
4848
+ * How to match the domain name.
4849
+ * @public
4850
+ */
4851
+ Match: DomainMatch | undefined;
4852
+ }
3011
4853
  /**
4854
+ * A time range that includes After and excludes Before. Set at least one of them.
3012
4855
  * @public
3013
4856
  */
3014
- export declare namespace GeneralName {
4857
+ export interface InventoryTimeRange {
3015
4858
  /**
3016
- * <p>Contains information about the certificate subject. The <code>Subject</code> field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The <code>Subject</code> must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.</p>
4859
+ * The start of the range, included.
3017
4860
  * @public
3018
4861
  */
3019
- interface DirectoryNameMember {
3020
- DirectoryName: DistinguishedName;
3021
- DnsName?: never;
3022
- IpAddress?: never;
3023
- OtherName?: never;
3024
- RegisteredId?: never;
3025
- Rfc822Name?: never;
3026
- UniformResourceIdentifier?: never;
4862
+ After?: Date | undefined;
4863
+ /**
4864
+ * The end of the range, excluded. Must be later than After.
4865
+ * @public
4866
+ */
4867
+ Before?: Date | undefined;
4868
+ }
4869
+ /**
4870
+ * An AWS Private Certificate Authority (AWS Private CA) certificate authority ARN and how certificates relate to it.
4871
+ * ISSUED_BY matches the certificates the certificate authority issued. CA_CERTIFICATE matches the certificate
4872
+ * authority's own certificate. Both reflect the inventory as of its last update of each certificate. An ARN the
4873
+ * inventory has not collected matches nothing.
4874
+ * @public
4875
+ */
4876
+ export interface PrivateCaCertificateAuthorityArnPredicate {
4877
+ /**
4878
+ * The ARN of the AWS Private CA certificate authority.
4879
+ * @public
4880
+ */
4881
+ Value: string | undefined;
4882
+ /**
4883
+ * How a matching certificate relates to the certificate authority.
4884
+ * @public
4885
+ */
4886
+ Relationship: PrivateCaCertificateAuthorityRelationship | undefined;
4887
+ }
4888
+ /**
4889
+ * One condition on a certificate. Set exactly one member.
4890
+ * @public
4891
+ */
4892
+ export type InventoryFilterPredicate = InventoryFilterPredicate.AccountIdMember | InventoryFilterPredicate.AcmCertificateArnMember | InventoryFilterPredicate.DomainMember | InventoryFilterPredicate.HighestFindingSeverityMember | InventoryFilterPredicate.IdentifierMember | InventoryFilterPredicate.IssuanceTypeMember | InventoryFilterPredicate.IssuerMember | InventoryFilterPredicate.IssuerWordsMember | InventoryFilterPredicate.KeyAlgorithmMember | InventoryFilterPredicate.MaterialTypeMember | InventoryFilterPredicate.NotAfterMember | InventoryFilterPredicate.PcaCertificateArnMember | InventoryFilterPredicate.PcaCertificateAuthorityArnMember | InventoryFilterPredicate.RegionMember | InventoryFilterPredicate.RelatedResourceTypeMember | InventoryFilterPredicate.SignatureAlgorithmMember | InventoryFilterPredicate.UsageStatusMember | InventoryFilterPredicate.$UnknownMember;
4893
+ /**
4894
+ * @public
4895
+ */
4896
+ export declare namespace InventoryFilterPredicate {
4897
+ /**
4898
+ * Matches one certificate by its identifier. Used alone, it looks up a single certificate.
4899
+ * @public
4900
+ */
4901
+ interface IdentifierMember {
4902
+ Identifier: string;
4903
+ MaterialType?: never;
4904
+ AccountId?: never;
4905
+ Region?: never;
4906
+ IssuanceType?: never;
4907
+ KeyAlgorithm?: never;
4908
+ UsageStatus?: never;
4909
+ Issuer?: never;
4910
+ Domain?: never;
4911
+ NotAfter?: never;
4912
+ RelatedResourceType?: never;
4913
+ HighestFindingSeverity?: never;
4914
+ AcmCertificateArn?: never;
4915
+ PcaCertificateArn?: never;
4916
+ PcaCertificateAuthorityArn?: never;
4917
+ IssuerWords?: never;
4918
+ SignatureAlgorithm?: never;
3027
4919
  $unknown?: never;
3028
4920
  }
3029
4921
  /**
3030
- * <p>Represents <code>GeneralName</code> as a DNS name.</p>
4922
+ * Matches the certificate's material type.
3031
4923
  * @public
3032
4924
  */
3033
- interface DnsNameMember {
3034
- DirectoryName?: never;
3035
- DnsName: string;
3036
- IpAddress?: never;
3037
- OtherName?: never;
3038
- RegisteredId?: never;
3039
- Rfc822Name?: never;
3040
- UniformResourceIdentifier?: never;
4925
+ interface MaterialTypeMember {
4926
+ Identifier?: never;
4927
+ MaterialType: MaterialType;
4928
+ AccountId?: never;
4929
+ Region?: never;
4930
+ IssuanceType?: never;
4931
+ KeyAlgorithm?: never;
4932
+ UsageStatus?: never;
4933
+ Issuer?: never;
4934
+ Domain?: never;
4935
+ NotAfter?: never;
4936
+ RelatedResourceType?: never;
4937
+ HighestFindingSeverity?: never;
4938
+ AcmCertificateArn?: never;
4939
+ PcaCertificateArn?: never;
4940
+ PcaCertificateAuthorityArn?: never;
4941
+ IssuerWords?: never;
4942
+ SignatureAlgorithm?: never;
3041
4943
  $unknown?: never;
3042
4944
  }
3043
4945
  /**
3044
- * <p>Represents <code>GeneralName</code> as an IPv4 or IPv6 address.</p>
4946
+ * Matches certificates with a related resource in this account. An account outside the organization matches
4947
+ * nothing. When you combine it with Region, the account and the Region can come from different related resources.
3045
4948
  * @public
3046
4949
  */
3047
- interface IpAddressMember {
3048
- DirectoryName?: never;
3049
- DnsName?: never;
3050
- IpAddress: string;
3051
- OtherName?: never;
3052
- RegisteredId?: never;
3053
- Rfc822Name?: never;
3054
- UniformResourceIdentifier?: never;
4950
+ interface AccountIdMember {
4951
+ Identifier?: never;
4952
+ MaterialType?: never;
4953
+ AccountId: string;
4954
+ Region?: never;
4955
+ IssuanceType?: never;
4956
+ KeyAlgorithm?: never;
4957
+ UsageStatus?: never;
4958
+ Issuer?: never;
4959
+ Domain?: never;
4960
+ NotAfter?: never;
4961
+ RelatedResourceType?: never;
4962
+ HighestFindingSeverity?: never;
4963
+ AcmCertificateArn?: never;
4964
+ PcaCertificateArn?: never;
4965
+ PcaCertificateAuthorityArn?: never;
4966
+ IssuerWords?: never;
4967
+ SignatureAlgorithm?: never;
3055
4968
  $unknown?: never;
3056
4969
  }
3057
4970
  /**
3058
- * <p>Represents <code>GeneralName</code> using an <code>OtherName</code> object.</p>
4971
+ * Matches certificates with a related resource in this Region. When you combine it with AccountId, the account and
4972
+ * the Region can come from different related resources.
3059
4973
  * @public
3060
4974
  */
3061
- interface OtherNameMember {
3062
- DirectoryName?: never;
3063
- DnsName?: never;
3064
- IpAddress?: never;
3065
- OtherName: OtherName;
3066
- RegisteredId?: never;
3067
- Rfc822Name?: never;
3068
- UniformResourceIdentifier?: never;
4975
+ interface RegionMember {
4976
+ Identifier?: never;
4977
+ MaterialType?: never;
4978
+ AccountId?: never;
4979
+ Region: string;
4980
+ IssuanceType?: never;
4981
+ KeyAlgorithm?: never;
4982
+ UsageStatus?: never;
4983
+ Issuer?: never;
4984
+ Domain?: never;
4985
+ NotAfter?: never;
4986
+ RelatedResourceType?: never;
4987
+ HighestFindingSeverity?: never;
4988
+ AcmCertificateArn?: never;
4989
+ PcaCertificateArn?: never;
4990
+ PcaCertificateAuthorityArn?: never;
4991
+ IssuerWords?: never;
4992
+ SignatureAlgorithm?: never;
3069
4993
  $unknown?: never;
3070
4994
  }
3071
4995
  /**
3072
- * <p>Represents <code>GeneralName</code> as an object identifier (OID).</p>
4996
+ * Matches the certificate's X509Details.IssuanceType, not the issuance type of a related resource.
3073
4997
  * @public
3074
4998
  */
3075
- interface RegisteredIdMember {
3076
- DirectoryName?: never;
3077
- DnsName?: never;
3078
- IpAddress?: never;
3079
- OtherName?: never;
3080
- RegisteredId: string;
3081
- Rfc822Name?: never;
3082
- UniformResourceIdentifier?: never;
4999
+ interface IssuanceTypeMember {
5000
+ Identifier?: never;
5001
+ MaterialType?: never;
5002
+ AccountId?: never;
5003
+ Region?: never;
5004
+ IssuanceType: IssuanceType;
5005
+ KeyAlgorithm?: never;
5006
+ UsageStatus?: never;
5007
+ Issuer?: never;
5008
+ Domain?: never;
5009
+ NotAfter?: never;
5010
+ RelatedResourceType?: never;
5011
+ HighestFindingSeverity?: never;
5012
+ AcmCertificateArn?: never;
5013
+ PcaCertificateArn?: never;
5014
+ PcaCertificateAuthorityArn?: never;
5015
+ IssuerWords?: never;
5016
+ SignatureAlgorithm?: never;
3083
5017
  $unknown?: never;
3084
5018
  }
3085
5019
  /**
3086
- * <p>Represents <code>GeneralName</code> as an <a href="https://datatracker.ietf.org/doc/html/rfc822">RFC 822</a> email address.</p>
5020
+ * Matches the certificate's key algorithm.
3087
5021
  * @public
3088
5022
  */
3089
- interface Rfc822NameMember {
3090
- DirectoryName?: never;
3091
- DnsName?: never;
3092
- IpAddress?: never;
3093
- OtherName?: never;
3094
- RegisteredId?: never;
3095
- Rfc822Name: string;
3096
- UniformResourceIdentifier?: never;
5023
+ interface KeyAlgorithmMember {
5024
+ Identifier?: never;
5025
+ MaterialType?: never;
5026
+ AccountId?: never;
5027
+ Region?: never;
5028
+ IssuanceType?: never;
5029
+ KeyAlgorithm: InventoryKeyAlgorithm;
5030
+ UsageStatus?: never;
5031
+ Issuer?: never;
5032
+ Domain?: never;
5033
+ NotAfter?: never;
5034
+ RelatedResourceType?: never;
5035
+ HighestFindingSeverity?: never;
5036
+ AcmCertificateArn?: never;
5037
+ PcaCertificateArn?: never;
5038
+ PcaCertificateAuthorityArn?: never;
5039
+ IssuerWords?: never;
5040
+ SignatureAlgorithm?: never;
3097
5041
  $unknown?: never;
3098
5042
  }
3099
5043
  /**
3100
- * <p>Represents <code>GeneralName</code> as a URI.</p>
5044
+ * IN_USE matches certificates observed in use; NOT_IN_USE matches certificates with no observed usages.
3101
5045
  * @public
3102
5046
  */
3103
- interface UniformResourceIdentifierMember {
3104
- DirectoryName?: never;
3105
- DnsName?: never;
3106
- IpAddress?: never;
3107
- OtherName?: never;
3108
- RegisteredId?: never;
3109
- Rfc822Name?: never;
3110
- UniformResourceIdentifier: string;
5047
+ interface UsageStatusMember {
5048
+ Identifier?: never;
5049
+ MaterialType?: never;
5050
+ AccountId?: never;
5051
+ Region?: never;
5052
+ IssuanceType?: never;
5053
+ KeyAlgorithm?: never;
5054
+ UsageStatus: InventoryUsageStatus;
5055
+ Issuer?: never;
5056
+ Domain?: never;
5057
+ NotAfter?: never;
5058
+ RelatedResourceType?: never;
5059
+ HighestFindingSeverity?: never;
5060
+ AcmCertificateArn?: never;
5061
+ PcaCertificateArn?: never;
5062
+ PcaCertificateAuthorityArn?: never;
5063
+ IssuerWords?: never;
5064
+ SignatureAlgorithm?: never;
5065
+ $unknown?: never;
5066
+ }
5067
+ /**
5068
+ * Matches the certificate's X509Details.Issuer distinguished name exactly, including case. It does not
5069
+ * match a certificate authority ARN. To match part of the name, use IssuerWords.
5070
+ * @public
5071
+ */
5072
+ interface IssuerMember {
5073
+ Identifier?: never;
5074
+ MaterialType?: never;
5075
+ AccountId?: never;
5076
+ Region?: never;
5077
+ IssuanceType?: never;
5078
+ KeyAlgorithm?: never;
5079
+ UsageStatus?: never;
5080
+ Issuer: string;
5081
+ Domain?: never;
5082
+ NotAfter?: never;
5083
+ RelatedResourceType?: never;
5084
+ HighestFindingSeverity?: never;
5085
+ AcmCertificateArn?: never;
5086
+ PcaCertificateArn?: never;
5087
+ PcaCertificateAuthorityArn?: never;
5088
+ IssuerWords?: never;
5089
+ SignatureAlgorithm?: never;
5090
+ $unknown?: never;
5091
+ }
5092
+ /**
5093
+ * Matches the certificate's DNS subject alternative names and subject common name, without regard to case.
5094
+ * @public
5095
+ */
5096
+ interface DomainMember {
5097
+ Identifier?: never;
5098
+ MaterialType?: never;
5099
+ AccountId?: never;
5100
+ Region?: never;
5101
+ IssuanceType?: never;
5102
+ KeyAlgorithm?: never;
5103
+ UsageStatus?: never;
5104
+ Issuer?: never;
5105
+ Domain: DomainPredicate;
5106
+ NotAfter?: never;
5107
+ RelatedResourceType?: never;
5108
+ HighestFindingSeverity?: never;
5109
+ AcmCertificateArn?: never;
5110
+ PcaCertificateArn?: never;
5111
+ PcaCertificateAuthorityArn?: never;
5112
+ IssuerWords?: never;
5113
+ SignatureAlgorithm?: never;
5114
+ $unknown?: never;
5115
+ }
5116
+ /**
5117
+ * Matches certificates whose NotAfter falls in the range.
5118
+ * @public
5119
+ */
5120
+ interface NotAfterMember {
5121
+ Identifier?: never;
5122
+ MaterialType?: never;
5123
+ AccountId?: never;
5124
+ Region?: never;
5125
+ IssuanceType?: never;
5126
+ KeyAlgorithm?: never;
5127
+ UsageStatus?: never;
5128
+ Issuer?: never;
5129
+ Domain?: never;
5130
+ NotAfter: InventoryTimeRange;
5131
+ RelatedResourceType?: never;
5132
+ HighestFindingSeverity?: never;
5133
+ AcmCertificateArn?: never;
5134
+ PcaCertificateArn?: never;
5135
+ PcaCertificateAuthorityArn?: never;
5136
+ IssuerWords?: never;
5137
+ SignatureAlgorithm?: never;
5138
+ $unknown?: never;
5139
+ }
5140
+ /**
5141
+ * Matches certificates with a related resource of this type. Usage targets, such as load balancers, are
5142
+ * not related resources.
5143
+ * @public
5144
+ */
5145
+ interface RelatedResourceTypeMember {
5146
+ Identifier?: never;
5147
+ MaterialType?: never;
5148
+ AccountId?: never;
5149
+ Region?: never;
5150
+ IssuanceType?: never;
5151
+ KeyAlgorithm?: never;
5152
+ UsageStatus?: never;
5153
+ Issuer?: never;
5154
+ Domain?: never;
5155
+ NotAfter?: never;
5156
+ RelatedResourceType: RelatedResourceType;
5157
+ HighestFindingSeverity?: never;
5158
+ AcmCertificateArn?: never;
5159
+ PcaCertificateArn?: never;
5160
+ PcaCertificateAuthorityArn?: never;
5161
+ IssuerWords?: never;
5162
+ SignatureAlgorithm?: never;
5163
+ $unknown?: never;
5164
+ }
5165
+ /**
5166
+ * Matches the certificate's HighestFindingSeverity. NOT_EVALUATED matches exactly the certificates whose
5167
+ * findings have not been evaluated yet.
5168
+ * @public
5169
+ */
5170
+ interface HighestFindingSeverityMember {
5171
+ Identifier?: never;
5172
+ MaterialType?: never;
5173
+ AccountId?: never;
5174
+ Region?: never;
5175
+ IssuanceType?: never;
5176
+ KeyAlgorithm?: never;
5177
+ UsageStatus?: never;
5178
+ Issuer?: never;
5179
+ Domain?: never;
5180
+ NotAfter?: never;
5181
+ RelatedResourceType?: never;
5182
+ HighestFindingSeverity: CertificateHealthSeverity;
5183
+ AcmCertificateArn?: never;
5184
+ PcaCertificateArn?: never;
5185
+ PcaCertificateAuthorityArn?: never;
5186
+ IssuerWords?: never;
5187
+ SignatureAlgorithm?: never;
5188
+ $unknown?: never;
5189
+ }
5190
+ /**
5191
+ * Matches certificates by the ARN of a related ACM certificate. It can match the certificate the ACM certificate
5192
+ * holds now, or every certificate it has held. The ARN is compared exactly, case included, as ACM reports it.
5193
+ * @public
5194
+ */
5195
+ interface AcmCertificateArnMember {
5196
+ Identifier?: never;
5197
+ MaterialType?: never;
5198
+ AccountId?: never;
5199
+ Region?: never;
5200
+ IssuanceType?: never;
5201
+ KeyAlgorithm?: never;
5202
+ UsageStatus?: never;
5203
+ Issuer?: never;
5204
+ Domain?: never;
5205
+ NotAfter?: never;
5206
+ RelatedResourceType?: never;
5207
+ HighestFindingSeverity?: never;
5208
+ AcmCertificateArn: AcmCertificateArnPredicate;
5209
+ PcaCertificateArn?: never;
5210
+ PcaCertificateAuthorityArn?: never;
5211
+ IssuerWords?: never;
5212
+ SignatureAlgorithm?: never;
5213
+ $unknown?: never;
5214
+ }
5215
+ /**
5216
+ * Matches the certificate that AWS Private Certificate Authority (AWS Private CA) issued with this certificate
5217
+ * ARN. The ARN is compared exactly, case included, as AWS Private CA reports it.
5218
+ * @public
5219
+ */
5220
+ interface PcaCertificateArnMember {
5221
+ Identifier?: never;
5222
+ MaterialType?: never;
5223
+ AccountId?: never;
5224
+ Region?: never;
5225
+ IssuanceType?: never;
5226
+ KeyAlgorithm?: never;
5227
+ UsageStatus?: never;
5228
+ Issuer?: never;
5229
+ Domain?: never;
5230
+ NotAfter?: never;
5231
+ RelatedResourceType?: never;
5232
+ HighestFindingSeverity?: never;
5233
+ AcmCertificateArn?: never;
5234
+ PcaCertificateArn: string;
5235
+ PcaCertificateAuthorityArn?: never;
5236
+ IssuerWords?: never;
5237
+ SignatureAlgorithm?: never;
5238
+ $unknown?: never;
5239
+ }
5240
+ /**
5241
+ * Matches certificates by the ARN of a related AWS Private CA certificate authority. It can match the certificates
5242
+ * the certificate authority issued, or its own certificate. The ARN is compared exactly, case included, as AWS
5243
+ * Private CA reports it.
5244
+ * @public
5245
+ */
5246
+ interface PcaCertificateAuthorityArnMember {
5247
+ Identifier?: never;
5248
+ MaterialType?: never;
5249
+ AccountId?: never;
5250
+ Region?: never;
5251
+ IssuanceType?: never;
5252
+ KeyAlgorithm?: never;
5253
+ UsageStatus?: never;
5254
+ Issuer?: never;
5255
+ Domain?: never;
5256
+ NotAfter?: never;
5257
+ RelatedResourceType?: never;
5258
+ HighestFindingSeverity?: never;
5259
+ AcmCertificateArn?: never;
5260
+ PcaCertificateArn?: never;
5261
+ PcaCertificateAuthorityArn: PrivateCaCertificateAuthorityArnPredicate;
5262
+ IssuerWords?: never;
5263
+ SignatureAlgorithm?: never;
5264
+ $unknown?: never;
5265
+ }
5266
+ /**
5267
+ * Matches certificates whose X509Details.Issuer distinguished name contains every word of the value. Words can be
5268
+ * in any order, and case does not matter.
5269
+ *
5270
+ * Words are split the same way the inventory splits the issuer name: at spaces and at punctuation, such as commas,
5271
+ * equals signs, and hyphens. Letters joined by a period, a colon, or an apostrophe stay one word, such as
5272
+ * example.com, x:y, or l'exemple. Each Chinese, Japanese, or Korean (CJK) ideograph is a separate word.
5273
+ *
5274
+ * Each word must match a whole word of the name. For example, amazon rsa and O=Amazon both match CN=Amazon RSA
5275
+ * 2048 M03,O=Amazon,C=US, but amaz does not.
5276
+ *
5277
+ * The value must hold at least one letter or digit, and at most 64 words. The IssuerWords values of one filter can
5278
+ * hold at most 512 words in total. Some characters, such as emoji, symbols, and ideographs, each count as one word
5279
+ * toward these limits. IssuerWords does not match a certificate authority ARN.
5280
+ * @public
5281
+ */
5282
+ interface IssuerWordsMember {
5283
+ Identifier?: never;
5284
+ MaterialType?: never;
5285
+ AccountId?: never;
5286
+ Region?: never;
5287
+ IssuanceType?: never;
5288
+ KeyAlgorithm?: never;
5289
+ UsageStatus?: never;
5290
+ Issuer?: never;
5291
+ Domain?: never;
5292
+ NotAfter?: never;
5293
+ RelatedResourceType?: never;
5294
+ HighestFindingSeverity?: never;
5295
+ AcmCertificateArn?: never;
5296
+ PcaCertificateArn?: never;
5297
+ PcaCertificateAuthorityArn?: never;
5298
+ IssuerWords: string;
5299
+ SignatureAlgorithm?: never;
3111
5300
  $unknown?: never;
3112
5301
  }
3113
5302
  /**
5303
+ * Matches the certificate's X509Details.SignatureAlgorithm, such as SHA256WITHRSA. The value is a free string, not
5304
+ * a closed list. It is compared in uppercase as a whole value, so sha256WithRSA matches SHA256WITHRSA, but SHA256
5305
+ * matches nothing. Leading and trailing whitespace is ignored. A certificate with no recorded signature algorithm
5306
+ * matches no value.
5307
+ * @public
5308
+ */
5309
+ interface SignatureAlgorithmMember {
5310
+ Identifier?: never;
5311
+ MaterialType?: never;
5312
+ AccountId?: never;
5313
+ Region?: never;
5314
+ IssuanceType?: never;
5315
+ KeyAlgorithm?: never;
5316
+ UsageStatus?: never;
5317
+ Issuer?: never;
5318
+ Domain?: never;
5319
+ NotAfter?: never;
5320
+ RelatedResourceType?: never;
5321
+ HighestFindingSeverity?: never;
5322
+ AcmCertificateArn?: never;
5323
+ PcaCertificateArn?: never;
5324
+ PcaCertificateAuthorityArn?: never;
5325
+ IssuerWords?: never;
5326
+ SignatureAlgorithm: string;
5327
+ $unknown?: never;
5328
+ }
5329
+ /**
5330
+ * @public
5331
+ */
5332
+ interface $UnknownMember {
5333
+ Identifier?: never;
5334
+ MaterialType?: never;
5335
+ AccountId?: never;
5336
+ Region?: never;
5337
+ IssuanceType?: never;
5338
+ KeyAlgorithm?: never;
5339
+ UsageStatus?: never;
5340
+ Issuer?: never;
5341
+ Domain?: never;
5342
+ NotAfter?: never;
5343
+ RelatedResourceType?: never;
5344
+ HighestFindingSeverity?: never;
5345
+ AcmCertificateArn?: never;
5346
+ PcaCertificateArn?: never;
5347
+ PcaCertificateAuthorityArn?: never;
5348
+ IssuerWords?: never;
5349
+ SignatureAlgorithm?: never;
5350
+ $unknown: [string, any];
5351
+ }
5352
+ /**
5353
+ * @deprecated unused in schema-serde mode.
5354
+ *
5355
+ */
5356
+ interface Visitor<T> {
5357
+ Identifier: (value: string) => T;
5358
+ MaterialType: (value: MaterialType) => T;
5359
+ AccountId: (value: string) => T;
5360
+ Region: (value: string) => T;
5361
+ IssuanceType: (value: IssuanceType) => T;
5362
+ KeyAlgorithm: (value: InventoryKeyAlgorithm) => T;
5363
+ UsageStatus: (value: InventoryUsageStatus) => T;
5364
+ Issuer: (value: string) => T;
5365
+ Domain: (value: DomainPredicate) => T;
5366
+ NotAfter: (value: InventoryTimeRange) => T;
5367
+ RelatedResourceType: (value: RelatedResourceType) => T;
5368
+ HighestFindingSeverity: (value: CertificateHealthSeverity) => T;
5369
+ AcmCertificateArn: (value: AcmCertificateArnPredicate) => T;
5370
+ PcaCertificateArn: (value: string) => T;
5371
+ PcaCertificateAuthorityArn: (value: PrivateCaCertificateAuthorityArnPredicate) => T;
5372
+ IssuerWords: (value: string) => T;
5373
+ SignatureAlgorithm: (value: string) => T;
5374
+ _: (name: string, value: any) => T;
5375
+ }
5376
+ }
5377
+ /**
5378
+ * Counts of a certificate's open findings by severity.
5379
+ * @public
5380
+ */
5381
+ export interface FindingCounts {
5382
+ /**
5383
+ * Open findings of critical severity.
5384
+ * @public
5385
+ */
5386
+ Critical: number | undefined;
5387
+ /**
5388
+ * Open findings of high severity.
5389
+ * @public
5390
+ */
5391
+ High: number | undefined;
5392
+ /**
5393
+ * Open findings of medium severity.
5394
+ * @public
5395
+ */
5396
+ Medium: number | undefined;
5397
+ /**
5398
+ * Open findings of low severity.
5399
+ * @public
5400
+ */
5401
+ Low: number | undefined;
5402
+ /**
5403
+ * Open findings of informational severity.
5404
+ * @public
5405
+ */
5406
+ Informational: number | undefined;
5407
+ }
5408
+ /**
5409
+ * Who or what a certificate identifies.
5410
+ * @public
5411
+ */
5412
+ export interface InventoryCertificateIdentity {
5413
+ /**
5414
+ * The subject distinguished name. Absent for a certificate without a subject.
5415
+ * @public
5416
+ */
5417
+ Subject?: string | undefined;
5418
+ /**
5419
+ * The names the certificate identifies, such as its DNS subject alternative names. Holds at most the first 100
5420
+ * names. HasAdditionalIdentifiers says whether there are more. For every name, see SubjectAlternativeNames in the
5421
+ * certificate's X509Details.
3114
5422
  * @public
3115
5423
  */
3116
- interface $UnknownMember {
3117
- DirectoryName?: never;
3118
- DnsName?: never;
3119
- IpAddress?: never;
3120
- OtherName?: never;
3121
- RegisteredId?: never;
3122
- Rfc822Name?: never;
3123
- UniformResourceIdentifier?: never;
3124
- $unknown: [string, any];
3125
- }
5424
+ Identifiers: string[] | undefined;
3126
5425
  /**
3127
- * @deprecated unused in schema-serde mode.
3128
- *
5426
+ * Whether the certificate has more identifiers than are returned in Identifiers. If true, only the first 100
5427
+ * are returned. If false, Identifiers holds them all.
5428
+ * @public
3129
5429
  */
3130
- interface Visitor<T> {
3131
- DirectoryName: (value: DistinguishedName) => T;
3132
- DnsName: (value: string) => T;
3133
- IpAddress: (value: string) => T;
3134
- OtherName: (value: OtherName) => T;
3135
- RegisteredId: (value: string) => T;
3136
- Rfc822Name: (value: string) => T;
3137
- UniformResourceIdentifier: (value: string) => T;
3138
- _: (name: string, value: any) => T;
3139
- }
5430
+ HasAdditionalIdentifiers?: boolean | undefined;
3140
5431
  }
3141
5432
  /**
3142
- * <p>Contains X.509 certificate attributes extracted from the certificate.</p>
5433
+ * When a certificate is valid.
3143
5434
  * @public
3144
5435
  */
3145
- export interface X509Attributes {
5436
+ export interface ValidityWindow {
3146
5437
  /**
3147
- * <p>The distinguished name of the certificate issuer.</p>
5438
+ * The start of the validity period.
3148
5439
  * @public
3149
5440
  */
3150
- Issuer?: DistinguishedName | undefined;
5441
+ NotBefore: Date | undefined;
3151
5442
  /**
3152
- * <p>The distinguished name of the certificate subject.</p>
5443
+ * The end of the validity period.
3153
5444
  * @public
3154
5445
  */
3155
- Subject?: DistinguishedName | undefined;
5446
+ NotAfter: Date | undefined;
5447
+ }
5448
+ /**
5449
+ * Details of an X.509 certificate.
5450
+ * @public
5451
+ */
5452
+ export interface InventoryX509Details {
3156
5453
  /**
3157
- * <p>One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website. </p>
5454
+ * The issuer distinguished name, exactly as in the certificate.
3158
5455
  * @public
3159
5456
  */
3160
- SubjectAlternativeNames?: GeneralName[] | undefined;
5457
+ Issuer: string | undefined;
3161
5458
  /**
3162
- * <p>Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID). </p>
5459
+ * The serial number. Its format is not guaranteed: compare it, but do not parse it. Its format can differ from the
5460
+ * format ACM or AWS Private CA reports for the same certificate.
3163
5461
  * @public
3164
5462
  */
3165
- ExtendedKeyUsages?: ExtendedKeyUsageName[] | undefined;
5463
+ SerialNumber: string | undefined;
3166
5464
  /**
3167
- * <p>The algorithm that was used to generate the public-private key pair.</p>
5465
+ * The start of the validity period.
3168
5466
  * @public
3169
5467
  */
3170
- KeyAlgorithm?: KeyAlgorithm | undefined;
5468
+ NotBefore: Date | undefined;
3171
5469
  /**
3172
- * <p>A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the purpose of the public key contained in the certificate. Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.</p>
5470
+ * The end of the validity period.
3173
5471
  * @public
3174
5472
  */
3175
- KeyUsages?: KeyUsageName[] | undefined;
5473
+ NotAfter: Date | undefined;
3176
5474
  /**
3177
- * <p>The serial number assigned by the certificate authority.</p>
5475
+ * The subject alternative names.
3178
5476
  * @public
3179
5477
  */
3180
- SerialNumber?: string | undefined;
5478
+ SubjectAlternativeNames: string[] | undefined;
3181
5479
  /**
3182
- * <p>The time after which the certificate is not valid.</p>
5480
+ * The algorithm of the certificate's public key.
3183
5481
  * @public
3184
5482
  */
3185
- NotAfter?: Date | undefined;
5483
+ KeyAlgorithm: InventoryKeyAlgorithm | undefined;
3186
5484
  /**
3187
- * <p>The time before which the certificate is not valid.</p>
5485
+ * How the certificate was issued or brought into AWS.
3188
5486
  * @public
3189
5487
  */
3190
- NotBefore?: Date | undefined;
5488
+ IssuanceType: IssuanceType | undefined;
5489
+ /**
5490
+ * The algorithm the issuer used to sign the certificate, as read from the certificate, such as SHA256WITHRSA or
5491
+ * SHA384WITHECDSA. The values are not a closed list. Certificates from any issuer can use any signature algorithm,
5492
+ * and new algorithms are added over time. Absent when the algorithm was not recorded.
5493
+ * @public
5494
+ */
5495
+ SignatureAlgorithm?: string | undefined;
5496
+ /**
5497
+ * The size of the public key in bits.
5498
+ * @public
5499
+ */
5500
+ KeySizeBits?: number | undefined;
3191
5501
  }
3192
5502
  /**
3193
- * <p>Contains information about a certificate returned by the <a>SearchCertificates</a> action. This structure includes the certificate ARN, X.509 attributes, and ACM metadata.</p>
5503
+ * One certificate observed in the organization's accounts. This is a record of what was observed, not an AWS
5504
+ * resource.
3194
5505
  * @public
3195
5506
  */
3196
- export interface CertificateSearchResult {
5507
+ export interface InventoryCertificate {
3197
5508
  /**
3198
- * <p>The Amazon Resource Name (ARN) of the certificate.</p>
5509
+ * The certificate's identifier in the inventory.
3199
5510
  * @public
3200
5511
  */
3201
- CertificateArn?: string | undefined;
5512
+ Identifier: string | undefined;
3202
5513
  /**
3203
- * <p>X.509 certificate attributes such as subject, issuer, and validity period.</p>
5514
+ * The kind of certificate.
3204
5515
  * @public
3205
5516
  */
3206
- X509Attributes?: X509Attributes | undefined;
5517
+ MaterialType: MaterialType | undefined;
3207
5518
  /**
3208
- * <p>ACM-specific metadata about the certificate.</p>
5519
+ * When the certificate is valid.
3209
5520
  * @public
3210
5521
  */
3211
- CertificateMetadata?: CertificateMetadata | undefined;
5522
+ Validity: ValidityWindow | undefined;
5523
+ /**
5524
+ * Who or what the certificate identifies.
5525
+ * @public
5526
+ */
5527
+ Identity: InventoryCertificateIdentity | undefined;
5528
+ /**
5529
+ * How many places the certificate was observed in use, counted when the certificate was last collected. It can lag
5530
+ * the TotalCount of ListInventoryUsages. It can also differ from InUseByCount in a related ACM certificate's
5531
+ * metadata. InUseByCount is the length of the InUseBy list in ACM when the inventory last read it, not what the
5532
+ * inventory observed.
5533
+ * @public
5534
+ */
5535
+ UsageCount: number | undefined;
5536
+ /**
5537
+ * Counts of open findings by severity. Absent until findings have been evaluated for this certificate.
5538
+ * @public
5539
+ */
5540
+ FindingCounts?: FindingCounts | undefined;
5541
+ /**
5542
+ * Details of an X.509 certificate. Present when MaterialType is X509_CERTIFICATE.
5543
+ * @public
5544
+ */
5545
+ X509Details?: InventoryX509Details | undefined;
5546
+ /**
5547
+ * The certificate's health. CRITICAL to INFORMATIONAL is the highest severity among the open findings of the
5548
+ * series in which the certificate is a current certificate. HEALTHY means rules apply and none has an open
5549
+ * finding. NOT_APPLICABLE means no rule applies to the certificate. NOT_EVALUATED means its findings have not been
5550
+ * evaluated yet. SearchInventory returns it for every certificate.
5551
+ * @public
5552
+ */
5553
+ HighestFindingSeverity?: CertificateHealthSeverity | undefined;
5554
+ /**
5555
+ * How many related resources the certificate has. These are the ACM certificates, AWS Private Certificate
5556
+ * Authority (AWS Private CA) certificates, and AWS Private CA certificate authorities that
5557
+ * ListInventoryRelatedResources lists for it. It is a whole number, 0 or more, with no upper bound. 0 means the
5558
+ * certificate has none. It is counted each time the inventory updates the certificate, so it can lag the
5559
+ * TotalCount of ListInventoryRelatedResources until the next update. Absent when it has not been counted for this
5560
+ * certificate.
5561
+ * @public
5562
+ */
5563
+ RelatedResourceCount?: number | undefined;
3212
5564
  }
3213
5565
  /**
3214
5566
  * @public
3215
5567
  */
3216
- export interface SearchCertificatesResponse {
5568
+ export interface SearchInventoryOutput {
3217
5569
  /**
3218
- * <p>A list of certificate search results containing certificate ARNs, X.509 attributes, and ACM metadata.</p>
5570
+ * The certificates on this page, in the requested order.
3219
5571
  * @public
3220
5572
  */
3221
- Results?: CertificateSearchResult[] | undefined;
5573
+ Certificates: InventoryCertificate[] | undefined;
3222
5574
  /**
3223
- * <p>When the list is truncated, this value is present and contains the value to use for the <code>NextToken</code> parameter in a subsequent pagination request.</p>
5575
+ * Pass this value as NextToken to read the next page. Absent on the last page.
3224
5576
  * @public
3225
5577
  */
3226
5578
  NextToken?: string | undefined;
5579
+ /**
5580
+ * How many certificates match the filter in total, not only on this page.
5581
+ * Counted when each page is read, so it can change between pages if the inventory changes.
5582
+ * @public
5583
+ */
5584
+ TotalCount: number | undefined;
5585
+ /**
5586
+ * Whether TotalCount is exact or a lower bound.
5587
+ * @public
5588
+ */
5589
+ TotalCountRelation: TotalCountRelation | undefined;
3227
5590
  }
3228
5591
  /**
3229
5592
  * @public
@@ -3310,6 +5673,144 @@ export interface UpdateCertificateOptionsRequest {
3310
5673
  */
3311
5674
  Options: CertificateOptions | undefined;
3312
5675
  }
5676
+ /**
5677
+ * Whether issued certificates name the CRL distribution point, as in the CrlDistributionPointExtensionConfiguration
5678
+ * type of AWS Private Certificate Authority (AWS Private CA).
5679
+ * @public
5680
+ */
5681
+ export interface PrivateCaCrlDistributionPointExtensionConfiguration {
5682
+ /**
5683
+ * When true, certificates the certificate authority issues leave out the CRL distribution point extension.
5684
+ * @public
5685
+ */
5686
+ OmitExtension: boolean | undefined;
5687
+ }
5688
+ /**
5689
+ * A certificate authority's certificate revocation list (CRL), as in the CrlConfiguration type of AWS Private
5690
+ * Certificate Authority (AWS Private CA). For details, see CrlConfiguration in the AWS Private CA API Reference. AWS
5691
+ * Private CA writes CRLs to the Amazon S3 bucket named by S3BucketName in its own CrlConfiguration, which you set with
5692
+ * AWS Private CA in the member account.
5693
+ * @public
5694
+ */
5695
+ export interface PrivateCaCrlConfiguration {
5696
+ /**
5697
+ * Whether the certificate authority publishes a CRL.
5698
+ * @public
5699
+ */
5700
+ Enabled: boolean | undefined;
5701
+ /**
5702
+ * How many days a published CRL is valid, 1 to 5,000.
5703
+ * @public
5704
+ */
5705
+ ExpirationInDays?: number | undefined;
5706
+ /**
5707
+ * A DNS name that certificates name as the CRL distribution point in place of the Amazon S3 bucket's name.
5708
+ * @public
5709
+ */
5710
+ CustomCname?: string | undefined;
5711
+ /**
5712
+ * Who can read the CRL object in the Amazon S3 bucket.
5713
+ * @public
5714
+ */
5715
+ S3ObjectAcl?: PrivateCaS3ObjectAcl | undefined;
5716
+ /**
5717
+ * Whether certificates the certificate authority issues name the CRL distribution point.
5718
+ * @public
5719
+ */
5720
+ CrlDistributionPointExtensionConfiguration?: PrivateCaCrlDistributionPointExtensionConfiguration | undefined;
5721
+ /**
5722
+ * Whether the certificate authority publishes one complete CRL or partitioned CRLs.
5723
+ * @public
5724
+ */
5725
+ CrlType?: PrivateCaCrlType | undefined;
5726
+ /**
5727
+ * The path of the CRL in the Amazon S3 bucket.
5728
+ * @public
5729
+ */
5730
+ CustomPath?: string | undefined;
5731
+ }
5732
+ /**
5733
+ * A certificate authority's Online Certificate Status Protocol (OCSP) support, as in the OcspConfiguration type of AWS
5734
+ * Private Certificate Authority (AWS Private CA). For details, see OcspConfiguration in the AWS Private CA API
5735
+ * Reference.
5736
+ * @public
5737
+ */
5738
+ export interface PrivateCaOcspConfiguration {
5739
+ /**
5740
+ * Whether the certificate authority answers OCSP requests.
5741
+ * @public
5742
+ */
5743
+ Enabled: boolean | undefined;
5744
+ /**
5745
+ * A DNS name that certificates name as the OCSP responder in place of the AWS Private CA endpoint.
5746
+ * @public
5747
+ */
5748
+ OcspCustomCname?: string | undefined;
5749
+ }
5750
+ /**
5751
+ * How a certificate authority publishes revocation information, as in the RevocationConfiguration type of AWS
5752
+ * Private Certificate Authority (AWS Private CA). For details, see RevocationConfiguration in the AWS Private CA API
5753
+ * Reference.
5754
+ * @public
5755
+ */
5756
+ export interface PrivateCaRevocationConfiguration {
5757
+ /**
5758
+ * The certificate revocation list (CRL) the certificate authority maintains, if any.
5759
+ * @public
5760
+ */
5761
+ CrlConfiguration?: PrivateCaCrlConfiguration | undefined;
5762
+ /**
5763
+ * The Online Certificate Status Protocol (OCSP) support the certificate authority provides, if any.
5764
+ * @public
5765
+ */
5766
+ OcspConfiguration?: PrivateCaOcspConfiguration | undefined;
5767
+ }
5768
+ /**
5769
+ * @public
5770
+ */
5771
+ export interface UpdateMemberCertificateAuthorityInput {
5772
+ /**
5773
+ * The ARN of the certificate authority to update.
5774
+ * @public
5775
+ */
5776
+ CertificateAuthorityArn: string | undefined;
5777
+ /**
5778
+ * The status to set. If you omit it, the status is unchanged. AWS Private Certificate Authority (AWS Private CA)
5779
+ * decides which values it accepts; see UpdateCertificateAuthority in the AWS Private CA API Reference.
5780
+ * @public
5781
+ */
5782
+ Status?: PrivateCaCertificateAuthorityStatus | undefined;
5783
+ /**
5784
+ * The revocation configuration to set. If you omit it, the configuration is unchanged.
5785
+ * @public
5786
+ */
5787
+ RevocationConfiguration?: PrivateCaRevocationConfiguration | undefined;
5788
+ }
5789
+ /**
5790
+ * @public
5791
+ */
5792
+ export interface UpdateMemberCertificateAuthorityOutput {
5793
+ }
5794
+ /**
5795
+ * @public
5796
+ */
5797
+ export interface UpdateMemberCertificateOptionsInput {
5798
+ /**
5799
+ * The ARN of the certificate to update.
5800
+ * @public
5801
+ */
5802
+ CertificateArn: string | undefined;
5803
+ /**
5804
+ * The options to set. Set at least one. An option you omit is not sent to ACM, so it is unchanged.
5805
+ * @public
5806
+ */
5807
+ Options: AcmCertificateOptions | undefined;
5808
+ }
5809
+ /**
5810
+ * @public
5811
+ */
5812
+ export interface UpdateMemberCertificateOptionsOutput {
5813
+ }
3313
5814
  /**
3314
5815
  * <p>A filter statement used to search for certificates. Can contain AND, OR, NOT logical operators or a single filter.</p>
3315
5816
  * @public
@@ -3385,6 +5886,84 @@ export declare namespace CertificateFilterStatement {
3385
5886
  _: (name: string, value: any) => T;
3386
5887
  }
3387
5888
  }
5889
+ /**
5890
+ * A filter: one predicate, or And, Or, or Not over other statements. Set exactly one member. An And or Or list holds 1
5891
+ * to 15 statements. Statements nest at most 3 levels deep, and a filter holds at most 20 predicates in total. The
5892
+ * request's Filter is level 1. Each statement inside an And, Or, or Not is one level deeper. For example, an And of
5893
+ * Not statements that each hold a predicate is 3 levels deep.
5894
+ * @public
5895
+ */
5896
+ export type InventoryFilterStatement = InventoryFilterStatement.AndMember | InventoryFilterStatement.FilterMember | InventoryFilterStatement.NotMember | InventoryFilterStatement.OrMember | InventoryFilterStatement.$UnknownMember;
5897
+ /**
5898
+ * @public
5899
+ */
5900
+ export declare namespace InventoryFilterStatement {
5901
+ /**
5902
+ * Matches certificates that match every statement.
5903
+ * @public
5904
+ */
5905
+ interface AndMember {
5906
+ And: InventoryFilterStatement[];
5907
+ Or?: never;
5908
+ Not?: never;
5909
+ Filter?: never;
5910
+ $unknown?: never;
5911
+ }
5912
+ /**
5913
+ * Matches certificates that match at least one statement.
5914
+ * @public
5915
+ */
5916
+ interface OrMember {
5917
+ And?: never;
5918
+ Or: InventoryFilterStatement[];
5919
+ Not?: never;
5920
+ Filter?: never;
5921
+ $unknown?: never;
5922
+ }
5923
+ /**
5924
+ * Matches certificates that do not match the statement.
5925
+ * @public
5926
+ */
5927
+ interface NotMember {
5928
+ And?: never;
5929
+ Or?: never;
5930
+ Not: InventoryFilterStatement;
5931
+ Filter?: never;
5932
+ $unknown?: never;
5933
+ }
5934
+ /**
5935
+ * Matches certificates that match the predicate.
5936
+ * @public
5937
+ */
5938
+ interface FilterMember {
5939
+ And?: never;
5940
+ Or?: never;
5941
+ Not?: never;
5942
+ Filter: InventoryFilterPredicate;
5943
+ $unknown?: never;
5944
+ }
5945
+ /**
5946
+ * @public
5947
+ */
5948
+ interface $UnknownMember {
5949
+ And?: never;
5950
+ Or?: never;
5951
+ Not?: never;
5952
+ Filter?: never;
5953
+ $unknown: [string, any];
5954
+ }
5955
+ /**
5956
+ * @deprecated unused in schema-serde mode.
5957
+ *
5958
+ */
5959
+ interface Visitor<T> {
5960
+ And: (value: InventoryFilterStatement[]) => T;
5961
+ Or: (value: InventoryFilterStatement[]) => T;
5962
+ Not: (value: InventoryFilterStatement) => T;
5963
+ Filter: (value: InventoryFilterPredicate) => T;
5964
+ _: (name: string, value: any) => T;
5965
+ }
5966
+ }
3388
5967
  /**
3389
5968
  * @public
3390
5969
  */
@@ -3415,3 +5994,33 @@ export interface SearchCertificatesRequest {
3415
5994
  */
3416
5995
  SortOrder?: SearchCertificatesSortOrder | undefined;
3417
5996
  }
5997
+ /**
5998
+ * @public
5999
+ */
6000
+ export interface SearchInventoryInput {
6001
+ /**
6002
+ * Which certificates to return. Omit it to return every certificate.
6003
+ * @public
6004
+ */
6005
+ Filter?: InventoryFilterStatement | undefined;
6006
+ /**
6007
+ * The field to sort by. Defaults to NOT_AFTER.
6008
+ * @public
6009
+ */
6010
+ SortBy?: SortField | undefined;
6011
+ /**
6012
+ * The sort direction. Defaults to DESCENDING.
6013
+ * @public
6014
+ */
6015
+ SortOrder?: InventorySortOrder | undefined;
6016
+ /**
6017
+ * The maximum number of certificates to return, 1 to 100. Defaults to 25.
6018
+ * @public
6019
+ */
6020
+ MaxResults?: number | undefined;
6021
+ /**
6022
+ * The NextToken from the previous response, to read the next page.
6023
+ * @public
6024
+ */
6025
+ NextToken?: string | undefined;
6026
+ }