@aws-sdk/client-compute-optimizer 3.478.0 → 3.484.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/commands/DeleteRecommendationPreferencesCommand.js +18 -41
- package/dist-cjs/commands/DescribeRecommendationExportJobsCommand.js +18 -41
- package/dist-cjs/commands/ExportAutoScalingGroupRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/ExportEBSVolumeRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/ExportEC2InstanceRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/ExportECSServiceRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/ExportLambdaFunctionRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/ExportLicenseRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/GetAutoScalingGroupRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/GetEBSVolumeRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/GetEC2InstanceRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/GetEC2RecommendationProjectedMetricsCommand.js +18 -41
- package/dist-cjs/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +18 -41
- package/dist-cjs/commands/GetECSServiceRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/GetEffectiveRecommendationPreferencesCommand.js +18 -41
- package/dist-cjs/commands/GetEnrollmentStatusCommand.js +18 -41
- package/dist-cjs/commands/GetEnrollmentStatusesForOrganizationCommand.js +18 -41
- package/dist-cjs/commands/GetLambdaFunctionRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/GetLicenseRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/GetRecommendationPreferencesCommand.js +18 -41
- package/dist-cjs/commands/GetRecommendationSummariesCommand.js +18 -41
- package/dist-cjs/commands/PutRecommendationPreferencesCommand.js +18 -41
- package/dist-cjs/commands/UpdateEnrollmentStatusCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/DeleteRecommendationPreferencesCommand.js +18 -41
- package/dist-es/commands/DescribeRecommendationExportJobsCommand.js +18 -41
- package/dist-es/commands/ExportAutoScalingGroupRecommendationsCommand.js +18 -41
- package/dist-es/commands/ExportEBSVolumeRecommendationsCommand.js +18 -41
- package/dist-es/commands/ExportEC2InstanceRecommendationsCommand.js +18 -41
- package/dist-es/commands/ExportECSServiceRecommendationsCommand.js +18 -41
- package/dist-es/commands/ExportLambdaFunctionRecommendationsCommand.js +18 -41
- package/dist-es/commands/ExportLicenseRecommendationsCommand.js +18 -41
- package/dist-es/commands/GetAutoScalingGroupRecommendationsCommand.js +18 -41
- package/dist-es/commands/GetEBSVolumeRecommendationsCommand.js +18 -41
- package/dist-es/commands/GetEC2InstanceRecommendationsCommand.js +18 -41
- package/dist-es/commands/GetEC2RecommendationProjectedMetricsCommand.js +18 -41
- package/dist-es/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +18 -41
- package/dist-es/commands/GetECSServiceRecommendationsCommand.js +18 -41
- package/dist-es/commands/GetEffectiveRecommendationPreferencesCommand.js +18 -41
- package/dist-es/commands/GetEnrollmentStatusCommand.js +18 -41
- package/dist-es/commands/GetEnrollmentStatusesForOrganizationCommand.js +18 -41
- package/dist-es/commands/GetLambdaFunctionRecommendationsCommand.js +18 -41
- package/dist-es/commands/GetLicenseRecommendationsCommand.js +18 -41
- package/dist-es/commands/GetRecommendationPreferencesCommand.js +18 -41
- package/dist-es/commands/GetRecommendationSummariesCommand.js +18 -41
- package/dist-es/commands/PutRecommendationPreferencesCommand.js +18 -41
- package/dist-es/commands/UpdateEnrollmentStatusCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +6 -21
- package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/ExportECSServiceRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/ExportLicenseRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +6 -21
- package/dist-types/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +6 -21
- package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +6 -21
- package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +6 -21
- package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/GetLicenseRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +6 -21
- package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +6 -21
- package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteRecommendationPreferencesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRecommendationExportJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExportEBSVolumeRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExportEC2InstanceRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExportECSServiceRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExportLicenseRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEBSVolumeRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEC2InstanceRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetECSServiceRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEnrollmentStatusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetLambdaFunctionRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetLicenseRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetRecommendationPreferencesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetRecommendationSummariesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutRecommendationPreferencesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateEnrollmentStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ExportEC2InstanceRecommendationsCommand, se_ExportEC2InstanceRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ExportEC2InstanceRecommendationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ComputeOptimizerClient";
|
|
26
|
-
const commandName = "ExportEC2InstanceRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "ExportEC2InstanceRecommendations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ExportEC2InstanceRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ExportEC2InstanceRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ExportEC2InstanceRecommendationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ComputeOptimizerService", "ExportEC2InstanceRecommendations", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "ExportEC2InstanceRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ExportEC2InstanceRecommendationsCommand)
|
|
22
|
+
.de(de_ExportEC2InstanceRecommendationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ExportECSServiceRecommendationsCommand, se_ExportECSServiceRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ExportECSServiceRecommendationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ComputeOptimizerClient";
|
|
26
|
-
const commandName = "ExportECSServiceRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "ExportECSServiceRecommendations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ExportECSServiceRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ExportECSServiceRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ExportECSServiceRecommendationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ComputeOptimizerService", "ExportECSServiceRecommendations", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "ExportECSServiceRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ExportECSServiceRecommendationsCommand)
|
|
22
|
+
.de(de_ExportECSServiceRecommendationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ExportLambdaFunctionRecommendationsCommand, se_ExportLambdaFunctionRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ExportLambdaFunctionRecommendationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ComputeOptimizerClient";
|
|
26
|
-
const commandName = "ExportLambdaFunctionRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "ExportLambdaFunctionRecommendations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ExportLambdaFunctionRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ExportLambdaFunctionRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ExportLambdaFunctionRecommendationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ComputeOptimizerService", "ExportLambdaFunctionRecommendations", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "ExportLambdaFunctionRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ExportLambdaFunctionRecommendationsCommand)
|
|
22
|
+
.de(de_ExportLambdaFunctionRecommendationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ExportLicenseRecommendationsCommand, se_ExportLicenseRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ExportLicenseRecommendationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ComputeOptimizerClient";
|
|
26
|
-
const commandName = "ExportLicenseRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "ExportLicenseRecommendations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ExportLicenseRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ExportLicenseRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ExportLicenseRecommendationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ComputeOptimizerService", "ExportLicenseRecommendations", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "ExportLicenseRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ExportLicenseRecommendationsCommand)
|
|
22
|
+
.de(de_ExportLicenseRecommendationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetAutoScalingGroupRecommendationsCommand, se_GetAutoScalingGroupRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetAutoScalingGroupRecommendationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ComputeOptimizerClient";
|
|
26
|
-
const commandName = "GetAutoScalingGroupRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetAutoScalingGroupRecommendations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetAutoScalingGroupRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetAutoScalingGroupRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetAutoScalingGroupRecommendationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ComputeOptimizerService", "GetAutoScalingGroupRecommendations", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetAutoScalingGroupRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetAutoScalingGroupRecommendationsCommand)
|
|
22
|
+
.de(de_GetAutoScalingGroupRecommendationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetEBSVolumeRecommendationsCommand, se_GetEBSVolumeRecommendationsCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetEBSVolumeRecommendationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ComputeOptimizerClient";
|
|
26
|
-
const commandName = "GetEBSVolumeRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetEBSVolumeRecommendations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetEBSVolumeRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetEBSVolumeRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetEBSVolumeRecommendationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ComputeOptimizerService", "GetEBSVolumeRecommendations", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetEBSVolumeRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetEBSVolumeRecommendationsCommand)
|
|
22
|
+
.de(de_GetEBSVolumeRecommendationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetEC2InstanceRecommendationsCommand, se_GetEC2InstanceRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetEC2InstanceRecommendationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ComputeOptimizerClient";
|
|
26
|
-
const commandName = "GetEC2InstanceRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetEC2InstanceRecommendations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetEC2InstanceRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetEC2InstanceRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetEC2InstanceRecommendationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ComputeOptimizerService", "GetEC2InstanceRecommendations", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetEC2InstanceRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetEC2InstanceRecommendationsCommand)
|
|
22
|
+
.de(de_GetEC2InstanceRecommendationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetEC2RecommendationProjectedMetricsCommand, se_GetEC2RecommendationProjectedMetricsCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetEC2RecommendationProjectedMetricsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ComputeOptimizerClient";
|
|
26
|
-
const commandName = "GetEC2RecommendationProjectedMetricsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetEC2RecommendationProjectedMetrics",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetEC2RecommendationProjectedMetricsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetEC2RecommendationProjectedMetricsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetEC2RecommendationProjectedMetricsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ComputeOptimizerService", "GetEC2RecommendationProjectedMetrics", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetEC2RecommendationProjectedMetricsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetEC2RecommendationProjectedMetricsCommand)
|
|
22
|
+
.de(de_GetEC2RecommendationProjectedMetricsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetECSServiceRecommendationProjectedMetricsCommand, se_GetECSServiceRecommendationProjectedMetricsCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetECSServiceRecommendationProjectedMetricsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ComputeOptimizerClient";
|
|
26
|
-
const commandName = "GetECSServiceRecommendationProjectedMetricsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetECSServiceRecommendationProjectedMetrics",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetECSServiceRecommendationProjectedMetricsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetECSServiceRecommendationProjectedMetricsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetECSServiceRecommendationProjectedMetricsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ComputeOptimizerService", "GetECSServiceRecommendationProjectedMetrics", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetECSServiceRecommendationProjectedMetricsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetECSServiceRecommendationProjectedMetricsCommand)
|
|
22
|
+
.de(de_GetECSServiceRecommendationProjectedMetricsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|