@aws-sdk/client-compute-optimizer 3.1076.0 → 3.1078.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 +39 -285
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/DeleteRecommendationPreferencesCommand.js +2 -14
- package/dist-es/commands/DescribeRecommendationExportJobsCommand.js +2 -14
- package/dist-es/commands/ExportAutoScalingGroupRecommendationsCommand.js +2 -14
- package/dist-es/commands/ExportEBSVolumeRecommendationsCommand.js +2 -14
- package/dist-es/commands/ExportEC2InstanceRecommendationsCommand.js +2 -14
- package/dist-es/commands/ExportECSServiceRecommendationsCommand.js +2 -14
- package/dist-es/commands/ExportIdleRecommendationsCommand.js +2 -14
- package/dist-es/commands/ExportLambdaFunctionRecommendationsCommand.js +2 -14
- package/dist-es/commands/ExportLicenseRecommendationsCommand.js +2 -14
- package/dist-es/commands/ExportRDSDatabaseRecommendationsCommand.js +2 -14
- package/dist-es/commands/GetAutoScalingGroupRecommendationsCommand.js +2 -14
- package/dist-es/commands/GetEBSVolumeRecommendationsCommand.js +2 -14
- package/dist-es/commands/GetEC2InstanceRecommendationsCommand.js +2 -14
- package/dist-es/commands/GetEC2RecommendationProjectedMetricsCommand.js +2 -14
- package/dist-es/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +2 -14
- package/dist-es/commands/GetECSServiceRecommendationsCommand.js +2 -14
- package/dist-es/commands/GetEffectiveRecommendationPreferencesCommand.js +2 -14
- package/dist-es/commands/GetEnrollmentStatusCommand.js +2 -14
- package/dist-es/commands/GetEnrollmentStatusesForOrganizationCommand.js +2 -14
- package/dist-es/commands/GetIdleRecommendationsCommand.js +2 -14
- package/dist-es/commands/GetLambdaFunctionRecommendationsCommand.js +2 -14
- package/dist-es/commands/GetLicenseRecommendationsCommand.js +2 -14
- package/dist-es/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.js +2 -14
- package/dist-es/commands/GetRDSDatabaseRecommendationsCommand.js +2 -14
- package/dist-es/commands/GetRecommendationPreferencesCommand.js +2 -14
- package/dist-es/commands/GetRecommendationSummariesCommand.js +2 -14
- package/dist-es/commands/PutRecommendationPreferencesCommand.js +2 -14
- package/dist-es/commands/UpdateEnrollmentStatusCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +3 -8
- package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/ExportECSServiceRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/ExportIdleRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/ExportLicenseRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +3 -8
- package/dist-types/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +3 -8
- package/dist-types/commands/GetECSServiceRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +3 -8
- package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +3 -8
- package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +3 -8
- package/dist-types/commands/GetIdleRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/GetLicenseRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +3 -8
- package/dist-types/commands/GetRDSDatabaseRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +3 -8
- package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +3 -8
- package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +3 -8
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteRecommendationPreferencesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeRecommendationExportJobsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ExportEBSVolumeRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ExportEC2InstanceRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ExportECSServiceRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ExportIdleRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ExportLicenseRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetEBSVolumeRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetEC2InstanceRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetECSServiceRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetEnrollmentStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetIdleRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLambdaFunctionRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLicenseRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRDSDatabaseRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRecommendationPreferencesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRecommendationSummariesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutRecommendationPreferencesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateEnrollmentStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultComputeOptimizerHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -1883,6 +1885,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1883
1885
|
serviceTarget: "ComputeOptimizerService",
|
|
1884
1886
|
},
|
|
1885
1887
|
serviceId: config?.serviceId ?? "Compute Optimizer",
|
|
1888
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1886
1889
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1887
1890
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1888
1891
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1916,7 +1919,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1916
1919
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1917
1920
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1918
1921
|
}, config),
|
|
1919
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1920
1922
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1921
1923
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1922
1924
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -2004,340 +2006,92 @@ class ComputeOptimizerClient extends Client {
|
|
|
2004
2006
|
}
|
|
2005
2007
|
}
|
|
2006
2008
|
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
})
|
|
2013
|
-
.s("ComputeOptimizerService", "DeleteRecommendationPreferences", {})
|
|
2014
|
-
.n("ComputeOptimizerClient", "DeleteRecommendationPreferencesCommand")
|
|
2015
|
-
.sc(DeleteRecommendationPreferences$)
|
|
2016
|
-
.build() {
|
|
2009
|
+
const command = makeBuilder(commonParams, "ComputeOptimizerService", "ComputeOptimizerClient", getEndpointPlugin);
|
|
2010
|
+
const _ep0 = {};
|
|
2011
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
2012
|
+
|
|
2013
|
+
class DeleteRecommendationPreferencesCommand extends command(_ep0, _mw0, "DeleteRecommendationPreferences", DeleteRecommendationPreferences$) {
|
|
2017
2014
|
}
|
|
2018
2015
|
|
|
2019
|
-
class DescribeRecommendationExportJobsCommand extends
|
|
2020
|
-
.classBuilder()
|
|
2021
|
-
.ep(commonParams)
|
|
2022
|
-
.m(function (Command, cs, config, o) {
|
|
2023
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2024
|
-
})
|
|
2025
|
-
.s("ComputeOptimizerService", "DescribeRecommendationExportJobs", {})
|
|
2026
|
-
.n("ComputeOptimizerClient", "DescribeRecommendationExportJobsCommand")
|
|
2027
|
-
.sc(DescribeRecommendationExportJobs$)
|
|
2028
|
-
.build() {
|
|
2016
|
+
class DescribeRecommendationExportJobsCommand extends command(_ep0, _mw0, "DescribeRecommendationExportJobs", DescribeRecommendationExportJobs$) {
|
|
2029
2017
|
}
|
|
2030
2018
|
|
|
2031
|
-
class ExportAutoScalingGroupRecommendationsCommand extends
|
|
2032
|
-
.classBuilder()
|
|
2033
|
-
.ep(commonParams)
|
|
2034
|
-
.m(function (Command, cs, config, o) {
|
|
2035
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2036
|
-
})
|
|
2037
|
-
.s("ComputeOptimizerService", "ExportAutoScalingGroupRecommendations", {})
|
|
2038
|
-
.n("ComputeOptimizerClient", "ExportAutoScalingGroupRecommendationsCommand")
|
|
2039
|
-
.sc(ExportAutoScalingGroupRecommendations$)
|
|
2040
|
-
.build() {
|
|
2019
|
+
class ExportAutoScalingGroupRecommendationsCommand extends command(_ep0, _mw0, "ExportAutoScalingGroupRecommendations", ExportAutoScalingGroupRecommendations$) {
|
|
2041
2020
|
}
|
|
2042
2021
|
|
|
2043
|
-
class ExportEBSVolumeRecommendationsCommand extends
|
|
2044
|
-
.classBuilder()
|
|
2045
|
-
.ep(commonParams)
|
|
2046
|
-
.m(function (Command, cs, config, o) {
|
|
2047
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2048
|
-
})
|
|
2049
|
-
.s("ComputeOptimizerService", "ExportEBSVolumeRecommendations", {})
|
|
2050
|
-
.n("ComputeOptimizerClient", "ExportEBSVolumeRecommendationsCommand")
|
|
2051
|
-
.sc(ExportEBSVolumeRecommendations$)
|
|
2052
|
-
.build() {
|
|
2022
|
+
class ExportEBSVolumeRecommendationsCommand extends command(_ep0, _mw0, "ExportEBSVolumeRecommendations", ExportEBSVolumeRecommendations$) {
|
|
2053
2023
|
}
|
|
2054
2024
|
|
|
2055
|
-
class ExportEC2InstanceRecommendationsCommand extends
|
|
2056
|
-
.classBuilder()
|
|
2057
|
-
.ep(commonParams)
|
|
2058
|
-
.m(function (Command, cs, config, o) {
|
|
2059
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2060
|
-
})
|
|
2061
|
-
.s("ComputeOptimizerService", "ExportEC2InstanceRecommendations", {})
|
|
2062
|
-
.n("ComputeOptimizerClient", "ExportEC2InstanceRecommendationsCommand")
|
|
2063
|
-
.sc(ExportEC2InstanceRecommendations$)
|
|
2064
|
-
.build() {
|
|
2025
|
+
class ExportEC2InstanceRecommendationsCommand extends command(_ep0, _mw0, "ExportEC2InstanceRecommendations", ExportEC2InstanceRecommendations$) {
|
|
2065
2026
|
}
|
|
2066
2027
|
|
|
2067
|
-
class ExportECSServiceRecommendationsCommand extends
|
|
2068
|
-
.classBuilder()
|
|
2069
|
-
.ep(commonParams)
|
|
2070
|
-
.m(function (Command, cs, config, o) {
|
|
2071
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2072
|
-
})
|
|
2073
|
-
.s("ComputeOptimizerService", "ExportECSServiceRecommendations", {})
|
|
2074
|
-
.n("ComputeOptimizerClient", "ExportECSServiceRecommendationsCommand")
|
|
2075
|
-
.sc(ExportECSServiceRecommendations$)
|
|
2076
|
-
.build() {
|
|
2028
|
+
class ExportECSServiceRecommendationsCommand extends command(_ep0, _mw0, "ExportECSServiceRecommendations", ExportECSServiceRecommendations$) {
|
|
2077
2029
|
}
|
|
2078
2030
|
|
|
2079
|
-
class ExportIdleRecommendationsCommand extends
|
|
2080
|
-
.classBuilder()
|
|
2081
|
-
.ep(commonParams)
|
|
2082
|
-
.m(function (Command, cs, config, o) {
|
|
2083
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2084
|
-
})
|
|
2085
|
-
.s("ComputeOptimizerService", "ExportIdleRecommendations", {})
|
|
2086
|
-
.n("ComputeOptimizerClient", "ExportIdleRecommendationsCommand")
|
|
2087
|
-
.sc(ExportIdleRecommendations$)
|
|
2088
|
-
.build() {
|
|
2031
|
+
class ExportIdleRecommendationsCommand extends command(_ep0, _mw0, "ExportIdleRecommendations", ExportIdleRecommendations$) {
|
|
2089
2032
|
}
|
|
2090
2033
|
|
|
2091
|
-
class ExportLambdaFunctionRecommendationsCommand extends
|
|
2092
|
-
.classBuilder()
|
|
2093
|
-
.ep(commonParams)
|
|
2094
|
-
.m(function (Command, cs, config, o) {
|
|
2095
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2096
|
-
})
|
|
2097
|
-
.s("ComputeOptimizerService", "ExportLambdaFunctionRecommendations", {})
|
|
2098
|
-
.n("ComputeOptimizerClient", "ExportLambdaFunctionRecommendationsCommand")
|
|
2099
|
-
.sc(ExportLambdaFunctionRecommendations$)
|
|
2100
|
-
.build() {
|
|
2034
|
+
class ExportLambdaFunctionRecommendationsCommand extends command(_ep0, _mw0, "ExportLambdaFunctionRecommendations", ExportLambdaFunctionRecommendations$) {
|
|
2101
2035
|
}
|
|
2102
2036
|
|
|
2103
|
-
class ExportLicenseRecommendationsCommand extends
|
|
2104
|
-
.classBuilder()
|
|
2105
|
-
.ep(commonParams)
|
|
2106
|
-
.m(function (Command, cs, config, o) {
|
|
2107
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2108
|
-
})
|
|
2109
|
-
.s("ComputeOptimizerService", "ExportLicenseRecommendations", {})
|
|
2110
|
-
.n("ComputeOptimizerClient", "ExportLicenseRecommendationsCommand")
|
|
2111
|
-
.sc(ExportLicenseRecommendations$)
|
|
2112
|
-
.build() {
|
|
2037
|
+
class ExportLicenseRecommendationsCommand extends command(_ep0, _mw0, "ExportLicenseRecommendations", ExportLicenseRecommendations$) {
|
|
2113
2038
|
}
|
|
2114
2039
|
|
|
2115
|
-
class ExportRDSDatabaseRecommendationsCommand extends
|
|
2116
|
-
.classBuilder()
|
|
2117
|
-
.ep(commonParams)
|
|
2118
|
-
.m(function (Command, cs, config, o) {
|
|
2119
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2120
|
-
})
|
|
2121
|
-
.s("ComputeOptimizerService", "ExportRDSDatabaseRecommendations", {})
|
|
2122
|
-
.n("ComputeOptimizerClient", "ExportRDSDatabaseRecommendationsCommand")
|
|
2123
|
-
.sc(ExportRDSDatabaseRecommendations$)
|
|
2124
|
-
.build() {
|
|
2040
|
+
class ExportRDSDatabaseRecommendationsCommand extends command(_ep0, _mw0, "ExportRDSDatabaseRecommendations", ExportRDSDatabaseRecommendations$) {
|
|
2125
2041
|
}
|
|
2126
2042
|
|
|
2127
|
-
class GetAutoScalingGroupRecommendationsCommand extends
|
|
2128
|
-
.classBuilder()
|
|
2129
|
-
.ep(commonParams)
|
|
2130
|
-
.m(function (Command, cs, config, o) {
|
|
2131
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2132
|
-
})
|
|
2133
|
-
.s("ComputeOptimizerService", "GetAutoScalingGroupRecommendations", {})
|
|
2134
|
-
.n("ComputeOptimizerClient", "GetAutoScalingGroupRecommendationsCommand")
|
|
2135
|
-
.sc(GetAutoScalingGroupRecommendations$)
|
|
2136
|
-
.build() {
|
|
2043
|
+
class GetAutoScalingGroupRecommendationsCommand extends command(_ep0, _mw0, "GetAutoScalingGroupRecommendations", GetAutoScalingGroupRecommendations$) {
|
|
2137
2044
|
}
|
|
2138
2045
|
|
|
2139
|
-
class GetEBSVolumeRecommendationsCommand extends
|
|
2140
|
-
.classBuilder()
|
|
2141
|
-
.ep(commonParams)
|
|
2142
|
-
.m(function (Command, cs, config, o) {
|
|
2143
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2144
|
-
})
|
|
2145
|
-
.s("ComputeOptimizerService", "GetEBSVolumeRecommendations", {})
|
|
2146
|
-
.n("ComputeOptimizerClient", "GetEBSVolumeRecommendationsCommand")
|
|
2147
|
-
.sc(GetEBSVolumeRecommendations$)
|
|
2148
|
-
.build() {
|
|
2046
|
+
class GetEBSVolumeRecommendationsCommand extends command(_ep0, _mw0, "GetEBSVolumeRecommendations", GetEBSVolumeRecommendations$) {
|
|
2149
2047
|
}
|
|
2150
2048
|
|
|
2151
|
-
class GetEC2InstanceRecommendationsCommand extends
|
|
2152
|
-
.classBuilder()
|
|
2153
|
-
.ep(commonParams)
|
|
2154
|
-
.m(function (Command, cs, config, o) {
|
|
2155
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2156
|
-
})
|
|
2157
|
-
.s("ComputeOptimizerService", "GetEC2InstanceRecommendations", {})
|
|
2158
|
-
.n("ComputeOptimizerClient", "GetEC2InstanceRecommendationsCommand")
|
|
2159
|
-
.sc(GetEC2InstanceRecommendations$)
|
|
2160
|
-
.build() {
|
|
2049
|
+
class GetEC2InstanceRecommendationsCommand extends command(_ep0, _mw0, "GetEC2InstanceRecommendations", GetEC2InstanceRecommendations$) {
|
|
2161
2050
|
}
|
|
2162
2051
|
|
|
2163
|
-
class GetEC2RecommendationProjectedMetricsCommand extends
|
|
2164
|
-
.classBuilder()
|
|
2165
|
-
.ep(commonParams)
|
|
2166
|
-
.m(function (Command, cs, config, o) {
|
|
2167
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2168
|
-
})
|
|
2169
|
-
.s("ComputeOptimizerService", "GetEC2RecommendationProjectedMetrics", {})
|
|
2170
|
-
.n("ComputeOptimizerClient", "GetEC2RecommendationProjectedMetricsCommand")
|
|
2171
|
-
.sc(GetEC2RecommendationProjectedMetrics$)
|
|
2172
|
-
.build() {
|
|
2052
|
+
class GetEC2RecommendationProjectedMetricsCommand extends command(_ep0, _mw0, "GetEC2RecommendationProjectedMetrics", GetEC2RecommendationProjectedMetrics$) {
|
|
2173
2053
|
}
|
|
2174
2054
|
|
|
2175
|
-
class GetECSServiceRecommendationProjectedMetricsCommand extends
|
|
2176
|
-
.classBuilder()
|
|
2177
|
-
.ep(commonParams)
|
|
2178
|
-
.m(function (Command, cs, config, o) {
|
|
2179
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2180
|
-
})
|
|
2181
|
-
.s("ComputeOptimizerService", "GetECSServiceRecommendationProjectedMetrics", {})
|
|
2182
|
-
.n("ComputeOptimizerClient", "GetECSServiceRecommendationProjectedMetricsCommand")
|
|
2183
|
-
.sc(GetECSServiceRecommendationProjectedMetrics$)
|
|
2184
|
-
.build() {
|
|
2055
|
+
class GetECSServiceRecommendationProjectedMetricsCommand extends command(_ep0, _mw0, "GetECSServiceRecommendationProjectedMetrics", GetECSServiceRecommendationProjectedMetrics$) {
|
|
2185
2056
|
}
|
|
2186
2057
|
|
|
2187
|
-
class GetECSServiceRecommendationsCommand extends
|
|
2188
|
-
.classBuilder()
|
|
2189
|
-
.ep(commonParams)
|
|
2190
|
-
.m(function (Command, cs, config, o) {
|
|
2191
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2192
|
-
})
|
|
2193
|
-
.s("ComputeOptimizerService", "GetECSServiceRecommendations", {})
|
|
2194
|
-
.n("ComputeOptimizerClient", "GetECSServiceRecommendationsCommand")
|
|
2195
|
-
.sc(GetECSServiceRecommendations$)
|
|
2196
|
-
.build() {
|
|
2058
|
+
class GetECSServiceRecommendationsCommand extends command(_ep0, _mw0, "GetECSServiceRecommendations", GetECSServiceRecommendations$) {
|
|
2197
2059
|
}
|
|
2198
2060
|
|
|
2199
|
-
class GetEffectiveRecommendationPreferencesCommand extends
|
|
2200
|
-
.classBuilder()
|
|
2201
|
-
.ep(commonParams)
|
|
2202
|
-
.m(function (Command, cs, config, o) {
|
|
2203
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2204
|
-
})
|
|
2205
|
-
.s("ComputeOptimizerService", "GetEffectiveRecommendationPreferences", {})
|
|
2206
|
-
.n("ComputeOptimizerClient", "GetEffectiveRecommendationPreferencesCommand")
|
|
2207
|
-
.sc(GetEffectiveRecommendationPreferences$)
|
|
2208
|
-
.build() {
|
|
2061
|
+
class GetEffectiveRecommendationPreferencesCommand extends command(_ep0, _mw0, "GetEffectiveRecommendationPreferences", GetEffectiveRecommendationPreferences$) {
|
|
2209
2062
|
}
|
|
2210
2063
|
|
|
2211
|
-
class GetEnrollmentStatusCommand extends
|
|
2212
|
-
.classBuilder()
|
|
2213
|
-
.ep(commonParams)
|
|
2214
|
-
.m(function (Command, cs, config, o) {
|
|
2215
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2216
|
-
})
|
|
2217
|
-
.s("ComputeOptimizerService", "GetEnrollmentStatus", {})
|
|
2218
|
-
.n("ComputeOptimizerClient", "GetEnrollmentStatusCommand")
|
|
2219
|
-
.sc(GetEnrollmentStatus$)
|
|
2220
|
-
.build() {
|
|
2064
|
+
class GetEnrollmentStatusCommand extends command(_ep0, _mw0, "GetEnrollmentStatus", GetEnrollmentStatus$) {
|
|
2221
2065
|
}
|
|
2222
2066
|
|
|
2223
|
-
class GetEnrollmentStatusesForOrganizationCommand extends
|
|
2224
|
-
.classBuilder()
|
|
2225
|
-
.ep(commonParams)
|
|
2226
|
-
.m(function (Command, cs, config, o) {
|
|
2227
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2228
|
-
})
|
|
2229
|
-
.s("ComputeOptimizerService", "GetEnrollmentStatusesForOrganization", {})
|
|
2230
|
-
.n("ComputeOptimizerClient", "GetEnrollmentStatusesForOrganizationCommand")
|
|
2231
|
-
.sc(GetEnrollmentStatusesForOrganization$)
|
|
2232
|
-
.build() {
|
|
2067
|
+
class GetEnrollmentStatusesForOrganizationCommand extends command(_ep0, _mw0, "GetEnrollmentStatusesForOrganization", GetEnrollmentStatusesForOrganization$) {
|
|
2233
2068
|
}
|
|
2234
2069
|
|
|
2235
|
-
class GetIdleRecommendationsCommand extends
|
|
2236
|
-
.classBuilder()
|
|
2237
|
-
.ep(commonParams)
|
|
2238
|
-
.m(function (Command, cs, config, o) {
|
|
2239
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2240
|
-
})
|
|
2241
|
-
.s("ComputeOptimizerService", "GetIdleRecommendations", {})
|
|
2242
|
-
.n("ComputeOptimizerClient", "GetIdleRecommendationsCommand")
|
|
2243
|
-
.sc(GetIdleRecommendations$)
|
|
2244
|
-
.build() {
|
|
2070
|
+
class GetIdleRecommendationsCommand extends command(_ep0, _mw0, "GetIdleRecommendations", GetIdleRecommendations$) {
|
|
2245
2071
|
}
|
|
2246
2072
|
|
|
2247
|
-
class GetLambdaFunctionRecommendationsCommand extends
|
|
2248
|
-
.classBuilder()
|
|
2249
|
-
.ep(commonParams)
|
|
2250
|
-
.m(function (Command, cs, config, o) {
|
|
2251
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2252
|
-
})
|
|
2253
|
-
.s("ComputeOptimizerService", "GetLambdaFunctionRecommendations", {})
|
|
2254
|
-
.n("ComputeOptimizerClient", "GetLambdaFunctionRecommendationsCommand")
|
|
2255
|
-
.sc(GetLambdaFunctionRecommendations$)
|
|
2256
|
-
.build() {
|
|
2073
|
+
class GetLambdaFunctionRecommendationsCommand extends command(_ep0, _mw0, "GetLambdaFunctionRecommendations", GetLambdaFunctionRecommendations$) {
|
|
2257
2074
|
}
|
|
2258
2075
|
|
|
2259
|
-
class GetLicenseRecommendationsCommand extends
|
|
2260
|
-
.classBuilder()
|
|
2261
|
-
.ep(commonParams)
|
|
2262
|
-
.m(function (Command, cs, config, o) {
|
|
2263
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2264
|
-
})
|
|
2265
|
-
.s("ComputeOptimizerService", "GetLicenseRecommendations", {})
|
|
2266
|
-
.n("ComputeOptimizerClient", "GetLicenseRecommendationsCommand")
|
|
2267
|
-
.sc(GetLicenseRecommendations$)
|
|
2268
|
-
.build() {
|
|
2076
|
+
class GetLicenseRecommendationsCommand extends command(_ep0, _mw0, "GetLicenseRecommendations", GetLicenseRecommendations$) {
|
|
2269
2077
|
}
|
|
2270
2078
|
|
|
2271
|
-
class GetRDSDatabaseRecommendationProjectedMetricsCommand extends
|
|
2272
|
-
.classBuilder()
|
|
2273
|
-
.ep(commonParams)
|
|
2274
|
-
.m(function (Command, cs, config, o) {
|
|
2275
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2276
|
-
})
|
|
2277
|
-
.s("ComputeOptimizerService", "GetRDSDatabaseRecommendationProjectedMetrics", {})
|
|
2278
|
-
.n("ComputeOptimizerClient", "GetRDSDatabaseRecommendationProjectedMetricsCommand")
|
|
2279
|
-
.sc(GetRDSDatabaseRecommendationProjectedMetrics$)
|
|
2280
|
-
.build() {
|
|
2079
|
+
class GetRDSDatabaseRecommendationProjectedMetricsCommand extends command(_ep0, _mw0, "GetRDSDatabaseRecommendationProjectedMetrics", GetRDSDatabaseRecommendationProjectedMetrics$) {
|
|
2281
2080
|
}
|
|
2282
2081
|
|
|
2283
|
-
class GetRDSDatabaseRecommendationsCommand extends
|
|
2284
|
-
.classBuilder()
|
|
2285
|
-
.ep(commonParams)
|
|
2286
|
-
.m(function (Command, cs, config, o) {
|
|
2287
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2288
|
-
})
|
|
2289
|
-
.s("ComputeOptimizerService", "GetRDSDatabaseRecommendations", {})
|
|
2290
|
-
.n("ComputeOptimizerClient", "GetRDSDatabaseRecommendationsCommand")
|
|
2291
|
-
.sc(GetRDSDatabaseRecommendations$)
|
|
2292
|
-
.build() {
|
|
2082
|
+
class GetRDSDatabaseRecommendationsCommand extends command(_ep0, _mw0, "GetRDSDatabaseRecommendations", GetRDSDatabaseRecommendations$) {
|
|
2293
2083
|
}
|
|
2294
2084
|
|
|
2295
|
-
class GetRecommendationPreferencesCommand extends
|
|
2296
|
-
.classBuilder()
|
|
2297
|
-
.ep(commonParams)
|
|
2298
|
-
.m(function (Command, cs, config, o) {
|
|
2299
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2300
|
-
})
|
|
2301
|
-
.s("ComputeOptimizerService", "GetRecommendationPreferences", {})
|
|
2302
|
-
.n("ComputeOptimizerClient", "GetRecommendationPreferencesCommand")
|
|
2303
|
-
.sc(GetRecommendationPreferences$)
|
|
2304
|
-
.build() {
|
|
2085
|
+
class GetRecommendationPreferencesCommand extends command(_ep0, _mw0, "GetRecommendationPreferences", GetRecommendationPreferences$) {
|
|
2305
2086
|
}
|
|
2306
2087
|
|
|
2307
|
-
class GetRecommendationSummariesCommand extends
|
|
2308
|
-
.classBuilder()
|
|
2309
|
-
.ep(commonParams)
|
|
2310
|
-
.m(function (Command, cs, config, o) {
|
|
2311
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2312
|
-
})
|
|
2313
|
-
.s("ComputeOptimizerService", "GetRecommendationSummaries", {})
|
|
2314
|
-
.n("ComputeOptimizerClient", "GetRecommendationSummariesCommand")
|
|
2315
|
-
.sc(GetRecommendationSummaries$)
|
|
2316
|
-
.build() {
|
|
2088
|
+
class GetRecommendationSummariesCommand extends command(_ep0, _mw0, "GetRecommendationSummaries", GetRecommendationSummaries$) {
|
|
2317
2089
|
}
|
|
2318
2090
|
|
|
2319
|
-
class PutRecommendationPreferencesCommand extends
|
|
2320
|
-
.classBuilder()
|
|
2321
|
-
.ep(commonParams)
|
|
2322
|
-
.m(function (Command, cs, config, o) {
|
|
2323
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2324
|
-
})
|
|
2325
|
-
.s("ComputeOptimizerService", "PutRecommendationPreferences", {})
|
|
2326
|
-
.n("ComputeOptimizerClient", "PutRecommendationPreferencesCommand")
|
|
2327
|
-
.sc(PutRecommendationPreferences$)
|
|
2328
|
-
.build() {
|
|
2091
|
+
class PutRecommendationPreferencesCommand extends command(_ep0, _mw0, "PutRecommendationPreferences", PutRecommendationPreferences$) {
|
|
2329
2092
|
}
|
|
2330
2093
|
|
|
2331
|
-
class UpdateEnrollmentStatusCommand extends
|
|
2332
|
-
.classBuilder()
|
|
2333
|
-
.ep(commonParams)
|
|
2334
|
-
.m(function (Command, cs, config, o) {
|
|
2335
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2336
|
-
})
|
|
2337
|
-
.s("ComputeOptimizerService", "UpdateEnrollmentStatus", {})
|
|
2338
|
-
.n("ComputeOptimizerClient", "UpdateEnrollmentStatusCommand")
|
|
2339
|
-
.sc(UpdateEnrollmentStatus$)
|
|
2340
|
-
.build() {
|
|
2094
|
+
class UpdateEnrollmentStatusCommand extends command(_ep0, _mw0, "UpdateEnrollmentStatus", UpdateEnrollmentStatus$) {
|
|
2341
2095
|
}
|
|
2342
2096
|
|
|
2343
2097
|
const paginateDescribeRecommendationExportJobs = createPaginator(ComputeOptimizerClient, DescribeRecommendationExportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "ComputeOptimizerService", "ComputeOptimizerClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteRecommendationPreferences$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteRecommendationPreferencesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ComputeOptimizerService", "DeleteRecommendationPreferences", {})
|
|
13
|
-
.n("ComputeOptimizerClient", "DeleteRecommendationPreferencesCommand")
|
|
14
|
-
.sc(DeleteRecommendationPreferences$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteRecommendationPreferencesCommand extends command(_ep0, _mw0, "DeleteRecommendationPreferences", DeleteRecommendationPreferences$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeRecommendationExportJobs$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeRecommendationExportJobsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ComputeOptimizerService", "DescribeRecommendationExportJobs", {})
|
|
13
|
-
.n("ComputeOptimizerClient", "DescribeRecommendationExportJobsCommand")
|
|
14
|
-
.sc(DescribeRecommendationExportJobs$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeRecommendationExportJobsCommand extends command(_ep0, _mw0, "DescribeRecommendationExportJobs", DescribeRecommendationExportJobs$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ExportAutoScalingGroupRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ExportAutoScalingGroupRecommendationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ComputeOptimizerService", "ExportAutoScalingGroupRecommendations", {})
|
|
13
|
-
.n("ComputeOptimizerClient", "ExportAutoScalingGroupRecommendationsCommand")
|
|
14
|
-
.sc(ExportAutoScalingGroupRecommendations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ExportAutoScalingGroupRecommendationsCommand extends command(_ep0, _mw0, "ExportAutoScalingGroupRecommendations", ExportAutoScalingGroupRecommendations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ExportEBSVolumeRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ExportEBSVolumeRecommendationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ComputeOptimizerService", "ExportEBSVolumeRecommendations", {})
|
|
13
|
-
.n("ComputeOptimizerClient", "ExportEBSVolumeRecommendationsCommand")
|
|
14
|
-
.sc(ExportEBSVolumeRecommendations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ExportEBSVolumeRecommendationsCommand extends command(_ep0, _mw0, "ExportEBSVolumeRecommendations", ExportEBSVolumeRecommendations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ExportEC2InstanceRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ExportEC2InstanceRecommendationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ComputeOptimizerService", "ExportEC2InstanceRecommendations", {})
|
|
13
|
-
.n("ComputeOptimizerClient", "ExportEC2InstanceRecommendationsCommand")
|
|
14
|
-
.sc(ExportEC2InstanceRecommendations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ExportEC2InstanceRecommendationsCommand extends command(_ep0, _mw0, "ExportEC2InstanceRecommendations", ExportEC2InstanceRecommendations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ExportECSServiceRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ExportECSServiceRecommendationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ComputeOptimizerService", "ExportECSServiceRecommendations", {})
|
|
13
|
-
.n("ComputeOptimizerClient", "ExportECSServiceRecommendationsCommand")
|
|
14
|
-
.sc(ExportECSServiceRecommendations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ExportECSServiceRecommendationsCommand extends command(_ep0, _mw0, "ExportECSServiceRecommendations", ExportECSServiceRecommendations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ExportIdleRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ExportIdleRecommendationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ComputeOptimizerService", "ExportIdleRecommendations", {})
|
|
13
|
-
.n("ComputeOptimizerClient", "ExportIdleRecommendationsCommand")
|
|
14
|
-
.sc(ExportIdleRecommendations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ExportIdleRecommendationsCommand extends command(_ep0, _mw0, "ExportIdleRecommendations", ExportIdleRecommendations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ExportLambdaFunctionRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ExportLambdaFunctionRecommendationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ComputeOptimizerService", "ExportLambdaFunctionRecommendations", {})
|
|
13
|
-
.n("ComputeOptimizerClient", "ExportLambdaFunctionRecommendationsCommand")
|
|
14
|
-
.sc(ExportLambdaFunctionRecommendations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ExportLambdaFunctionRecommendationsCommand extends command(_ep0, _mw0, "ExportLambdaFunctionRecommendations", ExportLambdaFunctionRecommendations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ExportLicenseRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ExportLicenseRecommendationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ComputeOptimizerService", "ExportLicenseRecommendations", {})
|
|
13
|
-
.n("ComputeOptimizerClient", "ExportLicenseRecommendationsCommand")
|
|
14
|
-
.sc(ExportLicenseRecommendations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ExportLicenseRecommendationsCommand extends command(_ep0, _mw0, "ExportLicenseRecommendations", ExportLicenseRecommendations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ExportRDSDatabaseRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ExportRDSDatabaseRecommendationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ComputeOptimizerService", "ExportRDSDatabaseRecommendations", {})
|
|
13
|
-
.n("ComputeOptimizerClient", "ExportRDSDatabaseRecommendationsCommand")
|
|
14
|
-
.sc(ExportRDSDatabaseRecommendations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ExportRDSDatabaseRecommendationsCommand extends command(_ep0, _mw0, "ExportRDSDatabaseRecommendations", ExportRDSDatabaseRecommendations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetAutoScalingGroupRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetAutoScalingGroupRecommendationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ComputeOptimizerService", "GetAutoScalingGroupRecommendations", {})
|
|
13
|
-
.n("ComputeOptimizerClient", "GetAutoScalingGroupRecommendationsCommand")
|
|
14
|
-
.sc(GetAutoScalingGroupRecommendations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetAutoScalingGroupRecommendationsCommand extends command(_ep0, _mw0, "GetAutoScalingGroupRecommendations", GetAutoScalingGroupRecommendations$) {
|
|
16
4
|
}
|