Skip to content

Commit af7c9b2

Browse files
author
awstools
committed
feat(client-cost-explorer): This release adds the Impact field(contains Contribution field) to the GetAnomalies API response under RootCause
1 parent df75ca5 commit af7c9b2

File tree

8 files changed

+235
-200
lines changed

8 files changed

+235
-200
lines changed

clients/client-cost-explorer/src/commands/GetAnomaliesCommand.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,11 @@ export interface GetAnomaliesCommandOutput extends GetAnomaliesResponse, __Metad
6666
* // Service: "STRING_VALUE",
6767
* // Region: "STRING_VALUE",
6868
* // LinkedAccount: "STRING_VALUE",
69-
* // UsageType: "STRING_VALUE",
7069
* // LinkedAccountName: "STRING_VALUE",
70+
* // UsageType: "STRING_VALUE",
71+
* // Impact: { // RootCauseImpact
72+
* // Contribution: Number("double"), // required
73+
* // },
7174
* // },
7275
* // ],
7376
* // AnomalyScore: { // AnomalyScore

clients/client-cost-explorer/src/commands/GetCommitmentPurchaseAnalysisCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ export interface GetCommitmentPurchaseAnalysisCommandOutput
123123
* @see {@link CostExplorerClientResolvedConfig | config} for CostExplorerClient's `config` shape.
124124
*
125125
* @throws {@link AnalysisNotFoundException} (client fault)
126-
* <p>The requested analysis can't be
127-
* found.</p>
126+
* <p>The requested analysis can't be found.</p>
128127
*
129128
* @throws {@link DataUnavailableException} (client fault)
130129
* <p>The requested data is unavailable.</p>

clients/client-cost-explorer/src/commands/ListCommitmentPurchaseAnalysesCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ export interface ListCommitmentPurchaseAnalysesCommandOutput
3333
__MetadataBearer {}
3434

3535
/**
36-
* <p>Lists the commitment purchase analyses for your account based on the last 30
37-
* days.</p>
36+
* <p>Lists the commitment purchase analyses for your account.</p>
3837
* @example
3938
* Use a bare-bones client and the command you need to make an API call.
4039
* ```javascript

clients/client-cost-explorer/src/commands/StartCommitmentPurchaseAnalysisCommand.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ export interface StartCommitmentPurchaseAnalysisCommandOutput
3535
/**
3636
* <p>Specifies the parameters of a planned commitment purchase and starts the generation of the
3737
* analysis. This enables you to estimate the cost, coverage, and utilization impact of your
38-
* planned commitment purchases. You can request up to 20 analysis runs per
39-
* day.</p>
38+
* planned commitment purchases.</p>
4039
* @example
4140
* Use a bare-bones client and the command you need to make an API call.
4241
* ```javascript
@@ -90,7 +89,7 @@ export interface StartCommitmentPurchaseAnalysisCommandOutput
9089
* <p>The requested data is unavailable.</p>
9190
*
9291
* @throws {@link GenerationExistsException} (client fault)
93-
* <p>A request to generate a recommendation is already in progress.</p>
92+
* <p>A request to generate a recommendation or analysis is already in progress.</p>
9493
*
9594
* @throws {@link LimitExceededException} (client fault)
9695
* <p>You made too many calls in a short period of time. Try again later.</p>

clients/client-cost-explorer/src/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export interface StartSavingsPlansPurchaseRecommendationGenerationCommandOutput
7373
* <p>The requested data is unavailable.</p>
7474
*
7575
* @throws {@link GenerationExistsException} (client fault)
76-
* <p>A request to generate a recommendation is already in progress.</p>
76+
* <p>A request to generate a recommendation or analysis is already in progress.</p>
7777
*
7878
* @throws {@link LimitExceededException} (client fault)
7979
* <p>You made too many calls in a short period of time. Try again later.</p>

0 commit comments

Comments
 (0)