@aws-sdk/client-cost-explorer 3.1059.0 → 3.1061.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/dist-cjs/index.js +1 -0
- package/dist-cjs/schemas/schemas_0.js +3 -2
- package/dist-es/models/enums.js +1 -0
- package/dist-es/schemas/schemas_0.js +3 -2
- package/dist-types/commands/GetCommitmentPurchaseAnalysisCommand.d.ts +2 -1
- package/dist-types/commands/ListCommitmentPurchaseAnalysesCommand.d.ts +2 -1
- package/dist-types/commands/StartCommitmentPurchaseAnalysisCommand.d.ts +2 -1
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -524,6 +524,7 @@ const _SPPRS = "SavingsPlansPurchaseRecommendationSummary";
|
|
|
524
524
|
const _SPS = "SavingsPlansSavings";
|
|
525
525
|
const _SPT = "SavingsPlansType";
|
|
526
526
|
const _SPTA = "SavingsPlansToAdd";
|
|
527
|
+
const _SPTC = "SavingsPlansTargetCoverage";
|
|
527
528
|
const _SPTE = "SavingsPlansToExclude";
|
|
528
529
|
const _SPU = "SavingsPlansUtilization";
|
|
529
530
|
const _SPUA = "SavingsPlansUtilizationAggregates";
|
|
@@ -1517,8 +1518,8 @@ exports.SavingsPlansDetails$ = [3, n0, _SPD,
|
|
|
1517
1518
|
];
|
|
1518
1519
|
exports.SavingsPlansPurchaseAnalysisConfiguration$ = [3, n0, _SPPAC,
|
|
1519
1520
|
0,
|
|
1520
|
-
[_AT, _SPTA, _LBTP, _ASc, _AIc, _SPTE],
|
|
1521
|
-
[0, () => SavingsPlansToAdd, () => exports.DateInterval$, 0, 0, 64 | 0], 3
|
|
1521
|
+
[_AT, _SPTA, _LBTP, _ASc, _AIc, _SPTE, _SPTC],
|
|
1522
|
+
[0, () => SavingsPlansToAdd, () => exports.DateInterval$, 0, 0, 64 | 0, 1], 3
|
|
1522
1523
|
];
|
|
1523
1524
|
exports.SavingsPlansPurchaseAnalysisDetails$ = [3, n0, _SPPAD,
|
|
1524
1525
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -10,6 +10,7 @@ export const AnalysisStatus = {
|
|
|
10
10
|
export const AnalysisType = {
|
|
11
11
|
CUSTOM_COMMITMENT: "CUSTOM_COMMITMENT",
|
|
12
12
|
MAX_SAVINGS: "MAX_SAVINGS",
|
|
13
|
+
TARGET_AVERAGE_COVERAGE: "TARGET_AVERAGE_COVERAGE",
|
|
13
14
|
};
|
|
14
15
|
export const PaymentOption = {
|
|
15
16
|
ALL_UPFRONT: "ALL_UPFRONT",
|
|
@@ -516,6 +516,7 @@ const _SPPRS = "SavingsPlansPurchaseRecommendationSummary";
|
|
|
516
516
|
const _SPS = "SavingsPlansSavings";
|
|
517
517
|
const _SPT = "SavingsPlansType";
|
|
518
518
|
const _SPTA = "SavingsPlansToAdd";
|
|
519
|
+
const _SPTC = "SavingsPlansTargetCoverage";
|
|
519
520
|
const _SPTE = "SavingsPlansToExclude";
|
|
520
521
|
const _SPU = "SavingsPlansUtilization";
|
|
521
522
|
const _SPUA = "SavingsPlansUtilizationAggregates";
|
|
@@ -1509,8 +1510,8 @@ export var SavingsPlansDetails$ = [3, n0, _SPD,
|
|
|
1509
1510
|
];
|
|
1510
1511
|
export var SavingsPlansPurchaseAnalysisConfiguration$ = [3, n0, _SPPAC,
|
|
1511
1512
|
0,
|
|
1512
|
-
[_AT, _SPTA, _LBTP, _ASc, _AIc, _SPTE],
|
|
1513
|
-
[0, () => SavingsPlansToAdd, () => DateInterval$, 0, 0, 64 | 0], 3
|
|
1513
|
+
[_AT, _SPTA, _LBTP, _ASc, _AIc, _SPTE, _SPTC],
|
|
1514
|
+
[0, () => SavingsPlansToAdd, () => DateInterval$, 0, 0, 64 | 0, 1], 3
|
|
1514
1515
|
];
|
|
1515
1516
|
export var SavingsPlansPurchaseAnalysisDetails$ = [3, n0, _SPPAD,
|
|
1516
1517
|
0,
|
|
@@ -89,7 +89,7 @@ declare const GetCommitmentPurchaseAnalysisCommand_base: {
|
|
|
89
89
|
* // SavingsPlansPurchaseAnalysisConfiguration: { // SavingsPlansPurchaseAnalysisConfiguration
|
|
90
90
|
* // AccountScope: "PAYER" || "LINKED",
|
|
91
91
|
* // AccountId: "STRING_VALUE",
|
|
92
|
-
* // AnalysisType: "MAX_SAVINGS" || "CUSTOM_COMMITMENT", // required
|
|
92
|
+
* // AnalysisType: "MAX_SAVINGS" || "CUSTOM_COMMITMENT" || "TARGET_AVERAGE_COVERAGE", // required
|
|
93
93
|
* // SavingsPlansToAdd: [ // SavingsPlansToAdd // required
|
|
94
94
|
* // { // SavingsPlans
|
|
95
95
|
* // PaymentOption: "NO_UPFRONT" || "PARTIAL_UPFRONT" || "ALL_UPFRONT" || "LIGHT_UTILIZATION" || "MEDIUM_UTILIZATION" || "HEAVY_UTILIZATION",
|
|
@@ -108,6 +108,7 @@ declare const GetCommitmentPurchaseAnalysisCommand_base: {
|
|
|
108
108
|
* // Start: "STRING_VALUE", // required
|
|
109
109
|
* // End: "STRING_VALUE", // required
|
|
110
110
|
* // },
|
|
111
|
+
* // SavingsPlansTargetCoverage: Number("int"),
|
|
111
112
|
* // },
|
|
112
113
|
* // },
|
|
113
114
|
* // };
|
|
@@ -61,7 +61,7 @@ declare const ListCommitmentPurchaseAnalysesCommand_base: {
|
|
|
61
61
|
* // SavingsPlansPurchaseAnalysisConfiguration: { // SavingsPlansPurchaseAnalysisConfiguration
|
|
62
62
|
* // AccountScope: "PAYER" || "LINKED",
|
|
63
63
|
* // AccountId: "STRING_VALUE",
|
|
64
|
-
* // AnalysisType: "MAX_SAVINGS" || "CUSTOM_COMMITMENT", // required
|
|
64
|
+
* // AnalysisType: "MAX_SAVINGS" || "CUSTOM_COMMITMENT" || "TARGET_AVERAGE_COVERAGE", // required
|
|
65
65
|
* // SavingsPlansToAdd: [ // SavingsPlansToAdd // required
|
|
66
66
|
* // { // SavingsPlans
|
|
67
67
|
* // PaymentOption: "NO_UPFRONT" || "PARTIAL_UPFRONT" || "ALL_UPFRONT" || "LIGHT_UTILIZATION" || "MEDIUM_UTILIZATION" || "HEAVY_UTILIZATION",
|
|
@@ -80,6 +80,7 @@ declare const ListCommitmentPurchaseAnalysesCommand_base: {
|
|
|
80
80
|
* // Start: "STRING_VALUE", // required
|
|
81
81
|
* // End: "STRING_VALUE", // required
|
|
82
82
|
* // },
|
|
83
|
+
* // SavingsPlansTargetCoverage: Number("int"),
|
|
83
84
|
* // },
|
|
84
85
|
* // },
|
|
85
86
|
* // },
|
|
@@ -45,7 +45,7 @@ declare const StartCommitmentPurchaseAnalysisCommand_base: {
|
|
|
45
45
|
* SavingsPlansPurchaseAnalysisConfiguration: { // SavingsPlansPurchaseAnalysisConfiguration
|
|
46
46
|
* AccountScope: "PAYER" || "LINKED",
|
|
47
47
|
* AccountId: "STRING_VALUE",
|
|
48
|
-
* AnalysisType: "MAX_SAVINGS" || "CUSTOM_COMMITMENT", // required
|
|
48
|
+
* AnalysisType: "MAX_SAVINGS" || "CUSTOM_COMMITMENT" || "TARGET_AVERAGE_COVERAGE", // required
|
|
49
49
|
* SavingsPlansToAdd: [ // SavingsPlansToAdd // required
|
|
50
50
|
* { // SavingsPlans
|
|
51
51
|
* PaymentOption: "NO_UPFRONT" || "PARTIAL_UPFRONT" || "ALL_UPFRONT" || "LIGHT_UTILIZATION" || "MEDIUM_UTILIZATION" || "HEAVY_UTILIZATION",
|
|
@@ -64,6 +64,7 @@ declare const StartCommitmentPurchaseAnalysisCommand_base: {
|
|
|
64
64
|
* Start: "STRING_VALUE", // required
|
|
65
65
|
* End: "STRING_VALUE", // required
|
|
66
66
|
* },
|
|
67
|
+
* SavingsPlansTargetCoverage: Number("int"),
|
|
67
68
|
* },
|
|
68
69
|
* },
|
|
69
70
|
* };
|
|
@@ -30,6 +30,7 @@ export type AnalysisStatus = (typeof AnalysisStatus)[keyof typeof AnalysisStatus
|
|
|
30
30
|
export declare const AnalysisType: {
|
|
31
31
|
readonly CUSTOM_COMMITMENT: "CUSTOM_COMMITMENT";
|
|
32
32
|
readonly MAX_SAVINGS: "MAX_SAVINGS";
|
|
33
|
+
readonly TARGET_AVERAGE_COVERAGE: "TARGET_AVERAGE_COVERAGE";
|
|
33
34
|
};
|
|
34
35
|
/**
|
|
35
36
|
* @public
|
|
@@ -264,6 +264,15 @@ export interface SavingsPlansPurchaseAnalysisConfiguration {
|
|
|
264
264
|
* @public
|
|
265
265
|
*/
|
|
266
266
|
LookBackTimePeriod: DateInterval | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* <p>Specifies the target Savings Plans coverage as a percentage from <code>10</code> to
|
|
269
|
+
* <code>100</code>. This field is required when <code>AnalysisType</code> is
|
|
270
|
+
* <code>TARGET_AVERAGE_COVERAGE</code>. It defines the target average hourly coverage
|
|
271
|
+
* that the recommended Savings Plans commitment should achieve over the lookback
|
|
272
|
+
* period.</p>
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
SavingsPlansTargetCoverage?: number | undefined;
|
|
267
276
|
}
|
|
268
277
|
/**
|
|
269
278
|
* <p>The configuration for the commitment purchase analysis.</p>
|
|
@@ -13,6 +13,7 @@ export type AnalysisStatus =
|
|
|
13
13
|
export declare const AnalysisType: {
|
|
14
14
|
readonly CUSTOM_COMMITMENT: "CUSTOM_COMMITMENT";
|
|
15
15
|
readonly MAX_SAVINGS: "MAX_SAVINGS";
|
|
16
|
+
readonly TARGET_AVERAGE_COVERAGE: "TARGET_AVERAGE_COVERAGE";
|
|
16
17
|
};
|
|
17
18
|
export type AnalysisType = (typeof AnalysisType)[keyof typeof AnalysisType];
|
|
18
19
|
export declare const PaymentOption: {
|
|
@@ -96,6 +96,7 @@ export interface SavingsPlansPurchaseAnalysisConfiguration {
|
|
|
96
96
|
SavingsPlansToAdd: SavingsPlans[] | undefined;
|
|
97
97
|
SavingsPlansToExclude?: string[] | undefined;
|
|
98
98
|
LookBackTimePeriod: DateInterval | undefined;
|
|
99
|
+
SavingsPlansTargetCoverage?: number | undefined;
|
|
99
100
|
}
|
|
100
101
|
export interface CommitmentPurchaseAnalysisConfiguration {
|
|
101
102
|
SavingsPlansPurchaseAnalysisConfiguration?:
|
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.1061.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cost-explorer",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.17",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.50",
|
|
26
26
|
"@aws-sdk/types": "^3.973.10",
|
|
27
27
|
"@smithy/core": "^3.24.6",
|
|
28
28
|
"@smithy/fetch-http-handler": "^5.4.6",
|