@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,318 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { SearchInventoryInput, SearchInventoryOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link SearchInventoryCommand}.
11
+ */
12
+ export interface SearchInventoryCommandInput extends SearchInventoryInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link SearchInventoryCommand}.
18
+ */
19
+ export interface SearchInventoryCommandOutput extends SearchInventoryOutput, __MetadataBearer {
20
+ }
21
+ declare const SearchInventoryCommand_base: {
22
+ new (input: SearchInventoryCommandInput): import("@smithy/core/client").CommandImpl<SearchInventoryCommandInput, SearchInventoryCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [SearchInventoryCommandInput]): import("@smithy/core/client").CommandImpl<SearchInventoryCommandInput, SearchInventoryCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Searches Certificate inventory for organizations and returns one page of certificates, with the number that match.
28
+ * The certificate inventory is the set of certificates observed in the organization's accounts.
29
+ *
30
+ * Filter combines typed predicates with And, Or, and Not. Omit it to search every certificate. These limits apply:
31
+ * - An And or Or list holds 1 to 15 statements.
32
+ * - Statements nest at most 3 levels deep. Filter itself is level 1, and each statement inside an And, Or, or Not is
33
+ * one level deeper. For example, an And of Not statements that each hold a predicate is 3 levels deep.
34
+ * - A filter holds at most 20 predicates in total.
35
+ *
36
+ * Results are sorted by NotAfter, latest first, unless SortBy and SortOrder say otherwise. To read the next page,
37
+ * repeat the request with the NextToken from the previous response. Keep the same Filter, SortBy, and SortOrder. A
38
+ * NextToken from a search with a different Filter, SortBy, or SortOrder returns ValidationException.
39
+ *
40
+ * The caller must be the organization's management account or its delegated administrator. If the caller's account is
41
+ * not in an organization, or the caller is neither of these accounts, the operation returns AccessDeniedException. The
42
+ * message names the unmet condition. Before the first PutInventoryConfiguration call, the operation returns
43
+ * ResourceNotFoundException. Until then, only the management account can call it; a delegated administrator receives
44
+ * AccessDeniedException.
45
+ * @example
46
+ * Use a bare-bones client and the command you need to make an API call.
47
+ * ```javascript
48
+ * import { ACMClient, SearchInventoryCommand } from "@aws-sdk/client-acm"; // ES Modules import
49
+ * // const { ACMClient, SearchInventoryCommand } = require("@aws-sdk/client-acm"); // CommonJS import
50
+ * // import type { ACMClientConfig } from "@aws-sdk/client-acm";
51
+ * const config = {}; // type is ACMClientConfig
52
+ * const client = new ACMClient(config);
53
+ * const input = { // SearchInventoryInput
54
+ * Filter: { // InventoryFilterStatement Union: only one key present
55
+ * And: [ // InventoryFilterStatementList
56
+ * {// Union: only one key present
57
+ * And: [
58
+ * "<InventoryFilterStatement>",
59
+ * ],
60
+ * Or: [
61
+ * "<InventoryFilterStatement>",
62
+ * ],
63
+ * Not: "<InventoryFilterStatement>",
64
+ * Filter: { // InventoryFilterPredicate Union: only one key present
65
+ * Identifier: "STRING_VALUE",
66
+ * MaterialType: "X509_CERTIFICATE",
67
+ * AccountId: "STRING_VALUE",
68
+ * Region: "STRING_VALUE",
69
+ * IssuanceType: "AMAZON_ISSUED" || "PRIVATE_CA_ISSUED" || "IMPORTED" || "EXTERNAL" || "PRIVATE_CA_DIRECT",
70
+ * KeyAlgorithm: "RSA_1024" || "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "ED25519" || "ED448" || "OTHER",
71
+ * UsageStatus: "IN_USE" || "NOT_IN_USE",
72
+ * Issuer: "STRING_VALUE",
73
+ * Domain: { // DomainPredicate
74
+ * Value: "STRING_VALUE", // required
75
+ * Match: "EQUALS" || "IN_DOMAIN" || "CONTAINS", // required
76
+ * },
77
+ * NotAfter: { // InventoryTimeRange
78
+ * After: new Date("TIMESTAMP"),
79
+ * Before: new Date("TIMESTAMP"),
80
+ * },
81
+ * RelatedResourceType: "ACM_CERTIFICATE" || "PCA_CERTIFICATE" || "PCA_CERTIFICATE_AUTHORITY",
82
+ * HighestFindingSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "HEALTHY" || "NOT_APPLICABLE" || "NOT_EVALUATED",
83
+ * AcmCertificateArn: { // AcmCertificateArnPredicate
84
+ * Value: "STRING_VALUE", // required
85
+ * Match: "CURRENT" || "ANY", // required
86
+ * },
87
+ * PcaCertificateArn: "STRING_VALUE",
88
+ * PcaCertificateAuthorityArn: { // PrivateCaCertificateAuthorityArnPredicate
89
+ * Value: "STRING_VALUE", // required
90
+ * Relationship: "ISSUED_BY" || "CA_CERTIFICATE", // required
91
+ * },
92
+ * IssuerWords: "STRING_VALUE",
93
+ * SignatureAlgorithm: "STRING_VALUE",
94
+ * },
95
+ * },
96
+ * ],
97
+ * Or: [
98
+ * "<InventoryFilterStatement>",
99
+ * ],
100
+ * Not: "<InventoryFilterStatement>",
101
+ * Filter: {// Union: only one key present
102
+ * Identifier: "STRING_VALUE",
103
+ * MaterialType: "X509_CERTIFICATE",
104
+ * AccountId: "STRING_VALUE",
105
+ * Region: "STRING_VALUE",
106
+ * IssuanceType: "AMAZON_ISSUED" || "PRIVATE_CA_ISSUED" || "IMPORTED" || "EXTERNAL" || "PRIVATE_CA_DIRECT",
107
+ * KeyAlgorithm: "RSA_1024" || "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "ED25519" || "ED448" || "OTHER",
108
+ * UsageStatus: "IN_USE" || "NOT_IN_USE",
109
+ * Issuer: "STRING_VALUE",
110
+ * Domain: {
111
+ * Value: "STRING_VALUE", // required
112
+ * Match: "EQUALS" || "IN_DOMAIN" || "CONTAINS", // required
113
+ * },
114
+ * NotAfter: {
115
+ * After: new Date("TIMESTAMP"),
116
+ * Before: new Date("TIMESTAMP"),
117
+ * },
118
+ * RelatedResourceType: "ACM_CERTIFICATE" || "PCA_CERTIFICATE" || "PCA_CERTIFICATE_AUTHORITY",
119
+ * HighestFindingSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "HEALTHY" || "NOT_APPLICABLE" || "NOT_EVALUATED",
120
+ * AcmCertificateArn: {
121
+ * Value: "STRING_VALUE", // required
122
+ * Match: "CURRENT" || "ANY", // required
123
+ * },
124
+ * PcaCertificateArn: "STRING_VALUE",
125
+ * PcaCertificateAuthorityArn: {
126
+ * Value: "STRING_VALUE", // required
127
+ * Relationship: "ISSUED_BY" || "CA_CERTIFICATE", // required
128
+ * },
129
+ * IssuerWords: "STRING_VALUE",
130
+ * SignatureAlgorithm: "STRING_VALUE",
131
+ * },
132
+ * },
133
+ * SortBy: "NOT_AFTER" || "NOT_BEFORE" || "USAGE_COUNT" || "SUBJECT" || "HIGHEST_FINDING_SEVERITY",
134
+ * SortOrder: "ASCENDING" || "DESCENDING",
135
+ * MaxResults: Number("int"),
136
+ * NextToken: "STRING_VALUE",
137
+ * };
138
+ * const command = new SearchInventoryCommand(input);
139
+ * const response = await client.send(command);
140
+ * // { // SearchInventoryOutput
141
+ * // Certificates: [ // InventoryCertificateList // required
142
+ * // { // InventoryCertificate
143
+ * // Identifier: "STRING_VALUE", // required
144
+ * // MaterialType: "X509_CERTIFICATE", // required
145
+ * // Validity: { // ValidityWindow
146
+ * // NotBefore: new Date("TIMESTAMP"), // required
147
+ * // NotAfter: new Date("TIMESTAMP"), // required
148
+ * // },
149
+ * // Identity: { // InventoryCertificateIdentity
150
+ * // Subject: "STRING_VALUE",
151
+ * // Identifiers: [ // IdentityIdentifierList // required
152
+ * // "STRING_VALUE",
153
+ * // ],
154
+ * // HasAdditionalIdentifiers: true || false,
155
+ * // },
156
+ * // UsageCount: Number("long"), // required
157
+ * // FindingCounts: { // FindingCounts
158
+ * // Critical: Number("long"), // required
159
+ * // High: Number("long"), // required
160
+ * // Medium: Number("long"), // required
161
+ * // Low: Number("long"), // required
162
+ * // Informational: Number("long"), // required
163
+ * // },
164
+ * // X509Details: { // InventoryX509Details
165
+ * // Issuer: "STRING_VALUE", // required
166
+ * // SerialNumber: "STRING_VALUE", // required
167
+ * // NotBefore: new Date("TIMESTAMP"), // required
168
+ * // NotAfter: new Date("TIMESTAMP"), // required
169
+ * // SubjectAlternativeNames: [ // SubjectAlternativeNameList // required
170
+ * // "STRING_VALUE",
171
+ * // ],
172
+ * // KeyAlgorithm: "RSA_1024" || "RSA_2048" || "RSA_3072" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1" || "EC_secp521r1" || "ED25519" || "ED448" || "OTHER", // required
173
+ * // IssuanceType: "AMAZON_ISSUED" || "PRIVATE_CA_ISSUED" || "IMPORTED" || "EXTERNAL" || "PRIVATE_CA_DIRECT", // required
174
+ * // SignatureAlgorithm: "STRING_VALUE",
175
+ * // KeySizeBits: Number("int"),
176
+ * // },
177
+ * // HighestFindingSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "HEALTHY" || "NOT_APPLICABLE" || "NOT_EVALUATED",
178
+ * // RelatedResourceCount: Number("long"),
179
+ * // },
180
+ * // ],
181
+ * // NextToken: "STRING_VALUE",
182
+ * // TotalCount: Number("long"), // required
183
+ * // TotalCountRelation: "EXACT" || "AT_LEAST", // required
184
+ * // };
185
+ *
186
+ * ```
187
+ *
188
+ * @param SearchInventoryCommandInput - {@link SearchInventoryCommandInput}
189
+ * @returns {@link SearchInventoryCommandOutput}
190
+ * @see {@link SearchInventoryCommandInput} for command's `input` shape.
191
+ * @see {@link SearchInventoryCommandOutput} for command's `response` shape.
192
+ * @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
193
+ *
194
+ * @throws {@link AccessDeniedException} (client fault)
195
+ * <p>You do not have access required to perform this action.</p>
196
+ *
197
+ * @throws {@link InternalServerException} (server fault)
198
+ * <p>The request processing has failed because of an unknown error, exception, or failure.</p>
199
+ *
200
+ * @throws {@link ResourceNotFoundException} (client fault)
201
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
202
+ *
203
+ * @throws {@link ThrottlingException} (client fault)
204
+ * <p>The request was denied because it exceeded a quota.</p>
205
+ *
206
+ * @throws {@link ValidationException} (client fault)
207
+ * <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
208
+ *
209
+ * @throws {@link ACMServiceException}
210
+ * <p>Base exception class for all service exceptions from ACM service.</p>
211
+ *
212
+ *
213
+ * @example Find certificates for a domain that expire soon
214
+ * ```javascript
215
+ * // Certificates for example.com and its subdomains that expire before December 1, 2026. Results are soonest first, one per page.
216
+ * const input = {
217
+ * Filter: {
218
+ * And: [
219
+ * {
220
+ * Filter: {
221
+ * Domain: {
222
+ * Match: "IN_DOMAIN",
223
+ * Value: "example.com"
224
+ * }
225
+ * }
226
+ * },
227
+ * {
228
+ * Filter: {
229
+ * NotAfter: {
230
+ * Before: 1796083200
231
+ * }
232
+ * }
233
+ * }
234
+ * ]
235
+ * },
236
+ * MaxResults: 1,
237
+ * SortBy: "NOT_AFTER",
238
+ * SortOrder: "ASCENDING"
239
+ * };
240
+ * const command = new SearchInventoryCommand(input);
241
+ * const response = await client.send(command);
242
+ * /* response is
243
+ * {
244
+ * Certificates: [
245
+ * {
246
+ * FindingCounts: {
247
+ * Critical: 0,
248
+ * High: 1,
249
+ * Informational: 0,
250
+ * Low: 0,
251
+ * Medium: 0
252
+ * },
253
+ * HighestFindingSeverity: "HIGH",
254
+ * Identifier: "3f8a2c1d9b7e6f504a3c2b1d0e9f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e91",
255
+ * Identity: {
256
+ * HasAdditionalIdentifiers: false,
257
+ * Identifiers: [
258
+ * "www.example.com",
259
+ * "example.com"
260
+ * ],
261
+ * Subject: "CN=www.example.com"
262
+ * },
263
+ * MaterialType: "X509_CERTIFICATE",
264
+ * RelatedResourceCount: 1,
265
+ * UsageCount: 2,
266
+ * Validity: {
267
+ * NotAfter: 1795132799,
268
+ * NotBefore: 1763596800
269
+ * },
270
+ * X509Details: {
271
+ * IssuanceType: "AMAZON_ISSUED",
272
+ * Issuer: "CN=Amazon RSA 2048 M03,O=Amazon,C=US",
273
+ * KeyAlgorithm: "RSA_2048",
274
+ * KeySizeBits: 2048,
275
+ * NotAfter: 1795132799,
276
+ * NotBefore: 1763596800,
277
+ * SerialNumber: "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
278
+ * SignatureAlgorithm: "SHA256WITHRSA",
279
+ * SubjectAlternativeNames: [
280
+ * "www.example.com",
281
+ * "example.com"
282
+ * ]
283
+ * }
284
+ * }
285
+ * ],
286
+ * NextToken: "AAEXAMPLENextTokenSearch111111",
287
+ * TotalCount: 14,
288
+ * TotalCountRelation: "EXACT"
289
+ * }
290
+ * *\/
291
+ * ```
292
+ *
293
+ * @example Search before inventory is set up
294
+ * ```javascript
295
+ * // The organization has never called PutInventoryConfiguration.
296
+ * const input = { /* empty *\/ };
297
+ * const command = new SearchInventoryCommand(input);
298
+ * const response = await client.send(command);
299
+ * /* response is
300
+ * { /* metadata only *\/ }
301
+ * *\/
302
+ * ```
303
+ *
304
+ * @public
305
+ */
306
+ export declare class SearchInventoryCommand extends SearchInventoryCommand_base {
307
+ /** @internal type navigation helper, not in runtime. */
308
+ protected static __types: {
309
+ api: {
310
+ input: SearchInventoryInput;
311
+ output: SearchInventoryOutput;
312
+ };
313
+ sdk: {
314
+ input: SearchInventoryCommandInput;
315
+ output: SearchInventoryCommandOutput;
316
+ };
317
+ };
318
+ }
@@ -0,0 +1,179 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateMemberCertificateAuthorityInput, UpdateMemberCertificateAuthorityOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateMemberCertificateAuthorityCommand}.
11
+ */
12
+ export interface UpdateMemberCertificateAuthorityCommandInput extends UpdateMemberCertificateAuthorityInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateMemberCertificateAuthorityCommand}.
18
+ */
19
+ export interface UpdateMemberCertificateAuthorityCommandOutput extends UpdateMemberCertificateAuthorityOutput, __MetadataBearer {
20
+ }
21
+ declare const UpdateMemberCertificateAuthorityCommand_base: {
22
+ new (input: UpdateMemberCertificateAuthorityCommandInput): import("@smithy/core/client").CommandImpl<UpdateMemberCertificateAuthorityCommandInput, UpdateMemberCertificateAuthorityCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateMemberCertificateAuthorityCommandInput): import("@smithy/core/client").CommandImpl<UpdateMemberCertificateAuthorityCommandInput, UpdateMemberCertificateAuthorityCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Updates the status or the revocation configuration of a private certificate authority (CA) in a member account of
28
+ * the caller's organization. AWS Private Certificate Authority (AWS Private CA) applies the rules of its
29
+ * UpdateCertificateAuthority operation, including which status changes and revocation settings it accepts. For
30
+ * details, see UpdateCertificateAuthority in the AWS Private CA API Reference.
31
+ *
32
+ * A parameter you omit is not sent to AWS Private CA, so that setting is unchanged. AWS Private CA writes CRLs to the
33
+ * Amazon S3 bucket named by S3BucketName in its own CrlConfiguration, which you set with AWS Private CA in the member
34
+ * account.
35
+ *
36
+ * The caller must be the organization's management account or its delegated administrator. The operation acts in the
37
+ * member account and Region that the certificate authority ARN names. It returns AccessDeniedException in these cases,
38
+ * and, except where noted, the message names the unmet condition:
39
+ * - The caller's account is not in an organization, or the organization is not active in AWS Certificate Manager.
40
+ * - The caller is neither the management account nor the delegated administrator.
41
+ * - The certificate authority is in the caller's own account. Call the AWS Private CA operation in that account
42
+ * instead.
43
+ * - The organization has no certificate inventory configuration.
44
+ * - Certificate actions for organizations are turned off. Certificate actions are the operations that act on
45
+ * certificates and certificate authorities in member accounts. Turn them on with LifecycleManagement in
46
+ * PutInventoryConfiguration.
47
+ * - The certificate authority's Region is outside the RegionalScope of the configuration.
48
+ * - The certificate authority's account is not an active member of the organization, or is outside the AccountScope of
49
+ * the configuration.
50
+ * - The Regions enabled for the certificate authority's account are not recorded yet.
51
+ * - AWS Certificate Manager is not authorized to act in the certificate authority's account, because the account is
52
+ * not in the organization or access setup there has not finished.
53
+ *
54
+ * If member operations are not available in the Region you call, the operation returns AccessDeniedException with the
55
+ * message Unauthorized, before any of the checks above. An ARN that is malformed, does not name an AWS Private CA
56
+ * certificate authority, is in another partition, or names an unknown Region also returns AccessDeniedException with
57
+ * the message Unauthorized. A call outside the organization's home Region returns ResourceNotFoundException, and the
58
+ * message names the home Region. A certificate authority ARN whose Region is not enabled for its account, or where AWS
59
+ * Private CA is not available, returns ValidationException. A certificate authority ARN that is too long for the
60
+ * operation to act on, even within the length limit of CertificateAuthorityArn, also returns ValidationException.
61
+ *
62
+ * Errors that AWS Private CA returns in the member account are returned as these errors:
63
+ * - ResourceNotFoundException: AWS Private CA did not find the certificate authority.
64
+ * - ConflictException: AWS Private CA reports a conflict, such as a certificate authority state that does not allow
65
+ * the change.
66
+ * - ValidationException: AWS Private CA rejects the request, or reports that a quota is reached.
67
+ * - ThrottlingException: AWS Private CA throttles the call.
68
+ *
69
+ * Any other error returns InternalServerException.
70
+ * @example
71
+ * Use a bare-bones client and the command you need to make an API call.
72
+ * ```javascript
73
+ * import { ACMClient, UpdateMemberCertificateAuthorityCommand } from "@aws-sdk/client-acm"; // ES Modules import
74
+ * // const { ACMClient, UpdateMemberCertificateAuthorityCommand } = require("@aws-sdk/client-acm"); // CommonJS import
75
+ * // import type { ACMClientConfig } from "@aws-sdk/client-acm";
76
+ * const config = {}; // type is ACMClientConfig
77
+ * const client = new ACMClient(config);
78
+ * const input = { // UpdateMemberCertificateAuthorityInput
79
+ * CertificateAuthorityArn: "STRING_VALUE", // required
80
+ * Status: "CREATING" || "PENDING_CERTIFICATE" || "ACTIVE" || "DELETED" || "DISABLED" || "EXPIRED" || "FAILED",
81
+ * RevocationConfiguration: { // PrivateCaRevocationConfiguration
82
+ * CrlConfiguration: { // PrivateCaCrlConfiguration
83
+ * Enabled: true || false, // required
84
+ * ExpirationInDays: Number("int"),
85
+ * CustomCname: "STRING_VALUE",
86
+ * S3ObjectAcl: "PUBLIC_READ" || "BUCKET_OWNER_FULL_CONTROL",
87
+ * CrlDistributionPointExtensionConfiguration: { // PrivateCaCrlDistributionPointExtensionConfiguration
88
+ * OmitExtension: true || false, // required
89
+ * },
90
+ * CrlType: "COMPLETE" || "PARTITIONED",
91
+ * CustomPath: "STRING_VALUE",
92
+ * },
93
+ * OcspConfiguration: { // PrivateCaOcspConfiguration
94
+ * Enabled: true || false, // required
95
+ * OcspCustomCname: "STRING_VALUE",
96
+ * },
97
+ * },
98
+ * };
99
+ * const command = new UpdateMemberCertificateAuthorityCommand(input);
100
+ * const response = await client.send(command);
101
+ * // {};
102
+ *
103
+ * ```
104
+ *
105
+ * @param UpdateMemberCertificateAuthorityCommandInput - {@link UpdateMemberCertificateAuthorityCommandInput}
106
+ * @returns {@link UpdateMemberCertificateAuthorityCommandOutput}
107
+ * @see {@link UpdateMemberCertificateAuthorityCommandInput} for command's `input` shape.
108
+ * @see {@link UpdateMemberCertificateAuthorityCommandOutput} for command's `response` shape.
109
+ * @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
110
+ *
111
+ * @throws {@link AccessDeniedException} (client fault)
112
+ * <p>You do not have access required to perform this action.</p>
113
+ *
114
+ * @throws {@link ConflictException} (client fault)
115
+ * <p>You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.</p>
116
+ *
117
+ * @throws {@link InternalServerException} (server fault)
118
+ * <p>The request processing has failed because of an unknown error, exception, or failure.</p>
119
+ *
120
+ * @throws {@link ResourceNotFoundException} (client fault)
121
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
122
+ *
123
+ * @throws {@link ThrottlingException} (client fault)
124
+ * <p>The request was denied because it exceeded a quota.</p>
125
+ *
126
+ * @throws {@link ValidationException} (client fault)
127
+ * <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
128
+ *
129
+ * @throws {@link ACMServiceException}
130
+ * <p>Base exception class for all service exceptions from ACM service.</p>
131
+ *
132
+ *
133
+ * @example Disable a certificate authority in a member account
134
+ * ```javascript
135
+ * // The delegated administrator stops the certificate authority in account 444455556666 from issuing certificates.
136
+ * const input = {
137
+ * CertificateAuthorityArn: "arn:aws:acm-pca:us-west-2:444455556666:certificate-authority/12345678-1234-1234-1234-123456789012",
138
+ * Status: "DISABLED"
139
+ * };
140
+ * const command = new UpdateMemberCertificateAuthorityCommand(input);
141
+ * const response = await client.send(command);
142
+ * /* response is
143
+ * { /* empty *\/ }
144
+ * *\/
145
+ * ```
146
+ *
147
+ * @example Update a certificate authority that does not exist
148
+ * ```javascript
149
+ * // AWS Private CA in the member account has no certificate authority with this ARN.
150
+ * const input = {
151
+ * CertificateAuthorityArn: "arn:aws:acm-pca:us-west-2:444455556666:certificate-authority/12345678-1234-1234-1234-123456789012",
152
+ * RevocationConfiguration: {
153
+ * OcspConfiguration: {
154
+ * Enabled: true
155
+ * }
156
+ * }
157
+ * };
158
+ * const command = new UpdateMemberCertificateAuthorityCommand(input);
159
+ * const response = await client.send(command);
160
+ * /* response is
161
+ * { /* metadata only *\/ }
162
+ * *\/
163
+ * ```
164
+ *
165
+ * @public
166
+ */
167
+ export declare class UpdateMemberCertificateAuthorityCommand extends UpdateMemberCertificateAuthorityCommand_base {
168
+ /** @internal type navigation helper, not in runtime. */
169
+ protected static __types: {
170
+ api: {
171
+ input: UpdateMemberCertificateAuthorityInput;
172
+ output: {};
173
+ };
174
+ sdk: {
175
+ input: UpdateMemberCertificateAuthorityCommandInput;
176
+ output: UpdateMemberCertificateAuthorityCommandOutput;
177
+ };
178
+ };
179
+ }
@@ -0,0 +1,133 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateMemberCertificateOptionsInput, UpdateMemberCertificateOptionsOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateMemberCertificateOptionsCommand}.
11
+ */
12
+ export interface UpdateMemberCertificateOptionsCommandInput extends UpdateMemberCertificateOptionsInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateMemberCertificateOptionsCommand}.
18
+ */
19
+ export interface UpdateMemberCertificateOptionsCommandOutput extends UpdateMemberCertificateOptionsOutput, __MetadataBearer {
20
+ }
21
+ declare const UpdateMemberCertificateOptionsCommand_base: {
22
+ new (input: UpdateMemberCertificateOptionsCommandInput): import("@smithy/core/client").CommandImpl<UpdateMemberCertificateOptionsCommandInput, UpdateMemberCertificateOptionsCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateMemberCertificateOptionsCommandInput): import("@smithy/core/client").CommandImpl<UpdateMemberCertificateOptionsCommandInput, UpdateMemberCertificateOptionsCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Updates the options of an AWS Certificate Manager (ACM) certificate in a member account of the caller's
28
+ * organization. ACM applies the rules of its UpdateCertificateOptions operation, including which options can change
29
+ * after a certificate is created. For details, see UpdateCertificateOptions in the AWS Certificate Manager API
30
+ * Reference.
31
+ *
32
+ * An option you omit is not sent to ACM, so it is unchanged. A request that sets neither Export nor ValidationMethod
33
+ * returns ValidationException.
34
+ *
35
+ * The caller must be the organization's management account or its delegated administrator, Certificate actions for
36
+ * organizations must be on, and the call must be made in the organization's home Region. For every check and error,
37
+ * see RenewMemberCertificate.
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { ACMClient, UpdateMemberCertificateOptionsCommand } from "@aws-sdk/client-acm"; // ES Modules import
42
+ * // const { ACMClient, UpdateMemberCertificateOptionsCommand } = require("@aws-sdk/client-acm"); // CommonJS import
43
+ * // import type { ACMClientConfig } from "@aws-sdk/client-acm";
44
+ * const config = {}; // type is ACMClientConfig
45
+ * const client = new ACMClient(config);
46
+ * const input = { // UpdateMemberCertificateOptionsInput
47
+ * CertificateArn: "STRING_VALUE", // required
48
+ * Options: { // AcmCertificateOptions
49
+ * Export: "ENABLED" || "DISABLED",
50
+ * ValidationMethod: "EMAIL" || "DNS" || "HTTP",
51
+ * },
52
+ * };
53
+ * const command = new UpdateMemberCertificateOptionsCommand(input);
54
+ * const response = await client.send(command);
55
+ * // {};
56
+ *
57
+ * ```
58
+ *
59
+ * @param UpdateMemberCertificateOptionsCommandInput - {@link UpdateMemberCertificateOptionsCommandInput}
60
+ * @returns {@link UpdateMemberCertificateOptionsCommandOutput}
61
+ * @see {@link UpdateMemberCertificateOptionsCommandInput} for command's `input` shape.
62
+ * @see {@link UpdateMemberCertificateOptionsCommandOutput} for command's `response` shape.
63
+ * @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have access required to perform this action.</p>
67
+ *
68
+ * @throws {@link ConflictException} (client fault)
69
+ * <p>You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>The request processing has failed because of an unknown error, exception, or failure.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The request was denied because it exceeded a quota.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
82
+ *
83
+ * @throws {@link ACMServiceException}
84
+ * <p>Base exception class for all service exceptions from ACM service.</p>
85
+ *
86
+ *
87
+ * @example Move a certificate in a member account to DNS validation
88
+ * ```javascript
89
+ * // The certificate in account 444455556666 uses email validation, and the delegated administrator moves it to DNS validation.
90
+ * const input = {
91
+ * CertificateArn: "arn:aws:acm:us-west-2:444455556666:certificate/1a2b3c4d-5678-90ab-cdef-EXAMPLE22222",
92
+ * Options: {
93
+ * ValidationMethod: "DNS"
94
+ * }
95
+ * };
96
+ * const command = new UpdateMemberCertificateOptionsCommand(input);
97
+ * const response = await client.send(command);
98
+ * /* response is
99
+ * { /* empty *\/ }
100
+ * *\/
101
+ * ```
102
+ *
103
+ * @example Update the options of a certificate that does not exist
104
+ * ```javascript
105
+ * // ACM in the member account has no certificate with this ARN.
106
+ * const input = {
107
+ * CertificateArn: "arn:aws:acm:us-west-2:444455556666:certificate/1a2b3c4d-5678-90ab-cdef-EXAMPLE22222",
108
+ * Options: {
109
+ * ValidationMethod: "DNS"
110
+ * }
111
+ * };
112
+ * const command = new UpdateMemberCertificateOptionsCommand(input);
113
+ * const response = await client.send(command);
114
+ * /* response is
115
+ * { /* metadata only *\/ }
116
+ * *\/
117
+ * ```
118
+ *
119
+ * @public
120
+ */
121
+ export declare class UpdateMemberCertificateOptionsCommand extends UpdateMemberCertificateOptionsCommand_base {
122
+ /** @internal type navigation helper, not in runtime. */
123
+ protected static __types: {
124
+ api: {
125
+ input: UpdateMemberCertificateOptionsInput;
126
+ output: {};
127
+ };
128
+ sdk: {
129
+ input: UpdateMemberCertificateOptionsCommandInput;
130
+ output: UpdateMemberCertificateOptionsCommandOutput;
131
+ };
132
+ };
133
+ }