@aws-sdk/client-cost-explorer 3.1147.0 → 3.1149.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 (41) hide show
  1. package/dist-cjs/index.js +31 -5
  2. package/dist-es/models/CostExplorerServiceException.js +1 -0
  3. package/dist-es/models/enums.js +2 -0
  4. package/dist-es/models/errors.js +15 -0
  5. package/dist-es/schemas/schemas_0.js +12 -4
  6. package/dist-types/commands/CreateAnomalyMonitorCommand.d.ts +19 -5
  7. package/dist-types/commands/CreateAnomalySubscriptionCommand.d.ts +19 -5
  8. package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +19 -5
  9. package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +19 -5
  10. package/dist-types/commands/GetAnomalyMonitorsCommand.d.ts +19 -5
  11. package/dist-types/commands/GetAnomalySubscriptionsCommand.d.ts +19 -5
  12. package/dist-types/commands/GetCostAndUsageCommand.d.ts +21 -7
  13. package/dist-types/commands/GetCostAndUsageComparisonsCommand.d.ts +39 -11
  14. package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +21 -7
  15. package/dist-types/commands/GetCostCategoriesCommand.d.ts +19 -5
  16. package/dist-types/commands/GetCostComparisonDriversCommand.d.ts +39 -11
  17. package/dist-types/commands/GetCostForecastCommand.d.ts +19 -5
  18. package/dist-types/commands/GetDimensionValuesCommand.d.ts +21 -6
  19. package/dist-types/commands/GetReservationCoverageCommand.d.ts +20 -6
  20. package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +19 -5
  21. package/dist-types/commands/GetReservationUtilizationCommand.d.ts +20 -6
  22. package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +19 -5
  23. package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +20 -6
  24. package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +19 -5
  25. package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +19 -5
  26. package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +19 -5
  27. package/dist-types/commands/GetTagsCommand.d.ts +19 -5
  28. package/dist-types/commands/GetUsageForecastCommand.d.ts +19 -5
  29. package/dist-types/commands/UpdateAnomalySubscriptionCommand.d.ts +19 -5
  30. package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +19 -5
  31. package/dist-types/models/CostExplorerServiceException.d.ts +1 -0
  32. package/dist-types/models/enums.d.ts +2 -0
  33. package/dist-types/models/errors.d.ts +15 -0
  34. package/dist-types/models/models_0.d.ts +374 -41
  35. package/dist-types/schemas/schemas_0.d.ts +1 -0
  36. package/dist-types/ts3.4/models/CostExplorerServiceException.d.ts +1 -0
  37. package/dist-types/ts3.4/models/enums.d.ts +2 -0
  38. package/dist-types/ts3.4/models/errors.d.ts +15 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +7 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  41. package/package.json +4 -4
@@ -149,6 +149,7 @@ export declare var MemoryDBInstanceDetails$: StaticStructureSchema;
149
149
  export declare var MetricValue$: StaticStructureSchema;
150
150
  export declare var ModifyRecommendationDetail$: StaticStructureSchema;
151
151
  export declare var NetworkResourceUtilization$: StaticStructureSchema;
152
+ export declare var ProductAttributeValues$: StaticStructureSchema;
152
153
  export declare var ProvideAnomalyFeedbackRequest$: StaticStructureSchema;
153
154
  export declare var ProvideAnomalyFeedbackResponse$: StaticStructureSchema;
154
155
  export declare var RDSInstanceDetails$: StaticStructureSchema;
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class CostExplorerServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -90,6 +90,7 @@ export declare const Dimension: {
90
90
  readonly PAYER_ACCOUNT: "PAYER_ACCOUNT";
91
91
  readonly PAYMENT_OPTION: "PAYMENT_OPTION";
92
92
  readonly PLATFORM: "PLATFORM";
93
+ readonly PRODUCT_ATTRIBUTE: "PRODUCT_ATTRIBUTE";
93
94
  readonly PURCHASE_TYPE: "PURCHASE_TYPE";
94
95
  readonly RECORD_TYPE: "RECORD_TYPE";
95
96
  readonly REGION: "REGION";
@@ -191,6 +192,7 @@ export type Granularity = (typeof Granularity)[keyof typeof Granularity];
191
192
  export declare const GroupDefinitionType: {
192
193
  readonly COST_CATEGORY: "COST_CATEGORY";
193
194
  readonly DIMENSION: "DIMENSION";
195
+ readonly PRODUCT_ATTRIBUTE: "PRODUCT_ATTRIBUTE";
194
196
  readonly TAG: "TAG";
195
197
  };
196
198
  export type GroupDefinitionType = (typeof GroupDefinitionType)[keyof typeof GroupDefinitionType];
@@ -1,36 +1,42 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { CostExplorerServiceException as __BaseException } from "./CostExplorerServiceException";
3
3
  export declare class AnalysisNotFoundException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "AnalysisNotFoundException";
5
6
  readonly $fault: "client";
6
7
  Message?: string | undefined;
7
8
  constructor(opts: __ExceptionOptionType<AnalysisNotFoundException, __BaseException>);
8
9
  }
9
10
  export declare class LimitExceededException extends __BaseException {
11
+ static readonly shapeId: string;
10
12
  readonly name: "LimitExceededException";
11
13
  readonly $fault: "client";
12
14
  Message?: string | undefined;
13
15
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
14
16
  }
15
17
  export declare class UnknownMonitorException extends __BaseException {
18
+ static readonly shapeId: string;
16
19
  readonly name: "UnknownMonitorException";
17
20
  readonly $fault: "client";
18
21
  Message?: string | undefined;
19
22
  constructor(opts: __ExceptionOptionType<UnknownMonitorException, __BaseException>);
20
23
  }
21
24
  export declare class ServiceQuotaExceededException extends __BaseException {
25
+ static readonly shapeId: string;
22
26
  readonly name: "ServiceQuotaExceededException";
23
27
  readonly $fault: "client";
24
28
  Message?: string | undefined;
25
29
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
26
30
  }
27
31
  export declare class UnknownSubscriptionException extends __BaseException {
32
+ static readonly shapeId: string;
28
33
  readonly name: "UnknownSubscriptionException";
29
34
  readonly $fault: "client";
30
35
  Message?: string | undefined;
31
36
  constructor(opts: __ExceptionOptionType<UnknownSubscriptionException, __BaseException>);
32
37
  }
33
38
  export declare class ResourceNotFoundException extends __BaseException {
39
+ static readonly shapeId: string;
34
40
  readonly name: "ResourceNotFoundException";
35
41
  readonly $fault: "client";
36
42
  Message?: string | undefined;
@@ -38,54 +44,63 @@ export declare class ResourceNotFoundException extends __BaseException {
38
44
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
39
45
  }
40
46
  export declare class InvalidNextTokenException extends __BaseException {
47
+ static readonly shapeId: string;
41
48
  readonly name: "InvalidNextTokenException";
42
49
  readonly $fault: "client";
43
50
  Message?: string | undefined;
44
51
  constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
45
52
  }
46
53
  export declare class DataUnavailableException extends __BaseException {
54
+ static readonly shapeId: string;
47
55
  readonly name: "DataUnavailableException";
48
56
  readonly $fault: "client";
49
57
  Message?: string | undefined;
50
58
  constructor(opts: __ExceptionOptionType<DataUnavailableException, __BaseException>);
51
59
  }
52
60
  export declare class BillExpirationException extends __BaseException {
61
+ static readonly shapeId: string;
53
62
  readonly name: "BillExpirationException";
54
63
  readonly $fault: "client";
55
64
  Message?: string | undefined;
56
65
  constructor(opts: __ExceptionOptionType<BillExpirationException, __BaseException>);
57
66
  }
58
67
  export declare class BillingViewHealthStatusException extends __BaseException {
68
+ static readonly shapeId: string;
59
69
  readonly name: "BillingViewHealthStatusException";
60
70
  readonly $fault: "client";
61
71
  Message?: string | undefined;
62
72
  constructor(opts: __ExceptionOptionType<BillingViewHealthStatusException, __BaseException>);
63
73
  }
64
74
  export declare class RequestChangedException extends __BaseException {
75
+ static readonly shapeId: string;
65
76
  readonly name: "RequestChangedException";
66
77
  readonly $fault: "client";
67
78
  Message?: string | undefined;
68
79
  constructor(opts: __ExceptionOptionType<RequestChangedException, __BaseException>);
69
80
  }
70
81
  export declare class UnresolvableUsageUnitException extends __BaseException {
82
+ static readonly shapeId: string;
71
83
  readonly name: "UnresolvableUsageUnitException";
72
84
  readonly $fault: "client";
73
85
  Message?: string | undefined;
74
86
  constructor(opts: __ExceptionOptionType<UnresolvableUsageUnitException, __BaseException>);
75
87
  }
76
88
  export declare class GenerationExistsException extends __BaseException {
89
+ static readonly shapeId: string;
77
90
  readonly name: "GenerationExistsException";
78
91
  readonly $fault: "client";
79
92
  Message?: string | undefined;
80
93
  constructor(opts: __ExceptionOptionType<GenerationExistsException, __BaseException>);
81
94
  }
82
95
  export declare class BackfillLimitExceededException extends __BaseException {
96
+ static readonly shapeId: string;
83
97
  readonly name: "BackfillLimitExceededException";
84
98
  readonly $fault: "client";
85
99
  Message?: string | undefined;
86
100
  constructor(opts: __ExceptionOptionType<BackfillLimitExceededException, __BaseException>);
87
101
  }
88
102
  export declare class TooManyTagsException extends __BaseException {
103
+ static readonly shapeId: string;
89
104
  readonly name: "TooManyTagsException";
90
105
  readonly $fault: "client";
91
106
  Message?: string | undefined;
@@ -155,6 +155,11 @@ export interface DimensionValues {
155
155
  Values?: string[] | undefined;
156
156
  MatchOptions?: MatchOption[] | undefined;
157
157
  }
158
+ export interface ProductAttributeValues {
159
+ Key: string | undefined;
160
+ Values?: string[] | undefined;
161
+ MatchOptions?: MatchOption[] | undefined;
162
+ }
158
163
  export interface TagValues {
159
164
  Key?: string | undefined;
160
165
  Values?: string[] | undefined;
@@ -971,6 +976,7 @@ export interface Expression {
971
976
  Dimensions?: DimensionValues | undefined;
972
977
  Tags?: TagValues | undefined;
973
978
  CostCategories?: CostCategoryValues | undefined;
979
+ ProductAttributes?: ProductAttributeValues | undefined;
974
980
  }
975
981
  export interface AnomalyMonitor {
976
982
  MonitorArn?: string | undefined;
@@ -1068,6 +1074,7 @@ export interface GetDimensionValuesRequest {
1068
1074
  SearchString?: string | undefined;
1069
1075
  TimePeriod: DateInterval | undefined;
1070
1076
  Dimension: Dimension | undefined;
1077
+ DimensionKey?: string | undefined;
1071
1078
  Context?: Context | undefined;
1072
1079
  Filter?: Expression | undefined;
1073
1080
  SortBy?: SortDefinition[] | undefined;
@@ -144,6 +144,7 @@ export declare var MemoryDBInstanceDetails$: StaticStructureSchema;
144
144
  export declare var MetricValue$: StaticStructureSchema;
145
145
  export declare var ModifyRecommendationDetail$: StaticStructureSchema;
146
146
  export declare var NetworkResourceUtilization$: StaticStructureSchema;
147
+ export declare var ProductAttributeValues$: StaticStructureSchema;
147
148
  export declare var ProvideAnomalyFeedbackRequest$: StaticStructureSchema;
148
149
  export declare var ProvideAnomalyFeedbackResponse$: StaticStructureSchema;
149
150
  export declare var RDSInstanceDetails$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cost-explorer",
3
- "version": "3.1147.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Cost Explorer Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cost-explorer",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",