@aws-sdk/client-acm 3.1179.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,542 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { PutInventoryConfigurationInput, PutInventoryConfigurationOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link PutInventoryConfigurationCommand}.
11
+ */
12
+ export interface PutInventoryConfigurationCommandInput extends PutInventoryConfigurationInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link PutInventoryConfigurationCommand}.
18
+ */
19
+ export interface PutInventoryConfigurationCommandOutput extends PutInventoryConfigurationOutput, __MetadataBearer {
20
+ }
21
+ declare const PutInventoryConfigurationCommand_base: {
22
+ new (input: PutInventoryConfigurationCommandInput): import("@smithy/core/client").CommandImpl<PutInventoryConfigurationCommandInput, PutInventoryConfigurationCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutInventoryConfigurationCommandInput): import("@smithy/core/client").CommandImpl<PutInventoryConfigurationCommandInput, PutInventoryConfigurationCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Sets the organization's configuration for Certificate inventory for organizations, and returns it. The certificate
28
+ * inventory is the set of certificates observed in the organization's accounts.
29
+ *
30
+ * The first call with Status ENABLED creates the configuration. The Region of that call becomes the home Region, and
31
+ * later calls must be made there. Setup in the organization's accounts continues after the call returns. To follow it,
32
+ * read ProvisioningStatus with GetInventoryConfiguration.
33
+ *
34
+ * The caller must be the organization's management account or its delegated administrator in AWS Organizations.
35
+ * Otherwise, the operation returns AccessDeniedException. The first call starts the organization's AWS Certificate
36
+ * Manager (ACM) plan (Essentials or Pro), so only the management account can make it. A delegated administrator can
37
+ * make later calls as soon as it is registered.
38
+ *
39
+ * The call does not require that AWS Organizations trusted access is on, that all features are enabled in the
40
+ * organization, or that a delegated administrator is registered. Setup requires them. If a requirement is not met,
41
+ * GetInventoryConfiguration shows ProvisioningStatus FAILED, with a reason code and a message.
42
+ *
43
+ * The operation returns ConflictException for these calls:
44
+ * - A first call with Status DISABLED.
45
+ * - A call from a Region other than the home Region.
46
+ * - A call while a previous change is still being set up, unless it repeats the stored configuration.
47
+ *
48
+ * DataRetentionDays is not kept when you omit it. A call without it sets retention to 90 days, even if a different
49
+ * value is stored.
50
+ *
51
+ * LifecycleManagement turns Certificate actions for organizations on or off. Certificate actions are the operations
52
+ * that act on certificates and certificate authorities in the organization's member accounts. Omit LifecycleManagement
53
+ * to keep the stored value. The first call can turn certificate actions on, and no registered delegated administrator
54
+ * is needed. Status DISABLED also turns certificate actions off. Turning them on while Status is DISABLED returns
55
+ * ValidationException. To follow setup in the member accounts, read LifecycleManagement.ProvisioningStatus with
56
+ * GetInventoryConfiguration.
57
+ *
58
+ * ExpiryNotification sets certificate expiry notifications. Omit it to keep the stored setting, or set Enabled to
59
+ * false to turn notifications off. With Enabled true, Channel and TopicArn are required. The topic must be a standard
60
+ * (non-FIFO) Amazon SNS topic in the management account and the home Region. It must also be in the partition of the
61
+ * endpoint you call. Otherwise, the operation returns ValidationException. Each save with Enabled true verifies the
62
+ * topic again after the call returns. To follow it, read LastDeliveryStatus with GetInventoryConfiguration.
63
+ *
64
+ * A call that repeats the stored configuration returns it, even while a previous change is still being set up. To
65
+ * retry a failed setup, repeat the call with Status ENABLED after ProvisioningStatus is FAILED. With
66
+ * ExpiryNotification Enabled true, a repeated call also verifies the topic again.
67
+ *
68
+ * InventoryTier names the organization's ACM plan: Essentials or Pro. It is optional. Omit it to keep the current
69
+ * plan. While the organization has no plan, such as on the first call, a call with Status ENABLED must name one.
70
+ * Otherwise, it returns ValidationException. With Status ENABLED, the named plan is the plan to subscribe to. The
71
+ * first plan and a higher plan take effect immediately. A lower plan takes effect at the end of the billing period.
72
+ *
73
+ * With Status DISABLED, InventoryTier is ignored. Certificate actions turn off immediately. The plan ends at the end
74
+ * of the billing period, and collection stays on until then. Repeating the DISABLED call before then does not change
75
+ * the plan again. If the organization has no plan, a DISABLED call turns collection off immediately.
76
+ *
77
+ * Until the plan ends, a Status ENABLED call that omits InventoryTier leaves the end in place. To read the scheduled
78
+ * end, use InventoryTierConfiguration.ScheduledChange in GetInventoryConfiguration. A call that names the ending plan
79
+ * returns ConflictException. A call that names the other plan replaces the scheduled end with that plan. A scheduled
80
+ * downgrade cannot be taken back either. While one is scheduled, a call that names the plan in effect returns
81
+ * ConflictException.
82
+ *
83
+ * Only the management account can start, change, or end the plan. A delegated administrator call that would do so
84
+ * returns AccessDeniedException. A delegated administrator call succeeds when it omits InventoryTier or names the plan
85
+ * last requested. While the plan is scheduled to end, there is no requested plan, so a delegated administrator call
86
+ * that names any plan returns AccessDeniedException. The response does not include the plan. Read
87
+ * InventoryTierConfiguration with GetInventoryConfiguration, which can take a few seconds to show a change.
88
+ * @example
89
+ * Use a bare-bones client and the command you need to make an API call.
90
+ * ```javascript
91
+ * import { ACMClient, PutInventoryConfigurationCommand } from "@aws-sdk/client-acm"; // ES Modules import
92
+ * // const { ACMClient, PutInventoryConfigurationCommand } = require("@aws-sdk/client-acm"); // CommonJS import
93
+ * // import type { ACMClientConfig } from "@aws-sdk/client-acm";
94
+ * const config = {}; // type is ACMClientConfig
95
+ * const client = new ACMClient(config);
96
+ * const input = { // PutInventoryConfigurationInput
97
+ * RegionalScope: { // RegionalScope
98
+ * Mode: "ALL_REGIONS" || "INCLUDE" || "EXCLUDE", // required
99
+ * Regions: [ // RegionList
100
+ * "STRING_VALUE",
101
+ * ],
102
+ * },
103
+ * AccountScope: { // AccountScope
104
+ * Mode: "ALL_ACCOUNTS" || "INCLUDE" || "EXCLUDE", // required
105
+ * OrganizationalUnitIds: [ // OrganizationalUnitIdList
106
+ * "STRING_VALUE",
107
+ * ],
108
+ * AccountIds: [ // AccountIdList
109
+ * "STRING_VALUE",
110
+ * ],
111
+ * },
112
+ * DataRetentionDays: Number("int"),
113
+ * Status: "ENABLED" || "DISABLED", // required
114
+ * LifecycleManagement: { // LifecycleManagement
115
+ * Status: "ENABLED" || "DISABLED", // required
116
+ * },
117
+ * ExpiryNotification: { // InventoryExpiryNotification
118
+ * Enabled: true || false,
119
+ * Channel: "SNS",
120
+ * TopicArn: "STRING_VALUE",
121
+ * LeadTimeDays: Number("int"),
122
+ * Frequency: "ONCE" || "DAILY" || "WEEKLY",
123
+ * },
124
+ * InventoryTier: "ESSENTIALS" || "PRO",
125
+ * };
126
+ * const command = new PutInventoryConfigurationCommand(input);
127
+ * const response = await client.send(command);
128
+ * // { // PutInventoryConfigurationOutput
129
+ * // Configuration: { // InventoryConfiguration
130
+ * // RegionalScope: { // RegionalScope
131
+ * // Mode: "ALL_REGIONS" || "INCLUDE" || "EXCLUDE", // required
132
+ * // Regions: [ // RegionList
133
+ * // "STRING_VALUE",
134
+ * // ],
135
+ * // },
136
+ * // AccountScope: { // AccountScope
137
+ * // Mode: "ALL_ACCOUNTS" || "INCLUDE" || "EXCLUDE", // required
138
+ * // OrganizationalUnitIds: [ // OrganizationalUnitIdList
139
+ * // "STRING_VALUE",
140
+ * // ],
141
+ * // AccountIds: [ // AccountIdList
142
+ * // "STRING_VALUE",
143
+ * // ],
144
+ * // },
145
+ * // DataRetentionDays: Number("int"), // required
146
+ * // Status: "ENABLED" || "DISABLED", // required
147
+ * // ProvisioningStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "FAILED", // required
148
+ * // ProvisioningStatusReason: { // ProvisioningStatusReason
149
+ * // Code: "TRUSTED_ACCESS_DISABLED" || "INTERNAL_FAILURE", // required
150
+ * // Message: "STRING_VALUE",
151
+ * // },
152
+ * // HomeRegion: "STRING_VALUE", // required
153
+ * // LifecycleManagement: { // LifecycleManagementConfiguration
154
+ * // Status: "ENABLED" || "DISABLED", // required
155
+ * // ProvisioningStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "FAILED", // required
156
+ * // ProvisioningStatusReason: {
157
+ * // Code: "TRUSTED_ACCESS_DISABLED" || "INTERNAL_FAILURE", // required
158
+ * // Message: "STRING_VALUE",
159
+ * // },
160
+ * // },
161
+ * // ExpiryNotification: { // InventoryExpiryNotification
162
+ * // Enabled: true || false,
163
+ * // Channel: "SNS",
164
+ * // TopicArn: "STRING_VALUE",
165
+ * // LeadTimeDays: Number("int"),
166
+ * // Frequency: "ONCE" || "DAILY" || "WEEKLY",
167
+ * // },
168
+ * // LastDeliveryStatus: { // InventoryNotificationDeliveryStatus
169
+ * // Status: "PENDING_VERIFICATION" || "VERIFIED" || "VERIFICATION_FAILED" || "DELIVERED" || "DELIVERY_FAILED", // required
170
+ * // UpdatedAt: new Date("TIMESTAMP"),
171
+ * // Message: "STRING_VALUE",
172
+ * // },
173
+ * // InventoryTierConfiguration: { // InventoryTierConfiguration
174
+ * // Tier: "ESSENTIALS" || "PRO", // required
175
+ * // Status: "PENDING" || "ACTIVE", // required
176
+ * // ScheduledChange: { // InventoryTierScheduledChange
177
+ * // Tier: "ESSENTIALS" || "PRO",
178
+ * // EffectiveAt: new Date("TIMESTAMP"), // required
179
+ * // },
180
+ * // },
181
+ * // },
182
+ * // };
183
+ *
184
+ * ```
185
+ *
186
+ * @param PutInventoryConfigurationCommandInput - {@link PutInventoryConfigurationCommandInput}
187
+ * @returns {@link PutInventoryConfigurationCommandOutput}
188
+ * @see {@link PutInventoryConfigurationCommandInput} for command's `input` shape.
189
+ * @see {@link PutInventoryConfigurationCommandOutput} for command's `response` shape.
190
+ * @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
191
+ *
192
+ * @throws {@link AccessDeniedException} (client fault)
193
+ * <p>You do not have access required to perform this action.</p>
194
+ *
195
+ * @throws {@link ConflictException} (client fault)
196
+ * <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>
197
+ *
198
+ * @throws {@link InternalServerException} (server fault)
199
+ * <p>The request processing has failed because of an unknown error, exception, or failure.</p>
200
+ *
201
+ * @throws {@link ThrottlingException} (client fault)
202
+ * <p>The request was denied because it exceeded a quota.</p>
203
+ *
204
+ * @throws {@link ValidationException} (client fault)
205
+ * <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
206
+ *
207
+ * @throws {@link ACMServiceException}
208
+ * <p>Base exception class for all service exceptions from ACM service.</p>
209
+ *
210
+ *
211
+ * @example Collect from two Regions and every account
212
+ * ```javascript
213
+ * // DataRetentionDays is omitted, so data is kept for 90 days. Setup is still running when the call returns.
214
+ * const input = {
215
+ * AccountScope: {
216
+ * Mode: "ALL_ACCOUNTS"
217
+ * },
218
+ * InventoryTier: "ESSENTIALS",
219
+ * RegionalScope: {
220
+ * Mode: "INCLUDE",
221
+ * Regions: [
222
+ * "us-east-1",
223
+ * "eu-west-1"
224
+ * ]
225
+ * },
226
+ * Status: "ENABLED"
227
+ * };
228
+ * const command = new PutInventoryConfigurationCommand(input);
229
+ * const response = await client.send(command);
230
+ * /* response is
231
+ * {
232
+ * Configuration: {
233
+ * AccountScope: {
234
+ * Mode: "ALL_ACCOUNTS"
235
+ * },
236
+ * DataRetentionDays: 90,
237
+ * ExpiryNotification: {
238
+ * Enabled: false,
239
+ * Frequency: "ONCE",
240
+ * LeadTimeDays: 7
241
+ * },
242
+ * HomeRegion: "us-east-1",
243
+ * LifecycleManagement: {
244
+ * ProvisioningStatus: "DISABLED",
245
+ * Status: "DISABLED"
246
+ * },
247
+ * ProvisioningStatus: "ENABLING",
248
+ * RegionalScope: {
249
+ * Mode: "INCLUDE",
250
+ * Regions: [
251
+ * "us-east-1",
252
+ * "eu-west-1"
253
+ * ]
254
+ * },
255
+ * Status: "ENABLED"
256
+ * }
257
+ * }
258
+ * *\/
259
+ * ```
260
+ *
261
+ * @example Turn on collection and certificate actions
262
+ * ```javascript
263
+ * // The organization's first call. Setup in the member accounts is still running when the call returns.
264
+ * const input = {
265
+ * AccountScope: {
266
+ * Mode: "ALL_ACCOUNTS"
267
+ * },
268
+ * InventoryTier: "PRO",
269
+ * LifecycleManagement: {
270
+ * Status: "ENABLED"
271
+ * },
272
+ * RegionalScope: {
273
+ * Mode: "ALL_REGIONS"
274
+ * },
275
+ * Status: "ENABLED"
276
+ * };
277
+ * const command = new PutInventoryConfigurationCommand(input);
278
+ * const response = await client.send(command);
279
+ * /* response is
280
+ * {
281
+ * Configuration: {
282
+ * AccountScope: {
283
+ * Mode: "ALL_ACCOUNTS"
284
+ * },
285
+ * DataRetentionDays: 90,
286
+ * ExpiryNotification: {
287
+ * Enabled: false,
288
+ * Frequency: "ONCE",
289
+ * LeadTimeDays: 7
290
+ * },
291
+ * HomeRegion: "us-east-1",
292
+ * LifecycleManagement: {
293
+ * ProvisioningStatus: "ENABLING",
294
+ * Status: "ENABLED"
295
+ * },
296
+ * ProvisioningStatus: "ENABLING",
297
+ * RegionalScope: {
298
+ * Mode: "ALL_REGIONS"
299
+ * },
300
+ * Status: "ENABLED"
301
+ * }
302
+ * }
303
+ * *\/
304
+ * ```
305
+ *
306
+ * @example Turn on expiry notifications
307
+ * ```javascript
308
+ * // Notifications go daily to an Amazon SNS topic in the management account and home Region. They start 30 days before a certificate expires. The topic is verified after the call returns.
309
+ * const input = {
310
+ * AccountScope: {
311
+ * Mode: "ALL_ACCOUNTS"
312
+ * },
313
+ * ExpiryNotification: {
314
+ * Channel: "SNS",
315
+ * Enabled: true,
316
+ * Frequency: "DAILY",
317
+ * LeadTimeDays: 30,
318
+ * TopicArn: "arn:aws:sns:us-east-1:111122223333:cert-expiry"
319
+ * },
320
+ * InventoryTier: "ESSENTIALS",
321
+ * RegionalScope: {
322
+ * Mode: "ALL_REGIONS"
323
+ * },
324
+ * Status: "ENABLED"
325
+ * };
326
+ * const command = new PutInventoryConfigurationCommand(input);
327
+ * const response = await client.send(command);
328
+ * /* response is
329
+ * {
330
+ * Configuration: {
331
+ * AccountScope: {
332
+ * Mode: "ALL_ACCOUNTS"
333
+ * },
334
+ * DataRetentionDays: 90,
335
+ * ExpiryNotification: {
336
+ * Channel: "SNS",
337
+ * Enabled: true,
338
+ * Frequency: "DAILY",
339
+ * LeadTimeDays: 30,
340
+ * TopicArn: "arn:aws:sns:us-east-1:111122223333:cert-expiry"
341
+ * },
342
+ * HomeRegion: "us-east-1",
343
+ * LastDeliveryStatus: {
344
+ * Status: "PENDING_VERIFICATION"
345
+ * },
346
+ * LifecycleManagement: {
347
+ * ProvisioningStatus: "DISABLED",
348
+ * Status: "DISABLED"
349
+ * },
350
+ * ProvisioningStatus: "ENABLING",
351
+ * RegionalScope: {
352
+ * Mode: "ALL_REGIONS"
353
+ * },
354
+ * Status: "ENABLED"
355
+ * }
356
+ * }
357
+ * *\/
358
+ * ```
359
+ *
360
+ * @example Put the configuration from another Region
361
+ * ```javascript
362
+ * // The configuration's home Region is us-east-1, and this call was made in eu-west-1.
363
+ * const input = {
364
+ * AccountScope: {
365
+ * Mode: "ALL_ACCOUNTS"
366
+ * },
367
+ * RegionalScope: {
368
+ * Mode: "ALL_REGIONS"
369
+ * },
370
+ * Status: "ENABLED"
371
+ * };
372
+ * const command = new PutInventoryConfigurationCommand(input);
373
+ * const response = await client.send(command);
374
+ * /* response is
375
+ * { /* metadata only *\/ }
376
+ * *\/
377
+ * ```
378
+ *
379
+ * @example Turn off collection and end the ACM plan
380
+ * ```javascript
381
+ * // The organization is on the Pro plan. The plan ends at the end of the billing period, and collection stays on until then. GetInventoryConfiguration reports the scheduled end.
382
+ * const input = {
383
+ * AccountScope: {
384
+ * Mode: "ALL_ACCOUNTS"
385
+ * },
386
+ * RegionalScope: {
387
+ * Mode: "ALL_REGIONS"
388
+ * },
389
+ * Status: "DISABLED"
390
+ * };
391
+ * const command = new PutInventoryConfigurationCommand(input);
392
+ * const response = await client.send(command);
393
+ * /* response is
394
+ * {
395
+ * Configuration: {
396
+ * AccountScope: {
397
+ * Mode: "ALL_ACCOUNTS"
398
+ * },
399
+ * DataRetentionDays: 90,
400
+ * ExpiryNotification: {
401
+ * Enabled: false,
402
+ * Frequency: "ONCE",
403
+ * LeadTimeDays: 7
404
+ * },
405
+ * HomeRegion: "us-east-1",
406
+ * LifecycleManagement: {
407
+ * ProvisioningStatus: "DISABLED",
408
+ * Status: "DISABLED"
409
+ * },
410
+ * ProvisioningStatus: "ENABLED",
411
+ * RegionalScope: {
412
+ * Mode: "ALL_REGIONS"
413
+ * },
414
+ * Status: "ENABLED"
415
+ * }
416
+ * }
417
+ * *\/
418
+ * ```
419
+ *
420
+ * @example Change the Regions from the delegated administrator
421
+ * ```javascript
422
+ * // The delegated administrator narrows collection to two Regions. InventoryTier is omitted, so the organization's ACM plan is unchanged.
423
+ * const input = {
424
+ * AccountScope: {
425
+ * Mode: "ALL_ACCOUNTS"
426
+ * },
427
+ * RegionalScope: {
428
+ * Mode: "INCLUDE",
429
+ * Regions: [
430
+ * "us-east-1",
431
+ * "eu-west-1"
432
+ * ]
433
+ * },
434
+ * Status: "ENABLED"
435
+ * };
436
+ * const command = new PutInventoryConfigurationCommand(input);
437
+ * const response = await client.send(command);
438
+ * /* response is
439
+ * {
440
+ * Configuration: {
441
+ * AccountScope: {
442
+ * Mode: "ALL_ACCOUNTS"
443
+ * },
444
+ * DataRetentionDays: 90,
445
+ * ExpiryNotification: {
446
+ * Enabled: false,
447
+ * Frequency: "ONCE",
448
+ * LeadTimeDays: 7
449
+ * },
450
+ * HomeRegion: "us-east-1",
451
+ * LifecycleManagement: {
452
+ * ProvisioningStatus: "DISABLED",
453
+ * Status: "DISABLED"
454
+ * },
455
+ * ProvisioningStatus: "ENABLING",
456
+ * RegionalScope: {
457
+ * Mode: "INCLUDE",
458
+ * Regions: [
459
+ * "us-east-1",
460
+ * "eu-west-1"
461
+ * ]
462
+ * },
463
+ * Status: "ENABLED"
464
+ * }
465
+ * }
466
+ * *\/
467
+ * ```
468
+ *
469
+ * @example Turn on collection without an ACM plan
470
+ * ```javascript
471
+ * // The organization's first call omits InventoryTier. The message calls the ACM plan a tier.
472
+ * const input = {
473
+ * AccountScope: {
474
+ * Mode: "ALL_ACCOUNTS"
475
+ * },
476
+ * RegionalScope: {
477
+ * Mode: "ALL_REGIONS"
478
+ * },
479
+ * Status: "ENABLED"
480
+ * };
481
+ * const command = new PutInventoryConfigurationCommand(input);
482
+ * const response = await client.send(command);
483
+ * /* response is
484
+ * { /* metadata only *\/ }
485
+ * *\/
486
+ * ```
487
+ *
488
+ * @example Change the ACM plan from the delegated administrator
489
+ * ```javascript
490
+ * // The organization is on the Essentials plan, and the delegated administrator asks for Pro. Only the management account can change the plan. The message calls the ACM plan a tier.
491
+ * const input = {
492
+ * AccountScope: {
493
+ * Mode: "ALL_ACCOUNTS"
494
+ * },
495
+ * InventoryTier: "PRO",
496
+ * RegionalScope: {
497
+ * Mode: "ALL_REGIONS"
498
+ * },
499
+ * Status: "ENABLED"
500
+ * };
501
+ * const command = new PutInventoryConfigurationCommand(input);
502
+ * const response = await client.send(command);
503
+ * /* response is
504
+ * { /* metadata only *\/ }
505
+ * *\/
506
+ * ```
507
+ *
508
+ * @example Turn collection back on before the ACM plan ends
509
+ * ```javascript
510
+ * // The Pro plan is scheduled to end on December 1, 2026, and the call asks for Pro again before then. The message calls the ACM plan a tier.
511
+ * const input = {
512
+ * AccountScope: {
513
+ * Mode: "ALL_ACCOUNTS"
514
+ * },
515
+ * InventoryTier: "PRO",
516
+ * RegionalScope: {
517
+ * Mode: "ALL_REGIONS"
518
+ * },
519
+ * Status: "ENABLED"
520
+ * };
521
+ * const command = new PutInventoryConfigurationCommand(input);
522
+ * const response = await client.send(command);
523
+ * /* response is
524
+ * { /* metadata only *\/ }
525
+ * *\/
526
+ * ```
527
+ *
528
+ * @public
529
+ */
530
+ export declare class PutInventoryConfigurationCommand extends PutInventoryConfigurationCommand_base {
531
+ /** @internal type navigation helper, not in runtime. */
532
+ protected static __types: {
533
+ api: {
534
+ input: PutInventoryConfigurationInput;
535
+ output: PutInventoryConfigurationOutput;
536
+ };
537
+ sdk: {
538
+ input: PutInventoryConfigurationCommandInput;
539
+ output: PutInventoryConfigurationCommandOutput;
540
+ };
541
+ };
542
+ }
@@ -0,0 +1,148 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { RenewMemberCertificateInput, RenewMemberCertificateOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link RenewMemberCertificateCommand}.
11
+ */
12
+ export interface RenewMemberCertificateCommandInput extends RenewMemberCertificateInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link RenewMemberCertificateCommand}.
18
+ */
19
+ export interface RenewMemberCertificateCommandOutput extends RenewMemberCertificateOutput, __MetadataBearer {
20
+ }
21
+ declare const RenewMemberCertificateCommand_base: {
22
+ new (input: RenewMemberCertificateCommandInput): import("@smithy/core/client").CommandImpl<RenewMemberCertificateCommandInput, RenewMemberCertificateCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: RenewMemberCertificateCommandInput): import("@smithy/core/client").CommandImpl<RenewMemberCertificateCommandInput, RenewMemberCertificateCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Renews an AWS Certificate Manager (ACM) certificate in a member account of the caller's organization. ACM applies
28
+ * the rules of its RenewCertificate operation, including which certificates it can renew. For details, see
29
+ * RenewCertificate in the AWS Certificate Manager API Reference.
30
+ *
31
+ * The caller must be the organization's management account or its delegated administrator. The operation acts in the
32
+ * member account and Region that the certificate ARN names. It returns AccessDeniedException in these cases, and,
33
+ * except where noted, the message names the unmet condition:
34
+ * - The caller's account is not in an organization, or the organization is not active in AWS Certificate Manager.
35
+ * - The caller is neither the management account nor the delegated administrator.
36
+ * - The certificate is in the caller's own account. Call the ACM operation in that account instead.
37
+ * - The organization has no certificate inventory configuration.
38
+ * - Certificate actions for organizations are turned off. Certificate actions are the operations that act on
39
+ * certificates and certificate authorities in member accounts. Turn them on with LifecycleManagement in
40
+ * PutInventoryConfiguration.
41
+ * - The certificate's Region is outside the RegionalScope of the configuration.
42
+ * - The certificate's account is not an active member of the organization, or is outside the AccountScope of the
43
+ * configuration.
44
+ * - The Regions enabled for the certificate's account are not recorded yet.
45
+ * - AWS Certificate Manager is not authorized to act in the certificate's account, because the account is not in the
46
+ * organization or access setup there has not finished.
47
+ *
48
+ * If member operations are not available in the Region you call, the operation returns AccessDeniedException with the
49
+ * message Unauthorized, before any of the checks above. An ARN that is malformed, does not name an ACM certificate, is
50
+ * in another partition, or names an unknown Region also returns AccessDeniedException with the message Unauthorized. A
51
+ * call outside the organization's home Region returns ResourceNotFoundException, and the message names the home
52
+ * Region. A certificate ARN whose Region is not enabled for its account, or where ACM is not available, returns
53
+ * ValidationException. A certificate ARN that is too long for the operation to act on, even within the length limit of
54
+ * CertificateArn, also returns ValidationException.
55
+ *
56
+ * Errors that ACM returns in the member account are returned as these errors:
57
+ * - ResourceNotFoundException: ACM did not find the certificate.
58
+ * - ConflictException: ACM reports a conflict, such as a certificate state that does not allow the change.
59
+ * - ValidationException: ACM rejects the request, or reports that a quota is reached.
60
+ * - ThrottlingException: ACM throttles the call.
61
+ *
62
+ * Any other error returns InternalServerException.
63
+ * @example
64
+ * Use a bare-bones client and the command you need to make an API call.
65
+ * ```javascript
66
+ * import { ACMClient, RenewMemberCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
67
+ * // const { ACMClient, RenewMemberCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
68
+ * // import type { ACMClientConfig } from "@aws-sdk/client-acm";
69
+ * const config = {}; // type is ACMClientConfig
70
+ * const client = new ACMClient(config);
71
+ * const input = { // RenewMemberCertificateInput
72
+ * CertificateArn: "STRING_VALUE", // required
73
+ * };
74
+ * const command = new RenewMemberCertificateCommand(input);
75
+ * const response = await client.send(command);
76
+ * // {};
77
+ *
78
+ * ```
79
+ *
80
+ * @param RenewMemberCertificateCommandInput - {@link RenewMemberCertificateCommandInput}
81
+ * @returns {@link RenewMemberCertificateCommandOutput}
82
+ * @see {@link RenewMemberCertificateCommandInput} for command's `input` shape.
83
+ * @see {@link RenewMemberCertificateCommandOutput} for command's `response` shape.
84
+ * @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
85
+ *
86
+ * @throws {@link AccessDeniedException} (client fault)
87
+ * <p>You do not have access required to perform this action.</p>
88
+ *
89
+ * @throws {@link ConflictException} (client fault)
90
+ * <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>
91
+ *
92
+ * @throws {@link InternalServerException} (server fault)
93
+ * <p>The request processing has failed because of an unknown error, exception, or failure.</p>
94
+ *
95
+ * @throws {@link ResourceNotFoundException} (client fault)
96
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
97
+ *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <p>The request was denied because it exceeded a quota.</p>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
103
+ *
104
+ * @throws {@link ACMServiceException}
105
+ * <p>Base exception class for all service exceptions from ACM service.</p>
106
+ *
107
+ *
108
+ * @example Renew a certificate in a member account
109
+ * ```javascript
110
+ * // The delegated administrator renews a certificate that account 444455556666 holds in us-west-2.
111
+ * const input = {
112
+ * CertificateArn: "arn:aws:acm:us-west-2:444455556666:certificate/1a2b3c4d-5678-90ab-cdef-EXAMPLE22222"
113
+ * };
114
+ * const command = new RenewMemberCertificateCommand(input);
115
+ * const response = await client.send(command);
116
+ * /* response is
117
+ * { /* empty *\/ }
118
+ * *\/
119
+ * ```
120
+ *
121
+ * @example Renew a certificate that does not exist
122
+ * ```javascript
123
+ * // ACM in the member account has no certificate with this ARN.
124
+ * const input = {
125
+ * CertificateArn: "arn:aws:acm:us-west-2:444455556666:certificate/1a2b3c4d-5678-90ab-cdef-EXAMPLE22222"
126
+ * };
127
+ * const command = new RenewMemberCertificateCommand(input);
128
+ * const response = await client.send(command);
129
+ * /* response is
130
+ * { /* metadata only *\/ }
131
+ * *\/
132
+ * ```
133
+ *
134
+ * @public
135
+ */
136
+ export declare class RenewMemberCertificateCommand extends RenewMemberCertificateCommand_base {
137
+ /** @internal type navigation helper, not in runtime. */
138
+ protected static __types: {
139
+ api: {
140
+ input: RenewMemberCertificateInput;
141
+ output: {};
142
+ };
143
+ sdk: {
144
+ input: RenewMemberCertificateCommandInput;
145
+ output: RenewMemberCertificateCommandOutput;
146
+ };
147
+ };
148
+ }