@aws-sdk/client-cost-optimization-hub 3.888.0 → 3.891.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-types/commands/GetPreferencesCommand.d.ts +2 -0
- package/dist-types/commands/GetRecommendationCommand.d.ts +2 -0
- package/dist-types/commands/ListEnrollmentStatusesCommand.d.ts +2 -0
- package/dist-types/commands/ListRecommendationSummariesCommand.d.ts +2 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePreferencesCommand.d.ts +2 -0
- package/package.json +19 -19
|
@@ -33,6 +33,8 @@ declare const GetPreferencesCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { CostOptimizationHubClient, GetPreferencesCommand } from "@aws-sdk/client-cost-optimization-hub"; // ES Modules import
|
|
35
35
|
* // const { CostOptimizationHubClient, GetPreferencesCommand } = require("@aws-sdk/client-cost-optimization-hub"); // CommonJS import
|
|
36
|
+
* // import type { CostOptimizationHubClientConfig } from "@aws-sdk/client-cost-optimization-hub";
|
|
37
|
+
* const config = {}; // type is CostOptimizationHubClientConfig
|
|
36
38
|
* const client = new CostOptimizationHubClient(config);
|
|
37
39
|
* const input = {};
|
|
38
40
|
* const command = new GetPreferencesCommand(input);
|
|
@@ -33,6 +33,8 @@ declare const GetRecommendationCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { CostOptimizationHubClient, GetRecommendationCommand } from "@aws-sdk/client-cost-optimization-hub"; // ES Modules import
|
|
35
35
|
* // const { CostOptimizationHubClient, GetRecommendationCommand } = require("@aws-sdk/client-cost-optimization-hub"); // CommonJS import
|
|
36
|
+
* // import type { CostOptimizationHubClientConfig } from "@aws-sdk/client-cost-optimization-hub";
|
|
37
|
+
* const config = {}; // type is CostOptimizationHubClientConfig
|
|
36
38
|
* const client = new CostOptimizationHubClient(config);
|
|
37
39
|
* const input = { // GetRecommendationRequest
|
|
38
40
|
* recommendationId: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const ListEnrollmentStatusesCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { CostOptimizationHubClient, ListEnrollmentStatusesCommand } from "@aws-sdk/client-cost-optimization-hub"; // ES Modules import
|
|
35
35
|
* // const { CostOptimizationHubClient, ListEnrollmentStatusesCommand } = require("@aws-sdk/client-cost-optimization-hub"); // CommonJS import
|
|
36
|
+
* // import type { CostOptimizationHubClientConfig } from "@aws-sdk/client-cost-optimization-hub";
|
|
37
|
+
* const config = {}; // type is CostOptimizationHubClientConfig
|
|
36
38
|
* const client = new CostOptimizationHubClient(config);
|
|
37
39
|
* const input = { // ListEnrollmentStatusesRequest
|
|
38
40
|
* includeOrganizationInfo: true || false,
|
|
@@ -33,6 +33,8 @@ declare const ListRecommendationSummariesCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { CostOptimizationHubClient, ListRecommendationSummariesCommand } from "@aws-sdk/client-cost-optimization-hub"; // ES Modules import
|
|
35
35
|
* // const { CostOptimizationHubClient, ListRecommendationSummariesCommand } = require("@aws-sdk/client-cost-optimization-hub"); // CommonJS import
|
|
36
|
+
* // import type { CostOptimizationHubClientConfig } from "@aws-sdk/client-cost-optimization-hub";
|
|
37
|
+
* const config = {}; // type is CostOptimizationHubClientConfig
|
|
36
38
|
* const client = new CostOptimizationHubClient(config);
|
|
37
39
|
* const input = { // ListRecommendationSummariesRequest
|
|
38
40
|
* filter: { // Filter
|
|
@@ -33,6 +33,8 @@ declare const ListRecommendationsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { CostOptimizationHubClient, ListRecommendationsCommand } from "@aws-sdk/client-cost-optimization-hub"; // ES Modules import
|
|
35
35
|
* // const { CostOptimizationHubClient, ListRecommendationsCommand } = require("@aws-sdk/client-cost-optimization-hub"); // CommonJS import
|
|
36
|
+
* // import type { CostOptimizationHubClientConfig } from "@aws-sdk/client-cost-optimization-hub";
|
|
37
|
+
* const config = {}; // type is CostOptimizationHubClientConfig
|
|
36
38
|
* const client = new CostOptimizationHubClient(config);
|
|
37
39
|
* const input = { // ListRecommendationsRequest
|
|
38
40
|
* filter: { // Filter
|
|
@@ -33,6 +33,8 @@ declare const UpdateEnrollmentStatusCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { CostOptimizationHubClient, UpdateEnrollmentStatusCommand } from "@aws-sdk/client-cost-optimization-hub"; // ES Modules import
|
|
35
35
|
* // const { CostOptimizationHubClient, UpdateEnrollmentStatusCommand } = require("@aws-sdk/client-cost-optimization-hub"); // CommonJS import
|
|
36
|
+
* // import type { CostOptimizationHubClientConfig } from "@aws-sdk/client-cost-optimization-hub";
|
|
37
|
+
* const config = {}; // type is CostOptimizationHubClientConfig
|
|
36
38
|
* const client = new CostOptimizationHubClient(config);
|
|
37
39
|
* const input = { // UpdateEnrollmentStatusRequest
|
|
38
40
|
* status: "Active" || "Inactive", // required
|
|
@@ -33,6 +33,8 @@ declare const UpdatePreferencesCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { CostOptimizationHubClient, UpdatePreferencesCommand } from "@aws-sdk/client-cost-optimization-hub"; // ES Modules import
|
|
35
35
|
* // const { CostOptimizationHubClient, UpdatePreferencesCommand } = require("@aws-sdk/client-cost-optimization-hub"); // CommonJS import
|
|
36
|
+
* // import type { CostOptimizationHubClientConfig } from "@aws-sdk/client-cost-optimization-hub";
|
|
37
|
+
* const config = {}; // type is CostOptimizationHubClientConfig
|
|
36
38
|
* const client = new CostOptimizationHubClient(config);
|
|
37
39
|
* const input = { // UpdatePreferencesRequest
|
|
38
40
|
* savingsEstimationMode: "BeforeDiscounts" || "AfterDiscounts",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cost-optimization-hub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cost Optimization Hub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.891.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cost-optimization-hub",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
23
|
+
"@aws-sdk/core": "3.890.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.891.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.891.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.891.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.891.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.891.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.890.0",
|
|
30
30
|
"@aws-sdk/types": "3.887.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.891.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.887.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.2.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.891.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.2.2",
|
|
35
35
|
"@smithy/core": "^3.11.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
37
37
|
"@smithy/hash-node": "^4.1.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
41
|
-
"@smithy/middleware-retry": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.2.2",
|
|
41
|
+
"@smithy/middleware-retry": "^4.2.3",
|
|
42
42
|
"@smithy/middleware-serde": "^4.1.1",
|
|
43
43
|
"@smithy/middleware-stack": "^4.1.1",
|
|
44
|
-
"@smithy/node-config-provider": "^4.2.
|
|
44
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
45
45
|
"@smithy/node-http-handler": "^4.2.1",
|
|
46
46
|
"@smithy/protocol-http": "^5.2.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.6.
|
|
47
|
+
"@smithy/smithy-client": "^4.6.2",
|
|
48
48
|
"@smithy/types": "^4.5.0",
|
|
49
49
|
"@smithy/url-parser": "^4.1.1",
|
|
50
50
|
"@smithy/util-base64": "^4.1.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
55
|
-
"@smithy/util-endpoints": "^3.1.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.1.2",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.1.2",
|
|
55
|
+
"@smithy/util-endpoints": "^3.1.2",
|
|
56
56
|
"@smithy/util-middleware": "^4.1.1",
|
|
57
|
-
"@smithy/util-retry": "^4.1.
|
|
57
|
+
"@smithy/util-retry": "^4.1.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.1.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|