@aws-sdk/client-cost-explorer 3.229.0 → 3.231.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.
@@ -16,6 +16,9 @@ export declare enum AnomalyFeedbackType {
16
16
  export interface Impact {
17
17
  MaxImpact: number | undefined;
18
18
  TotalImpact?: number;
19
+ TotalActualSpend?: number;
20
+ TotalExpectedSpend?: number;
21
+ TotalImpactPercentage?: number;
19
22
  }
20
23
  export interface RootCause {
21
24
  Service?: string;
@@ -49,6 +52,7 @@ export declare enum MatchOption {
49
52
  CONTAINS = "CONTAINS",
50
53
  ENDS_WITH = "ENDS_WITH",
51
54
  EQUALS = "EQUALS",
55
+ GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL",
52
56
  STARTS_WITH = "STARTS_WITH",
53
57
  }
54
58
  export interface CostCategoryValues {
@@ -59,6 +63,8 @@ export interface CostCategoryValues {
59
63
  export declare enum Dimension {
60
64
  AGREEMENT_END_DATE_TIME_AFTER = "AGREEMENT_END_DATE_TIME_AFTER",
61
65
  AGREEMENT_END_DATE_TIME_BEFORE = "AGREEMENT_END_DATE_TIME_BEFORE",
66
+ ANOMALY_TOTAL_IMPACT_ABSOLUTE = "ANOMALY_TOTAL_IMPACT_ABSOLUTE",
67
+ ANOMALY_TOTAL_IMPACT_PERCENTAGE = "ANOMALY_TOTAL_IMPACT_PERCENTAGE",
62
68
  AZ = "AZ",
63
69
  BILLING_ENTITY = "BILLING_ENTITY",
64
70
  CACHE_ENGINE = "CACHE_ENGINE",
@@ -122,15 +128,6 @@ export interface Subscriber {
122
128
  Type?: SubscriberType | string;
123
129
  Status?: SubscriberStatus | string;
124
130
  }
125
- export interface AnomalySubscription {
126
- SubscriptionArn?: string;
127
- AccountId?: string;
128
- MonitorArnList: string[] | undefined;
129
- Subscribers: Subscriber[] | undefined;
130
- Threshold: number | undefined;
131
- Frequency: AnomalySubscriptionFrequency | string | undefined;
132
- SubscriptionName: string | undefined;
133
- }
134
131
  export interface ResourceTag {
135
132
  Key: string | undefined;
136
133
  Value: string | undefined;
@@ -146,10 +143,6 @@ export declare class LimitExceededException extends __BaseException {
146
143
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
147
144
  );
148
145
  }
149
- export interface CreateAnomalySubscriptionRequest {
150
- AnomalySubscription: AnomalySubscription | undefined;
151
- ResourceTags?: ResourceTag[];
152
- }
153
146
  export interface CreateAnomalySubscriptionResponse {
154
147
  SubscriptionArn: string | undefined;
155
148
  }
@@ -297,10 +290,6 @@ export interface GetAnomalySubscriptionsRequest {
297
290
  NextPageToken?: string;
298
291
  MaxResults?: number;
299
292
  }
300
- export interface GetAnomalySubscriptionsResponse {
301
- AnomalySubscriptions: AnomalySubscription[] | undefined;
302
- NextPageToken?: string;
303
- }
304
293
  export declare class BillExpirationException extends __BaseException {
305
294
  readonly name: "BillExpirationException";
306
295
  readonly $fault: "client";
@@ -1004,14 +993,6 @@ export interface UpdateAnomalyMonitorRequest {
1004
993
  export interface UpdateAnomalyMonitorResponse {
1005
994
  MonitorArn: string | undefined;
1006
995
  }
1007
- export interface UpdateAnomalySubscriptionRequest {
1008
- SubscriptionArn: string | undefined;
1009
- Threshold?: number;
1010
- Frequency?: AnomalySubscriptionFrequency | string;
1011
- MonitorArnList?: string[];
1012
- Subscribers?: Subscriber[];
1013
- SubscriptionName?: string;
1014
- }
1015
996
  export interface UpdateAnomalySubscriptionResponse {
1016
997
  SubscriptionArn: string | undefined;
1017
998
  }
@@ -1053,6 +1034,16 @@ export interface AnomalyMonitor {
1053
1034
  MonitorSpecification?: Expression;
1054
1035
  DimensionalValueCount?: number;
1055
1036
  }
1037
+ export interface AnomalySubscription {
1038
+ SubscriptionArn?: string;
1039
+ AccountId?: string;
1040
+ MonitorArnList: string[] | undefined;
1041
+ Subscribers: Subscriber[] | undefined;
1042
+ Threshold?: number;
1043
+ Frequency: AnomalySubscriptionFrequency | string | undefined;
1044
+ SubscriptionName: string | undefined;
1045
+ ThresholdExpression?: Expression;
1046
+ }
1056
1047
  export interface CostCategoryRule {
1057
1048
  Value?: string;
1058
1049
  Rule?: Expression;
@@ -1189,10 +1180,23 @@ export interface GetUsageForecastRequest {
1189
1180
  Filter?: Expression;
1190
1181
  PredictionIntervalLevel?: number;
1191
1182
  }
1183
+ export interface UpdateAnomalySubscriptionRequest {
1184
+ SubscriptionArn: string | undefined;
1185
+ Threshold?: number;
1186
+ Frequency?: AnomalySubscriptionFrequency | string;
1187
+ MonitorArnList?: string[];
1188
+ Subscribers?: Subscriber[];
1189
+ SubscriptionName?: string;
1190
+ ThresholdExpression?: Expression;
1191
+ }
1192
1192
  export interface CreateAnomalyMonitorRequest {
1193
1193
  AnomalyMonitor: AnomalyMonitor | undefined;
1194
1194
  ResourceTags?: ResourceTag[];
1195
1195
  }
1196
+ export interface CreateAnomalySubscriptionRequest {
1197
+ AnomalySubscription: AnomalySubscription | undefined;
1198
+ ResourceTags?: ResourceTag[];
1199
+ }
1196
1200
  export interface CostCategory {
1197
1201
  CostCategoryArn: string | undefined;
1198
1202
  EffectiveStart: string | undefined;
@@ -1217,6 +1221,10 @@ export interface GetAnomalyMonitorsResponse {
1217
1221
  AnomalyMonitors: AnomalyMonitor[] | undefined;
1218
1222
  NextPageToken?: string;
1219
1223
  }
1224
+ export interface GetAnomalySubscriptionsResponse {
1225
+ AnomalySubscriptions: AnomalySubscription[] | undefined;
1226
+ NextPageToken?: string;
1227
+ }
1220
1228
  export interface UpdateCostCategoryDefinitionRequest {
1221
1229
  CostCategoryArn: string | undefined;
1222
1230
  EffectiveStart?: string;
@@ -1243,16 +1251,10 @@ export declare const DimensionValuesFilterSensitiveLog: (
1243
1251
  ) => any;
1244
1252
  export declare const TagValuesFilterSensitiveLog: (obj: TagValues) => any;
1245
1253
  export declare const SubscriberFilterSensitiveLog: (obj: Subscriber) => any;
1246
- export declare const AnomalySubscriptionFilterSensitiveLog: (
1247
- obj: AnomalySubscription
1248
- ) => any;
1249
1254
  export declare const ResourceTagFilterSensitiveLog: (obj: ResourceTag) => any;
1250
1255
  export declare const CreateAnomalyMonitorResponseFilterSensitiveLog: (
1251
1256
  obj: CreateAnomalyMonitorResponse
1252
1257
  ) => any;
1253
- export declare const CreateAnomalySubscriptionRequestFilterSensitiveLog: (
1254
- obj: CreateAnomalySubscriptionRequest
1255
- ) => any;
1256
1258
  export declare const CreateAnomalySubscriptionResponseFilterSensitiveLog: (
1257
1259
  obj: CreateAnomalySubscriptionResponse
1258
1260
  ) => any;
@@ -1307,9 +1309,6 @@ export declare const GetAnomalyMonitorsRequestFilterSensitiveLog: (
1307
1309
  export declare const GetAnomalySubscriptionsRequestFilterSensitiveLog: (
1308
1310
  obj: GetAnomalySubscriptionsRequest
1309
1311
  ) => any;
1310
- export declare const GetAnomalySubscriptionsResponseFilterSensitiveLog: (
1311
- obj: GetAnomalySubscriptionsResponse
1312
- ) => any;
1313
1312
  export declare const GroupDefinitionFilterSensitiveLog: (
1314
1313
  obj: GroupDefinition
1315
1314
  ) => any;
@@ -1577,9 +1576,6 @@ export declare const UpdateAnomalyMonitorRequestFilterSensitiveLog: (
1577
1576
  export declare const UpdateAnomalyMonitorResponseFilterSensitiveLog: (
1578
1577
  obj: UpdateAnomalyMonitorResponse
1579
1578
  ) => any;
1580
- export declare const UpdateAnomalySubscriptionRequestFilterSensitiveLog: (
1581
- obj: UpdateAnomalySubscriptionRequest
1582
- ) => any;
1583
1579
  export declare const UpdateAnomalySubscriptionResponseFilterSensitiveLog: (
1584
1580
  obj: UpdateAnomalySubscriptionResponse
1585
1581
  ) => any;
@@ -1602,6 +1598,9 @@ export declare const ExpressionFilterSensitiveLog: (obj: Expression) => any;
1602
1598
  export declare const AnomalyMonitorFilterSensitiveLog: (
1603
1599
  obj: AnomalyMonitor
1604
1600
  ) => any;
1601
+ export declare const AnomalySubscriptionFilterSensitiveLog: (
1602
+ obj: AnomalySubscription
1603
+ ) => any;
1605
1604
  export declare const CostCategoryRuleFilterSensitiveLog: (
1606
1605
  obj: CostCategoryRule
1607
1606
  ) => any;
@@ -1650,9 +1649,15 @@ export declare const GetTagsRequestFilterSensitiveLog: (
1650
1649
  export declare const GetUsageForecastRequestFilterSensitiveLog: (
1651
1650
  obj: GetUsageForecastRequest
1652
1651
  ) => any;
1652
+ export declare const UpdateAnomalySubscriptionRequestFilterSensitiveLog: (
1653
+ obj: UpdateAnomalySubscriptionRequest
1654
+ ) => any;
1653
1655
  export declare const CreateAnomalyMonitorRequestFilterSensitiveLog: (
1654
1656
  obj: CreateAnomalyMonitorRequest
1655
1657
  ) => any;
1658
+ export declare const CreateAnomalySubscriptionRequestFilterSensitiveLog: (
1659
+ obj: CreateAnomalySubscriptionRequest
1660
+ ) => any;
1656
1661
  export declare const CostCategoryFilterSensitiveLog: (obj: CostCategory) => any;
1657
1662
  export declare const CreateCostCategoryDefinitionRequestFilterSensitiveLog: (
1658
1663
  obj: CreateCostCategoryDefinitionRequest
@@ -1660,6 +1665,9 @@ export declare const CreateCostCategoryDefinitionRequestFilterSensitiveLog: (
1660
1665
  export declare const GetAnomalyMonitorsResponseFilterSensitiveLog: (
1661
1666
  obj: GetAnomalyMonitorsResponse
1662
1667
  ) => any;
1668
+ export declare const GetAnomalySubscriptionsResponseFilterSensitiveLog: (
1669
+ obj: GetAnomalySubscriptionsResponse
1670
+ ) => any;
1663
1671
  export declare const UpdateCostCategoryDefinitionRequestFilterSensitiveLog: (
1664
1672
  obj: UpdateCostCategoryDefinitionRequest
1665
1673
  ) => any;
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.229.0",
4
+ "version": "3.231.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",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.229.0",
23
- "@aws-sdk/config-resolver": "3.226.0",
24
- "@aws-sdk/credential-provider-node": "3.229.0",
22
+ "@aws-sdk/client-sts": "3.231.0",
23
+ "@aws-sdk/config-resolver": "3.231.0",
24
+ "@aws-sdk/credential-provider-node": "3.231.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.226.0",
26
26
  "@aws-sdk/hash-node": "3.226.0",
27
27
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -45,7 +45,7 @@
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
47
  "@aws-sdk/util-defaults-mode-browser": "3.226.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.226.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.231.0",
49
49
  "@aws-sdk/util-endpoints": "3.226.0",
50
50
  "@aws-sdk/util-retry": "3.229.0",
51
51
  "@aws-sdk/util-user-agent-browser": "3.226.0",