@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,277 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetInventoryConfigurationInput, GetInventoryConfigurationOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetInventoryConfigurationCommand}.
11
+ */
12
+ export interface GetInventoryConfigurationCommandInput extends GetInventoryConfigurationInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetInventoryConfigurationCommand}.
18
+ */
19
+ export interface GetInventoryConfigurationCommandOutput extends GetInventoryConfigurationOutput, __MetadataBearer {
20
+ }
21
+ declare const GetInventoryConfigurationCommand_base: {
22
+ new (input: GetInventoryConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetInventoryConfigurationCommandInput, GetInventoryConfigurationCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [GetInventoryConfigurationCommandInput]): import("@smithy/core/client").CommandImpl<GetInventoryConfigurationCommandInput, GetInventoryConfigurationCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Returns the organization's configuration for Certificate inventory for organizations. The certificate inventory is
28
+ * the set of certificates observed in the organization's accounts. The configuration says which Regions and accounts
29
+ * are collected, how long data is kept, and whether collection is on. It also shows how far setup has progressed, the
30
+ * organization's AWS Certificate Manager (ACM) plan (Essentials or Pro), and whether Certificate actions for
31
+ * organizations are on. Certificate actions are the operations that act on certificates and certificate
32
+ * authorities in the organization's member accounts.
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. Before the first PutInventoryConfiguration call, the operation returns
37
+ * ResourceNotFoundException.
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { ACMClient, GetInventoryConfigurationCommand } from "@aws-sdk/client-acm"; // ES Modules import
42
+ * // const { ACMClient, GetInventoryConfigurationCommand } = 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 = {};
47
+ * const command = new GetInventoryConfigurationCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // GetInventoryConfigurationOutput
50
+ * // Configuration: { // InventoryConfiguration
51
+ * // RegionalScope: { // RegionalScope
52
+ * // Mode: "ALL_REGIONS" || "INCLUDE" || "EXCLUDE", // required
53
+ * // Regions: [ // RegionList
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // },
57
+ * // AccountScope: { // AccountScope
58
+ * // Mode: "ALL_ACCOUNTS" || "INCLUDE" || "EXCLUDE", // required
59
+ * // OrganizationalUnitIds: [ // OrganizationalUnitIdList
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // AccountIds: [ // AccountIdList
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // },
66
+ * // DataRetentionDays: Number("int"), // required
67
+ * // Status: "ENABLED" || "DISABLED", // required
68
+ * // ProvisioningStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "FAILED", // required
69
+ * // ProvisioningStatusReason: { // ProvisioningStatusReason
70
+ * // Code: "TRUSTED_ACCESS_DISABLED" || "INTERNAL_FAILURE", // required
71
+ * // Message: "STRING_VALUE",
72
+ * // },
73
+ * // HomeRegion: "STRING_VALUE", // required
74
+ * // LifecycleManagement: { // LifecycleManagementConfiguration
75
+ * // Status: "ENABLED" || "DISABLED", // required
76
+ * // ProvisioningStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "FAILED", // required
77
+ * // ProvisioningStatusReason: {
78
+ * // Code: "TRUSTED_ACCESS_DISABLED" || "INTERNAL_FAILURE", // required
79
+ * // Message: "STRING_VALUE",
80
+ * // },
81
+ * // },
82
+ * // ExpiryNotification: { // InventoryExpiryNotification
83
+ * // Enabled: true || false,
84
+ * // Channel: "SNS",
85
+ * // TopicArn: "STRING_VALUE",
86
+ * // LeadTimeDays: Number("int"),
87
+ * // Frequency: "ONCE" || "DAILY" || "WEEKLY",
88
+ * // },
89
+ * // LastDeliveryStatus: { // InventoryNotificationDeliveryStatus
90
+ * // Status: "PENDING_VERIFICATION" || "VERIFIED" || "VERIFICATION_FAILED" || "DELIVERED" || "DELIVERY_FAILED", // required
91
+ * // UpdatedAt: new Date("TIMESTAMP"),
92
+ * // Message: "STRING_VALUE",
93
+ * // },
94
+ * // InventoryTierConfiguration: { // InventoryTierConfiguration
95
+ * // Tier: "ESSENTIALS" || "PRO", // required
96
+ * // Status: "PENDING" || "ACTIVE", // required
97
+ * // ScheduledChange: { // InventoryTierScheduledChange
98
+ * // Tier: "ESSENTIALS" || "PRO",
99
+ * // EffectiveAt: new Date("TIMESTAMP"), // required
100
+ * // },
101
+ * // },
102
+ * // },
103
+ * // };
104
+ *
105
+ * ```
106
+ *
107
+ * @param GetInventoryConfigurationCommandInput - {@link GetInventoryConfigurationCommandInput}
108
+ * @returns {@link GetInventoryConfigurationCommandOutput}
109
+ * @see {@link GetInventoryConfigurationCommandInput} for command's `input` shape.
110
+ * @see {@link GetInventoryConfigurationCommandOutput} for command's `response` shape.
111
+ * @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
112
+ *
113
+ * @throws {@link AccessDeniedException} (client fault)
114
+ * <p>You do not have access required to perform this action.</p>
115
+ *
116
+ * @throws {@link InternalServerException} (server fault)
117
+ * <p>The request processing has failed because of an unknown error, exception, or failure.</p>
118
+ *
119
+ * @throws {@link ResourceNotFoundException} (client fault)
120
+ * <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
121
+ *
122
+ * @throws {@link ThrottlingException} (client fault)
123
+ * <p>The request was denied because it exceeded a quota.</p>
124
+ *
125
+ * @throws {@link ACMServiceException}
126
+ * <p>Base exception class for all service exceptions from ACM service.</p>
127
+ *
128
+ *
129
+ * @example Get the inventory configuration
130
+ * ```javascript
131
+ * // Collection is on for every Region and for every account except one. Data is kept for 180 days. Expiry notifications go weekly to an Amazon SNS topic, starting 30 days before a certificate expires. The latest notification was delivered.
132
+ * const input = { /* empty *\/ };
133
+ * const command = new GetInventoryConfigurationCommand(input);
134
+ * const response = await client.send(command);
135
+ * /* response is
136
+ * {
137
+ * Configuration: {
138
+ * AccountScope: {
139
+ * AccountIds: [
140
+ * "444455556666"
141
+ * ],
142
+ * Mode: "EXCLUDE"
143
+ * },
144
+ * DataRetentionDays: 180,
145
+ * ExpiryNotification: {
146
+ * Channel: "SNS",
147
+ * Enabled: true,
148
+ * Frequency: "WEEKLY",
149
+ * LeadTimeDays: 30,
150
+ * TopicArn: "arn:aws:sns:us-east-1:111122223333:cert-expiry"
151
+ * },
152
+ * HomeRegion: "us-east-1",
153
+ * InventoryTierConfiguration: {
154
+ * Status: "ACTIVE",
155
+ * Tier: "PRO"
156
+ * },
157
+ * LastDeliveryStatus: {
158
+ * Status: "DELIVERED",
159
+ * UpdatedAt: 1794819600
160
+ * },
161
+ * LifecycleManagement: {
162
+ * ProvisioningStatus: "ENABLED",
163
+ * Status: "ENABLED"
164
+ * },
165
+ * ProvisioningStatus: "ENABLED",
166
+ * RegionalScope: {
167
+ * Mode: "ALL_REGIONS"
168
+ * },
169
+ * Status: "ENABLED"
170
+ * }
171
+ * }
172
+ * *\/
173
+ * ```
174
+ *
175
+ * @example Get the configuration while the ACM plan is scheduled to end
176
+ * ```javascript
177
+ * // The organization is on the Pro plan, and the plan is scheduled to end on December 1, 2026. The plan stays in effect until then. After that, the configuration has no InventoryTierConfiguration.
178
+ * const input = { /* empty *\/ };
179
+ * const command = new GetInventoryConfigurationCommand(input);
180
+ * const response = await client.send(command);
181
+ * /* response is
182
+ * {
183
+ * Configuration: {
184
+ * AccountScope: {
185
+ * Mode: "ALL_ACCOUNTS"
186
+ * },
187
+ * DataRetentionDays: 90,
188
+ * ExpiryNotification: {
189
+ * Enabled: false,
190
+ * Frequency: "ONCE",
191
+ * LeadTimeDays: 7
192
+ * },
193
+ * HomeRegion: "us-east-1",
194
+ * InventoryTierConfiguration: {
195
+ * ScheduledChange: {
196
+ * EffectiveAt: 1796083200
197
+ * },
198
+ * Status: "ACTIVE",
199
+ * Tier: "PRO"
200
+ * },
201
+ * LifecycleManagement: {
202
+ * ProvisioningStatus: "DISABLED",
203
+ * Status: "DISABLED"
204
+ * },
205
+ * ProvisioningStatus: "ENABLED",
206
+ * RegionalScope: {
207
+ * Mode: "ALL_REGIONS"
208
+ * },
209
+ * Status: "ENABLED"
210
+ * }
211
+ * }
212
+ * *\/
213
+ * ```
214
+ *
215
+ * @example Get the configuration while a new ACM plan is being applied
216
+ * ```javascript
217
+ * // PutInventoryConfiguration requested the Pro plan a few seconds ago. The plan is PENDING until it takes effect, usually within seconds.
218
+ * const input = { /* empty *\/ };
219
+ * const command = new GetInventoryConfigurationCommand(input);
220
+ * const response = await client.send(command);
221
+ * /* response is
222
+ * {
223
+ * Configuration: {
224
+ * AccountScope: {
225
+ * Mode: "ALL_ACCOUNTS"
226
+ * },
227
+ * DataRetentionDays: 90,
228
+ * ExpiryNotification: {
229
+ * Enabled: false,
230
+ * Frequency: "ONCE",
231
+ * LeadTimeDays: 7
232
+ * },
233
+ * HomeRegion: "us-east-1",
234
+ * InventoryTierConfiguration: {
235
+ * Status: "PENDING",
236
+ * Tier: "PRO"
237
+ * },
238
+ * LifecycleManagement: {
239
+ * ProvisioningStatus: "DISABLED",
240
+ * Status: "DISABLED"
241
+ * },
242
+ * ProvisioningStatus: "ENABLING",
243
+ * RegionalScope: {
244
+ * Mode: "ALL_REGIONS"
245
+ * },
246
+ * Status: "ENABLED"
247
+ * }
248
+ * }
249
+ * *\/
250
+ * ```
251
+ *
252
+ * @example Get the configuration before inventory is set up
253
+ * ```javascript
254
+ * // The organization has never called PutInventoryConfiguration.
255
+ * const input = { /* empty *\/ };
256
+ * const command = new GetInventoryConfigurationCommand(input);
257
+ * const response = await client.send(command);
258
+ * /* response is
259
+ * { /* metadata only *\/ }
260
+ * *\/
261
+ * ```
262
+ *
263
+ * @public
264
+ */
265
+ export declare class GetInventoryConfigurationCommand extends GetInventoryConfigurationCommand_base {
266
+ /** @internal type navigation helper, not in runtime. */
267
+ protected static __types: {
268
+ api: {
269
+ input: {};
270
+ output: GetInventoryConfigurationOutput;
271
+ };
272
+ sdk: {
273
+ input: GetInventoryConfigurationCommandInput;
274
+ output: GetInventoryConfigurationCommandOutput;
275
+ };
276
+ };
277
+ }