@aws-sdk/client-compute-optimizer 3.952.0 → 3.954.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 +694 -501
- package/dist-cjs/runtimeConfig.shared.js +6 -6
- package/dist-es/commands/DeleteRecommendationPreferencesCommand.js +2 -2
- package/dist-es/commands/DescribeRecommendationExportJobsCommand.js +2 -2
- package/dist-es/commands/ExportAutoScalingGroupRecommendationsCommand.js +2 -2
- package/dist-es/commands/ExportEBSVolumeRecommendationsCommand.js +2 -2
- package/dist-es/commands/ExportEC2InstanceRecommendationsCommand.js +2 -2
- package/dist-es/commands/ExportECSServiceRecommendationsCommand.js +2 -2
- package/dist-es/commands/ExportIdleRecommendationsCommand.js +2 -2
- package/dist-es/commands/ExportLambdaFunctionRecommendationsCommand.js +2 -2
- package/dist-es/commands/ExportLicenseRecommendationsCommand.js +2 -2
- package/dist-es/commands/ExportRDSDatabaseRecommendationsCommand.js +2 -2
- package/dist-es/commands/GetAutoScalingGroupRecommendationsCommand.js +2 -2
- package/dist-es/commands/GetEBSVolumeRecommendationsCommand.js +2 -2
- package/dist-es/commands/GetEC2InstanceRecommendationsCommand.js +2 -2
- package/dist-es/commands/GetEC2RecommendationProjectedMetricsCommand.js +2 -2
- package/dist-es/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +2 -2
- package/dist-es/commands/GetECSServiceRecommendationsCommand.js +2 -2
- package/dist-es/commands/GetEffectiveRecommendationPreferencesCommand.js +2 -2
- package/dist-es/commands/GetEnrollmentStatusCommand.js +2 -2
- package/dist-es/commands/GetEnrollmentStatusesForOrganizationCommand.js +2 -2
- package/dist-es/commands/GetIdleRecommendationsCommand.js +2 -2
- package/dist-es/commands/GetLambdaFunctionRecommendationsCommand.js +2 -2
- package/dist-es/commands/GetLicenseRecommendationsCommand.js +2 -2
- package/dist-es/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.js +2 -2
- package/dist-es/commands/GetRDSDatabaseRecommendationsCommand.js +2 -2
- package/dist-es/commands/GetRecommendationPreferencesCommand.js +2 -2
- package/dist-es/commands/GetRecommendationSummariesCommand.js +2 -2
- package/dist-es/commands/PutRecommendationPreferencesCommand.js +2 -2
- package/dist-es/commands/UpdateEnrollmentStatusCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -6
- package/dist-es/schemas/schemas_0.js +480 -485
- package/dist-types/ComputeOptimizerClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +199 -290
- package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +198 -290
- package/package.json +34 -34
|
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.computeoptimizer",
|
|
32
|
+
version: "2019-11-01",
|
|
33
|
+
serviceTarget: "ComputeOptimizerService",
|
|
34
|
+
},
|
|
35
35
|
serviceId: config?.serviceId ?? "Compute Optimizer",
|
|
36
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
37
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteRecommendationPreferences } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteRecommendationPreferences$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteRecommendationPreferencesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteRecommendationPreferencesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "DeleteRecommendationPreferences", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "DeleteRecommendationPreferencesCommand")
|
|
14
|
-
.sc(DeleteRecommendationPreferences)
|
|
14
|
+
.sc(DeleteRecommendationPreferences$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeRecommendationExportJobs } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeRecommendationExportJobs$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeRecommendationExportJobsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeRecommendationExportJobsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "DescribeRecommendationExportJobs", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "DescribeRecommendationExportJobsCommand")
|
|
14
|
-
.sc(DescribeRecommendationExportJobs)
|
|
14
|
+
.sc(DescribeRecommendationExportJobs$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ExportAutoScalingGroupRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { ExportAutoScalingGroupRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ExportAutoScalingGroupRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ExportAutoScalingGroupRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "ExportAutoScalingGroupRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "ExportAutoScalingGroupRecommendationsCommand")
|
|
14
|
-
.sc(ExportAutoScalingGroupRecommendations)
|
|
14
|
+
.sc(ExportAutoScalingGroupRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ExportEBSVolumeRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { ExportEBSVolumeRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ExportEBSVolumeRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ExportEBSVolumeRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "ExportEBSVolumeRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "ExportEBSVolumeRecommendationsCommand")
|
|
14
|
-
.sc(ExportEBSVolumeRecommendations)
|
|
14
|
+
.sc(ExportEBSVolumeRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ExportEC2InstanceRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { ExportEC2InstanceRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ExportEC2InstanceRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ExportEC2InstanceRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "ExportEC2InstanceRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "ExportEC2InstanceRecommendationsCommand")
|
|
14
|
-
.sc(ExportEC2InstanceRecommendations)
|
|
14
|
+
.sc(ExportEC2InstanceRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ExportECSServiceRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { ExportECSServiceRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ExportECSServiceRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ExportECSServiceRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "ExportECSServiceRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "ExportECSServiceRecommendationsCommand")
|
|
14
|
-
.sc(ExportECSServiceRecommendations)
|
|
14
|
+
.sc(ExportECSServiceRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ExportIdleRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { ExportIdleRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ExportIdleRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ExportIdleRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "ExportIdleRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "ExportIdleRecommendationsCommand")
|
|
14
|
-
.sc(ExportIdleRecommendations)
|
|
14
|
+
.sc(ExportIdleRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ExportLambdaFunctionRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { ExportLambdaFunctionRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ExportLambdaFunctionRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ExportLambdaFunctionRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "ExportLambdaFunctionRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "ExportLambdaFunctionRecommendationsCommand")
|
|
14
|
-
.sc(ExportLambdaFunctionRecommendations)
|
|
14
|
+
.sc(ExportLambdaFunctionRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ExportLicenseRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { ExportLicenseRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ExportLicenseRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ExportLicenseRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "ExportLicenseRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "ExportLicenseRecommendationsCommand")
|
|
14
|
-
.sc(ExportLicenseRecommendations)
|
|
14
|
+
.sc(ExportLicenseRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ExportRDSDatabaseRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { ExportRDSDatabaseRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ExportRDSDatabaseRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ExportRDSDatabaseRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "ExportRDSDatabaseRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "ExportRDSDatabaseRecommendationsCommand")
|
|
14
|
-
.sc(ExportRDSDatabaseRecommendations)
|
|
14
|
+
.sc(ExportRDSDatabaseRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetAutoScalingGroupRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { GetAutoScalingGroupRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetAutoScalingGroupRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetAutoScalingGroupRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetAutoScalingGroupRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetAutoScalingGroupRecommendationsCommand")
|
|
14
|
-
.sc(GetAutoScalingGroupRecommendations)
|
|
14
|
+
.sc(GetAutoScalingGroupRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetEBSVolumeRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { GetEBSVolumeRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetEBSVolumeRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetEBSVolumeRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetEBSVolumeRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetEBSVolumeRecommendationsCommand")
|
|
14
|
-
.sc(GetEBSVolumeRecommendations)
|
|
14
|
+
.sc(GetEBSVolumeRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetEC2InstanceRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { GetEC2InstanceRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetEC2InstanceRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetEC2InstanceRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetEC2InstanceRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetEC2InstanceRecommendationsCommand")
|
|
14
|
-
.sc(GetEC2InstanceRecommendations)
|
|
14
|
+
.sc(GetEC2InstanceRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetEC2RecommendationProjectedMetrics } from "../schemas/schemas_0";
|
|
4
|
+
import { GetEC2RecommendationProjectedMetrics$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetEC2RecommendationProjectedMetricsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetEC2RecommendationProjectedMetricsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetEC2RecommendationProjectedMetrics", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetEC2RecommendationProjectedMetricsCommand")
|
|
14
|
-
.sc(GetEC2RecommendationProjectedMetrics)
|
|
14
|
+
.sc(GetEC2RecommendationProjectedMetrics$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetECSServiceRecommendationProjectedMetrics } from "../schemas/schemas_0";
|
|
4
|
+
import { GetECSServiceRecommendationProjectedMetrics$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetECSServiceRecommendationProjectedMetricsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetECSServiceRecommendationProjectedMetricsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetECSServiceRecommendationProjectedMetrics", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetECSServiceRecommendationProjectedMetricsCommand")
|
|
14
|
-
.sc(GetECSServiceRecommendationProjectedMetrics)
|
|
14
|
+
.sc(GetECSServiceRecommendationProjectedMetrics$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetECSServiceRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { GetECSServiceRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetECSServiceRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetECSServiceRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetECSServiceRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetECSServiceRecommendationsCommand")
|
|
14
|
-
.sc(GetECSServiceRecommendations)
|
|
14
|
+
.sc(GetECSServiceRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetEffectiveRecommendationPreferences } from "../schemas/schemas_0";
|
|
4
|
+
import { GetEffectiveRecommendationPreferences$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetEffectiveRecommendationPreferencesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetEffectiveRecommendationPreferencesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetEffectiveRecommendationPreferences", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetEffectiveRecommendationPreferencesCommand")
|
|
14
|
-
.sc(GetEffectiveRecommendationPreferences)
|
|
14
|
+
.sc(GetEffectiveRecommendationPreferences$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetEnrollmentStatus } from "../schemas/schemas_0";
|
|
4
|
+
import { GetEnrollmentStatus$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetEnrollmentStatusCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetEnrollmentStatusCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetEnrollmentStatus", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetEnrollmentStatusCommand")
|
|
14
|
-
.sc(GetEnrollmentStatus)
|
|
14
|
+
.sc(GetEnrollmentStatus$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetEnrollmentStatusesForOrganization } from "../schemas/schemas_0";
|
|
4
|
+
import { GetEnrollmentStatusesForOrganization$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetEnrollmentStatusesForOrganizationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetEnrollmentStatusesForOrganizationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetEnrollmentStatusesForOrganization", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetEnrollmentStatusesForOrganizationCommand")
|
|
14
|
-
.sc(GetEnrollmentStatusesForOrganization)
|
|
14
|
+
.sc(GetEnrollmentStatusesForOrganization$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetIdleRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { GetIdleRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetIdleRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetIdleRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetIdleRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetIdleRecommendationsCommand")
|
|
14
|
-
.sc(GetIdleRecommendations)
|
|
14
|
+
.sc(GetIdleRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetLambdaFunctionRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { GetLambdaFunctionRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetLambdaFunctionRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetLambdaFunctionRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetLambdaFunctionRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetLambdaFunctionRecommendationsCommand")
|
|
14
|
-
.sc(GetLambdaFunctionRecommendations)
|
|
14
|
+
.sc(GetLambdaFunctionRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetLicenseRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { GetLicenseRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetLicenseRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetLicenseRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetLicenseRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetLicenseRecommendationsCommand")
|
|
14
|
-
.sc(GetLicenseRecommendations)
|
|
14
|
+
.sc(GetLicenseRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetRDSDatabaseRecommendationProjectedMetrics } from "../schemas/schemas_0";
|
|
4
|
+
import { GetRDSDatabaseRecommendationProjectedMetrics$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetRDSDatabaseRecommendationProjectedMetricsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetRDSDatabaseRecommendationProjectedMetricsCommand extends $Comman
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetRDSDatabaseRecommendationProjectedMetrics", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetRDSDatabaseRecommendationProjectedMetricsCommand")
|
|
14
|
-
.sc(GetRDSDatabaseRecommendationProjectedMetrics)
|
|
14
|
+
.sc(GetRDSDatabaseRecommendationProjectedMetrics$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetRDSDatabaseRecommendations } from "../schemas/schemas_0";
|
|
4
|
+
import { GetRDSDatabaseRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetRDSDatabaseRecommendationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetRDSDatabaseRecommendationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetRDSDatabaseRecommendations", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetRDSDatabaseRecommendationsCommand")
|
|
14
|
-
.sc(GetRDSDatabaseRecommendations)
|
|
14
|
+
.sc(GetRDSDatabaseRecommendations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetRecommendationPreferences } from "../schemas/schemas_0";
|
|
4
|
+
import { GetRecommendationPreferences$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetRecommendationPreferencesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetRecommendationPreferencesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetRecommendationPreferences", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetRecommendationPreferencesCommand")
|
|
14
|
-
.sc(GetRecommendationPreferences)
|
|
14
|
+
.sc(GetRecommendationPreferences$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetRecommendationSummaries } from "../schemas/schemas_0";
|
|
4
|
+
import { GetRecommendationSummaries$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetRecommendationSummariesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetRecommendationSummariesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "GetRecommendationSummaries", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "GetRecommendationSummariesCommand")
|
|
14
|
-
.sc(GetRecommendationSummaries)
|
|
14
|
+
.sc(GetRecommendationSummaries$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutRecommendationPreferences } from "../schemas/schemas_0";
|
|
4
|
+
import { PutRecommendationPreferences$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutRecommendationPreferencesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutRecommendationPreferencesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "PutRecommendationPreferences", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "PutRecommendationPreferencesCommand")
|
|
14
|
-
.sc(PutRecommendationPreferences)
|
|
14
|
+
.sc(PutRecommendationPreferences$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateEnrollmentStatus } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateEnrollmentStatus$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateEnrollmentStatusCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateEnrollmentStatusCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("ComputeOptimizerService", "UpdateEnrollmentStatus", {})
|
|
13
13
|
.n("ComputeOptimizerClient", "UpdateEnrollmentStatusCommand")
|
|
14
|
-
.sc(UpdateEnrollmentStatus)
|
|
14
|
+
.sc(UpdateEnrollmentStatus$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.computeoptimizer",
|
|
29
|
+
version: "2019-11-01",
|
|
30
|
+
serviceTarget: "ComputeOptimizerService",
|
|
31
|
+
},
|
|
32
32
|
serviceId: config?.serviceId ?? "Compute Optimizer",
|
|
33
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|