@aws-sdk/client-cost-explorer 3.698.0 → 3.709.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.
package/dist-cjs/index.js CHANGED
@@ -2155,7 +2155,7 @@ var de_Anomaly = /* @__PURE__ */ __name((output, context) => {
2155
2155
  Feedback: import_smithy_client.expectString,
2156
2156
  Impact: (_) => de_Impact(_, context),
2157
2157
  MonitorArn: import_smithy_client.expectString,
2158
- RootCauses: import_smithy_client._json
2158
+ RootCauses: (_) => de_RootCauses(_, context)
2159
2159
  });
2160
2160
  }, "de_Anomaly");
2161
2161
  var de_AnomalyMonitor = /* @__PURE__ */ __name((output, context) => {
@@ -2299,6 +2299,27 @@ var de_ListCommitmentPurchaseAnalysesResponse = /* @__PURE__ */ __name((output,
2299
2299
  NextPageToken: import_smithy_client.expectString
2300
2300
  });
2301
2301
  }, "de_ListCommitmentPurchaseAnalysesResponse");
2302
+ var de_RootCause = /* @__PURE__ */ __name((output, context) => {
2303
+ return (0, import_smithy_client.take)(output, {
2304
+ Impact: (_) => de_RootCauseImpact(_, context),
2305
+ LinkedAccount: import_smithy_client.expectString,
2306
+ LinkedAccountName: import_smithy_client.expectString,
2307
+ Region: import_smithy_client.expectString,
2308
+ Service: import_smithy_client.expectString,
2309
+ UsageType: import_smithy_client.expectString
2310
+ });
2311
+ }, "de_RootCause");
2312
+ var de_RootCauseImpact = /* @__PURE__ */ __name((output, context) => {
2313
+ return (0, import_smithy_client.take)(output, {
2314
+ Contribution: import_smithy_client.limitedParseDouble
2315
+ });
2316
+ }, "de_RootCauseImpact");
2317
+ var de_RootCauses = /* @__PURE__ */ __name((output, context) => {
2318
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2319
+ return de_RootCause(entry, context);
2320
+ });
2321
+ return retVal;
2322
+ }, "de_RootCauses");
2302
2323
  var de_SavingsPlans = /* @__PURE__ */ __name((output, context) => {
2303
2324
  return (0, import_smithy_client.take)(output, {
2304
2325
  InstanceFamily: import_smithy_client.expectString,
@@ -1376,7 +1376,7 @@ const de_Anomaly = (output, context) => {
1376
1376
  Feedback: __expectString,
1377
1377
  Impact: (_) => de_Impact(_, context),
1378
1378
  MonitorArn: __expectString,
1379
- RootCauses: _json,
1379
+ RootCauses: (_) => de_RootCauses(_, context),
1380
1380
  });
1381
1381
  };
1382
1382
  const de_AnomalyMonitor = (output, context) => {
@@ -1528,6 +1528,29 @@ const de_ListCommitmentPurchaseAnalysesResponse = (output, context) => {
1528
1528
  NextPageToken: __expectString,
1529
1529
  });
1530
1530
  };
1531
+ const de_RootCause = (output, context) => {
1532
+ return take(output, {
1533
+ Impact: (_) => de_RootCauseImpact(_, context),
1534
+ LinkedAccount: __expectString,
1535
+ LinkedAccountName: __expectString,
1536
+ Region: __expectString,
1537
+ Service: __expectString,
1538
+ UsageType: __expectString,
1539
+ });
1540
+ };
1541
+ const de_RootCauseImpact = (output, context) => {
1542
+ return take(output, {
1543
+ Contribution: __limitedParseDouble,
1544
+ });
1545
+ };
1546
+ const de_RootCauses = (output, context) => {
1547
+ const retVal = (output || [])
1548
+ .filter((e) => e != null)
1549
+ .map((entry) => {
1550
+ return de_RootCause(entry, context);
1551
+ });
1552
+ return retVal;
1553
+ };
1531
1554
  const de_SavingsPlans = (output, context) => {
1532
1555
  return take(output, {
1533
1556
  InstanceFamily: __expectString,
@@ -65,8 +65,11 @@ declare const GetAnomaliesCommand_base: {
65
65
  * // Service: "STRING_VALUE",
66
66
  * // Region: "STRING_VALUE",
67
67
  * // LinkedAccount: "STRING_VALUE",
68
- * // UsageType: "STRING_VALUE",
69
68
  * // LinkedAccountName: "STRING_VALUE",
69
+ * // UsageType: "STRING_VALUE",
70
+ * // Impact: { // RootCauseImpact
71
+ * // Contribution: Number("double"), // required
72
+ * // },
70
73
  * // },
71
74
  * // ],
72
75
  * // AnomalyScore: { // AnomalyScore
@@ -117,8 +117,7 @@ declare const GetCommitmentPurchaseAnalysisCommand_base: {
117
117
  * @see {@link CostExplorerClientResolvedConfig | config} for CostExplorerClient's `config` shape.
118
118
  *
119
119
  * @throws {@link AnalysisNotFoundException} (client fault)
120
- * <p>The requested analysis can't be
121
- * found.</p>
120
+ * <p>The requested analysis can't be found.</p>
122
121
  *
123
122
  * @throws {@link DataUnavailableException} (client fault)
124
123
  * <p>The requested data is unavailable.</p>
@@ -27,8 +27,7 @@ declare const ListCommitmentPurchaseAnalysesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists the commitment purchase analyses for your account based on the last 30
31
- * days.</p>
30
+ * <p>Lists the commitment purchase analyses for your account.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -29,8 +29,7 @@ declare const StartCommitmentPurchaseAnalysisCommand_base: {
29
29
  /**
30
30
  * <p>Specifies the parameters of a planned commitment purchase and starts the generation of the
31
31
  * analysis. This enables you to estimate the cost, coverage, and utilization impact of your
32
- * planned commitment purchases. You can request up to 20 analysis runs per
33
- * day.</p>
32
+ * planned commitment purchases.</p>
34
33
  * @example
35
34
  * Use a bare-bones client and the command you need to make an API call.
36
35
  * ```javascript
@@ -84,7 +83,7 @@ declare const StartCommitmentPurchaseAnalysisCommand_base: {
84
83
  * <p>The requested data is unavailable.</p>
85
84
  *
86
85
  * @throws {@link GenerationExistsException} (client fault)
87
- * <p>A request to generate a recommendation is already in progress.</p>
86
+ * <p>A request to generate a recommendation or analysis is already in progress.</p>
88
87
  *
89
88
  * @throws {@link LimitExceededException} (client fault)
90
89
  * <p>You made too many calls in a short period of time. Try again later.</p>
@@ -63,7 +63,7 @@ declare const StartSavingsPlansPurchaseRecommendationGenerationCommand_base: {
63
63
  * <p>The requested data is unavailable.</p>
64
64
  *
65
65
  * @throws {@link GenerationExistsException} (client fault)
66
- * <p>A request to generate a recommendation is already in progress.</p>
66
+ * <p>A request to generate a recommendation or analysis is already in progress.</p>
67
67
  *
68
68
  * @throws {@link LimitExceededException} (client fault)
69
69
  * <p>You made too many calls in a short period of time. Try again later.</p>
@@ -47,106 +47,91 @@ export interface RecommendationDetailHourlyMetrics {
47
47
  EstimatedNewCommitmentUtilization?: string | undefined;
48
48
  }
49
49
  /**
50
- * <p>Details about the Savings Plans purchase
51
- * analysis.</p>
50
+ * <p>Details about the Savings Plans purchase analysis.</p>
52
51
  * @public
53
52
  */
54
53
  export interface SavingsPlansPurchaseAnalysisDetails {
55
54
  /**
56
- * <p>The currency code used for the
57
- * analysis.</p>
55
+ * <p>The currency code used for the analysis.</p>
58
56
  * @public
59
57
  */
60
58
  CurrencyCode?: string | undefined;
61
59
  /**
62
- * <p>The lookback period in hours that's used to generate the
63
- * analysis.</p>
60
+ * <p>The lookback period in hours that's used to generate the analysis.</p>
64
61
  * @public
65
62
  */
66
63
  LookbackPeriodInHours?: string | undefined;
67
64
  /**
68
- * <p>The average value of hourly coverage over the lookback
69
- * period.</p>
65
+ * <p>The average value of hourly coverage over the lookback period.</p>
70
66
  * @public
71
67
  */
72
68
  CurrentAverageCoverage?: string | undefined;
73
69
  /**
74
- * <p>The average value of hourly On-Demand spend over the lookback
75
- * period.</p>
70
+ * <p>The average value of hourly On-Demand spend over the lookback period.</p>
76
71
  * @public
77
72
  */
78
73
  CurrentAverageHourlyOnDemandSpend?: string | undefined;
79
74
  /**
80
- * <p>The highest value of hourly On-Demand spend over the lookback
81
- * period.</p>
75
+ * <p>The highest value of hourly On-Demand spend over the lookback period.</p>
82
76
  * @public
83
77
  */
84
78
  CurrentMaximumHourlyOnDemandSpend?: string | undefined;
85
79
  /**
86
- * <p>The lowest value of hourly On-Demand spend over the lookback
87
- * period.</p>
80
+ * <p>The lowest value of hourly On-Demand spend over the lookback period.</p>
88
81
  * @public
89
82
  */
90
83
  CurrentMinimumHourlyOnDemandSpend?: string | undefined;
91
84
  /**
92
- * <p>The current total On-Demand spend over the lookback
93
- * period.</p>
85
+ * <p>The current total On-Demand spend over the lookback period.</p>
94
86
  * @public
95
87
  */
96
88
  CurrentOnDemandSpend?: string | undefined;
97
89
  /**
98
- * <p>The existing hourly commitment for the Savings Plan
99
- * type.</p>
90
+ * <p>The existing hourly commitment for the Savings Plan type.</p>
100
91
  * @public
101
92
  */
102
93
  ExistingHourlyCommitment?: string | undefined;
103
94
  /**
104
- * <p>The recommended or custom hourly
105
- * commitment.</p>
95
+ * <p>The recommended or custom hourly commitment.</p>
106
96
  * @public
107
97
  */
108
98
  HourlyCommitmentToPurchase?: string | undefined;
109
99
  /**
110
- * <p>The estimated coverage of the Savings
111
- * Plan.</p>
100
+ * <p>The estimated coverage of the Savings Plan.</p>
112
101
  * @public
113
102
  */
114
103
  EstimatedAverageCoverage?: string | undefined;
115
104
  /**
116
- * <p>The estimated utilization of the Savings
117
- * Plan.</p>
105
+ * <p>The estimated utilization of the Savings Plan.</p>
118
106
  * @public
119
107
  */
120
108
  EstimatedAverageUtilization?: string | undefined;
121
109
  /**
122
- * <p>The estimated monthly savings amount based on the Savings
123
- * Plan.</p>
110
+ * <p>The estimated monthly savings amount based on the Savings Plan.</p>
124
111
  * @public
125
112
  */
126
113
  EstimatedMonthlySavingsAmount?: string | undefined;
127
114
  /**
128
- * <p>The remaining On-Demand cost estimated to not be covered by the commitment, over the
115
+ * <p>The remaining On-Demand cost estimated to not be covered by the Savings Plan over the
129
116
  * length of the lookback period.</p>
130
117
  * @public
131
118
  */
132
119
  EstimatedOnDemandCost?: string | undefined;
133
120
  /**
134
- * <p>The estimated On-Demand cost you expect with no additional commitment, based on your
135
- * usage of the selected time period and the Savings Plan you
136
- * own.</p>
121
+ * <p>The estimated On-Demand cost you expect with no additional commitment based on your
122
+ * usage of the selected time period and the Savings Plan you own.</p>
137
123
  * @public
138
124
  */
139
125
  EstimatedOnDemandCostWithCurrentCommitment?: string | undefined;
140
126
  /**
141
- * <p>The estimated return on investment that's based on the purchase commitment and
142
- * estimated savings. This is calculated as
143
- * estimatedSavingsAmount/estimatedSPCost*100.</p>
127
+ * <p>The estimated return on investment that's based on the Savings Plan and estimated
128
+ * savings. This is calculated as estimatedSavingsAmount/estimatedSPCost*100.</p>
144
129
  * @public
145
130
  */
146
131
  EstimatedROI?: string | undefined;
147
132
  /**
148
- * <p>The estimated savings amount that's based on the purchase commitment over the length
149
- * of the lookback period.</p>
133
+ * <p>The estimated savings amount that's based on the Savings Plan over the length of the
134
+ * lookback period.</p>
150
135
  * @public
151
136
  */
152
137
  EstimatedSavingsAmount?: string | undefined;
@@ -157,26 +142,22 @@ export interface SavingsPlansPurchaseAnalysisDetails {
157
142
  */
158
143
  EstimatedSavingsPercentage?: string | undefined;
159
144
  /**
160
- * <p>The estimated cost of the purchase commitment over the length of the lookback
161
- * period.</p>
145
+ * <p>The estimated cost of the Savings Plan over the length of the lookback period.</p>
162
146
  * @public
163
147
  */
164
148
  EstimatedCommitmentCost?: string | undefined;
165
149
  /**
166
- * <p>The date and time of the last hour that went into the
167
- * analysis.</p>
150
+ * <p>The date and time of the last hour that went into the analysis.</p>
168
151
  * @public
169
152
  */
170
153
  LatestUsageTimestamp?: string | undefined;
171
154
  /**
172
- * <p>The upfront cost of the Savings Plan, based on the selected payment
173
- * option.</p>
155
+ * <p>The upfront cost of the Savings Plan based on the selected payment option.</p>
174
156
  * @public
175
157
  */
176
158
  UpfrontCost?: string | undefined;
177
159
  /**
178
- * <p>Additional metadata that might be applicable to the
179
- * commitment.</p>
160
+ * <p>Additional metadata that might be applicable to the commitment.</p>
180
161
  * @public
181
162
  */
182
163
  AdditionalMetadata?: string | undefined;
@@ -193,15 +174,13 @@ export interface SavingsPlansPurchaseAnalysisDetails {
193
174
  */
194
175
  export interface AnalysisDetails {
195
176
  /**
196
- * <p>Details about the Savings Plans purchase
197
- * analysis.</p>
177
+ * <p>Details about the Savings Plans purchase analysis.</p>
198
178
  * @public
199
179
  */
200
180
  SavingsPlansPurchaseAnalysisDetails?: SavingsPlansPurchaseAnalysisDetails | undefined;
201
181
  }
202
182
  /**
203
- * <p>The requested analysis can't be
204
- * found.</p>
183
+ * <p>The requested analysis can't be found.</p>
205
184
  * @public
206
185
  */
207
186
  export declare class AnalysisNotFoundException extends __BaseException {
@@ -301,14 +280,12 @@ export declare const TermInYears: {
301
280
  */
302
281
  export type TermInYears = (typeof TermInYears)[keyof typeof TermInYears];
303
282
  /**
304
- * <p>The Savings Plans commitment
305
- * details.</p>
283
+ * <p>The Savings Plans commitment details.</p>
306
284
  * @public
307
285
  */
308
286
  export interface SavingsPlans {
309
287
  /**
310
- * <p>The payment option for the Savings Plans
311
- * commitment.</p>
288
+ * <p>The payment option for the Savings Plans commitment.</p>
312
289
  * @public
313
290
  */
314
291
  PaymentOption?: PaymentOption | undefined;
@@ -318,20 +295,17 @@ export interface SavingsPlans {
318
295
  */
319
296
  SavingsPlansType?: SupportedSavingsPlansType | undefined;
320
297
  /**
321
- * <p>The Region associated with the Savings Plans
322
- * commitment.</p>
298
+ * <p>The Region associated with the Savings Plans commitment.</p>
323
299
  * @public
324
300
  */
325
301
  Region?: string | undefined;
326
302
  /**
327
- * <p>The instance family of the Savings Plans
328
- * commitment.</p>
303
+ * <p>The instance family of the Savings Plans commitment.</p>
329
304
  * @public
330
305
  */
331
306
  InstanceFamily?: string | undefined;
332
307
  /**
333
- * <p>The term that you want the Savings Plans commitment
334
- * for.</p>
308
+ * <p>The term that you want the Savings Plans commitment for.</p>
335
309
  * @public
336
310
  */
337
311
  TermInYears?: TermInYears | undefined;
@@ -341,27 +315,24 @@ export interface SavingsPlans {
341
315
  */
342
316
  SavingsPlansCommitment?: number | undefined;
343
317
  /**
344
- * <p>The unique ID that's used to distinguish commitments from one
318
+ * <p>The unique ID that's used to distinguish Savings Plans commitments from one
345
319
  * another.</p>
346
320
  * @public
347
321
  */
348
322
  OfferingId?: string | undefined;
349
323
  }
350
324
  /**
351
- * <p>The configuration for the Savings Plans purchase
352
- * analysis.</p>
325
+ * <p>The configuration for the Savings Plans purchase analysis.</p>
353
326
  * @public
354
327
  */
355
328
  export interface SavingsPlansPurchaseAnalysisConfiguration {
356
329
  /**
357
- * <p>The account scope that you want your analysis
358
- * for.</p>
330
+ * <p>The account scope that you want your analysis for.</p>
359
331
  * @public
360
332
  */
361
333
  AccountScope?: AccountScope | undefined;
362
334
  /**
363
- * <p>The account that the analysis is
364
- * for.</p>
335
+ * <p>The account that the analysis is for.</p>
365
336
  * @public
366
337
  */
367
338
  AccountId?: string | undefined;
@@ -371,33 +342,28 @@ export interface SavingsPlansPurchaseAnalysisConfiguration {
371
342
  */
372
343
  AnalysisType: AnalysisType | undefined;
373
344
  /**
374
- * <p>Savings Plans to include in the
375
- * analysis.</p>
345
+ * <p>Savings Plans to include in the analysis.</p>
376
346
  * @public
377
347
  */
378
348
  SavingsPlansToAdd: SavingsPlans[] | undefined;
379
349
  /**
380
- * <p>Savings Plans to exclude from the
381
- * analysis.</p>
350
+ * <p>Savings Plans to exclude from the analysis.</p>
382
351
  * @public
383
352
  */
384
353
  SavingsPlansToExclude?: string[] | undefined;
385
354
  /**
386
- * <p>The time period associated with the
387
- * analysis.</p>
355
+ * <p>The time period associated with the analysis.</p>
388
356
  * @public
389
357
  */
390
358
  LookBackTimePeriod: DateInterval | undefined;
391
359
  }
392
360
  /**
393
- * <p>The configuration for the commitment purchase
394
- * analysis.</p>
361
+ * <p>The configuration for the commitment purchase analysis.</p>
395
362
  * @public
396
363
  */
397
364
  export interface CommitmentPurchaseAnalysisConfiguration {
398
365
  /**
399
- * <p>The configuration for the Savings Plans purchase
400
- * analysis.</p>
366
+ * <p>The configuration for the Savings Plans purchase analysis.</p>
401
367
  * @public
402
368
  */
403
369
  SavingsPlansPurchaseAnalysisConfiguration?: SavingsPlansPurchaseAnalysisConfiguration | undefined;
@@ -423,8 +389,7 @@ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
423
389
  */
424
390
  export interface AnalysisSummary {
425
391
  /**
426
- * <p>The estimated time for when the analysis will
427
- * complete.</p>
392
+ * <p>The estimated time for when the analysis will complete.</p>
428
393
  * @public
429
394
  */
430
395
  EstimatedCompletionTime?: string | undefined;
@@ -444,20 +409,17 @@ export interface AnalysisSummary {
444
409
  */
445
410
  AnalysisStatus?: AnalysisStatus | undefined;
446
411
  /**
447
- * <p>The error code used for the
448
- * analysis.</p>
412
+ * <p>The error code used for the analysis.</p>
449
413
  * @public
450
414
  */
451
415
  ErrorCode?: ErrorCode | undefined;
452
416
  /**
453
- * <p>The analysis ID that's associated with the commitment
454
- * purchase.</p>
417
+ * <p>The analysis ID that's associated with the commitment purchase analysis.</p>
455
418
  * @public
456
419
  */
457
420
  AnalysisId?: string | undefined;
458
421
  /**
459
- * <p>The analysis configuration for the commitment purchase
460
- * analysis.</p>
422
+ * <p>The configuration for the commitment purchase analysis.</p>
461
423
  * @public
462
424
  */
463
425
  CommitmentPurchaseAnalysisConfiguration?: CommitmentPurchaseAnalysisConfiguration | undefined;
@@ -528,10 +490,23 @@ export interface Impact {
528
490
  */
529
491
  TotalImpactPercentage?: number | undefined;
530
492
  }
493
+ /**
494
+ * <p>The dollar value of the root cause.</p>
495
+ * @public
496
+ */
497
+ export interface RootCauseImpact {
498
+ /**
499
+ * <p>The dollar amount that this root cause contributed to the anomaly's
500
+ * TotalImpact.</p>
501
+ * @public
502
+ */
503
+ Contribution: number | undefined;
504
+ }
531
505
  /**
532
506
  * <p>The combination of Amazon Web Services service, linked account, linked account name,
533
- * Region, and usage type where a cost anomaly is observed. The linked account name will
534
- * only be available when the account name can be identified.</p>
507
+ * Region, and usage type where a cost anomaly is observed, along with the dollar and
508
+ * percentage amount of the anomaly impact. The linked account name will only be available
509
+ * when the account name can be identified.</p>
535
510
  * @public
536
511
  */
537
512
  export interface RootCause {
@@ -550,16 +525,21 @@ export interface RootCause {
550
525
  * @public
551
526
  */
552
527
  LinkedAccount?: string | undefined;
528
+ /**
529
+ * <p>The member account name value that's associated with the cost anomaly.</p>
530
+ * @public
531
+ */
532
+ LinkedAccountName?: string | undefined;
553
533
  /**
554
534
  * <p>The <code>UsageType</code> value that's associated with the cost anomaly. </p>
555
535
  * @public
556
536
  */
557
537
  UsageType?: string | undefined;
558
538
  /**
559
- * <p>The member account name value that's associated with the cost anomaly.</p>
539
+ * <p>The dollar impact for the root cause.</p>
560
540
  * @public
561
541
  */
562
- LinkedAccountName?: string | undefined;
542
+ Impact?: RootCauseImpact | undefined;
563
543
  }
564
544
  /**
565
545
  * <p>An unusual cost pattern. This consists of the detailed metadata and the current status
@@ -1492,8 +1472,7 @@ export interface GetApproximateUsageRecordsResponse {
1492
1472
  */
1493
1473
  export interface GetCommitmentPurchaseAnalysisRequest {
1494
1474
  /**
1495
- * <p>The analysis ID that's associated with the commitment purchase
1496
- * analysis.</p>
1475
+ * <p>The analysis ID that's associated with the commitment purchase analysis.</p>
1497
1476
  * @public
1498
1477
  */
1499
1478
  AnalysisId: string | undefined;
@@ -1503,8 +1482,7 @@ export interface GetCommitmentPurchaseAnalysisRequest {
1503
1482
  */
1504
1483
  export interface GetCommitmentPurchaseAnalysisResponse {
1505
1484
  /**
1506
- * <p>The estimated time for when the analysis will
1507
- * complete.</p>
1485
+ * <p>The estimated time for when the analysis will complete.</p>
1508
1486
  * @public
1509
1487
  */
1510
1488
  EstimatedCompletionTime: string | undefined;
@@ -1519,8 +1497,7 @@ export interface GetCommitmentPurchaseAnalysisResponse {
1519
1497
  */
1520
1498
  AnalysisStartedTime: string | undefined;
1521
1499
  /**
1522
- * <p>The analysis ID that's associated with the commitment purchase
1523
- * analysis.</p>
1500
+ * <p>The analysis ID that's associated with the commitment purchase analysis.</p>
1524
1501
  * @public
1525
1502
  */
1526
1503
  AnalysisId: string | undefined;
@@ -1540,8 +1517,7 @@ export interface GetCommitmentPurchaseAnalysisResponse {
1540
1517
  */
1541
1518
  AnalysisDetails?: AnalysisDetails | undefined;
1542
1519
  /**
1543
- * <p>The configuration for the commitment purchase
1544
- * analysis.</p>
1520
+ * <p>The configuration for the commitment purchase analysis.</p>
1545
1521
  * @public
1546
1522
  */
1547
1523
  CommitmentPurchaseAnalysisConfiguration: CommitmentPurchaseAnalysisConfiguration | undefined;
@@ -2541,6 +2517,7 @@ export interface DynamoDBCapacityDetails {
2541
2517
  }
2542
2518
  /**
2543
2519
  * <p>Details about the reservations that Amazon Web Services recommends that you
2520
+ *
2544
2521
  * purchase.</p>
2545
2522
  * @public
2546
2523
  */
@@ -2621,20 +2598,20 @@ export interface ReservationPurchaseRecommendationDetail {
2621
2598
  */
2622
2599
  AverageNormalizedUnitsUsedPerHour?: string | undefined;
2623
2600
  /**
2624
- * <p>The average utilization of your recommendations. Amazon Web Services uses this to
2625
- * calculate your recommended reservation purchases.</p>
2601
+ * <p>The average utilization of your instances. Amazon Web Services uses this to calculate
2602
+ * your recommended reservation purchases.</p>
2626
2603
  * @public
2627
2604
  */
2628
2605
  AverageUtilization?: string | undefined;
2629
2606
  /**
2630
- * <p>How long Amazon Web Services estimates that it takes for this recommendation to start
2631
- * saving you money, in months.</p>
2607
+ * <p>How long Amazon Web Services estimates that it takes for this instance to start saving
2608
+ * you money, in months.</p>
2632
2609
  * @public
2633
2610
  */
2634
2611
  EstimatedBreakEvenInMonths?: string | undefined;
2635
2612
  /**
2636
2613
  * <p>The currency code that Amazon Web Services used to calculate the costs for this
2637
- * recommendation.</p>
2614
+ * instance.</p>
2638
2615
  * @public
2639
2616
  */
2640
2617
  CurrencyCode?: string | undefined;
@@ -2663,44 +2640,52 @@ export interface ReservationPurchaseRecommendationDetail {
2663
2640
  */
2664
2641
  EstimatedReservationCostForLookbackPeriod?: string | undefined;
2665
2642
  /**
2666
- * <p>How much purchasing this recommendation costs you upfront.</p>
2643
+ * <p>How much purchasing this instance costs you upfront.</p>
2667
2644
  * @public
2668
2645
  */
2669
2646
  UpfrontCost?: string | undefined;
2670
2647
  /**
2671
- * <p>How much purchasing this recommendation costs you on a monthly basis.</p>
2648
+ * <p>How much purchasing this instance costs you on a monthly basis.</p>
2672
2649
  * @public
2673
2650
  */
2674
2651
  RecurringStandardMonthlyCost?: string | undefined;
2675
2652
  /**
2676
2653
  * <p>Details about the reservations that Amazon Web Services recommends that you
2654
+ *
2677
2655
  * purchase.</p>
2678
2656
  * @public
2679
2657
  */
2680
2658
  ReservedCapacityDetails?: ReservedCapacityDetails | undefined;
2681
2659
  /**
2682
2660
  * <p>The number of reserved capacity units that Amazon Web Services recommends that you
2661
+ *
2683
2662
  * purchase.</p>
2684
2663
  * @public
2685
2664
  */
2686
2665
  RecommendedNumberOfCapacityUnitsToPurchase?: string | undefined;
2687
2666
  /**
2688
2667
  * <p>The minimum number of provisioned capacity units that you used in an hour during the
2668
+ *
2689
2669
  * historical period. Amazon Web Services uses this to calculate your recommended
2670
+ *
2690
2671
  * reservation purchases.</p>
2691
2672
  * @public
2692
2673
  */
2693
2674
  MinimumNumberOfCapacityUnitsUsedPerHour?: string | undefined;
2694
2675
  /**
2695
2676
  * <p>The maximum number of provisioned capacity units that you used in an hour during the
2677
+ *
2696
2678
  * historical period. Amazon Web Services uses this to calculate your recommended
2679
+ *
2697
2680
  * reservation purchases.</p>
2698
2681
  * @public
2699
2682
  */
2700
2683
  MaximumNumberOfCapacityUnitsUsedPerHour?: string | undefined;
2701
2684
  /**
2702
2685
  * <p>The average number of provisioned capacity units that you used in an hour during the
2686
+ *
2703
2687
  * historical period. Amazon Web Services uses this to calculate your recommended
2688
+ *
2704
2689
  * reservation purchases.</p>
2705
2690
  * @public
2706
2691
  */
@@ -4356,20 +4341,17 @@ export interface ListCommitmentPurchaseAnalysesRequest {
4356
4341
  */
4357
4342
  AnalysisStatus?: AnalysisStatus | undefined;
4358
4343
  /**
4359
- * <p>The token to retrieve the next set of
4360
- * results.</p>
4344
+ * <p>The token to retrieve the next set of results.</p>
4361
4345
  * @public
4362
4346
  */
4363
4347
  NextPageToken?: string | undefined;
4364
4348
  /**
4365
- * <p>The number of analyses that you want returned in a single response
4366
- * object.</p>
4349
+ * <p>The number of analyses that you want returned in a single response object.</p>
4367
4350
  * @public
4368
4351
  */
4369
4352
  PageSize?: number | undefined;
4370
4353
  /**
4371
- * <p>The analysis IDs associated with the commitment purchase
4372
- * analyses.</p>
4354
+ * <p>The analysis IDs associated with the commitment purchase analyses.</p>
4373
4355
  * @public
4374
4356
  */
4375
4357
  AnalysisIds?: string[] | undefined;
@@ -4384,8 +4366,7 @@ export interface ListCommitmentPurchaseAnalysesResponse {
4384
4366
  */
4385
4367
  AnalysisSummaryList?: AnalysisSummary[] | undefined;
4386
4368
  /**
4387
- * <p>The token to retrieve the next set of
4388
- * results.</p>
4369
+ * <p>The token to retrieve the next set of results.</p>
4389
4370
  * @public
4390
4371
  */
4391
4372
  NextPageToken?: string | undefined;
@@ -4818,7 +4799,7 @@ export interface ProvideAnomalyFeedbackResponse {
4818
4799
  AnomalyId: string | undefined;
4819
4800
  }
4820
4801
  /**
4821
- * <p>A request to generate a recommendation is already in progress.</p>
4802
+ * <p>A request to generate a recommendation or analysis is already in progress.</p>
4822
4803
  * @public
4823
4804
  */
4824
4805
  export declare class GenerationExistsException extends __BaseException {
@@ -4835,8 +4816,7 @@ export declare class GenerationExistsException extends __BaseException {
4835
4816
  */
4836
4817
  export interface StartCommitmentPurchaseAnalysisRequest {
4837
4818
  /**
4838
- * <p>The configuration for the commitment purchase
4839
- * analysis.</p>
4819
+ * <p>The configuration for the commitment purchase analysis.</p>
4840
4820
  * @public
4841
4821
  */
4842
4822
  CommitmentPurchaseAnalysisConfiguration: CommitmentPurchaseAnalysisConfiguration | undefined;
@@ -4846,8 +4826,7 @@ export interface StartCommitmentPurchaseAnalysisRequest {
4846
4826
  */
4847
4827
  export interface StartCommitmentPurchaseAnalysisResponse {
4848
4828
  /**
4849
- * <p>The analysis ID that's associated with the commitment purchase
4850
- * analysis.</p>
4829
+ * <p>The analysis ID that's associated with the commitment purchase analysis.</p>
4851
4830
  * @public
4852
4831
  */
4853
4832
  AnalysisId: string | undefined;
@@ -4857,8 +4836,7 @@ export interface StartCommitmentPurchaseAnalysisResponse {
4857
4836
  */
4858
4837
  AnalysisStartedTime: string | undefined;
4859
4838
  /**
4860
- * <p>The estimated time for when the analysis will
4861
- * complete.</p>
4839
+ * <p>The estimated time for when the analysis will complete.</p>
4862
4840
  * @public
4863
4841
  */
4864
4842
  EstimatedCompletionTime: string | undefined;
@@ -5593,7 +5571,7 @@ export interface CostCategoryRule {
5593
5571
  * object used to categorize costs. This supports dimensions, tags, and nested expressions.
5594
5572
  * Currently the only dimensions supported are <code>LINKED_ACCOUNT</code>,
5595
5573
  *
5596
- * <code>SERVICE_CODE</code>, <code>RECORD_TYPE</code>, <code>LINKED_ACCOUNT_NAME</code>, <code>REGION</code>, <code>USAGE_TYPE</code>, and <code>BILLING_ENTITY</code>.</p>
5574
+ * <code>SERVICE_CODE</code>, <code>RECORD_TYPE</code>, <code>LINKED_ACCOUNT_NAME</code>, <code>REGION</code>, and <code>USAGE_TYPE</code>.</p>
5597
5575
  * <p>
5598
5576
  * <code>RECORD_TYPE</code> is a dimension used for Cost Explorer APIs, and is also
5599
5577
  * supported for Cost Category expressions. This dimension uses different terms, depending
@@ -145,12 +145,16 @@ export interface Impact {
145
145
  TotalExpectedSpend?: number | undefined;
146
146
  TotalImpactPercentage?: number | undefined;
147
147
  }
148
+ export interface RootCauseImpact {
149
+ Contribution: number | undefined;
150
+ }
148
151
  export interface RootCause {
149
152
  Service?: string | undefined;
150
153
  Region?: string | undefined;
151
154
  LinkedAccount?: string | undefined;
152
- UsageType?: string | undefined;
153
155
  LinkedAccountName?: string | undefined;
156
+ UsageType?: string | undefined;
157
+ Impact?: RootCauseImpact | undefined;
154
158
  }
155
159
  export interface Anomaly {
156
160
  AnomalyId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cost-explorer",
3
3
  "description": "AWS SDK for JavaScript Cost Explorer Client for Node.js, Browser and React Native",
4
- "version": "3.698.0",
4
+ "version": "3.709.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cost-explorer",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.696.0",
24
- "@aws-sdk/client-sts": "3.696.0",
25
- "@aws-sdk/core": "3.696.0",
26
- "@aws-sdk/credential-provider-node": "3.696.0",
27
- "@aws-sdk/middleware-host-header": "3.696.0",
28
- "@aws-sdk/middleware-logger": "3.696.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
- "@aws-sdk/middleware-user-agent": "3.696.0",
31
- "@aws-sdk/region-config-resolver": "3.696.0",
32
- "@aws-sdk/types": "3.696.0",
33
- "@aws-sdk/util-endpoints": "3.696.0",
34
- "@aws-sdk/util-user-agent-browser": "3.696.0",
35
- "@aws-sdk/util-user-agent-node": "3.696.0",
36
- "@smithy/config-resolver": "^3.0.12",
37
- "@smithy/core": "^2.5.3",
38
- "@smithy/fetch-http-handler": "^4.1.1",
39
- "@smithy/hash-node": "^3.0.10",
40
- "@smithy/invalid-dependency": "^3.0.10",
41
- "@smithy/middleware-content-length": "^3.0.12",
42
- "@smithy/middleware-endpoint": "^3.2.3",
43
- "@smithy/middleware-retry": "^3.0.27",
44
- "@smithy/middleware-serde": "^3.0.10",
45
- "@smithy/middleware-stack": "^3.0.10",
46
- "@smithy/node-config-provider": "^3.1.11",
47
- "@smithy/node-http-handler": "^3.3.1",
48
- "@smithy/protocol-http": "^4.1.7",
49
- "@smithy/smithy-client": "^3.4.4",
50
- "@smithy/types": "^3.7.1",
51
- "@smithy/url-parser": "^3.0.10",
23
+ "@aws-sdk/client-sso-oidc": "3.709.0",
24
+ "@aws-sdk/client-sts": "3.709.0",
25
+ "@aws-sdk/core": "3.709.0",
26
+ "@aws-sdk/credential-provider-node": "3.709.0",
27
+ "@aws-sdk/middleware-host-header": "3.709.0",
28
+ "@aws-sdk/middleware-logger": "3.709.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.709.0",
30
+ "@aws-sdk/middleware-user-agent": "3.709.0",
31
+ "@aws-sdk/region-config-resolver": "3.709.0",
32
+ "@aws-sdk/types": "3.709.0",
33
+ "@aws-sdk/util-endpoints": "3.709.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.709.0",
35
+ "@aws-sdk/util-user-agent-node": "3.709.0",
36
+ "@smithy/config-resolver": "^3.0.13",
37
+ "@smithy/core": "^2.5.5",
38
+ "@smithy/fetch-http-handler": "^4.1.2",
39
+ "@smithy/hash-node": "^3.0.11",
40
+ "@smithy/invalid-dependency": "^3.0.11",
41
+ "@smithy/middleware-content-length": "^3.0.13",
42
+ "@smithy/middleware-endpoint": "^3.2.5",
43
+ "@smithy/middleware-retry": "^3.0.30",
44
+ "@smithy/middleware-serde": "^3.0.11",
45
+ "@smithy/middleware-stack": "^3.0.11",
46
+ "@smithy/node-config-provider": "^3.1.12",
47
+ "@smithy/node-http-handler": "^3.3.2",
48
+ "@smithy/protocol-http": "^4.1.8",
49
+ "@smithy/smithy-client": "^3.5.0",
50
+ "@smithy/types": "^3.7.2",
51
+ "@smithy/url-parser": "^3.0.11",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.27",
56
- "@smithy/util-defaults-mode-node": "^3.0.27",
57
- "@smithy/util-endpoints": "^2.1.6",
58
- "@smithy/util-middleware": "^3.0.10",
59
- "@smithy/util-retry": "^3.0.10",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.30",
56
+ "@smithy/util-defaults-mode-node": "^3.0.30",
57
+ "@smithy/util-endpoints": "^2.1.7",
58
+ "@smithy/util-middleware": "^3.0.11",
59
+ "@smithy/util-retry": "^3.0.11",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },