@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,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { DescribeRecommendationExportJobsCommandInput, DescribeRecommendationExportJobsCommandOutput } from "../commands/DescribeRecommendationExportJobsCommand";
|
|
3
|
+
import { ComputeOptimizerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateDescribeRecommendationExportJobs(config: ComputeOptimizerPaginationConfiguration, input: DescribeRecommendationExportJobsCommandInput, ...additionalArguments: any): Paginator<DescribeRecommendationExportJobsCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { GetEnrollmentStatusesForOrganizationCommandInput, GetEnrollmentStatusesForOrganizationCommandOutput } from "../commands/GetEnrollmentStatusesForOrganizationCommand";
|
|
3
|
+
import { ComputeOptimizerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateGetEnrollmentStatusesForOrganization(config: ComputeOptimizerPaginationConfiguration, input: GetEnrollmentStatusesForOrganizationCommandInput, ...additionalArguments: any): Paginator<GetEnrollmentStatusesForOrganizationCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { GetLambdaFunctionRecommendationsCommandInput, GetLambdaFunctionRecommendationsCommandOutput } from "../commands/GetLambdaFunctionRecommendationsCommand";
|
|
3
|
+
import { ComputeOptimizerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateGetLambdaFunctionRecommendations(config: ComputeOptimizerPaginationConfiguration, input: GetLambdaFunctionRecommendationsCommandInput, ...additionalArguments: any): Paginator<GetLambdaFunctionRecommendationsCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { GetRecommendationPreferencesCommandInput, GetRecommendationPreferencesCommandOutput } from "../commands/GetRecommendationPreferencesCommand";
|
|
3
|
+
import { ComputeOptimizerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateGetRecommendationPreferences(config: ComputeOptimizerPaginationConfiguration, input: GetRecommendationPreferencesCommandInput, ...additionalArguments: any): Paginator<GetRecommendationPreferencesCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { GetRecommendationSummariesCommandInput, GetRecommendationSummariesCommandOutput } from "../commands/GetRecommendationSummariesCommand";
|
|
3
|
+
import { ComputeOptimizerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateGetRecommendationSummaries(config: ComputeOptimizerPaginationConfiguration, input: GetRecommendationSummariesCommandInput, ...additionalArguments: any): Paginator<GetRecommendationSummariesCommandOutput>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { ComputeOptimizer } from "../ComputeOptimizer";
|
|
3
|
+
import { ComputeOptimizerClient } from "../ComputeOptimizerClient";
|
|
4
|
+
export interface ComputeOptimizerPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
+
client: ComputeOptimizer | ComputeOptimizerClient;
|
|
6
|
+
}
|
|
@@ -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";
|
|
@@ -5,11 +5,14 @@ import { DescribeRecommendationExportJobsCommandInput, DescribeRecommendationExp
|
|
|
5
5
|
import { ExportAutoScalingGroupRecommendationsCommandInput, ExportAutoScalingGroupRecommendationsCommandOutput } from "../commands/ExportAutoScalingGroupRecommendationsCommand";
|
|
6
6
|
import { ExportEBSVolumeRecommendationsCommandInput, ExportEBSVolumeRecommendationsCommandOutput } from "../commands/ExportEBSVolumeRecommendationsCommand";
|
|
7
7
|
import { ExportEC2InstanceRecommendationsCommandInput, ExportEC2InstanceRecommendationsCommandOutput } from "../commands/ExportEC2InstanceRecommendationsCommand";
|
|
8
|
+
import { ExportECSServiceRecommendationsCommandInput, ExportECSServiceRecommendationsCommandOutput } from "../commands/ExportECSServiceRecommendationsCommand";
|
|
8
9
|
import { ExportLambdaFunctionRecommendationsCommandInput, ExportLambdaFunctionRecommendationsCommandOutput } from "../commands/ExportLambdaFunctionRecommendationsCommand";
|
|
9
10
|
import { GetAutoScalingGroupRecommendationsCommandInput, GetAutoScalingGroupRecommendationsCommandOutput } from "../commands/GetAutoScalingGroupRecommendationsCommand";
|
|
10
11
|
import { GetEBSVolumeRecommendationsCommandInput, GetEBSVolumeRecommendationsCommandOutput } from "../commands/GetEBSVolumeRecommendationsCommand";
|
|
11
12
|
import { GetEC2InstanceRecommendationsCommandInput, GetEC2InstanceRecommendationsCommandOutput } from "../commands/GetEC2InstanceRecommendationsCommand";
|
|
12
13
|
import { GetEC2RecommendationProjectedMetricsCommandInput, GetEC2RecommendationProjectedMetricsCommandOutput } from "../commands/GetEC2RecommendationProjectedMetricsCommand";
|
|
14
|
+
import { GetECSServiceRecommendationProjectedMetricsCommandInput, GetECSServiceRecommendationProjectedMetricsCommandOutput } from "../commands/GetECSServiceRecommendationProjectedMetricsCommand";
|
|
15
|
+
import { GetECSServiceRecommendationsCommandInput, GetECSServiceRecommendationsCommandOutput } from "../commands/GetECSServiceRecommendationsCommand";
|
|
13
16
|
import { GetEffectiveRecommendationPreferencesCommandInput, GetEffectiveRecommendationPreferencesCommandOutput } from "../commands/GetEffectiveRecommendationPreferencesCommand";
|
|
14
17
|
import { GetEnrollmentStatusCommandInput, GetEnrollmentStatusCommandOutput } from "../commands/GetEnrollmentStatusCommand";
|
|
15
18
|
import { GetEnrollmentStatusesForOrganizationCommandInput, GetEnrollmentStatusesForOrganizationCommandOutput } from "../commands/GetEnrollmentStatusesForOrganizationCommand";
|
|
@@ -23,11 +26,14 @@ export declare const serializeAws_json1_0DescribeRecommendationExportJobsCommand
|
|
|
23
26
|
export declare const serializeAws_json1_0ExportAutoScalingGroupRecommendationsCommand: (input: ExportAutoScalingGroupRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
27
|
export declare const serializeAws_json1_0ExportEBSVolumeRecommendationsCommand: (input: ExportEBSVolumeRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
28
|
export declare const serializeAws_json1_0ExportEC2InstanceRecommendationsCommand: (input: ExportEC2InstanceRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
|
+
export declare const serializeAws_json1_0ExportECSServiceRecommendationsCommand: (input: ExportECSServiceRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
30
|
export declare const serializeAws_json1_0ExportLambdaFunctionRecommendationsCommand: (input: ExportLambdaFunctionRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
31
|
export declare const serializeAws_json1_0GetAutoScalingGroupRecommendationsCommand: (input: GetAutoScalingGroupRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
32
|
export declare const serializeAws_json1_0GetEBSVolumeRecommendationsCommand: (input: GetEBSVolumeRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
33
|
export declare const serializeAws_json1_0GetEC2InstanceRecommendationsCommand: (input: GetEC2InstanceRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
34
|
export declare const serializeAws_json1_0GetEC2RecommendationProjectedMetricsCommand: (input: GetEC2RecommendationProjectedMetricsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
|
+
export declare const serializeAws_json1_0GetECSServiceRecommendationProjectedMetricsCommand: (input: GetECSServiceRecommendationProjectedMetricsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
36
|
+
export declare const serializeAws_json1_0GetECSServiceRecommendationsCommand: (input: GetECSServiceRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
37
|
export declare const serializeAws_json1_0GetEffectiveRecommendationPreferencesCommand: (input: GetEffectiveRecommendationPreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
38
|
export declare const serializeAws_json1_0GetEnrollmentStatusCommand: (input: GetEnrollmentStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
33
39
|
export declare const serializeAws_json1_0GetEnrollmentStatusesForOrganizationCommand: (input: GetEnrollmentStatusesForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -41,11 +47,14 @@ export declare const deserializeAws_json1_0DescribeRecommendationExportJobsComma
|
|
|
41
47
|
export declare const deserializeAws_json1_0ExportAutoScalingGroupRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportAutoScalingGroupRecommendationsCommandOutput>;
|
|
42
48
|
export declare const deserializeAws_json1_0ExportEBSVolumeRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportEBSVolumeRecommendationsCommandOutput>;
|
|
43
49
|
export declare const deserializeAws_json1_0ExportEC2InstanceRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportEC2InstanceRecommendationsCommandOutput>;
|
|
50
|
+
export declare const deserializeAws_json1_0ExportECSServiceRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportECSServiceRecommendationsCommandOutput>;
|
|
44
51
|
export declare const deserializeAws_json1_0ExportLambdaFunctionRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportLambdaFunctionRecommendationsCommandOutput>;
|
|
45
52
|
export declare const deserializeAws_json1_0GetAutoScalingGroupRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAutoScalingGroupRecommendationsCommandOutput>;
|
|
46
53
|
export declare const deserializeAws_json1_0GetEBSVolumeRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEBSVolumeRecommendationsCommandOutput>;
|
|
47
54
|
export declare const deserializeAws_json1_0GetEC2InstanceRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEC2InstanceRecommendationsCommandOutput>;
|
|
48
55
|
export declare const deserializeAws_json1_0GetEC2RecommendationProjectedMetricsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEC2RecommendationProjectedMetricsCommandOutput>;
|
|
56
|
+
export declare const deserializeAws_json1_0GetECSServiceRecommendationProjectedMetricsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetECSServiceRecommendationProjectedMetricsCommandOutput>;
|
|
57
|
+
export declare const deserializeAws_json1_0GetECSServiceRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetECSServiceRecommendationsCommandOutput>;
|
|
49
58
|
export declare const deserializeAws_json1_0GetEffectiveRecommendationPreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEffectiveRecommendationPreferencesCommandOutput>;
|
|
50
59
|
export declare const deserializeAws_json1_0GetEnrollmentStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEnrollmentStatusCommandOutput>;
|
|
51
60
|
export declare const deserializeAws_json1_0GetEnrollmentStatusesForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEnrollmentStatusesForOrganizationCommandOutput>;
|
|
@@ -19,6 +19,10 @@ import {
|
|
|
19
19
|
ExportEC2InstanceRecommendationsCommandInput,
|
|
20
20
|
ExportEC2InstanceRecommendationsCommandOutput,
|
|
21
21
|
} from "./commands/ExportEC2InstanceRecommendationsCommand";
|
|
22
|
+
import {
|
|
23
|
+
ExportECSServiceRecommendationsCommandInput,
|
|
24
|
+
ExportECSServiceRecommendationsCommandOutput,
|
|
25
|
+
} from "./commands/ExportECSServiceRecommendationsCommand";
|
|
22
26
|
import {
|
|
23
27
|
ExportLambdaFunctionRecommendationsCommandInput,
|
|
24
28
|
ExportLambdaFunctionRecommendationsCommandOutput,
|
|
@@ -39,6 +43,14 @@ import {
|
|
|
39
43
|
GetEC2RecommendationProjectedMetricsCommandInput,
|
|
40
44
|
GetEC2RecommendationProjectedMetricsCommandOutput,
|
|
41
45
|
} from "./commands/GetEC2RecommendationProjectedMetricsCommand";
|
|
46
|
+
import {
|
|
47
|
+
GetECSServiceRecommendationProjectedMetricsCommandInput,
|
|
48
|
+
GetECSServiceRecommendationProjectedMetricsCommandOutput,
|
|
49
|
+
} from "./commands/GetECSServiceRecommendationProjectedMetricsCommand";
|
|
50
|
+
import {
|
|
51
|
+
GetECSServiceRecommendationsCommandInput,
|
|
52
|
+
GetECSServiceRecommendationsCommandOutput,
|
|
53
|
+
} from "./commands/GetECSServiceRecommendationsCommand";
|
|
42
54
|
import {
|
|
43
55
|
GetEffectiveRecommendationPreferencesCommandInput,
|
|
44
56
|
GetEffectiveRecommendationPreferencesCommandOutput,
|
|
@@ -144,6 +156,19 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
|
|
|
144
156
|
options: __HttpHandlerOptions,
|
|
145
157
|
cb: (err: any, data?: ExportEC2InstanceRecommendationsCommandOutput) => void
|
|
146
158
|
): void;
|
|
159
|
+
exportECSServiceRecommendations(
|
|
160
|
+
args: ExportECSServiceRecommendationsCommandInput,
|
|
161
|
+
options?: __HttpHandlerOptions
|
|
162
|
+
): Promise<ExportECSServiceRecommendationsCommandOutput>;
|
|
163
|
+
exportECSServiceRecommendations(
|
|
164
|
+
args: ExportECSServiceRecommendationsCommandInput,
|
|
165
|
+
cb: (err: any, data?: ExportECSServiceRecommendationsCommandOutput) => void
|
|
166
|
+
): void;
|
|
167
|
+
exportECSServiceRecommendations(
|
|
168
|
+
args: ExportECSServiceRecommendationsCommandInput,
|
|
169
|
+
options: __HttpHandlerOptions,
|
|
170
|
+
cb: (err: any, data?: ExportECSServiceRecommendationsCommandOutput) => void
|
|
171
|
+
): void;
|
|
147
172
|
exportLambdaFunctionRecommendations(
|
|
148
173
|
args: ExportLambdaFunctionRecommendationsCommandInput,
|
|
149
174
|
options?: __HttpHandlerOptions
|
|
@@ -227,6 +252,38 @@ export declare class ComputeOptimizer extends ComputeOptimizerClient {
|
|
|
227
252
|
data?: GetEC2RecommendationProjectedMetricsCommandOutput
|
|
228
253
|
) => void
|
|
229
254
|
): void;
|
|
255
|
+
getECSServiceRecommendationProjectedMetrics(
|
|
256
|
+
args: GetECSServiceRecommendationProjectedMetricsCommandInput,
|
|
257
|
+
options?: __HttpHandlerOptions
|
|
258
|
+
): Promise<GetECSServiceRecommendationProjectedMetricsCommandOutput>;
|
|
259
|
+
getECSServiceRecommendationProjectedMetrics(
|
|
260
|
+
args: GetECSServiceRecommendationProjectedMetricsCommandInput,
|
|
261
|
+
cb: (
|
|
262
|
+
err: any,
|
|
263
|
+
data?: GetECSServiceRecommendationProjectedMetricsCommandOutput
|
|
264
|
+
) => void
|
|
265
|
+
): void;
|
|
266
|
+
getECSServiceRecommendationProjectedMetrics(
|
|
267
|
+
args: GetECSServiceRecommendationProjectedMetricsCommandInput,
|
|
268
|
+
options: __HttpHandlerOptions,
|
|
269
|
+
cb: (
|
|
270
|
+
err: any,
|
|
271
|
+
data?: GetECSServiceRecommendationProjectedMetricsCommandOutput
|
|
272
|
+
) => void
|
|
273
|
+
): void;
|
|
274
|
+
getECSServiceRecommendations(
|
|
275
|
+
args: GetECSServiceRecommendationsCommandInput,
|
|
276
|
+
options?: __HttpHandlerOptions
|
|
277
|
+
): Promise<GetECSServiceRecommendationsCommandOutput>;
|
|
278
|
+
getECSServiceRecommendations(
|
|
279
|
+
args: GetECSServiceRecommendationsCommandInput,
|
|
280
|
+
cb: (err: any, data?: GetECSServiceRecommendationsCommandOutput) => void
|
|
281
|
+
): void;
|
|
282
|
+
getECSServiceRecommendations(
|
|
283
|
+
args: GetECSServiceRecommendationsCommandInput,
|
|
284
|
+
options: __HttpHandlerOptions,
|
|
285
|
+
cb: (err: any, data?: GetECSServiceRecommendationsCommandOutput) => void
|
|
286
|
+
): void;
|
|
230
287
|
getEffectiveRecommendationPreferences(
|
|
231
288
|
args: GetEffectiveRecommendationPreferencesCommandInput,
|
|
232
289
|
options?: __HttpHandlerOptions
|
|
@@ -63,6 +63,10 @@ import {
|
|
|
63
63
|
ExportEC2InstanceRecommendationsCommandInput,
|
|
64
64
|
ExportEC2InstanceRecommendationsCommandOutput,
|
|
65
65
|
} from "./commands/ExportEC2InstanceRecommendationsCommand";
|
|
66
|
+
import {
|
|
67
|
+
ExportECSServiceRecommendationsCommandInput,
|
|
68
|
+
ExportECSServiceRecommendationsCommandOutput,
|
|
69
|
+
} from "./commands/ExportECSServiceRecommendationsCommand";
|
|
66
70
|
import {
|
|
67
71
|
ExportLambdaFunctionRecommendationsCommandInput,
|
|
68
72
|
ExportLambdaFunctionRecommendationsCommandOutput,
|
|
@@ -83,6 +87,14 @@ import {
|
|
|
83
87
|
GetEC2RecommendationProjectedMetricsCommandInput,
|
|
84
88
|
GetEC2RecommendationProjectedMetricsCommandOutput,
|
|
85
89
|
} from "./commands/GetEC2RecommendationProjectedMetricsCommand";
|
|
90
|
+
import {
|
|
91
|
+
GetECSServiceRecommendationProjectedMetricsCommandInput,
|
|
92
|
+
GetECSServiceRecommendationProjectedMetricsCommandOutput,
|
|
93
|
+
} from "./commands/GetECSServiceRecommendationProjectedMetricsCommand";
|
|
94
|
+
import {
|
|
95
|
+
GetECSServiceRecommendationsCommandInput,
|
|
96
|
+
GetECSServiceRecommendationsCommandOutput,
|
|
97
|
+
} from "./commands/GetECSServiceRecommendationsCommand";
|
|
86
98
|
import {
|
|
87
99
|
GetEffectiveRecommendationPreferencesCommandInput,
|
|
88
100
|
GetEffectiveRecommendationPreferencesCommandOutput,
|
|
@@ -126,11 +138,14 @@ export declare type ServiceInputTypes =
|
|
|
126
138
|
| ExportAutoScalingGroupRecommendationsCommandInput
|
|
127
139
|
| ExportEBSVolumeRecommendationsCommandInput
|
|
128
140
|
| ExportEC2InstanceRecommendationsCommandInput
|
|
141
|
+
| ExportECSServiceRecommendationsCommandInput
|
|
129
142
|
| ExportLambdaFunctionRecommendationsCommandInput
|
|
130
143
|
| GetAutoScalingGroupRecommendationsCommandInput
|
|
131
144
|
| GetEBSVolumeRecommendationsCommandInput
|
|
132
145
|
| GetEC2InstanceRecommendationsCommandInput
|
|
133
146
|
| GetEC2RecommendationProjectedMetricsCommandInput
|
|
147
|
+
| GetECSServiceRecommendationProjectedMetricsCommandInput
|
|
148
|
+
| GetECSServiceRecommendationsCommandInput
|
|
134
149
|
| GetEffectiveRecommendationPreferencesCommandInput
|
|
135
150
|
| GetEnrollmentStatusCommandInput
|
|
136
151
|
| GetEnrollmentStatusesForOrganizationCommandInput
|
|
@@ -145,11 +160,14 @@ export declare type ServiceOutputTypes =
|
|
|
145
160
|
| ExportAutoScalingGroupRecommendationsCommandOutput
|
|
146
161
|
| ExportEBSVolumeRecommendationsCommandOutput
|
|
147
162
|
| ExportEC2InstanceRecommendationsCommandOutput
|
|
163
|
+
| ExportECSServiceRecommendationsCommandOutput
|
|
148
164
|
| ExportLambdaFunctionRecommendationsCommandOutput
|
|
149
165
|
| GetAutoScalingGroupRecommendationsCommandOutput
|
|
150
166
|
| GetEBSVolumeRecommendationsCommandOutput
|
|
151
167
|
| GetEC2InstanceRecommendationsCommandOutput
|
|
152
168
|
| GetEC2RecommendationProjectedMetricsCommandOutput
|
|
169
|
+
| GetECSServiceRecommendationProjectedMetricsCommandOutput
|
|
170
|
+
| GetECSServiceRecommendationsCommandOutput
|
|
153
171
|
| GetEffectiveRecommendationPreferencesCommandOutput
|
|
154
172
|
| GetEnrollmentStatusCommandOutput
|
|
155
173
|
| GetEnrollmentStatusesForOrganizationCommandOutput
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ComputeOptimizerClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ComputeOptimizerClient";
|
|
14
|
+
import {
|
|
15
|
+
ExportECSServiceRecommendationsRequest,
|
|
16
|
+
ExportECSServiceRecommendationsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface ExportECSServiceRecommendationsCommandInput
|
|
19
|
+
extends ExportECSServiceRecommendationsRequest {}
|
|
20
|
+
export interface ExportECSServiceRecommendationsCommandOutput
|
|
21
|
+
extends ExportECSServiceRecommendationsResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ExportECSServiceRecommendationsCommand extends $Command<
|
|
24
|
+
ExportECSServiceRecommendationsCommandInput,
|
|
25
|
+
ExportECSServiceRecommendationsCommandOutput,
|
|
26
|
+
ComputeOptimizerClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ExportECSServiceRecommendationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ExportECSServiceRecommendationsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ComputeOptimizerClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
ExportECSServiceRecommendationsCommandInput,
|
|
37
|
+
ExportECSServiceRecommendationsCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ComputeOptimizerClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ComputeOptimizerClient";
|
|
14
|
+
import {
|
|
15
|
+
GetECSServiceRecommendationProjectedMetricsRequest,
|
|
16
|
+
GetECSServiceRecommendationProjectedMetricsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface GetECSServiceRecommendationProjectedMetricsCommandInput
|
|
19
|
+
extends GetECSServiceRecommendationProjectedMetricsRequest {}
|
|
20
|
+
export interface GetECSServiceRecommendationProjectedMetricsCommandOutput
|
|
21
|
+
extends GetECSServiceRecommendationProjectedMetricsResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class GetECSServiceRecommendationProjectedMetricsCommand extends $Command<
|
|
24
|
+
GetECSServiceRecommendationProjectedMetricsCommandInput,
|
|
25
|
+
GetECSServiceRecommendationProjectedMetricsCommandOutput,
|
|
26
|
+
ComputeOptimizerClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetECSServiceRecommendationProjectedMetricsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetECSServiceRecommendationProjectedMetricsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ComputeOptimizerClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
GetECSServiceRecommendationProjectedMetricsCommandInput,
|
|
37
|
+
GetECSServiceRecommendationProjectedMetricsCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ComputeOptimizerClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ComputeOptimizerClient";
|
|
14
|
+
import {
|
|
15
|
+
GetECSServiceRecommendationsRequest,
|
|
16
|
+
GetECSServiceRecommendationsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface GetECSServiceRecommendationsCommandInput
|
|
19
|
+
extends GetECSServiceRecommendationsRequest {}
|
|
20
|
+
export interface GetECSServiceRecommendationsCommandOutput
|
|
21
|
+
extends GetECSServiceRecommendationsResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class GetECSServiceRecommendationsCommand extends $Command<
|
|
24
|
+
GetECSServiceRecommendationsCommandInput,
|
|
25
|
+
GetECSServiceRecommendationsCommandOutput,
|
|
26
|
+
ComputeOptimizerClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetECSServiceRecommendationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetECSServiceRecommendationsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ComputeOptimizerClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
GetECSServiceRecommendationsCommandInput,
|
|
37
|
+
GetECSServiceRecommendationsCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -3,11 +3,14 @@ export * from "./DescribeRecommendationExportJobsCommand";
|
|
|
3
3
|
export * from "./ExportAutoScalingGroupRecommendationsCommand";
|
|
4
4
|
export * from "./ExportEBSVolumeRecommendationsCommand";
|
|
5
5
|
export * from "./ExportEC2InstanceRecommendationsCommand";
|
|
6
|
+
export * from "./ExportECSServiceRecommendationsCommand";
|
|
6
7
|
export * from "./ExportLambdaFunctionRecommendationsCommand";
|
|
7
8
|
export * from "./GetAutoScalingGroupRecommendationsCommand";
|
|
8
9
|
export * from "./GetEBSVolumeRecommendationsCommand";
|
|
9
10
|
export * from "./GetEC2InstanceRecommendationsCommand";
|
|
10
11
|
export * from "./GetEC2RecommendationProjectedMetricsCommand";
|
|
12
|
+
export * from "./GetECSServiceRecommendationProjectedMetricsCommand";
|
|
13
|
+
export * from "./GetECSServiceRecommendationsCommand";
|
|
11
14
|
export * from "./GetEffectiveRecommendationPreferencesCommand";
|
|
12
15
|
export * from "./GetEnrollmentStatusCommand";
|
|
13
16
|
export * from "./GetEnrollmentStatusesForOrganizationCommand";
|
|
@@ -19,6 +19,10 @@ export interface AccountEnrollmentStatus {
|
|
|
19
19
|
statusReason?: string;
|
|
20
20
|
lastUpdatedTimestamp?: Date;
|
|
21
21
|
}
|
|
22
|
+
export declare enum AutoScalingConfiguration {
|
|
23
|
+
TARGET_TRACKING_SCALING_CPU = "TargetTrackingScalingCpu",
|
|
24
|
+
TARGET_TRACKING_SCALING_MEMORY = "TargetTrackingScalingMemory",
|
|
25
|
+
}
|
|
22
26
|
export interface AutoScalingGroupConfiguration {
|
|
23
27
|
desiredCapacity?: number;
|
|
24
28
|
minSize?: number;
|
|
@@ -147,6 +151,7 @@ export declare enum ResourceType {
|
|
|
147
151
|
AUTO_SCALING_GROUP = "AutoScalingGroup",
|
|
148
152
|
EBS_VOLUME = "EbsVolume",
|
|
149
153
|
EC2_INSTANCE = "Ec2Instance",
|
|
154
|
+
ECS_SERVICE = "EcsService",
|
|
150
155
|
LAMBDA_FUNCTION = "LambdaFunction",
|
|
151
156
|
NOT_APPLICABLE = "NotApplicable",
|
|
152
157
|
}
|
|
@@ -469,6 +474,51 @@ export interface ExportEC2InstanceRecommendationsResponse {
|
|
|
469
474
|
jobId?: string;
|
|
470
475
|
s3Destination?: S3Destination;
|
|
471
476
|
}
|
|
477
|
+
export declare enum ExportableECSServiceField {
|
|
478
|
+
ACCOUNT_ID = "AccountId",
|
|
479
|
+
CURRENT_PERFORMANCE_RISK = "CurrentPerformanceRisk",
|
|
480
|
+
CURRENT_SERVICE_CONFIGURATION_AUTO_SCALING_CONFIGURATION = "CurrentServiceConfigurationAutoScalingConfiguration",
|
|
481
|
+
CURRENT_SERVICE_CONFIGURATION_CPU = "CurrentServiceConfigurationCpu",
|
|
482
|
+
CURRENT_SERVICE_CONFIGURATION_MEMORY = "CurrentServiceConfigurationMemory",
|
|
483
|
+
CURRENT_SERVICE_CONFIGURATION_TASK_DEFINITION_ARN = "CurrentServiceConfigurationTaskDefinitionArn",
|
|
484
|
+
CURRENT_SERVICE_CONTAINER_CONFIGURATIONS = "CurrentServiceContainerConfigurations",
|
|
485
|
+
FINDING = "Finding",
|
|
486
|
+
FINDING_REASON_CODES = "FindingReasonCodes",
|
|
487
|
+
LAST_REFRESH_TIMESTAMP = "LastRefreshTimestamp",
|
|
488
|
+
LAUNCH_TYPE = "LaunchType",
|
|
489
|
+
LOOKBACK_PERIOD_IN_DAYS = "LookbackPeriodInDays",
|
|
490
|
+
RECOMMENDATION_OPTIONS_CONTAINER_RECOMMENDATIONS = "RecommendationOptionsContainerRecommendations",
|
|
491
|
+
RECOMMENDATION_OPTIONS_CPU = "RecommendationOptionsCpu",
|
|
492
|
+
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY = "RecommendationOptionsEstimatedMonthlySavingsCurrency",
|
|
493
|
+
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE = "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
494
|
+
RECOMMENDATION_OPTIONS_MEMORY = "RecommendationOptionsMemory",
|
|
495
|
+
RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_CPU_MAXIMUM = "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum",
|
|
496
|
+
RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_MEMORY_MAXIMUM = "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum",
|
|
497
|
+
RECOMMENDATION_OPTIONS_SAVINGS_OPPORTUNITY_PERCENTAGE = "RecommendationOptionsSavingsOpportunityPercentage",
|
|
498
|
+
SERVICE_ARN = "ServiceArn",
|
|
499
|
+
UTILIZATION_METRICS_CPU_MAXIMUM = "UtilizationMetricsCpuMaximum",
|
|
500
|
+
UTILIZATION_METRICS_MEMORY_MAXIMUM = "UtilizationMetricsMemoryMaximum",
|
|
501
|
+
}
|
|
502
|
+
export declare enum ECSServiceRecommendationFilterName {
|
|
503
|
+
FINDING = "Finding",
|
|
504
|
+
FINDING_REASON_CODE = "FindingReasonCode",
|
|
505
|
+
}
|
|
506
|
+
export interface ECSServiceRecommendationFilter {
|
|
507
|
+
name?: ECSServiceRecommendationFilterName | string;
|
|
508
|
+
values?: string[];
|
|
509
|
+
}
|
|
510
|
+
export interface ExportECSServiceRecommendationsRequest {
|
|
511
|
+
accountIds?: string[];
|
|
512
|
+
filters?: ECSServiceRecommendationFilter[];
|
|
513
|
+
fieldsToExport?: (ExportableECSServiceField | string)[];
|
|
514
|
+
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
515
|
+
fileFormat?: FileFormat | string;
|
|
516
|
+
includeMemberAccounts?: boolean;
|
|
517
|
+
}
|
|
518
|
+
export interface ExportECSServiceRecommendationsResponse {
|
|
519
|
+
jobId?: string;
|
|
520
|
+
s3Destination?: S3Destination;
|
|
521
|
+
}
|
|
472
522
|
export declare enum ExportableLambdaFunctionField {
|
|
473
523
|
ACCOUNT_ID = "AccountId",
|
|
474
524
|
CURRENT_CONFIGURATION_MEMORY_SIZE = "CurrentConfigurationMemorySize",
|
|
@@ -634,6 +684,7 @@ export declare enum RecommendationSourceType {
|
|
|
634
684
|
AUTO_SCALING_GROUP = "AutoScalingGroup",
|
|
635
685
|
EBS_VOLUME = "EbsVolume",
|
|
636
686
|
EC2_INSTANCE = "Ec2Instance",
|
|
687
|
+
ECS_SERVICE = "EcsService",
|
|
637
688
|
LAMBDA_FUNCTION = "LambdaFunction",
|
|
638
689
|
}
|
|
639
690
|
export interface RecommendationSource {
|
|
@@ -682,6 +733,114 @@ export interface RecommendedOptionProjectedMetric {
|
|
|
682
733
|
export interface GetEC2RecommendationProjectedMetricsResponse {
|
|
683
734
|
recommendedOptionProjectedMetrics?: RecommendedOptionProjectedMetric[];
|
|
684
735
|
}
|
|
736
|
+
export interface GetECSServiceRecommendationProjectedMetricsRequest {
|
|
737
|
+
serviceArn: string | undefined;
|
|
738
|
+
stat: MetricStatistic | string | undefined;
|
|
739
|
+
period: number | undefined;
|
|
740
|
+
startTime: Date | undefined;
|
|
741
|
+
endTime: Date | undefined;
|
|
742
|
+
}
|
|
743
|
+
export declare enum ECSServiceMetricName {
|
|
744
|
+
CPU = "Cpu",
|
|
745
|
+
MEMORY = "Memory",
|
|
746
|
+
}
|
|
747
|
+
export interface ECSServiceProjectedMetric {
|
|
748
|
+
name?: ECSServiceMetricName | string;
|
|
749
|
+
timestamps?: Date[];
|
|
750
|
+
upperBoundValues?: number[];
|
|
751
|
+
lowerBoundValues?: number[];
|
|
752
|
+
}
|
|
753
|
+
export interface ECSServiceRecommendedOptionProjectedMetric {
|
|
754
|
+
recommendedCpuUnits?: number;
|
|
755
|
+
recommendedMemorySize?: number;
|
|
756
|
+
projectedMetrics?: ECSServiceProjectedMetric[];
|
|
757
|
+
}
|
|
758
|
+
export interface GetECSServiceRecommendationProjectedMetricsResponse {
|
|
759
|
+
recommendedOptionProjectedMetrics?: ECSServiceRecommendedOptionProjectedMetric[];
|
|
760
|
+
}
|
|
761
|
+
export interface GetECSServiceRecommendationsRequest {
|
|
762
|
+
serviceArns?: string[];
|
|
763
|
+
nextToken?: string;
|
|
764
|
+
maxResults?: number;
|
|
765
|
+
filters?: ECSServiceRecommendationFilter[];
|
|
766
|
+
accountIds?: string[];
|
|
767
|
+
}
|
|
768
|
+
export interface MemorySizeConfiguration {
|
|
769
|
+
memory?: number;
|
|
770
|
+
memoryReservation?: number;
|
|
771
|
+
}
|
|
772
|
+
export interface ContainerConfiguration {
|
|
773
|
+
containerName?: string;
|
|
774
|
+
memorySizeConfiguration?: MemorySizeConfiguration;
|
|
775
|
+
cpu?: number;
|
|
776
|
+
}
|
|
777
|
+
export interface ServiceConfiguration {
|
|
778
|
+
memory?: number;
|
|
779
|
+
cpu?: number;
|
|
780
|
+
containerConfigurations?: ContainerConfiguration[];
|
|
781
|
+
autoScalingConfiguration?: AutoScalingConfiguration | string;
|
|
782
|
+
taskDefinitionArn?: string;
|
|
783
|
+
}
|
|
784
|
+
export declare enum ECSServiceRecommendationFinding {
|
|
785
|
+
OPTIMIZED = "Optimized",
|
|
786
|
+
OVER_PROVISIONED = "Overprovisioned",
|
|
787
|
+
UNDER_PROVISIONED = "Underprovisioned",
|
|
788
|
+
}
|
|
789
|
+
export declare enum ECSServiceRecommendationFindingReasonCode {
|
|
790
|
+
CPU_OVER_PROVISIONED = "CPUOverprovisioned",
|
|
791
|
+
CPU_UNDER_PROVISIONED = "CPUUnderprovisioned",
|
|
792
|
+
MEMORY_OVER_PROVISIONED = "MemoryOverprovisioned",
|
|
793
|
+
MEMORY_UNDER_PROVISIONED = "MemoryUnderprovisioned",
|
|
794
|
+
}
|
|
795
|
+
export declare enum ECSServiceLaunchType {
|
|
796
|
+
EC2 = "EC2",
|
|
797
|
+
FARGATE = "Fargate",
|
|
798
|
+
}
|
|
799
|
+
export interface ContainerRecommendation {
|
|
800
|
+
containerName?: string;
|
|
801
|
+
memorySizeConfiguration?: MemorySizeConfiguration;
|
|
802
|
+
cpu?: number;
|
|
803
|
+
}
|
|
804
|
+
export declare enum ECSServiceMetricStatistic {
|
|
805
|
+
AVERAGE = "Average",
|
|
806
|
+
MAXIMUM = "Maximum",
|
|
807
|
+
}
|
|
808
|
+
export interface ECSServiceProjectedUtilizationMetric {
|
|
809
|
+
name?: ECSServiceMetricName | string;
|
|
810
|
+
statistic?: ECSServiceMetricStatistic | string;
|
|
811
|
+
lowerBoundValue?: number;
|
|
812
|
+
upperBoundValue?: number;
|
|
813
|
+
}
|
|
814
|
+
export interface ECSServiceRecommendationOption {
|
|
815
|
+
memory?: number;
|
|
816
|
+
cpu?: number;
|
|
817
|
+
savingsOpportunity?: SavingsOpportunity;
|
|
818
|
+
projectedUtilizationMetrics?: ECSServiceProjectedUtilizationMetric[];
|
|
819
|
+
containerRecommendations?: ContainerRecommendation[];
|
|
820
|
+
}
|
|
821
|
+
export interface ECSServiceUtilizationMetric {
|
|
822
|
+
name?: ECSServiceMetricName | string;
|
|
823
|
+
statistic?: ECSServiceMetricStatistic | string;
|
|
824
|
+
value?: number;
|
|
825
|
+
}
|
|
826
|
+
export interface ECSServiceRecommendation {
|
|
827
|
+
serviceArn?: string;
|
|
828
|
+
accountId?: string;
|
|
829
|
+
currentServiceConfiguration?: ServiceConfiguration;
|
|
830
|
+
utilizationMetrics?: ECSServiceUtilizationMetric[];
|
|
831
|
+
lookbackPeriodInDays?: number;
|
|
832
|
+
launchType?: ECSServiceLaunchType | string;
|
|
833
|
+
lastRefreshTimestamp?: Date;
|
|
834
|
+
finding?: ECSServiceRecommendationFinding | string;
|
|
835
|
+
findingReasonCodes?: (ECSServiceRecommendationFindingReasonCode | string)[];
|
|
836
|
+
serviceRecommendationOptions?: ECSServiceRecommendationOption[];
|
|
837
|
+
currentPerformanceRisk?: CurrentPerformanceRisk | string;
|
|
838
|
+
}
|
|
839
|
+
export interface GetECSServiceRecommendationsResponse {
|
|
840
|
+
nextToken?: string;
|
|
841
|
+
ecsServiceRecommendations?: ECSServiceRecommendation[];
|
|
842
|
+
errors?: GetRecommendationError[];
|
|
843
|
+
}
|
|
685
844
|
export interface GetEffectiveRecommendationPreferencesRequest {
|
|
686
845
|
resourceArn: string | undefined;
|
|
687
846
|
}
|
|
@@ -928,6 +1087,15 @@ export declare const ExportEC2InstanceRecommendationsRequestFilterSensitiveLog:
|
|
|
928
1087
|
export declare const ExportEC2InstanceRecommendationsResponseFilterSensitiveLog: (
|
|
929
1088
|
obj: ExportEC2InstanceRecommendationsResponse
|
|
930
1089
|
) => any;
|
|
1090
|
+
export declare const ECSServiceRecommendationFilterFilterSensitiveLog: (
|
|
1091
|
+
obj: ECSServiceRecommendationFilter
|
|
1092
|
+
) => any;
|
|
1093
|
+
export declare const ExportECSServiceRecommendationsRequestFilterSensitiveLog: (
|
|
1094
|
+
obj: ExportECSServiceRecommendationsRequest
|
|
1095
|
+
) => any;
|
|
1096
|
+
export declare const ExportECSServiceRecommendationsResponseFilterSensitiveLog: (
|
|
1097
|
+
obj: ExportECSServiceRecommendationsResponse
|
|
1098
|
+
) => any;
|
|
931
1099
|
export declare const LambdaFunctionRecommendationFilterFilterSensitiveLog: (
|
|
932
1100
|
obj: LambdaFunctionRecommendationFilter
|
|
933
1101
|
) => any;
|
|
@@ -991,6 +1159,48 @@ export declare const RecommendedOptionProjectedMetricFilterSensitiveLog: (
|
|
|
991
1159
|
export declare const GetEC2RecommendationProjectedMetricsResponseFilterSensitiveLog: (
|
|
992
1160
|
obj: GetEC2RecommendationProjectedMetricsResponse
|
|
993
1161
|
) => any;
|
|
1162
|
+
export declare const GetECSServiceRecommendationProjectedMetricsRequestFilterSensitiveLog: (
|
|
1163
|
+
obj: GetECSServiceRecommendationProjectedMetricsRequest
|
|
1164
|
+
) => any;
|
|
1165
|
+
export declare const ECSServiceProjectedMetricFilterSensitiveLog: (
|
|
1166
|
+
obj: ECSServiceProjectedMetric
|
|
1167
|
+
) => any;
|
|
1168
|
+
export declare const ECSServiceRecommendedOptionProjectedMetricFilterSensitiveLog: (
|
|
1169
|
+
obj: ECSServiceRecommendedOptionProjectedMetric
|
|
1170
|
+
) => any;
|
|
1171
|
+
export declare const GetECSServiceRecommendationProjectedMetricsResponseFilterSensitiveLog: (
|
|
1172
|
+
obj: GetECSServiceRecommendationProjectedMetricsResponse
|
|
1173
|
+
) => any;
|
|
1174
|
+
export declare const GetECSServiceRecommendationsRequestFilterSensitiveLog: (
|
|
1175
|
+
obj: GetECSServiceRecommendationsRequest
|
|
1176
|
+
) => any;
|
|
1177
|
+
export declare const MemorySizeConfigurationFilterSensitiveLog: (
|
|
1178
|
+
obj: MemorySizeConfiguration
|
|
1179
|
+
) => any;
|
|
1180
|
+
export declare const ContainerConfigurationFilterSensitiveLog: (
|
|
1181
|
+
obj: ContainerConfiguration
|
|
1182
|
+
) => any;
|
|
1183
|
+
export declare const ServiceConfigurationFilterSensitiveLog: (
|
|
1184
|
+
obj: ServiceConfiguration
|
|
1185
|
+
) => any;
|
|
1186
|
+
export declare const ContainerRecommendationFilterSensitiveLog: (
|
|
1187
|
+
obj: ContainerRecommendation
|
|
1188
|
+
) => any;
|
|
1189
|
+
export declare const ECSServiceProjectedUtilizationMetricFilterSensitiveLog: (
|
|
1190
|
+
obj: ECSServiceProjectedUtilizationMetric
|
|
1191
|
+
) => any;
|
|
1192
|
+
export declare const ECSServiceRecommendationOptionFilterSensitiveLog: (
|
|
1193
|
+
obj: ECSServiceRecommendationOption
|
|
1194
|
+
) => any;
|
|
1195
|
+
export declare const ECSServiceUtilizationMetricFilterSensitiveLog: (
|
|
1196
|
+
obj: ECSServiceUtilizationMetric
|
|
1197
|
+
) => any;
|
|
1198
|
+
export declare const ECSServiceRecommendationFilterSensitiveLog: (
|
|
1199
|
+
obj: ECSServiceRecommendation
|
|
1200
|
+
) => any;
|
|
1201
|
+
export declare const GetECSServiceRecommendationsResponseFilterSensitiveLog: (
|
|
1202
|
+
obj: GetECSServiceRecommendationsResponse
|
|
1203
|
+
) => any;
|
|
994
1204
|
export declare const GetEffectiveRecommendationPreferencesRequestFilterSensitiveLog: (
|
|
995
1205
|
obj: GetEffectiveRecommendationPreferencesRequest
|
|
996
1206
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
DescribeRecommendationExportJobsCommandInput,
|
|
4
|
+
DescribeRecommendationExportJobsCommandOutput,
|
|
5
|
+
} from "../commands/DescribeRecommendationExportJobsCommand";
|
|
6
|
+
import { ComputeOptimizerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateDescribeRecommendationExportJobs(
|
|
8
|
+
config: ComputeOptimizerPaginationConfiguration,
|
|
9
|
+
input: DescribeRecommendationExportJobsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<DescribeRecommendationExportJobsCommandOutput>;
|