@aws-sdk/client-compute-optimizer 3.478.0 → 3.481.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 +9 -9
|
@@ -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_GetECSServiceRecommendationsCommand, se_GetECSServiceRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetECSServiceRecommendationsCommand 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 = "GetECSServiceRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetECSServiceRecommendations",
|
|
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_GetECSServiceRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetECSServiceRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetECSServiceRecommendationsCommand 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", "GetECSServiceRecommendations", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetECSServiceRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetECSServiceRecommendationsCommand)
|
|
22
|
+
.de(de_GetECSServiceRecommendationsCommand)
|
|
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_GetEffectiveRecommendationPreferencesCommand, se_GetEffectiveRecommendationPreferencesCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetEffectiveRecommendationPreferencesCommand 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 = "GetEffectiveRecommendationPreferencesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetEffectiveRecommendationPreferences",
|
|
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_GetEffectiveRecommendationPreferencesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetEffectiveRecommendationPreferencesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetEffectiveRecommendationPreferencesCommand 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", "GetEffectiveRecommendationPreferences", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetEffectiveRecommendationPreferencesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetEffectiveRecommendationPreferencesCommand)
|
|
22
|
+
.de(de_GetEffectiveRecommendationPreferencesCommand)
|
|
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_GetEnrollmentStatusCommand, se_GetEnrollmentStatusCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetEnrollmentStatusCommand 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 = "GetEnrollmentStatusCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetEnrollmentStatus",
|
|
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_GetEnrollmentStatusCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetEnrollmentStatusCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetEnrollmentStatusCommand 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", "GetEnrollmentStatus", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetEnrollmentStatusCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetEnrollmentStatusCommand)
|
|
22
|
+
.de(de_GetEnrollmentStatusCommand)
|
|
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_GetEnrollmentStatusesForOrganizationCommand, se_GetEnrollmentStatusesForOrganizationCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetEnrollmentStatusesForOrganizationCommand 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 = "GetEnrollmentStatusesForOrganizationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetEnrollmentStatusesForOrganization",
|
|
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_GetEnrollmentStatusesForOrganizationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetEnrollmentStatusesForOrganizationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetEnrollmentStatusesForOrganizationCommand 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", "GetEnrollmentStatusesForOrganization", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetEnrollmentStatusesForOrganizationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetEnrollmentStatusesForOrganizationCommand)
|
|
22
|
+
.de(de_GetEnrollmentStatusesForOrganizationCommand)
|
|
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_GetLambdaFunctionRecommendationsCommand, se_GetLambdaFunctionRecommendationsCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetLambdaFunctionRecommendationsCommand 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 = "GetLambdaFunctionRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetLambdaFunctionRecommendations",
|
|
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_GetLambdaFunctionRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetLambdaFunctionRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetLambdaFunctionRecommendationsCommand 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", "GetLambdaFunctionRecommendations", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetLambdaFunctionRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetLambdaFunctionRecommendationsCommand)
|
|
22
|
+
.de(de_GetLambdaFunctionRecommendationsCommand)
|
|
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_GetLicenseRecommendationsCommand, se_GetLicenseRecommendationsCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetLicenseRecommendationsCommand 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 = "GetLicenseRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetLicenseRecommendations",
|
|
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_GetLicenseRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetLicenseRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetLicenseRecommendationsCommand 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", "GetLicenseRecommendations", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetLicenseRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetLicenseRecommendationsCommand)
|
|
22
|
+
.de(de_GetLicenseRecommendationsCommand)
|
|
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_GetRecommendationPreferencesCommand, se_GetRecommendationPreferencesCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetRecommendationPreferencesCommand 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 = "GetRecommendationPreferencesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetRecommendationPreferences",
|
|
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_GetRecommendationPreferencesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetRecommendationPreferencesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetRecommendationPreferencesCommand 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", "GetRecommendationPreferences", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetRecommendationPreferencesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetRecommendationPreferencesCommand)
|
|
22
|
+
.de(de_GetRecommendationPreferencesCommand)
|
|
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_GetRecommendationSummariesCommand, se_GetRecommendationSummariesCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetRecommendationSummariesCommand 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 = "GetRecommendationSummariesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "GetRecommendationSummaries",
|
|
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_GetRecommendationSummariesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetRecommendationSummariesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetRecommendationSummariesCommand 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", "GetRecommendationSummaries", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "GetRecommendationSummariesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetRecommendationSummariesCommand)
|
|
22
|
+
.de(de_GetRecommendationSummariesCommand)
|
|
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_PutRecommendationPreferencesCommand, se_PutRecommendationPreferencesCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class PutRecommendationPreferencesCommand 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 = "PutRecommendationPreferencesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "ComputeOptimizerService",
|
|
35
|
-
operation: "PutRecommendationPreferences",
|
|
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_PutRecommendationPreferencesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_PutRecommendationPreferencesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class PutRecommendationPreferencesCommand 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", "PutRecommendationPreferences", {})
|
|
19
|
+
.n("ComputeOptimizerClient", "PutRecommendationPreferencesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_PutRecommendationPreferencesCommand)
|
|
22
|
+
.de(de_PutRecommendationPreferencesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|