@aws-sdk/client-cost-explorer 3.100.0 → 3.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-cost-explorer
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class CostExplorerClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var CostExplorerClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -1032,9 +1032,7 @@ export interface DimensionValuesWithAttributes {
|
|
|
1032
1032
|
/**
|
|
1033
1033
|
* <p>The attribute that applies to a specific <code>Dimension</code>.</p>
|
|
1034
1034
|
*/
|
|
1035
|
-
Attributes?:
|
|
1036
|
-
[key: string]: string;
|
|
1037
|
-
};
|
|
1035
|
+
Attributes?: Record<string, string>;
|
|
1038
1036
|
}
|
|
1039
1037
|
export declare namespace DimensionValuesWithAttributes {
|
|
1040
1038
|
/**
|
|
@@ -1072,9 +1070,7 @@ export interface Group {
|
|
|
1072
1070
|
/**
|
|
1073
1071
|
* <p>The metrics that are included in this group.</p>
|
|
1074
1072
|
*/
|
|
1075
|
-
Metrics?:
|
|
1076
|
-
[key: string]: MetricValue;
|
|
1077
|
-
};
|
|
1073
|
+
Metrics?: Record<string, MetricValue>;
|
|
1078
1074
|
}
|
|
1079
1075
|
export declare namespace Group {
|
|
1080
1076
|
/**
|
|
@@ -1093,9 +1089,7 @@ export interface ResultByTime {
|
|
|
1093
1089
|
/**
|
|
1094
1090
|
* <p>The total amount of cost or usage accrued during the time period.</p>
|
|
1095
1091
|
*/
|
|
1096
|
-
Total?:
|
|
1097
|
-
[key: string]: MetricValue;
|
|
1098
|
-
};
|
|
1092
|
+
Total?: Record<string, MetricValue>;
|
|
1099
1093
|
/**
|
|
1100
1094
|
* <p>The groups that this time period includes.</p>
|
|
1101
1095
|
*/
|
|
@@ -1525,9 +1519,7 @@ export interface ReservationCoverageGroup {
|
|
|
1525
1519
|
/**
|
|
1526
1520
|
* <p>The attributes for this group of reservations.</p>
|
|
1527
1521
|
*/
|
|
1528
|
-
Attributes?:
|
|
1529
|
-
[key: string]: string;
|
|
1530
|
-
};
|
|
1522
|
+
Attributes?: Record<string, string>;
|
|
1531
1523
|
/**
|
|
1532
1524
|
* <p>How much instance usage this group of reservations covered.</p>
|
|
1533
1525
|
*/
|
|
@@ -2186,9 +2178,7 @@ export interface ReservationUtilizationGroup {
|
|
|
2186
2178
|
/**
|
|
2187
2179
|
* <p>The attributes for this group of reservations.</p>
|
|
2188
2180
|
*/
|
|
2189
|
-
Attributes?:
|
|
2190
|
-
[key: string]: string;
|
|
2191
|
-
};
|
|
2181
|
+
Attributes?: Record<string, string>;
|
|
2192
2182
|
/**
|
|
2193
2183
|
* <p>How much you used this group of reservations.</p>
|
|
2194
2184
|
*/
|
|
@@ -2802,9 +2792,7 @@ export interface SavingsPlansCoverage {
|
|
|
2802
2792
|
/**
|
|
2803
2793
|
* <p>The attribute that applies to a specific <code>Dimension</code>.</p>
|
|
2804
2794
|
*/
|
|
2805
|
-
Attributes?:
|
|
2806
|
-
[key: string]: string;
|
|
2807
|
-
};
|
|
2795
|
+
Attributes?: Record<string, string>;
|
|
2808
2796
|
/**
|
|
2809
2797
|
* <p>The amount of Savings Plans eligible usage that the Savings Plans covered.</p>
|
|
2810
2798
|
*/
|
|
@@ -3280,9 +3268,7 @@ export interface SavingsPlansUtilizationDetail {
|
|
|
3280
3268
|
/**
|
|
3281
3269
|
* <p>The attribute that applies to a specific <code>Dimension</code>.</p>
|
|
3282
3270
|
*/
|
|
3283
|
-
Attributes?:
|
|
3284
|
-
[key: string]: string;
|
|
3285
|
-
};
|
|
3271
|
+
Attributes?: Record<string, string>;
|
|
3286
3272
|
/**
|
|
3287
3273
|
* <p>A ratio of your effectiveness of using existing Savings Plans to apply to workloads
|
|
3288
3274
|
* that are Savings Plans eligible.</p>
|
|
@@ -582,9 +582,7 @@ export interface DimensionValuesWithAttributes {
|
|
|
582
582
|
|
|
583
583
|
Value?: string;
|
|
584
584
|
|
|
585
|
-
Attributes?:
|
|
586
|
-
[key: string]: string;
|
|
587
|
-
};
|
|
585
|
+
Attributes?: Record<string, string>;
|
|
588
586
|
}
|
|
589
587
|
export declare namespace DimensionValuesWithAttributes {
|
|
590
588
|
|
|
@@ -606,9 +604,7 @@ export interface Group {
|
|
|
606
604
|
|
|
607
605
|
Keys?: string[];
|
|
608
606
|
|
|
609
|
-
Metrics?:
|
|
610
|
-
[key: string]: MetricValue;
|
|
611
|
-
};
|
|
607
|
+
Metrics?: Record<string, MetricValue>;
|
|
612
608
|
}
|
|
613
609
|
export declare namespace Group {
|
|
614
610
|
|
|
@@ -619,9 +615,7 @@ export interface ResultByTime {
|
|
|
619
615
|
|
|
620
616
|
TimePeriod?: DateInterval;
|
|
621
617
|
|
|
622
|
-
Total?:
|
|
623
|
-
[key: string]: MetricValue;
|
|
624
|
-
};
|
|
618
|
+
Total?: Record<string, MetricValue>;
|
|
625
619
|
|
|
626
620
|
Groups?: Group[];
|
|
627
621
|
|
|
@@ -806,9 +800,7 @@ export declare namespace Coverage {
|
|
|
806
800
|
|
|
807
801
|
export interface ReservationCoverageGroup {
|
|
808
802
|
|
|
809
|
-
Attributes?:
|
|
810
|
-
[key: string]: string;
|
|
811
|
-
};
|
|
803
|
+
Attributes?: Record<string, string>;
|
|
812
804
|
|
|
813
805
|
Coverage?: Coverage;
|
|
814
806
|
}
|
|
@@ -1148,9 +1140,7 @@ export interface ReservationUtilizationGroup {
|
|
|
1148
1140
|
|
|
1149
1141
|
Value?: string;
|
|
1150
1142
|
|
|
1151
|
-
Attributes?:
|
|
1152
|
-
[key: string]: string;
|
|
1153
|
-
};
|
|
1143
|
+
Attributes?: Record<string, string>;
|
|
1154
1144
|
|
|
1155
1145
|
Utilization?: ReservationAggregates;
|
|
1156
1146
|
}
|
|
@@ -1487,9 +1477,7 @@ export declare namespace SavingsPlansCoverageData {
|
|
|
1487
1477
|
|
|
1488
1478
|
export interface SavingsPlansCoverage {
|
|
1489
1479
|
|
|
1490
|
-
Attributes?:
|
|
1491
|
-
[key: string]: string;
|
|
1492
|
-
};
|
|
1480
|
+
Attributes?: Record<string, string>;
|
|
1493
1481
|
|
|
1494
1482
|
Coverage?: SavingsPlansCoverageData;
|
|
1495
1483
|
|
|
@@ -1729,9 +1717,7 @@ export interface SavingsPlansUtilizationDetail {
|
|
|
1729
1717
|
|
|
1730
1718
|
SavingsPlanArn?: string;
|
|
1731
1719
|
|
|
1732
|
-
Attributes?:
|
|
1733
|
-
[key: string]: string;
|
|
1734
|
-
};
|
|
1720
|
+
Attributes?: Record<string, string>;
|
|
1735
1721
|
|
|
1736
1722
|
Utilization?: SavingsPlansUtilization;
|
|
1737
1723
|
|
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.
|
|
4
|
+
"version": "3.105.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",
|
|
@@ -18,15 +18,16 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.105.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.105.0",
|
|
30
31
|
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
32
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
33
|
"@aws-sdk/middleware-signing": "3.78.0",
|