@aws-sdk/client-cost-explorer 3.321.1 → 3.326.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-types/commands/CreateAnomalyMonitorCommand.d.ts +6 -0
- package/dist-types/commands/CreateAnomalySubscriptionCommand.d.ts +6 -0
- package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +7 -0
- package/dist-types/commands/DeleteAnomalyMonitorCommand.d.ts +4 -0
- package/dist-types/commands/DeleteAnomalySubscriptionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCostCategoryDefinitionCommand.d.ts +7 -0
- package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +113 -0
- package/dist-types/commands/GetAnomaliesCommand.d.ts +36 -0
- package/dist-types/commands/GetAnomalyMonitorsCommand.d.ts +85 -0
- package/dist-types/commands/GetAnomalySubscriptionsCommand.d.ts +92 -0
- package/dist-types/commands/GetCostAndUsageCommand.d.ts +48 -0
- package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +48 -0
- package/dist-types/commands/GetCostCategoriesCommand.d.ts +14 -0
- package/dist-types/commands/GetCostForecastCommand.d.ts +20 -0
- package/dist-types/commands/GetDimensionValuesCommand.d.ts +16 -0
- package/dist-types/commands/GetReservationCoverageCommand.d.ts +56 -0
- package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +95 -0
- package/dist-types/commands/GetReservationUtilizationCommand.d.ts +62 -0
- package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +145 -0
- package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +23 -0
- package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +55 -0
- package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +45 -0
- package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +50 -0
- package/dist-types/commands/GetTagsCommand.d.ts +11 -0
- package/dist-types/commands/GetUsageForecastCommand.d.ts +20 -0
- package/dist-types/commands/ListCostAllocationTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +25 -0
- package/dist-types/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +15 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/ProvideAnomalyFeedbackCommand.d.ts +6 -0
- package/dist-types/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +8 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAnomalyMonitorCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAnomalySubscriptionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateCostAllocationTagsStatusCommand.d.ts +12 -0
- package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +7 -0
- package/package.json +16 -16
|
@@ -115,6 +115,18 @@ export interface GetCostCategoriesCommandOutput extends GetCostCategoriesRespons
|
|
|
115
115
|
* };
|
|
116
116
|
* const command = new GetCostCategoriesCommand(input);
|
|
117
117
|
* const response = await client.send(command);
|
|
118
|
+
* // { // GetCostCategoriesResponse
|
|
119
|
+
* // NextPageToken: "STRING_VALUE",
|
|
120
|
+
* // CostCategoryNames: [ // CostCategoryNamesList
|
|
121
|
+
* // "STRING_VALUE",
|
|
122
|
+
* // ],
|
|
123
|
+
* // CostCategoryValues: [ // CostCategoryValuesList
|
|
124
|
+
* // "STRING_VALUE",
|
|
125
|
+
* // ],
|
|
126
|
+
* // ReturnSize: Number("int"), // required
|
|
127
|
+
* // TotalSize: Number("int"), // required
|
|
128
|
+
* // };
|
|
129
|
+
*
|
|
118
130
|
* ```
|
|
119
131
|
*
|
|
120
132
|
* @param GetCostCategoriesCommandInput - {@link GetCostCategoriesCommandInput}
|
|
@@ -139,6 +151,8 @@ export interface GetCostCategoriesCommandOutput extends GetCostCategoriesRespons
|
|
|
139
151
|
* <p>Your request parameters changed between pages. Try again with the old parameters or
|
|
140
152
|
* without a pagination token.</p>
|
|
141
153
|
*
|
|
154
|
+
* @throws {@link CostExplorerServiceException}
|
|
155
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
142
156
|
*
|
|
143
157
|
*/
|
|
144
158
|
export declare class GetCostCategoriesCommand extends $Command<GetCostCategoriesCommandInput, GetCostCategoriesCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -105,6 +105,24 @@ export interface GetCostForecastCommandOutput extends GetCostForecastResponse, _
|
|
|
105
105
|
* };
|
|
106
106
|
* const command = new GetCostForecastCommand(input);
|
|
107
107
|
* const response = await client.send(command);
|
|
108
|
+
* // { // GetCostForecastResponse
|
|
109
|
+
* // Total: { // MetricValue
|
|
110
|
+
* // Amount: "STRING_VALUE",
|
|
111
|
+
* // Unit: "STRING_VALUE",
|
|
112
|
+
* // },
|
|
113
|
+
* // ForecastResultsByTime: [ // ForecastResultsByTime
|
|
114
|
+
* // { // ForecastResult
|
|
115
|
+
* // TimePeriod: { // DateInterval
|
|
116
|
+
* // Start: "STRING_VALUE", // required
|
|
117
|
+
* // End: "STRING_VALUE", // required
|
|
118
|
+
* // },
|
|
119
|
+
* // MeanValue: "STRING_VALUE",
|
|
120
|
+
* // PredictionIntervalLowerBound: "STRING_VALUE",
|
|
121
|
+
* // PredictionIntervalUpperBound: "STRING_VALUE",
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
124
|
+
* // };
|
|
125
|
+
*
|
|
108
126
|
* ```
|
|
109
127
|
*
|
|
110
128
|
* @param GetCostForecastCommandInput - {@link GetCostForecastCommandInput}
|
|
@@ -119,6 +137,8 @@ export interface GetCostForecastCommandOutput extends GetCostForecastResponse, _
|
|
|
119
137
|
* @throws {@link LimitExceededException} (client fault)
|
|
120
138
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
121
139
|
*
|
|
140
|
+
* @throws {@link CostExplorerServiceException}
|
|
141
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
122
142
|
*
|
|
123
143
|
*/
|
|
124
144
|
export declare class GetCostForecastCommand extends $Command<GetCostForecastCommandInput, GetCostForecastCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -113,6 +113,20 @@ export interface GetDimensionValuesCommandOutput extends GetDimensionValuesRespo
|
|
|
113
113
|
* };
|
|
114
114
|
* const command = new GetDimensionValuesCommand(input);
|
|
115
115
|
* const response = await client.send(command);
|
|
116
|
+
* // { // GetDimensionValuesResponse
|
|
117
|
+
* // DimensionValues: [ // DimensionValuesWithAttributesList // required
|
|
118
|
+
* // { // DimensionValuesWithAttributes
|
|
119
|
+
* // Value: "STRING_VALUE",
|
|
120
|
+
* // Attributes: { // Attributes
|
|
121
|
+
* // "<keys>": "STRING_VALUE",
|
|
122
|
+
* // },
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // ReturnSize: Number("int"), // required
|
|
126
|
+
* // TotalSize: Number("int"), // required
|
|
127
|
+
* // NextPageToken: "STRING_VALUE",
|
|
128
|
+
* // };
|
|
129
|
+
*
|
|
116
130
|
* ```
|
|
117
131
|
*
|
|
118
132
|
* @param GetDimensionValuesCommandInput - {@link GetDimensionValuesCommandInput}
|
|
@@ -137,6 +151,8 @@ export interface GetDimensionValuesCommandOutput extends GetDimensionValuesRespo
|
|
|
137
151
|
* <p>Your request parameters changed between pages. Try again with the old parameters or
|
|
138
152
|
* without a pagination token.</p>
|
|
139
153
|
*
|
|
154
|
+
* @throws {@link CostExplorerServiceException}
|
|
155
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
140
156
|
*
|
|
141
157
|
*/
|
|
142
158
|
export declare class GetDimensionValuesCommand extends $Command<GetDimensionValuesCommandInput, GetDimensionValuesCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -162,6 +162,60 @@ export interface GetReservationCoverageCommandOutput extends GetReservationCover
|
|
|
162
162
|
* };
|
|
163
163
|
* const command = new GetReservationCoverageCommand(input);
|
|
164
164
|
* const response = await client.send(command);
|
|
165
|
+
* // { // GetReservationCoverageResponse
|
|
166
|
+
* // CoveragesByTime: [ // CoveragesByTime // required
|
|
167
|
+
* // { // CoverageByTime
|
|
168
|
+
* // TimePeriod: { // DateInterval
|
|
169
|
+
* // Start: "STRING_VALUE", // required
|
|
170
|
+
* // End: "STRING_VALUE", // required
|
|
171
|
+
* // },
|
|
172
|
+
* // Groups: [ // ReservationCoverageGroups
|
|
173
|
+
* // { // ReservationCoverageGroup
|
|
174
|
+
* // Attributes: { // Attributes
|
|
175
|
+
* // "<keys>": "STRING_VALUE",
|
|
176
|
+
* // },
|
|
177
|
+
* // Coverage: { // Coverage
|
|
178
|
+
* // CoverageHours: { // CoverageHours
|
|
179
|
+
* // OnDemandHours: "STRING_VALUE",
|
|
180
|
+
* // ReservedHours: "STRING_VALUE",
|
|
181
|
+
* // TotalRunningHours: "STRING_VALUE",
|
|
182
|
+
* // CoverageHoursPercentage: "STRING_VALUE",
|
|
183
|
+
* // },
|
|
184
|
+
* // CoverageNormalizedUnits: { // CoverageNormalizedUnits
|
|
185
|
+
* // OnDemandNormalizedUnits: "STRING_VALUE",
|
|
186
|
+
* // ReservedNormalizedUnits: "STRING_VALUE",
|
|
187
|
+
* // TotalRunningNormalizedUnits: "STRING_VALUE",
|
|
188
|
+
* // CoverageNormalizedUnitsPercentage: "STRING_VALUE",
|
|
189
|
+
* // },
|
|
190
|
+
* // CoverageCost: { // CoverageCost
|
|
191
|
+
* // OnDemandCost: "STRING_VALUE",
|
|
192
|
+
* // },
|
|
193
|
+
* // },
|
|
194
|
+
* // },
|
|
195
|
+
* // ],
|
|
196
|
+
* // Total: {
|
|
197
|
+
* // CoverageHours: {
|
|
198
|
+
* // OnDemandHours: "STRING_VALUE",
|
|
199
|
+
* // ReservedHours: "STRING_VALUE",
|
|
200
|
+
* // TotalRunningHours: "STRING_VALUE",
|
|
201
|
+
* // CoverageHoursPercentage: "STRING_VALUE",
|
|
202
|
+
* // },
|
|
203
|
+
* // CoverageNormalizedUnits: {
|
|
204
|
+
* // OnDemandNormalizedUnits: "STRING_VALUE",
|
|
205
|
+
* // ReservedNormalizedUnits: "STRING_VALUE",
|
|
206
|
+
* // TotalRunningNormalizedUnits: "STRING_VALUE",
|
|
207
|
+
* // CoverageNormalizedUnitsPercentage: "STRING_VALUE",
|
|
208
|
+
* // },
|
|
209
|
+
* // CoverageCost: {
|
|
210
|
+
* // OnDemandCost: "STRING_VALUE",
|
|
211
|
+
* // },
|
|
212
|
+
* // },
|
|
213
|
+
* // },
|
|
214
|
+
* // ],
|
|
215
|
+
* // Total: "<Coverage>",
|
|
216
|
+
* // NextPageToken: "STRING_VALUE",
|
|
217
|
+
* // };
|
|
218
|
+
*
|
|
165
219
|
* ```
|
|
166
220
|
*
|
|
167
221
|
* @param GetReservationCoverageCommandInput - {@link GetReservationCoverageCommandInput}
|
|
@@ -179,6 +233,8 @@ export interface GetReservationCoverageCommandOutput extends GetReservationCover
|
|
|
179
233
|
* @throws {@link LimitExceededException} (client fault)
|
|
180
234
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
181
235
|
*
|
|
236
|
+
* @throws {@link CostExplorerServiceException}
|
|
237
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
182
238
|
*
|
|
183
239
|
*/
|
|
184
240
|
export declare class GetReservationCoverageCommand extends $Command<GetReservationCoverageCommandInput, GetReservationCoverageCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -125,6 +125,99 @@ export interface GetReservationPurchaseRecommendationCommandOutput extends GetRe
|
|
|
125
125
|
* };
|
|
126
126
|
* const command = new GetReservationPurchaseRecommendationCommand(input);
|
|
127
127
|
* const response = await client.send(command);
|
|
128
|
+
* // { // GetReservationPurchaseRecommendationResponse
|
|
129
|
+
* // Metadata: { // ReservationPurchaseRecommendationMetadata
|
|
130
|
+
* // RecommendationId: "STRING_VALUE",
|
|
131
|
+
* // GenerationTimestamp: "STRING_VALUE",
|
|
132
|
+
* // },
|
|
133
|
+
* // Recommendations: [ // ReservationPurchaseRecommendations
|
|
134
|
+
* // { // ReservationPurchaseRecommendation
|
|
135
|
+
* // AccountScope: "PAYER" || "LINKED",
|
|
136
|
+
* // LookbackPeriodInDays: "SEVEN_DAYS" || "THIRTY_DAYS" || "SIXTY_DAYS",
|
|
137
|
+
* // TermInYears: "ONE_YEAR" || "THREE_YEARS",
|
|
138
|
+
* // PaymentOption: "NO_UPFRONT" || "PARTIAL_UPFRONT" || "ALL_UPFRONT" || "LIGHT_UTILIZATION" || "MEDIUM_UTILIZATION" || "HEAVY_UTILIZATION",
|
|
139
|
+
* // ServiceSpecification: { // ServiceSpecification
|
|
140
|
+
* // EC2Specification: { // EC2Specification
|
|
141
|
+
* // OfferingClass: "STANDARD" || "CONVERTIBLE",
|
|
142
|
+
* // },
|
|
143
|
+
* // },
|
|
144
|
+
* // RecommendationDetails: [ // ReservationPurchaseRecommendationDetails
|
|
145
|
+
* // { // ReservationPurchaseRecommendationDetail
|
|
146
|
+
* // AccountId: "STRING_VALUE",
|
|
147
|
+
* // InstanceDetails: { // InstanceDetails
|
|
148
|
+
* // EC2InstanceDetails: { // EC2InstanceDetails
|
|
149
|
+
* // Family: "STRING_VALUE",
|
|
150
|
+
* // InstanceType: "STRING_VALUE",
|
|
151
|
+
* // Region: "STRING_VALUE",
|
|
152
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
153
|
+
* // Platform: "STRING_VALUE",
|
|
154
|
+
* // Tenancy: "STRING_VALUE",
|
|
155
|
+
* // CurrentGeneration: true || false,
|
|
156
|
+
* // SizeFlexEligible: true || false,
|
|
157
|
+
* // },
|
|
158
|
+
* // RDSInstanceDetails: { // RDSInstanceDetails
|
|
159
|
+
* // Family: "STRING_VALUE",
|
|
160
|
+
* // InstanceType: "STRING_VALUE",
|
|
161
|
+
* // Region: "STRING_VALUE",
|
|
162
|
+
* // DatabaseEngine: "STRING_VALUE",
|
|
163
|
+
* // DatabaseEdition: "STRING_VALUE",
|
|
164
|
+
* // DeploymentOption: "STRING_VALUE",
|
|
165
|
+
* // LicenseModel: "STRING_VALUE",
|
|
166
|
+
* // CurrentGeneration: true || false,
|
|
167
|
+
* // SizeFlexEligible: true || false,
|
|
168
|
+
* // },
|
|
169
|
+
* // RedshiftInstanceDetails: { // RedshiftInstanceDetails
|
|
170
|
+
* // Family: "STRING_VALUE",
|
|
171
|
+
* // NodeType: "STRING_VALUE",
|
|
172
|
+
* // Region: "STRING_VALUE",
|
|
173
|
+
* // CurrentGeneration: true || false,
|
|
174
|
+
* // SizeFlexEligible: true || false,
|
|
175
|
+
* // },
|
|
176
|
+
* // ElastiCacheInstanceDetails: { // ElastiCacheInstanceDetails
|
|
177
|
+
* // Family: "STRING_VALUE",
|
|
178
|
+
* // NodeType: "STRING_VALUE",
|
|
179
|
+
* // Region: "STRING_VALUE",
|
|
180
|
+
* // ProductDescription: "STRING_VALUE",
|
|
181
|
+
* // CurrentGeneration: true || false,
|
|
182
|
+
* // SizeFlexEligible: true || false,
|
|
183
|
+
* // },
|
|
184
|
+
* // ESInstanceDetails: { // ESInstanceDetails
|
|
185
|
+
* // InstanceClass: "STRING_VALUE",
|
|
186
|
+
* // InstanceSize: "STRING_VALUE",
|
|
187
|
+
* // Region: "STRING_VALUE",
|
|
188
|
+
* // CurrentGeneration: true || false,
|
|
189
|
+
* // SizeFlexEligible: true || false,
|
|
190
|
+
* // },
|
|
191
|
+
* // },
|
|
192
|
+
* // RecommendedNumberOfInstancesToPurchase: "STRING_VALUE",
|
|
193
|
+
* // RecommendedNormalizedUnitsToPurchase: "STRING_VALUE",
|
|
194
|
+
* // MinimumNumberOfInstancesUsedPerHour: "STRING_VALUE",
|
|
195
|
+
* // MinimumNormalizedUnitsUsedPerHour: "STRING_VALUE",
|
|
196
|
+
* // MaximumNumberOfInstancesUsedPerHour: "STRING_VALUE",
|
|
197
|
+
* // MaximumNormalizedUnitsUsedPerHour: "STRING_VALUE",
|
|
198
|
+
* // AverageNumberOfInstancesUsedPerHour: "STRING_VALUE",
|
|
199
|
+
* // AverageNormalizedUnitsUsedPerHour: "STRING_VALUE",
|
|
200
|
+
* // AverageUtilization: "STRING_VALUE",
|
|
201
|
+
* // EstimatedBreakEvenInMonths: "STRING_VALUE",
|
|
202
|
+
* // CurrencyCode: "STRING_VALUE",
|
|
203
|
+
* // EstimatedMonthlySavingsAmount: "STRING_VALUE",
|
|
204
|
+
* // EstimatedMonthlySavingsPercentage: "STRING_VALUE",
|
|
205
|
+
* // EstimatedMonthlyOnDemandCost: "STRING_VALUE",
|
|
206
|
+
* // EstimatedReservationCostForLookbackPeriod: "STRING_VALUE",
|
|
207
|
+
* // UpfrontCost: "STRING_VALUE",
|
|
208
|
+
* // RecurringStandardMonthlyCost: "STRING_VALUE",
|
|
209
|
+
* // },
|
|
210
|
+
* // ],
|
|
211
|
+
* // RecommendationSummary: { // ReservationPurchaseRecommendationSummary
|
|
212
|
+
* // TotalEstimatedMonthlySavingsAmount: "STRING_VALUE",
|
|
213
|
+
* // TotalEstimatedMonthlySavingsPercentage: "STRING_VALUE",
|
|
214
|
+
* // CurrencyCode: "STRING_VALUE",
|
|
215
|
+
* // },
|
|
216
|
+
* // },
|
|
217
|
+
* // ],
|
|
218
|
+
* // NextPageToken: "STRING_VALUE",
|
|
219
|
+
* // };
|
|
220
|
+
*
|
|
128
221
|
* ```
|
|
129
222
|
*
|
|
130
223
|
* @param GetReservationPurchaseRecommendationCommandInput - {@link GetReservationPurchaseRecommendationCommandInput}
|
|
@@ -142,6 +235,8 @@ export interface GetReservationPurchaseRecommendationCommandOutput extends GetRe
|
|
|
142
235
|
* @throws {@link LimitExceededException} (client fault)
|
|
143
236
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
144
237
|
*
|
|
238
|
+
* @throws {@link CostExplorerServiceException}
|
|
239
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
145
240
|
*
|
|
146
241
|
*/
|
|
147
242
|
export declare class GetReservationPurchaseRecommendationCommand extends $Command<GetReservationPurchaseRecommendationCommandInput, GetReservationPurchaseRecommendationCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -117,6 +117,66 @@ export interface GetReservationUtilizationCommandOutput extends GetReservationUt
|
|
|
117
117
|
* };
|
|
118
118
|
* const command = new GetReservationUtilizationCommand(input);
|
|
119
119
|
* const response = await client.send(command);
|
|
120
|
+
* // { // GetReservationUtilizationResponse
|
|
121
|
+
* // UtilizationsByTime: [ // UtilizationsByTime // required
|
|
122
|
+
* // { // UtilizationByTime
|
|
123
|
+
* // TimePeriod: { // DateInterval
|
|
124
|
+
* // Start: "STRING_VALUE", // required
|
|
125
|
+
* // End: "STRING_VALUE", // required
|
|
126
|
+
* // },
|
|
127
|
+
* // Groups: [ // ReservationUtilizationGroups
|
|
128
|
+
* // { // ReservationUtilizationGroup
|
|
129
|
+
* // Key: "STRING_VALUE",
|
|
130
|
+
* // Value: "STRING_VALUE",
|
|
131
|
+
* // Attributes: { // Attributes
|
|
132
|
+
* // "<keys>": "STRING_VALUE",
|
|
133
|
+
* // },
|
|
134
|
+
* // Utilization: { // ReservationAggregates
|
|
135
|
+
* // UtilizationPercentage: "STRING_VALUE",
|
|
136
|
+
* // UtilizationPercentageInUnits: "STRING_VALUE",
|
|
137
|
+
* // PurchasedHours: "STRING_VALUE",
|
|
138
|
+
* // PurchasedUnits: "STRING_VALUE",
|
|
139
|
+
* // TotalActualHours: "STRING_VALUE",
|
|
140
|
+
* // TotalActualUnits: "STRING_VALUE",
|
|
141
|
+
* // UnusedHours: "STRING_VALUE",
|
|
142
|
+
* // UnusedUnits: "STRING_VALUE",
|
|
143
|
+
* // OnDemandCostOfRIHoursUsed: "STRING_VALUE",
|
|
144
|
+
* // NetRISavings: "STRING_VALUE",
|
|
145
|
+
* // TotalPotentialRISavings: "STRING_VALUE",
|
|
146
|
+
* // AmortizedUpfrontFee: "STRING_VALUE",
|
|
147
|
+
* // AmortizedRecurringFee: "STRING_VALUE",
|
|
148
|
+
* // TotalAmortizedFee: "STRING_VALUE",
|
|
149
|
+
* // RICostForUnusedHours: "STRING_VALUE",
|
|
150
|
+
* // RealizedSavings: "STRING_VALUE",
|
|
151
|
+
* // UnrealizedSavings: "STRING_VALUE",
|
|
152
|
+
* // },
|
|
153
|
+
* // },
|
|
154
|
+
* // ],
|
|
155
|
+
* // Total: {
|
|
156
|
+
* // UtilizationPercentage: "STRING_VALUE",
|
|
157
|
+
* // UtilizationPercentageInUnits: "STRING_VALUE",
|
|
158
|
+
* // PurchasedHours: "STRING_VALUE",
|
|
159
|
+
* // PurchasedUnits: "STRING_VALUE",
|
|
160
|
+
* // TotalActualHours: "STRING_VALUE",
|
|
161
|
+
* // TotalActualUnits: "STRING_VALUE",
|
|
162
|
+
* // UnusedHours: "STRING_VALUE",
|
|
163
|
+
* // UnusedUnits: "STRING_VALUE",
|
|
164
|
+
* // OnDemandCostOfRIHoursUsed: "STRING_VALUE",
|
|
165
|
+
* // NetRISavings: "STRING_VALUE",
|
|
166
|
+
* // TotalPotentialRISavings: "STRING_VALUE",
|
|
167
|
+
* // AmortizedUpfrontFee: "STRING_VALUE",
|
|
168
|
+
* // AmortizedRecurringFee: "STRING_VALUE",
|
|
169
|
+
* // TotalAmortizedFee: "STRING_VALUE",
|
|
170
|
+
* // RICostForUnusedHours: "STRING_VALUE",
|
|
171
|
+
* // RealizedSavings: "STRING_VALUE",
|
|
172
|
+
* // UnrealizedSavings: "STRING_VALUE",
|
|
173
|
+
* // },
|
|
174
|
+
* // },
|
|
175
|
+
* // ],
|
|
176
|
+
* // Total: "<ReservationAggregates>",
|
|
177
|
+
* // NextPageToken: "STRING_VALUE",
|
|
178
|
+
* // };
|
|
179
|
+
*
|
|
120
180
|
* ```
|
|
121
181
|
*
|
|
122
182
|
* @param GetReservationUtilizationCommandInput - {@link GetReservationUtilizationCommandInput}
|
|
@@ -134,6 +194,8 @@ export interface GetReservationUtilizationCommandOutput extends GetReservationUt
|
|
|
134
194
|
* @throws {@link LimitExceededException} (client fault)
|
|
135
195
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
136
196
|
*
|
|
197
|
+
* @throws {@link CostExplorerServiceException}
|
|
198
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
137
199
|
*
|
|
138
200
|
*/
|
|
139
201
|
export declare class GetReservationUtilizationCommand extends $Command<GetReservationUtilizationCommandInput, GetReservationUtilizationCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -108,6 +108,149 @@ export interface GetRightsizingRecommendationCommandOutput extends GetRightsizin
|
|
|
108
108
|
* };
|
|
109
109
|
* const command = new GetRightsizingRecommendationCommand(input);
|
|
110
110
|
* const response = await client.send(command);
|
|
111
|
+
* // { // GetRightsizingRecommendationResponse
|
|
112
|
+
* // Metadata: { // RightsizingRecommendationMetadata
|
|
113
|
+
* // RecommendationId: "STRING_VALUE",
|
|
114
|
+
* // GenerationTimestamp: "STRING_VALUE",
|
|
115
|
+
* // LookbackPeriodInDays: "SEVEN_DAYS" || "THIRTY_DAYS" || "SIXTY_DAYS",
|
|
116
|
+
* // AdditionalMetadata: "STRING_VALUE",
|
|
117
|
+
* // },
|
|
118
|
+
* // Summary: { // RightsizingRecommendationSummary
|
|
119
|
+
* // TotalRecommendationCount: "STRING_VALUE",
|
|
120
|
+
* // EstimatedTotalMonthlySavingsAmount: "STRING_VALUE",
|
|
121
|
+
* // SavingsCurrencyCode: "STRING_VALUE",
|
|
122
|
+
* // SavingsPercentage: "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // RightsizingRecommendations: [ // RightsizingRecommendationList
|
|
125
|
+
* // { // RightsizingRecommendation
|
|
126
|
+
* // AccountId: "STRING_VALUE",
|
|
127
|
+
* // CurrentInstance: { // CurrentInstance
|
|
128
|
+
* // ResourceId: "STRING_VALUE",
|
|
129
|
+
* // InstanceName: "STRING_VALUE",
|
|
130
|
+
* // Tags: [ // TagValuesList
|
|
131
|
+
* // { // TagValues
|
|
132
|
+
* // Key: "STRING_VALUE",
|
|
133
|
+
* // Values: [ // Values
|
|
134
|
+
* // "STRING_VALUE",
|
|
135
|
+
* // ],
|
|
136
|
+
* // MatchOptions: [ // MatchOptions
|
|
137
|
+
* // "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
138
|
+
* // ],
|
|
139
|
+
* // },
|
|
140
|
+
* // ],
|
|
141
|
+
* // ResourceDetails: { // ResourceDetails
|
|
142
|
+
* // EC2ResourceDetails: { // EC2ResourceDetails
|
|
143
|
+
* // HourlyOnDemandRate: "STRING_VALUE",
|
|
144
|
+
* // InstanceType: "STRING_VALUE",
|
|
145
|
+
* // Platform: "STRING_VALUE",
|
|
146
|
+
* // Region: "STRING_VALUE",
|
|
147
|
+
* // Sku: "STRING_VALUE",
|
|
148
|
+
* // Memory: "STRING_VALUE",
|
|
149
|
+
* // NetworkPerformance: "STRING_VALUE",
|
|
150
|
+
* // Storage: "STRING_VALUE",
|
|
151
|
+
* // Vcpu: "STRING_VALUE",
|
|
152
|
+
* // },
|
|
153
|
+
* // },
|
|
154
|
+
* // ResourceUtilization: { // ResourceUtilization
|
|
155
|
+
* // EC2ResourceUtilization: { // EC2ResourceUtilization
|
|
156
|
+
* // MaxCpuUtilizationPercentage: "STRING_VALUE",
|
|
157
|
+
* // MaxMemoryUtilizationPercentage: "STRING_VALUE",
|
|
158
|
+
* // MaxStorageUtilizationPercentage: "STRING_VALUE",
|
|
159
|
+
* // EBSResourceUtilization: { // EBSResourceUtilization
|
|
160
|
+
* // EbsReadOpsPerSecond: "STRING_VALUE",
|
|
161
|
+
* // EbsWriteOpsPerSecond: "STRING_VALUE",
|
|
162
|
+
* // EbsReadBytesPerSecond: "STRING_VALUE",
|
|
163
|
+
* // EbsWriteBytesPerSecond: "STRING_VALUE",
|
|
164
|
+
* // },
|
|
165
|
+
* // DiskResourceUtilization: { // DiskResourceUtilization
|
|
166
|
+
* // DiskReadOpsPerSecond: "STRING_VALUE",
|
|
167
|
+
* // DiskWriteOpsPerSecond: "STRING_VALUE",
|
|
168
|
+
* // DiskReadBytesPerSecond: "STRING_VALUE",
|
|
169
|
+
* // DiskWriteBytesPerSecond: "STRING_VALUE",
|
|
170
|
+
* // },
|
|
171
|
+
* // NetworkResourceUtilization: { // NetworkResourceUtilization
|
|
172
|
+
* // NetworkInBytesPerSecond: "STRING_VALUE",
|
|
173
|
+
* // NetworkOutBytesPerSecond: "STRING_VALUE",
|
|
174
|
+
* // NetworkPacketsInPerSecond: "STRING_VALUE",
|
|
175
|
+
* // NetworkPacketsOutPerSecond: "STRING_VALUE",
|
|
176
|
+
* // },
|
|
177
|
+
* // },
|
|
178
|
+
* // },
|
|
179
|
+
* // ReservationCoveredHoursInLookbackPeriod: "STRING_VALUE",
|
|
180
|
+
* // SavingsPlansCoveredHoursInLookbackPeriod: "STRING_VALUE",
|
|
181
|
+
* // OnDemandHoursInLookbackPeriod: "STRING_VALUE",
|
|
182
|
+
* // TotalRunningHoursInLookbackPeriod: "STRING_VALUE",
|
|
183
|
+
* // MonthlyCost: "STRING_VALUE",
|
|
184
|
+
* // CurrencyCode: "STRING_VALUE",
|
|
185
|
+
* // },
|
|
186
|
+
* // RightsizingType: "TERMINATE" || "MODIFY",
|
|
187
|
+
* // ModifyRecommendationDetail: { // ModifyRecommendationDetail
|
|
188
|
+
* // TargetInstances: [ // TargetInstancesList
|
|
189
|
+
* // { // TargetInstance
|
|
190
|
+
* // EstimatedMonthlyCost: "STRING_VALUE",
|
|
191
|
+
* // EstimatedMonthlySavings: "STRING_VALUE",
|
|
192
|
+
* // CurrencyCode: "STRING_VALUE",
|
|
193
|
+
* // DefaultTargetInstance: true || false,
|
|
194
|
+
* // ResourceDetails: {
|
|
195
|
+
* // EC2ResourceDetails: {
|
|
196
|
+
* // HourlyOnDemandRate: "STRING_VALUE",
|
|
197
|
+
* // InstanceType: "STRING_VALUE",
|
|
198
|
+
* // Platform: "STRING_VALUE",
|
|
199
|
+
* // Region: "STRING_VALUE",
|
|
200
|
+
* // Sku: "STRING_VALUE",
|
|
201
|
+
* // Memory: "STRING_VALUE",
|
|
202
|
+
* // NetworkPerformance: "STRING_VALUE",
|
|
203
|
+
* // Storage: "STRING_VALUE",
|
|
204
|
+
* // Vcpu: "STRING_VALUE",
|
|
205
|
+
* // },
|
|
206
|
+
* // },
|
|
207
|
+
* // ExpectedResourceUtilization: {
|
|
208
|
+
* // EC2ResourceUtilization: {
|
|
209
|
+
* // MaxCpuUtilizationPercentage: "STRING_VALUE",
|
|
210
|
+
* // MaxMemoryUtilizationPercentage: "STRING_VALUE",
|
|
211
|
+
* // MaxStorageUtilizationPercentage: "STRING_VALUE",
|
|
212
|
+
* // EBSResourceUtilization: {
|
|
213
|
+
* // EbsReadOpsPerSecond: "STRING_VALUE",
|
|
214
|
+
* // EbsWriteOpsPerSecond: "STRING_VALUE",
|
|
215
|
+
* // EbsReadBytesPerSecond: "STRING_VALUE",
|
|
216
|
+
* // EbsWriteBytesPerSecond: "STRING_VALUE",
|
|
217
|
+
* // },
|
|
218
|
+
* // DiskResourceUtilization: {
|
|
219
|
+
* // DiskReadOpsPerSecond: "STRING_VALUE",
|
|
220
|
+
* // DiskWriteOpsPerSecond: "STRING_VALUE",
|
|
221
|
+
* // DiskReadBytesPerSecond: "STRING_VALUE",
|
|
222
|
+
* // DiskWriteBytesPerSecond: "STRING_VALUE",
|
|
223
|
+
* // },
|
|
224
|
+
* // NetworkResourceUtilization: {
|
|
225
|
+
* // NetworkInBytesPerSecond: "STRING_VALUE",
|
|
226
|
+
* // NetworkOutBytesPerSecond: "STRING_VALUE",
|
|
227
|
+
* // NetworkPacketsInPerSecond: "STRING_VALUE",
|
|
228
|
+
* // NetworkPacketsOutPerSecond: "STRING_VALUE",
|
|
229
|
+
* // },
|
|
230
|
+
* // },
|
|
231
|
+
* // },
|
|
232
|
+
* // PlatformDifferences: [ // PlatformDifferences
|
|
233
|
+
* // "HYPERVISOR" || "NETWORK_INTERFACE" || "STORAGE_INTERFACE" || "INSTANCE_STORE_AVAILABILITY" || "VIRTUALIZATION_TYPE",
|
|
234
|
+
* // ],
|
|
235
|
+
* // },
|
|
236
|
+
* // ],
|
|
237
|
+
* // },
|
|
238
|
+
* // TerminateRecommendationDetail: { // TerminateRecommendationDetail
|
|
239
|
+
* // EstimatedMonthlySavings: "STRING_VALUE",
|
|
240
|
+
* // CurrencyCode: "STRING_VALUE",
|
|
241
|
+
* // },
|
|
242
|
+
* // FindingReasonCodes: [ // FindingReasonCodes
|
|
243
|
+
* // "CPU_OVER_PROVISIONED" || "CPU_UNDER_PROVISIONED" || "MEMORY_OVER_PROVISIONED" || "MEMORY_UNDER_PROVISIONED" || "EBS_THROUGHPUT_OVER_PROVISIONED" || "EBS_THROUGHPUT_UNDER_PROVISIONED" || "EBS_IOPS_OVER_PROVISIONED" || "EBS_IOPS_UNDER_PROVISIONED" || "NETWORK_BANDWIDTH_OVER_PROVISIONED" || "NETWORK_BANDWIDTH_UNDER_PROVISIONED" || "NETWORK_PPS_OVER_PROVISIONED" || "NETWORK_PPS_UNDER_PROVISIONED" || "DISK_IOPS_OVER_PROVISIONED" || "DISK_IOPS_UNDER_PROVISIONED" || "DISK_THROUGHPUT_OVER_PROVISIONED" || "DISK_THROUGHPUT_UNDER_PROVISIONED",
|
|
244
|
+
* // ],
|
|
245
|
+
* // },
|
|
246
|
+
* // ],
|
|
247
|
+
* // NextPageToken: "STRING_VALUE",
|
|
248
|
+
* // Configuration: { // RightsizingRecommendationConfiguration
|
|
249
|
+
* // RecommendationTarget: "SAME_INSTANCE_FAMILY" || "CROSS_INSTANCE_FAMILY", // required
|
|
250
|
+
* // BenefitsConsidered: true || false, // required
|
|
251
|
+
* // },
|
|
252
|
+
* // };
|
|
253
|
+
*
|
|
111
254
|
* ```
|
|
112
255
|
*
|
|
113
256
|
* @param GetRightsizingRecommendationCommandInput - {@link GetRightsizingRecommendationCommandInput}
|
|
@@ -122,6 +265,8 @@ export interface GetRightsizingRecommendationCommandOutput extends GetRightsizin
|
|
|
122
265
|
* @throws {@link LimitExceededException} (client fault)
|
|
123
266
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
124
267
|
*
|
|
268
|
+
* @throws {@link CostExplorerServiceException}
|
|
269
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
125
270
|
*
|
|
126
271
|
*/
|
|
127
272
|
export declare class GetRightsizingRecommendationCommand extends $Command<GetRightsizingRecommendationCommandInput, GetRightsizingRecommendationCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -145,6 +145,27 @@ export interface GetSavingsPlansCoverageCommandOutput extends GetSavingsPlansCov
|
|
|
145
145
|
* };
|
|
146
146
|
* const command = new GetSavingsPlansCoverageCommand(input);
|
|
147
147
|
* const response = await client.send(command);
|
|
148
|
+
* // { // GetSavingsPlansCoverageResponse
|
|
149
|
+
* // SavingsPlansCoverages: [ // SavingsPlansCoverages // required
|
|
150
|
+
* // { // SavingsPlansCoverage
|
|
151
|
+
* // Attributes: { // Attributes
|
|
152
|
+
* // "<keys>": "STRING_VALUE",
|
|
153
|
+
* // },
|
|
154
|
+
* // Coverage: { // SavingsPlansCoverageData
|
|
155
|
+
* // SpendCoveredBySavingsPlans: "STRING_VALUE",
|
|
156
|
+
* // OnDemandCost: "STRING_VALUE",
|
|
157
|
+
* // TotalCost: "STRING_VALUE",
|
|
158
|
+
* // CoveragePercentage: "STRING_VALUE",
|
|
159
|
+
* // },
|
|
160
|
+
* // TimePeriod: { // DateInterval
|
|
161
|
+
* // Start: "STRING_VALUE", // required
|
|
162
|
+
* // End: "STRING_VALUE", // required
|
|
163
|
+
* // },
|
|
164
|
+
* // },
|
|
165
|
+
* // ],
|
|
166
|
+
* // NextToken: "STRING_VALUE",
|
|
167
|
+
* // };
|
|
168
|
+
*
|
|
148
169
|
* ```
|
|
149
170
|
*
|
|
150
171
|
* @param GetSavingsPlansCoverageCommandInput - {@link GetSavingsPlansCoverageCommandInput}
|
|
@@ -162,6 +183,8 @@ export interface GetSavingsPlansCoverageCommandOutput extends GetSavingsPlansCov
|
|
|
162
183
|
* @throws {@link LimitExceededException} (client fault)
|
|
163
184
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
164
185
|
*
|
|
186
|
+
* @throws {@link CostExplorerServiceException}
|
|
187
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
165
188
|
*
|
|
166
189
|
*/
|
|
167
190
|
export declare class GetSavingsPlansCoverageCommand extends $Command<GetSavingsPlansCoverageCommandInput, GetSavingsPlansCoverageCommandOutput, CostExplorerClientResolvedConfig> {
|
|
@@ -107,6 +107,59 @@ export interface GetSavingsPlansPurchaseRecommendationCommandOutput extends GetS
|
|
|
107
107
|
* };
|
|
108
108
|
* const command = new GetSavingsPlansPurchaseRecommendationCommand(input);
|
|
109
109
|
* const response = await client.send(command);
|
|
110
|
+
* // { // GetSavingsPlansPurchaseRecommendationResponse
|
|
111
|
+
* // Metadata: { // SavingsPlansPurchaseRecommendationMetadata
|
|
112
|
+
* // RecommendationId: "STRING_VALUE",
|
|
113
|
+
* // GenerationTimestamp: "STRING_VALUE",
|
|
114
|
+
* // AdditionalMetadata: "STRING_VALUE",
|
|
115
|
+
* // },
|
|
116
|
+
* // SavingsPlansPurchaseRecommendation: { // SavingsPlansPurchaseRecommendation
|
|
117
|
+
* // AccountScope: "PAYER" || "LINKED",
|
|
118
|
+
* // SavingsPlansType: "COMPUTE_SP" || "EC2_INSTANCE_SP" || "SAGEMAKER_SP",
|
|
119
|
+
* // TermInYears: "ONE_YEAR" || "THREE_YEARS",
|
|
120
|
+
* // PaymentOption: "NO_UPFRONT" || "PARTIAL_UPFRONT" || "ALL_UPFRONT" || "LIGHT_UTILIZATION" || "MEDIUM_UTILIZATION" || "HEAVY_UTILIZATION",
|
|
121
|
+
* // LookbackPeriodInDays: "SEVEN_DAYS" || "THIRTY_DAYS" || "SIXTY_DAYS",
|
|
122
|
+
* // SavingsPlansPurchaseRecommendationDetails: [ // SavingsPlansPurchaseRecommendationDetailList
|
|
123
|
+
* // { // SavingsPlansPurchaseRecommendationDetail
|
|
124
|
+
* // SavingsPlansDetails: { // SavingsPlansDetails
|
|
125
|
+
* // Region: "STRING_VALUE",
|
|
126
|
+
* // InstanceFamily: "STRING_VALUE",
|
|
127
|
+
* // OfferingId: "STRING_VALUE",
|
|
128
|
+
* // },
|
|
129
|
+
* // AccountId: "STRING_VALUE",
|
|
130
|
+
* // UpfrontCost: "STRING_VALUE",
|
|
131
|
+
* // EstimatedROI: "STRING_VALUE",
|
|
132
|
+
* // CurrencyCode: "STRING_VALUE",
|
|
133
|
+
* // EstimatedSPCost: "STRING_VALUE",
|
|
134
|
+
* // EstimatedOnDemandCost: "STRING_VALUE",
|
|
135
|
+
* // EstimatedOnDemandCostWithCurrentCommitment: "STRING_VALUE",
|
|
136
|
+
* // EstimatedSavingsAmount: "STRING_VALUE",
|
|
137
|
+
* // EstimatedSavingsPercentage: "STRING_VALUE",
|
|
138
|
+
* // HourlyCommitmentToPurchase: "STRING_VALUE",
|
|
139
|
+
* // EstimatedAverageUtilization: "STRING_VALUE",
|
|
140
|
+
* // EstimatedMonthlySavingsAmount: "STRING_VALUE",
|
|
141
|
+
* // CurrentMinimumHourlyOnDemandSpend: "STRING_VALUE",
|
|
142
|
+
* // CurrentMaximumHourlyOnDemandSpend: "STRING_VALUE",
|
|
143
|
+
* // CurrentAverageHourlyOnDemandSpend: "STRING_VALUE",
|
|
144
|
+
* // },
|
|
145
|
+
* // ],
|
|
146
|
+
* // SavingsPlansPurchaseRecommendationSummary: { // SavingsPlansPurchaseRecommendationSummary
|
|
147
|
+
* // EstimatedROI: "STRING_VALUE",
|
|
148
|
+
* // CurrencyCode: "STRING_VALUE",
|
|
149
|
+
* // EstimatedTotalCost: "STRING_VALUE",
|
|
150
|
+
* // CurrentOnDemandSpend: "STRING_VALUE",
|
|
151
|
+
* // EstimatedSavingsAmount: "STRING_VALUE",
|
|
152
|
+
* // TotalRecommendationCount: "STRING_VALUE",
|
|
153
|
+
* // DailyCommitmentToPurchase: "STRING_VALUE",
|
|
154
|
+
* // HourlyCommitmentToPurchase: "STRING_VALUE",
|
|
155
|
+
* // EstimatedSavingsPercentage: "STRING_VALUE",
|
|
156
|
+
* // EstimatedMonthlySavingsAmount: "STRING_VALUE",
|
|
157
|
+
* // EstimatedOnDemandCostWithCurrentCommitment: "STRING_VALUE",
|
|
158
|
+
* // },
|
|
159
|
+
* // },
|
|
160
|
+
* // NextPageToken: "STRING_VALUE",
|
|
161
|
+
* // };
|
|
162
|
+
*
|
|
110
163
|
* ```
|
|
111
164
|
*
|
|
112
165
|
* @param GetSavingsPlansPurchaseRecommendationCommandInput - {@link GetSavingsPlansPurchaseRecommendationCommandInput}
|
|
@@ -121,6 +174,8 @@ export interface GetSavingsPlansPurchaseRecommendationCommandOutput extends GetS
|
|
|
121
174
|
* @throws {@link LimitExceededException} (client fault)
|
|
122
175
|
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
123
176
|
*
|
|
177
|
+
* @throws {@link CostExplorerServiceException}
|
|
178
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
124
179
|
*
|
|
125
180
|
*/
|
|
126
181
|
export declare class GetSavingsPlansPurchaseRecommendationCommand extends $Command<GetSavingsPlansPurchaseRecommendationCommandInput, GetSavingsPlansPurchaseRecommendationCommandOutput, CostExplorerClientResolvedConfig> {
|