@aws-sdk/client-cost-explorer 3.693.0 → 3.698.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/README.md +24 -0
- package/dist-cjs/index.js +301 -36
- package/dist-es/CostExplorer.js +6 -0
- package/dist-es/commands/GetCommitmentPurchaseAnalysisCommand.js +22 -0
- package/dist-es/commands/ListCommitmentPurchaseAnalysesCommand.js +22 -0
- package/dist-es/commands/StartCommitmentPurchaseAnalysisCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +54 -25
- package/dist-es/protocols/Aws_json1_1.js +182 -4
- package/dist-types/CostExplorer.d.ts +22 -0
- package/dist-types/CostExplorerClient.d.ts +5 -2
- package/dist-types/commands/GetCommitmentPurchaseAnalysisCommand.d.ts +146 -0
- package/dist-types/commands/ListCommitmentPurchaseAnalysesCommand.d.ts +121 -0
- package/dist-types/commands/StartCommitmentPurchaseAnalysisCommand.d.ts +113 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +609 -112
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/CostExplorer.d.ts +52 -0
- package/dist-types/ts3.4/CostExplorerClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetCommitmentPurchaseAnalysisCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCommitmentPurchaseAnalysesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartCommitmentPurchaseAnalysisCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +165 -40
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +35 -35
|
@@ -12,6 +12,456 @@ export declare const AccountScope: {
|
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
14
|
export type AccountScope = (typeof AccountScope)[keyof typeof AccountScope];
|
|
15
|
+
/**
|
|
16
|
+
* <p>Contains the hourly metrics for the given recommendation over the lookback period.
|
|
17
|
+
* </p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export interface RecommendationDetailHourlyMetrics {
|
|
21
|
+
/**
|
|
22
|
+
* <p>The period of time that you want the usage and costs for.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
StartTime?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The remaining On-Demand cost estimated to not be covered by the recommended Savings
|
|
28
|
+
* Plan, over the length of the lookback period.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
EstimatedOnDemandCost?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The current amount of Savings Plans eligible usage that the Savings Plan
|
|
34
|
+
* covered.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
CurrentCoverage?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The estimated coverage amount based on the recommended Savings Plan.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
EstimatedCoverage?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The estimated utilization for the recommended Savings Plan.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
EstimatedNewCommitmentUtilization?: string | undefined;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* <p>Details about the Savings Plans purchase
|
|
51
|
+
* analysis.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export interface SavingsPlansPurchaseAnalysisDetails {
|
|
55
|
+
/**
|
|
56
|
+
* <p>The currency code used for the
|
|
57
|
+
* analysis.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
CurrencyCode?: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* <p>The lookback period in hours that's used to generate the
|
|
63
|
+
* analysis.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
LookbackPeriodInHours?: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>The average value of hourly coverage over the lookback
|
|
69
|
+
* period.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
CurrentAverageCoverage?: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* <p>The average value of hourly On-Demand spend over the lookback
|
|
75
|
+
* period.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
CurrentAverageHourlyOnDemandSpend?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The highest value of hourly On-Demand spend over the lookback
|
|
81
|
+
* period.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
CurrentMaximumHourlyOnDemandSpend?: string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p>The lowest value of hourly On-Demand spend over the lookback
|
|
87
|
+
* period.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
CurrentMinimumHourlyOnDemandSpend?: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* <p>The current total On-Demand spend over the lookback
|
|
93
|
+
* period.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
CurrentOnDemandSpend?: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* <p>The existing hourly commitment for the Savings Plan
|
|
99
|
+
* type.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
ExistingHourlyCommitment?: string | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* <p>The recommended or custom hourly
|
|
105
|
+
* commitment.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
HourlyCommitmentToPurchase?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The estimated coverage of the Savings
|
|
111
|
+
* Plan.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
EstimatedAverageCoverage?: string | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* <p>The estimated utilization of the Savings
|
|
117
|
+
* Plan.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
EstimatedAverageUtilization?: string | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The estimated monthly savings amount based on the Savings
|
|
123
|
+
* Plan.</p>
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
EstimatedMonthlySavingsAmount?: string | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* <p>The remaining On-Demand cost estimated to not be covered by the commitment, over the
|
|
129
|
+
* length of the lookback period.</p>
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
EstimatedOnDemandCost?: string | undefined;
|
|
133
|
+
/**
|
|
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>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
EstimatedOnDemandCostWithCurrentCommitment?: string | undefined;
|
|
140
|
+
/**
|
|
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>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
EstimatedROI?: string | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* <p>The estimated savings amount that's based on the purchase commitment over the length
|
|
149
|
+
* of the lookback period.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
EstimatedSavingsAmount?: string | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* <p>The estimated savings percentage relative to the total cost over the cost calculation
|
|
155
|
+
* lookback period.</p>
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
EstimatedSavingsPercentage?: string | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* <p>The estimated cost of the purchase commitment over the length of the lookback
|
|
161
|
+
* period.</p>
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
EstimatedCommitmentCost?: string | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* <p>The date and time of the last hour that went into the
|
|
167
|
+
* analysis.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
LatestUsageTimestamp?: string | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* <p>The upfront cost of the Savings Plan, based on the selected payment
|
|
173
|
+
* option.</p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
UpfrontCost?: string | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* <p>Additional metadata that might be applicable to the
|
|
179
|
+
* commitment.</p>
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
AdditionalMetadata?: string | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* <p>The related hourly cost, coverage, and utilization metrics over the lookback
|
|
185
|
+
* period.</p>
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
MetricsOverLookbackPeriod?: RecommendationDetailHourlyMetrics[] | undefined;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* <p>Details about the analysis.</p>
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
export interface AnalysisDetails {
|
|
195
|
+
/**
|
|
196
|
+
* <p>Details about the Savings Plans purchase
|
|
197
|
+
* analysis.</p>
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
SavingsPlansPurchaseAnalysisDetails?: SavingsPlansPurchaseAnalysisDetails | undefined;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* <p>The requested analysis can't be
|
|
204
|
+
* found.</p>
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
export declare class AnalysisNotFoundException extends __BaseException {
|
|
208
|
+
readonly name: "AnalysisNotFoundException";
|
|
209
|
+
readonly $fault: "client";
|
|
210
|
+
Message?: string | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* @internal
|
|
213
|
+
*/
|
|
214
|
+
constructor(opts: __ExceptionOptionType<AnalysisNotFoundException, __BaseException>);
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
* @enum
|
|
219
|
+
*/
|
|
220
|
+
export declare const AnalysisStatus: {
|
|
221
|
+
readonly FAILED: "FAILED";
|
|
222
|
+
readonly PROCESSING: "PROCESSING";
|
|
223
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
export type AnalysisStatus = (typeof AnalysisStatus)[keyof typeof AnalysisStatus];
|
|
229
|
+
/**
|
|
230
|
+
* @public
|
|
231
|
+
* @enum
|
|
232
|
+
*/
|
|
233
|
+
export declare const AnalysisType: {
|
|
234
|
+
readonly CUSTOM_COMMITMENT: "CUSTOM_COMMITMENT";
|
|
235
|
+
readonly MAX_SAVINGS: "MAX_SAVINGS";
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
export type AnalysisType = (typeof AnalysisType)[keyof typeof AnalysisType];
|
|
241
|
+
/**
|
|
242
|
+
* <p>The time period of the request. </p>
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
export interface DateInterval {
|
|
246
|
+
/**
|
|
247
|
+
* <p>The beginning of the time period. The start date is inclusive. For example, if
|
|
248
|
+
* <code>start</code> is <code>2017-01-01</code>, Amazon Web Services retrieves cost and
|
|
249
|
+
* usage data starting at <code>2017-01-01</code> up to the end date. The start date must
|
|
250
|
+
* be equal to or no later than the current date to avoid a validation error.</p>
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
Start: string | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* <p>The end of the time period. The end date is exclusive. For example, if
|
|
256
|
+
* <code>end</code> is <code>2017-05-01</code>, Amazon Web Services retrieves cost and
|
|
257
|
+
* usage data from the start date up to, but not including, <code>2017-05-01</code>.</p>
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
260
|
+
End: string | undefined;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
* @enum
|
|
265
|
+
*/
|
|
266
|
+
export declare const PaymentOption: {
|
|
267
|
+
readonly ALL_UPFRONT: "ALL_UPFRONT";
|
|
268
|
+
readonly HEAVY_UTILIZATION: "HEAVY_UTILIZATION";
|
|
269
|
+
readonly LIGHT_UTILIZATION: "LIGHT_UTILIZATION";
|
|
270
|
+
readonly MEDIUM_UTILIZATION: "MEDIUM_UTILIZATION";
|
|
271
|
+
readonly NO_UPFRONT: "NO_UPFRONT";
|
|
272
|
+
readonly PARTIAL_UPFRONT: "PARTIAL_UPFRONT";
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
export type PaymentOption = (typeof PaymentOption)[keyof typeof PaymentOption];
|
|
278
|
+
/**
|
|
279
|
+
* @public
|
|
280
|
+
* @enum
|
|
281
|
+
*/
|
|
282
|
+
export declare const SupportedSavingsPlansType: {
|
|
283
|
+
readonly COMPUTE_SP: "COMPUTE_SP";
|
|
284
|
+
readonly EC2_INSTANCE_SP: "EC2_INSTANCE_SP";
|
|
285
|
+
readonly SAGEMAKER_SP: "SAGEMAKER_SP";
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
export type SupportedSavingsPlansType = (typeof SupportedSavingsPlansType)[keyof typeof SupportedSavingsPlansType];
|
|
291
|
+
/**
|
|
292
|
+
* @public
|
|
293
|
+
* @enum
|
|
294
|
+
*/
|
|
295
|
+
export declare const TermInYears: {
|
|
296
|
+
readonly ONE_YEAR: "ONE_YEAR";
|
|
297
|
+
readonly THREE_YEARS: "THREE_YEARS";
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
export type TermInYears = (typeof TermInYears)[keyof typeof TermInYears];
|
|
303
|
+
/**
|
|
304
|
+
* <p>The Savings Plans commitment
|
|
305
|
+
* details.</p>
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
export interface SavingsPlans {
|
|
309
|
+
/**
|
|
310
|
+
* <p>The payment option for the Savings Plans
|
|
311
|
+
* commitment.</p>
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
PaymentOption?: PaymentOption | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* <p>The Savings Plans type.</p>
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
319
|
+
SavingsPlansType?: SupportedSavingsPlansType | undefined;
|
|
320
|
+
/**
|
|
321
|
+
* <p>The Region associated with the Savings Plans
|
|
322
|
+
* commitment.</p>
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
Region?: string | undefined;
|
|
326
|
+
/**
|
|
327
|
+
* <p>The instance family of the Savings Plans
|
|
328
|
+
* commitment.</p>
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
InstanceFamily?: string | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* <p>The term that you want the Savings Plans commitment
|
|
334
|
+
* for.</p>
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
TermInYears?: TermInYears | undefined;
|
|
338
|
+
/**
|
|
339
|
+
* <p>The Savings Plans commitment.</p>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
SavingsPlansCommitment?: number | undefined;
|
|
343
|
+
/**
|
|
344
|
+
* <p>The unique ID that's used to distinguish commitments from one
|
|
345
|
+
* another.</p>
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
OfferingId?: string | undefined;
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* <p>The configuration for the Savings Plans purchase
|
|
352
|
+
* analysis.</p>
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
export interface SavingsPlansPurchaseAnalysisConfiguration {
|
|
356
|
+
/**
|
|
357
|
+
* <p>The account scope that you want your analysis
|
|
358
|
+
* for.</p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
AccountScope?: AccountScope | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* <p>The account that the analysis is
|
|
364
|
+
* for.</p>
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
AccountId?: string | undefined;
|
|
368
|
+
/**
|
|
369
|
+
* <p>The type of analysis.</p>
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
AnalysisType: AnalysisType | undefined;
|
|
373
|
+
/**
|
|
374
|
+
* <p>Savings Plans to include in the
|
|
375
|
+
* analysis.</p>
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
SavingsPlansToAdd: SavingsPlans[] | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* <p>Savings Plans to exclude from the
|
|
381
|
+
* analysis.</p>
|
|
382
|
+
* @public
|
|
383
|
+
*/
|
|
384
|
+
SavingsPlansToExclude?: string[] | undefined;
|
|
385
|
+
/**
|
|
386
|
+
* <p>The time period associated with the
|
|
387
|
+
* analysis.</p>
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
LookBackTimePeriod: DateInterval | undefined;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* <p>The configuration for the commitment purchase
|
|
394
|
+
* analysis.</p>
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
export interface CommitmentPurchaseAnalysisConfiguration {
|
|
398
|
+
/**
|
|
399
|
+
* <p>The configuration for the Savings Plans purchase
|
|
400
|
+
* analysis.</p>
|
|
401
|
+
* @public
|
|
402
|
+
*/
|
|
403
|
+
SavingsPlansPurchaseAnalysisConfiguration?: SavingsPlansPurchaseAnalysisConfiguration | undefined;
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* @public
|
|
407
|
+
* @enum
|
|
408
|
+
*/
|
|
409
|
+
export declare const ErrorCode: {
|
|
410
|
+
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
411
|
+
readonly INVALID_ACCOUNT_ID: "INVALID_ACCOUNT_ID";
|
|
412
|
+
readonly INVALID_SAVINGS_PLANS_TO_ADD: "INVALID_SAVINGS_PLANS_TO_ADD";
|
|
413
|
+
readonly INVALID_SAVINGS_PLANS_TO_EXCLUDE: "INVALID_SAVINGS_PLANS_TO_EXCLUDE";
|
|
414
|
+
readonly NO_USAGE_FOUND: "NO_USAGE_FOUND";
|
|
415
|
+
};
|
|
416
|
+
/**
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
419
|
+
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
420
|
+
/**
|
|
421
|
+
* <p>A summary of the analysis.</p>
|
|
422
|
+
* @public
|
|
423
|
+
*/
|
|
424
|
+
export interface AnalysisSummary {
|
|
425
|
+
/**
|
|
426
|
+
* <p>The estimated time for when the analysis will
|
|
427
|
+
* complete.</p>
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
EstimatedCompletionTime?: string | undefined;
|
|
431
|
+
/**
|
|
432
|
+
* <p>The completion time of the analysis.</p>
|
|
433
|
+
* @public
|
|
434
|
+
*/
|
|
435
|
+
AnalysisCompletionTime?: string | undefined;
|
|
436
|
+
/**
|
|
437
|
+
* <p>The start time of the analysis.</p>
|
|
438
|
+
* @public
|
|
439
|
+
*/
|
|
440
|
+
AnalysisStartedTime?: string | undefined;
|
|
441
|
+
/**
|
|
442
|
+
* <p>The status of the analysis.</p>
|
|
443
|
+
* @public
|
|
444
|
+
*/
|
|
445
|
+
AnalysisStatus?: AnalysisStatus | undefined;
|
|
446
|
+
/**
|
|
447
|
+
* <p>The error code used for the
|
|
448
|
+
* analysis.</p>
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
ErrorCode?: ErrorCode | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* <p>The analysis ID that's associated with the commitment
|
|
454
|
+
* purchase.</p>
|
|
455
|
+
* @public
|
|
456
|
+
*/
|
|
457
|
+
AnalysisId?: string | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* <p>The analysis configuration for the commitment purchase
|
|
460
|
+
* analysis.</p>
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
CommitmentPurchaseAnalysisConfiguration?: CommitmentPurchaseAnalysisConfiguration | undefined;
|
|
464
|
+
}
|
|
15
465
|
/**
|
|
16
466
|
* <p>Quantifies the anomaly. The higher score means that it's more anomalous. </p>
|
|
17
467
|
* @public
|
|
@@ -79,14 +529,14 @@ export interface Impact {
|
|
|
79
529
|
TotalImpactPercentage?: number | undefined;
|
|
80
530
|
}
|
|
81
531
|
/**
|
|
82
|
-
* <p>The combination of Amazon Web
|
|
532
|
+
* <p>The combination of Amazon Web Services service, linked account, linked account name,
|
|
83
533
|
* Region, and usage type where a cost anomaly is observed. The linked account name will
|
|
84
534
|
* only be available when the account name can be identified.</p>
|
|
85
535
|
* @public
|
|
86
536
|
*/
|
|
87
537
|
export interface RootCause {
|
|
88
538
|
/**
|
|
89
|
-
* <p>The Amazon Web
|
|
539
|
+
* <p>The Amazon Web Services service name that's associated with the cost anomaly. </p>
|
|
90
540
|
* @public
|
|
91
541
|
*/
|
|
92
542
|
Service?: string | undefined;
|
|
@@ -133,7 +583,7 @@ export interface Anomaly {
|
|
|
133
583
|
*/
|
|
134
584
|
AnomalyEndDate?: string | undefined;
|
|
135
585
|
/**
|
|
136
|
-
* <p>The dimension for the anomaly (for example, an Amazon Web
|
|
586
|
+
* <p>The dimension for the anomaly (for example, an Amazon Web Services service in a service
|
|
137
587
|
* monitor). </p>
|
|
138
588
|
* @public
|
|
139
589
|
*/
|
|
@@ -1018,45 +1468,83 @@ export interface GetApproximateUsageRecordsRequest {
|
|
|
1018
1468
|
ApproximationDimension: ApproximationDimension | undefined;
|
|
1019
1469
|
}
|
|
1020
1470
|
/**
|
|
1021
|
-
* <p>The time period of the request. </p>
|
|
1022
1471
|
* @public
|
|
1023
1472
|
*/
|
|
1024
|
-
export interface
|
|
1473
|
+
export interface GetApproximateUsageRecordsResponse {
|
|
1025
1474
|
/**
|
|
1026
|
-
* <p>The
|
|
1027
|
-
* <code>start</code> is <code>2017-01-01</code>, Amazon Web Services retrieves cost and
|
|
1028
|
-
* usage data starting at <code>2017-01-01</code> up to the end date. The start date must
|
|
1029
|
-
* be equal to or no later than the current date to avoid a validation error.</p>
|
|
1475
|
+
* <p>The service metadata for the service or services in the response.</p>
|
|
1030
1476
|
* @public
|
|
1031
1477
|
*/
|
|
1032
|
-
|
|
1478
|
+
Services?: Record<string, number> | undefined;
|
|
1033
1479
|
/**
|
|
1034
|
-
* <p>The
|
|
1035
|
-
* <code>end</code> is <code>2017-05-01</code>, Amazon Web Services retrieves cost and
|
|
1036
|
-
* usage data from the start date up to, but not including, <code>2017-05-01</code>.</p>
|
|
1480
|
+
* <p>The total number of usage records for all services in the services list.</p>
|
|
1037
1481
|
* @public
|
|
1038
1482
|
*/
|
|
1039
|
-
|
|
1483
|
+
TotalRecords?: number | undefined;
|
|
1484
|
+
/**
|
|
1485
|
+
* <p>The lookback period that's used for the estimation.</p>
|
|
1486
|
+
* @public
|
|
1487
|
+
*/
|
|
1488
|
+
LookbackPeriod?: DateInterval | undefined;
|
|
1040
1489
|
}
|
|
1041
1490
|
/**
|
|
1042
1491
|
* @public
|
|
1043
1492
|
*/
|
|
1044
|
-
export interface
|
|
1493
|
+
export interface GetCommitmentPurchaseAnalysisRequest {
|
|
1045
1494
|
/**
|
|
1046
|
-
* <p>The
|
|
1495
|
+
* <p>The analysis ID that's associated with the commitment purchase
|
|
1496
|
+
* analysis.</p>
|
|
1047
1497
|
* @public
|
|
1048
1498
|
*/
|
|
1049
|
-
|
|
1499
|
+
AnalysisId: string | undefined;
|
|
1500
|
+
}
|
|
1501
|
+
/**
|
|
1502
|
+
* @public
|
|
1503
|
+
*/
|
|
1504
|
+
export interface GetCommitmentPurchaseAnalysisResponse {
|
|
1050
1505
|
/**
|
|
1051
|
-
* <p>The
|
|
1506
|
+
* <p>The estimated time for when the analysis will
|
|
1507
|
+
* complete.</p>
|
|
1052
1508
|
* @public
|
|
1053
1509
|
*/
|
|
1054
|
-
|
|
1510
|
+
EstimatedCompletionTime: string | undefined;
|
|
1055
1511
|
/**
|
|
1056
|
-
* <p>The
|
|
1512
|
+
* <p>The completion time of the analysis.</p>
|
|
1057
1513
|
* @public
|
|
1058
1514
|
*/
|
|
1059
|
-
|
|
1515
|
+
AnalysisCompletionTime?: string | undefined;
|
|
1516
|
+
/**
|
|
1517
|
+
* <p>The start time of the analysis.</p>
|
|
1518
|
+
* @public
|
|
1519
|
+
*/
|
|
1520
|
+
AnalysisStartedTime: string | undefined;
|
|
1521
|
+
/**
|
|
1522
|
+
* <p>The analysis ID that's associated with the commitment purchase
|
|
1523
|
+
* analysis.</p>
|
|
1524
|
+
* @public
|
|
1525
|
+
*/
|
|
1526
|
+
AnalysisId: string | undefined;
|
|
1527
|
+
/**
|
|
1528
|
+
* <p>The status of the analysis.</p>
|
|
1529
|
+
* @public
|
|
1530
|
+
*/
|
|
1531
|
+
AnalysisStatus: AnalysisStatus | undefined;
|
|
1532
|
+
/**
|
|
1533
|
+
* <p>The error code used for the analysis.</p>
|
|
1534
|
+
* @public
|
|
1535
|
+
*/
|
|
1536
|
+
ErrorCode?: ErrorCode | undefined;
|
|
1537
|
+
/**
|
|
1538
|
+
* <p>Details about the analysis.</p>
|
|
1539
|
+
* @public
|
|
1540
|
+
*/
|
|
1541
|
+
AnalysisDetails?: AnalysisDetails | undefined;
|
|
1542
|
+
/**
|
|
1543
|
+
* <p>The configuration for the commitment purchase
|
|
1544
|
+
* analysis.</p>
|
|
1545
|
+
* @public
|
|
1546
|
+
*/
|
|
1547
|
+
CommitmentPurchaseAnalysisConfiguration: CommitmentPurchaseAnalysisConfiguration | undefined;
|
|
1060
1548
|
}
|
|
1061
1549
|
/**
|
|
1062
1550
|
* <p>The requested report expired. Update the date interval and try again.</p>
|
|
@@ -1700,22 +2188,6 @@ export declare const LookbackPeriodInDays: {
|
|
|
1700
2188
|
* @public
|
|
1701
2189
|
*/
|
|
1702
2190
|
export type LookbackPeriodInDays = (typeof LookbackPeriodInDays)[keyof typeof LookbackPeriodInDays];
|
|
1703
|
-
/**
|
|
1704
|
-
* @public
|
|
1705
|
-
* @enum
|
|
1706
|
-
*/
|
|
1707
|
-
export declare const PaymentOption: {
|
|
1708
|
-
readonly ALL_UPFRONT: "ALL_UPFRONT";
|
|
1709
|
-
readonly HEAVY_UTILIZATION: "HEAVY_UTILIZATION";
|
|
1710
|
-
readonly LIGHT_UTILIZATION: "LIGHT_UTILIZATION";
|
|
1711
|
-
readonly MEDIUM_UTILIZATION: "MEDIUM_UTILIZATION";
|
|
1712
|
-
readonly NO_UPFRONT: "NO_UPFRONT";
|
|
1713
|
-
readonly PARTIAL_UPFRONT: "PARTIAL_UPFRONT";
|
|
1714
|
-
};
|
|
1715
|
-
/**
|
|
1716
|
-
* @public
|
|
1717
|
-
*/
|
|
1718
|
-
export type PaymentOption = (typeof PaymentOption)[keyof typeof PaymentOption];
|
|
1719
2191
|
/**
|
|
1720
2192
|
* @public
|
|
1721
2193
|
* @enum
|
|
@@ -1753,18 +2225,6 @@ export interface ServiceSpecification {
|
|
|
1753
2225
|
*/
|
|
1754
2226
|
EC2Specification?: EC2Specification | undefined;
|
|
1755
2227
|
}
|
|
1756
|
-
/**
|
|
1757
|
-
* @public
|
|
1758
|
-
* @enum
|
|
1759
|
-
*/
|
|
1760
|
-
export declare const TermInYears: {
|
|
1761
|
-
readonly ONE_YEAR: "ONE_YEAR";
|
|
1762
|
-
readonly THREE_YEARS: "THREE_YEARS";
|
|
1763
|
-
};
|
|
1764
|
-
/**
|
|
1765
|
-
* @public
|
|
1766
|
-
*/
|
|
1767
|
-
export type TermInYears = (typeof TermInYears)[keyof typeof TermInYears];
|
|
1768
2228
|
/**
|
|
1769
2229
|
* <p>Information about a recommendation, such as the timestamp for when Amazon Web Services
|
|
1770
2230
|
* made a specific recommendation.</p>
|
|
@@ -3067,53 +3527,6 @@ export interface GetSavingsPlanPurchaseRecommendationDetailsRequest {
|
|
|
3067
3527
|
*/
|
|
3068
3528
|
RecommendationDetailId: string | undefined;
|
|
3069
3529
|
}
|
|
3070
|
-
/**
|
|
3071
|
-
* <p>Contains the hourly metrics for the given recommendation over the lookback period.
|
|
3072
|
-
* </p>
|
|
3073
|
-
* @public
|
|
3074
|
-
*/
|
|
3075
|
-
export interface RecommendationDetailHourlyMetrics {
|
|
3076
|
-
/**
|
|
3077
|
-
* <p>The period of time that you want the usage and costs for.</p>
|
|
3078
|
-
* @public
|
|
3079
|
-
*/
|
|
3080
|
-
StartTime?: string | undefined;
|
|
3081
|
-
/**
|
|
3082
|
-
* <p>The remaining On-Demand cost estimated to not be covered by the recommended Savings
|
|
3083
|
-
* Plan, over the length of the lookback period.</p>
|
|
3084
|
-
* @public
|
|
3085
|
-
*/
|
|
3086
|
-
EstimatedOnDemandCost?: string | undefined;
|
|
3087
|
-
/**
|
|
3088
|
-
* <p>The current amount of Savings Plans eligible usage that the Savings Plan
|
|
3089
|
-
* covered.</p>
|
|
3090
|
-
* @public
|
|
3091
|
-
*/
|
|
3092
|
-
CurrentCoverage?: string | undefined;
|
|
3093
|
-
/**
|
|
3094
|
-
* <p>The estimated coverage amount based on the recommended Savings Plan.</p>
|
|
3095
|
-
* @public
|
|
3096
|
-
*/
|
|
3097
|
-
EstimatedCoverage?: string | undefined;
|
|
3098
|
-
/**
|
|
3099
|
-
* <p>The estimated utilization for the recommended Savings Plan.</p>
|
|
3100
|
-
* @public
|
|
3101
|
-
*/
|
|
3102
|
-
EstimatedNewCommitmentUtilization?: string | undefined;
|
|
3103
|
-
}
|
|
3104
|
-
/**
|
|
3105
|
-
* @public
|
|
3106
|
-
* @enum
|
|
3107
|
-
*/
|
|
3108
|
-
export declare const SupportedSavingsPlansType: {
|
|
3109
|
-
readonly COMPUTE_SP: "COMPUTE_SP";
|
|
3110
|
-
readonly EC2_INSTANCE_SP: "EC2_INSTANCE_SP";
|
|
3111
|
-
readonly SAGEMAKER_SP: "SAGEMAKER_SP";
|
|
3112
|
-
};
|
|
3113
|
-
/**
|
|
3114
|
-
* @public
|
|
3115
|
-
*/
|
|
3116
|
-
export type SupportedSavingsPlansType = (typeof SupportedSavingsPlansType)[keyof typeof SupportedSavingsPlansType];
|
|
3117
3530
|
/**
|
|
3118
3531
|
* <p>The details and metrics for the given recommendation.</p>
|
|
3119
3532
|
* @public
|
|
@@ -3933,6 +4346,50 @@ export declare class UnresolvableUsageUnitException extends __BaseException {
|
|
|
3933
4346
|
*/
|
|
3934
4347
|
constructor(opts: __ExceptionOptionType<UnresolvableUsageUnitException, __BaseException>);
|
|
3935
4348
|
}
|
|
4349
|
+
/**
|
|
4350
|
+
* @public
|
|
4351
|
+
*/
|
|
4352
|
+
export interface ListCommitmentPurchaseAnalysesRequest {
|
|
4353
|
+
/**
|
|
4354
|
+
* <p>The status of the analysis.</p>
|
|
4355
|
+
* @public
|
|
4356
|
+
*/
|
|
4357
|
+
AnalysisStatus?: AnalysisStatus | undefined;
|
|
4358
|
+
/**
|
|
4359
|
+
* <p>The token to retrieve the next set of
|
|
4360
|
+
* results.</p>
|
|
4361
|
+
* @public
|
|
4362
|
+
*/
|
|
4363
|
+
NextPageToken?: string | undefined;
|
|
4364
|
+
/**
|
|
4365
|
+
* <p>The number of analyses that you want returned in a single response
|
|
4366
|
+
* object.</p>
|
|
4367
|
+
* @public
|
|
4368
|
+
*/
|
|
4369
|
+
PageSize?: number | undefined;
|
|
4370
|
+
/**
|
|
4371
|
+
* <p>The analysis IDs associated with the commitment purchase
|
|
4372
|
+
* analyses.</p>
|
|
4373
|
+
* @public
|
|
4374
|
+
*/
|
|
4375
|
+
AnalysisIds?: string[] | undefined;
|
|
4376
|
+
}
|
|
4377
|
+
/**
|
|
4378
|
+
* @public
|
|
4379
|
+
*/
|
|
4380
|
+
export interface ListCommitmentPurchaseAnalysesResponse {
|
|
4381
|
+
/**
|
|
4382
|
+
* <p>The list of analyses.</p>
|
|
4383
|
+
* @public
|
|
4384
|
+
*/
|
|
4385
|
+
AnalysisSummaryList?: AnalysisSummary[] | undefined;
|
|
4386
|
+
/**
|
|
4387
|
+
* <p>The token to retrieve the next set of
|
|
4388
|
+
* results.</p>
|
|
4389
|
+
* @public
|
|
4390
|
+
*/
|
|
4391
|
+
NextPageToken?: string | undefined;
|
|
4392
|
+
}
|
|
3936
4393
|
/**
|
|
3937
4394
|
* @public
|
|
3938
4395
|
*/
|
|
@@ -4360,6 +4817,52 @@ export interface ProvideAnomalyFeedbackResponse {
|
|
|
4360
4817
|
*/
|
|
4361
4818
|
AnomalyId: string | undefined;
|
|
4362
4819
|
}
|
|
4820
|
+
/**
|
|
4821
|
+
* <p>A request to generate a recommendation is already in progress.</p>
|
|
4822
|
+
* @public
|
|
4823
|
+
*/
|
|
4824
|
+
export declare class GenerationExistsException extends __BaseException {
|
|
4825
|
+
readonly name: "GenerationExistsException";
|
|
4826
|
+
readonly $fault: "client";
|
|
4827
|
+
Message?: string | undefined;
|
|
4828
|
+
/**
|
|
4829
|
+
* @internal
|
|
4830
|
+
*/
|
|
4831
|
+
constructor(opts: __ExceptionOptionType<GenerationExistsException, __BaseException>);
|
|
4832
|
+
}
|
|
4833
|
+
/**
|
|
4834
|
+
* @public
|
|
4835
|
+
*/
|
|
4836
|
+
export interface StartCommitmentPurchaseAnalysisRequest {
|
|
4837
|
+
/**
|
|
4838
|
+
* <p>The configuration for the commitment purchase
|
|
4839
|
+
* analysis.</p>
|
|
4840
|
+
* @public
|
|
4841
|
+
*/
|
|
4842
|
+
CommitmentPurchaseAnalysisConfiguration: CommitmentPurchaseAnalysisConfiguration | undefined;
|
|
4843
|
+
}
|
|
4844
|
+
/**
|
|
4845
|
+
* @public
|
|
4846
|
+
*/
|
|
4847
|
+
export interface StartCommitmentPurchaseAnalysisResponse {
|
|
4848
|
+
/**
|
|
4849
|
+
* <p>The analysis ID that's associated with the commitment purchase
|
|
4850
|
+
* analysis.</p>
|
|
4851
|
+
* @public
|
|
4852
|
+
*/
|
|
4853
|
+
AnalysisId: string | undefined;
|
|
4854
|
+
/**
|
|
4855
|
+
* <p>The start time of the analysis.</p>
|
|
4856
|
+
* @public
|
|
4857
|
+
*/
|
|
4858
|
+
AnalysisStartedTime: string | undefined;
|
|
4859
|
+
/**
|
|
4860
|
+
* <p>The estimated time for when the analysis will
|
|
4861
|
+
* complete.</p>
|
|
4862
|
+
* @public
|
|
4863
|
+
*/
|
|
4864
|
+
EstimatedCompletionTime: string | undefined;
|
|
4865
|
+
}
|
|
4363
4866
|
/**
|
|
4364
4867
|
* <p>
|
|
4365
4868
|
* A request to backfill is already in progress. Once the previous request is complete, you can create another request.
|
|
@@ -4398,19 +4901,6 @@ export interface StartCostAllocationTagBackfillResponse {
|
|
|
4398
4901
|
*/
|
|
4399
4902
|
BackfillRequest?: CostAllocationTagBackfillRequest | undefined;
|
|
4400
4903
|
}
|
|
4401
|
-
/**
|
|
4402
|
-
* <p>A request to generate a recommendation is already in progress.</p>
|
|
4403
|
-
* @public
|
|
4404
|
-
*/
|
|
4405
|
-
export declare class GenerationExistsException extends __BaseException {
|
|
4406
|
-
readonly name: "GenerationExistsException";
|
|
4407
|
-
readonly $fault: "client";
|
|
4408
|
-
Message?: string | undefined;
|
|
4409
|
-
/**
|
|
4410
|
-
* @internal
|
|
4411
|
-
*/
|
|
4412
|
-
constructor(opts: __ExceptionOptionType<GenerationExistsException, __BaseException>);
|
|
4413
|
-
}
|
|
4414
4904
|
/**
|
|
4415
4905
|
* @public
|
|
4416
4906
|
*/
|
|
@@ -5103,7 +5593,7 @@ export interface CostCategoryRule {
|
|
|
5103
5593
|
* object used to categorize costs. This supports dimensions, tags, and nested expressions.
|
|
5104
5594
|
* Currently the only dimensions supported are <code>LINKED_ACCOUNT</code>,
|
|
5105
5595
|
*
|
|
5106
|
-
* <code>SERVICE_CODE</code>, <code>RECORD_TYPE</code>, <code>LINKED_ACCOUNT_NAME</code>, <code>REGION</code>, and <code>
|
|
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>
|
|
5107
5597
|
* <p>
|
|
5108
5598
|
* <code>RECORD_TYPE</code> is a dimension used for Cost Explorer APIs, and is also
|
|
5109
5599
|
* supported for Cost Category expressions. This dimension uses different terms, depending
|
|
@@ -5711,9 +6201,9 @@ export interface GetDimensionValuesRequest {
|
|
|
5711
6201
|
* <li>
|
|
5712
6202
|
* <p>BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible
|
|
5713
6203
|
* values are the following:</p>
|
|
5714
|
-
* <p>- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web
|
|
6204
|
+
* <p>- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services services.</p>
|
|
5715
6205
|
* <p>- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting
|
|
5716
|
-
* reseller for Amazon Web
|
|
6206
|
+
* reseller for Amazon Web Services services in India.</p>
|
|
5717
6207
|
* <p>- Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on
|
|
5718
6208
|
* Amazon Web Services by third-party software providers.</p>
|
|
5719
6209
|
* </li>
|
|
@@ -6508,6 +6998,13 @@ export interface GetReservationUtilizationRequest {
|
|
|
6508
6998
|
* </li>
|
|
6509
6999
|
* <li>
|
|
6510
7000
|
* <p>SERVICE</p>
|
|
7001
|
+
* <note>
|
|
7002
|
+
* <p>If not specified, the <code>SERVICE</code> filter defaults to Amazon Elastic
|
|
7003
|
+
* Compute Cloud - Compute. Supported values for <code>SERVICE</code> are Amazon Elastic
|
|
7004
|
+
* Compute Cloud - Compute, Amazon Relational Database Service, Amazon ElastiCache, Amazon
|
|
7005
|
+
* Redshift, and Amazon Elasticsearch Service. The value for the <code>SERVICE</code>
|
|
7006
|
+
* filter should not exceed "1".</p>
|
|
7007
|
+
* </note>
|
|
6511
7008
|
* </li>
|
|
6512
7009
|
* <li>
|
|
6513
7010
|
* <p>SCOPE</p>
|