@aws-sdk/client-compute-optimizer 3.235.0 → 3.237.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/README.md +2 -1
- package/dist-cjs/ComputeOptimizer.js +45 -0
- package/dist-cjs/commands/ExportECSServiceRecommendationsCommand.js +46 -0
- package/dist-cjs/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +46 -0
- package/dist-cjs/commands/GetECSServiceRecommendationsCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/models_0.js +137 -3
- package/dist-cjs/pagination/DescribeRecommendationExportJobsPaginator.js +36 -0
- package/dist-cjs/pagination/GetEnrollmentStatusesForOrganizationPaginator.js +36 -0
- package/dist-cjs/pagination/GetLambdaFunctionRecommendationsPaginator.js +36 -0
- package/dist-cjs/pagination/GetRecommendationPreferencesPaginator.js +36 -0
- package/dist-cjs/pagination/GetRecommendationSummariesPaginator.js +36 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_0.js +491 -1
- package/dist-es/ComputeOptimizer.js +45 -0
- package/dist-es/commands/ExportECSServiceRecommendationsCommand.js +42 -0
- package/dist-es/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +42 -0
- package/dist-es/commands/GetECSServiceRecommendationsCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +117 -0
- package/dist-es/pagination/DescribeRecommendationExportJobsPaginator.js +32 -0
- package/dist-es/pagination/GetEnrollmentStatusesForOrganizationPaginator.js +32 -0
- package/dist-es/pagination/GetLambdaFunctionRecommendationsPaginator.js +32 -0
- package/dist-es/pagination/GetRecommendationPreferencesPaginator.js +32 -0
- package/dist-es/pagination/GetRecommendationSummariesPaginator.js +32 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_json1_0.js +484 -0
- package/dist-types/ComputeOptimizer.d.ts +76 -32
- package/dist-types/ComputeOptimizerClient.d.ts +7 -3
- package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +2 -2
- package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +2 -2
- package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +2 -2
- package/dist-types/commands/ExportECSServiceRecommendationsCommand.d.ts +44 -0
- package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +2 -2
- package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +2 -2
- package/dist-types/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +39 -0
- package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +46 -0
- package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +2 -2
- package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +10 -6
- package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1353 -519
- package/dist-types/pagination/DescribeRecommendationExportJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetEnrollmentStatusesForOrganizationPaginator.d.ts +4 -0
- package/dist-types/pagination/GetLambdaFunctionRecommendationsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetRecommendationPreferencesPaginator.d.ts +4 -0
- package/dist-types/pagination/GetRecommendationSummariesPaginator.d.ts +4 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
- package/dist-types/ts3.4/ComputeOptimizer.d.ts +57 -0
- package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ExportECSServiceRecommendationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetECSServiceRecommendationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +210 -0
- package/dist-types/ts3.4/pagination/DescribeRecommendationExportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetEnrollmentStatusesForOrganizationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetLambdaFunctionRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetRecommendationPreferencesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetRecommendationSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +36 -0
- package/package.json +3 -3
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
GetEnrollmentStatusesForOrganizationCommandInput,
|
|
4
|
+
GetEnrollmentStatusesForOrganizationCommandOutput,
|
|
5
|
+
} from "../commands/GetEnrollmentStatusesForOrganizationCommand";
|
|
6
|
+
import { ComputeOptimizerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateGetEnrollmentStatusesForOrganization(
|
|
8
|
+
config: ComputeOptimizerPaginationConfiguration,
|
|
9
|
+
input: GetEnrollmentStatusesForOrganizationCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<GetEnrollmentStatusesForOrganizationCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
GetLambdaFunctionRecommendationsCommandInput,
|
|
4
|
+
GetLambdaFunctionRecommendationsCommandOutput,
|
|
5
|
+
} from "../commands/GetLambdaFunctionRecommendationsCommand";
|
|
6
|
+
import { ComputeOptimizerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateGetLambdaFunctionRecommendations(
|
|
8
|
+
config: ComputeOptimizerPaginationConfiguration,
|
|
9
|
+
input: GetLambdaFunctionRecommendationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<GetLambdaFunctionRecommendationsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
GetRecommendationPreferencesCommandInput,
|
|
4
|
+
GetRecommendationPreferencesCommandOutput,
|
|
5
|
+
} from "../commands/GetRecommendationPreferencesCommand";
|
|
6
|
+
import { ComputeOptimizerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateGetRecommendationPreferences(
|
|
8
|
+
config: ComputeOptimizerPaginationConfiguration,
|
|
9
|
+
input: GetRecommendationPreferencesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<GetRecommendationPreferencesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
GetRecommendationSummariesCommandInput,
|
|
4
|
+
GetRecommendationSummariesCommandOutput,
|
|
5
|
+
} from "../commands/GetRecommendationSummariesCommand";
|
|
6
|
+
import { ComputeOptimizerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateGetRecommendationSummaries(
|
|
8
|
+
config: ComputeOptimizerPaginationConfiguration,
|
|
9
|
+
input: GetRecommendationSummariesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<GetRecommendationSummariesCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { ComputeOptimizer } from "../ComputeOptimizer";
|
|
3
|
+
import { ComputeOptimizerClient } from "../ComputeOptimizerClient";
|
|
4
|
+
export interface ComputeOptimizerPaginationConfiguration
|
|
5
|
+
extends PaginationConfiguration {
|
|
6
|
+
client: ComputeOptimizer | ComputeOptimizerClient;
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./DescribeRecommendationExportJobsPaginator";
|
|
2
|
+
export * from "./GetEnrollmentStatusesForOrganizationPaginator";
|
|
3
|
+
export * from "./GetLambdaFunctionRecommendationsPaginator";
|
|
4
|
+
export * from "./GetRecommendationPreferencesPaginator";
|
|
5
|
+
export * from "./GetRecommendationSummariesPaginator";
|
|
6
|
+
export * from "./Interfaces";
|
|
@@ -23,6 +23,10 @@ import {
|
|
|
23
23
|
ExportEC2InstanceRecommendationsCommandInput,
|
|
24
24
|
ExportEC2InstanceRecommendationsCommandOutput,
|
|
25
25
|
} from "../commands/ExportEC2InstanceRecommendationsCommand";
|
|
26
|
+
import {
|
|
27
|
+
ExportECSServiceRecommendationsCommandInput,
|
|
28
|
+
ExportECSServiceRecommendationsCommandOutput,
|
|
29
|
+
} from "../commands/ExportECSServiceRecommendationsCommand";
|
|
26
30
|
import {
|
|
27
31
|
ExportLambdaFunctionRecommendationsCommandInput,
|
|
28
32
|
ExportLambdaFunctionRecommendationsCommandOutput,
|
|
@@ -43,6 +47,14 @@ import {
|
|
|
43
47
|
GetEC2RecommendationProjectedMetricsCommandInput,
|
|
44
48
|
GetEC2RecommendationProjectedMetricsCommandOutput,
|
|
45
49
|
} from "../commands/GetEC2RecommendationProjectedMetricsCommand";
|
|
50
|
+
import {
|
|
51
|
+
GetECSServiceRecommendationProjectedMetricsCommandInput,
|
|
52
|
+
GetECSServiceRecommendationProjectedMetricsCommandOutput,
|
|
53
|
+
} from "../commands/GetECSServiceRecommendationProjectedMetricsCommand";
|
|
54
|
+
import {
|
|
55
|
+
GetECSServiceRecommendationsCommandInput,
|
|
56
|
+
GetECSServiceRecommendationsCommandOutput,
|
|
57
|
+
} from "../commands/GetECSServiceRecommendationsCommand";
|
|
46
58
|
import {
|
|
47
59
|
GetEffectiveRecommendationPreferencesCommandInput,
|
|
48
60
|
GetEffectiveRecommendationPreferencesCommandOutput,
|
|
@@ -95,6 +107,10 @@ export declare const serializeAws_json1_0ExportEC2InstanceRecommendationsCommand
|
|
|
95
107
|
input: ExportEC2InstanceRecommendationsCommandInput,
|
|
96
108
|
context: __SerdeContext
|
|
97
109
|
) => Promise<__HttpRequest>;
|
|
110
|
+
export declare const serializeAws_json1_0ExportECSServiceRecommendationsCommand: (
|
|
111
|
+
input: ExportECSServiceRecommendationsCommandInput,
|
|
112
|
+
context: __SerdeContext
|
|
113
|
+
) => Promise<__HttpRequest>;
|
|
98
114
|
export declare const serializeAws_json1_0ExportLambdaFunctionRecommendationsCommand: (
|
|
99
115
|
input: ExportLambdaFunctionRecommendationsCommandInput,
|
|
100
116
|
context: __SerdeContext
|
|
@@ -115,6 +131,14 @@ export declare const serializeAws_json1_0GetEC2RecommendationProjectedMetricsCom
|
|
|
115
131
|
input: GetEC2RecommendationProjectedMetricsCommandInput,
|
|
116
132
|
context: __SerdeContext
|
|
117
133
|
) => Promise<__HttpRequest>;
|
|
134
|
+
export declare const serializeAws_json1_0GetECSServiceRecommendationProjectedMetricsCommand: (
|
|
135
|
+
input: GetECSServiceRecommendationProjectedMetricsCommandInput,
|
|
136
|
+
context: __SerdeContext
|
|
137
|
+
) => Promise<__HttpRequest>;
|
|
138
|
+
export declare const serializeAws_json1_0GetECSServiceRecommendationsCommand: (
|
|
139
|
+
input: GetECSServiceRecommendationsCommandInput,
|
|
140
|
+
context: __SerdeContext
|
|
141
|
+
) => Promise<__HttpRequest>;
|
|
118
142
|
export declare const serializeAws_json1_0GetEffectiveRecommendationPreferencesCommand: (
|
|
119
143
|
input: GetEffectiveRecommendationPreferencesCommandInput,
|
|
120
144
|
context: __SerdeContext
|
|
@@ -167,6 +191,10 @@ export declare const deserializeAws_json1_0ExportEC2InstanceRecommendationsComma
|
|
|
167
191
|
output: __HttpResponse,
|
|
168
192
|
context: __SerdeContext
|
|
169
193
|
) => Promise<ExportEC2InstanceRecommendationsCommandOutput>;
|
|
194
|
+
export declare const deserializeAws_json1_0ExportECSServiceRecommendationsCommand: (
|
|
195
|
+
output: __HttpResponse,
|
|
196
|
+
context: __SerdeContext
|
|
197
|
+
) => Promise<ExportECSServiceRecommendationsCommandOutput>;
|
|
170
198
|
export declare const deserializeAws_json1_0ExportLambdaFunctionRecommendationsCommand: (
|
|
171
199
|
output: __HttpResponse,
|
|
172
200
|
context: __SerdeContext
|
|
@@ -187,6 +215,14 @@ export declare const deserializeAws_json1_0GetEC2RecommendationProjectedMetricsC
|
|
|
187
215
|
output: __HttpResponse,
|
|
188
216
|
context: __SerdeContext
|
|
189
217
|
) => Promise<GetEC2RecommendationProjectedMetricsCommandOutput>;
|
|
218
|
+
export declare const deserializeAws_json1_0GetECSServiceRecommendationProjectedMetricsCommand: (
|
|
219
|
+
output: __HttpResponse,
|
|
220
|
+
context: __SerdeContext
|
|
221
|
+
) => Promise<GetECSServiceRecommendationProjectedMetricsCommandOutput>;
|
|
222
|
+
export declare const deserializeAws_json1_0GetECSServiceRecommendationsCommand: (
|
|
223
|
+
output: __HttpResponse,
|
|
224
|
+
context: __SerdeContext
|
|
225
|
+
) => Promise<GetECSServiceRecommendationsCommandOutput>;
|
|
190
226
|
export declare const deserializeAws_json1_0GetEffectiveRecommendationPreferencesCommand: (
|
|
191
227
|
output: __HttpResponse,
|
|
192
228
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Compute Optimizer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.237.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.
|
|
22
|
+
"@aws-sdk/client-sts": "3.236.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.236.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",
|