@aws-sdk/client-compute-optimizer 3.927.0 → 3.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2103 -1875
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ComputeOptimizerClient.js +2 -0
- package/dist-es/commands/DeleteRecommendationPreferencesCommand.js +3 -9
- package/dist-es/commands/DescribeRecommendationExportJobsCommand.js +3 -9
- package/dist-es/commands/ExportAutoScalingGroupRecommendationsCommand.js +3 -9
- package/dist-es/commands/ExportEBSVolumeRecommendationsCommand.js +3 -9
- package/dist-es/commands/ExportEC2InstanceRecommendationsCommand.js +3 -9
- package/dist-es/commands/ExportECSServiceRecommendationsCommand.js +3 -9
- package/dist-es/commands/ExportIdleRecommendationsCommand.js +3 -9
- package/dist-es/commands/ExportLambdaFunctionRecommendationsCommand.js +3 -9
- package/dist-es/commands/ExportLicenseRecommendationsCommand.js +3 -9
- package/dist-es/commands/ExportRDSDatabaseRecommendationsCommand.js +3 -9
- package/dist-es/commands/GetAutoScalingGroupRecommendationsCommand.js +3 -9
- package/dist-es/commands/GetEBSVolumeRecommendationsCommand.js +3 -9
- package/dist-es/commands/GetEC2InstanceRecommendationsCommand.js +3 -9
- package/dist-es/commands/GetEC2RecommendationProjectedMetricsCommand.js +3 -9
- package/dist-es/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +3 -9
- package/dist-es/commands/GetECSServiceRecommendationsCommand.js +3 -9
- package/dist-es/commands/GetEffectiveRecommendationPreferencesCommand.js +3 -9
- package/dist-es/commands/GetEnrollmentStatusCommand.js +3 -9
- package/dist-es/commands/GetEnrollmentStatusesForOrganizationCommand.js +3 -9
- package/dist-es/commands/GetIdleRecommendationsCommand.js +3 -9
- package/dist-es/commands/GetLambdaFunctionRecommendationsCommand.js +3 -9
- package/dist-es/commands/GetLicenseRecommendationsCommand.js +3 -9
- package/dist-es/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.js +3 -9
- package/dist-es/commands/GetRDSDatabaseRecommendationsCommand.js +3 -9
- package/dist-es/commands/GetRecommendationPreferencesCommand.js +3 -9
- package/dist-es/commands/GetRecommendationSummariesCommand.js +3 -9
- package/dist-es/commands/PutRecommendationPreferencesCommand.js +3 -9
- package/dist-es/commands/UpdateEnrollmentStatusCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2050 -0
- package/dist-types/ComputeOptimizerClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +291 -0
- package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +296 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_0.js +0 -1656
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -254
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -341
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_0Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.computeoptimizer",
|
|
32
|
+
serviceTarget: "ComputeOptimizerService",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "Compute Optimizer",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class ComputeOptimizerClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteRecommendationPreferences } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteRecommendationPreferencesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "DeleteRecommendationPreferences", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "DeleteRecommendationPreferencesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteRecommendationPreferencesCommand)
|
|
20
|
-
.de(de_DeleteRecommendationPreferencesCommand)
|
|
14
|
+
.sc(DeleteRecommendationPreferences)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeRecommendationExportJobs } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeRecommendationExportJobsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "DescribeRecommendationExportJobs", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "DescribeRecommendationExportJobsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeRecommendationExportJobsCommand)
|
|
20
|
-
.de(de_DescribeRecommendationExportJobsCommand)
|
|
14
|
+
.sc(DescribeRecommendationExportJobs)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ExportAutoScalingGroupRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ExportAutoScalingGroupRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "ExportAutoScalingGroupRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "ExportAutoScalingGroupRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ExportAutoScalingGroupRecommendationsCommand)
|
|
20
|
-
.de(de_ExportAutoScalingGroupRecommendationsCommand)
|
|
14
|
+
.sc(ExportAutoScalingGroupRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ExportEBSVolumeRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ExportEBSVolumeRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "ExportEBSVolumeRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "ExportEBSVolumeRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ExportEBSVolumeRecommendationsCommand)
|
|
20
|
-
.de(de_ExportEBSVolumeRecommendationsCommand)
|
|
14
|
+
.sc(ExportEBSVolumeRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ExportEC2InstanceRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ExportEC2InstanceRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "ExportEC2InstanceRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "ExportEC2InstanceRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ExportEC2InstanceRecommendationsCommand)
|
|
20
|
-
.de(de_ExportEC2InstanceRecommendationsCommand)
|
|
14
|
+
.sc(ExportEC2InstanceRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ExportECSServiceRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ExportECSServiceRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "ExportECSServiceRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "ExportECSServiceRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ExportECSServiceRecommendationsCommand)
|
|
20
|
-
.de(de_ExportECSServiceRecommendationsCommand)
|
|
14
|
+
.sc(ExportECSServiceRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ExportIdleRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ExportIdleRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "ExportIdleRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "ExportIdleRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ExportIdleRecommendationsCommand)
|
|
20
|
-
.de(de_ExportIdleRecommendationsCommand)
|
|
14
|
+
.sc(ExportIdleRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ExportLambdaFunctionRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ExportLambdaFunctionRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "ExportLambdaFunctionRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "ExportLambdaFunctionRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ExportLambdaFunctionRecommendationsCommand)
|
|
20
|
-
.de(de_ExportLambdaFunctionRecommendationsCommand)
|
|
14
|
+
.sc(ExportLambdaFunctionRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ExportLicenseRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ExportLicenseRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "ExportLicenseRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "ExportLicenseRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ExportLicenseRecommendationsCommand)
|
|
20
|
-
.de(de_ExportLicenseRecommendationsCommand)
|
|
14
|
+
.sc(ExportLicenseRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ExportRDSDatabaseRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ExportRDSDatabaseRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "ExportRDSDatabaseRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "ExportRDSDatabaseRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ExportRDSDatabaseRecommendationsCommand)
|
|
20
|
-
.de(de_ExportRDSDatabaseRecommendationsCommand)
|
|
14
|
+
.sc(ExportRDSDatabaseRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetAutoScalingGroupRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetAutoScalingGroupRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "GetAutoScalingGroupRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "GetAutoScalingGroupRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetAutoScalingGroupRecommendationsCommand)
|
|
20
|
-
.de(de_GetAutoScalingGroupRecommendationsCommand)
|
|
14
|
+
.sc(GetAutoScalingGroupRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetEBSVolumeRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetEBSVolumeRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "GetEBSVolumeRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "GetEBSVolumeRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetEBSVolumeRecommendationsCommand)
|
|
20
|
-
.de(de_GetEBSVolumeRecommendationsCommand)
|
|
14
|
+
.sc(GetEBSVolumeRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetEC2InstanceRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetEC2InstanceRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "GetEC2InstanceRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "GetEC2InstanceRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetEC2InstanceRecommendationsCommand)
|
|
20
|
-
.de(de_GetEC2InstanceRecommendationsCommand)
|
|
14
|
+
.sc(GetEC2InstanceRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetEC2RecommendationProjectedMetrics } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetEC2RecommendationProjectedMetricsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "GetEC2RecommendationProjectedMetrics", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "GetEC2RecommendationProjectedMetricsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetEC2RecommendationProjectedMetricsCommand)
|
|
20
|
-
.de(de_GetEC2RecommendationProjectedMetricsCommand)
|
|
14
|
+
.sc(GetEC2RecommendationProjectedMetrics)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetECSServiceRecommendationProjectedMetrics } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetECSServiceRecommendationProjectedMetricsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "GetECSServiceRecommendationProjectedMetrics", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "GetECSServiceRecommendationProjectedMetricsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetECSServiceRecommendationProjectedMetricsCommand)
|
|
20
|
-
.de(de_GetECSServiceRecommendationProjectedMetricsCommand)
|
|
14
|
+
.sc(GetECSServiceRecommendationProjectedMetrics)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetECSServiceRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetECSServiceRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "GetECSServiceRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "GetECSServiceRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetECSServiceRecommendationsCommand)
|
|
20
|
-
.de(de_GetECSServiceRecommendationsCommand)
|
|
14
|
+
.sc(GetECSServiceRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetEffectiveRecommendationPreferences } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetEffectiveRecommendationPreferencesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "GetEffectiveRecommendationPreferences", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "GetEffectiveRecommendationPreferencesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetEffectiveRecommendationPreferencesCommand)
|
|
20
|
-
.de(de_GetEffectiveRecommendationPreferencesCommand)
|
|
14
|
+
.sc(GetEffectiveRecommendationPreferences)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetEnrollmentStatus } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetEnrollmentStatusCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "GetEnrollmentStatus", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "GetEnrollmentStatusCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetEnrollmentStatusCommand)
|
|
20
|
-
.de(de_GetEnrollmentStatusCommand)
|
|
14
|
+
.sc(GetEnrollmentStatus)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetEnrollmentStatusesForOrganization } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetEnrollmentStatusesForOrganizationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "GetEnrollmentStatusesForOrganization", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "GetEnrollmentStatusesForOrganizationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetEnrollmentStatusesForOrganizationCommand)
|
|
20
|
-
.de(de_GetEnrollmentStatusesForOrganizationCommand)
|
|
14
|
+
.sc(GetEnrollmentStatusesForOrganization)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetIdleRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetIdleRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "GetIdleRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "GetIdleRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetIdleRecommendationsCommand)
|
|
20
|
-
.de(de_GetIdleRecommendationsCommand)
|
|
14
|
+
.sc(GetIdleRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetLambdaFunctionRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetLambdaFunctionRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "GetLambdaFunctionRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "GetLambdaFunctionRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetLambdaFunctionRecommendationsCommand)
|
|
20
|
-
.de(de_GetLambdaFunctionRecommendationsCommand)
|
|
14
|
+
.sc(GetLambdaFunctionRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetLicenseRecommendations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetLicenseRecommendationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComputeOptimizerService", "GetLicenseRecommendations", {})
|
|
17
13
|
.n("ComputeOptimizerClient", "GetLicenseRecommendationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetLicenseRecommendationsCommand)
|
|
20
|
-
.de(de_GetLicenseRecommendationsCommand)
|
|
14
|
+
.sc(GetLicenseRecommendations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|