@aws-sdk/client-cost-explorer 3.312.0 → 3.316.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.
@@ -37,467 +37,248 @@ import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommand
37
37
  import { UpdateCostAllocationTagsStatusCommandInput, UpdateCostAllocationTagsStatusCommandOutput } from "./commands/UpdateCostAllocationTagsStatusCommand";
38
38
  import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "./commands/UpdateCostCategoryDefinitionCommand";
39
39
  import { CostExplorerClient } from "./CostExplorerClient";
40
- /**
41
- * @public
42
- * <p>You can use the Cost Explorer API to programmatically query your cost and usage data.
43
- * You can query for aggregated data such as total monthly costs or total daily usage. You can
44
- * also query for granular data. This might include the number of daily write operations for
45
- * Amazon DynamoDB database tables in your production environment. </p>
46
- * <p>Service Endpoint</p>
47
- * <p>The Cost Explorer API provides the following endpoint:</p>
48
- * <ul>
49
- * <li>
50
- * <p>
51
- * <code>https://ce.us-east-1.amazonaws.com</code>
52
- * </p>
53
- * </li>
54
- * </ul>
55
- * <p>For information about the costs that are associated with the Cost Explorer API, see
56
- * <a href="http://aws.amazon.com/aws-cost-management/pricing/">Amazon Web Services Cost
57
- * Management Pricing</a>.</p>
58
- */
59
- export declare class CostExplorer extends CostExplorerClient {
40
+ export interface CostExplorer {
60
41
  /**
61
- * @public
62
- * <p>Creates a new cost anomaly detection monitor with the requested type and monitor
63
- * specification. </p>
42
+ * @see {@link CreateAnomalyMonitorCommand}
64
43
  */
65
44
  createAnomalyMonitor(args: CreateAnomalyMonitorCommandInput, options?: __HttpHandlerOptions): Promise<CreateAnomalyMonitorCommandOutput>;
66
45
  createAnomalyMonitor(args: CreateAnomalyMonitorCommandInput, cb: (err: any, data?: CreateAnomalyMonitorCommandOutput) => void): void;
67
46
  createAnomalyMonitor(args: CreateAnomalyMonitorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAnomalyMonitorCommandOutput) => void): void;
68
47
  /**
69
- * @public
70
- * <p>Adds an alert subscription to a cost anomaly detection monitor. You can use each
71
- * subscription to define subscribers with email or SNS notifications. Email subscribers can set
72
- * an absolute or percentage threshold and a time frequency for receiving notifications. </p>
48
+ * @see {@link CreateAnomalySubscriptionCommand}
73
49
  */
74
50
  createAnomalySubscription(args: CreateAnomalySubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateAnomalySubscriptionCommandOutput>;
75
51
  createAnomalySubscription(args: CreateAnomalySubscriptionCommandInput, cb: (err: any, data?: CreateAnomalySubscriptionCommandOutput) => void): void;
76
52
  createAnomalySubscription(args: CreateAnomalySubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAnomalySubscriptionCommandOutput) => void): void;
77
53
  /**
78
- * @public
79
- * <p>Creates a new Cost Category with the requested name and rules.</p>
54
+ * @see {@link CreateCostCategoryDefinitionCommand}
80
55
  */
81
56
  createCostCategoryDefinition(args: CreateCostCategoryDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<CreateCostCategoryDefinitionCommandOutput>;
82
57
  createCostCategoryDefinition(args: CreateCostCategoryDefinitionCommandInput, cb: (err: any, data?: CreateCostCategoryDefinitionCommandOutput) => void): void;
83
58
  createCostCategoryDefinition(args: CreateCostCategoryDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCostCategoryDefinitionCommandOutput) => void): void;
84
59
  /**
85
- * @public
86
- * <p>Deletes a cost anomaly monitor. </p>
60
+ * @see {@link DeleteAnomalyMonitorCommand}
87
61
  */
88
62
  deleteAnomalyMonitor(args: DeleteAnomalyMonitorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAnomalyMonitorCommandOutput>;
89
63
  deleteAnomalyMonitor(args: DeleteAnomalyMonitorCommandInput, cb: (err: any, data?: DeleteAnomalyMonitorCommandOutput) => void): void;
90
64
  deleteAnomalyMonitor(args: DeleteAnomalyMonitorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAnomalyMonitorCommandOutput) => void): void;
91
65
  /**
92
- * @public
93
- * <p>Deletes a cost anomaly subscription. </p>
66
+ * @see {@link DeleteAnomalySubscriptionCommand}
94
67
  */
95
68
  deleteAnomalySubscription(args: DeleteAnomalySubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAnomalySubscriptionCommandOutput>;
96
69
  deleteAnomalySubscription(args: DeleteAnomalySubscriptionCommandInput, cb: (err: any, data?: DeleteAnomalySubscriptionCommandOutput) => void): void;
97
70
  deleteAnomalySubscription(args: DeleteAnomalySubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAnomalySubscriptionCommandOutput) => void): void;
98
71
  /**
99
- * @public
100
- * <p>Deletes a Cost Category. Expenses from this month going forward will no longer be
101
- * categorized with this Cost Category.</p>
72
+ * @see {@link DeleteCostCategoryDefinitionCommand}
102
73
  */
103
74
  deleteCostCategoryDefinition(args: DeleteCostCategoryDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCostCategoryDefinitionCommandOutput>;
104
75
  deleteCostCategoryDefinition(args: DeleteCostCategoryDefinitionCommandInput, cb: (err: any, data?: DeleteCostCategoryDefinitionCommandOutput) => void): void;
105
76
  deleteCostCategoryDefinition(args: DeleteCostCategoryDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCostCategoryDefinitionCommandOutput) => void): void;
106
77
  /**
107
- * @public
108
- * <p>Returns the name, Amazon Resource Name (ARN), rules, definition, and effective dates of a
109
- * Cost Category that's defined in the account.</p>
110
- * <p>You have the option to use <code>EffectiveOn</code> to return a Cost Category that's
111
- * active on a specific date. If there's no <code>EffectiveOn</code> specified, you see a Cost
112
- * Category that's effective on the current date. If Cost Category is still effective,
113
- * <code>EffectiveEnd</code> is omitted in the response. </p>
78
+ * @see {@link DescribeCostCategoryDefinitionCommand}
114
79
  */
115
80
  describeCostCategoryDefinition(args: DescribeCostCategoryDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCostCategoryDefinitionCommandOutput>;
116
81
  describeCostCategoryDefinition(args: DescribeCostCategoryDefinitionCommandInput, cb: (err: any, data?: DescribeCostCategoryDefinitionCommandOutput) => void): void;
117
82
  describeCostCategoryDefinition(args: DescribeCostCategoryDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCostCategoryDefinitionCommandOutput) => void): void;
118
83
  /**
119
- * @public
120
- * <p>Retrieves all of the cost anomalies detected on your account during the time period that's
121
- * specified by the <code>DateInterval</code> object. Anomalies are available for up to 90
122
- * days.</p>
84
+ * @see {@link GetAnomaliesCommand}
123
85
  */
124
86
  getAnomalies(args: GetAnomaliesCommandInput, options?: __HttpHandlerOptions): Promise<GetAnomaliesCommandOutput>;
125
87
  getAnomalies(args: GetAnomaliesCommandInput, cb: (err: any, data?: GetAnomaliesCommandOutput) => void): void;
126
88
  getAnomalies(args: GetAnomaliesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAnomaliesCommandOutput) => void): void;
127
89
  /**
128
- * @public
129
- * <p>Retrieves the cost anomaly monitor definitions for your account. You can filter using a
130
- * list of cost anomaly monitor Amazon Resource Names (ARNs). </p>
90
+ * @see {@link GetAnomalyMonitorsCommand}
131
91
  */
132
92
  getAnomalyMonitors(args: GetAnomalyMonitorsCommandInput, options?: __HttpHandlerOptions): Promise<GetAnomalyMonitorsCommandOutput>;
133
93
  getAnomalyMonitors(args: GetAnomalyMonitorsCommandInput, cb: (err: any, data?: GetAnomalyMonitorsCommandOutput) => void): void;
134
94
  getAnomalyMonitors(args: GetAnomalyMonitorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAnomalyMonitorsCommandOutput) => void): void;
135
95
  /**
136
- * @public
137
- * <p>Retrieves the cost anomaly subscription objects for your account. You can filter using a
138
- * list of cost anomaly monitor Amazon Resource Names (ARNs). </p>
96
+ * @see {@link GetAnomalySubscriptionsCommand}
139
97
  */
140
98
  getAnomalySubscriptions(args: GetAnomalySubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<GetAnomalySubscriptionsCommandOutput>;
141
99
  getAnomalySubscriptions(args: GetAnomalySubscriptionsCommandInput, cb: (err: any, data?: GetAnomalySubscriptionsCommandOutput) => void): void;
142
100
  getAnomalySubscriptions(args: GetAnomalySubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAnomalySubscriptionsCommandOutput) => void): void;
143
101
  /**
144
- * @public
145
- * <p>Retrieves cost and usage metrics for your account. You can specify which cost and
146
- * usage-related metric that you want the request to return. For example, you can specify
147
- * <code>BlendedCosts</code> or <code>UsageQuantity</code>. You can also filter and group your
148
- * data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a specific
149
- * time range. For a complete list of valid dimensions, see the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html">GetDimensionValues</a> operation. Management account in an organization in Organizations have access to all member accounts.</p>
150
- * <p>For information about filter limitations, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-limits.html">Quotas and restrictions</a>
151
- * in the <i>Billing and Cost Management User Guide</i>.</p>
102
+ * @see {@link GetCostAndUsageCommand}
152
103
  */
153
104
  getCostAndUsage(args: GetCostAndUsageCommandInput, options?: __HttpHandlerOptions): Promise<GetCostAndUsageCommandOutput>;
154
105
  getCostAndUsage(args: GetCostAndUsageCommandInput, cb: (err: any, data?: GetCostAndUsageCommandOutput) => void): void;
155
106
  getCostAndUsage(args: GetCostAndUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCostAndUsageCommandOutput) => void): void;
156
107
  /**
157
- * @public
158
- * <p>Retrieves cost and usage metrics with resources for your account. You can specify which
159
- * cost and usage-related metric, such as <code>BlendedCosts</code> or
160
- * <code>UsageQuantity</code>, that you want the request to return. You can also filter and group
161
- * your data by various dimensions, such as <code>SERVICE</code> or <code>AZ</code>, in a
162
- * specific time range. For a complete list of valid dimensions, see the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html">GetDimensionValues</a> operation. Management account in an organization in Organizations have access to all member accounts. This API is currently available for the
163
- * Amazon Elastic Compute Cloud – Compute service only.</p>
164
- * <note>
165
- * <p>This is an opt-in only feature. You can enable this feature from the Cost Explorer
166
- * Settings page. For information about how to access the Settings page, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html">Controlling
167
- * Access for Cost Explorer</a> in the <i>Billing and Cost Management User
168
- * Guide</i>.</p>
169
- * </note>
108
+ * @see {@link GetCostAndUsageWithResourcesCommand}
170
109
  */
171
110
  getCostAndUsageWithResources(args: GetCostAndUsageWithResourcesCommandInput, options?: __HttpHandlerOptions): Promise<GetCostAndUsageWithResourcesCommandOutput>;
172
111
  getCostAndUsageWithResources(args: GetCostAndUsageWithResourcesCommandInput, cb: (err: any, data?: GetCostAndUsageWithResourcesCommandOutput) => void): void;
173
112
  getCostAndUsageWithResources(args: GetCostAndUsageWithResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCostAndUsageWithResourcesCommandOutput) => void): void;
174
113
  /**
175
- * @public
176
- * <p>Retrieves an array of Cost Category names and values incurred cost.</p>
177
- * <note>
178
- * <p>If some Cost Category names and values are not associated with any cost, they will not
179
- * be returned by this API.</p>
180
- * </note>
114
+ * @see {@link GetCostCategoriesCommand}
181
115
  */
182
116
  getCostCategories(args: GetCostCategoriesCommandInput, options?: __HttpHandlerOptions): Promise<GetCostCategoriesCommandOutput>;
183
117
  getCostCategories(args: GetCostCategoriesCommandInput, cb: (err: any, data?: GetCostCategoriesCommandOutput) => void): void;
184
118
  getCostCategories(args: GetCostCategoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCostCategoriesCommandOutput) => void): void;
185
119
  /**
186
- * @public
187
- * <p>Retrieves a forecast for how much Amazon Web Services predicts that you will spend over
188
- * the forecast time period that you select, based on your past costs. </p>
120
+ * @see {@link GetCostForecastCommand}
189
121
  */
190
122
  getCostForecast(args: GetCostForecastCommandInput, options?: __HttpHandlerOptions): Promise<GetCostForecastCommandOutput>;
191
123
  getCostForecast(args: GetCostForecastCommandInput, cb: (err: any, data?: GetCostForecastCommandOutput) => void): void;
192
124
  getCostForecast(args: GetCostForecastCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCostForecastCommandOutput) => void): void;
193
125
  /**
194
- * @public
195
- * <p>Retrieves all available filter values for a specified filter over a period of time. You
196
- * can search the dimension values for an arbitrary string. </p>
126
+ * @see {@link GetDimensionValuesCommand}
197
127
  */
198
128
  getDimensionValues(args: GetDimensionValuesCommandInput, options?: __HttpHandlerOptions): Promise<GetDimensionValuesCommandOutput>;
199
129
  getDimensionValues(args: GetDimensionValuesCommandInput, cb: (err: any, data?: GetDimensionValuesCommandOutput) => void): void;
200
130
  getDimensionValues(args: GetDimensionValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDimensionValuesCommandOutput) => void): void;
201
131
  /**
202
- * @public
203
- * <p>Retrieves the reservation coverage for your account, which you can use to see how much
204
- * of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service,
205
- * or Amazon Redshift usage is covered by a reservation. An organization's management account can
206
- * see the coverage of the associated member accounts. This supports dimensions, Cost Categories,
207
- * and nested expressions. For any time period, you can filter data about reservation usage by
208
- * the following dimensions:</p>
209
- * <ul>
210
- * <li>
211
- * <p>AZ</p>
212
- * </li>
213
- * <li>
214
- * <p>CACHE_ENGINE</p>
215
- * </li>
216
- * <li>
217
- * <p>DATABASE_ENGINE</p>
218
- * </li>
219
- * <li>
220
- * <p>DEPLOYMENT_OPTION</p>
221
- * </li>
222
- * <li>
223
- * <p>INSTANCE_TYPE</p>
224
- * </li>
225
- * <li>
226
- * <p>LINKED_ACCOUNT</p>
227
- * </li>
228
- * <li>
229
- * <p>OPERATING_SYSTEM</p>
230
- * </li>
231
- * <li>
232
- * <p>PLATFORM</p>
233
- * </li>
234
- * <li>
235
- * <p>REGION</p>
236
- * </li>
237
- * <li>
238
- * <p>SERVICE</p>
239
- * </li>
240
- * <li>
241
- * <p>TAG</p>
242
- * </li>
243
- * <li>
244
- * <p>TENANCY</p>
245
- * </li>
246
- * </ul>
247
- * <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code>
248
- * operation. </p>
132
+ * @see {@link GetReservationCoverageCommand}
249
133
  */
250
134
  getReservationCoverage(args: GetReservationCoverageCommandInput, options?: __HttpHandlerOptions): Promise<GetReservationCoverageCommandOutput>;
251
135
  getReservationCoverage(args: GetReservationCoverageCommandInput, cb: (err: any, data?: GetReservationCoverageCommandOutput) => void): void;
252
136
  getReservationCoverage(args: GetReservationCoverageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReservationCoverageCommandOutput) => void): void;
253
137
  /**
254
- * @public
255
- * <p>Gets recommendations for reservation purchases. These recommendations might help you to
256
- * reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared to
257
- * On-Demand pricing.</p>
258
- * <p>Amazon Web Services generates your recommendations by identifying your On-Demand usage
259
- * during a specific time period and collecting your usage into categories that are eligible for
260
- * a reservation. After Amazon Web Services has these categories, it simulates every combination
261
- * of reservations in each category of usage to identify the best number of each type of Reserved
262
- * Instance (RI) to purchase to maximize your estimated savings. </p>
263
- * <p>For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared
264
- * tenancy, and c4 family usage in the US West (Oregon) Region and recommends that you buy
265
- * size-flexible regional reservations to apply to the c4 family usage. Amazon Web Services
266
- * recommends the smallest size instance in an instance family. This makes it easier to purchase
267
- * a size-flexible Reserved Instance (RI). Amazon Web Services also shows the equal number of
268
- * normalized units. This way, you can purchase any instance size that you want. For this
269
- * example, your RI recommendation is for <code>c4.large</code> because that is the smallest size
270
- * instance in the c4 instance family.</p>
138
+ * @see {@link GetReservationPurchaseRecommendationCommand}
271
139
  */
272
140
  getReservationPurchaseRecommendation(args: GetReservationPurchaseRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<GetReservationPurchaseRecommendationCommandOutput>;
273
141
  getReservationPurchaseRecommendation(args: GetReservationPurchaseRecommendationCommandInput, cb: (err: any, data?: GetReservationPurchaseRecommendationCommandOutput) => void): void;
274
142
  getReservationPurchaseRecommendation(args: GetReservationPurchaseRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReservationPurchaseRecommendationCommandOutput) => void): void;
275
143
  /**
276
- * @public
277
- * <p>Retrieves the reservation utilization for your account. Management account in an
278
- * organization have access to member accounts. You can filter data by dimensions in a time
279
- * period. You can use <code>GetDimensionValues</code> to determine the possible dimension
280
- * values. Currently, you can group only by <code>SUBSCRIPTION_ID</code>. </p>
144
+ * @see {@link GetReservationUtilizationCommand}
281
145
  */
282
146
  getReservationUtilization(args: GetReservationUtilizationCommandInput, options?: __HttpHandlerOptions): Promise<GetReservationUtilizationCommandOutput>;
283
147
  getReservationUtilization(args: GetReservationUtilizationCommandInput, cb: (err: any, data?: GetReservationUtilizationCommandOutput) => void): void;
284
148
  getReservationUtilization(args: GetReservationUtilizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReservationUtilizationCommandOutput) => void): void;
285
149
  /**
286
- * @public
287
- * <p>Creates recommendations that help you save cost by identifying idle and underutilized
288
- * Amazon EC2 instances.</p>
289
- * <p>Recommendations are generated to either downsize or terminate instances, along with
290
- * providing savings detail and metrics. For more information about calculation and function, see
291
- * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-rightsizing.html">Optimizing Your Cost with Rightsizing Recommendations</a> in the <i>Billing and Cost Management User Guide</i>.</p>
150
+ * @see {@link GetRightsizingRecommendationCommand}
292
151
  */
293
152
  getRightsizingRecommendation(args: GetRightsizingRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<GetRightsizingRecommendationCommandOutput>;
294
153
  getRightsizingRecommendation(args: GetRightsizingRecommendationCommandInput, cb: (err: any, data?: GetRightsizingRecommendationCommandOutput) => void): void;
295
154
  getRightsizingRecommendation(args: GetRightsizingRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRightsizingRecommendationCommandOutput) => void): void;
296
155
  /**
297
- * @public
298
- * <p>Retrieves the Savings Plans covered for your account. This enables you to see how much of
299
- * your cost is covered by a Savings Plan. An organization’s management account can see the
300
- * coverage of the associated member accounts. This supports dimensions, Cost Categories, and
301
- * nested expressions. For any time period, you can filter data for Savings Plans usage with the
302
- * following dimensions:</p>
303
- * <ul>
304
- * <li>
305
- * <p>
306
- * <code>LINKED_ACCOUNT</code>
307
- * </p>
308
- * </li>
309
- * <li>
310
- * <p>
311
- * <code>REGION</code>
312
- * </p>
313
- * </li>
314
- * <li>
315
- * <p>
316
- * <code>SERVICE</code>
317
- * </p>
318
- * </li>
319
- * <li>
320
- * <p>
321
- * <code>INSTANCE_FAMILY</code>
322
- * </p>
323
- * </li>
324
- * </ul>
325
- * <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code>
326
- * operation.</p>
156
+ * @see {@link GetSavingsPlansCoverageCommand}
327
157
  */
328
158
  getSavingsPlansCoverage(args: GetSavingsPlansCoverageCommandInput, options?: __HttpHandlerOptions): Promise<GetSavingsPlansCoverageCommandOutput>;
329
159
  getSavingsPlansCoverage(args: GetSavingsPlansCoverageCommandInput, cb: (err: any, data?: GetSavingsPlansCoverageCommandOutput) => void): void;
330
160
  getSavingsPlansCoverage(args: GetSavingsPlansCoverageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSavingsPlansCoverageCommandOutput) => void): void;
331
161
  /**
332
- * @public
333
- * <p>Retrieves the Savings Plans recommendations for your account. First use
334
- * <code>StartSavingsPlansPurchaseRecommendationGeneration</code> to generate a new set of
335
- * recommendations, and then use <code>GetSavingsPlansPurchaseRecommendation</code> to retrieve
336
- * them.</p>
162
+ * @see {@link GetSavingsPlansPurchaseRecommendationCommand}
337
163
  */
338
164
  getSavingsPlansPurchaseRecommendation(args: GetSavingsPlansPurchaseRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<GetSavingsPlansPurchaseRecommendationCommandOutput>;
339
165
  getSavingsPlansPurchaseRecommendation(args: GetSavingsPlansPurchaseRecommendationCommandInput, cb: (err: any, data?: GetSavingsPlansPurchaseRecommendationCommandOutput) => void): void;
340
166
  getSavingsPlansPurchaseRecommendation(args: GetSavingsPlansPurchaseRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSavingsPlansPurchaseRecommendationCommandOutput) => void): void;
341
167
  /**
342
- * @public
343
- * <p>Retrieves the Savings Plans utilization for your account across date ranges with daily or
344
- * monthly granularity. Management account in an organization have access to member accounts. You
345
- * can use <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the
346
- * possible dimension values.</p>
347
- * <note>
348
- * <p>You can't group by any dimension values for
349
- * <code>GetSavingsPlansUtilization</code>.</p>
350
- * </note>
168
+ * @see {@link GetSavingsPlansUtilizationCommand}
351
169
  */
352
170
  getSavingsPlansUtilization(args: GetSavingsPlansUtilizationCommandInput, options?: __HttpHandlerOptions): Promise<GetSavingsPlansUtilizationCommandOutput>;
353
171
  getSavingsPlansUtilization(args: GetSavingsPlansUtilizationCommandInput, cb: (err: any, data?: GetSavingsPlansUtilizationCommandOutput) => void): void;
354
172
  getSavingsPlansUtilization(args: GetSavingsPlansUtilizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSavingsPlansUtilizationCommandOutput) => void): void;
355
173
  /**
356
- * @public
357
- * <p>Retrieves attribute data along with aggregate utilization and savings data for a given
358
- * time period. This doesn't support granular or grouped data (daily/monthly) in response. You
359
- * can't retrieve data by dates in a single response similar to
360
- * <code>GetSavingsPlanUtilization</code>, but you have the option to make multiple calls to
361
- * <code>GetSavingsPlanUtilizationDetails</code> by providing individual dates. You can use
362
- * <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the possible
363
- * dimension values.</p>
364
- * <note>
365
- * <p>
366
- * <code>GetSavingsPlanUtilizationDetails</code> internally groups data by
367
- * <code>SavingsPlansArn</code>.</p>
368
- * </note>
174
+ * @see {@link GetSavingsPlansUtilizationDetailsCommand}
369
175
  */
370
176
  getSavingsPlansUtilizationDetails(args: GetSavingsPlansUtilizationDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetSavingsPlansUtilizationDetailsCommandOutput>;
371
177
  getSavingsPlansUtilizationDetails(args: GetSavingsPlansUtilizationDetailsCommandInput, cb: (err: any, data?: GetSavingsPlansUtilizationDetailsCommandOutput) => void): void;
372
178
  getSavingsPlansUtilizationDetails(args: GetSavingsPlansUtilizationDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSavingsPlansUtilizationDetailsCommandOutput) => void): void;
373
179
  /**
374
- * @public
375
- * <p>Queries for available tag keys and tag values for a specified period. You can search
376
- * the tag values for an arbitrary string. </p>
180
+ * @see {@link GetTagsCommand}
377
181
  */
378
182
  getTags(args: GetTagsCommandInput, options?: __HttpHandlerOptions): Promise<GetTagsCommandOutput>;
379
183
  getTags(args: GetTagsCommandInput, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
380
184
  getTags(args: GetTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagsCommandOutput) => void): void;
381
185
  /**
382
- * @public
383
- * <p>Retrieves a forecast for how much Amazon Web Services predicts that you will use
384
- * over the forecast time period that you select, based on your past usage. </p>
186
+ * @see {@link GetUsageForecastCommand}
385
187
  */
386
188
  getUsageForecast(args: GetUsageForecastCommandInput, options?: __HttpHandlerOptions): Promise<GetUsageForecastCommandOutput>;
387
189
  getUsageForecast(args: GetUsageForecastCommandInput, cb: (err: any, data?: GetUsageForecastCommandOutput) => void): void;
388
190
  getUsageForecast(args: GetUsageForecastCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUsageForecastCommandOutput) => void): void;
389
191
  /**
390
- * @public
391
- * <p>Get a list of cost allocation tags. All inputs in the API are optional and serve as
392
- * filters. By default, all cost allocation tags are returned. </p>
192
+ * @see {@link ListCostAllocationTagsCommand}
393
193
  */
394
194
  listCostAllocationTags(args: ListCostAllocationTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListCostAllocationTagsCommandOutput>;
395
195
  listCostAllocationTags(args: ListCostAllocationTagsCommandInput, cb: (err: any, data?: ListCostAllocationTagsCommandOutput) => void): void;
396
196
  listCostAllocationTags(args: ListCostAllocationTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCostAllocationTagsCommandOutput) => void): void;
397
197
  /**
398
- * @public
399
- * <p>Returns the name, Amazon Resource Name (ARN), <code>NumberOfRules</code> and effective
400
- * dates of all Cost Categories defined in the account. You have the option to use
401
- * <code>EffectiveOn</code> to return a list of Cost Categories that were active on a specific
402
- * date. If there is no <code>EffectiveOn</code> specified, you’ll see Cost Categories that are
403
- * effective on the current date. If Cost Category is still effective, <code>EffectiveEnd</code>
404
- * is omitted in the response. <code>ListCostCategoryDefinitions</code> supports pagination. The
405
- * request can have a <code>MaxResults</code> range up to 100.</p>
198
+ * @see {@link ListCostCategoryDefinitionsCommand}
406
199
  */
407
200
  listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListCostCategoryDefinitionsCommandOutput>;
408
201
  listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void): void;
409
202
  listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void): void;
410
203
  /**
411
- * @public
412
- * <p>Retrieves a list of your historical recommendation generations within the past 30
413
- * days.</p>
204
+ * @see {@link ListSavingsPlansPurchaseRecommendationGenerationCommand}
414
205
  */
415
206
  listSavingsPlansPurchaseRecommendationGeneration(args: ListSavingsPlansPurchaseRecommendationGenerationCommandInput, options?: __HttpHandlerOptions): Promise<ListSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
416
207
  listSavingsPlansPurchaseRecommendationGeneration(args: ListSavingsPlansPurchaseRecommendationGenerationCommandInput, cb: (err: any, data?: ListSavingsPlansPurchaseRecommendationGenerationCommandOutput) => void): void;
417
208
  listSavingsPlansPurchaseRecommendationGeneration(args: ListSavingsPlansPurchaseRecommendationGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSavingsPlansPurchaseRecommendationGenerationCommandOutput) => void): void;
418
209
  /**
419
- * @public
420
- * <p>Returns a list of resource tags associated with the resource specified by the Amazon
421
- * Resource Name (ARN). </p>
210
+ * @see {@link ListTagsForResourceCommand}
422
211
  */
423
212
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
424
213
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
425
214
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
426
215
  /**
427
- * @public
428
- * <p>Modifies the feedback property of a given cost anomaly. </p>
216
+ * @see {@link ProvideAnomalyFeedbackCommand}
429
217
  */
430
218
  provideAnomalyFeedback(args: ProvideAnomalyFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<ProvideAnomalyFeedbackCommandOutput>;
431
219
  provideAnomalyFeedback(args: ProvideAnomalyFeedbackCommandInput, cb: (err: any, data?: ProvideAnomalyFeedbackCommandOutput) => void): void;
432
220
  provideAnomalyFeedback(args: ProvideAnomalyFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ProvideAnomalyFeedbackCommandOutput) => void): void;
433
221
  /**
434
- * @public
435
- * <p>Requests a Savings Plans recommendation generation. This enables you to calculate a fresh
436
- * set of Savings Plans recommendations that takes your latest usage data and current Savings
437
- * Plans inventory into account. You can refresh Savings Plans recommendations up to three times
438
- * daily for a consolidated billing family.</p>
439
- * <note>
440
- * <p>
441
- * <code>StartSavingsPlansPurchaseRecommendationGeneration</code> has no request syntax
442
- * because no input parameters are needed to support this operation.</p>
443
- * </note>
222
+ * @see {@link StartSavingsPlansPurchaseRecommendationGenerationCommand}
444
223
  */
445
224
  startSavingsPlansPurchaseRecommendationGeneration(args: StartSavingsPlansPurchaseRecommendationGenerationCommandInput, options?: __HttpHandlerOptions): Promise<StartSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
446
225
  startSavingsPlansPurchaseRecommendationGeneration(args: StartSavingsPlansPurchaseRecommendationGenerationCommandInput, cb: (err: any, data?: StartSavingsPlansPurchaseRecommendationGenerationCommandOutput) => void): void;
447
226
  startSavingsPlansPurchaseRecommendationGeneration(args: StartSavingsPlansPurchaseRecommendationGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSavingsPlansPurchaseRecommendationGenerationCommandOutput) => void): void;
448
227
  /**
449
- * @public
450
- * <p>An API operation for adding one or more tags (key-value pairs) to a resource.</p>
451
- * <p>You can use the <code>TagResource</code> operation with a resource that already has tags.
452
- * If you specify a new tag key for the resource, this tag is appended to the list of tags
453
- * associated with the resource. If you specify a tag key that is already associated with the
454
- * resource, the new tag value you specify replaces the previous value for that tag.</p>
455
- * <p>Although the maximum number of array members is 200, user-tag maximum is 50. The remaining
456
- * are reserved for Amazon Web Services use.</p>
228
+ * @see {@link TagResourceCommand}
457
229
  */
458
230
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
459
231
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
460
232
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
461
233
  /**
462
- * @public
463
- * <p>Removes one or more tags from a resource. Specify only tag keys in your request. Don't
464
- * specify the value. </p>
234
+ * @see {@link UntagResourceCommand}
465
235
  */
466
236
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
467
237
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
468
238
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
469
239
  /**
470
- * @public
471
- * <p>Updates an existing cost anomaly monitor. The changes made are applied going forward, and
472
- * doesn't change anomalies detected in the past. </p>
240
+ * @see {@link UpdateAnomalyMonitorCommand}
473
241
  */
474
242
  updateAnomalyMonitor(args: UpdateAnomalyMonitorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAnomalyMonitorCommandOutput>;
475
243
  updateAnomalyMonitor(args: UpdateAnomalyMonitorCommandInput, cb: (err: any, data?: UpdateAnomalyMonitorCommandOutput) => void): void;
476
244
  updateAnomalyMonitor(args: UpdateAnomalyMonitorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAnomalyMonitorCommandOutput) => void): void;
477
245
  /**
478
- * @public
479
- * <p>Updates an existing cost anomaly monitor subscription. </p>
246
+ * @see {@link UpdateAnomalySubscriptionCommand}
480
247
  */
481
248
  updateAnomalySubscription(args: UpdateAnomalySubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAnomalySubscriptionCommandOutput>;
482
249
  updateAnomalySubscription(args: UpdateAnomalySubscriptionCommandInput, cb: (err: any, data?: UpdateAnomalySubscriptionCommandOutput) => void): void;
483
250
  updateAnomalySubscription(args: UpdateAnomalySubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAnomalySubscriptionCommandOutput) => void): void;
484
251
  /**
485
- * @public
486
- * <p>Updates status for cost allocation tags in bulk, with maximum batch size of 20. If the tag
487
- * status that's updated is the same as the existing tag status, the request doesn't fail.
488
- * Instead, it doesn't have any effect on the tag status (for example, activating the active
489
- * tag). </p>
252
+ * @see {@link UpdateCostAllocationTagsStatusCommand}
490
253
  */
491
254
  updateCostAllocationTagsStatus(args: UpdateCostAllocationTagsStatusCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCostAllocationTagsStatusCommandOutput>;
492
255
  updateCostAllocationTagsStatus(args: UpdateCostAllocationTagsStatusCommandInput, cb: (err: any, data?: UpdateCostAllocationTagsStatusCommandOutput) => void): void;
493
256
  updateCostAllocationTagsStatus(args: UpdateCostAllocationTagsStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCostAllocationTagsStatusCommandOutput) => void): void;
494
257
  /**
495
- * @public
496
- * <p>Updates an existing Cost Category. Changes made to the Cost Category rules will be used to
497
- * categorize the current month’s expenses and future expenses. This won’t change categorization
498
- * for the previous months.</p>
258
+ * @see {@link UpdateCostCategoryDefinitionCommand}
499
259
  */
500
260
  updateCostCategoryDefinition(args: UpdateCostCategoryDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCostCategoryDefinitionCommandOutput>;
501
261
  updateCostCategoryDefinition(args: UpdateCostCategoryDefinitionCommandInput, cb: (err: any, data?: UpdateCostCategoryDefinitionCommandOutput) => void): void;
502
262
  updateCostCategoryDefinition(args: UpdateCostCategoryDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCostCategoryDefinitionCommandOutput) => void): void;
503
263
  }
264
+ /**
265
+ * @public
266
+ * <p>You can use the Cost Explorer API to programmatically query your cost and usage data.
267
+ * You can query for aggregated data such as total monthly costs or total daily usage. You can
268
+ * also query for granular data. This might include the number of daily write operations for
269
+ * Amazon DynamoDB database tables in your production environment. </p>
270
+ * <p>Service Endpoint</p>
271
+ * <p>The Cost Explorer API provides the following endpoint:</p>
272
+ * <ul>
273
+ * <li>
274
+ * <p>
275
+ * <code>https://ce.us-east-1.amazonaws.com</code>
276
+ * </p>
277
+ * </li>
278
+ * </ul>
279
+ * <p>For information about the costs that are associated with the Cost Explorer API, see
280
+ * <a href="http://aws.amazon.com/aws-cost-management/pricing/">Amazon Web Services Cost
281
+ * Management Pricing</a>.</p>
282
+ */
283
+ export declare class CostExplorer extends CostExplorerClient implements CostExplorer {
284
+ }
@@ -148,7 +148,7 @@ import {
148
148
  UpdateCostCategoryDefinitionCommandOutput,
149
149
  } from "./commands/UpdateCostCategoryDefinitionCommand";
150
150
  import { CostExplorerClient } from "./CostExplorerClient";
151
- export declare class CostExplorer extends CostExplorerClient {
151
+ export interface CostExplorer {
152
152
  createAnomalyMonitor(
153
153
  args: CreateAnomalyMonitorCommandInput,
154
154
  options?: __HttpHandlerOptions
@@ -661,3 +661,6 @@ export declare class CostExplorer extends CostExplorerClient {
661
661
  cb: (err: any, data?: UpdateCostCategoryDefinitionCommandOutput) => void
662
662
  ): void;
663
663
  }
664
+ export declare class CostExplorer
665
+ extends CostExplorerClient
666
+ implements CostExplorer {}
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.312.0",
4
+ "version": "3.316.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.312.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.310.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.310.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",