@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
@@ -0,0 +1,243 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListInventoryFindingsInput, ListInventoryFindingsOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListInventoryFindingsCommand}.
11
+ */
12
+ export interface ListInventoryFindingsCommandInput extends ListInventoryFindingsInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListInventoryFindingsCommand}.
18
+ */
19
+ export interface ListInventoryFindingsCommandOutput extends ListInventoryFindingsOutput, __MetadataBearer {
20
+ }
21
+ declare const ListInventoryFindingsCommand_base: {
22
+ new (input: ListInventoryFindingsCommandInput): import("@smithy/core/client").CommandImpl<ListInventoryFindingsCommandInput, ListInventoryFindingsCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListInventoryFindingsCommandInput): import("@smithy/core/client").CommandImpl<ListInventoryFindingsCommandInput, ListInventoryFindingsCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Lists the open findings for one certificate. Returns one page of findings and the total number of findings.
28
+ *
29
+ * A finding says that a certificate series has a problem you can fix, and how severe it is. A series is the set of
30
+ * certificates that one AWS Certificate Manager (ACM) certificate holds across renewals and reimports. A certificate's
31
+ * findings are the open findings of every series in which it is a current certificate. A rule that passes or does not apply produces no
32
+ * finding, so a certificate with no problems returns an empty list.
33
+ *
34
+ * Findings are sorted by severity, highest first, and then by RuleId in alphabetical order. Ties are broken in a fixed
35
+ * order that is unique to each finding, so paging returns every finding at least once. A finding can change while you
36
+ * page, for example when its severity rises. Then it is returned again, with its new values, at the top of a later
37
+ * page. Its FindingId does not change, so you can replace the copy you already have.
38
+ *
39
+ * To read the next page, repeat the request with the NextToken from the previous response. Keep the same
40
+ * CertificateIdentifier and Severity. A NextToken from a request with a different CertificateIdentifier or Severity
41
+ * returns ValidationException.
42
+ *
43
+ * Every response also reports the certificate's HighestFindingSeverity. It is NOT_EVALUATED until the certificate's
44
+ * findings have been evaluated.
45
+ *
46
+ * The caller must be the organization's management account or its delegated administrator. If the caller's account is
47
+ * not in an organization, or the caller is neither of these accounts, the operation returns AccessDeniedException. The
48
+ * message names the unmet condition.
49
+ *
50
+ * The operation returns ResourceNotFoundException in two cases, each with its own message:
51
+ * - The inventory is not configured: no PutInventoryConfiguration call has run.
52
+ * - The inventory has no certificate with the identifier.
53
+ *
54
+ * Do not match on the message to tell the cases apart. GetInventoryConfiguration says whether the inventory is
55
+ * configured.
56
+ *
57
+ * Before the first PutInventoryConfiguration call, only the management account can call it; a delegated administrator
58
+ * receives AccessDeniedException.
59
+ * @example
60
+ * Use a bare-bones client and the command you need to make an API call.
61
+ * ```javascript
62
+ * import { ACMClient, ListInventoryFindingsCommand } from "@aws-sdk/client-acm"; // ES Modules import
63
+ * // const { ACMClient, ListInventoryFindingsCommand } = require("@aws-sdk/client-acm"); // CommonJS import
64
+ * // import type { ACMClientConfig } from "@aws-sdk/client-acm";
65
+ * const config = {}; // type is ACMClientConfig
66
+ * const client = new ACMClient(config);
67
+ * const input = { // ListInventoryFindingsInput
68
+ * CertificateIdentifier: "STRING_VALUE", // required
69
+ * Severity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL",
70
+ * MaxResults: Number("int"),
71
+ * NextToken: "STRING_VALUE",
72
+ * };
73
+ * const command = new ListInventoryFindingsCommand(input);
74
+ * const response = await client.send(command);
75
+ * // { // ListInventoryFindingsOutput
76
+ * // Findings: [ // InventoryFindingList // required
77
+ * // { // InventoryFinding
78
+ * // FindingId: "STRING_VALUE", // required
79
+ * // CertificateIdentifier: "STRING_VALUE", // required
80
+ * // RuleId: "NO_VALID_CERTIFICATE" || "ACM_RENEWAL_OVERDUE" || "EXPIRING_SOON" || "NO_USAGE_EVIDENCE" || "EXPIRED_CERTIFICATE_IN_USE", // required
81
+ * // Severity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL", // required
82
+ * // Scope: { // FindingScope Union: only one key present
83
+ * // Series: { // SeriesFindingContext
84
+ * // CertificateArn: "STRING_VALUE", // required
85
+ * // AccountId: "STRING_VALUE", // required
86
+ * // Region: "STRING_VALUE", // required
87
+ * // },
88
+ * // },
89
+ * // Reason: "USAGE_NOT_OBSERVABLE" || "EXPIRED_NOT_IN_USE" || "NOT_IN_USE",
90
+ * // Expected: "STRING_VALUE",
91
+ * // Actual: "STRING_VALUE",
92
+ * // Remediation: "STRING_VALUE",
93
+ * // EvaluatedAt: new Date("TIMESTAMP"), // required
94
+ * // },
95
+ * // ],
96
+ * // HighestFindingSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "HEALTHY" || "NOT_APPLICABLE" || "NOT_EVALUATED", // required
97
+ * // NextToken: "STRING_VALUE",
98
+ * // TotalCount: Number("long"), // required
99
+ * // TotalCountRelation: "EXACT" || "AT_LEAST", // required
100
+ * // };
101
+ *
102
+ * ```
103
+ *
104
+ * @param ListInventoryFindingsCommandInput - {@link ListInventoryFindingsCommandInput}
105
+ * @returns {@link ListInventoryFindingsCommandOutput}
106
+ * @see {@link ListInventoryFindingsCommandInput} for command's `input` shape.
107
+ * @see {@link ListInventoryFindingsCommandOutput} for command's `response` shape.
108
+ * @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
109
+ *
110
+ * @throws {@link AccessDeniedException} (client fault)
111
+ * <p>You do not have access required to perform this action.</p>
112
+ *
113
+ * @throws {@link InternalServerException} (server fault)
114
+ * <p>The request processing has failed because of an unknown error, exception, or failure.</p>
115
+ *
116
+ * @throws {@link ResourceNotFoundException} (client fault)
117
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
118
+ *
119
+ * @throws {@link ThrottlingException} (client fault)
120
+ * <p>The request was denied because it exceeded a quota.</p>
121
+ *
122
+ * @throws {@link ValidationException} (client fault)
123
+ * <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
124
+ *
125
+ * @throws {@link ACMServiceException}
126
+ * <p>Base exception class for all service exceptions from ACM service.</p>
127
+ *
128
+ *
129
+ * @example List the findings of a certificate
130
+ * ```javascript
131
+ * // ACM has not renewed the exported certificate. The inventory cannot observe where an exported certificate is used.
132
+ * const input = {
133
+ * CertificateIdentifier: "38fdac0e1a578bcf38ca654a0d2722da2dfe9bc6b77d803ee20218f9025d0883"
134
+ * };
135
+ * const command = new ListInventoryFindingsCommand(input);
136
+ * const response = await client.send(command);
137
+ * /* response is
138
+ * {
139
+ * Findings: [
140
+ * {
141
+ * Actual: "The certificate expires on 2026-12-13 and has not been renewed.",
142
+ * CertificateIdentifier: "38fdac0e1a578bcf38ca654a0d2722da2dfe9bc6b77d803ee20218f9025d0883",
143
+ * EvaluatedAt: 1794531574,
144
+ * Expected: "ACM renews the certificate 45 days before it expires.",
145
+ * FindingId: "f19cb34e5c046d43568f2d4f8bb233e0ff",
146
+ * Remediation: "Check the certificate's domain validation and renewal status in ACM and resolve what blocks renewal.",
147
+ * RuleId: "ACM_RENEWAL_OVERDUE",
148
+ * Scope: {
149
+ * Series: {
150
+ * AccountId: "111122223333",
151
+ * CertificateArn: "arn:aws:acm:us-west-2:111122223333:certificate/1a2b3c4d-5678-90ab-cdef-EXAMPLE11111",
152
+ * Region: "us-west-2"
153
+ * }
154
+ * },
155
+ * Severity: "HIGH"
156
+ * },
157
+ * {
158
+ * Actual: "The certificate is exported, so the inventory cannot observe where it is used.",
159
+ * CertificateIdentifier: "38fdac0e1a578bcf38ca654a0d2722da2dfe9bc6b77d803ee20218f9025d0883",
160
+ * EvaluatedAt: 1794531574,
161
+ * Expected: "The certificate is used by at least one resource.",
162
+ * FindingId: "f1164cd0676ee47e5a4a91b3f91c40c0e0",
163
+ * Reason: "USAGE_NOT_OBSERVABLE",
164
+ * Remediation: "The certificate may be used outside ACM-integrated services, for example on an EC2 instance or an on-premises server. Confirm where it is used, and delete it if it is no longer needed.",
165
+ * RuleId: "NO_USAGE_EVIDENCE",
166
+ * Scope: {
167
+ * Series: {
168
+ * AccountId: "111122223333",
169
+ * CertificateArn: "arn:aws:acm:us-west-2:111122223333:certificate/1a2b3c4d-5678-90ab-cdef-EXAMPLE11111",
170
+ * Region: "us-west-2"
171
+ * }
172
+ * },
173
+ * Severity: "LOW"
174
+ * }
175
+ * ],
176
+ * HighestFindingSeverity: "HIGH",
177
+ * TotalCount: 2,
178
+ * TotalCountRelation: "EXACT"
179
+ * }
180
+ * *\/
181
+ * ```
182
+ *
183
+ * @example List the findings of a healthy certificate
184
+ * ```javascript
185
+ * // Every rule that applies to the certificate passes.
186
+ * const input = {
187
+ * CertificateIdentifier: "5b2d8e1f4a7c0936d2e5f8b1a4c7d0e3f6a9b2c5d8e1f4a7b0c3d6e9f2a5b8c1"
188
+ * };
189
+ * const command = new ListInventoryFindingsCommand(input);
190
+ * const response = await client.send(command);
191
+ * /* response is
192
+ * {
193
+ * Findings: [],
194
+ * HighestFindingSeverity: "HEALTHY",
195
+ * TotalCount: 0,
196
+ * TotalCountRelation: "EXACT"
197
+ * }
198
+ * *\/
199
+ * ```
200
+ *
201
+ * @example List the findings of a certificate the inventory has not observed
202
+ * ```javascript
203
+ * // No certificate in the organization's inventory has this identifier.
204
+ * const input = {
205
+ * CertificateIdentifier: "9c1e4b7a2d5f8036e9b2c5f8a1d4e7b0c3f6a9d2e5b8c1f4a7d0e3b6c9f2a5d8"
206
+ * };
207
+ * const command = new ListInventoryFindingsCommand(input);
208
+ * const response = await client.send(command);
209
+ * /* response is
210
+ * { /* metadata only *\/ }
211
+ * *\/
212
+ * ```
213
+ *
214
+ * @example Continue with a token from another severity
215
+ * ```javascript
216
+ * // The NextToken came from a request for HIGH findings, and this request asks for CRITICAL findings.
217
+ * const input = {
218
+ * CertificateIdentifier: "38fdac0e1a578bcf38ca654a0d2722da2dfe9bc6b77d803ee20218f9025d0883",
219
+ * NextToken: "AAEXAMPLENextTokenFindings1111",
220
+ * Severity: "CRITICAL"
221
+ * };
222
+ * const command = new ListInventoryFindingsCommand(input);
223
+ * const response = await client.send(command);
224
+ * /* response is
225
+ * { /* metadata only *\/ }
226
+ * *\/
227
+ * ```
228
+ *
229
+ * @public
230
+ */
231
+ export declare class ListInventoryFindingsCommand extends ListInventoryFindingsCommand_base {
232
+ /** @internal type navigation helper, not in runtime. */
233
+ protected static __types: {
234
+ api: {
235
+ input: ListInventoryFindingsInput;
236
+ output: ListInventoryFindingsOutput;
237
+ };
238
+ sdk: {
239
+ input: ListInventoryFindingsCommandInput;
240
+ output: ListInventoryFindingsCommandOutput;
241
+ };
242
+ };
243
+ }
@@ -0,0 +1,219 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListInventoryRelatedResourcesInput, ListInventoryRelatedResourcesOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListInventoryRelatedResourcesCommand}.
11
+ */
12
+ export interface ListInventoryRelatedResourcesCommandInput extends ListInventoryRelatedResourcesInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListInventoryRelatedResourcesCommand}.
18
+ */
19
+ export interface ListInventoryRelatedResourcesCommandOutput extends ListInventoryRelatedResourcesOutput, __MetadataBearer {
20
+ }
21
+ declare const ListInventoryRelatedResourcesCommand_base: {
22
+ new (input: ListInventoryRelatedResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListInventoryRelatedResourcesCommandInput, ListInventoryRelatedResourcesCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListInventoryRelatedResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListInventoryRelatedResourcesCommandInput, ListInventoryRelatedResourcesCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Lists the resources that one certificate maps to: AWS Certificate Manager certificates, AWS Private Certificate
28
+ * Authority (AWS Private CA) certificates, and AWS Private CA certificate authorities. Returns one page of related
29
+ * resources and the total number of related resources.
30
+ *
31
+ * Related resources are sorted by ResourceArn, in ascending order. To read the next page, repeat the request with the
32
+ * NextToken from the previous response and the same CertificateIdentifier. A NextToken from a request for a different
33
+ * certificate returns ValidationException.
34
+ *
35
+ * The caller must be the organization's management account or its delegated administrator. If the caller's account is
36
+ * not in an organization, or the caller is neither of these accounts, the operation returns AccessDeniedException. The
37
+ * message names the unmet condition.
38
+ *
39
+ * The operation returns ResourceNotFoundException before the first PutInventoryConfiguration call. Until then, only
40
+ * the management account can call it; a delegated administrator receives AccessDeniedException. It also returns
41
+ * ResourceNotFoundException when the inventory has no certificate with the identifier.
42
+ * @example
43
+ * Use a bare-bones client and the command you need to make an API call.
44
+ * ```javascript
45
+ * import { ACMClient, ListInventoryRelatedResourcesCommand } from "@aws-sdk/client-acm"; // ES Modules import
46
+ * // const { ACMClient, ListInventoryRelatedResourcesCommand } = require("@aws-sdk/client-acm"); // CommonJS import
47
+ * // import type { ACMClientConfig } from "@aws-sdk/client-acm";
48
+ * const config = {}; // type is ACMClientConfig
49
+ * const client = new ACMClient(config);
50
+ * const input = { // ListInventoryRelatedResourcesInput
51
+ * CertificateIdentifier: "STRING_VALUE", // required
52
+ * MaxResults: Number("int"),
53
+ * NextToken: "STRING_VALUE",
54
+ * };
55
+ * const command = new ListInventoryRelatedResourcesCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // ListInventoryRelatedResourcesOutput
58
+ * // RelatedResources: [ // InventoryRelatedResourceList // required
59
+ * // { // InventoryRelatedResource
60
+ * // ResourceType: "ACM_CERTIFICATE" || "PCA_CERTIFICATE" || "PCA_CERTIFICATE_AUTHORITY", // required
61
+ * // ResourceArn: "STRING_VALUE", // required
62
+ * // IssuanceType: "AMAZON_ISSUED" || "PRIVATE_CA_ISSUED" || "IMPORTED" || "EXTERNAL" || "PRIVATE_CA_DIRECT",
63
+ * // AssociationStatus: "CURRENT" || "REPLACED",
64
+ * // Metadata: { // InventoryRelatedResourceMetadata Union: only one key present
65
+ * // AcmCertificate: { // AcmMetadataCertificate
66
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
67
+ * // DomainName: "STRING_VALUE",
68
+ * // Serial: "STRING_VALUE",
69
+ * // NotAfter: new Date("TIMESTAMP"),
70
+ * // Status: "PENDING_VALIDATION" || "ISSUED" || "INACTIVE" || "EXPIRED" || "VALIDATION_TIMED_OUT" || "REVOKED" || "FAILED",
71
+ * // Type: "IMPORTED" || "AMAZON_ISSUED" || "PRIVATE",
72
+ * // InUseByCount: Number("long"),
73
+ * // RenewalEligibility: "ELIGIBLE" || "INELIGIBLE",
74
+ * // RenewalSummary: { // AcmRenewalSummary
75
+ * // RenewalStatus: "PENDING_AUTO_RENEWAL" || "PENDING_VALIDATION" || "SUCCESS" || "FAILED", // required
76
+ * // RenewalStatusReason: "NO_AVAILABLE_CONTACTS" || "ADDITIONAL_VERIFICATION_REQUIRED" || "DOMAIN_NOT_ALLOWED" || "INVALID_PUBLIC_DOMAIN" || "DOMAIN_VALIDATION_DENIED" || "CAA_ERROR" || "PCA_LIMIT_EXCEEDED" || "PCA_INVALID_ARN" || "PCA_INVALID_STATE" || "PCA_REQUEST_FAILED" || "PCA_NAME_CONSTRAINTS_VALIDATION" || "PCA_RESOURCE_NOT_FOUND" || "PCA_INVALID_ARGS" || "PCA_INVALID_DURATION" || "PCA_ACCESS_DENIED" || "SLR_NOT_FOUND" || "OTHER",
77
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
78
+ * // },
79
+ * // Options: { // AcmMetadataCertificateOptions
80
+ * // Export: "ENABLED" || "DISABLED",
81
+ * // ValidationMethod: "EMAIL" || "DNS" || "HTTP",
82
+ * // },
83
+ * // UpdateSummary: { // AcmUpdateSummary
84
+ * // Status: "PENDING_DOMAIN_VALIDATION" || "SUCCESS" || "FAILED",
85
+ * // Type: "DOMAIN_VALIDATION_METHOD",
86
+ * // RequestedAt: new Date("TIMESTAMP"),
87
+ * // UpdatedAt: new Date("TIMESTAMP"),
88
+ * // },
89
+ * // CertificateKeyPairOrigin: "AWS_MANAGED" || "ACME" || "CUSTOMER_PROVIDED",
90
+ * // ManagedBy: "CLOUDFRONT",
91
+ * // CreatedAt: new Date("TIMESTAMP"),
92
+ * // IssuedAt: new Date("TIMESTAMP"),
93
+ * // ImportedAt: new Date("TIMESTAMP"),
94
+ * // RevokedAt: new Date("TIMESTAMP"),
95
+ * // RevocationReason: "UNSPECIFIED" || "KEY_COMPROMISE" || "CA_COMPROMISE" || "AFFILIATION_CHANGED" || "SUPERCEDED" || "SUPERSEDED" || "CESSATION_OF_OPERATION" || "CERTIFICATE_HOLD" || "REMOVE_FROM_CRL" || "PRIVILEGE_WITHDRAWN" || "A_A_COMPROMISE",
96
+ * // CertificateAuthorityArn: "STRING_VALUE",
97
+ * // AcmeEndpointArn: "STRING_VALUE",
98
+ * // AcmeAccountId: "STRING_VALUE",
99
+ * // },
100
+ * // PcaCertificateAuthority: { // PrivateCaMetadataCertificateAuthority
101
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
102
+ * // Status: "CREATING" || "PENDING_CERTIFICATE" || "ACTIVE" || "DELETED" || "DISABLED" || "EXPIRED" || "FAILED",
103
+ * // Type: "ROOT" || "SUBORDINATE",
104
+ * // UsageMode: "GENERAL_PURPOSE" || "SHORT_LIVED_CERTIFICATE",
105
+ * // KeyStorageSecurityStandard: "FIPS_140_2_LEVEL_2_OR_HIGHER" || "FIPS_140_2_LEVEL_3_OR_HIGHER" || "CCPC_LEVEL_1_OR_HIGHER",
106
+ * // Serial: "STRING_VALUE",
107
+ * // NotBefore: new Date("TIMESTAMP"),
108
+ * // NotAfter: new Date("TIMESTAMP"),
109
+ * // CreatedAt: new Date("TIMESTAMP"),
110
+ * // LastStateChangeAt: new Date("TIMESTAMP"),
111
+ * // RestorableUntil: new Date("TIMESTAMP"),
112
+ * // },
113
+ * // },
114
+ * // },
115
+ * // ],
116
+ * // NextToken: "STRING_VALUE",
117
+ * // TotalCount: Number("long"), // required
118
+ * // TotalCountRelation: "EXACT" || "AT_LEAST", // required
119
+ * // };
120
+ *
121
+ * ```
122
+ *
123
+ * @param ListInventoryRelatedResourcesCommandInput - {@link ListInventoryRelatedResourcesCommandInput}
124
+ * @returns {@link ListInventoryRelatedResourcesCommandOutput}
125
+ * @see {@link ListInventoryRelatedResourcesCommandInput} for command's `input` shape.
126
+ * @see {@link ListInventoryRelatedResourcesCommandOutput} for command's `response` shape.
127
+ * @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
128
+ *
129
+ * @throws {@link AccessDeniedException} (client fault)
130
+ * <p>You do not have access required to perform this action.</p>
131
+ *
132
+ * @throws {@link InternalServerException} (server fault)
133
+ * <p>The request processing has failed because of an unknown error, exception, or failure.</p>
134
+ *
135
+ * @throws {@link ResourceNotFoundException} (client fault)
136
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
137
+ *
138
+ * @throws {@link ThrottlingException} (client fault)
139
+ * <p>The request was denied because it exceeded a quota.</p>
140
+ *
141
+ * @throws {@link ValidationException} (client fault)
142
+ * <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
143
+ *
144
+ * @throws {@link ACMServiceException}
145
+ * <p>Base exception class for all service exceptions from ACM service.</p>
146
+ *
147
+ *
148
+ * @example List the resources a certificate maps to
149
+ * ```javascript
150
+ * // The certificate is the one an ACM certificate holds now. The inventory last read the ACM certificate on November 2, 2026.
151
+ * const input = {
152
+ * CertificateIdentifier: "3f8a2c1d9b7e6f504a3c2b1d0e9f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e91"
153
+ * };
154
+ * const command = new ListInventoryRelatedResourcesCommand(input);
155
+ * const response = await client.send(command);
156
+ * /* response is
157
+ * {
158
+ * RelatedResources: [
159
+ * {
160
+ * AssociationStatus: "CURRENT",
161
+ * IssuanceType: "AMAZON_ISSUED",
162
+ * Metadata: {
163
+ * AcmCertificate: {
164
+ * CertificateKeyPairOrigin: "AWS_MANAGED",
165
+ * CreatedAt: 1763576400,
166
+ * DomainName: "www.example.com",
167
+ * InUseByCount: 1,
168
+ * IssuedAt: 1763597100,
169
+ * NotAfter: 1795132799,
170
+ * Options: {
171
+ * Export: "DISABLED",
172
+ * ValidationMethod: "DNS"
173
+ * },
174
+ * RenewalEligibility: "ELIGIBLE",
175
+ * Serial: "0a:1b:2c:3d:4e:5f:60:71:82:93:a4:b5:c6:d7:e8:f9",
176
+ * Status: "ISSUED",
177
+ * Type: "AMAZON_ISSUED",
178
+ * UpdatedAt: 1793628000
179
+ * }
180
+ * },
181
+ * ResourceArn: "arn:aws:acm:us-west-2:111122223333:certificate/1a2b3c4d-5678-90ab-cdef-EXAMPLE11111",
182
+ * ResourceType: "ACM_CERTIFICATE"
183
+ * }
184
+ * ],
185
+ * TotalCount: 1,
186
+ * TotalCountRelation: "EXACT"
187
+ * }
188
+ * *\/
189
+ * ```
190
+ *
191
+ * @example Continue with a token from another certificate
192
+ * ```javascript
193
+ * // The NextToken came from a request for a different certificate.
194
+ * const input = {
195
+ * CertificateIdentifier: "3f8a2c1d9b7e6f504a3c2b1d0e9f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e91",
196
+ * NextToken: "AAEXAMPLENextTokenRelated11111"
197
+ * };
198
+ * const command = new ListInventoryRelatedResourcesCommand(input);
199
+ * const response = await client.send(command);
200
+ * /* response is
201
+ * { /* metadata only *\/ }
202
+ * *\/
203
+ * ```
204
+ *
205
+ * @public
206
+ */
207
+ export declare class ListInventoryRelatedResourcesCommand extends ListInventoryRelatedResourcesCommand_base {
208
+ /** @internal type navigation helper, not in runtime. */
209
+ protected static __types: {
210
+ api: {
211
+ input: ListInventoryRelatedResourcesInput;
212
+ output: ListInventoryRelatedResourcesOutput;
213
+ };
214
+ sdk: {
215
+ input: ListInventoryRelatedResourcesCommandInput;
216
+ output: ListInventoryRelatedResourcesCommandOutput;
217
+ };
218
+ };
219
+ }
@@ -0,0 +1,176 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListInventoryUsagesInput, ListInventoryUsagesOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListInventoryUsagesCommand}.
11
+ */
12
+ export interface ListInventoryUsagesCommandInput extends ListInventoryUsagesInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListInventoryUsagesCommand}.
18
+ */
19
+ export interface ListInventoryUsagesCommandOutput extends ListInventoryUsagesOutput, __MetadataBearer {
20
+ }
21
+ declare const ListInventoryUsagesCommand_base: {
22
+ new (input: ListInventoryUsagesCommandInput): import("@smithy/core/client").CommandImpl<ListInventoryUsagesCommandInput, ListInventoryUsagesCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListInventoryUsagesCommandInput): import("@smithy/core/client").CommandImpl<ListInventoryUsagesCommandInput, ListInventoryUsagesCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Lists the places where one certificate was observed in use, such as load balancers and Amazon CloudFront
28
+ * distributions. Returns one page of usages and the total number of usages.
29
+ *
30
+ * Usages are sorted by target, in ascending order. To read the next page, repeat the request with the NextToken from
31
+ * the previous response and the same CertificateIdentifier. A NextToken from a request for a different certificate
32
+ * returns ValidationException.
33
+ *
34
+ * The caller must be the organization's management account or its delegated administrator. If the caller's account is
35
+ * not in an organization, or the caller is neither of these accounts, the operation returns AccessDeniedException. The
36
+ * message names the unmet condition.
37
+ *
38
+ * The operation returns ResourceNotFoundException before the first PutInventoryConfiguration call. Until then, only
39
+ * the management account can call it; a delegated administrator receives AccessDeniedException. It also returns
40
+ * ResourceNotFoundException when the inventory has no certificate with the identifier.
41
+ * @example
42
+ * Use a bare-bones client and the command you need to make an API call.
43
+ * ```javascript
44
+ * import { ACMClient, ListInventoryUsagesCommand } from "@aws-sdk/client-acm"; // ES Modules import
45
+ * // const { ACMClient, ListInventoryUsagesCommand } = require("@aws-sdk/client-acm"); // CommonJS import
46
+ * // import type { ACMClientConfig } from "@aws-sdk/client-acm";
47
+ * const config = {}; // type is ACMClientConfig
48
+ * const client = new ACMClient(config);
49
+ * const input = { // ListInventoryUsagesInput
50
+ * CertificateIdentifier: "STRING_VALUE", // required
51
+ * MaxResults: Number("int"),
52
+ * NextToken: "STRING_VALUE",
53
+ * };
54
+ * const command = new ListInventoryUsagesCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // ListInventoryUsagesOutput
57
+ * // Usages: [ // InventoryUsageList // required
58
+ * // { // InventoryUsage
59
+ * // CertificateIdentifier: "STRING_VALUE", // required
60
+ * // Target: { // UsageTarget Union: only one key present
61
+ * // Arn: "STRING_VALUE",
62
+ * // ResourceIdentifier: { // ResourceIdentifier
63
+ * // ResourceType: "HOST" || "EKS_POD", // required
64
+ * // Value: "STRING_VALUE", // required
65
+ * // },
66
+ * // },
67
+ * // LastObservedAt: new Date("TIMESTAMP"), // required
68
+ * // AccountId: "STRING_VALUE",
69
+ * // Region: "STRING_VALUE",
70
+ * // AgentReported: { // AgentUsageDetail Union: only one key present
71
+ * // Discovery: { // AgentDiscoveryDetail
72
+ * // Port: Number("int"), // required
73
+ * // ServerName: "STRING_VALUE",
74
+ * // },
75
+ * // Automation: { // AgentAutomationDetail
76
+ * // CertificateArn: "STRING_VALUE", // required
77
+ * // },
78
+ * // },
79
+ * // },
80
+ * // ],
81
+ * // NextToken: "STRING_VALUE",
82
+ * // TotalCount: Number("long"), // required
83
+ * // TotalCountRelation: "EXACT" || "AT_LEAST", // required
84
+ * // };
85
+ *
86
+ * ```
87
+ *
88
+ * @param ListInventoryUsagesCommandInput - {@link ListInventoryUsagesCommandInput}
89
+ * @returns {@link ListInventoryUsagesCommandOutput}
90
+ * @see {@link ListInventoryUsagesCommandInput} for command's `input` shape.
91
+ * @see {@link ListInventoryUsagesCommandOutput} for command's `response` shape.
92
+ * @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
93
+ *
94
+ * @throws {@link AccessDeniedException} (client fault)
95
+ * <p>You do not have access required to perform this action.</p>
96
+ *
97
+ * @throws {@link InternalServerException} (server fault)
98
+ * <p>The request processing has failed because of an unknown error, exception, or failure.</p>
99
+ *
100
+ * @throws {@link ResourceNotFoundException} (client fault)
101
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
102
+ *
103
+ * @throws {@link ThrottlingException} (client fault)
104
+ * <p>The request was denied because it exceeded a quota.</p>
105
+ *
106
+ * @throws {@link ValidationException} (client fault)
107
+ * <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
108
+ *
109
+ * @throws {@link ACMServiceException}
110
+ * <p>Base exception class for all service exceptions from ACM service.</p>
111
+ *
112
+ *
113
+ * @example List where a certificate is used
114
+ * ```javascript
115
+ * // The certificate is attached to an Application Load Balancer and an Amazon CloudFront distribution.
116
+ * const input = {
117
+ * CertificateIdentifier: "3f8a2c1d9b7e6f504a3c2b1d0e9f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e91",
118
+ * MaxResults: 25
119
+ * };
120
+ * const command = new ListInventoryUsagesCommand(input);
121
+ * const response = await client.send(command);
122
+ * /* response is
123
+ * {
124
+ * TotalCount: 2,
125
+ * TotalCountRelation: "EXACT",
126
+ * Usages: [
127
+ * {
128
+ * AccountId: "111122223333",
129
+ * CertificateIdentifier: "3f8a2c1d9b7e6f504a3c2b1d0e9f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e91",
130
+ * LastObservedAt: 1793628000,
131
+ * Target: {
132
+ * Arn: "arn:aws:cloudfront::111122223333:distribution/E2QWRUHAPOMQZL"
133
+ * }
134
+ * },
135
+ * {
136
+ * AccountId: "111122223333",
137
+ * CertificateIdentifier: "3f8a2c1d9b7e6f504a3c2b1d0e9f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e91",
138
+ * LastObservedAt: 1793628300,
139
+ * Region: "us-west-2",
140
+ * Target: {
141
+ * Arn: "arn:aws:elasticloadbalancing:us-west-2:111122223333:loadbalancer/app/web-frontend/50dc6c495c0c9188"
142
+ * }
143
+ * }
144
+ * ]
145
+ * }
146
+ * *\/
147
+ * ```
148
+ *
149
+ * @example List the usages of a certificate the inventory has not observed
150
+ * ```javascript
151
+ * // No certificate in the organization's inventory has this identifier.
152
+ * const input = {
153
+ * CertificateIdentifier: "9c1e4b7a2d5f8036e9b2c5f8a1d4e7b0c3f6a9d2e5b8c1f4a7d0e3b6c9f2a5d8"
154
+ * };
155
+ * const command = new ListInventoryUsagesCommand(input);
156
+ * const response = await client.send(command);
157
+ * /* response is
158
+ * { /* metadata only *\/ }
159
+ * *\/
160
+ * ```
161
+ *
162
+ * @public
163
+ */
164
+ export declare class ListInventoryUsagesCommand extends ListInventoryUsagesCommand_base {
165
+ /** @internal type navigation helper, not in runtime. */
166
+ protected static __types: {
167
+ api: {
168
+ input: ListInventoryUsagesInput;
169
+ output: ListInventoryUsagesOutput;
170
+ };
171
+ sdk: {
172
+ input: ListInventoryUsagesCommandInput;
173
+ output: ListInventoryUsagesCommandOutput;
174
+ };
175
+ };
176
+ }