@aws-sdk/client-cost-explorer 3.816.0 → 3.818.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.
Files changed (33) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +148 -0
  3. package/dist-cjs/runtimeConfig.js +4 -1
  4. package/dist-es/CostExplorer.js +4 -0
  5. package/dist-es/commands/GetCostAndUsageComparisonsCommand.js +22 -0
  6. package/dist-es/commands/GetCostComparisonDriversCommand.js +22 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/pagination/GetCostAndUsageComparisonsPaginator.js +4 -0
  9. package/dist-es/pagination/GetCostComparisonDriversPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +2 -0
  11. package/dist-es/protocols/Aws_json1_1.js +104 -0
  12. package/dist-es/runtimeConfig.js +4 -1
  13. package/dist-types/CostExplorer.d.ts +14 -0
  14. package/dist-types/CostExplorerClient.d.ts +4 -2
  15. package/dist-types/commands/GetCostAndUsageComparisonsCommand.d.ts +257 -0
  16. package/dist-types/commands/GetCostComparisonDriversCommand.d.ts +263 -0
  17. package/dist-types/commands/index.d.ts +2 -0
  18. package/dist-types/models/models_0.d.ts +830 -93
  19. package/dist-types/pagination/GetCostAndUsageComparisonsPaginator.d.ts +7 -0
  20. package/dist-types/pagination/GetCostComparisonDriversPaginator.d.ts +7 -0
  21. package/dist-types/pagination/index.d.ts +2 -0
  22. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  23. package/dist-types/ts3.4/CostExplorer.d.ts +34 -0
  24. package/dist-types/ts3.4/CostExplorerClient.d.ts +12 -0
  25. package/dist-types/ts3.4/commands/GetCostAndUsageComparisonsCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/GetCostComparisonDriversCommand.d.ts +51 -0
  27. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +49 -0
  29. package/dist-types/ts3.4/pagination/GetCostAndUsageComparisonsPaginator.d.ts +11 -0
  30. package/dist-types/ts3.4/pagination/GetCostComparisonDriversPaginator.d.ts +11 -0
  31. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  32. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  33. package/package.json +2 -2
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { GetCostAndUsageComparisonsCommandInput, GetCostAndUsageComparisonsCommandOutput } from "../commands/GetCostAndUsageComparisonsCommand";
3
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateGetCostAndUsageComparisons: (config: CostExplorerPaginationConfiguration, input: GetCostAndUsageComparisonsCommandInput, ...rest: any[]) => Paginator<GetCostAndUsageComparisonsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { GetCostComparisonDriversCommandInput, GetCostComparisonDriversCommandOutput } from "../commands/GetCostComparisonDriversCommand";
3
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateGetCostComparisonDrivers: (config: CostExplorerPaginationConfiguration, input: GetCostComparisonDriversCommandInput, ...rest: any[]) => Paginator<GetCostComparisonDriversCommandOutput>;
@@ -1,6 +1,8 @@
1
1
  export * from "./GetAnomaliesPaginator";
2
2
  export * from "./GetAnomalyMonitorsPaginator";
3
3
  export * from "./GetAnomalySubscriptionsPaginator";
4
+ export * from "./GetCostAndUsageComparisonsPaginator";
5
+ export * from "./GetCostComparisonDriversPaginator";
4
6
  export * from "./GetSavingsPlansCoveragePaginator";
5
7
  export * from "./GetSavingsPlansUtilizationDetailsPaginator";
6
8
  export * from "./Interfaces";
@@ -13,8 +13,10 @@ import { GetAnomalySubscriptionsCommandInput, GetAnomalySubscriptionsCommandOutp
13
13
  import { GetApproximateUsageRecordsCommandInput, GetApproximateUsageRecordsCommandOutput } from "../commands/GetApproximateUsageRecordsCommand";
14
14
  import { GetCommitmentPurchaseAnalysisCommandInput, GetCommitmentPurchaseAnalysisCommandOutput } from "../commands/GetCommitmentPurchaseAnalysisCommand";
15
15
  import { GetCostAndUsageCommandInput, GetCostAndUsageCommandOutput } from "../commands/GetCostAndUsageCommand";
16
+ import { GetCostAndUsageComparisonsCommandInput, GetCostAndUsageComparisonsCommandOutput } from "../commands/GetCostAndUsageComparisonsCommand";
16
17
  import { GetCostAndUsageWithResourcesCommandInput, GetCostAndUsageWithResourcesCommandOutput } from "../commands/GetCostAndUsageWithResourcesCommand";
17
18
  import { GetCostCategoriesCommandInput, GetCostCategoriesCommandOutput } from "../commands/GetCostCategoriesCommand";
19
+ import { GetCostComparisonDriversCommandInput, GetCostComparisonDriversCommandOutput } from "../commands/GetCostComparisonDriversCommand";
18
20
  import { GetCostForecastCommandInput, GetCostForecastCommandOutput } from "../commands/GetCostForecastCommand";
19
21
  import { GetDimensionValuesCommandInput, GetDimensionValuesCommandOutput } from "../commands/GetDimensionValuesCommand";
20
22
  import { GetReservationCoverageCommandInput, GetReservationCoverageCommandOutput } from "../commands/GetReservationCoverageCommand";
@@ -96,6 +98,10 @@ export declare const se_GetCommitmentPurchaseAnalysisCommand: (input: GetCommitm
96
98
  * serializeAws_json1_1GetCostAndUsageCommand
97
99
  */
98
100
  export declare const se_GetCostAndUsageCommand: (input: GetCostAndUsageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
101
+ /**
102
+ * serializeAws_json1_1GetCostAndUsageComparisonsCommand
103
+ */
104
+ export declare const se_GetCostAndUsageComparisonsCommand: (input: GetCostAndUsageComparisonsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
99
105
  /**
100
106
  * serializeAws_json1_1GetCostAndUsageWithResourcesCommand
101
107
  */
@@ -104,6 +110,10 @@ export declare const se_GetCostAndUsageWithResourcesCommand: (input: GetCostAndU
104
110
  * serializeAws_json1_1GetCostCategoriesCommand
105
111
  */
106
112
  export declare const se_GetCostCategoriesCommand: (input: GetCostCategoriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
+ /**
114
+ * serializeAws_json1_1GetCostComparisonDriversCommand
115
+ */
116
+ export declare const se_GetCostComparisonDriversCommand: (input: GetCostComparisonDriversCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
107
117
  /**
108
118
  * serializeAws_json1_1GetCostForecastCommand
109
119
  */
@@ -272,6 +282,10 @@ export declare const de_GetCommitmentPurchaseAnalysisCommand: (output: __HttpRes
272
282
  * deserializeAws_json1_1GetCostAndUsageCommand
273
283
  */
274
284
  export declare const de_GetCostAndUsageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCostAndUsageCommandOutput>;
285
+ /**
286
+ * deserializeAws_json1_1GetCostAndUsageComparisonsCommand
287
+ */
288
+ export declare const de_GetCostAndUsageComparisonsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCostAndUsageComparisonsCommandOutput>;
275
289
  /**
276
290
  * deserializeAws_json1_1GetCostAndUsageWithResourcesCommand
277
291
  */
@@ -280,6 +294,10 @@ export declare const de_GetCostAndUsageWithResourcesCommand: (output: __HttpResp
280
294
  * deserializeAws_json1_1GetCostCategoriesCommand
281
295
  */
282
296
  export declare const de_GetCostCategoriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCostCategoriesCommandOutput>;
297
+ /**
298
+ * deserializeAws_json1_1GetCostComparisonDriversCommand
299
+ */
300
+ export declare const de_GetCostComparisonDriversCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCostComparisonDriversCommandOutput>;
283
301
  /**
284
302
  * deserializeAws_json1_1GetCostForecastCommand
285
303
  */
@@ -51,6 +51,10 @@ import {
51
51
  GetCostAndUsageCommandInput,
52
52
  GetCostAndUsageCommandOutput,
53
53
  } from "./commands/GetCostAndUsageCommand";
54
+ import {
55
+ GetCostAndUsageComparisonsCommandInput,
56
+ GetCostAndUsageComparisonsCommandOutput,
57
+ } from "./commands/GetCostAndUsageComparisonsCommand";
54
58
  import {
55
59
  GetCostAndUsageWithResourcesCommandInput,
56
60
  GetCostAndUsageWithResourcesCommandOutput,
@@ -59,6 +63,10 @@ import {
59
63
  GetCostCategoriesCommandInput,
60
64
  GetCostCategoriesCommandOutput,
61
65
  } from "./commands/GetCostCategoriesCommand";
66
+ import {
67
+ GetCostComparisonDriversCommandInput,
68
+ GetCostComparisonDriversCommandOutput,
69
+ } from "./commands/GetCostComparisonDriversCommand";
62
70
  import {
63
71
  GetCostForecastCommandInput,
64
72
  GetCostForecastCommandOutput,
@@ -348,6 +356,19 @@ export interface CostExplorer {
348
356
  options: __HttpHandlerOptions,
349
357
  cb: (err: any, data?: GetCostAndUsageCommandOutput) => void
350
358
  ): void;
359
+ getCostAndUsageComparisons(
360
+ args: GetCostAndUsageComparisonsCommandInput,
361
+ options?: __HttpHandlerOptions
362
+ ): Promise<GetCostAndUsageComparisonsCommandOutput>;
363
+ getCostAndUsageComparisons(
364
+ args: GetCostAndUsageComparisonsCommandInput,
365
+ cb: (err: any, data?: GetCostAndUsageComparisonsCommandOutput) => void
366
+ ): void;
367
+ getCostAndUsageComparisons(
368
+ args: GetCostAndUsageComparisonsCommandInput,
369
+ options: __HttpHandlerOptions,
370
+ cb: (err: any, data?: GetCostAndUsageComparisonsCommandOutput) => void
371
+ ): void;
351
372
  getCostAndUsageWithResources(
352
373
  args: GetCostAndUsageWithResourcesCommandInput,
353
374
  options?: __HttpHandlerOptions
@@ -374,6 +395,19 @@ export interface CostExplorer {
374
395
  options: __HttpHandlerOptions,
375
396
  cb: (err: any, data?: GetCostCategoriesCommandOutput) => void
376
397
  ): void;
398
+ getCostComparisonDrivers(
399
+ args: GetCostComparisonDriversCommandInput,
400
+ options?: __HttpHandlerOptions
401
+ ): Promise<GetCostComparisonDriversCommandOutput>;
402
+ getCostComparisonDrivers(
403
+ args: GetCostComparisonDriversCommandInput,
404
+ cb: (err: any, data?: GetCostComparisonDriversCommandOutput) => void
405
+ ): void;
406
+ getCostComparisonDrivers(
407
+ args: GetCostComparisonDriversCommandInput,
408
+ options: __HttpHandlerOptions,
409
+ cb: (err: any, data?: GetCostComparisonDriversCommandOutput) => void
410
+ ): void;
377
411
  getCostForecast(
378
412
  args: GetCostForecastCommandInput,
379
413
  options?: __HttpHandlerOptions
@@ -97,6 +97,10 @@ import {
97
97
  GetCostAndUsageCommandInput,
98
98
  GetCostAndUsageCommandOutput,
99
99
  } from "./commands/GetCostAndUsageCommand";
100
+ import {
101
+ GetCostAndUsageComparisonsCommandInput,
102
+ GetCostAndUsageComparisonsCommandOutput,
103
+ } from "./commands/GetCostAndUsageComparisonsCommand";
100
104
  import {
101
105
  GetCostAndUsageWithResourcesCommandInput,
102
106
  GetCostAndUsageWithResourcesCommandOutput,
@@ -105,6 +109,10 @@ import {
105
109
  GetCostCategoriesCommandInput,
106
110
  GetCostCategoriesCommandOutput,
107
111
  } from "./commands/GetCostCategoriesCommand";
112
+ import {
113
+ GetCostComparisonDriversCommandInput,
114
+ GetCostComparisonDriversCommandOutput,
115
+ } from "./commands/GetCostComparisonDriversCommand";
108
116
  import {
109
117
  GetCostForecastCommandInput,
110
118
  GetCostForecastCommandOutput,
@@ -242,8 +250,10 @@ export type ServiceInputTypes =
242
250
  | GetApproximateUsageRecordsCommandInput
243
251
  | GetCommitmentPurchaseAnalysisCommandInput
244
252
  | GetCostAndUsageCommandInput
253
+ | GetCostAndUsageComparisonsCommandInput
245
254
  | GetCostAndUsageWithResourcesCommandInput
246
255
  | GetCostCategoriesCommandInput
256
+ | GetCostComparisonDriversCommandInput
247
257
  | GetCostForecastCommandInput
248
258
  | GetDimensionValuesCommandInput
249
259
  | GetReservationCoverageCommandInput
@@ -287,8 +297,10 @@ export type ServiceOutputTypes =
287
297
  | GetApproximateUsageRecordsCommandOutput
288
298
  | GetCommitmentPurchaseAnalysisCommandOutput
289
299
  | GetCostAndUsageCommandOutput
300
+ | GetCostAndUsageComparisonsCommandOutput
290
301
  | GetCostAndUsageWithResourcesCommandOutput
291
302
  | GetCostCategoriesCommandOutput
303
+ | GetCostComparisonDriversCommandOutput
292
304
  | GetCostForecastCommandOutput
293
305
  | GetDimensionValuesCommandOutput
294
306
  | GetReservationCoverageCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CostExplorerClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CostExplorerClient";
8
+ import {
9
+ GetCostAndUsageComparisonsRequest,
10
+ GetCostAndUsageComparisonsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetCostAndUsageComparisonsCommandInput
15
+ extends GetCostAndUsageComparisonsRequest {}
16
+ export interface GetCostAndUsageComparisonsCommandOutput
17
+ extends GetCostAndUsageComparisonsResponse,
18
+ __MetadataBearer {}
19
+ declare const GetCostAndUsageComparisonsCommand_base: {
20
+ new (
21
+ input: GetCostAndUsageComparisonsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetCostAndUsageComparisonsCommandInput,
24
+ GetCostAndUsageComparisonsCommandOutput,
25
+ CostExplorerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetCostAndUsageComparisonsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetCostAndUsageComparisonsCommandInput,
33
+ GetCostAndUsageComparisonsCommandOutput,
34
+ CostExplorerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetCostAndUsageComparisonsCommand extends GetCostAndUsageComparisonsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetCostAndUsageComparisonsRequest;
44
+ output: GetCostAndUsageComparisonsResponse;
45
+ };
46
+ sdk: {
47
+ input: GetCostAndUsageComparisonsCommandInput;
48
+ output: GetCostAndUsageComparisonsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CostExplorerClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CostExplorerClient";
8
+ import {
9
+ GetCostComparisonDriversRequest,
10
+ GetCostComparisonDriversResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetCostComparisonDriversCommandInput
15
+ extends GetCostComparisonDriversRequest {}
16
+ export interface GetCostComparisonDriversCommandOutput
17
+ extends GetCostComparisonDriversResponse,
18
+ __MetadataBearer {}
19
+ declare const GetCostComparisonDriversCommand_base: {
20
+ new (
21
+ input: GetCostComparisonDriversCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetCostComparisonDriversCommandInput,
24
+ GetCostComparisonDriversCommandOutput,
25
+ CostExplorerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetCostComparisonDriversCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetCostComparisonDriversCommandInput,
33
+ GetCostComparisonDriversCommandOutput,
34
+ CostExplorerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetCostComparisonDriversCommand extends GetCostComparisonDriversCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetCostComparisonDriversRequest;
44
+ output: GetCostComparisonDriversResponse;
45
+ };
46
+ sdk: {
47
+ input: GetCostComparisonDriversCommandInput;
48
+ output: GetCostComparisonDriversCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -11,8 +11,10 @@ export * from "./GetAnomalySubscriptionsCommand";
11
11
  export * from "./GetApproximateUsageRecordsCommand";
12
12
  export * from "./GetCommitmentPurchaseAnalysisCommand";
13
13
  export * from "./GetCostAndUsageCommand";
14
+ export * from "./GetCostAndUsageComparisonsCommand";
14
15
  export * from "./GetCostAndUsageWithResourcesCommand";
15
16
  export * from "./GetCostCategoriesCommand";
17
+ export * from "./GetCostComparisonDriversCommand";
16
18
  export * from "./GetCostForecastCommand";
17
19
  export * from "./GetDimensionValuesCommand";
18
20
  export * from "./GetReservationCoverageCommand";
@@ -542,6 +542,12 @@ export declare class RequestChangedException extends __BaseException {
542
542
  opts: __ExceptionOptionType<RequestChangedException, __BaseException>
543
543
  );
544
544
  }
545
+ export interface ComparisonMetricValue {
546
+ BaselineTimePeriodAmount?: string | undefined;
547
+ ComparisonTimePeriodAmount?: string | undefined;
548
+ Difference?: string | undefined;
549
+ Unit?: string | undefined;
550
+ }
545
551
  export interface GetCostAndUsageWithResourcesResponse {
546
552
  NextPageToken?: string | undefined;
547
553
  GroupDefinitions?: GroupDefinition[] | undefined;
@@ -564,6 +570,11 @@ export interface GetCostCategoriesResponse {
564
570
  ReturnSize: number | undefined;
565
571
  TotalSize: number | undefined;
566
572
  }
573
+ export interface CostDriver {
574
+ Type?: string | undefined;
575
+ Name?: string | undefined;
576
+ Metrics?: Record<string, ComparisonMetricValue> | undefined;
577
+ }
567
578
  export declare const Metric: {
568
579
  readonly AMORTIZED_COST: "AMORTIZED_COST";
569
580
  readonly BLENDED_COST: "BLENDED_COST";
@@ -1359,12 +1370,31 @@ export interface AnomalySubscription {
1359
1370
  SubscriptionName: string | undefined;
1360
1371
  ThresholdExpression?: Expression | undefined;
1361
1372
  }
1373
+ export interface CostAndUsageComparison {
1374
+ CostAndUsageSelector?: Expression | undefined;
1375
+ Metrics?: Record<string, ComparisonMetricValue> | undefined;
1376
+ }
1362
1377
  export interface CostCategoryRule {
1363
1378
  Value?: string | undefined;
1364
1379
  Rule?: Expression | undefined;
1365
1380
  InheritedValue?: CostCategoryInheritedValueDimension | undefined;
1366
1381
  Type?: CostCategoryRuleType | undefined;
1367
1382
  }
1383
+ export interface CostComparisonDriver {
1384
+ CostSelector?: Expression | undefined;
1385
+ Metrics?: Record<string, ComparisonMetricValue> | undefined;
1386
+ CostDrivers?: CostDriver[] | undefined;
1387
+ }
1388
+ export interface GetCostAndUsageComparisonsRequest {
1389
+ BillingViewArn?: string | undefined;
1390
+ BaselineTimePeriod: DateInterval | undefined;
1391
+ ComparisonTimePeriod: DateInterval | undefined;
1392
+ MetricForComparison: string | undefined;
1393
+ Filter?: Expression | undefined;
1394
+ GroupBy?: GroupDefinition[] | undefined;
1395
+ MaxResults?: number | undefined;
1396
+ NextPageToken?: string | undefined;
1397
+ }
1368
1398
  export interface GetCostAndUsageRequest {
1369
1399
  TimePeriod: DateInterval | undefined;
1370
1400
  Granularity: Granularity | undefined;
@@ -1393,6 +1423,16 @@ export interface GetCostCategoriesRequest {
1393
1423
  MaxResults?: number | undefined;
1394
1424
  NextPageToken?: string | undefined;
1395
1425
  }
1426
+ export interface GetCostComparisonDriversRequest {
1427
+ BillingViewArn?: string | undefined;
1428
+ BaselineTimePeriod: DateInterval | undefined;
1429
+ ComparisonTimePeriod: DateInterval | undefined;
1430
+ MetricForComparison: string | undefined;
1431
+ Filter?: Expression | undefined;
1432
+ GroupBy?: GroupDefinition[] | undefined;
1433
+ MaxResults?: number | undefined;
1434
+ NextPageToken?: string | undefined;
1435
+ }
1396
1436
  export interface GetCostForecastRequest {
1397
1437
  TimePeriod: DateInterval | undefined;
1398
1438
  Metric: Metric | undefined;
@@ -1547,6 +1587,15 @@ export interface GetAnomalySubscriptionsResponse {
1547
1587
  AnomalySubscriptions: AnomalySubscription[] | undefined;
1548
1588
  NextPageToken?: string | undefined;
1549
1589
  }
1590
+ export interface GetCostAndUsageComparisonsResponse {
1591
+ CostAndUsageComparisons?: CostAndUsageComparison[] | undefined;
1592
+ TotalCostAndUsage?: Record<string, ComparisonMetricValue> | undefined;
1593
+ NextPageToken?: string | undefined;
1594
+ }
1595
+ export interface GetCostComparisonDriversResponse {
1596
+ CostComparisonDrivers?: CostComparisonDriver[] | undefined;
1597
+ NextPageToken?: string | undefined;
1598
+ }
1550
1599
  export interface UpdateCostCategoryDefinitionRequest {
1551
1600
  CostCategoryArn: string | undefined;
1552
1601
  EffectiveStart?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetCostAndUsageComparisonsCommandInput,
4
+ GetCostAndUsageComparisonsCommandOutput,
5
+ } from "../commands/GetCostAndUsageComparisonsCommand";
6
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetCostAndUsageComparisons: (
8
+ config: CostExplorerPaginationConfiguration,
9
+ input: GetCostAndUsageComparisonsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetCostAndUsageComparisonsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetCostComparisonDriversCommandInput,
4
+ GetCostComparisonDriversCommandOutput,
5
+ } from "../commands/GetCostComparisonDriversCommand";
6
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetCostComparisonDrivers: (
8
+ config: CostExplorerPaginationConfiguration,
9
+ input: GetCostComparisonDriversCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetCostComparisonDriversCommandOutput>;
@@ -1,6 +1,8 @@
1
1
  export * from "./GetAnomaliesPaginator";
2
2
  export * from "./GetAnomalyMonitorsPaginator";
3
3
  export * from "./GetAnomalySubscriptionsPaginator";
4
+ export * from "./GetCostAndUsageComparisonsPaginator";
5
+ export * from "./GetCostComparisonDriversPaginator";
4
6
  export * from "./GetSavingsPlansCoveragePaginator";
5
7
  export * from "./GetSavingsPlansUtilizationDetailsPaginator";
6
8
  export * from "./Interfaces";
@@ -55,6 +55,10 @@ import {
55
55
  GetCostAndUsageCommandInput,
56
56
  GetCostAndUsageCommandOutput,
57
57
  } from "../commands/GetCostAndUsageCommand";
58
+ import {
59
+ GetCostAndUsageComparisonsCommandInput,
60
+ GetCostAndUsageComparisonsCommandOutput,
61
+ } from "../commands/GetCostAndUsageComparisonsCommand";
58
62
  import {
59
63
  GetCostAndUsageWithResourcesCommandInput,
60
64
  GetCostAndUsageWithResourcesCommandOutput,
@@ -63,6 +67,10 @@ import {
63
67
  GetCostCategoriesCommandInput,
64
68
  GetCostCategoriesCommandOutput,
65
69
  } from "../commands/GetCostCategoriesCommand";
70
+ import {
71
+ GetCostComparisonDriversCommandInput,
72
+ GetCostComparisonDriversCommandOutput,
73
+ } from "../commands/GetCostComparisonDriversCommand";
66
74
  import {
67
75
  GetCostForecastCommandInput,
68
76
  GetCostForecastCommandOutput,
@@ -231,6 +239,10 @@ export declare const se_GetCostAndUsageCommand: (
231
239
  input: GetCostAndUsageCommandInput,
232
240
  context: __SerdeContext
233
241
  ) => Promise<__HttpRequest>;
242
+ export declare const se_GetCostAndUsageComparisonsCommand: (
243
+ input: GetCostAndUsageComparisonsCommandInput,
244
+ context: __SerdeContext
245
+ ) => Promise<__HttpRequest>;
234
246
  export declare const se_GetCostAndUsageWithResourcesCommand: (
235
247
  input: GetCostAndUsageWithResourcesCommandInput,
236
248
  context: __SerdeContext
@@ -239,6 +251,10 @@ export declare const se_GetCostCategoriesCommand: (
239
251
  input: GetCostCategoriesCommandInput,
240
252
  context: __SerdeContext
241
253
  ) => Promise<__HttpRequest>;
254
+ export declare const se_GetCostComparisonDriversCommand: (
255
+ input: GetCostComparisonDriversCommandInput,
256
+ context: __SerdeContext
257
+ ) => Promise<__HttpRequest>;
242
258
  export declare const se_GetCostForecastCommand: (
243
259
  input: GetCostForecastCommandInput,
244
260
  context: __SerdeContext
@@ -407,6 +423,10 @@ export declare const de_GetCostAndUsageCommand: (
407
423
  output: __HttpResponse,
408
424
  context: __SerdeContext
409
425
  ) => Promise<GetCostAndUsageCommandOutput>;
426
+ export declare const de_GetCostAndUsageComparisonsCommand: (
427
+ output: __HttpResponse,
428
+ context: __SerdeContext
429
+ ) => Promise<GetCostAndUsageComparisonsCommandOutput>;
410
430
  export declare const de_GetCostAndUsageWithResourcesCommand: (
411
431
  output: __HttpResponse,
412
432
  context: __SerdeContext
@@ -415,6 +435,10 @@ export declare const de_GetCostCategoriesCommand: (
415
435
  output: __HttpResponse,
416
436
  context: __SerdeContext
417
437
  ) => Promise<GetCostCategoriesCommandOutput>;
438
+ export declare const de_GetCostComparisonDriversCommand: (
439
+ output: __HttpResponse,
440
+ context: __SerdeContext
441
+ ) => Promise<GetCostComparisonDriversCommandOutput>;
418
442
  export declare const de_GetCostForecastCommand: (
419
443
  output: __HttpResponse,
420
444
  context: __SerdeContext
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.816.0",
4
+ "version": "3.818.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cost-explorer",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.816.0",
24
- "@aws-sdk/credential-provider-node": "3.816.0",
24
+ "@aws-sdk/credential-provider-node": "3.817.0",
25
25
  "@aws-sdk/middleware-host-header": "3.804.0",
26
26
  "@aws-sdk/middleware-logger": "3.804.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.804.0",