@aws-sdk/client-compute-optimizer 3.490.0 → 3.496.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/ComputeOptimizer.js +1 -57
- package/dist-cjs/ComputeOptimizerClient.js +1 -43
- package/dist-cjs/commands/DeleteRecommendationPreferencesCommand.js +1 -28
- package/dist-cjs/commands/DescribeRecommendationExportJobsCommand.js +1 -28
- package/dist-cjs/commands/ExportAutoScalingGroupRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/ExportEBSVolumeRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/ExportEC2InstanceRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/ExportECSServiceRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/ExportLambdaFunctionRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/ExportLicenseRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/GetAutoScalingGroupRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/GetEBSVolumeRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/GetEC2InstanceRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/GetEC2RecommendationProjectedMetricsCommand.js +1 -28
- package/dist-cjs/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +1 -28
- package/dist-cjs/commands/GetECSServiceRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/GetEffectiveRecommendationPreferencesCommand.js +1 -28
- package/dist-cjs/commands/GetEnrollmentStatusCommand.js +1 -28
- package/dist-cjs/commands/GetEnrollmentStatusesForOrganizationCommand.js +1 -28
- package/dist-cjs/commands/GetLambdaFunctionRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/GetLicenseRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/GetRecommendationPreferencesCommand.js +1 -28
- package/dist-cjs/commands/GetRecommendationSummariesCommand.js +1 -28
- package/dist-cjs/commands/PutRecommendationPreferencesCommand.js +1 -28
- package/dist-cjs/commands/UpdateEnrollmentStatusCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -26
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3691 -11
- package/dist-cjs/models/ComputeOptimizerServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -727
- package/dist-cjs/pagination/DescribeRecommendationExportJobsPaginator.js +1 -7
- package/dist-cjs/pagination/GetEnrollmentStatusesForOrganizationPaginator.js +1 -7
- package/dist-cjs/pagination/GetLambdaFunctionRecommendationsPaginator.js +1 -7
- package/dist-cjs/pagination/GetRecommendationPreferencesPaginator.js +1 -7
- package/dist-cjs/pagination/GetRecommendationSummariesPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/index.js +1 -9
- package/dist-cjs/protocols/Aws_json1_0.js +1 -2244
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetLambdaFunctionRecommendationsCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class GetLambdaFunctionRecommendationsCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("ComputeOptimizerService", "GetLambdaFunctionRecommendations", {})
|
|
22
|
-
.n("ComputeOptimizerClient", "GetLambdaFunctionRecommendationsCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_0_1.se_GetLambdaFunctionRecommendationsCommand)
|
|
25
|
-
.de(Aws_json1_0_1.de_GetLambdaFunctionRecommendationsCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.GetLambdaFunctionRecommendationsCommand = GetLambdaFunctionRecommendationsCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetLicenseRecommendationsCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class GetLicenseRecommendationsCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("ComputeOptimizerService", "GetLicenseRecommendations", {})
|
|
22
|
-
.n("ComputeOptimizerClient", "GetLicenseRecommendationsCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_0_1.se_GetLicenseRecommendationsCommand)
|
|
25
|
-
.de(Aws_json1_0_1.de_GetLicenseRecommendationsCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.GetLicenseRecommendationsCommand = GetLicenseRecommendationsCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetRecommendationPreferencesCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class GetRecommendationPreferencesCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("ComputeOptimizerService", "GetRecommendationPreferences", {})
|
|
22
|
-
.n("ComputeOptimizerClient", "GetRecommendationPreferencesCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_0_1.se_GetRecommendationPreferencesCommand)
|
|
25
|
-
.de(Aws_json1_0_1.de_GetRecommendationPreferencesCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.GetRecommendationPreferencesCommand = GetRecommendationPreferencesCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetRecommendationSummariesCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class GetRecommendationSummariesCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("ComputeOptimizerService", "GetRecommendationSummaries", {})
|
|
22
|
-
.n("ComputeOptimizerClient", "GetRecommendationSummariesCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_0_1.se_GetRecommendationSummariesCommand)
|
|
25
|
-
.de(Aws_json1_0_1.de_GetRecommendationSummariesCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.GetRecommendationSummariesCommand = GetRecommendationSummariesCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PutRecommendationPreferencesCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class PutRecommendationPreferencesCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("ComputeOptimizerService", "PutRecommendationPreferences", {})
|
|
22
|
-
.n("ComputeOptimizerClient", "PutRecommendationPreferencesCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_0_1.se_PutRecommendationPreferencesCommand)
|
|
25
|
-
.de(Aws_json1_0_1.de_PutRecommendationPreferencesCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.PutRecommendationPreferencesCommand = PutRecommendationPreferencesCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateEnrollmentStatusCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class UpdateEnrollmentStatusCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("ComputeOptimizerService", "UpdateEnrollmentStatus", {})
|
|
22
|
-
.n("ComputeOptimizerClient", "UpdateEnrollmentStatusCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_0_1.se_UpdateEnrollmentStatusCommand)
|
|
25
|
-
.de(Aws_json1_0_1.de_UpdateEnrollmentStatusCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.UpdateEnrollmentStatusCommand = UpdateEnrollmentStatusCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,26 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./DeleteRecommendationPreferencesCommand"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./DescribeRecommendationExportJobsCommand"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ExportAutoScalingGroupRecommendationsCommand"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ExportEBSVolumeRecommendationsCommand"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ExportEC2InstanceRecommendationsCommand"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./ExportECSServiceRecommendationsCommand"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./ExportLambdaFunctionRecommendationsCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./ExportLicenseRecommendationsCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./GetAutoScalingGroupRecommendationsCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./GetEBSVolumeRecommendationsCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./GetEC2InstanceRecommendationsCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./GetEC2RecommendationProjectedMetricsCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./GetECSServiceRecommendationProjectedMetricsCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./GetECSServiceRecommendationsCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./GetEffectiveRecommendationPreferencesCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./GetEnrollmentStatusCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./GetEnrollmentStatusesForOrganizationCommand"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./GetLambdaFunctionRecommendationsCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./GetLicenseRecommendationsCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./GetRecommendationPreferencesCommand"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./GetRecommendationSummariesCommand"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./PutRecommendationPreferencesCommand"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./UpdateEnrollmentStatusCommand"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,18 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
-
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
return {
|
|
6
|
-
...options,
|
|
7
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
9
|
-
defaultSigningName: "compute-optimizer",
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
-
exports.commonParams = {
|
|
14
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
-
Region: { type: "builtInParams", name: "region" },
|
|
17
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("./index.js");
|