@aws-sdk/client-cost-explorer 3.47.0 → 3.49.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 +35 -0
- package/dist-types/CostExplorer.d.ts +8 -0
- package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +4 -0
- package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +2 -0
- package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +13 -8
- package/package.json +40 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
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.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-cost-explorer
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-cost-explorer
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @aws-sdk/client-cost-explorer
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
42
|
|
|
8
43
|
|
|
@@ -270,6 +270,10 @@ export declare class CostExplorer extends CostExplorerClient {
|
|
|
270
270
|
* </p>
|
|
271
271
|
* </li>
|
|
272
272
|
* </ul>
|
|
273
|
+
* <note>
|
|
274
|
+
* <p>
|
|
275
|
+
* <code>GetSavingsPlansCoverage</code> doesn't support filtering by tags. <code>GetSavingsPlansCoverage</code> also doesn't support the <code>OR</code> operator between filter dimensions. For the full request syntax with supported parameters, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetSavingsPlansCoverage.html#API_GetSavingsPlansCoverage_Examples">Examples</a>.</p>
|
|
276
|
+
* </note>
|
|
273
277
|
* <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code> operation.</p>
|
|
274
278
|
*/
|
|
275
279
|
getSavingsPlansCoverage(args: GetSavingsPlansCoverageCommandInput, options?: __HttpHandlerOptions): Promise<GetSavingsPlansCoverageCommandOutput>;
|
|
@@ -285,6 +289,8 @@ export declare class CostExplorer extends CostExplorerClient {
|
|
|
285
289
|
* <p>Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the possible dimension values.</p>
|
|
286
290
|
* <note>
|
|
287
291
|
* <p>You cannot group by any dimension values for <code>GetSavingsPlansUtilization</code>.</p>
|
|
292
|
+
* <p>
|
|
293
|
+
* <code>GetSavingsPlansUtilization</code> doesn't support filtering by tags. <code>GetSavingsPlansUtilization</code> also doesn't support the <code>OR</code> operator between filter dimensions. For the full request syntax with supported parameters, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetSavingsPlansUtilization.html#API_GetSavingsPlansUtilization_Examples">Examples</a>.</p>
|
|
288
294
|
* </note>
|
|
289
295
|
*/
|
|
290
296
|
getSavingsPlansUtilization(args: GetSavingsPlansUtilizationCommandInput, options?: __HttpHandlerOptions): Promise<GetSavingsPlansUtilizationCommandOutput>;
|
|
@@ -295,6 +301,8 @@ export declare class CostExplorer extends CostExplorerClient {
|
|
|
295
301
|
* <note>
|
|
296
302
|
* <p>
|
|
297
303
|
* <code>GetSavingsPlanUtilizationDetails</code> internally groups data by <code>SavingsPlansArn</code>.</p>
|
|
304
|
+
* <p>
|
|
305
|
+
* <code>GetSavingsPlansUtilizationDetails</code> doesn't support filtering by tags. <code>GetSavingsPlansUtilizationDetails</code> also doesn't support the <code>OR</code> operator between filter dimensions. For the full request syntax with supported parameters, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetSavingsPlansUtilizationDetails.html#API_GetSavingsPlansUtilizationDetails_Examples">Examples</a>.</p>
|
|
298
306
|
* </note>
|
|
299
307
|
*/
|
|
300
308
|
getSavingsPlansUtilizationDetails(args: GetSavingsPlansUtilizationDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetSavingsPlansUtilizationDetailsCommandOutput>;
|
|
@@ -30,6 +30,10 @@ export interface GetSavingsPlansCoverageCommandOutput extends GetSavingsPlansCov
|
|
|
30
30
|
* </p>
|
|
31
31
|
* </li>
|
|
32
32
|
* </ul>
|
|
33
|
+
* <note>
|
|
34
|
+
* <p>
|
|
35
|
+
* <code>GetSavingsPlansCoverage</code> doesn't support filtering by tags. <code>GetSavingsPlansCoverage</code> also doesn't support the <code>OR</code> operator between filter dimensions. For the full request syntax with supported parameters, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetSavingsPlansCoverage.html#API_GetSavingsPlansCoverage_Examples">Examples</a>.</p>
|
|
36
|
+
* </note>
|
|
33
37
|
* <p>To determine valid values for a dimension, use the <code>GetDimensionValues</code> operation.</p>
|
|
34
38
|
* @example
|
|
35
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,6 +10,8 @@ export interface GetSavingsPlansUtilizationCommandOutput extends GetSavingsPlans
|
|
|
10
10
|
* <p>Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the possible dimension values.</p>
|
|
11
11
|
* <note>
|
|
12
12
|
* <p>You cannot group by any dimension values for <code>GetSavingsPlansUtilization</code>.</p>
|
|
13
|
+
* <p>
|
|
14
|
+
* <code>GetSavingsPlansUtilization</code> doesn't support filtering by tags. <code>GetSavingsPlansUtilization</code> also doesn't support the <code>OR</code> operator between filter dimensions. For the full request syntax with supported parameters, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetSavingsPlansUtilization.html#API_GetSavingsPlansUtilization_Examples">Examples</a>.</p>
|
|
13
15
|
* </note>
|
|
14
16
|
* @example
|
|
15
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -11,6 +11,8 @@ export interface GetSavingsPlansUtilizationDetailsCommandOutput extends GetSavin
|
|
|
11
11
|
* <note>
|
|
12
12
|
* <p>
|
|
13
13
|
* <code>GetSavingsPlanUtilizationDetails</code> internally groups data by <code>SavingsPlansArn</code>.</p>
|
|
14
|
+
* <p>
|
|
15
|
+
* <code>GetSavingsPlansUtilizationDetails</code> doesn't support filtering by tags. <code>GetSavingsPlansUtilizationDetails</code> also doesn't support the <code>OR</code> operator between filter dimensions. For the full request syntax with supported parameters, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetSavingsPlansUtilizationDetails.html#API_GetSavingsPlansUtilizationDetails_Examples">Examples</a>.</p>
|
|
14
16
|
* </note>
|
|
15
17
|
* @example
|
|
16
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -1632,7 +1632,7 @@ export declare namespace ElastiCacheInstanceDetails {
|
|
|
1632
1632
|
const filterSensitiveLog: (obj: ElastiCacheInstanceDetails) => any;
|
|
1633
1633
|
}
|
|
1634
1634
|
/**
|
|
1635
|
-
* <p>Details about the Amazon
|
|
1635
|
+
* <p>Details about the Amazon OpenSearch Service instances that Amazon Web Services recommends that you
|
|
1636
1636
|
* purchase.</p>
|
|
1637
1637
|
*/
|
|
1638
1638
|
export interface ESInstanceDetails {
|
|
@@ -1767,7 +1767,7 @@ export interface InstanceDetails {
|
|
|
1767
1767
|
*/
|
|
1768
1768
|
ElastiCacheInstanceDetails?: ElastiCacheInstanceDetails;
|
|
1769
1769
|
/**
|
|
1770
|
-
* <p>The Amazon
|
|
1770
|
+
* <p>The Amazon OpenSearch Service instances that Amazon Web Services recommends that you purchase.</p>
|
|
1771
1771
|
*/
|
|
1772
1772
|
ESInstanceDetails?: ESInstanceDetails;
|
|
1773
1773
|
}
|
|
@@ -3746,6 +3746,8 @@ export interface GetCostAndUsageRequest {
|
|
|
3746
3746
|
* and get the costs that are associated with that account's usage of that service. You can nest <code>Expression</code> objects
|
|
3747
3747
|
* to define any combination of dimension filters. For more information, see
|
|
3748
3748
|
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>. </p>
|
|
3749
|
+
* <p>The default values are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>. Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
|
|
3750
|
+
* <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and <code>Tags</code> are <code>EQUALS</code>, <code>ABSENT</code>, and <code>CASE_SENSITIVE</code>.</p>
|
|
3749
3751
|
*/
|
|
3750
3752
|
Filter?: Expression;
|
|
3751
3753
|
/**
|
|
@@ -3806,6 +3808,8 @@ export interface GetCostAndUsageWithResourcesRequest {
|
|
|
3806
3808
|
* <p>The <code>GetCostAndUsageWithResources</code> operation requires that you either group by or filter by a
|
|
3807
3809
|
* <code>ResourceId</code>. It requires the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>
|
|
3808
3810
|
* <code>"SERVICE = Amazon Elastic Compute Cloud - Compute"</code> in the filter.</p>
|
|
3811
|
+
* <p>The default values are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>. Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
|
|
3812
|
+
* <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and <code>Tags</code> are <code>EQUALS</code>, <code>ABSENT</code>, and <code>CASE_SENSITIVE</code>.</p>
|
|
3809
3813
|
*/
|
|
3810
3814
|
Filter: Expression | undefined;
|
|
3811
3815
|
/**
|
|
@@ -4160,7 +4164,7 @@ export interface GetDimensionValuesRequest {
|
|
|
4160
4164
|
TimePeriod: DateInterval | undefined;
|
|
4161
4165
|
/**
|
|
4162
4166
|
* <p>The name of the dimension. Each <code>Dimension</code> is available for a different <code>Context</code>.
|
|
4163
|
-
*
|
|
4167
|
+
* For more information, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html#awscostmanagement-GetDimensionValues-request-Context">Context</a>.
|
|
4164
4168
|
*
|
|
4165
4169
|
* </p>
|
|
4166
4170
|
*/
|
|
@@ -4496,8 +4500,7 @@ export interface GetReservationCoverageRequest {
|
|
|
4496
4500
|
* <p>
|
|
4497
4501
|
* <code>GetReservationCoverage</code> uses the same
|
|
4498
4502
|
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
|
|
4499
|
-
* as the other operations, but only <code>AND</code> is supported among each dimension. You can nest only one level deep
|
|
4500
|
-
* If there are multiple values for a dimension, they are OR'd together.</p>
|
|
4503
|
+
* as the other operations, but only <code>AND</code> is supported among each dimension. You can nest only one level deep.</p>
|
|
4501
4504
|
* <p>If you don't provide a <code>SERVICE</code> filter, Cost Explorer defaults to EC2.</p>
|
|
4502
4505
|
* <p>Cost category is also supported.</p>
|
|
4503
4506
|
*/
|
|
@@ -4741,7 +4744,7 @@ export interface GetReservationUtilizationRequest {
|
|
|
4741
4744
|
* <code>GetReservationUtilization</code> uses the same
|
|
4742
4745
|
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
|
|
4743
4746
|
* as the other operations, but only <code>AND</code> is supported among each dimension, and nesting is supported up to
|
|
4744
|
-
* only one level deep
|
|
4747
|
+
* only one level deep.</p>
|
|
4745
4748
|
*/
|
|
4746
4749
|
Filter?: Expression;
|
|
4747
4750
|
/**
|
|
@@ -4982,8 +4985,8 @@ export interface GetSavingsPlansCoverageRequest {
|
|
|
4982
4985
|
* <p>
|
|
4983
4986
|
* <code>GetSavingsPlansCoverage</code> uses the same
|
|
4984
4987
|
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
|
|
4985
|
-
* as the other operations, but only <code>AND</code> is supported among each dimension
|
|
4986
|
-
* <p>Cost category is
|
|
4988
|
+
* as the other operations, but only <code>AND</code> is supported among each dimension.</p>
|
|
4989
|
+
* <p>Cost category is supported. Tags are not supported.</p>
|
|
4987
4990
|
*/
|
|
4988
4991
|
Filter?: Expression;
|
|
4989
4992
|
/**
|
|
@@ -5138,6 +5141,7 @@ export interface GetSavingsPlansUtilizationDetailsRequest {
|
|
|
5138
5141
|
* <code>GetSavingsPlansUtilizationDetails</code> uses the same
|
|
5139
5142
|
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
|
|
5140
5143
|
* as the other operations, but only <code>AND</code> is supported among each dimension.</p>
|
|
5144
|
+
* <p>Filtering by tags isn't supported.</p>
|
|
5141
5145
|
*/
|
|
5142
5146
|
Filter?: Expression;
|
|
5143
5147
|
/**
|
|
@@ -5252,6 +5256,7 @@ export interface GetSavingsPlansUtilizationRequest {
|
|
|
5252
5256
|
* <code>GetSavingsPlansUtilization</code> uses the same
|
|
5253
5257
|
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
|
|
5254
5258
|
* as the other operations, but only <code>AND</code> is supported among each dimension.</p>
|
|
5259
|
+
* <p>Filtering by tags isn't supported.</p>
|
|
5255
5260
|
*/
|
|
5256
5261
|
Filter?: Expression;
|
|
5257
5262
|
/**
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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.49.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
@@ -18,41 +18,47 @@
|
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.49.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.49.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.49.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.49.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.49.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.49.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.49.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.49.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.49.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.49.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.49.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.49.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.49.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.49.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.49.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.49.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.49.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.49.0",
|
|
39
|
+
"@aws-sdk/types": "3.49.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.49.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.49.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.49.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.49.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.49.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.49.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.49.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.49.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.49.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.49.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.49.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
-
"@
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.49.0",
|
|
55
|
+
"@tsconfig/recommended": "1.0.1",
|
|
56
|
+
"@types/node": "^12.7.5",
|
|
57
|
+
"concurrently": "7.0.0",
|
|
58
|
+
"downlevel-dts": "0.7.0",
|
|
59
|
+
"rimraf": "3.0.2",
|
|
60
|
+
"typedoc": "0.19.2",
|
|
61
|
+
"typescript": "~4.3.5"
|
|
56
62
|
},
|
|
57
63
|
"engines": {
|
|
58
64
|
"node": ">=12.0.0"
|