@aws-sdk/client-compute-optimizer 3.927.0 → 3.928.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.
Files changed (49) hide show
  1. package/dist-cjs/index.js +2103 -1875
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ComputeOptimizerClient.js +2 -0
  4. package/dist-es/commands/DeleteRecommendationPreferencesCommand.js +3 -9
  5. package/dist-es/commands/DescribeRecommendationExportJobsCommand.js +3 -9
  6. package/dist-es/commands/ExportAutoScalingGroupRecommendationsCommand.js +3 -9
  7. package/dist-es/commands/ExportEBSVolumeRecommendationsCommand.js +3 -9
  8. package/dist-es/commands/ExportEC2InstanceRecommendationsCommand.js +3 -9
  9. package/dist-es/commands/ExportECSServiceRecommendationsCommand.js +3 -9
  10. package/dist-es/commands/ExportIdleRecommendationsCommand.js +3 -9
  11. package/dist-es/commands/ExportLambdaFunctionRecommendationsCommand.js +3 -9
  12. package/dist-es/commands/ExportLicenseRecommendationsCommand.js +3 -9
  13. package/dist-es/commands/ExportRDSDatabaseRecommendationsCommand.js +3 -9
  14. package/dist-es/commands/GetAutoScalingGroupRecommendationsCommand.js +3 -9
  15. package/dist-es/commands/GetEBSVolumeRecommendationsCommand.js +3 -9
  16. package/dist-es/commands/GetEC2InstanceRecommendationsCommand.js +3 -9
  17. package/dist-es/commands/GetEC2RecommendationProjectedMetricsCommand.js +3 -9
  18. package/dist-es/commands/GetECSServiceRecommendationProjectedMetricsCommand.js +3 -9
  19. package/dist-es/commands/GetECSServiceRecommendationsCommand.js +3 -9
  20. package/dist-es/commands/GetEffectiveRecommendationPreferencesCommand.js +3 -9
  21. package/dist-es/commands/GetEnrollmentStatusCommand.js +3 -9
  22. package/dist-es/commands/GetEnrollmentStatusesForOrganizationCommand.js +3 -9
  23. package/dist-es/commands/GetIdleRecommendationsCommand.js +3 -9
  24. package/dist-es/commands/GetLambdaFunctionRecommendationsCommand.js +3 -9
  25. package/dist-es/commands/GetLicenseRecommendationsCommand.js +3 -9
  26. package/dist-es/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.js +3 -9
  27. package/dist-es/commands/GetRDSDatabaseRecommendationsCommand.js +3 -9
  28. package/dist-es/commands/GetRecommendationPreferencesCommand.js +3 -9
  29. package/dist-es/commands/GetRecommendationSummariesCommand.js +3 -9
  30. package/dist-es/commands/PutRecommendationPreferencesCommand.js +3 -9
  31. package/dist-es/commands/UpdateEnrollmentStatusCommand.js +3 -9
  32. package/dist-es/runtimeConfig.shared.js +7 -0
  33. package/dist-es/schemas/schemas_0.js +2050 -0
  34. package/dist-types/ComputeOptimizerClient.d.ts +10 -1
  35. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  36. package/dist-types/runtimeConfig.d.ts +1 -0
  37. package/dist-types/runtimeConfig.native.d.ts +1 -0
  38. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  39. package/dist-types/schemas/schemas_0.d.ts +291 -0
  40. package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +296 -0
  46. package/package.json +5 -5
  47. package/dist-es/protocols/Aws_json1_0.js +0 -1656
  48. package/dist-types/protocols/Aws_json1_0.d.ts +0 -254
  49. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -341
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class ComputeOptimizerClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class ComputeOptimizerClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class ComputeOptimizerServiceException extends smithyClient.ServiceException {
113
+ let ComputeOptimizerServiceException$1 = class ComputeOptimizerServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, ComputeOptimizerServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends ComputeOptimizerServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends ComputeOptimizerServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,7 +128,7 @@ class AccessDeniedException extends ComputeOptimizerServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- }
131
+ };
132
132
  const Status = {
133
133
  ACTIVE: "Active",
134
134
  FAILED: "Failed",
@@ -273,7 +273,7 @@ const ScopeName = {
273
273
  ORGANIZATION: "Organization",
274
274
  RESOURCE_ARN: "ResourceArn",
275
275
  };
276
- class InternalServerException extends ComputeOptimizerServiceException {
276
+ let InternalServerException$1 = class InternalServerException extends ComputeOptimizerServiceException$1 {
277
277
  name = "InternalServerException";
278
278
  $fault = "server";
279
279
  constructor(opts) {
@@ -284,8 +284,8 @@ class InternalServerException extends ComputeOptimizerServiceException {
284
284
  });
285
285
  Object.setPrototypeOf(this, InternalServerException.prototype);
286
286
  }
287
- }
288
- class InvalidParameterValueException extends ComputeOptimizerServiceException {
287
+ };
288
+ let InvalidParameterValueException$1 = class InvalidParameterValueException extends ComputeOptimizerServiceException$1 {
289
289
  name = "InvalidParameterValueException";
290
290
  $fault = "client";
291
291
  constructor(opts) {
@@ -296,8 +296,8 @@ class InvalidParameterValueException extends ComputeOptimizerServiceException {
296
296
  });
297
297
  Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
298
298
  }
299
- }
300
- class MissingAuthenticationToken extends ComputeOptimizerServiceException {
299
+ };
300
+ let MissingAuthenticationToken$1 = class MissingAuthenticationToken extends ComputeOptimizerServiceException$1 {
301
301
  name = "MissingAuthenticationToken";
302
302
  $fault = "client";
303
303
  constructor(opts) {
@@ -308,8 +308,8 @@ class MissingAuthenticationToken extends ComputeOptimizerServiceException {
308
308
  });
309
309
  Object.setPrototypeOf(this, MissingAuthenticationToken.prototype);
310
310
  }
311
- }
312
- class OptInRequiredException extends ComputeOptimizerServiceException {
311
+ };
312
+ let OptInRequiredException$1 = class OptInRequiredException extends ComputeOptimizerServiceException$1 {
313
313
  name = "OptInRequiredException";
314
314
  $fault = "client";
315
315
  constructor(opts) {
@@ -320,8 +320,8 @@ class OptInRequiredException extends ComputeOptimizerServiceException {
320
320
  });
321
321
  Object.setPrototypeOf(this, OptInRequiredException.prototype);
322
322
  }
323
- }
324
- class ResourceNotFoundException extends ComputeOptimizerServiceException {
323
+ };
324
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends ComputeOptimizerServiceException$1 {
325
325
  name = "ResourceNotFoundException";
326
326
  $fault = "client";
327
327
  constructor(opts) {
@@ -332,8 +332,8 @@ class ResourceNotFoundException extends ComputeOptimizerServiceException {
332
332
  });
333
333
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
334
334
  }
335
- }
336
- class ServiceUnavailableException extends ComputeOptimizerServiceException {
335
+ };
336
+ let ServiceUnavailableException$1 = class ServiceUnavailableException extends ComputeOptimizerServiceException$1 {
337
337
  name = "ServiceUnavailableException";
338
338
  $fault = "server";
339
339
  constructor(opts) {
@@ -344,8 +344,8 @@ class ServiceUnavailableException extends ComputeOptimizerServiceException {
344
344
  });
345
345
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
346
346
  }
347
- }
348
- class ThrottlingException extends ComputeOptimizerServiceException {
347
+ };
348
+ let ThrottlingException$1 = class ThrottlingException extends ComputeOptimizerServiceException$1 {
349
349
  name = "ThrottlingException";
350
350
  $fault = "client";
351
351
  constructor(opts) {
@@ -356,7 +356,7 @@ class ThrottlingException extends ComputeOptimizerServiceException {
356
356
  });
357
357
  Object.setPrototypeOf(this, ThrottlingException.prototype);
358
358
  }
359
- }
359
+ };
360
360
  const JobFilterName = {
361
361
  JOB_STATUS: "JobStatus",
362
362
  RESOURCE_TYPE: "ResourceType",
@@ -451,7 +451,7 @@ const FilterName = {
451
451
  INFERRED_WORKLOAD_TYPES: "InferredWorkloadTypes",
452
452
  RECOMMENDATION_SOURCE_TYPE: "RecommendationSourceType",
453
453
  };
454
- class LimitExceededException extends ComputeOptimizerServiceException {
454
+ let LimitExceededException$1 = class LimitExceededException extends ComputeOptimizerServiceException$1 {
455
455
  name = "LimitExceededException";
456
456
  $fault = "client";
457
457
  constructor(opts) {
@@ -462,7 +462,7 @@ class LimitExceededException extends ComputeOptimizerServiceException {
462
462
  });
463
463
  Object.setPrototypeOf(this, LimitExceededException.prototype);
464
464
  }
465
- }
465
+ };
466
466
  const ExportableVolumeField = {
467
467
  ACCOUNT_ID: "AccountId",
468
468
  CURRENT_CONFIGURATION_ROOT_VOLUME: "CurrentConfigurationRootVolume",
@@ -1086,1668 +1086,2031 @@ const FindingReasonCode = {
1086
1086
  MEMORY_UNDER_PROVISIONED: "MemoryUnderprovisioned",
1087
1087
  };
1088
1088
 
1089
- const se_DeleteRecommendationPreferencesCommand = async (input, context) => {
1090
- const headers = sharedHeaders("DeleteRecommendationPreferences");
1091
- let body;
1092
- body = JSON.stringify(smithyClient._json(input));
1093
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1094
- };
1095
- const se_DescribeRecommendationExportJobsCommand = async (input, context) => {
1096
- const headers = sharedHeaders("DescribeRecommendationExportJobs");
1097
- let body;
1098
- body = JSON.stringify(smithyClient._json(input));
1099
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1100
- };
1101
- const se_ExportAutoScalingGroupRecommendationsCommand = async (input, context) => {
1102
- const headers = sharedHeaders("ExportAutoScalingGroupRecommendations");
1103
- let body;
1104
- body = JSON.stringify(smithyClient._json(input));
1105
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1106
- };
1107
- const se_ExportEBSVolumeRecommendationsCommand = async (input, context) => {
1108
- const headers = sharedHeaders("ExportEBSVolumeRecommendations");
1109
- let body;
1110
- body = JSON.stringify(smithyClient._json(input));
1111
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1112
- };
1113
- const se_ExportEC2InstanceRecommendationsCommand = async (input, context) => {
1114
- const headers = sharedHeaders("ExportEC2InstanceRecommendations");
1115
- let body;
1116
- body = JSON.stringify(smithyClient._json(input));
1117
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1118
- };
1119
- const se_ExportECSServiceRecommendationsCommand = async (input, context) => {
1120
- const headers = sharedHeaders("ExportECSServiceRecommendations");
1121
- let body;
1122
- body = JSON.stringify(smithyClient._json(input));
1123
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1124
- };
1125
- const se_ExportIdleRecommendationsCommand = async (input, context) => {
1126
- const headers = sharedHeaders("ExportIdleRecommendations");
1127
- let body;
1128
- body = JSON.stringify(smithyClient._json(input));
1129
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1130
- };
1131
- const se_ExportLambdaFunctionRecommendationsCommand = async (input, context) => {
1132
- const headers = sharedHeaders("ExportLambdaFunctionRecommendations");
1133
- let body;
1134
- body = JSON.stringify(smithyClient._json(input));
1135
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1136
- };
1137
- const se_ExportLicenseRecommendationsCommand = async (input, context) => {
1138
- const headers = sharedHeaders("ExportLicenseRecommendations");
1139
- let body;
1140
- body = JSON.stringify(smithyClient._json(input));
1141
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1142
- };
1143
- const se_ExportRDSDatabaseRecommendationsCommand = async (input, context) => {
1144
- const headers = sharedHeaders("ExportRDSDatabaseRecommendations");
1145
- let body;
1146
- body = JSON.stringify(smithyClient._json(input));
1147
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1148
- };
1149
- const se_GetAutoScalingGroupRecommendationsCommand = async (input, context) => {
1150
- const headers = sharedHeaders("GetAutoScalingGroupRecommendations");
1151
- let body;
1152
- body = JSON.stringify(smithyClient._json(input));
1153
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1154
- };
1155
- const se_GetEBSVolumeRecommendationsCommand = async (input, context) => {
1156
- const headers = sharedHeaders("GetEBSVolumeRecommendations");
1157
- let body;
1158
- body = JSON.stringify(smithyClient._json(input));
1159
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1160
- };
1161
- const se_GetEC2InstanceRecommendationsCommand = async (input, context) => {
1162
- const headers = sharedHeaders("GetEC2InstanceRecommendations");
1163
- let body;
1164
- body = JSON.stringify(smithyClient._json(input));
1165
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1166
- };
1167
- const se_GetEC2RecommendationProjectedMetricsCommand = async (input, context) => {
1168
- const headers = sharedHeaders("GetEC2RecommendationProjectedMetrics");
1169
- let body;
1170
- body = JSON.stringify(se_GetEC2RecommendationProjectedMetricsRequest(input));
1171
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1172
- };
1173
- const se_GetECSServiceRecommendationProjectedMetricsCommand = async (input, context) => {
1174
- const headers = sharedHeaders("GetECSServiceRecommendationProjectedMetrics");
1175
- let body;
1176
- body = JSON.stringify(se_GetECSServiceRecommendationProjectedMetricsRequest(input));
1177
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1178
- };
1179
- const se_GetECSServiceRecommendationsCommand = async (input, context) => {
1180
- const headers = sharedHeaders("GetECSServiceRecommendations");
1181
- let body;
1182
- body = JSON.stringify(smithyClient._json(input));
1183
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1184
- };
1185
- const se_GetEffectiveRecommendationPreferencesCommand = async (input, context) => {
1186
- const headers = sharedHeaders("GetEffectiveRecommendationPreferences");
1187
- let body;
1188
- body = JSON.stringify(smithyClient._json(input));
1189
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1190
- };
1191
- const se_GetEnrollmentStatusCommand = async (input, context) => {
1192
- const headers = sharedHeaders("GetEnrollmentStatus");
1193
- let body;
1194
- body = JSON.stringify(smithyClient._json(input));
1195
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1196
- };
1197
- const se_GetEnrollmentStatusesForOrganizationCommand = async (input, context) => {
1198
- const headers = sharedHeaders("GetEnrollmentStatusesForOrganization");
1199
- let body;
1200
- body = JSON.stringify(smithyClient._json(input));
1201
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1202
- };
1203
- const se_GetIdleRecommendationsCommand = async (input, context) => {
1204
- const headers = sharedHeaders("GetIdleRecommendations");
1205
- let body;
1206
- body = JSON.stringify(smithyClient._json(input));
1207
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1208
- };
1209
- const se_GetLambdaFunctionRecommendationsCommand = async (input, context) => {
1210
- const headers = sharedHeaders("GetLambdaFunctionRecommendations");
1211
- let body;
1212
- body = JSON.stringify(smithyClient._json(input));
1213
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1214
- };
1215
- const se_GetLicenseRecommendationsCommand = async (input, context) => {
1216
- const headers = sharedHeaders("GetLicenseRecommendations");
1217
- let body;
1218
- body = JSON.stringify(smithyClient._json(input));
1219
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1220
- };
1221
- const se_GetRDSDatabaseRecommendationProjectedMetricsCommand = async (input, context) => {
1222
- const headers = sharedHeaders("GetRDSDatabaseRecommendationProjectedMetrics");
1223
- let body;
1224
- body = JSON.stringify(se_GetRDSDatabaseRecommendationProjectedMetricsRequest(input));
1225
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1226
- };
1227
- const se_GetRDSDatabaseRecommendationsCommand = async (input, context) => {
1228
- const headers = sharedHeaders("GetRDSDatabaseRecommendations");
1229
- let body;
1230
- body = JSON.stringify(smithyClient._json(input));
1231
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1232
- };
1233
- const se_GetRecommendationPreferencesCommand = async (input, context) => {
1234
- const headers = sharedHeaders("GetRecommendationPreferences");
1235
- let body;
1236
- body = JSON.stringify(smithyClient._json(input));
1237
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1238
- };
1239
- const se_GetRecommendationSummariesCommand = async (input, context) => {
1240
- const headers = sharedHeaders("GetRecommendationSummaries");
1241
- let body;
1242
- body = JSON.stringify(smithyClient._json(input));
1243
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1244
- };
1245
- const se_PutRecommendationPreferencesCommand = async (input, context) => {
1246
- const headers = sharedHeaders("PutRecommendationPreferences");
1247
- let body;
1248
- body = JSON.stringify(smithyClient._json(input));
1249
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1250
- };
1251
- const se_UpdateEnrollmentStatusCommand = async (input, context) => {
1252
- const headers = sharedHeaders("UpdateEnrollmentStatus");
1253
- let body;
1254
- body = JSON.stringify(smithyClient._json(input));
1255
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
1256
- };
1257
- const de_DeleteRecommendationPreferencesCommand = async (output, context) => {
1258
- if (output.statusCode >= 300) {
1259
- return de_CommandError(output, context);
1260
- }
1261
- const data = await core$1.parseJsonBody(output.body, context);
1262
- let contents = {};
1263
- contents = smithyClient._json(data);
1264
- const response = {
1265
- $metadata: deserializeMetadata(output),
1266
- ...contents,
1267
- };
1268
- return response;
1269
- };
1270
- const de_DescribeRecommendationExportJobsCommand = async (output, context) => {
1271
- if (output.statusCode >= 300) {
1272
- return de_CommandError(output, context);
1273
- }
1274
- const data = await core$1.parseJsonBody(output.body, context);
1275
- let contents = {};
1276
- contents = de_DescribeRecommendationExportJobsResponse(data);
1277
- const response = {
1278
- $metadata: deserializeMetadata(output),
1279
- ...contents,
1280
- };
1281
- return response;
1282
- };
1283
- const de_ExportAutoScalingGroupRecommendationsCommand = async (output, context) => {
1284
- if (output.statusCode >= 300) {
1285
- return de_CommandError(output, context);
1286
- }
1287
- const data = await core$1.parseJsonBody(output.body, context);
1288
- let contents = {};
1289
- contents = smithyClient._json(data);
1290
- const response = {
1291
- $metadata: deserializeMetadata(output),
1292
- ...contents,
1293
- };
1294
- return response;
1295
- };
1296
- const de_ExportEBSVolumeRecommendationsCommand = async (output, context) => {
1297
- if (output.statusCode >= 300) {
1298
- return de_CommandError(output, context);
1299
- }
1300
- const data = await core$1.parseJsonBody(output.body, context);
1301
- let contents = {};
1302
- contents = smithyClient._json(data);
1303
- const response = {
1304
- $metadata: deserializeMetadata(output),
1305
- ...contents,
1306
- };
1307
- return response;
1308
- };
1309
- const de_ExportEC2InstanceRecommendationsCommand = async (output, context) => {
1310
- if (output.statusCode >= 300) {
1311
- return de_CommandError(output, context);
1312
- }
1313
- const data = await core$1.parseJsonBody(output.body, context);
1314
- let contents = {};
1315
- contents = smithyClient._json(data);
1316
- const response = {
1317
- $metadata: deserializeMetadata(output),
1318
- ...contents,
1319
- };
1320
- return response;
1321
- };
1322
- const de_ExportECSServiceRecommendationsCommand = async (output, context) => {
1323
- if (output.statusCode >= 300) {
1324
- return de_CommandError(output, context);
1325
- }
1326
- const data = await core$1.parseJsonBody(output.body, context);
1327
- let contents = {};
1328
- contents = smithyClient._json(data);
1329
- const response = {
1330
- $metadata: deserializeMetadata(output),
1331
- ...contents,
1332
- };
1333
- return response;
1334
- };
1335
- const de_ExportIdleRecommendationsCommand = async (output, context) => {
1336
- if (output.statusCode >= 300) {
1337
- return de_CommandError(output, context);
1338
- }
1339
- const data = await core$1.parseJsonBody(output.body, context);
1340
- let contents = {};
1341
- contents = smithyClient._json(data);
1342
- const response = {
1343
- $metadata: deserializeMetadata(output),
1344
- ...contents,
1345
- };
1346
- return response;
1347
- };
1348
- const de_ExportLambdaFunctionRecommendationsCommand = async (output, context) => {
1349
- if (output.statusCode >= 300) {
1350
- return de_CommandError(output, context);
1351
- }
1352
- const data = await core$1.parseJsonBody(output.body, context);
1353
- let contents = {};
1354
- contents = smithyClient._json(data);
1355
- const response = {
1356
- $metadata: deserializeMetadata(output),
1357
- ...contents,
1358
- };
1359
- return response;
1360
- };
1361
- const de_ExportLicenseRecommendationsCommand = async (output, context) => {
1362
- if (output.statusCode >= 300) {
1363
- return de_CommandError(output, context);
1364
- }
1365
- const data = await core$1.parseJsonBody(output.body, context);
1366
- let contents = {};
1367
- contents = smithyClient._json(data);
1368
- const response = {
1369
- $metadata: deserializeMetadata(output),
1370
- ...contents,
1371
- };
1372
- return response;
1373
- };
1374
- const de_ExportRDSDatabaseRecommendationsCommand = async (output, context) => {
1375
- if (output.statusCode >= 300) {
1376
- return de_CommandError(output, context);
1377
- }
1378
- const data = await core$1.parseJsonBody(output.body, context);
1379
- let contents = {};
1380
- contents = smithyClient._json(data);
1381
- const response = {
1382
- $metadata: deserializeMetadata(output),
1383
- ...contents,
1384
- };
1385
- return response;
1386
- };
1387
- const de_GetAutoScalingGroupRecommendationsCommand = async (output, context) => {
1388
- if (output.statusCode >= 300) {
1389
- return de_CommandError(output, context);
1390
- }
1391
- const data = await core$1.parseJsonBody(output.body, context);
1392
- let contents = {};
1393
- contents = de_GetAutoScalingGroupRecommendationsResponse(data);
1394
- const response = {
1395
- $metadata: deserializeMetadata(output),
1396
- ...contents,
1397
- };
1398
- return response;
1399
- };
1400
- const de_GetEBSVolumeRecommendationsCommand = async (output, context) => {
1401
- if (output.statusCode >= 300) {
1402
- return de_CommandError(output, context);
1403
- }
1404
- const data = await core$1.parseJsonBody(output.body, context);
1405
- let contents = {};
1406
- contents = de_GetEBSVolumeRecommendationsResponse(data);
1407
- const response = {
1408
- $metadata: deserializeMetadata(output),
1409
- ...contents,
1410
- };
1411
- return response;
1412
- };
1413
- const de_GetEC2InstanceRecommendationsCommand = async (output, context) => {
1414
- if (output.statusCode >= 300) {
1415
- return de_CommandError(output, context);
1416
- }
1417
- const data = await core$1.parseJsonBody(output.body, context);
1418
- let contents = {};
1419
- contents = de_GetEC2InstanceRecommendationsResponse(data);
1420
- const response = {
1421
- $metadata: deserializeMetadata(output),
1422
- ...contents,
1423
- };
1424
- return response;
1425
- };
1426
- const de_GetEC2RecommendationProjectedMetricsCommand = async (output, context) => {
1427
- if (output.statusCode >= 300) {
1428
- return de_CommandError(output, context);
1429
- }
1430
- const data = await core$1.parseJsonBody(output.body, context);
1431
- let contents = {};
1432
- contents = de_GetEC2RecommendationProjectedMetricsResponse(data);
1433
- const response = {
1434
- $metadata: deserializeMetadata(output),
1435
- ...contents,
1436
- };
1437
- return response;
1438
- };
1439
- const de_GetECSServiceRecommendationProjectedMetricsCommand = async (output, context) => {
1440
- if (output.statusCode >= 300) {
1441
- return de_CommandError(output, context);
1442
- }
1443
- const data = await core$1.parseJsonBody(output.body, context);
1444
- let contents = {};
1445
- contents = de_GetECSServiceRecommendationProjectedMetricsResponse(data);
1446
- const response = {
1447
- $metadata: deserializeMetadata(output),
1448
- ...contents,
1449
- };
1450
- return response;
1451
- };
1452
- const de_GetECSServiceRecommendationsCommand = async (output, context) => {
1453
- if (output.statusCode >= 300) {
1454
- return de_CommandError(output, context);
1455
- }
1456
- const data = await core$1.parseJsonBody(output.body, context);
1457
- let contents = {};
1458
- contents = de_GetECSServiceRecommendationsResponse(data);
1459
- const response = {
1460
- $metadata: deserializeMetadata(output),
1461
- ...contents,
1462
- };
1463
- return response;
1464
- };
1465
- const de_GetEffectiveRecommendationPreferencesCommand = async (output, context) => {
1466
- if (output.statusCode >= 300) {
1467
- return de_CommandError(output, context);
1468
- }
1469
- const data = await core$1.parseJsonBody(output.body, context);
1470
- let contents = {};
1471
- contents = smithyClient._json(data);
1472
- const response = {
1473
- $metadata: deserializeMetadata(output),
1474
- ...contents,
1475
- };
1476
- return response;
1477
- };
1478
- const de_GetEnrollmentStatusCommand = async (output, context) => {
1479
- if (output.statusCode >= 300) {
1480
- return de_CommandError(output, context);
1481
- }
1482
- const data = await core$1.parseJsonBody(output.body, context);
1483
- let contents = {};
1484
- contents = de_GetEnrollmentStatusResponse(data);
1485
- const response = {
1486
- $metadata: deserializeMetadata(output),
1487
- ...contents,
1488
- };
1489
- return response;
1490
- };
1491
- const de_GetEnrollmentStatusesForOrganizationCommand = async (output, context) => {
1492
- if (output.statusCode >= 300) {
1493
- return de_CommandError(output, context);
1494
- }
1495
- const data = await core$1.parseJsonBody(output.body, context);
1496
- let contents = {};
1497
- contents = de_GetEnrollmentStatusesForOrganizationResponse(data);
1498
- const response = {
1499
- $metadata: deserializeMetadata(output),
1500
- ...contents,
1501
- };
1502
- return response;
1503
- };
1504
- const de_GetIdleRecommendationsCommand = async (output, context) => {
1505
- if (output.statusCode >= 300) {
1506
- return de_CommandError(output, context);
1507
- }
1508
- const data = await core$1.parseJsonBody(output.body, context);
1509
- let contents = {};
1510
- contents = de_GetIdleRecommendationsResponse(data);
1511
- const response = {
1512
- $metadata: deserializeMetadata(output),
1513
- ...contents,
1514
- };
1515
- return response;
1516
- };
1517
- const de_GetLambdaFunctionRecommendationsCommand = async (output, context) => {
1518
- if (output.statusCode >= 300) {
1519
- return de_CommandError(output, context);
1520
- }
1521
- const data = await core$1.parseJsonBody(output.body, context);
1522
- let contents = {};
1523
- contents = de_GetLambdaFunctionRecommendationsResponse(data);
1524
- const response = {
1525
- $metadata: deserializeMetadata(output),
1526
- ...contents,
1527
- };
1528
- return response;
1529
- };
1530
- const de_GetLicenseRecommendationsCommand = async (output, context) => {
1531
- if (output.statusCode >= 300) {
1532
- return de_CommandError(output, context);
1533
- }
1534
- const data = await core$1.parseJsonBody(output.body, context);
1535
- let contents = {};
1536
- contents = de_GetLicenseRecommendationsResponse(data);
1537
- const response = {
1538
- $metadata: deserializeMetadata(output),
1539
- ...contents,
1540
- };
1541
- return response;
1542
- };
1543
- const de_GetRDSDatabaseRecommendationProjectedMetricsCommand = async (output, context) => {
1544
- if (output.statusCode >= 300) {
1545
- return de_CommandError(output, context);
1546
- }
1547
- const data = await core$1.parseJsonBody(output.body, context);
1548
- let contents = {};
1549
- contents = de_GetRDSDatabaseRecommendationProjectedMetricsResponse(data);
1550
- const response = {
1551
- $metadata: deserializeMetadata(output),
1552
- ...contents,
1553
- };
1554
- return response;
1555
- };
1556
- const de_GetRDSDatabaseRecommendationsCommand = async (output, context) => {
1557
- if (output.statusCode >= 300) {
1558
- return de_CommandError(output, context);
1559
- }
1560
- const data = await core$1.parseJsonBody(output.body, context);
1561
- let contents = {};
1562
- contents = de_GetRDSDatabaseRecommendationsResponse(data);
1563
- const response = {
1564
- $metadata: deserializeMetadata(output),
1565
- ...contents,
1566
- };
1567
- return response;
1568
- };
1569
- const de_GetRecommendationPreferencesCommand = async (output, context) => {
1570
- if (output.statusCode >= 300) {
1571
- return de_CommandError(output, context);
1572
- }
1573
- const data = await core$1.parseJsonBody(output.body, context);
1574
- let contents = {};
1575
- contents = smithyClient._json(data);
1576
- const response = {
1577
- $metadata: deserializeMetadata(output),
1578
- ...contents,
1579
- };
1580
- return response;
1581
- };
1582
- const de_GetRecommendationSummariesCommand = async (output, context) => {
1583
- if (output.statusCode >= 300) {
1584
- return de_CommandError(output, context);
1585
- }
1586
- const data = await core$1.parseJsonBody(output.body, context);
1587
- let contents = {};
1588
- contents = de_GetRecommendationSummariesResponse(data);
1589
- const response = {
1590
- $metadata: deserializeMetadata(output),
1591
- ...contents,
1592
- };
1593
- return response;
1594
- };
1595
- const de_PutRecommendationPreferencesCommand = async (output, context) => {
1596
- if (output.statusCode >= 300) {
1597
- return de_CommandError(output, context);
1598
- }
1599
- const data = await core$1.parseJsonBody(output.body, context);
1600
- let contents = {};
1601
- contents = smithyClient._json(data);
1602
- const response = {
1603
- $metadata: deserializeMetadata(output),
1604
- ...contents,
1605
- };
1606
- return response;
1607
- };
1608
- const de_UpdateEnrollmentStatusCommand = async (output, context) => {
1609
- if (output.statusCode >= 300) {
1610
- return de_CommandError(output, context);
1611
- }
1612
- const data = await core$1.parseJsonBody(output.body, context);
1613
- let contents = {};
1614
- contents = smithyClient._json(data);
1615
- const response = {
1616
- $metadata: deserializeMetadata(output),
1617
- ...contents,
1618
- };
1619
- return response;
1620
- };
1621
- const de_CommandError = async (output, context) => {
1622
- const parsedOutput = {
1623
- ...output,
1624
- body: await core$1.parseJsonErrorBody(output.body, context),
1625
- };
1626
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1627
- switch (errorCode) {
1628
- case "AccessDeniedException":
1629
- case "com.amazonaws.computeoptimizer#AccessDeniedException":
1630
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1631
- case "InternalServerException":
1632
- case "com.amazonaws.computeoptimizer#InternalServerException":
1633
- throw await de_InternalServerExceptionRes(parsedOutput);
1634
- case "InvalidParameterValueException":
1635
- case "com.amazonaws.computeoptimizer#InvalidParameterValueException":
1636
- throw await de_InvalidParameterValueExceptionRes(parsedOutput);
1637
- case "MissingAuthenticationToken":
1638
- case "com.amazonaws.computeoptimizer#MissingAuthenticationToken":
1639
- throw await de_MissingAuthenticationTokenRes(parsedOutput);
1640
- case "OptInRequiredException":
1641
- case "com.amazonaws.computeoptimizer#OptInRequiredException":
1642
- throw await de_OptInRequiredExceptionRes(parsedOutput);
1643
- case "ResourceNotFoundException":
1644
- case "com.amazonaws.computeoptimizer#ResourceNotFoundException":
1645
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1646
- case "ServiceUnavailableException":
1647
- case "com.amazonaws.computeoptimizer#ServiceUnavailableException":
1648
- throw await de_ServiceUnavailableExceptionRes(parsedOutput);
1649
- case "ThrottlingException":
1650
- case "com.amazonaws.computeoptimizer#ThrottlingException":
1651
- throw await de_ThrottlingExceptionRes(parsedOutput);
1652
- case "LimitExceededException":
1653
- case "com.amazonaws.computeoptimizer#LimitExceededException":
1654
- throw await de_LimitExceededExceptionRes(parsedOutput);
1655
- default:
1656
- const parsedBody = parsedOutput.body;
1657
- return throwDefaultError({
1658
- output,
1659
- parsedBody,
1660
- errorCode,
1661
- });
1662
- }
1663
- };
1664
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1665
- const body = parsedOutput.body;
1666
- const deserialized = smithyClient._json(body);
1667
- const exception = new AccessDeniedException({
1668
- $metadata: deserializeMetadata(parsedOutput),
1669
- ...deserialized,
1670
- });
1671
- return smithyClient.decorateServiceException(exception, body);
1672
- };
1673
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1674
- const body = parsedOutput.body;
1675
- const deserialized = smithyClient._json(body);
1676
- const exception = new InternalServerException({
1677
- $metadata: deserializeMetadata(parsedOutput),
1678
- ...deserialized,
1679
- });
1680
- return smithyClient.decorateServiceException(exception, body);
1681
- };
1682
- const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
1683
- const body = parsedOutput.body;
1684
- const deserialized = smithyClient._json(body);
1685
- const exception = new InvalidParameterValueException({
1686
- $metadata: deserializeMetadata(parsedOutput),
1687
- ...deserialized,
1688
- });
1689
- return smithyClient.decorateServiceException(exception, body);
1690
- };
1691
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1692
- const body = parsedOutput.body;
1693
- const deserialized = smithyClient._json(body);
1694
- const exception = new LimitExceededException({
1695
- $metadata: deserializeMetadata(parsedOutput),
1696
- ...deserialized,
1697
- });
1698
- return smithyClient.decorateServiceException(exception, body);
1699
- };
1700
- const de_MissingAuthenticationTokenRes = async (parsedOutput, context) => {
1701
- const body = parsedOutput.body;
1702
- const deserialized = smithyClient._json(body);
1703
- const exception = new MissingAuthenticationToken({
1704
- $metadata: deserializeMetadata(parsedOutput),
1705
- ...deserialized,
1706
- });
1707
- return smithyClient.decorateServiceException(exception, body);
1708
- };
1709
- const de_OptInRequiredExceptionRes = async (parsedOutput, context) => {
1710
- const body = parsedOutput.body;
1711
- const deserialized = smithyClient._json(body);
1712
- const exception = new OptInRequiredException({
1713
- $metadata: deserializeMetadata(parsedOutput),
1714
- ...deserialized,
1715
- });
1716
- return smithyClient.decorateServiceException(exception, body);
1717
- };
1718
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1719
- const body = parsedOutput.body;
1720
- const deserialized = smithyClient._json(body);
1721
- const exception = new ResourceNotFoundException({
1722
- $metadata: deserializeMetadata(parsedOutput),
1723
- ...deserialized,
1724
- });
1725
- return smithyClient.decorateServiceException(exception, body);
1726
- };
1727
- const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
1728
- const body = parsedOutput.body;
1729
- const deserialized = smithyClient._json(body);
1730
- const exception = new ServiceUnavailableException({
1731
- $metadata: deserializeMetadata(parsedOutput),
1732
- ...deserialized,
1733
- });
1734
- return smithyClient.decorateServiceException(exception, body);
1735
- };
1736
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1737
- const body = parsedOutput.body;
1738
- const deserialized = smithyClient._json(body);
1739
- const exception = new ThrottlingException({
1740
- $metadata: deserializeMetadata(parsedOutput),
1741
- ...deserialized,
1742
- });
1743
- return smithyClient.decorateServiceException(exception, body);
1744
- };
1745
- const se_GetEC2RecommendationProjectedMetricsRequest = (input, context) => {
1746
- return smithyClient.take(input, {
1747
- endTime: (_) => _.getTime() / 1_000,
1748
- instanceArn: [],
1749
- period: [],
1750
- recommendationPreferences: smithyClient._json,
1751
- startTime: (_) => _.getTime() / 1_000,
1752
- stat: [],
1753
- });
1754
- };
1755
- const se_GetECSServiceRecommendationProjectedMetricsRequest = (input, context) => {
1756
- return smithyClient.take(input, {
1757
- endTime: (_) => _.getTime() / 1_000,
1758
- period: [],
1759
- serviceArn: [],
1760
- startTime: (_) => _.getTime() / 1_000,
1761
- stat: [],
1762
- });
1763
- };
1764
- const se_GetRDSDatabaseRecommendationProjectedMetricsRequest = (input, context) => {
1765
- return smithyClient.take(input, {
1766
- endTime: (_) => _.getTime() / 1_000,
1767
- period: [],
1768
- recommendationPreferences: smithyClient._json,
1769
- resourceArn: [],
1770
- startTime: (_) => _.getTime() / 1_000,
1771
- stat: [],
1772
- });
1773
- };
1774
- const de_AccountEnrollmentStatus = (output, context) => {
1775
- return smithyClient.take(output, {
1776
- accountId: smithyClient.expectString,
1777
- lastUpdatedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1778
- status: smithyClient.expectString,
1779
- statusReason: smithyClient.expectString,
1780
- });
1781
- };
1782
- const de_AccountEnrollmentStatuses = (output, context) => {
1783
- const retVal = (output || [])
1784
- .filter((e) => e != null)
1785
- .map((entry) => {
1786
- return de_AccountEnrollmentStatus(entry);
1787
- });
1788
- return retVal;
1789
- };
1790
- const de_AutoScalingGroupConfiguration = (output, context) => {
1791
- return smithyClient.take(output, {
1792
- allocationStrategy: smithyClient.expectString,
1793
- desiredCapacity: smithyClient.expectInt32,
1794
- estimatedInstanceHourReductionPercentage: smithyClient.limitedParseDouble,
1795
- instanceType: smithyClient.expectString,
1796
- maxSize: smithyClient.expectInt32,
1797
- minSize: smithyClient.expectInt32,
1798
- mixedInstanceTypes: smithyClient._json,
1799
- type: smithyClient.expectString,
1800
- });
1801
- };
1802
- const de_AutoScalingGroupEstimatedMonthlySavings = (output, context) => {
1803
- return smithyClient.take(output, {
1804
- currency: smithyClient.expectString,
1805
- value: smithyClient.limitedParseDouble,
1806
- });
1807
- };
1808
- const de_AutoScalingGroupRecommendation = (output, context) => {
1809
- return smithyClient.take(output, {
1810
- accountId: smithyClient.expectString,
1811
- autoScalingGroupArn: smithyClient.expectString,
1812
- autoScalingGroupName: smithyClient.expectString,
1813
- currentConfiguration: (_) => de_AutoScalingGroupConfiguration(_),
1814
- currentInstanceGpuInfo: smithyClient._json,
1815
- currentPerformanceRisk: smithyClient.expectString,
1816
- effectiveRecommendationPreferences: smithyClient._json,
1817
- finding: smithyClient.expectString,
1818
- inferredWorkloadTypes: smithyClient._json,
1819
- lastRefreshTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1820
- lookBackPeriodInDays: smithyClient.limitedParseDouble,
1821
- recommendationOptions: (_) => de_AutoScalingGroupRecommendationOptions(_),
1822
- utilizationMetrics: (_) => de_UtilizationMetrics(_),
1823
- });
1824
- };
1825
- const de_AutoScalingGroupRecommendationOption = (output, context) => {
1826
- return smithyClient.take(output, {
1827
- configuration: (_) => de_AutoScalingGroupConfiguration(_),
1828
- instanceGpuInfo: smithyClient._json,
1829
- migrationEffort: smithyClient.expectString,
1830
- performanceRisk: smithyClient.limitedParseDouble,
1831
- projectedUtilizationMetrics: (_) => de_ProjectedUtilizationMetrics(_),
1832
- rank: smithyClient.expectInt32,
1833
- savingsOpportunity: (_) => de_SavingsOpportunity(_),
1834
- savingsOpportunityAfterDiscounts: (_) => de_AutoScalingGroupSavingsOpportunityAfterDiscounts(_),
1835
- });
1836
- };
1837
- const de_AutoScalingGroupRecommendationOptions = (output, context) => {
1838
- const retVal = (output || [])
1839
- .filter((e) => e != null)
1840
- .map((entry) => {
1841
- return de_AutoScalingGroupRecommendationOption(entry);
1842
- });
1843
- return retVal;
1844
- };
1845
- const de_AutoScalingGroupRecommendations = (output, context) => {
1846
- const retVal = (output || [])
1847
- .filter((e) => e != null)
1848
- .map((entry) => {
1849
- return de_AutoScalingGroupRecommendation(entry);
1850
- });
1851
- return retVal;
1852
- };
1853
- const de_AutoScalingGroupSavingsOpportunityAfterDiscounts = (output, context) => {
1854
- return smithyClient.take(output, {
1855
- estimatedMonthlySavings: (_) => de_AutoScalingGroupEstimatedMonthlySavings(_),
1856
- savingsOpportunityPercentage: smithyClient.limitedParseDouble,
1857
- });
1858
- };
1859
- const de_DescribeRecommendationExportJobsResponse = (output, context) => {
1860
- return smithyClient.take(output, {
1861
- nextToken: smithyClient.expectString,
1862
- recommendationExportJobs: (_) => de_RecommendationExportJobs(_),
1863
- });
1864
- };
1865
- const de_EBSEstimatedMonthlySavings = (output, context) => {
1866
- return smithyClient.take(output, {
1867
- currency: smithyClient.expectString,
1868
- value: smithyClient.limitedParseDouble,
1869
- });
1870
- };
1871
- const de_EBSSavingsOpportunityAfterDiscounts = (output, context) => {
1872
- return smithyClient.take(output, {
1873
- estimatedMonthlySavings: (_) => de_EBSEstimatedMonthlySavings(_),
1874
- savingsOpportunityPercentage: smithyClient.limitedParseDouble,
1875
- });
1876
- };
1877
- const de_EBSUtilizationMetric = (output, context) => {
1878
- return smithyClient.take(output, {
1879
- name: smithyClient.expectString,
1880
- statistic: smithyClient.expectString,
1881
- value: smithyClient.limitedParseDouble,
1882
- });
1883
- };
1884
- const de_EBSUtilizationMetrics = (output, context) => {
1885
- const retVal = (output || [])
1886
- .filter((e) => e != null)
1887
- .map((entry) => {
1888
- return de_EBSUtilizationMetric(entry);
1889
- });
1890
- return retVal;
1891
- };
1892
- const de_ECSEstimatedMonthlySavings = (output, context) => {
1893
- return smithyClient.take(output, {
1894
- currency: smithyClient.expectString,
1895
- value: smithyClient.limitedParseDouble,
1896
- });
1897
- };
1898
- const de_ECSSavingsOpportunityAfterDiscounts = (output, context) => {
1899
- return smithyClient.take(output, {
1900
- estimatedMonthlySavings: (_) => de_ECSEstimatedMonthlySavings(_),
1901
- savingsOpportunityPercentage: smithyClient.limitedParseDouble,
1902
- });
1903
- };
1904
- const de_ECSServiceProjectedMetric = (output, context) => {
1905
- return smithyClient.take(output, {
1906
- lowerBoundValues: (_) => de_MetricValues(_),
1907
- name: smithyClient.expectString,
1908
- timestamps: (_) => de_Timestamps(_),
1909
- upperBoundValues: (_) => de_MetricValues(_),
1910
- });
1911
- };
1912
- const de_ECSServiceProjectedMetrics = (output, context) => {
1913
- const retVal = (output || [])
1914
- .filter((e) => e != null)
1915
- .map((entry) => {
1916
- return de_ECSServiceProjectedMetric(entry);
1917
- });
1918
- return retVal;
1919
- };
1920
- const de_ECSServiceProjectedUtilizationMetric = (output, context) => {
1921
- return smithyClient.take(output, {
1922
- lowerBoundValue: smithyClient.limitedParseDouble,
1923
- name: smithyClient.expectString,
1924
- statistic: smithyClient.expectString,
1925
- upperBoundValue: smithyClient.limitedParseDouble,
1926
- });
1927
- };
1928
- const de_ECSServiceProjectedUtilizationMetrics = (output, context) => {
1929
- const retVal = (output || [])
1930
- .filter((e) => e != null)
1931
- .map((entry) => {
1932
- return de_ECSServiceProjectedUtilizationMetric(entry);
1933
- });
1934
- return retVal;
1935
- };
1936
- const de_ECSServiceRecommendation = (output, context) => {
1937
- return smithyClient.take(output, {
1938
- accountId: smithyClient.expectString,
1939
- currentPerformanceRisk: smithyClient.expectString,
1940
- currentServiceConfiguration: smithyClient._json,
1941
- effectiveRecommendationPreferences: smithyClient._json,
1942
- finding: smithyClient.expectString,
1943
- findingReasonCodes: smithyClient._json,
1944
- lastRefreshTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1945
- launchType: smithyClient.expectString,
1946
- lookbackPeriodInDays: smithyClient.limitedParseDouble,
1947
- serviceArn: smithyClient.expectString,
1948
- serviceRecommendationOptions: (_) => de_ECSServiceRecommendationOptions(_),
1949
- tags: smithyClient._json,
1950
- utilizationMetrics: (_) => de_ECSServiceUtilizationMetrics(_),
1951
- });
1952
- };
1953
- const de_ECSServiceRecommendationOption = (output, context) => {
1954
- return smithyClient.take(output, {
1955
- containerRecommendations: smithyClient._json,
1956
- cpu: smithyClient.expectInt32,
1957
- memory: smithyClient.expectInt32,
1958
- projectedUtilizationMetrics: (_) => de_ECSServiceProjectedUtilizationMetrics(_),
1959
- savingsOpportunity: (_) => de_SavingsOpportunity(_),
1960
- savingsOpportunityAfterDiscounts: (_) => de_ECSSavingsOpportunityAfterDiscounts(_),
1961
- });
1962
- };
1963
- const de_ECSServiceRecommendationOptions = (output, context) => {
1964
- const retVal = (output || [])
1965
- .filter((e) => e != null)
1966
- .map((entry) => {
1967
- return de_ECSServiceRecommendationOption(entry);
1968
- });
1969
- return retVal;
1970
- };
1971
- const de_ECSServiceRecommendations = (output, context) => {
1972
- const retVal = (output || [])
1973
- .filter((e) => e != null)
1974
- .map((entry) => {
1975
- return de_ECSServiceRecommendation(entry);
1976
- });
1977
- return retVal;
1978
- };
1979
- const de_ECSServiceRecommendedOptionProjectedMetric = (output, context) => {
1980
- return smithyClient.take(output, {
1981
- projectedMetrics: (_) => de_ECSServiceProjectedMetrics(_),
1982
- recommendedCpuUnits: smithyClient.expectInt32,
1983
- recommendedMemorySize: smithyClient.expectInt32,
1984
- });
1985
- };
1986
- const de_ECSServiceRecommendedOptionProjectedMetrics = (output, context) => {
1987
- const retVal = (output || [])
1988
- .filter((e) => e != null)
1989
- .map((entry) => {
1990
- return de_ECSServiceRecommendedOptionProjectedMetric(entry);
1991
- });
1992
- return retVal;
1993
- };
1994
- const de_ECSServiceUtilizationMetric = (output, context) => {
1995
- return smithyClient.take(output, {
1996
- name: smithyClient.expectString,
1997
- statistic: smithyClient.expectString,
1998
- value: smithyClient.limitedParseDouble,
1999
- });
2000
- };
2001
- const de_ECSServiceUtilizationMetrics = (output, context) => {
2002
- const retVal = (output || [])
2003
- .filter((e) => e != null)
2004
- .map((entry) => {
2005
- return de_ECSServiceUtilizationMetric(entry);
2006
- });
2007
- return retVal;
2008
- };
2009
- const de_EstimatedMonthlySavings = (output, context) => {
2010
- return smithyClient.take(output, {
2011
- currency: smithyClient.expectString,
2012
- value: smithyClient.limitedParseDouble,
2013
- });
2014
- };
2015
- const de_GetAutoScalingGroupRecommendationsResponse = (output, context) => {
2016
- return smithyClient.take(output, {
2017
- autoScalingGroupRecommendations: (_) => de_AutoScalingGroupRecommendations(_),
2018
- errors: smithyClient._json,
2019
- nextToken: smithyClient.expectString,
2020
- });
2021
- };
2022
- const de_GetEBSVolumeRecommendationsResponse = (output, context) => {
2023
- return smithyClient.take(output, {
2024
- errors: smithyClient._json,
2025
- nextToken: smithyClient.expectString,
2026
- volumeRecommendations: (_) => de_VolumeRecommendations(_),
2027
- });
2028
- };
2029
- const de_GetEC2InstanceRecommendationsResponse = (output, context) => {
2030
- return smithyClient.take(output, {
2031
- errors: smithyClient._json,
2032
- instanceRecommendations: (_) => de_InstanceRecommendations(_),
2033
- nextToken: smithyClient.expectString,
2034
- });
2035
- };
2036
- const de_GetEC2RecommendationProjectedMetricsResponse = (output, context) => {
2037
- return smithyClient.take(output, {
2038
- recommendedOptionProjectedMetrics: (_) => de_RecommendedOptionProjectedMetrics(_),
2039
- });
2040
- };
2041
- const de_GetECSServiceRecommendationProjectedMetricsResponse = (output, context) => {
2042
- return smithyClient.take(output, {
2043
- recommendedOptionProjectedMetrics: (_) => de_ECSServiceRecommendedOptionProjectedMetrics(_),
2044
- });
2045
- };
2046
- const de_GetECSServiceRecommendationsResponse = (output, context) => {
2047
- return smithyClient.take(output, {
2048
- ecsServiceRecommendations: (_) => de_ECSServiceRecommendations(_),
2049
- errors: smithyClient._json,
2050
- nextToken: smithyClient.expectString,
2051
- });
2052
- };
2053
- const de_GetEnrollmentStatusesForOrganizationResponse = (output, context) => {
2054
- return smithyClient.take(output, {
2055
- accountEnrollmentStatuses: (_) => de_AccountEnrollmentStatuses(_),
2056
- nextToken: smithyClient.expectString,
2057
- });
2058
- };
2059
- const de_GetEnrollmentStatusResponse = (output, context) => {
2060
- return smithyClient.take(output, {
2061
- lastUpdatedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2062
- memberAccountsEnrolled: smithyClient.expectBoolean,
2063
- numberOfMemberAccountsOptedIn: smithyClient.expectInt32,
2064
- status: smithyClient.expectString,
2065
- statusReason: smithyClient.expectString,
2066
- });
2067
- };
2068
- const de_GetIdleRecommendationsResponse = (output, context) => {
2069
- return smithyClient.take(output, {
2070
- errors: smithyClient._json,
2071
- idleRecommendations: (_) => de_IdleRecommendations(_),
2072
- nextToken: smithyClient.expectString,
2073
- });
2074
- };
2075
- const de_GetLambdaFunctionRecommendationsResponse = (output, context) => {
2076
- return smithyClient.take(output, {
2077
- lambdaFunctionRecommendations: (_) => de_LambdaFunctionRecommendations(_),
2078
- nextToken: smithyClient.expectString,
2079
- });
2080
- };
2081
- const de_GetLicenseRecommendationsResponse = (output, context) => {
2082
- return smithyClient.take(output, {
2083
- errors: smithyClient._json,
2084
- licenseRecommendations: (_) => de_LicenseRecommendations(_),
2085
- nextToken: smithyClient.expectString,
2086
- });
2087
- };
2088
- const de_GetRDSDatabaseRecommendationProjectedMetricsResponse = (output, context) => {
2089
- return smithyClient.take(output, {
2090
- recommendedOptionProjectedMetrics: (_) => de_RDSDatabaseRecommendedOptionProjectedMetrics(_),
2091
- });
2092
- };
2093
- const de_GetRDSDatabaseRecommendationsResponse = (output, context) => {
2094
- return smithyClient.take(output, {
2095
- errors: smithyClient._json,
2096
- nextToken: smithyClient.expectString,
2097
- rdsDBRecommendations: (_) => de_RDSDBRecommendations(_),
2098
- });
2099
- };
2100
- const de_GetRecommendationSummariesResponse = (output, context) => {
2101
- return smithyClient.take(output, {
2102
- nextToken: smithyClient.expectString,
2103
- recommendationSummaries: (_) => de_RecommendationSummaries(_),
2104
- });
2105
- };
2106
- const de_IdleEstimatedMonthlySavings = (output, context) => {
2107
- return smithyClient.take(output, {
2108
- currency: smithyClient.expectString,
2109
- value: smithyClient.limitedParseDouble,
2110
- });
2111
- };
2112
- const de_IdleRecommendation = (output, context) => {
2113
- return smithyClient.take(output, {
2114
- accountId: smithyClient.expectString,
2115
- finding: smithyClient.expectString,
2116
- findingDescription: smithyClient.expectString,
2117
- lastRefreshTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2118
- lookBackPeriodInDays: smithyClient.limitedParseDouble,
2119
- resourceArn: smithyClient.expectString,
2120
- resourceId: smithyClient.expectString,
2121
- resourceType: smithyClient.expectString,
2122
- savingsOpportunity: (_) => de_IdleSavingsOpportunity(_),
2123
- savingsOpportunityAfterDiscounts: (_) => de_IdleSavingsOpportunityAfterDiscounts(_),
2124
- tags: smithyClient._json,
2125
- utilizationMetrics: (_) => de_IdleUtilizationMetrics(_),
2126
- });
2127
- };
2128
- const de_IdleRecommendations = (output, context) => {
2129
- const retVal = (output || [])
2130
- .filter((e) => e != null)
2131
- .map((entry) => {
2132
- return de_IdleRecommendation(entry);
2133
- });
2134
- return retVal;
2135
- };
2136
- const de_IdleSavingsOpportunity = (output, context) => {
2137
- return smithyClient.take(output, {
2138
- estimatedMonthlySavings: (_) => de_IdleEstimatedMonthlySavings(_),
2139
- savingsOpportunityPercentage: smithyClient.limitedParseDouble,
2140
- });
2141
- };
2142
- const de_IdleSavingsOpportunityAfterDiscounts = (output, context) => {
2143
- return smithyClient.take(output, {
2144
- estimatedMonthlySavings: (_) => de_IdleEstimatedMonthlySavings(_),
2145
- savingsOpportunityPercentage: smithyClient.limitedParseDouble,
2146
- });
2147
- };
2148
- const de_IdleSummaries = (output, context) => {
2149
- const retVal = (output || [])
2150
- .filter((e) => e != null)
2151
- .map((entry) => {
2152
- return de_IdleSummary(entry);
2153
- });
2154
- return retVal;
2155
- };
2156
- const de_IdleSummary = (output, context) => {
2157
- return smithyClient.take(output, {
2158
- name: smithyClient.expectString,
2159
- value: smithyClient.limitedParseDouble,
2160
- });
2161
- };
2162
- const de_IdleUtilizationMetric = (output, context) => {
2163
- return smithyClient.take(output, {
2164
- name: smithyClient.expectString,
2165
- statistic: smithyClient.expectString,
2166
- value: smithyClient.limitedParseDouble,
2167
- });
2168
- };
2169
- const de_IdleUtilizationMetrics = (output, context) => {
2170
- const retVal = (output || [])
2171
- .filter((e) => e != null)
2172
- .map((entry) => {
2173
- return de_IdleUtilizationMetric(entry);
2174
- });
2175
- return retVal;
2176
- };
2177
- const de_InferredWorkloadSaving = (output, context) => {
2178
- return smithyClient.take(output, {
2179
- estimatedMonthlySavings: (_) => de_EstimatedMonthlySavings(_),
2180
- inferredWorkloadTypes: smithyClient._json,
2181
- });
2182
- };
2183
- const de_InferredWorkloadSavings = (output, context) => {
2184
- const retVal = (output || [])
2185
- .filter((e) => e != null)
2186
- .map((entry) => {
2187
- return de_InferredWorkloadSaving(entry);
2188
- });
2189
- return retVal;
2190
- };
2191
- const de_InstanceEstimatedMonthlySavings = (output, context) => {
2192
- return smithyClient.take(output, {
2193
- currency: smithyClient.expectString,
2194
- value: smithyClient.limitedParseDouble,
2195
- });
2196
- };
2197
- const de_InstanceRecommendation = (output, context) => {
2198
- return smithyClient.take(output, {
2199
- accountId: smithyClient.expectString,
2200
- currentInstanceGpuInfo: smithyClient._json,
2201
- currentInstanceType: smithyClient.expectString,
2202
- currentPerformanceRisk: smithyClient.expectString,
2203
- effectiveRecommendationPreferences: smithyClient._json,
2204
- externalMetricStatus: smithyClient._json,
2205
- finding: smithyClient.expectString,
2206
- findingReasonCodes: smithyClient._json,
2207
- idle: smithyClient.expectString,
2208
- inferredWorkloadTypes: smithyClient._json,
2209
- instanceArn: smithyClient.expectString,
2210
- instanceName: smithyClient.expectString,
2211
- instanceState: smithyClient.expectString,
2212
- lastRefreshTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2213
- lookBackPeriodInDays: smithyClient.limitedParseDouble,
2214
- recommendationOptions: (_) => de_RecommendationOptions(_),
2215
- recommendationSources: smithyClient._json,
2216
- tags: smithyClient._json,
2217
- utilizationMetrics: (_) => de_UtilizationMetrics(_),
2218
- });
2219
- };
2220
- const de_InstanceRecommendationOption = (output, context) => {
2221
- return smithyClient.take(output, {
2222
- instanceGpuInfo: smithyClient._json,
2223
- instanceType: smithyClient.expectString,
2224
- migrationEffort: smithyClient.expectString,
2225
- performanceRisk: smithyClient.limitedParseDouble,
2226
- platformDifferences: smithyClient._json,
2227
- projectedUtilizationMetrics: (_) => de_ProjectedUtilizationMetrics(_),
2228
- rank: smithyClient.expectInt32,
2229
- savingsOpportunity: (_) => de_SavingsOpportunity(_),
2230
- savingsOpportunityAfterDiscounts: (_) => de_InstanceSavingsOpportunityAfterDiscounts(_),
2231
- });
2232
- };
2233
- const de_InstanceRecommendations = (output, context) => {
2234
- const retVal = (output || [])
2235
- .filter((e) => e != null)
2236
- .map((entry) => {
2237
- return de_InstanceRecommendation(entry);
2238
- });
2239
- return retVal;
2240
- };
2241
- const de_InstanceSavingsOpportunityAfterDiscounts = (output, context) => {
2242
- return smithyClient.take(output, {
2243
- estimatedMonthlySavings: (_) => de_InstanceEstimatedMonthlySavings(_),
2244
- savingsOpportunityPercentage: smithyClient.limitedParseDouble,
2245
- });
2246
- };
2247
- const de_LambdaEstimatedMonthlySavings = (output, context) => {
2248
- return smithyClient.take(output, {
2249
- currency: smithyClient.expectString,
2250
- value: smithyClient.limitedParseDouble,
2251
- });
2252
- };
2253
- const de_LambdaFunctionMemoryProjectedMetric = (output, context) => {
2254
- return smithyClient.take(output, {
2255
- name: smithyClient.expectString,
2256
- statistic: smithyClient.expectString,
2257
- value: smithyClient.limitedParseDouble,
2258
- });
2259
- };
2260
- const de_LambdaFunctionMemoryProjectedMetrics = (output, context) => {
2261
- const retVal = (output || [])
2262
- .filter((e) => e != null)
2263
- .map((entry) => {
2264
- return de_LambdaFunctionMemoryProjectedMetric(entry);
2265
- });
2266
- return retVal;
2267
- };
2268
- const de_LambdaFunctionMemoryRecommendationOption = (output, context) => {
2269
- return smithyClient.take(output, {
2270
- memorySize: smithyClient.expectInt32,
2271
- projectedUtilizationMetrics: (_) => de_LambdaFunctionMemoryProjectedMetrics(_),
2272
- rank: smithyClient.expectInt32,
2273
- savingsOpportunity: (_) => de_SavingsOpportunity(_),
2274
- savingsOpportunityAfterDiscounts: (_) => de_LambdaSavingsOpportunityAfterDiscounts(_),
2275
- });
2276
- };
2277
- const de_LambdaFunctionMemoryRecommendationOptions = (output, context) => {
2278
- const retVal = (output || [])
2279
- .filter((e) => e != null)
2280
- .map((entry) => {
2281
- return de_LambdaFunctionMemoryRecommendationOption(entry);
2282
- });
2283
- return retVal;
2284
- };
2285
- const de_LambdaFunctionRecommendation = (output, context) => {
2286
- return smithyClient.take(output, {
2287
- accountId: smithyClient.expectString,
2288
- currentMemorySize: smithyClient.expectInt32,
2289
- currentPerformanceRisk: smithyClient.expectString,
2290
- effectiveRecommendationPreferences: smithyClient._json,
2291
- finding: smithyClient.expectString,
2292
- findingReasonCodes: smithyClient._json,
2293
- functionArn: smithyClient.expectString,
2294
- functionVersion: smithyClient.expectString,
2295
- lastRefreshTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2296
- lookbackPeriodInDays: smithyClient.limitedParseDouble,
2297
- memorySizeRecommendationOptions: (_) => de_LambdaFunctionMemoryRecommendationOptions(_),
2298
- numberOfInvocations: smithyClient.expectLong,
2299
- tags: smithyClient._json,
2300
- utilizationMetrics: (_) => de_LambdaFunctionUtilizationMetrics(_),
2301
- });
2302
- };
2303
- const de_LambdaFunctionRecommendations = (output, context) => {
2304
- const retVal = (output || [])
2305
- .filter((e) => e != null)
2306
- .map((entry) => {
2307
- return de_LambdaFunctionRecommendation(entry);
2308
- });
2309
- return retVal;
2310
- };
2311
- const de_LambdaFunctionUtilizationMetric = (output, context) => {
2312
- return smithyClient.take(output, {
2313
- name: smithyClient.expectString,
2314
- statistic: smithyClient.expectString,
2315
- value: smithyClient.limitedParseDouble,
2316
- });
2317
- };
2318
- const de_LambdaFunctionUtilizationMetrics = (output, context) => {
2319
- const retVal = (output || [])
2320
- .filter((e) => e != null)
2321
- .map((entry) => {
2322
- return de_LambdaFunctionUtilizationMetric(entry);
2323
- });
2324
- return retVal;
2325
- };
2326
- const de_LambdaSavingsOpportunityAfterDiscounts = (output, context) => {
2327
- return smithyClient.take(output, {
2328
- estimatedMonthlySavings: (_) => de_LambdaEstimatedMonthlySavings(_),
2329
- savingsOpportunityPercentage: smithyClient.limitedParseDouble,
2330
- });
2331
- };
2332
- const de_LicenseRecommendation = (output, context) => {
2333
- return smithyClient.take(output, {
2334
- accountId: smithyClient.expectString,
2335
- currentLicenseConfiguration: smithyClient._json,
2336
- finding: smithyClient.expectString,
2337
- findingReasonCodes: smithyClient._json,
2338
- lastRefreshTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2339
- licenseRecommendationOptions: (_) => de_LicenseRecommendationOptions(_),
2340
- lookbackPeriodInDays: smithyClient.limitedParseDouble,
2341
- resourceArn: smithyClient.expectString,
2342
- tags: smithyClient._json,
2343
- });
2344
- };
2345
- const de_LicenseRecommendationOption = (output, context) => {
2346
- return smithyClient.take(output, {
2347
- licenseEdition: smithyClient.expectString,
2348
- licenseModel: smithyClient.expectString,
2349
- operatingSystem: smithyClient.expectString,
2350
- rank: smithyClient.expectInt32,
2351
- savingsOpportunity: (_) => de_SavingsOpportunity(_),
2352
- });
2353
- };
2354
- const de_LicenseRecommendationOptions = (output, context) => {
2355
- const retVal = (output || [])
2356
- .filter((e) => e != null)
2357
- .map((entry) => {
2358
- return de_LicenseRecommendationOption(entry);
2359
- });
2360
- return retVal;
2361
- };
2362
- const de_LicenseRecommendations = (output, context) => {
2363
- const retVal = (output || [])
2364
- .filter((e) => e != null)
2365
- .map((entry) => {
2366
- return de_LicenseRecommendation(entry);
2367
- });
2368
- return retVal;
2369
- };
2370
- const de_MetricValues = (output, context) => {
2371
- const retVal = (output || [])
2372
- .filter((e) => e != null)
2373
- .map((entry) => {
2374
- return smithyClient.limitedParseDouble(entry);
2375
- });
2376
- return retVal;
2377
- };
2378
- const de_ProjectedMetric = (output, context) => {
2379
- return smithyClient.take(output, {
2380
- name: smithyClient.expectString,
2381
- timestamps: (_) => de_Timestamps(_),
2382
- values: (_) => de_MetricValues(_),
2383
- });
2384
- };
2385
- const de_ProjectedMetrics = (output, context) => {
2386
- const retVal = (output || [])
2387
- .filter((e) => e != null)
2388
- .map((entry) => {
2389
- return de_ProjectedMetric(entry);
2390
- });
2391
- return retVal;
2392
- };
2393
- const de_ProjectedUtilizationMetrics = (output, context) => {
2394
- const retVal = (output || [])
2395
- .filter((e) => e != null)
2396
- .map((entry) => {
2397
- return de_UtilizationMetric(entry);
2398
- });
2399
- return retVal;
2400
- };
2401
- const de_RDSDatabaseProjectedMetric = (output, context) => {
2402
- return smithyClient.take(output, {
2403
- name: smithyClient.expectString,
2404
- timestamps: (_) => de_Timestamps(_),
2405
- values: (_) => de_MetricValues(_),
2406
- });
2407
- };
2408
- const de_RDSDatabaseProjectedMetrics = (output, context) => {
2409
- const retVal = (output || [])
2410
- .filter((e) => e != null)
2411
- .map((entry) => {
2412
- return de_RDSDatabaseProjectedMetric(entry);
2413
- });
2414
- return retVal;
2415
- };
2416
- const de_RDSDatabaseRecommendedOptionProjectedMetric = (output, context) => {
2417
- return smithyClient.take(output, {
2418
- projectedMetrics: (_) => de_RDSDatabaseProjectedMetrics(_),
2419
- rank: smithyClient.expectInt32,
2420
- recommendedDBInstanceClass: smithyClient.expectString,
2421
- });
2422
- };
2423
- const de_RDSDatabaseRecommendedOptionProjectedMetrics = (output, context) => {
2424
- const retVal = (output || [])
2425
- .filter((e) => e != null)
2426
- .map((entry) => {
2427
- return de_RDSDatabaseRecommendedOptionProjectedMetric(entry);
2428
- });
2429
- return retVal;
2430
- };
2431
- const de_RDSDBInstanceRecommendationOption = (output, context) => {
2432
- return smithyClient.take(output, {
2433
- dbInstanceClass: smithyClient.expectString,
2434
- performanceRisk: smithyClient.limitedParseDouble,
2435
- projectedUtilizationMetrics: (_) => de_RDSDBProjectedUtilizationMetrics(_),
2436
- rank: smithyClient.expectInt32,
2437
- savingsOpportunity: (_) => de_SavingsOpportunity(_),
2438
- savingsOpportunityAfterDiscounts: (_) => de_RDSInstanceSavingsOpportunityAfterDiscounts(_),
2439
- });
2440
- };
2441
- const de_RDSDBInstanceRecommendationOptions = (output, context) => {
2442
- const retVal = (output || [])
2443
- .filter((e) => e != null)
2444
- .map((entry) => {
2445
- return de_RDSDBInstanceRecommendationOption(entry);
2446
- });
2447
- return retVal;
2448
- };
2449
- const de_RDSDBProjectedUtilizationMetrics = (output, context) => {
2450
- const retVal = (output || [])
2451
- .filter((e) => e != null)
2452
- .map((entry) => {
2453
- return de_RDSDBUtilizationMetric(entry);
2454
- });
2455
- return retVal;
2456
- };
2457
- const de_RDSDBRecommendation = (output, context) => {
2458
- return smithyClient.take(output, {
2459
- accountId: smithyClient.expectString,
2460
- currentDBInstanceClass: smithyClient.expectString,
2461
- currentInstancePerformanceRisk: smithyClient.expectString,
2462
- currentStorageConfiguration: smithyClient._json,
2463
- currentStorageEstimatedMonthlyVolumeIOPsCostVariation: smithyClient.expectString,
2464
- dbClusterIdentifier: smithyClient.expectString,
2465
- effectiveRecommendationPreferences: smithyClient._json,
2466
- engine: smithyClient.expectString,
2467
- engineVersion: smithyClient.expectString,
2468
- idle: smithyClient.expectString,
2469
- instanceFinding: smithyClient.expectString,
2470
- instanceFindingReasonCodes: smithyClient._json,
2471
- instanceRecommendationOptions: (_) => de_RDSDBInstanceRecommendationOptions(_),
2472
- lastRefreshTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2473
- lookbackPeriodInDays: smithyClient.limitedParseDouble,
2474
- promotionTier: smithyClient.expectInt32,
2475
- resourceArn: smithyClient.expectString,
2476
- storageFinding: smithyClient.expectString,
2477
- storageFindingReasonCodes: smithyClient._json,
2478
- storageRecommendationOptions: (_) => de_RDSDBStorageRecommendationOptions(_),
2479
- tags: smithyClient._json,
2480
- utilizationMetrics: (_) => de_RDSDBUtilizationMetrics(_),
2481
- });
2482
- };
2483
- const de_RDSDBRecommendations = (output, context) => {
2484
- const retVal = (output || [])
2485
- .filter((e) => e != null)
2486
- .map((entry) => {
2487
- return de_RDSDBRecommendation(entry);
2488
- });
2489
- return retVal;
2490
- };
2491
- const de_RDSDBStorageRecommendationOption = (output, context) => {
2492
- return smithyClient.take(output, {
2493
- estimatedMonthlyVolumeIOPsCostVariation: smithyClient.expectString,
2494
- rank: smithyClient.expectInt32,
2495
- savingsOpportunity: (_) => de_SavingsOpportunity(_),
2496
- savingsOpportunityAfterDiscounts: (_) => de_RDSStorageSavingsOpportunityAfterDiscounts(_),
2497
- storageConfiguration: smithyClient._json,
2498
- });
2499
- };
2500
- const de_RDSDBStorageRecommendationOptions = (output, context) => {
2501
- const retVal = (output || [])
2502
- .filter((e) => e != null)
2503
- .map((entry) => {
2504
- return de_RDSDBStorageRecommendationOption(entry);
2505
- });
2506
- return retVal;
2507
- };
2508
- const de_RDSDBUtilizationMetric = (output, context) => {
2509
- return smithyClient.take(output, {
2510
- name: smithyClient.expectString,
2511
- statistic: smithyClient.expectString,
2512
- value: smithyClient.limitedParseDouble,
2513
- });
2514
- };
2515
- const de_RDSDBUtilizationMetrics = (output, context) => {
2516
- const retVal = (output || [])
2517
- .filter((e) => e != null)
2518
- .map((entry) => {
2519
- return de_RDSDBUtilizationMetric(entry);
2520
- });
2521
- return retVal;
2522
- };
2523
- const de_RDSInstanceEstimatedMonthlySavings = (output, context) => {
2524
- return smithyClient.take(output, {
2525
- currency: smithyClient.expectString,
2526
- value: smithyClient.limitedParseDouble,
2527
- });
2528
- };
2529
- const de_RDSInstanceSavingsOpportunityAfterDiscounts = (output, context) => {
2530
- return smithyClient.take(output, {
2531
- estimatedMonthlySavings: (_) => de_RDSInstanceEstimatedMonthlySavings(_),
2532
- savingsOpportunityPercentage: smithyClient.limitedParseDouble,
2533
- });
2534
- };
2535
- const de_RDSStorageEstimatedMonthlySavings = (output, context) => {
2536
- return smithyClient.take(output, {
2537
- currency: smithyClient.expectString,
2538
- value: smithyClient.limitedParseDouble,
2539
- });
2540
- };
2541
- const de_RDSStorageSavingsOpportunityAfterDiscounts = (output, context) => {
2542
- return smithyClient.take(output, {
2543
- estimatedMonthlySavings: (_) => de_RDSStorageEstimatedMonthlySavings(_),
2544
- savingsOpportunityPercentage: smithyClient.limitedParseDouble,
2545
- });
2546
- };
2547
- const de_ReasonCodeSummaries = (output, context) => {
2548
- const retVal = (output || [])
2549
- .filter((e) => e != null)
2550
- .map((entry) => {
2551
- return de_ReasonCodeSummary(entry);
2552
- });
2553
- return retVal;
2554
- };
2555
- const de_ReasonCodeSummary = (output, context) => {
2556
- return smithyClient.take(output, {
2557
- name: smithyClient.expectString,
2558
- value: smithyClient.limitedParseDouble,
2559
- });
2560
- };
2561
- const de_RecommendationExportJob = (output, context) => {
2562
- return smithyClient.take(output, {
2563
- creationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2564
- destination: smithyClient._json,
2565
- failureReason: smithyClient.expectString,
2566
- jobId: smithyClient.expectString,
2567
- lastUpdatedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2568
- resourceType: smithyClient.expectString,
2569
- status: smithyClient.expectString,
2570
- });
2571
- };
2572
- const de_RecommendationExportJobs = (output, context) => {
2573
- const retVal = (output || [])
2574
- .filter((e) => e != null)
2575
- .map((entry) => {
2576
- return de_RecommendationExportJob(entry);
2577
- });
2578
- return retVal;
2579
- };
2580
- const de_RecommendationOptions = (output, context) => {
2581
- const retVal = (output || [])
2582
- .filter((e) => e != null)
2583
- .map((entry) => {
2584
- return de_InstanceRecommendationOption(entry);
2585
- });
2586
- return retVal;
2587
- };
2588
- const de_RecommendationSummaries = (output, context) => {
2589
- const retVal = (output || [])
2590
- .filter((e) => e != null)
2591
- .map((entry) => {
2592
- return de_RecommendationSummary(entry);
2593
- });
2594
- return retVal;
2595
- };
2596
- const de_RecommendationSummary = (output, context) => {
2597
- return smithyClient.take(output, {
2598
- accountId: smithyClient.expectString,
2599
- aggregatedSavingsOpportunity: (_) => de_SavingsOpportunity(_),
2600
- currentPerformanceRiskRatings: smithyClient._json,
2601
- idleSavingsOpportunity: (_) => de_SavingsOpportunity(_),
2602
- idleSummaries: (_) => de_IdleSummaries(_),
2603
- inferredWorkloadSavings: (_) => de_InferredWorkloadSavings(_),
2604
- recommendationResourceType: smithyClient.expectString,
2605
- savingsOpportunity: (_) => de_SavingsOpportunity(_),
2606
- summaries: (_) => de_Summaries(_),
2607
- });
2608
- };
2609
- const de_RecommendedOptionProjectedMetric = (output, context) => {
2610
- return smithyClient.take(output, {
2611
- projectedMetrics: (_) => de_ProjectedMetrics(_),
2612
- rank: smithyClient.expectInt32,
2613
- recommendedInstanceType: smithyClient.expectString,
2614
- });
2615
- };
2616
- const de_RecommendedOptionProjectedMetrics = (output, context) => {
2617
- const retVal = (output || [])
2618
- .filter((e) => e != null)
2619
- .map((entry) => {
2620
- return de_RecommendedOptionProjectedMetric(entry);
2621
- });
2622
- return retVal;
2623
- };
2624
- const de_SavingsOpportunity = (output, context) => {
2625
- return smithyClient.take(output, {
2626
- estimatedMonthlySavings: (_) => de_EstimatedMonthlySavings(_),
2627
- savingsOpportunityPercentage: smithyClient.limitedParseDouble,
2628
- });
2629
- };
2630
- const de_Summaries = (output, context) => {
2631
- const retVal = (output || [])
2632
- .filter((e) => e != null)
2633
- .map((entry) => {
2634
- return de_Summary(entry);
2635
- });
2636
- return retVal;
2637
- };
2638
- const de_Summary = (output, context) => {
2639
- return smithyClient.take(output, {
2640
- name: smithyClient.expectString,
2641
- reasonCodeSummaries: (_) => de_ReasonCodeSummaries(_),
2642
- value: smithyClient.limitedParseDouble,
2643
- });
2644
- };
2645
- const de_Timestamps = (output, context) => {
2646
- const retVal = (output || [])
2647
- .filter((e) => e != null)
2648
- .map((entry) => {
2649
- return smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(entry)));
2650
- });
2651
- return retVal;
2652
- };
2653
- const de_UtilizationMetric = (output, context) => {
2654
- return smithyClient.take(output, {
2655
- name: smithyClient.expectString,
2656
- statistic: smithyClient.expectString,
2657
- value: smithyClient.limitedParseDouble,
2658
- });
2659
- };
2660
- const de_UtilizationMetrics = (output, context) => {
2661
- const retVal = (output || [])
2662
- .filter((e) => e != null)
2663
- .map((entry) => {
2664
- return de_UtilizationMetric(entry);
2665
- });
2666
- return retVal;
2667
- };
2668
- const de_VolumeRecommendation = (output, context) => {
2669
- return smithyClient.take(output, {
2670
- accountId: smithyClient.expectString,
2671
- currentConfiguration: smithyClient._json,
2672
- currentPerformanceRisk: smithyClient.expectString,
2673
- effectiveRecommendationPreferences: smithyClient._json,
2674
- finding: smithyClient.expectString,
2675
- lastRefreshTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
2676
- lookBackPeriodInDays: smithyClient.limitedParseDouble,
2677
- tags: smithyClient._json,
2678
- utilizationMetrics: (_) => de_EBSUtilizationMetrics(_),
2679
- volumeArn: smithyClient.expectString,
2680
- volumeRecommendationOptions: (_) => de_VolumeRecommendationOptions(_),
2681
- });
2682
- };
2683
- const de_VolumeRecommendationOption = (output, context) => {
2684
- return smithyClient.take(output, {
2685
- configuration: smithyClient._json,
2686
- performanceRisk: smithyClient.limitedParseDouble,
2687
- rank: smithyClient.expectInt32,
2688
- savingsOpportunity: (_) => de_SavingsOpportunity(_),
2689
- savingsOpportunityAfterDiscounts: (_) => de_EBSSavingsOpportunityAfterDiscounts(_),
2690
- });
2691
- };
2692
- const de_VolumeRecommendationOptions = (output, context) => {
2693
- const retVal = (output || [])
2694
- .filter((e) => e != null)
2695
- .map((entry) => {
2696
- return de_VolumeRecommendationOption(entry);
2697
- });
2698
- return retVal;
2699
- };
2700
- const de_VolumeRecommendations = (output, context) => {
2701
- const retVal = (output || [])
2702
- .filter((e) => e != null)
2703
- .map((entry) => {
2704
- return de_VolumeRecommendation(entry);
2705
- });
2706
- return retVal;
2707
- };
2708
- const deserializeMetadata = (output) => ({
2709
- httpStatusCode: output.statusCode,
2710
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2711
- extendedRequestId: output.headers["x-amz-id-2"],
2712
- cfId: output.headers["x-amz-cf-id"],
2713
- });
2714
- const throwDefaultError = smithyClient.withBaseException(ComputeOptimizerServiceException);
2715
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
2716
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2717
- const contents = {
2718
- protocol,
2719
- hostname,
2720
- port,
2721
- method: "POST",
2722
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
2723
- headers,
2724
- };
2725
- if (body !== undefined) {
2726
- contents.body = body;
2727
- }
2728
- return new protocolHttp.HttpRequest(contents);
2729
- };
2730
- function sharedHeaders(operation) {
2731
- return {
2732
- "content-type": "application/x-amz-json-1.0",
2733
- "x-amz-target": `ComputeOptimizerService.${operation}`,
2734
- };
2735
- }
1089
+ const _ADE = "AccessDeniedException";
1090
+ const _AES = "AccountEnrollmentStatus";
1091
+ const _AESc = "AccountEnrollmentStatuses";
1092
+ const _ASGC = "AutoScalingGroupConfiguration";
1093
+ const _ASGEMS = "AutoScalingGroupEstimatedMonthlySavings";
1094
+ const _ASGR = "AutoScalingGroupRecommendation";
1095
+ const _ASGRO = "AutoScalingGroupRecommendationOption";
1096
+ const _ASGROu = "AutoScalingGroupRecommendationOptions";
1097
+ const _ASGRu = "AutoScalingGroupRecommendations";
1098
+ const _ASGSOAD = "AutoScalingGroupSavingsOpportunityAfterDiscounts";
1099
+ const _CC = "ContainerConfiguration";
1100
+ const _CCo = "ContainerConfigurations";
1101
+ const _CMP = "CustomizableMetricParameters";
1102
+ const _CPRR = "CurrentPerformanceRiskRatings";
1103
+ const _CR = "ContainerRecommendation";
1104
+ const _CRo = "ContainerRecommendations";
1105
+ const _DBSC = "DBStorageConfiguration";
1106
+ const _DREJ = "DescribeRecommendationExportJobs";
1107
+ const _DREJR = "DescribeRecommendationExportJobsRequest";
1108
+ const _DREJRe = "DescribeRecommendationExportJobsResponse";
1109
+ const _DRP = "DeleteRecommendationPreferences";
1110
+ const _DRPR = "DeleteRecommendationPreferencesRequest";
1111
+ const _DRPRe = "DeleteRecommendationPreferencesResponse";
1112
+ const _EASGR = "ExportAutoScalingGroupRecommendations";
1113
+ const _EASGRR = "ExportAutoScalingGroupRecommendationsRequest";
1114
+ const _EASGRRx = "ExportAutoScalingGroupRecommendationsResponse";
1115
+ const _EBSEMS = "EBSEstimatedMonthlySavings";
1116
+ const _EBSERP = "EBSEffectiveRecommendationPreferences";
1117
+ const _EBSF = "EBSFilter";
1118
+ const _EBSFi = "EBSFilters";
1119
+ const _EBSSEM = "EBSSavingsEstimationMode";
1120
+ const _EBSSOAD = "EBSSavingsOpportunityAfterDiscounts";
1121
+ const _EBSUM = "EBSUtilizationMetric";
1122
+ const _EBSUMt = "EBSUtilizationMetrics";
1123
+ const _ECSEMS = "ECSEstimatedMonthlySavings";
1124
+ const _ECSERP = "ECSEffectiveRecommendationPreferences";
1125
+ const _ECSSEM = "ECSSavingsEstimationMode";
1126
+ const _ECSSOAD = "ECSSavingsOpportunityAfterDiscounts";
1127
+ const _ECSSPM = "ECSServiceProjectedMetric";
1128
+ const _ECSSPMe = "ECSServiceProjectedMetrics";
1129
+ const _ECSSPUM = "ECSServiceProjectedUtilizationMetric";
1130
+ const _ECSSPUMe = "ECSServiceProjectedUtilizationMetrics";
1131
+ const _ECSSR = "ECSServiceRecommendation";
1132
+ const _ECSSRF = "ECSServiceRecommendationFilter";
1133
+ const _ECSSRFe = "ECSServiceRecommendationFilters";
1134
+ const _ECSSRO = "ECSServiceRecommendationOption";
1135
+ const _ECSSROPM = "ECSServiceRecommendedOptionProjectedMetric";
1136
+ const _ECSSROPMe = "ECSServiceRecommendedOptionProjectedMetrics";
1137
+ const _ECSSROe = "ECSServiceRecommendationOptions";
1138
+ const _ECSSRe = "ECSServiceRecommendations";
1139
+ const _ECSSUM = "ECSServiceUtilizationMetric";
1140
+ const _ECSSUMe = "ECSServiceUtilizationMetrics";
1141
+ const _ED = "ExportDestination";
1142
+ const _EEBSVR = "ExportEBSVolumeRecommendations";
1143
+ const _EEBSVRR = "ExportEBSVolumeRecommendationsRequest";
1144
+ const _EEBSVRRx = "ExportEBSVolumeRecommendationsResponse";
1145
+ const _EECIR = "ExportEC2InstanceRecommendations";
1146
+ const _EECIRR = "ExportEC2InstanceRecommendationsRequest";
1147
+ const _EECIRRx = "ExportEC2InstanceRecommendationsResponse";
1148
+ const _EECSSR = "ExportECSServiceRecommendations";
1149
+ const _EECSSRR = "ExportECSServiceRecommendationsRequest";
1150
+ const _EECSSRRx = "ExportECSServiceRecommendationsResponse";
1151
+ const _EF = "EnrollmentFilter";
1152
+ const _EFn = "EnrollmentFilters";
1153
+ const _EIR = "ExportIdleRecommendations";
1154
+ const _EIRR = "ExportIdleRecommendationsRequest";
1155
+ const _EIRRx = "ExportIdleRecommendationsResponse";
1156
+ const _ELFR = "ExportLambdaFunctionRecommendations";
1157
+ const _ELFRR = "ExportLambdaFunctionRecommendationsRequest";
1158
+ const _ELFRRx = "ExportLambdaFunctionRecommendationsResponse";
1159
+ const _ELR = "ExportLicenseRecommendations";
1160
+ const _ELRR = "ExportLicenseRecommendationsRequest";
1161
+ const _ELRRx = "ExportLicenseRecommendationsResponse";
1162
+ const _EMP = "ExternalMetricsPreference";
1163
+ const _EMS = "EstimatedMonthlySavings";
1164
+ const _EMSx = "ExternalMetricStatus";
1165
+ const _EPR = "EffectivePreferredResource";
1166
+ const _EPRf = "EffectivePreferredResources";
1167
+ const _ERDSDR = "ExportRDSDatabaseRecommendations";
1168
+ const _ERDSDRR = "ExportRDSDatabaseRecommendationsRequest";
1169
+ const _ERDSDRRx = "ExportRDSDatabaseRecommendationsResponse";
1170
+ const _ERP = "EffectiveRecommendationPreferences";
1171
+ const _F = "Filter";
1172
+ const _Fi = "Filters";
1173
+ const _G = "Gpu";
1174
+ const _GASGR = "GetAutoScalingGroupRecommendations";
1175
+ const _GASGRR = "GetAutoScalingGroupRecommendationsRequest";
1176
+ const _GASGRRe = "GetAutoScalingGroupRecommendationsResponse";
1177
+ const _GEBSVR = "GetEBSVolumeRecommendations";
1178
+ const _GEBSVRR = "GetEBSVolumeRecommendationsRequest";
1179
+ const _GEBSVRRe = "GetEBSVolumeRecommendationsResponse";
1180
+ const _GECIR = "GetEC2InstanceRecommendations";
1181
+ const _GECIRR = "GetEC2InstanceRecommendationsRequest";
1182
+ const _GECIRRe = "GetEC2InstanceRecommendationsResponse";
1183
+ const _GECRPM = "GetEC2RecommendationProjectedMetrics";
1184
+ const _GECRPMR = "GetEC2RecommendationProjectedMetricsRequest";
1185
+ const _GECRPMRe = "GetEC2RecommendationProjectedMetricsResponse";
1186
+ const _GECSSR = "GetECSServiceRecommendations";
1187
+ const _GECSSRPM = "GetECSServiceRecommendationProjectedMetrics";
1188
+ const _GECSSRPMR = "GetECSServiceRecommendationProjectedMetricsRequest";
1189
+ const _GECSSRPMRe = "GetECSServiceRecommendationProjectedMetricsResponse";
1190
+ const _GECSSRR = "GetECSServiceRecommendationsRequest";
1191
+ const _GECSSRRe = "GetECSServiceRecommendationsResponse";
1192
+ const _GERP = "GetEffectiveRecommendationPreferences";
1193
+ const _GERPR = "GetEffectiveRecommendationPreferencesRequest";
1194
+ const _GERPRe = "GetEffectiveRecommendationPreferencesResponse";
1195
+ const _GES = "GetEnrollmentStatus";
1196
+ const _GESFO = "GetEnrollmentStatusesForOrganization";
1197
+ const _GESFOR = "GetEnrollmentStatusesForOrganizationRequest";
1198
+ const _GESFORe = "GetEnrollmentStatusesForOrganizationResponse";
1199
+ const _GESR = "GetEnrollmentStatusRequest";
1200
+ const _GESRe = "GetEnrollmentStatusResponse";
1201
+ const _GI = "GpuInfo";
1202
+ const _GIR = "GetIdleRecommendations";
1203
+ const _GIRR = "GetIdleRecommendationsRequest";
1204
+ const _GIRRe = "GetIdleRecommendationsResponse";
1205
+ const _GLFR = "GetLambdaFunctionRecommendations";
1206
+ const _GLFRR = "GetLambdaFunctionRecommendationsRequest";
1207
+ const _GLFRRe = "GetLambdaFunctionRecommendationsResponse";
1208
+ const _GLR = "GetLicenseRecommendations";
1209
+ const _GLRR = "GetLicenseRecommendationsRequest";
1210
+ const _GLRRe = "GetLicenseRecommendationsResponse";
1211
+ const _GRDSDR = "GetRDSDatabaseRecommendations";
1212
+ const _GRDSDRPM = "GetRDSDatabaseRecommendationProjectedMetrics";
1213
+ const _GRDSDRPMR = "GetRDSDatabaseRecommendationProjectedMetricsRequest";
1214
+ const _GRDSDRPMRe = "GetRDSDatabaseRecommendationProjectedMetricsResponse";
1215
+ const _GRDSDRR = "GetRDSDatabaseRecommendationsRequest";
1216
+ const _GRDSDRRe = "GetRDSDatabaseRecommendationsResponse";
1217
+ const _GRE = "GetRecommendationError";
1218
+ const _GREe = "GetRecommendationErrors";
1219
+ const _GRP = "GetRecommendationPreferences";
1220
+ const _GRPR = "GetRecommendationPreferencesRequest";
1221
+ const _GRPRe = "GetRecommendationPreferencesResponse";
1222
+ const _GRS = "GetRecommendationSummaries";
1223
+ const _GRSR = "GetRecommendationSummariesRequest";
1224
+ const _GRSRe = "GetRecommendationSummariesResponse";
1225
+ const _Gp = "Gpus";
1226
+ const _IEMS = "IdleEstimatedMonthlySavings";
1227
+ const _IEMSn = "InstanceEstimatedMonthlySavings";
1228
+ const _IPVE = "InvalidParameterValueException";
1229
+ const _IR = "IdleRecommendation";
1230
+ const _IRE = "IdleRecommendationError";
1231
+ const _IREd = "IdleRecommendationErrors";
1232
+ const _IRF = "IdleRecommendationFilter";
1233
+ const _IRFd = "IdleRecommendationFilters";
1234
+ const _IRO = "InstanceRecommendationOption";
1235
+ const _IRd = "IdleRecommendations";
1236
+ const _IRn = "InstanceRecommendation";
1237
+ const _IRns = "InstanceRecommendations";
1238
+ const _IS = "IdleSummary";
1239
+ const _ISE = "InternalServerException";
1240
+ const _ISEM = "InstanceSavingsEstimationMode";
1241
+ const _ISO = "IdleSavingsOpportunity";
1242
+ const _ISOAD = "IdleSavingsOpportunityAfterDiscounts";
1243
+ const _ISOADn = "InstanceSavingsOpportunityAfterDiscounts";
1244
+ const _ISd = "IdleSummaries";
1245
+ const _IUM = "IdleUtilizationMetric";
1246
+ const _IUMd = "IdleUtilizationMetrics";
1247
+ const _IWS = "InferredWorkloadSaving";
1248
+ const _IWSn = "InferredWorkloadSavings";
1249
+ const _JF = "JobFilter";
1250
+ const _JFo = "JobFilters";
1251
+ const _LC = "LicenseConfiguration";
1252
+ const _LEE = "LimitExceededException";
1253
+ const _LEMS = "LambdaEstimatedMonthlySavings";
1254
+ const _LERP = "LambdaEffectiveRecommendationPreferences";
1255
+ const _LFMPM = "LambdaFunctionMemoryProjectedMetric";
1256
+ const _LFMPMa = "LambdaFunctionMemoryProjectedMetrics";
1257
+ const _LFMRO = "LambdaFunctionMemoryRecommendationOption";
1258
+ const _LFMROa = "LambdaFunctionMemoryRecommendationOptions";
1259
+ const _LFR = "LambdaFunctionRecommendation";
1260
+ const _LFRF = "LambdaFunctionRecommendationFilter";
1261
+ const _LFRFa = "LambdaFunctionRecommendationFilters";
1262
+ const _LFRa = "LambdaFunctionRecommendations";
1263
+ const _LFUM = "LambdaFunctionUtilizationMetric";
1264
+ const _LFUMa = "LambdaFunctionUtilizationMetrics";
1265
+ const _LR = "LicenseRecommendation";
1266
+ const _LRF = "LicenseRecommendationFilter";
1267
+ const _LRFi = "LicenseRecommendationFilters";
1268
+ const _LRO = "LicenseRecommendationOption";
1269
+ const _LROi = "LicenseRecommendationOptions";
1270
+ const _LRi = "LicenseRecommendations";
1271
+ const _LSEM = "LambdaSavingsEstimationMode";
1272
+ const _LSOAD = "LambdaSavingsOpportunityAfterDiscounts";
1273
+ const _MAT = "MissingAuthenticationToken";
1274
+ const _MS = "MetricSource";
1275
+ const _MSC = "MemorySizeConfiguration";
1276
+ const _MSe = "MetricsSource";
1277
+ const _OB = "OrderBy";
1278
+ const _OIRE = "OptInRequiredException";
1279
+ const _PM = "ProjectedMetric";
1280
+ const _PMr = "ProjectedMetrics";
1281
+ const _PR = "PreferredResource";
1282
+ const _PRP = "PutRecommendationPreferences";
1283
+ const _PRPR = "PutRecommendationPreferencesRequest";
1284
+ const _PRPRu = "PutRecommendationPreferencesResponse";
1285
+ const _PRr = "PreferredResources";
1286
+ const _PUM = "ProjectedUtilizationMetrics";
1287
+ const _RCS = "ReasonCodeSummary";
1288
+ const _RCSe = "ReasonCodeSummaries";
1289
+ const _RDSDBIRO = "RDSDBInstanceRecommendationOption";
1290
+ const _RDSDBIROn = "RDSDBInstanceRecommendationOptions";
1291
+ const _RDSDBPUM = "RDSDBProjectedUtilizationMetrics";
1292
+ const _RDSDBR = "RDSDBRecommendation";
1293
+ const _RDSDBRF = "RDSDBRecommendationFilter";
1294
+ const _RDSDBRFe = "RDSDBRecommendationFilters";
1295
+ const _RDSDBRe = "RDSDBRecommendations";
1296
+ const _RDSDBSRO = "RDSDBStorageRecommendationOption";
1297
+ const _RDSDBSROt = "RDSDBStorageRecommendationOptions";
1298
+ const _RDSDBUM = "RDSDBUtilizationMetric";
1299
+ const _RDSDBUMt = "RDSDBUtilizationMetrics";
1300
+ const _RDSDPM = "RDSDatabaseProjectedMetric";
1301
+ const _RDSDPMa = "RDSDatabaseProjectedMetrics";
1302
+ const _RDSDROPM = "RDSDatabaseRecommendedOptionProjectedMetric";
1303
+ const _RDSDROPMa = "RDSDatabaseRecommendedOptionProjectedMetrics";
1304
+ const _RDSERP = "RDSEffectiveRecommendationPreferences";
1305
+ const _RDSIEMS = "RDSInstanceEstimatedMonthlySavings";
1306
+ const _RDSISOAD = "RDSInstanceSavingsOpportunityAfterDiscounts";
1307
+ const _RDSSEM = "RDSSavingsEstimationMode";
1308
+ const _RDSSEMS = "RDSStorageEstimatedMonthlySavings";
1309
+ const _RDSSSOAD = "RDSStorageSavingsOpportunityAfterDiscounts";
1310
+ const _REJ = "RecommendationExportJob";
1311
+ const _REJe = "RecommendationExportJobs";
1312
+ const _RNFE = "ResourceNotFoundException";
1313
+ const _RO = "RecommendationOptions";
1314
+ const _ROPM = "RecommendedOptionProjectedMetric";
1315
+ const _ROPMe = "RecommendedOptionProjectedMetrics";
1316
+ const _RP = "RecommendationPreferences";
1317
+ const _RPD = "RecommendationPreferencesDetail";
1318
+ const _RPDe = "RecommendationPreferencesDetails";
1319
+ const _RS = "RecommendationSource";
1320
+ const _RSe = "RecommendationSummary";
1321
+ const _RSec = "RecommendationSources";
1322
+ const _RSeco = "RecommendationSummaries";
1323
+ const _S = "Scope";
1324
+ const _SC = "ServiceConfiguration";
1325
+ const _SD = "S3Destination";
1326
+ const _SDC = "S3DestinationConfig";
1327
+ const _SO = "SavingsOpportunity";
1328
+ const _SUE = "ServiceUnavailableException";
1329
+ const _Su = "Summary";
1330
+ const _Sum = "Summaries";
1331
+ const _T = "Tag";
1332
+ const _TE = "ThrottlingException";
1333
+ const _Ta = "Tags";
1334
+ const _UES = "UpdateEnrollmentStatus";
1335
+ const _UESR = "UpdateEnrollmentStatusRequest";
1336
+ const _UESRp = "UpdateEnrollmentStatusResponse";
1337
+ const _UM = "UtilizationMetric";
1338
+ const _UMt = "UtilizationMetrics";
1339
+ const _UP = "UtilizationPreference";
1340
+ const _UPt = "UtilizationPreferences";
1341
+ const _VC = "VolumeConfiguration";
1342
+ const _VR = "VolumeRecommendation";
1343
+ const _VRO = "VolumeRecommendationOption";
1344
+ const _VROo = "VolumeRecommendationOptions";
1345
+ const _VRo = "VolumeRecommendations";
1346
+ const _aES = "accountEnrollmentStatuses";
1347
+ const _aI = "accountId";
1348
+ const _aIc = "accountIds";
1349
+ const _aS = "allocationStrategy";
1350
+ const _aSC = "autoScalingConfiguration";
1351
+ const _aSGA = "autoScalingGroupArn";
1352
+ const _aSGAu = "autoScalingGroupArns";
1353
+ const _aSGN = "autoScalingGroupName";
1354
+ const _aSGR = "autoScalingGroupRecommendations";
1355
+ const _aSO = "aggregatedSavingsOpportunity";
1356
+ const _aSl = "allocatedStorage";
1357
+ const _b = "bucket";
1358
+ const _c = "client";
1359
+ const _cC = "currentConfiguration";
1360
+ const _cCo = "containerConfigurations";
1361
+ const _cDBIC = "currentDBInstanceClass";
1362
+ const _cIGI = "currentInstanceGpuInfo";
1363
+ const _cIPR = "currentInstancePerformanceRisk";
1364
+ const _cIT = "currentInstanceType";
1365
+ const _cLC = "currentLicenseConfiguration";
1366
+ const _cMS = "currentMemorySize";
1367
+ const _cN = "containerName";
1368
+ const _cPR = "currentPerformanceRisk";
1369
+ const _cPRR = "currentPerformanceRiskRatings";
1370
+ const _cR = "containerRecommendations";
1371
+ const _cSC = "currentServiceConfiguration";
1372
+ const _cSCu = "currentStorageConfiguration";
1373
+ const _cSEMVIOPCV = "currentStorageEstimatedMonthlyVolumeIOPsCostVariation";
1374
+ const _cT = "creationTimestamp";
1375
+ const _cVA = "cpuVendorArchitectures";
1376
+ const _co = "configuration";
1377
+ const _cod = "code";
1378
+ const _cp = "cpu";
1379
+ const _cu = "currency";
1380
+ const _d = "dimension";
1381
+ const _dC = "desiredCapacity";
1382
+ const _dCI = "dbClusterIdentifier";
1383
+ const _dIC = "dbInstanceClass";
1384
+ const _de = "destination";
1385
+ const _e = "error";
1386
+ const _eIHRP = "estimatedInstanceHourReductionPercentage";
1387
+ const _eIL = "effectiveIncludeList";
1388
+ const _eIM = "enhancedInfrastructureMetrics";
1389
+ const _eL = "excludeList";
1390
+ const _eMP = "externalMetricsPreference";
1391
+ const _eMS = "estimatedMonthlySavings";
1392
+ const _eMSx = "externalMetricStatus";
1393
+ const _eMVIOPCV = "estimatedMonthlyVolumeIOPsCostVariation";
1394
+ const _eRP = "effectiveRecommendationPreferences";
1395
+ const _eSR = "ecsServiceRecommendations";
1396
+ const _eT = "endTime";
1397
+ const _eV = "engineVersion";
1398
+ const _en = "engine";
1399
+ const _er = "errors";
1400
+ const _f = "finding";
1401
+ const _fA = "functionArns";
1402
+ const _fAu = "functionArn";
1403
+ const _fD = "findingDescription";
1404
+ const _fF = "fileFormat";
1405
+ const _fR = "failureReason";
1406
+ const _fRC = "findingReasonCodes";
1407
+ const _fTE = "fieldsToExport";
1408
+ const _fV = "functionVersion";
1409
+ const _fi = "filters";
1410
+ const _g = "gpus";
1411
+ const _gC = "gpuCount";
1412
+ const _gMSIMB = "gpuMemorySizeInMiB";
1413
+ const _h = "high";
1414
+ const _hE = "httpError";
1415
+ const _he = "headroom";
1416
+ const _i = "iops";
1417
+ const _iA = "instanceArns";
1418
+ const _iAn = "instanceArn";
1419
+ const _iF = "instanceFinding";
1420
+ const _iFRC = "instanceFindingReasonCodes";
1421
+ const _iGI = "instanceGpuInfo";
1422
+ const _iL = "includeList";
1423
+ const _iMA = "includeMemberAccounts";
1424
+ const _iN = "instanceName";
1425
+ const _iR = "instanceRecommendations";
1426
+ const _iRO = "instanceRecommendationOptions";
1427
+ const _iRd = "idleRecommendations";
1428
+ const _iS = "instanceState";
1429
+ const _iSO = "idleSavingsOpportunity";
1430
+ const _iSd = "idleSummaries";
1431
+ const _iT = "instanceType";
1432
+ const _iWS = "inferredWorkloadSavings";
1433
+ const _iWT = "inferredWorkloadTypes";
1434
+ const _id = "identifier";
1435
+ const _idl = "idle";
1436
+ const _jI = "jobIds";
1437
+ const _jIo = "jobId";
1438
+ const _k = "key";
1439
+ const _kP = "keyPrefix";
1440
+ const _l = "low";
1441
+ const _lBP = "lookBackPeriod";
1442
+ const _lBPID = "lookBackPeriodInDays";
1443
+ const _lBV = "lowerBoundValues";
1444
+ const _lBVo = "lowerBoundValue";
1445
+ const _lE = "licenseEdition";
1446
+ const _lFR = "lambdaFunctionRecommendations";
1447
+ const _lM = "licenseModel";
1448
+ const _lN = "licenseName";
1449
+ const _lPID = "lookbackPeriodInDays";
1450
+ const _lR = "licenseRecommendations";
1451
+ const _lRO = "licenseRecommendationOptions";
1452
+ const _lRT = "lastRefreshTimestamp";
1453
+ const _lT = "launchType";
1454
+ const _lUT = "lastUpdatedTimestamp";
1455
+ const _lV = "licenseVersion";
1456
+ const _m = "message";
1457
+ const _mAE = "memberAccountsEnrolled";
1458
+ const _mAS = "maxAllocatedStorage";
1459
+ const _mE = "migrationEffort";
1460
+ const _mIT = "mixedInstanceTypes";
1461
+ const _mK = "metadataKey";
1462
+ const _mN = "metricName";
1463
+ const _mP = "metricParameters";
1464
+ const _mR = "maxResults";
1465
+ const _mRe = "memoryReservation";
1466
+ const _mS = "minSize";
1467
+ const _mSC = "memorySizeConfiguration";
1468
+ const _mSRO = "memorySizeRecommendationOptions";
1469
+ const _mSa = "maxSize";
1470
+ const _mSe = "memorySize";
1471
+ const _mSet = "metricsSource";
1472
+ const _me = "medium";
1473
+ const _mem = "memory";
1474
+ const _n = "name";
1475
+ const _nOC = "numberOfCores";
1476
+ const _nOI = "numberOfInvocations";
1477
+ const _nOMAOI = "numberOfMemberAccountsOptedIn";
1478
+ const _nT = "nextToken";
1479
+ const _o = "order";
1480
+ const _oB = "orderBy";
1481
+ const _oS = "operatingSystem";
1482
+ const _p = "period";
1483
+ const _pA = "providerArn";
1484
+ const _pD = "platformDifferences";
1485
+ const _pM = "projectedMetrics";
1486
+ const _pR = "performanceRisk";
1487
+ const _pRr = "preferredResources";
1488
+ const _pT = "promotionTier";
1489
+ const _pUM = "projectedUtilizationMetrics";
1490
+ const _pr = "provider";
1491
+ const _r = "rank";
1492
+ const _rA = "resourceArn";
1493
+ const _rAe = "resourceArns";
1494
+ const _rCS = "reasonCodeSummaries";
1495
+ const _rCU = "recommendedCpuUnits";
1496
+ const _rDBIC = "recommendedDBInstanceClass";
1497
+ const _rDBR = "rdsDBRecommendations";
1498
+ const _rEJ = "recommendationExportJobs";
1499
+ const _rI = "resourceId";
1500
+ const _rIT = "recommendedInstanceType";
1501
+ const _rMS = "recommendedMemorySize";
1502
+ const _rO = "recommendationOptions";
1503
+ const _rOPM = "recommendedOptionProjectedMetrics";
1504
+ const _rP = "recommendationPreferences";
1505
+ const _rPD = "recommendationPreferencesDetails";
1506
+ const _rPN = "recommendationPreferenceNames";
1507
+ const _rRT = "recommendationResourceType";
1508
+ const _rS = "recommendationSummaries";
1509
+ const _rSA = "recommendationSourceArn";
1510
+ const _rST = "recommendationSourceType";
1511
+ const _rSe = "recommendationSources";
1512
+ const _rT = "resourceType";
1513
+ const _rV = "rootVolume";
1514
+ const _s = "status";
1515
+ const _sA = "serviceArn";
1516
+ const _sAe = "serviceArns";
1517
+ const _sC = "statusCode";
1518
+ const _sCt = "storageConfiguration";
1519
+ const _sD = "s3Destination";
1520
+ const _sDC = "s3DestinationConfig";
1521
+ const _sEM = "savingsEstimationMode";
1522
+ const _sF = "storageFinding";
1523
+ const _sFRC = "storageFindingReasonCodes";
1524
+ const _sO = "savingsOpportunity";
1525
+ const _sOAD = "savingsOpportunityAfterDiscounts";
1526
+ const _sOP = "savingsOpportunityPercentage";
1527
+ const _sR = "statusReason";
1528
+ const _sRO = "serviceRecommendationOptions";
1529
+ const _sROt = "storageRecommendationOptions";
1530
+ const _sT = "storageType";
1531
+ const _sTt = "storageThroughput";
1532
+ const _sTta = "startTime";
1533
+ const _s_ = "s3";
1534
+ const _sc = "scope";
1535
+ const _se = "server";
1536
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.computeoptimizer";
1537
+ const _so = "source";
1538
+ const _st = "statistic";
1539
+ const _sta = "stat";
1540
+ const _su = "summaries";
1541
+ const _t = "type";
1542
+ const _tDA = "taskDefinitionArn";
1543
+ const _ta = "tags";
1544
+ const _th = "threshold";
1545
+ const _ti = "timestamps";
1546
+ const _uBV = "upperBoundValues";
1547
+ const _uBVp = "upperBoundValue";
1548
+ const _uM = "utilizationMetrics";
1549
+ const _uP = "utilizationPreferences";
1550
+ const _v = "value";
1551
+ const _vA = "volumeArns";
1552
+ const _vAo = "volumeArn";
1553
+ const _vBIOPS = "volumeBaselineIOPS";
1554
+ const _vBIOPSo = "volumeBurstIOPS";
1555
+ const _vBT = "volumeBaselineThroughput";
1556
+ const _vBTo = "volumeBurstThroughput";
1557
+ const _vL = "veryLow";
1558
+ const _vR = "volumeRecommendations";
1559
+ const _vRO = "volumeRecommendationOptions";
1560
+ const _vS = "volumeSize";
1561
+ const _vT = "volumeType";
1562
+ const _va = "values";
1563
+ const n0 = "com.amazonaws.computeoptimizer";
1564
+ var AccessDeniedException = [
1565
+ -3,
1566
+ n0,
1567
+ _ADE,
1568
+ {
1569
+ [_e]: _c,
1570
+ [_hE]: 403,
1571
+ },
1572
+ [_m],
1573
+ [0],
1574
+ ];
1575
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
1576
+ var AccountEnrollmentStatus = [3, n0, _AES, 0, [_aI, _s, _sR, _lUT], [0, 0, 0, 4]];
1577
+ var AutoScalingGroupConfiguration = [
1578
+ 3,
1579
+ n0,
1580
+ _ASGC,
1581
+ 0,
1582
+ [_dC, _mS, _mSa, _iT, _aS, _eIHRP, _t, _mIT],
1583
+ [1, 1, 1, 0, 0, 1, 0, 64 | 0],
1584
+ ];
1585
+ var AutoScalingGroupEstimatedMonthlySavings = [3, n0, _ASGEMS, 0, [_cu, _v], [0, 1]];
1586
+ var AutoScalingGroupRecommendation = [
1587
+ 3,
1588
+ n0,
1589
+ _ASGR,
1590
+ 0,
1591
+ [_aI, _aSGA, _aSGN, _f, _uM, _lBPID, _cC, _cIGI, _rO, _lRT, _cPR, _eRP, _iWT],
1592
+ [
1593
+ 0,
1594
+ 0,
1595
+ 0,
1596
+ 0,
1597
+ () => UtilizationMetrics,
1598
+ 1,
1599
+ () => AutoScalingGroupConfiguration,
1600
+ () => GpuInfo,
1601
+ () => AutoScalingGroupRecommendationOptions,
1602
+ 4,
1603
+ 0,
1604
+ () => EffectiveRecommendationPreferences,
1605
+ 64 | 0,
1606
+ ],
1607
+ ];
1608
+ var AutoScalingGroupRecommendationOption = [
1609
+ 3,
1610
+ n0,
1611
+ _ASGRO,
1612
+ 0,
1613
+ [_co, _iGI, _pUM, _pR, _r, _sO, _sOAD, _mE],
1614
+ [
1615
+ () => AutoScalingGroupConfiguration,
1616
+ () => GpuInfo,
1617
+ () => ProjectedUtilizationMetrics,
1618
+ 1,
1619
+ 1,
1620
+ () => SavingsOpportunity,
1621
+ () => AutoScalingGroupSavingsOpportunityAfterDiscounts,
1622
+ 0,
1623
+ ],
1624
+ ];
1625
+ var AutoScalingGroupSavingsOpportunityAfterDiscounts = [
1626
+ 3,
1627
+ n0,
1628
+ _ASGSOAD,
1629
+ 0,
1630
+ [_sOP, _eMS],
1631
+ [1, () => AutoScalingGroupEstimatedMonthlySavings],
1632
+ ];
1633
+ var ContainerConfiguration = [
1634
+ 3,
1635
+ n0,
1636
+ _CC,
1637
+ 0,
1638
+ [_cN, _mSC, _cp],
1639
+ [0, () => MemorySizeConfiguration, 1],
1640
+ ];
1641
+ var ContainerRecommendation = [
1642
+ 3,
1643
+ n0,
1644
+ _CR,
1645
+ 0,
1646
+ [_cN, _mSC, _cp],
1647
+ [0, () => MemorySizeConfiguration, 1],
1648
+ ];
1649
+ var CurrentPerformanceRiskRatings = [3, n0, _CPRR, 0, [_h, _me, _l, _vL], [1, 1, 1, 1]];
1650
+ var CustomizableMetricParameters = [3, n0, _CMP, 0, [_th, _he], [0, 0]];
1651
+ var DBStorageConfiguration = [
1652
+ 3,
1653
+ n0,
1654
+ _DBSC,
1655
+ 0,
1656
+ [_sT, _aSl, _i, _mAS, _sTt],
1657
+ [0, 1, 1, 1, 1],
1658
+ ];
1659
+ var DeleteRecommendationPreferencesRequest = [
1660
+ 3,
1661
+ n0,
1662
+ _DRPR,
1663
+ 0,
1664
+ [_rT, _sc, _rPN],
1665
+ [0, () => Scope, 64 | 0],
1666
+ ];
1667
+ var DeleteRecommendationPreferencesResponse = [3, n0, _DRPRe, 0, [], []];
1668
+ var DescribeRecommendationExportJobsRequest = [
1669
+ 3,
1670
+ n0,
1671
+ _DREJR,
1672
+ 0,
1673
+ [_jI, _fi, _nT, _mR],
1674
+ [64 | 0, () => JobFilters, 0, 1],
1675
+ ];
1676
+ var DescribeRecommendationExportJobsResponse = [
1677
+ 3,
1678
+ n0,
1679
+ _DREJRe,
1680
+ 0,
1681
+ [_rEJ, _nT],
1682
+ [() => RecommendationExportJobs, 0],
1683
+ ];
1684
+ var EBSEffectiveRecommendationPreferences = [
1685
+ 3,
1686
+ n0,
1687
+ _EBSERP,
1688
+ 0,
1689
+ [_sEM],
1690
+ [() => EBSSavingsEstimationMode],
1691
+ ];
1692
+ var EBSEstimatedMonthlySavings = [3, n0, _EBSEMS, 0, [_cu, _v], [0, 1]];
1693
+ var EBSFilter = [3, n0, _EBSF, 0, [_n, _va], [0, 64 | 0]];
1694
+ var EBSSavingsEstimationMode = [3, n0, _EBSSEM, 0, [_so], [0]];
1695
+ var EBSSavingsOpportunityAfterDiscounts = [
1696
+ 3,
1697
+ n0,
1698
+ _EBSSOAD,
1699
+ 0,
1700
+ [_sOP, _eMS],
1701
+ [1, () => EBSEstimatedMonthlySavings],
1702
+ ];
1703
+ var EBSUtilizationMetric = [3, n0, _EBSUM, 0, [_n, _st, _v], [0, 0, 1]];
1704
+ var ECSEffectiveRecommendationPreferences = [
1705
+ 3,
1706
+ n0,
1707
+ _ECSERP,
1708
+ 0,
1709
+ [_sEM],
1710
+ [() => ECSSavingsEstimationMode],
1711
+ ];
1712
+ var ECSEstimatedMonthlySavings = [3, n0, _ECSEMS, 0, [_cu, _v], [0, 1]];
1713
+ var ECSSavingsEstimationMode = [3, n0, _ECSSEM, 0, [_so], [0]];
1714
+ var ECSSavingsOpportunityAfterDiscounts = [
1715
+ 3,
1716
+ n0,
1717
+ _ECSSOAD,
1718
+ 0,
1719
+ [_sOP, _eMS],
1720
+ [1, () => ECSEstimatedMonthlySavings],
1721
+ ];
1722
+ var ECSServiceProjectedMetric = [
1723
+ 3,
1724
+ n0,
1725
+ _ECSSPM,
1726
+ 0,
1727
+ [_n, _ti, _uBV, _lBV],
1728
+ [0, 64 | 4, 64 | 1, 64 | 1],
1729
+ ];
1730
+ var ECSServiceProjectedUtilizationMetric = [
1731
+ 3,
1732
+ n0,
1733
+ _ECSSPUM,
1734
+ 0,
1735
+ [_n, _st, _lBVo, _uBVp],
1736
+ [0, 0, 1, 1],
1737
+ ];
1738
+ var ECSServiceRecommendation = [
1739
+ 3,
1740
+ n0,
1741
+ _ECSSR,
1742
+ 0,
1743
+ [_sA, _aI, _cSC, _uM, _lPID, _lT, _lRT, _f, _fRC, _sRO, _cPR, _eRP, _ta],
1744
+ [
1745
+ 0,
1746
+ 0,
1747
+ () => ServiceConfiguration,
1748
+ () => ECSServiceUtilizationMetrics,
1749
+ 1,
1750
+ 0,
1751
+ 4,
1752
+ 0,
1753
+ 64 | 0,
1754
+ () => ECSServiceRecommendationOptions,
1755
+ 0,
1756
+ () => ECSEffectiveRecommendationPreferences,
1757
+ () => Tags,
1758
+ ],
1759
+ ];
1760
+ var ECSServiceRecommendationFilter = [3, n0, _ECSSRF, 0, [_n, _va], [0, 64 | 0]];
1761
+ var ECSServiceRecommendationOption = [
1762
+ 3,
1763
+ n0,
1764
+ _ECSSRO,
1765
+ 0,
1766
+ [_mem, _cp, _sO, _sOAD, _pUM, _cR],
1767
+ [
1768
+ 1,
1769
+ 1,
1770
+ () => SavingsOpportunity,
1771
+ () => ECSSavingsOpportunityAfterDiscounts,
1772
+ () => ECSServiceProjectedUtilizationMetrics,
1773
+ () => ContainerRecommendations,
1774
+ ],
1775
+ ];
1776
+ var ECSServiceRecommendedOptionProjectedMetric = [
1777
+ 3,
1778
+ n0,
1779
+ _ECSSROPM,
1780
+ 0,
1781
+ [_rCU, _rMS, _pM],
1782
+ [1, 1, () => ECSServiceProjectedMetrics],
1783
+ ];
1784
+ var ECSServiceUtilizationMetric = [3, n0, _ECSSUM, 0, [_n, _st, _v], [0, 0, 1]];
1785
+ var EffectivePreferredResource = [
1786
+ 3,
1787
+ n0,
1788
+ _EPR,
1789
+ 0,
1790
+ [_n, _iL, _eIL, _eL],
1791
+ [0, 64 | 0, 64 | 0, 64 | 0],
1792
+ ];
1793
+ var EffectiveRecommendationPreferences = [
1794
+ 3,
1795
+ n0,
1796
+ _ERP,
1797
+ 0,
1798
+ [_cVA, _eIM, _iWT, _eMP, _lBP, _uP, _pRr, _sEM],
1799
+ [
1800
+ 64 | 0,
1801
+ 0,
1802
+ 0,
1803
+ () => ExternalMetricsPreference,
1804
+ 0,
1805
+ () => UtilizationPreferences,
1806
+ () => EffectivePreferredResources,
1807
+ () => InstanceSavingsEstimationMode,
1808
+ ],
1809
+ ];
1810
+ var EnrollmentFilter = [3, n0, _EF, 0, [_n, _va], [0, 64 | 0]];
1811
+ var EstimatedMonthlySavings = [3, n0, _EMS, 0, [_cu, _v], [0, 1]];
1812
+ var ExportAutoScalingGroupRecommendationsRequest = [
1813
+ 3,
1814
+ n0,
1815
+ _EASGRR,
1816
+ 0,
1817
+ [_aIc, _fi, _fTE, _sDC, _fF, _iMA, _rP],
1818
+ [64 | 0, () => Filters, 64 | 0, () => S3DestinationConfig, 0, 2, () => RecommendationPreferences],
1819
+ ];
1820
+ var ExportAutoScalingGroupRecommendationsResponse = [
1821
+ 3,
1822
+ n0,
1823
+ _EASGRRx,
1824
+ 0,
1825
+ [_jIo, _sD],
1826
+ [0, () => S3Destination],
1827
+ ];
1828
+ var ExportDestination = [3, n0, _ED, 0, [_s_], [() => S3Destination]];
1829
+ var ExportEBSVolumeRecommendationsRequest = [
1830
+ 3,
1831
+ n0,
1832
+ _EEBSVRR,
1833
+ 0,
1834
+ [_aIc, _fi, _fTE, _sDC, _fF, _iMA],
1835
+ [64 | 0, () => EBSFilters, 64 | 0, () => S3DestinationConfig, 0, 2],
1836
+ ];
1837
+ var ExportEBSVolumeRecommendationsResponse = [
1838
+ 3,
1839
+ n0,
1840
+ _EEBSVRRx,
1841
+ 0,
1842
+ [_jIo, _sD],
1843
+ [0, () => S3Destination],
1844
+ ];
1845
+ var ExportEC2InstanceRecommendationsRequest = [
1846
+ 3,
1847
+ n0,
1848
+ _EECIRR,
1849
+ 0,
1850
+ [_aIc, _fi, _fTE, _sDC, _fF, _iMA, _rP],
1851
+ [64 | 0, () => Filters, 64 | 0, () => S3DestinationConfig, 0, 2, () => RecommendationPreferences],
1852
+ ];
1853
+ var ExportEC2InstanceRecommendationsResponse = [
1854
+ 3,
1855
+ n0,
1856
+ _EECIRRx,
1857
+ 0,
1858
+ [_jIo, _sD],
1859
+ [0, () => S3Destination],
1860
+ ];
1861
+ var ExportECSServiceRecommendationsRequest = [
1862
+ 3,
1863
+ n0,
1864
+ _EECSSRR,
1865
+ 0,
1866
+ [_aIc, _fi, _fTE, _sDC, _fF, _iMA],
1867
+ [64 | 0, () => ECSServiceRecommendationFilters, 64 | 0, () => S3DestinationConfig, 0, 2],
1868
+ ];
1869
+ var ExportECSServiceRecommendationsResponse = [
1870
+ 3,
1871
+ n0,
1872
+ _EECSSRRx,
1873
+ 0,
1874
+ [_jIo, _sD],
1875
+ [0, () => S3Destination],
1876
+ ];
1877
+ var ExportIdleRecommendationsRequest = [
1878
+ 3,
1879
+ n0,
1880
+ _EIRR,
1881
+ 0,
1882
+ [_aIc, _fi, _fTE, _sDC, _fF, _iMA],
1883
+ [64 | 0, () => IdleRecommendationFilters, 64 | 0, () => S3DestinationConfig, 0, 2],
1884
+ ];
1885
+ var ExportIdleRecommendationsResponse = [
1886
+ 3,
1887
+ n0,
1888
+ _EIRRx,
1889
+ 0,
1890
+ [_jIo, _sD],
1891
+ [0, () => S3Destination],
1892
+ ];
1893
+ var ExportLambdaFunctionRecommendationsRequest = [
1894
+ 3,
1895
+ n0,
1896
+ _ELFRR,
1897
+ 0,
1898
+ [_aIc, _fi, _fTE, _sDC, _fF, _iMA],
1899
+ [64 | 0, () => LambdaFunctionRecommendationFilters, 64 | 0, () => S3DestinationConfig, 0, 2],
1900
+ ];
1901
+ var ExportLambdaFunctionRecommendationsResponse = [
1902
+ 3,
1903
+ n0,
1904
+ _ELFRRx,
1905
+ 0,
1906
+ [_jIo, _sD],
1907
+ [0, () => S3Destination],
1908
+ ];
1909
+ var ExportLicenseRecommendationsRequest = [
1910
+ 3,
1911
+ n0,
1912
+ _ELRR,
1913
+ 0,
1914
+ [_aIc, _fi, _fTE, _sDC, _fF, _iMA],
1915
+ [64 | 0, () => LicenseRecommendationFilters, 64 | 0, () => S3DestinationConfig, 0, 2],
1916
+ ];
1917
+ var ExportLicenseRecommendationsResponse = [
1918
+ 3,
1919
+ n0,
1920
+ _ELRRx,
1921
+ 0,
1922
+ [_jIo, _sD],
1923
+ [0, () => S3Destination],
1924
+ ];
1925
+ var ExportRDSDatabaseRecommendationsRequest = [
1926
+ 3,
1927
+ n0,
1928
+ _ERDSDRR,
1929
+ 0,
1930
+ [_aIc, _fi, _fTE, _sDC, _fF, _iMA, _rP],
1931
+ [64 | 0, () => RDSDBRecommendationFilters, 64 | 0, () => S3DestinationConfig, 0, 2, () => RecommendationPreferences],
1932
+ ];
1933
+ var ExportRDSDatabaseRecommendationsResponse = [
1934
+ 3,
1935
+ n0,
1936
+ _ERDSDRRx,
1937
+ 0,
1938
+ [_jIo, _sD],
1939
+ [0, () => S3Destination],
1940
+ ];
1941
+ var ExternalMetricsPreference = [3, n0, _EMP, 0, [_so], [0]];
1942
+ var ExternalMetricStatus = [3, n0, _EMSx, 0, [_sC, _sR], [0, 0]];
1943
+ var Filter = [3, n0, _F, 0, [_n, _va], [0, 64 | 0]];
1944
+ var GetAutoScalingGroupRecommendationsRequest = [
1945
+ 3,
1946
+ n0,
1947
+ _GASGRR,
1948
+ 0,
1949
+ [_aIc, _aSGAu, _nT, _mR, _fi, _rP],
1950
+ [64 | 0, 64 | 0, 0, 1, () => Filters, () => RecommendationPreferences],
1951
+ ];
1952
+ var GetAutoScalingGroupRecommendationsResponse = [
1953
+ 3,
1954
+ n0,
1955
+ _GASGRRe,
1956
+ 0,
1957
+ [_nT, _aSGR, _er],
1958
+ [0, () => AutoScalingGroupRecommendations, () => GetRecommendationErrors],
1959
+ ];
1960
+ var GetEBSVolumeRecommendationsRequest = [
1961
+ 3,
1962
+ n0,
1963
+ _GEBSVRR,
1964
+ 0,
1965
+ [_vA, _nT, _mR, _fi, _aIc],
1966
+ [64 | 0, 0, 1, () => EBSFilters, 64 | 0],
1967
+ ];
1968
+ var GetEBSVolumeRecommendationsResponse = [
1969
+ 3,
1970
+ n0,
1971
+ _GEBSVRRe,
1972
+ 0,
1973
+ [_nT, _vR, _er],
1974
+ [0, () => VolumeRecommendations, () => GetRecommendationErrors],
1975
+ ];
1976
+ var GetEC2InstanceRecommendationsRequest = [
1977
+ 3,
1978
+ n0,
1979
+ _GECIRR,
1980
+ 0,
1981
+ [_iA, _nT, _mR, _fi, _aIc, _rP],
1982
+ [64 | 0, 0, 1, () => Filters, 64 | 0, () => RecommendationPreferences],
1983
+ ];
1984
+ var GetEC2InstanceRecommendationsResponse = [
1985
+ 3,
1986
+ n0,
1987
+ _GECIRRe,
1988
+ 0,
1989
+ [_nT, _iR, _er],
1990
+ [0, () => InstanceRecommendations, () => GetRecommendationErrors],
1991
+ ];
1992
+ var GetEC2RecommendationProjectedMetricsRequest = [
1993
+ 3,
1994
+ n0,
1995
+ _GECRPMR,
1996
+ 0,
1997
+ [_iAn, _sta, _p, _sTta, _eT, _rP],
1998
+ [0, 0, 1, 4, 4, () => RecommendationPreferences],
1999
+ ];
2000
+ var GetEC2RecommendationProjectedMetricsResponse = [
2001
+ 3,
2002
+ n0,
2003
+ _GECRPMRe,
2004
+ 0,
2005
+ [_rOPM],
2006
+ [() => RecommendedOptionProjectedMetrics],
2007
+ ];
2008
+ var GetECSServiceRecommendationProjectedMetricsRequest = [
2009
+ 3,
2010
+ n0,
2011
+ _GECSSRPMR,
2012
+ 0,
2013
+ [_sA, _sta, _p, _sTta, _eT],
2014
+ [0, 0, 1, 4, 4],
2015
+ ];
2016
+ var GetECSServiceRecommendationProjectedMetricsResponse = [
2017
+ 3,
2018
+ n0,
2019
+ _GECSSRPMRe,
2020
+ 0,
2021
+ [_rOPM],
2022
+ [() => ECSServiceRecommendedOptionProjectedMetrics],
2023
+ ];
2024
+ var GetECSServiceRecommendationsRequest = [
2025
+ 3,
2026
+ n0,
2027
+ _GECSSRR,
2028
+ 0,
2029
+ [_sAe, _nT, _mR, _fi, _aIc],
2030
+ [64 | 0, 0, 1, () => ECSServiceRecommendationFilters, 64 | 0],
2031
+ ];
2032
+ var GetECSServiceRecommendationsResponse = [
2033
+ 3,
2034
+ n0,
2035
+ _GECSSRRe,
2036
+ 0,
2037
+ [_nT, _eSR, _er],
2038
+ [0, () => ECSServiceRecommendations, () => GetRecommendationErrors],
2039
+ ];
2040
+ var GetEffectiveRecommendationPreferencesRequest = [3, n0, _GERPR, 0, [_rA], [0]];
2041
+ var GetEffectiveRecommendationPreferencesResponse = [
2042
+ 3,
2043
+ n0,
2044
+ _GERPRe,
2045
+ 0,
2046
+ [_eIM, _eMP, _lBP, _uP, _pRr],
2047
+ [0, () => ExternalMetricsPreference, 0, () => UtilizationPreferences, () => EffectivePreferredResources],
2048
+ ];
2049
+ var GetEnrollmentStatusesForOrganizationRequest = [
2050
+ 3,
2051
+ n0,
2052
+ _GESFOR,
2053
+ 0,
2054
+ [_fi, _nT, _mR],
2055
+ [() => EnrollmentFilters, 0, 1],
2056
+ ];
2057
+ var GetEnrollmentStatusesForOrganizationResponse = [
2058
+ 3,
2059
+ n0,
2060
+ _GESFORe,
2061
+ 0,
2062
+ [_aES, _nT],
2063
+ [() => AccountEnrollmentStatuses, 0],
2064
+ ];
2065
+ var GetEnrollmentStatusRequest = [3, n0, _GESR, 0, [], []];
2066
+ var GetEnrollmentStatusResponse = [
2067
+ 3,
2068
+ n0,
2069
+ _GESRe,
2070
+ 0,
2071
+ [_s, _sR, _mAE, _lUT, _nOMAOI],
2072
+ [0, 0, 2, 4, 1],
2073
+ ];
2074
+ var GetIdleRecommendationsRequest = [
2075
+ 3,
2076
+ n0,
2077
+ _GIRR,
2078
+ 0,
2079
+ [_rAe, _nT, _mR, _fi, _aIc, _oB],
2080
+ [64 | 0, 0, 1, () => IdleRecommendationFilters, 64 | 0, () => OrderBy],
2081
+ ];
2082
+ var GetIdleRecommendationsResponse = [
2083
+ 3,
2084
+ n0,
2085
+ _GIRRe,
2086
+ 0,
2087
+ [_nT, _iRd, _er],
2088
+ [0, () => IdleRecommendations, () => IdleRecommendationErrors],
2089
+ ];
2090
+ var GetLambdaFunctionRecommendationsRequest = [
2091
+ 3,
2092
+ n0,
2093
+ _GLFRR,
2094
+ 0,
2095
+ [_fA, _aIc, _fi, _nT, _mR],
2096
+ [64 | 0, 64 | 0, () => LambdaFunctionRecommendationFilters, 0, 1],
2097
+ ];
2098
+ var GetLambdaFunctionRecommendationsResponse = [
2099
+ 3,
2100
+ n0,
2101
+ _GLFRRe,
2102
+ 0,
2103
+ [_nT, _lFR],
2104
+ [0, () => LambdaFunctionRecommendations],
2105
+ ];
2106
+ var GetLicenseRecommendationsRequest = [
2107
+ 3,
2108
+ n0,
2109
+ _GLRR,
2110
+ 0,
2111
+ [_rAe, _nT, _mR, _fi, _aIc],
2112
+ [64 | 0, 0, 1, () => LicenseRecommendationFilters, 64 | 0],
2113
+ ];
2114
+ var GetLicenseRecommendationsResponse = [
2115
+ 3,
2116
+ n0,
2117
+ _GLRRe,
2118
+ 0,
2119
+ [_nT, _lR, _er],
2120
+ [0, () => LicenseRecommendations, () => GetRecommendationErrors],
2121
+ ];
2122
+ var GetRDSDatabaseRecommendationProjectedMetricsRequest = [
2123
+ 3,
2124
+ n0,
2125
+ _GRDSDRPMR,
2126
+ 0,
2127
+ [_rA, _sta, _p, _sTta, _eT, _rP],
2128
+ [0, 0, 1, 4, 4, () => RecommendationPreferences],
2129
+ ];
2130
+ var GetRDSDatabaseRecommendationProjectedMetricsResponse = [
2131
+ 3,
2132
+ n0,
2133
+ _GRDSDRPMRe,
2134
+ 0,
2135
+ [_rOPM],
2136
+ [() => RDSDatabaseRecommendedOptionProjectedMetrics],
2137
+ ];
2138
+ var GetRDSDatabaseRecommendationsRequest = [
2139
+ 3,
2140
+ n0,
2141
+ _GRDSDRR,
2142
+ 0,
2143
+ [_rAe, _nT, _mR, _fi, _aIc, _rP],
2144
+ [64 | 0, 0, 1, () => RDSDBRecommendationFilters, 64 | 0, () => RecommendationPreferences],
2145
+ ];
2146
+ var GetRDSDatabaseRecommendationsResponse = [
2147
+ 3,
2148
+ n0,
2149
+ _GRDSDRRe,
2150
+ 0,
2151
+ [_nT, _rDBR, _er],
2152
+ [0, () => RDSDBRecommendations, () => GetRecommendationErrors],
2153
+ ];
2154
+ var GetRecommendationError = [3, n0, _GRE, 0, [_id, _cod, _m], [0, 0, 0]];
2155
+ var GetRecommendationPreferencesRequest = [
2156
+ 3,
2157
+ n0,
2158
+ _GRPR,
2159
+ 0,
2160
+ [_rT, _sc, _nT, _mR],
2161
+ [0, () => Scope, 0, 1],
2162
+ ];
2163
+ var GetRecommendationPreferencesResponse = [
2164
+ 3,
2165
+ n0,
2166
+ _GRPRe,
2167
+ 0,
2168
+ [_nT, _rPD],
2169
+ [0, () => RecommendationPreferencesDetails],
2170
+ ];
2171
+ var GetRecommendationSummariesRequest = [
2172
+ 3,
2173
+ n0,
2174
+ _GRSR,
2175
+ 0,
2176
+ [_aIc, _nT, _mR],
2177
+ [64 | 0, 0, 1],
2178
+ ];
2179
+ var GetRecommendationSummariesResponse = [
2180
+ 3,
2181
+ n0,
2182
+ _GRSRe,
2183
+ 0,
2184
+ [_nT, _rS],
2185
+ [0, () => RecommendationSummaries],
2186
+ ];
2187
+ var Gpu = [3, n0, _G, 0, [_gC, _gMSIMB], [1, 1]];
2188
+ var GpuInfo = [3, n0, _GI, 0, [_g], [() => Gpus]];
2189
+ var IdleEstimatedMonthlySavings = [3, n0, _IEMS, 0, [_cu, _v], [0, 1]];
2190
+ var IdleRecommendation = [
2191
+ 3,
2192
+ n0,
2193
+ _IR,
2194
+ 0,
2195
+ [_rA, _rI, _rT, _aI, _f, _fD, _sO, _sOAD, _uM, _lBPID, _lRT, _ta],
2196
+ [
2197
+ 0,
2198
+ 0,
2199
+ 0,
2200
+ 0,
2201
+ 0,
2202
+ 0,
2203
+ () => IdleSavingsOpportunity,
2204
+ () => IdleSavingsOpportunityAfterDiscounts,
2205
+ () => IdleUtilizationMetrics,
2206
+ 1,
2207
+ 4,
2208
+ () => Tags,
2209
+ ],
2210
+ ];
2211
+ var IdleRecommendationError = [3, n0, _IRE, 0, [_id, _cod, _m, _rT], [0, 0, 0, 0]];
2212
+ var IdleRecommendationFilter = [3, n0, _IRF, 0, [_n, _va], [0, 64 | 0]];
2213
+ var IdleSavingsOpportunity = [
2214
+ 3,
2215
+ n0,
2216
+ _ISO,
2217
+ 0,
2218
+ [_sOP, _eMS],
2219
+ [1, () => IdleEstimatedMonthlySavings],
2220
+ ];
2221
+ var IdleSavingsOpportunityAfterDiscounts = [
2222
+ 3,
2223
+ n0,
2224
+ _ISOAD,
2225
+ 0,
2226
+ [_sOP, _eMS],
2227
+ [1, () => IdleEstimatedMonthlySavings],
2228
+ ];
2229
+ var IdleSummary = [3, n0, _IS, 0, [_n, _v], [0, 1]];
2230
+ var IdleUtilizationMetric = [3, n0, _IUM, 0, [_n, _st, _v], [0, 0, 1]];
2231
+ var InferredWorkloadSaving = [
2232
+ 3,
2233
+ n0,
2234
+ _IWS,
2235
+ 0,
2236
+ [_iWT, _eMS],
2237
+ [64 | 0, () => EstimatedMonthlySavings],
2238
+ ];
2239
+ var InstanceEstimatedMonthlySavings = [3, n0, _IEMSn, 0, [_cu, _v], [0, 1]];
2240
+ var InstanceRecommendation = [
2241
+ 3,
2242
+ n0,
2243
+ _IRn,
2244
+ 0,
2245
+ [_iAn, _aI, _iN, _cIT, _f, _fRC, _uM, _lBPID, _rO, _rSe, _lRT, _cPR, _eRP, _iWT, _iS, _ta, _eMSx, _cIGI, _idl],
2246
+ [
2247
+ 0,
2248
+ 0,
2249
+ 0,
2250
+ 0,
2251
+ 0,
2252
+ 64 | 0,
2253
+ () => UtilizationMetrics,
2254
+ 1,
2255
+ () => RecommendationOptions,
2256
+ () => RecommendationSources,
2257
+ 4,
2258
+ 0,
2259
+ () => EffectiveRecommendationPreferences,
2260
+ 64 | 0,
2261
+ 0,
2262
+ () => Tags,
2263
+ () => ExternalMetricStatus,
2264
+ () => GpuInfo,
2265
+ 0,
2266
+ ],
2267
+ ];
2268
+ var InstanceRecommendationOption = [
2269
+ 3,
2270
+ n0,
2271
+ _IRO,
2272
+ 0,
2273
+ [_iT, _iGI, _pUM, _pD, _pR, _r, _sO, _sOAD, _mE],
2274
+ [
2275
+ 0,
2276
+ () => GpuInfo,
2277
+ () => ProjectedUtilizationMetrics,
2278
+ 64 | 0,
2279
+ 1,
2280
+ 1,
2281
+ () => SavingsOpportunity,
2282
+ () => InstanceSavingsOpportunityAfterDiscounts,
2283
+ 0,
2284
+ ],
2285
+ ];
2286
+ var InstanceSavingsEstimationMode = [3, n0, _ISEM, 0, [_so], [0]];
2287
+ var InstanceSavingsOpportunityAfterDiscounts = [
2288
+ 3,
2289
+ n0,
2290
+ _ISOADn,
2291
+ 0,
2292
+ [_sOP, _eMS],
2293
+ [1, () => InstanceEstimatedMonthlySavings],
2294
+ ];
2295
+ var InternalServerException = [
2296
+ -3,
2297
+ n0,
2298
+ _ISE,
2299
+ {
2300
+ [_e]: _se,
2301
+ [_hE]: 500,
2302
+ },
2303
+ [_m],
2304
+ [0],
2305
+ ];
2306
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
2307
+ var InvalidParameterValueException = [
2308
+ -3,
2309
+ n0,
2310
+ _IPVE,
2311
+ {
2312
+ [_e]: _c,
2313
+ [_hE]: 400,
2314
+ },
2315
+ [_m],
2316
+ [0],
2317
+ ];
2318
+ schema.TypeRegistry.for(n0).registerError(InvalidParameterValueException, InvalidParameterValueException$1);
2319
+ var JobFilter = [3, n0, _JF, 0, [_n, _va], [0, 64 | 0]];
2320
+ var LambdaEffectiveRecommendationPreferences = [
2321
+ 3,
2322
+ n0,
2323
+ _LERP,
2324
+ 0,
2325
+ [_sEM],
2326
+ [() => LambdaSavingsEstimationMode],
2327
+ ];
2328
+ var LambdaEstimatedMonthlySavings = [3, n0, _LEMS, 0, [_cu, _v], [0, 1]];
2329
+ var LambdaFunctionMemoryProjectedMetric = [3, n0, _LFMPM, 0, [_n, _st, _v], [0, 0, 1]];
2330
+ var LambdaFunctionMemoryRecommendationOption = [
2331
+ 3,
2332
+ n0,
2333
+ _LFMRO,
2334
+ 0,
2335
+ [_r, _mSe, _pUM, _sO, _sOAD],
2336
+ [
2337
+ 1,
2338
+ 1,
2339
+ () => LambdaFunctionMemoryProjectedMetrics,
2340
+ () => SavingsOpportunity,
2341
+ () => LambdaSavingsOpportunityAfterDiscounts,
2342
+ ],
2343
+ ];
2344
+ var LambdaFunctionRecommendation = [
2345
+ 3,
2346
+ n0,
2347
+ _LFR,
2348
+ 0,
2349
+ [_fAu, _fV, _aI, _cMS, _nOI, _uM, _lPID, _lRT, _f, _fRC, _mSRO, _cPR, _eRP, _ta],
2350
+ [
2351
+ 0,
2352
+ 0,
2353
+ 0,
2354
+ 1,
2355
+ 1,
2356
+ () => LambdaFunctionUtilizationMetrics,
2357
+ 1,
2358
+ 4,
2359
+ 0,
2360
+ 64 | 0,
2361
+ () => LambdaFunctionMemoryRecommendationOptions,
2362
+ 0,
2363
+ () => LambdaEffectiveRecommendationPreferences,
2364
+ () => Tags,
2365
+ ],
2366
+ ];
2367
+ var LambdaFunctionRecommendationFilter = [3, n0, _LFRF, 0, [_n, _va], [0, 64 | 0]];
2368
+ var LambdaFunctionUtilizationMetric = [3, n0, _LFUM, 0, [_n, _st, _v], [0, 0, 1]];
2369
+ var LambdaSavingsEstimationMode = [3, n0, _LSEM, 0, [_so], [0]];
2370
+ var LambdaSavingsOpportunityAfterDiscounts = [
2371
+ 3,
2372
+ n0,
2373
+ _LSOAD,
2374
+ 0,
2375
+ [_sOP, _eMS],
2376
+ [1, () => LambdaEstimatedMonthlySavings],
2377
+ ];
2378
+ var LicenseConfiguration = [
2379
+ 3,
2380
+ n0,
2381
+ _LC,
2382
+ 0,
2383
+ [_nOC, _iT, _oS, _lE, _lN, _lM, _lV, _mSet],
2384
+ [1, 0, 0, 0, 0, 0, 0, () => MetricsSource],
2385
+ ];
2386
+ var LicenseRecommendation = [
2387
+ 3,
2388
+ n0,
2389
+ _LR,
2390
+ 0,
2391
+ [_rA, _aI, _cLC, _lPID, _lRT, _f, _fRC, _lRO, _ta],
2392
+ [0, 0, () => LicenseConfiguration, 1, 4, 0, 64 | 0, () => LicenseRecommendationOptions, () => Tags],
2393
+ ];
2394
+ var LicenseRecommendationFilter = [3, n0, _LRF, 0, [_n, _va], [0, 64 | 0]];
2395
+ var LicenseRecommendationOption = [
2396
+ 3,
2397
+ n0,
2398
+ _LRO,
2399
+ 0,
2400
+ [_r, _oS, _lE, _lM, _sO],
2401
+ [1, 0, 0, 0, () => SavingsOpportunity],
2402
+ ];
2403
+ var LimitExceededException = [
2404
+ -3,
2405
+ n0,
2406
+ _LEE,
2407
+ {
2408
+ [_e]: _c,
2409
+ [_hE]: 400,
2410
+ },
2411
+ [_m],
2412
+ [0],
2413
+ ];
2414
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
2415
+ var MemorySizeConfiguration = [3, n0, _MSC, 0, [_mem, _mRe], [1, 1]];
2416
+ var MetricSource = [3, n0, _MS, 0, [_pr, _pA], [0, 0]];
2417
+ var MissingAuthenticationToken = [
2418
+ -3,
2419
+ n0,
2420
+ _MAT,
2421
+ {
2422
+ [_e]: _c,
2423
+ [_hE]: 403,
2424
+ },
2425
+ [_m],
2426
+ [0],
2427
+ ];
2428
+ schema.TypeRegistry.for(n0).registerError(MissingAuthenticationToken, MissingAuthenticationToken$1);
2429
+ var OptInRequiredException = [
2430
+ -3,
2431
+ n0,
2432
+ _OIRE,
2433
+ {
2434
+ [_e]: _c,
2435
+ [_hE]: 403,
2436
+ },
2437
+ [_m],
2438
+ [0],
2439
+ ];
2440
+ schema.TypeRegistry.for(n0).registerError(OptInRequiredException, OptInRequiredException$1);
2441
+ var OrderBy = [3, n0, _OB, 0, [_d, _o], [0, 0]];
2442
+ var PreferredResource = [3, n0, _PR, 0, [_n, _iL, _eL], [0, 64 | 0, 64 | 0]];
2443
+ var ProjectedMetric = [3, n0, _PM, 0, [_n, _ti, _va], [0, 64 | 4, 64 | 1]];
2444
+ var PutRecommendationPreferencesRequest = [
2445
+ 3,
2446
+ n0,
2447
+ _PRPR,
2448
+ 0,
2449
+ [_rT, _sc, _eIM, _iWT, _eMP, _lBP, _uP, _pRr, _sEM],
2450
+ [0, () => Scope, 0, 0, () => ExternalMetricsPreference, 0, () => UtilizationPreferences, () => PreferredResources, 0],
2451
+ ];
2452
+ var PutRecommendationPreferencesResponse = [3, n0, _PRPRu, 0, [], []];
2453
+ var RDSDatabaseProjectedMetric = [3, n0, _RDSDPM, 0, [_n, _ti, _va], [0, 64 | 4, 64 | 1]];
2454
+ var RDSDatabaseRecommendedOptionProjectedMetric = [
2455
+ 3,
2456
+ n0,
2457
+ _RDSDROPM,
2458
+ 0,
2459
+ [_rDBIC, _r, _pM],
2460
+ [0, 1, () => RDSDatabaseProjectedMetrics],
2461
+ ];
2462
+ var RDSDBInstanceRecommendationOption = [
2463
+ 3,
2464
+ n0,
2465
+ _RDSDBIRO,
2466
+ 0,
2467
+ [_dIC, _pUM, _pR, _r, _sO, _sOAD],
2468
+ [
2469
+ 0,
2470
+ () => RDSDBProjectedUtilizationMetrics,
2471
+ 1,
2472
+ 1,
2473
+ () => SavingsOpportunity,
2474
+ () => RDSInstanceSavingsOpportunityAfterDiscounts,
2475
+ ],
2476
+ ];
2477
+ var RDSDBRecommendation = [
2478
+ 3,
2479
+ n0,
2480
+ _RDSDBR,
2481
+ 0,
2482
+ [
2483
+ _rA,
2484
+ _aI,
2485
+ _en,
2486
+ _eV,
2487
+ _pT,
2488
+ _cDBIC,
2489
+ _cSCu,
2490
+ _dCI,
2491
+ _idl,
2492
+ _iF,
2493
+ _sF,
2494
+ _iFRC,
2495
+ _cIPR,
2496
+ _cSEMVIOPCV,
2497
+ _sFRC,
2498
+ _iRO,
2499
+ _sROt,
2500
+ _uM,
2501
+ _eRP,
2502
+ _lPID,
2503
+ _lRT,
2504
+ _ta,
2505
+ ],
2506
+ [
2507
+ 0,
2508
+ 0,
2509
+ 0,
2510
+ 0,
2511
+ 1,
2512
+ 0,
2513
+ () => DBStorageConfiguration,
2514
+ 0,
2515
+ 0,
2516
+ 0,
2517
+ 0,
2518
+ 64 | 0,
2519
+ 0,
2520
+ 0,
2521
+ 64 | 0,
2522
+ () => RDSDBInstanceRecommendationOptions,
2523
+ () => RDSDBStorageRecommendationOptions,
2524
+ () => RDSDBUtilizationMetrics,
2525
+ () => RDSEffectiveRecommendationPreferences,
2526
+ 1,
2527
+ 4,
2528
+ () => Tags,
2529
+ ],
2530
+ ];
2531
+ var RDSDBRecommendationFilter = [3, n0, _RDSDBRF, 0, [_n, _va], [0, 64 | 0]];
2532
+ var RDSDBStorageRecommendationOption = [
2533
+ 3,
2534
+ n0,
2535
+ _RDSDBSRO,
2536
+ 0,
2537
+ [_sCt, _r, _sO, _sOAD, _eMVIOPCV],
2538
+ [() => DBStorageConfiguration, 1, () => SavingsOpportunity, () => RDSStorageSavingsOpportunityAfterDiscounts, 0],
2539
+ ];
2540
+ var RDSDBUtilizationMetric = [3, n0, _RDSDBUM, 0, [_n, _st, _v], [0, 0, 1]];
2541
+ var RDSEffectiveRecommendationPreferences = [
2542
+ 3,
2543
+ n0,
2544
+ _RDSERP,
2545
+ 0,
2546
+ [_cVA, _eIM, _lBP, _sEM],
2547
+ [64 | 0, 0, 0, () => RDSSavingsEstimationMode],
2548
+ ];
2549
+ var RDSInstanceEstimatedMonthlySavings = [3, n0, _RDSIEMS, 0, [_cu, _v], [0, 1]];
2550
+ var RDSInstanceSavingsOpportunityAfterDiscounts = [
2551
+ 3,
2552
+ n0,
2553
+ _RDSISOAD,
2554
+ 0,
2555
+ [_sOP, _eMS],
2556
+ [1, () => RDSInstanceEstimatedMonthlySavings],
2557
+ ];
2558
+ var RDSSavingsEstimationMode = [3, n0, _RDSSEM, 0, [_so], [0]];
2559
+ var RDSStorageEstimatedMonthlySavings = [3, n0, _RDSSEMS, 0, [_cu, _v], [0, 1]];
2560
+ var RDSStorageSavingsOpportunityAfterDiscounts = [
2561
+ 3,
2562
+ n0,
2563
+ _RDSSSOAD,
2564
+ 0,
2565
+ [_sOP, _eMS],
2566
+ [1, () => RDSStorageEstimatedMonthlySavings],
2567
+ ];
2568
+ var ReasonCodeSummary = [3, n0, _RCS, 0, [_n, _v], [0, 1]];
2569
+ var RecommendationExportJob = [
2570
+ 3,
2571
+ n0,
2572
+ _REJ,
2573
+ 0,
2574
+ [_jIo, _de, _rT, _s, _cT, _lUT, _fR],
2575
+ [0, () => ExportDestination, 0, 0, 4, 4, 0],
2576
+ ];
2577
+ var RecommendationPreferences = [3, n0, _RP, 0, [_cVA], [64 | 0]];
2578
+ var RecommendationPreferencesDetail = [
2579
+ 3,
2580
+ n0,
2581
+ _RPD,
2582
+ 0,
2583
+ [_sc, _rT, _eIM, _iWT, _eMP, _lBP, _uP, _pRr, _sEM],
2584
+ [
2585
+ () => Scope,
2586
+ 0,
2587
+ 0,
2588
+ 0,
2589
+ () => ExternalMetricsPreference,
2590
+ 0,
2591
+ () => UtilizationPreferences,
2592
+ () => EffectivePreferredResources,
2593
+ 0,
2594
+ ],
2595
+ ];
2596
+ var RecommendationSource = [3, n0, _RS, 0, [_rSA, _rST], [0, 0]];
2597
+ var RecommendationSummary = [
2598
+ 3,
2599
+ n0,
2600
+ _RSe,
2601
+ 0,
2602
+ [_su, _iSd, _rRT, _aI, _sO, _iSO, _aSO, _cPRR, _iWS],
2603
+ [
2604
+ () => Summaries,
2605
+ () => IdleSummaries,
2606
+ 0,
2607
+ 0,
2608
+ () => SavingsOpportunity,
2609
+ () => SavingsOpportunity,
2610
+ () => SavingsOpportunity,
2611
+ () => CurrentPerformanceRiskRatings,
2612
+ () => InferredWorkloadSavings,
2613
+ ],
2614
+ ];
2615
+ var RecommendedOptionProjectedMetric = [
2616
+ 3,
2617
+ n0,
2618
+ _ROPM,
2619
+ 0,
2620
+ [_rIT, _r, _pM],
2621
+ [0, 1, () => ProjectedMetrics],
2622
+ ];
2623
+ var ResourceNotFoundException = [
2624
+ -3,
2625
+ n0,
2626
+ _RNFE,
2627
+ {
2628
+ [_e]: _c,
2629
+ [_hE]: 404,
2630
+ },
2631
+ [_m],
2632
+ [0],
2633
+ ];
2634
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
2635
+ var S3Destination = [3, n0, _SD, 0, [_b, _k, _mK], [0, 0, 0]];
2636
+ var S3DestinationConfig = [3, n0, _SDC, 0, [_b, _kP], [0, 0]];
2637
+ var SavingsOpportunity = [
2638
+ 3,
2639
+ n0,
2640
+ _SO,
2641
+ 0,
2642
+ [_sOP, _eMS],
2643
+ [1, () => EstimatedMonthlySavings],
2644
+ ];
2645
+ var Scope = [3, n0, _S, 0, [_n, _v], [0, 0]];
2646
+ var ServiceConfiguration = [
2647
+ 3,
2648
+ n0,
2649
+ _SC,
2650
+ 0,
2651
+ [_mem, _cp, _cCo, _aSC, _tDA],
2652
+ [1, 1, () => ContainerConfigurations, 0, 0],
2653
+ ];
2654
+ var ServiceUnavailableException = [
2655
+ -3,
2656
+ n0,
2657
+ _SUE,
2658
+ {
2659
+ [_e]: _se,
2660
+ [_hE]: 503,
2661
+ },
2662
+ [_m],
2663
+ [0],
2664
+ ];
2665
+ schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
2666
+ var Summary = [3, n0, _Su, 0, [_n, _v, _rCS], [0, 1, () => ReasonCodeSummaries]];
2667
+ var Tag = [3, n0, _T, 0, [_k, _v], [0, 0]];
2668
+ var ThrottlingException = [
2669
+ -3,
2670
+ n0,
2671
+ _TE,
2672
+ {
2673
+ [_e]: _c,
2674
+ [_hE]: 429,
2675
+ },
2676
+ [_m],
2677
+ [0],
2678
+ ];
2679
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
2680
+ var UpdateEnrollmentStatusRequest = [3, n0, _UESR, 0, [_s, _iMA], [0, 2]];
2681
+ var UpdateEnrollmentStatusResponse = [3, n0, _UESRp, 0, [_s, _sR], [0, 0]];
2682
+ var UtilizationMetric = [3, n0, _UM, 0, [_n, _st, _v], [0, 0, 1]];
2683
+ var UtilizationPreference = [
2684
+ 3,
2685
+ n0,
2686
+ _UP,
2687
+ 0,
2688
+ [_mN, _mP],
2689
+ [0, () => CustomizableMetricParameters],
2690
+ ];
2691
+ var VolumeConfiguration = [
2692
+ 3,
2693
+ n0,
2694
+ _VC,
2695
+ 0,
2696
+ [_vT, _vS, _vBIOPS, _vBIOPSo, _vBT, _vBTo, _rV],
2697
+ [0, 1, 1, 1, 1, 1, 2],
2698
+ ];
2699
+ var VolumeRecommendation = [
2700
+ 3,
2701
+ n0,
2702
+ _VR,
2703
+ 0,
2704
+ [_vAo, _aI, _cC, _f, _uM, _lBPID, _vRO, _lRT, _cPR, _eRP, _ta],
2705
+ [
2706
+ 0,
2707
+ 0,
2708
+ () => VolumeConfiguration,
2709
+ 0,
2710
+ () => EBSUtilizationMetrics,
2711
+ 1,
2712
+ () => VolumeRecommendationOptions,
2713
+ 4,
2714
+ 0,
2715
+ () => EBSEffectiveRecommendationPreferences,
2716
+ () => Tags,
2717
+ ],
2718
+ ];
2719
+ var VolumeRecommendationOption = [
2720
+ 3,
2721
+ n0,
2722
+ _VRO,
2723
+ 0,
2724
+ [_co, _pR, _r, _sO, _sOAD],
2725
+ [() => VolumeConfiguration, 1, 1, () => SavingsOpportunity, () => EBSSavingsOpportunityAfterDiscounts],
2726
+ ];
2727
+ var ComputeOptimizerServiceException = [
2728
+ -3,
2729
+ _sm,
2730
+ "ComputeOptimizerServiceException",
2731
+ 0,
2732
+ [],
2733
+ [],
2734
+ ];
2735
+ schema.TypeRegistry.for(_sm).registerError(ComputeOptimizerServiceException, ComputeOptimizerServiceException$1);
2736
+ var AccountEnrollmentStatuses = [1, n0, _AESc, 0, () => AccountEnrollmentStatus];
2737
+ var AutoScalingGroupRecommendationOptions = [
2738
+ 1,
2739
+ n0,
2740
+ _ASGROu,
2741
+ 0,
2742
+ () => AutoScalingGroupRecommendationOption,
2743
+ ];
2744
+ var AutoScalingGroupRecommendations = [1, n0, _ASGRu, 0, () => AutoScalingGroupRecommendation];
2745
+ var ContainerConfigurations = [1, n0, _CCo, 0, () => ContainerConfiguration];
2746
+ var ContainerRecommendations = [1, n0, _CRo, 0, () => ContainerRecommendation];
2747
+ var EBSFilters = [1, n0, _EBSFi, 0, () => EBSFilter];
2748
+ var EBSUtilizationMetrics = [1, n0, _EBSUMt, 0, () => EBSUtilizationMetric];
2749
+ var ECSServiceProjectedMetrics = [1, n0, _ECSSPMe, 0, () => ECSServiceProjectedMetric];
2750
+ var ECSServiceProjectedUtilizationMetrics = [
2751
+ 1,
2752
+ n0,
2753
+ _ECSSPUMe,
2754
+ 0,
2755
+ () => ECSServiceProjectedUtilizationMetric,
2756
+ ];
2757
+ var ECSServiceRecommendationFilters = [
2758
+ 1,
2759
+ n0,
2760
+ _ECSSRFe,
2761
+ 0,
2762
+ () => ECSServiceRecommendationFilter,
2763
+ ];
2764
+ var ECSServiceRecommendationOptions = [
2765
+ 1,
2766
+ n0,
2767
+ _ECSSROe,
2768
+ 0,
2769
+ () => ECSServiceRecommendationOption,
2770
+ ];
2771
+ var ECSServiceRecommendations = [1, n0, _ECSSRe, 0, () => ECSServiceRecommendation];
2772
+ var ECSServiceRecommendedOptionProjectedMetrics = [
2773
+ 1,
2774
+ n0,
2775
+ _ECSSROPMe,
2776
+ 0,
2777
+ () => ECSServiceRecommendedOptionProjectedMetric,
2778
+ ];
2779
+ var ECSServiceUtilizationMetrics = [1, n0, _ECSSUMe, 0, () => ECSServiceUtilizationMetric];
2780
+ var EffectivePreferredResources = [1, n0, _EPRf, 0, () => EffectivePreferredResource];
2781
+ var EnrollmentFilters = [1, n0, _EFn, 0, () => EnrollmentFilter];
2782
+ var Filters = [1, n0, _Fi, 0, () => Filter];
2783
+ var GetRecommendationErrors = [1, n0, _GREe, 0, () => GetRecommendationError];
2784
+ var Gpus = [1, n0, _Gp, 0, () => Gpu];
2785
+ var IdleRecommendationErrors = [1, n0, _IREd, 0, () => IdleRecommendationError];
2786
+ var IdleRecommendationFilters = [1, n0, _IRFd, 0, () => IdleRecommendationFilter];
2787
+ var IdleRecommendations = [1, n0, _IRd, 0, () => IdleRecommendation];
2788
+ var IdleSummaries = [1, n0, _ISd, 0, () => IdleSummary];
2789
+ var IdleUtilizationMetrics = [1, n0, _IUMd, 0, () => IdleUtilizationMetric];
2790
+ var InferredWorkloadSavings = [1, n0, _IWSn, 0, () => InferredWorkloadSaving];
2791
+ var InstanceRecommendations = [1, n0, _IRns, 0, () => InstanceRecommendation];
2792
+ var JobFilters = [1, n0, _JFo, 0, () => JobFilter];
2793
+ var LambdaFunctionMemoryProjectedMetrics = [
2794
+ 1,
2795
+ n0,
2796
+ _LFMPMa,
2797
+ 0,
2798
+ () => LambdaFunctionMemoryProjectedMetric,
2799
+ ];
2800
+ var LambdaFunctionMemoryRecommendationOptions = [
2801
+ 1,
2802
+ n0,
2803
+ _LFMROa,
2804
+ 0,
2805
+ () => LambdaFunctionMemoryRecommendationOption,
2806
+ ];
2807
+ var LambdaFunctionRecommendationFilters = [
2808
+ 1,
2809
+ n0,
2810
+ _LFRFa,
2811
+ 0,
2812
+ () => LambdaFunctionRecommendationFilter,
2813
+ ];
2814
+ var LambdaFunctionRecommendations = [1, n0, _LFRa, 0, () => LambdaFunctionRecommendation];
2815
+ var LambdaFunctionUtilizationMetrics = [
2816
+ 1,
2817
+ n0,
2818
+ _LFUMa,
2819
+ 0,
2820
+ () => LambdaFunctionUtilizationMetric,
2821
+ ];
2822
+ var LicenseRecommendationFilters = [1, n0, _LRFi, 0, () => LicenseRecommendationFilter];
2823
+ var LicenseRecommendationOptions = [1, n0, _LROi, 0, () => LicenseRecommendationOption];
2824
+ var LicenseRecommendations = [1, n0, _LRi, 0, () => LicenseRecommendation];
2825
+ var MetricsSource = [1, n0, _MSe, 0, () => MetricSource];
2826
+ var PreferredResources = [1, n0, _PRr, 0, () => PreferredResource];
2827
+ var ProjectedMetrics = [1, n0, _PMr, 0, () => ProjectedMetric];
2828
+ var ProjectedUtilizationMetrics = [1, n0, _PUM, 0, () => UtilizationMetric];
2829
+ var RDSDatabaseProjectedMetrics = [1, n0, _RDSDPMa, 0, () => RDSDatabaseProjectedMetric];
2830
+ var RDSDatabaseRecommendedOptionProjectedMetrics = [
2831
+ 1,
2832
+ n0,
2833
+ _RDSDROPMa,
2834
+ 0,
2835
+ () => RDSDatabaseRecommendedOptionProjectedMetric,
2836
+ ];
2837
+ var RDSDBInstanceRecommendationOptions = [
2838
+ 1,
2839
+ n0,
2840
+ _RDSDBIROn,
2841
+ 0,
2842
+ () => RDSDBInstanceRecommendationOption,
2843
+ ];
2844
+ var RDSDBProjectedUtilizationMetrics = [1, n0, _RDSDBPUM, 0, () => RDSDBUtilizationMetric];
2845
+ var RDSDBRecommendationFilters = [1, n0, _RDSDBRFe, 0, () => RDSDBRecommendationFilter];
2846
+ var RDSDBRecommendations = [1, n0, _RDSDBRe, 0, () => RDSDBRecommendation];
2847
+ var RDSDBStorageRecommendationOptions = [
2848
+ 1,
2849
+ n0,
2850
+ _RDSDBSROt,
2851
+ 0,
2852
+ () => RDSDBStorageRecommendationOption,
2853
+ ];
2854
+ var RDSDBUtilizationMetrics = [1, n0, _RDSDBUMt, 0, () => RDSDBUtilizationMetric];
2855
+ var ReasonCodeSummaries = [1, n0, _RCSe, 0, () => ReasonCodeSummary];
2856
+ var RecommendationExportJobs = [1, n0, _REJe, 0, () => RecommendationExportJob];
2857
+ var RecommendationOptions = [1, n0, _RO, 0, () => InstanceRecommendationOption];
2858
+ var RecommendationPreferencesDetails = [
2859
+ 1,
2860
+ n0,
2861
+ _RPDe,
2862
+ 0,
2863
+ () => RecommendationPreferencesDetail,
2864
+ ];
2865
+ var RecommendationSources = [1, n0, _RSec, 0, () => RecommendationSource];
2866
+ var RecommendationSummaries = [1, n0, _RSeco, 0, () => RecommendationSummary];
2867
+ var RecommendedOptionProjectedMetrics = [
2868
+ 1,
2869
+ n0,
2870
+ _ROPMe,
2871
+ 0,
2872
+ () => RecommendedOptionProjectedMetric,
2873
+ ];
2874
+ var Summaries = [1, n0, _Sum, 0, () => Summary];
2875
+ var Tags = [1, n0, _Ta, 0, () => Tag];
2876
+ var UtilizationMetrics = [1, n0, _UMt, 0, () => UtilizationMetric];
2877
+ var UtilizationPreferences = [1, n0, _UPt, 0, () => UtilizationPreference];
2878
+ var VolumeRecommendationOptions = [1, n0, _VROo, 0, () => VolumeRecommendationOption];
2879
+ var VolumeRecommendations = [1, n0, _VRo, 0, () => VolumeRecommendation];
2880
+ var DeleteRecommendationPreferences = [
2881
+ 9,
2882
+ n0,
2883
+ _DRP,
2884
+ 0,
2885
+ () => DeleteRecommendationPreferencesRequest,
2886
+ () => DeleteRecommendationPreferencesResponse,
2887
+ ];
2888
+ var DescribeRecommendationExportJobs = [
2889
+ 9,
2890
+ n0,
2891
+ _DREJ,
2892
+ 0,
2893
+ () => DescribeRecommendationExportJobsRequest,
2894
+ () => DescribeRecommendationExportJobsResponse,
2895
+ ];
2896
+ var ExportAutoScalingGroupRecommendations = [
2897
+ 9,
2898
+ n0,
2899
+ _EASGR,
2900
+ 0,
2901
+ () => ExportAutoScalingGroupRecommendationsRequest,
2902
+ () => ExportAutoScalingGroupRecommendationsResponse,
2903
+ ];
2904
+ var ExportEBSVolumeRecommendations = [
2905
+ 9,
2906
+ n0,
2907
+ _EEBSVR,
2908
+ 0,
2909
+ () => ExportEBSVolumeRecommendationsRequest,
2910
+ () => ExportEBSVolumeRecommendationsResponse,
2911
+ ];
2912
+ var ExportEC2InstanceRecommendations = [
2913
+ 9,
2914
+ n0,
2915
+ _EECIR,
2916
+ 0,
2917
+ () => ExportEC2InstanceRecommendationsRequest,
2918
+ () => ExportEC2InstanceRecommendationsResponse,
2919
+ ];
2920
+ var ExportECSServiceRecommendations = [
2921
+ 9,
2922
+ n0,
2923
+ _EECSSR,
2924
+ 0,
2925
+ () => ExportECSServiceRecommendationsRequest,
2926
+ () => ExportECSServiceRecommendationsResponse,
2927
+ ];
2928
+ var ExportIdleRecommendations = [
2929
+ 9,
2930
+ n0,
2931
+ _EIR,
2932
+ 0,
2933
+ () => ExportIdleRecommendationsRequest,
2934
+ () => ExportIdleRecommendationsResponse,
2935
+ ];
2936
+ var ExportLambdaFunctionRecommendations = [
2937
+ 9,
2938
+ n0,
2939
+ _ELFR,
2940
+ 0,
2941
+ () => ExportLambdaFunctionRecommendationsRequest,
2942
+ () => ExportLambdaFunctionRecommendationsResponse,
2943
+ ];
2944
+ var ExportLicenseRecommendations = [
2945
+ 9,
2946
+ n0,
2947
+ _ELR,
2948
+ 0,
2949
+ () => ExportLicenseRecommendationsRequest,
2950
+ () => ExportLicenseRecommendationsResponse,
2951
+ ];
2952
+ var ExportRDSDatabaseRecommendations = [
2953
+ 9,
2954
+ n0,
2955
+ _ERDSDR,
2956
+ 0,
2957
+ () => ExportRDSDatabaseRecommendationsRequest,
2958
+ () => ExportRDSDatabaseRecommendationsResponse,
2959
+ ];
2960
+ var GetAutoScalingGroupRecommendations = [
2961
+ 9,
2962
+ n0,
2963
+ _GASGR,
2964
+ 0,
2965
+ () => GetAutoScalingGroupRecommendationsRequest,
2966
+ () => GetAutoScalingGroupRecommendationsResponse,
2967
+ ];
2968
+ var GetEBSVolumeRecommendations = [
2969
+ 9,
2970
+ n0,
2971
+ _GEBSVR,
2972
+ 0,
2973
+ () => GetEBSVolumeRecommendationsRequest,
2974
+ () => GetEBSVolumeRecommendationsResponse,
2975
+ ];
2976
+ var GetEC2InstanceRecommendations = [
2977
+ 9,
2978
+ n0,
2979
+ _GECIR,
2980
+ 0,
2981
+ () => GetEC2InstanceRecommendationsRequest,
2982
+ () => GetEC2InstanceRecommendationsResponse,
2983
+ ];
2984
+ var GetEC2RecommendationProjectedMetrics = [
2985
+ 9,
2986
+ n0,
2987
+ _GECRPM,
2988
+ 0,
2989
+ () => GetEC2RecommendationProjectedMetricsRequest,
2990
+ () => GetEC2RecommendationProjectedMetricsResponse,
2991
+ ];
2992
+ var GetECSServiceRecommendationProjectedMetrics = [
2993
+ 9,
2994
+ n0,
2995
+ _GECSSRPM,
2996
+ 0,
2997
+ () => GetECSServiceRecommendationProjectedMetricsRequest,
2998
+ () => GetECSServiceRecommendationProjectedMetricsResponse,
2999
+ ];
3000
+ var GetECSServiceRecommendations = [
3001
+ 9,
3002
+ n0,
3003
+ _GECSSR,
3004
+ 0,
3005
+ () => GetECSServiceRecommendationsRequest,
3006
+ () => GetECSServiceRecommendationsResponse,
3007
+ ];
3008
+ var GetEffectiveRecommendationPreferences = [
3009
+ 9,
3010
+ n0,
3011
+ _GERP,
3012
+ 0,
3013
+ () => GetEffectiveRecommendationPreferencesRequest,
3014
+ () => GetEffectiveRecommendationPreferencesResponse,
3015
+ ];
3016
+ var GetEnrollmentStatus = [
3017
+ 9,
3018
+ n0,
3019
+ _GES,
3020
+ 0,
3021
+ () => GetEnrollmentStatusRequest,
3022
+ () => GetEnrollmentStatusResponse,
3023
+ ];
3024
+ var GetEnrollmentStatusesForOrganization = [
3025
+ 9,
3026
+ n0,
3027
+ _GESFO,
3028
+ 0,
3029
+ () => GetEnrollmentStatusesForOrganizationRequest,
3030
+ () => GetEnrollmentStatusesForOrganizationResponse,
3031
+ ];
3032
+ var GetIdleRecommendations = [
3033
+ 9,
3034
+ n0,
3035
+ _GIR,
3036
+ 0,
3037
+ () => GetIdleRecommendationsRequest,
3038
+ () => GetIdleRecommendationsResponse,
3039
+ ];
3040
+ var GetLambdaFunctionRecommendations = [
3041
+ 9,
3042
+ n0,
3043
+ _GLFR,
3044
+ 0,
3045
+ () => GetLambdaFunctionRecommendationsRequest,
3046
+ () => GetLambdaFunctionRecommendationsResponse,
3047
+ ];
3048
+ var GetLicenseRecommendations = [
3049
+ 9,
3050
+ n0,
3051
+ _GLR,
3052
+ 0,
3053
+ () => GetLicenseRecommendationsRequest,
3054
+ () => GetLicenseRecommendationsResponse,
3055
+ ];
3056
+ var GetRDSDatabaseRecommendationProjectedMetrics = [
3057
+ 9,
3058
+ n0,
3059
+ _GRDSDRPM,
3060
+ 0,
3061
+ () => GetRDSDatabaseRecommendationProjectedMetricsRequest,
3062
+ () => GetRDSDatabaseRecommendationProjectedMetricsResponse,
3063
+ ];
3064
+ var GetRDSDatabaseRecommendations = [
3065
+ 9,
3066
+ n0,
3067
+ _GRDSDR,
3068
+ 0,
3069
+ () => GetRDSDatabaseRecommendationsRequest,
3070
+ () => GetRDSDatabaseRecommendationsResponse,
3071
+ ];
3072
+ var GetRecommendationPreferences = [
3073
+ 9,
3074
+ n0,
3075
+ _GRP,
3076
+ 0,
3077
+ () => GetRecommendationPreferencesRequest,
3078
+ () => GetRecommendationPreferencesResponse,
3079
+ ];
3080
+ var GetRecommendationSummaries = [
3081
+ 9,
3082
+ n0,
3083
+ _GRS,
3084
+ 0,
3085
+ () => GetRecommendationSummariesRequest,
3086
+ () => GetRecommendationSummariesResponse,
3087
+ ];
3088
+ var PutRecommendationPreferences = [
3089
+ 9,
3090
+ n0,
3091
+ _PRP,
3092
+ 0,
3093
+ () => PutRecommendationPreferencesRequest,
3094
+ () => PutRecommendationPreferencesResponse,
3095
+ ];
3096
+ var UpdateEnrollmentStatus = [
3097
+ 9,
3098
+ n0,
3099
+ _UES,
3100
+ 0,
3101
+ () => UpdateEnrollmentStatusRequest,
3102
+ () => UpdateEnrollmentStatusResponse,
3103
+ ];
2736
3104
 
2737
3105
  class DeleteRecommendationPreferencesCommand extends smithyClient.Command
2738
3106
  .classBuilder()
2739
3107
  .ep(commonParams)
2740
3108
  .m(function (Command, cs, config, o) {
2741
- return [
2742
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2743
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2744
- ];
3109
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2745
3110
  })
2746
3111
  .s("ComputeOptimizerService", "DeleteRecommendationPreferences", {})
2747
3112
  .n("ComputeOptimizerClient", "DeleteRecommendationPreferencesCommand")
2748
- .f(void 0, void 0)
2749
- .ser(se_DeleteRecommendationPreferencesCommand)
2750
- .de(de_DeleteRecommendationPreferencesCommand)
3113
+ .sc(DeleteRecommendationPreferences)
2751
3114
  .build() {
2752
3115
  }
2753
3116
 
@@ -2755,16 +3118,11 @@ class DescribeRecommendationExportJobsCommand extends smithyClient.Command
2755
3118
  .classBuilder()
2756
3119
  .ep(commonParams)
2757
3120
  .m(function (Command, cs, config, o) {
2758
- return [
2759
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2760
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2761
- ];
3121
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2762
3122
  })
2763
3123
  .s("ComputeOptimizerService", "DescribeRecommendationExportJobs", {})
2764
3124
  .n("ComputeOptimizerClient", "DescribeRecommendationExportJobsCommand")
2765
- .f(void 0, void 0)
2766
- .ser(se_DescribeRecommendationExportJobsCommand)
2767
- .de(de_DescribeRecommendationExportJobsCommand)
3125
+ .sc(DescribeRecommendationExportJobs)
2768
3126
  .build() {
2769
3127
  }
2770
3128
 
@@ -2772,16 +3130,11 @@ class ExportAutoScalingGroupRecommendationsCommand extends smithyClient.Command
2772
3130
  .classBuilder()
2773
3131
  .ep(commonParams)
2774
3132
  .m(function (Command, cs, config, o) {
2775
- return [
2776
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2777
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2778
- ];
3133
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2779
3134
  })
2780
3135
  .s("ComputeOptimizerService", "ExportAutoScalingGroupRecommendations", {})
2781
3136
  .n("ComputeOptimizerClient", "ExportAutoScalingGroupRecommendationsCommand")
2782
- .f(void 0, void 0)
2783
- .ser(se_ExportAutoScalingGroupRecommendationsCommand)
2784
- .de(de_ExportAutoScalingGroupRecommendationsCommand)
3137
+ .sc(ExportAutoScalingGroupRecommendations)
2785
3138
  .build() {
2786
3139
  }
2787
3140
 
@@ -2789,16 +3142,11 @@ class ExportEBSVolumeRecommendationsCommand extends smithyClient.Command
2789
3142
  .classBuilder()
2790
3143
  .ep(commonParams)
2791
3144
  .m(function (Command, cs, config, o) {
2792
- return [
2793
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2794
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2795
- ];
3145
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2796
3146
  })
2797
3147
  .s("ComputeOptimizerService", "ExportEBSVolumeRecommendations", {})
2798
3148
  .n("ComputeOptimizerClient", "ExportEBSVolumeRecommendationsCommand")
2799
- .f(void 0, void 0)
2800
- .ser(se_ExportEBSVolumeRecommendationsCommand)
2801
- .de(de_ExportEBSVolumeRecommendationsCommand)
3149
+ .sc(ExportEBSVolumeRecommendations)
2802
3150
  .build() {
2803
3151
  }
2804
3152
 
@@ -2806,16 +3154,11 @@ class ExportEC2InstanceRecommendationsCommand extends smithyClient.Command
2806
3154
  .classBuilder()
2807
3155
  .ep(commonParams)
2808
3156
  .m(function (Command, cs, config, o) {
2809
- return [
2810
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2811
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2812
- ];
3157
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2813
3158
  })
2814
3159
  .s("ComputeOptimizerService", "ExportEC2InstanceRecommendations", {})
2815
3160
  .n("ComputeOptimizerClient", "ExportEC2InstanceRecommendationsCommand")
2816
- .f(void 0, void 0)
2817
- .ser(se_ExportEC2InstanceRecommendationsCommand)
2818
- .de(de_ExportEC2InstanceRecommendationsCommand)
3161
+ .sc(ExportEC2InstanceRecommendations)
2819
3162
  .build() {
2820
3163
  }
2821
3164
 
@@ -2823,16 +3166,11 @@ class ExportECSServiceRecommendationsCommand extends smithyClient.Command
2823
3166
  .classBuilder()
2824
3167
  .ep(commonParams)
2825
3168
  .m(function (Command, cs, config, o) {
2826
- return [
2827
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2828
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2829
- ];
3169
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2830
3170
  })
2831
3171
  .s("ComputeOptimizerService", "ExportECSServiceRecommendations", {})
2832
3172
  .n("ComputeOptimizerClient", "ExportECSServiceRecommendationsCommand")
2833
- .f(void 0, void 0)
2834
- .ser(se_ExportECSServiceRecommendationsCommand)
2835
- .de(de_ExportECSServiceRecommendationsCommand)
3173
+ .sc(ExportECSServiceRecommendations)
2836
3174
  .build() {
2837
3175
  }
2838
3176
 
@@ -2840,16 +3178,11 @@ class ExportIdleRecommendationsCommand extends smithyClient.Command
2840
3178
  .classBuilder()
2841
3179
  .ep(commonParams)
2842
3180
  .m(function (Command, cs, config, o) {
2843
- return [
2844
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2845
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2846
- ];
3181
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2847
3182
  })
2848
3183
  .s("ComputeOptimizerService", "ExportIdleRecommendations", {})
2849
3184
  .n("ComputeOptimizerClient", "ExportIdleRecommendationsCommand")
2850
- .f(void 0, void 0)
2851
- .ser(se_ExportIdleRecommendationsCommand)
2852
- .de(de_ExportIdleRecommendationsCommand)
3185
+ .sc(ExportIdleRecommendations)
2853
3186
  .build() {
2854
3187
  }
2855
3188
 
@@ -2857,16 +3190,11 @@ class ExportLambdaFunctionRecommendationsCommand extends smithyClient.Command
2857
3190
  .classBuilder()
2858
3191
  .ep(commonParams)
2859
3192
  .m(function (Command, cs, config, o) {
2860
- return [
2861
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2862
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2863
- ];
3193
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2864
3194
  })
2865
3195
  .s("ComputeOptimizerService", "ExportLambdaFunctionRecommendations", {})
2866
3196
  .n("ComputeOptimizerClient", "ExportLambdaFunctionRecommendationsCommand")
2867
- .f(void 0, void 0)
2868
- .ser(se_ExportLambdaFunctionRecommendationsCommand)
2869
- .de(de_ExportLambdaFunctionRecommendationsCommand)
3197
+ .sc(ExportLambdaFunctionRecommendations)
2870
3198
  .build() {
2871
3199
  }
2872
3200
 
@@ -2874,16 +3202,11 @@ class ExportLicenseRecommendationsCommand extends smithyClient.Command
2874
3202
  .classBuilder()
2875
3203
  .ep(commonParams)
2876
3204
  .m(function (Command, cs, config, o) {
2877
- return [
2878
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2879
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2880
- ];
3205
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2881
3206
  })
2882
3207
  .s("ComputeOptimizerService", "ExportLicenseRecommendations", {})
2883
3208
  .n("ComputeOptimizerClient", "ExportLicenseRecommendationsCommand")
2884
- .f(void 0, void 0)
2885
- .ser(se_ExportLicenseRecommendationsCommand)
2886
- .de(de_ExportLicenseRecommendationsCommand)
3209
+ .sc(ExportLicenseRecommendations)
2887
3210
  .build() {
2888
3211
  }
2889
3212
 
@@ -2891,16 +3214,11 @@ class ExportRDSDatabaseRecommendationsCommand extends smithyClient.Command
2891
3214
  .classBuilder()
2892
3215
  .ep(commonParams)
2893
3216
  .m(function (Command, cs, config, o) {
2894
- return [
2895
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2896
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2897
- ];
3217
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2898
3218
  })
2899
3219
  .s("ComputeOptimizerService", "ExportRDSDatabaseRecommendations", {})
2900
3220
  .n("ComputeOptimizerClient", "ExportRDSDatabaseRecommendationsCommand")
2901
- .f(void 0, void 0)
2902
- .ser(se_ExportRDSDatabaseRecommendationsCommand)
2903
- .de(de_ExportRDSDatabaseRecommendationsCommand)
3221
+ .sc(ExportRDSDatabaseRecommendations)
2904
3222
  .build() {
2905
3223
  }
2906
3224
 
@@ -2908,16 +3226,11 @@ class GetAutoScalingGroupRecommendationsCommand extends smithyClient.Command
2908
3226
  .classBuilder()
2909
3227
  .ep(commonParams)
2910
3228
  .m(function (Command, cs, config, o) {
2911
- return [
2912
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2913
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2914
- ];
3229
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2915
3230
  })
2916
3231
  .s("ComputeOptimizerService", "GetAutoScalingGroupRecommendations", {})
2917
3232
  .n("ComputeOptimizerClient", "GetAutoScalingGroupRecommendationsCommand")
2918
- .f(void 0, void 0)
2919
- .ser(se_GetAutoScalingGroupRecommendationsCommand)
2920
- .de(de_GetAutoScalingGroupRecommendationsCommand)
3233
+ .sc(GetAutoScalingGroupRecommendations)
2921
3234
  .build() {
2922
3235
  }
2923
3236
 
@@ -2925,16 +3238,11 @@ class GetEBSVolumeRecommendationsCommand extends smithyClient.Command
2925
3238
  .classBuilder()
2926
3239
  .ep(commonParams)
2927
3240
  .m(function (Command, cs, config, o) {
2928
- return [
2929
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2930
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2931
- ];
3241
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2932
3242
  })
2933
3243
  .s("ComputeOptimizerService", "GetEBSVolumeRecommendations", {})
2934
3244
  .n("ComputeOptimizerClient", "GetEBSVolumeRecommendationsCommand")
2935
- .f(void 0, void 0)
2936
- .ser(se_GetEBSVolumeRecommendationsCommand)
2937
- .de(de_GetEBSVolumeRecommendationsCommand)
3245
+ .sc(GetEBSVolumeRecommendations)
2938
3246
  .build() {
2939
3247
  }
2940
3248
 
@@ -2942,16 +3250,11 @@ class GetEC2InstanceRecommendationsCommand extends smithyClient.Command
2942
3250
  .classBuilder()
2943
3251
  .ep(commonParams)
2944
3252
  .m(function (Command, cs, config, o) {
2945
- return [
2946
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2947
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2948
- ];
3253
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2949
3254
  })
2950
3255
  .s("ComputeOptimizerService", "GetEC2InstanceRecommendations", {})
2951
3256
  .n("ComputeOptimizerClient", "GetEC2InstanceRecommendationsCommand")
2952
- .f(void 0, void 0)
2953
- .ser(se_GetEC2InstanceRecommendationsCommand)
2954
- .de(de_GetEC2InstanceRecommendationsCommand)
3257
+ .sc(GetEC2InstanceRecommendations)
2955
3258
  .build() {
2956
3259
  }
2957
3260
 
@@ -2959,16 +3262,11 @@ class GetEC2RecommendationProjectedMetricsCommand extends smithyClient.Command
2959
3262
  .classBuilder()
2960
3263
  .ep(commonParams)
2961
3264
  .m(function (Command, cs, config, o) {
2962
- return [
2963
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2964
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2965
- ];
3265
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2966
3266
  })
2967
3267
  .s("ComputeOptimizerService", "GetEC2RecommendationProjectedMetrics", {})
2968
3268
  .n("ComputeOptimizerClient", "GetEC2RecommendationProjectedMetricsCommand")
2969
- .f(void 0, void 0)
2970
- .ser(se_GetEC2RecommendationProjectedMetricsCommand)
2971
- .de(de_GetEC2RecommendationProjectedMetricsCommand)
3269
+ .sc(GetEC2RecommendationProjectedMetrics)
2972
3270
  .build() {
2973
3271
  }
2974
3272
 
@@ -2976,16 +3274,11 @@ class GetECSServiceRecommendationProjectedMetricsCommand extends smithyClient.Co
2976
3274
  .classBuilder()
2977
3275
  .ep(commonParams)
2978
3276
  .m(function (Command, cs, config, o) {
2979
- return [
2980
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2981
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2982
- ];
3277
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2983
3278
  })
2984
3279
  .s("ComputeOptimizerService", "GetECSServiceRecommendationProjectedMetrics", {})
2985
3280
  .n("ComputeOptimizerClient", "GetECSServiceRecommendationProjectedMetricsCommand")
2986
- .f(void 0, void 0)
2987
- .ser(se_GetECSServiceRecommendationProjectedMetricsCommand)
2988
- .de(de_GetECSServiceRecommendationProjectedMetricsCommand)
3281
+ .sc(GetECSServiceRecommendationProjectedMetrics)
2989
3282
  .build() {
2990
3283
  }
2991
3284
 
@@ -2993,16 +3286,11 @@ class GetECSServiceRecommendationsCommand extends smithyClient.Command
2993
3286
  .classBuilder()
2994
3287
  .ep(commonParams)
2995
3288
  .m(function (Command, cs, config, o) {
2996
- return [
2997
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2998
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2999
- ];
3289
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3000
3290
  })
3001
3291
  .s("ComputeOptimizerService", "GetECSServiceRecommendations", {})
3002
3292
  .n("ComputeOptimizerClient", "GetECSServiceRecommendationsCommand")
3003
- .f(void 0, void 0)
3004
- .ser(se_GetECSServiceRecommendationsCommand)
3005
- .de(de_GetECSServiceRecommendationsCommand)
3293
+ .sc(GetECSServiceRecommendations)
3006
3294
  .build() {
3007
3295
  }
3008
3296
 
@@ -3010,16 +3298,11 @@ class GetEffectiveRecommendationPreferencesCommand extends smithyClient.Command
3010
3298
  .classBuilder()
3011
3299
  .ep(commonParams)
3012
3300
  .m(function (Command, cs, config, o) {
3013
- return [
3014
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3015
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3016
- ];
3301
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3017
3302
  })
3018
3303
  .s("ComputeOptimizerService", "GetEffectiveRecommendationPreferences", {})
3019
3304
  .n("ComputeOptimizerClient", "GetEffectiveRecommendationPreferencesCommand")
3020
- .f(void 0, void 0)
3021
- .ser(se_GetEffectiveRecommendationPreferencesCommand)
3022
- .de(de_GetEffectiveRecommendationPreferencesCommand)
3305
+ .sc(GetEffectiveRecommendationPreferences)
3023
3306
  .build() {
3024
3307
  }
3025
3308
 
@@ -3027,16 +3310,11 @@ class GetEnrollmentStatusCommand extends smithyClient.Command
3027
3310
  .classBuilder()
3028
3311
  .ep(commonParams)
3029
3312
  .m(function (Command, cs, config, o) {
3030
- return [
3031
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3032
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3033
- ];
3313
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3034
3314
  })
3035
3315
  .s("ComputeOptimizerService", "GetEnrollmentStatus", {})
3036
3316
  .n("ComputeOptimizerClient", "GetEnrollmentStatusCommand")
3037
- .f(void 0, void 0)
3038
- .ser(se_GetEnrollmentStatusCommand)
3039
- .de(de_GetEnrollmentStatusCommand)
3317
+ .sc(GetEnrollmentStatus)
3040
3318
  .build() {
3041
3319
  }
3042
3320
 
@@ -3044,16 +3322,11 @@ class GetEnrollmentStatusesForOrganizationCommand extends smithyClient.Command
3044
3322
  .classBuilder()
3045
3323
  .ep(commonParams)
3046
3324
  .m(function (Command, cs, config, o) {
3047
- return [
3048
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3049
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3050
- ];
3325
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3051
3326
  })
3052
3327
  .s("ComputeOptimizerService", "GetEnrollmentStatusesForOrganization", {})
3053
3328
  .n("ComputeOptimizerClient", "GetEnrollmentStatusesForOrganizationCommand")
3054
- .f(void 0, void 0)
3055
- .ser(se_GetEnrollmentStatusesForOrganizationCommand)
3056
- .de(de_GetEnrollmentStatusesForOrganizationCommand)
3329
+ .sc(GetEnrollmentStatusesForOrganization)
3057
3330
  .build() {
3058
3331
  }
3059
3332
 
@@ -3061,16 +3334,11 @@ class GetIdleRecommendationsCommand extends smithyClient.Command
3061
3334
  .classBuilder()
3062
3335
  .ep(commonParams)
3063
3336
  .m(function (Command, cs, config, o) {
3064
- return [
3065
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3066
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3067
- ];
3337
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3068
3338
  })
3069
3339
  .s("ComputeOptimizerService", "GetIdleRecommendations", {})
3070
3340
  .n("ComputeOptimizerClient", "GetIdleRecommendationsCommand")
3071
- .f(void 0, void 0)
3072
- .ser(se_GetIdleRecommendationsCommand)
3073
- .de(de_GetIdleRecommendationsCommand)
3341
+ .sc(GetIdleRecommendations)
3074
3342
  .build() {
3075
3343
  }
3076
3344
 
@@ -3078,16 +3346,11 @@ class GetLambdaFunctionRecommendationsCommand extends smithyClient.Command
3078
3346
  .classBuilder()
3079
3347
  .ep(commonParams)
3080
3348
  .m(function (Command, cs, config, o) {
3081
- return [
3082
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3083
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3084
- ];
3349
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3085
3350
  })
3086
3351
  .s("ComputeOptimizerService", "GetLambdaFunctionRecommendations", {})
3087
3352
  .n("ComputeOptimizerClient", "GetLambdaFunctionRecommendationsCommand")
3088
- .f(void 0, void 0)
3089
- .ser(se_GetLambdaFunctionRecommendationsCommand)
3090
- .de(de_GetLambdaFunctionRecommendationsCommand)
3353
+ .sc(GetLambdaFunctionRecommendations)
3091
3354
  .build() {
3092
3355
  }
3093
3356
 
@@ -3095,16 +3358,11 @@ class GetLicenseRecommendationsCommand extends smithyClient.Command
3095
3358
  .classBuilder()
3096
3359
  .ep(commonParams)
3097
3360
  .m(function (Command, cs, config, o) {
3098
- return [
3099
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3100
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3101
- ];
3361
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3102
3362
  })
3103
3363
  .s("ComputeOptimizerService", "GetLicenseRecommendations", {})
3104
3364
  .n("ComputeOptimizerClient", "GetLicenseRecommendationsCommand")
3105
- .f(void 0, void 0)
3106
- .ser(se_GetLicenseRecommendationsCommand)
3107
- .de(de_GetLicenseRecommendationsCommand)
3365
+ .sc(GetLicenseRecommendations)
3108
3366
  .build() {
3109
3367
  }
3110
3368
 
@@ -3112,16 +3370,11 @@ class GetRDSDatabaseRecommendationProjectedMetricsCommand extends smithyClient.C
3112
3370
  .classBuilder()
3113
3371
  .ep(commonParams)
3114
3372
  .m(function (Command, cs, config, o) {
3115
- return [
3116
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3117
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3118
- ];
3373
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3119
3374
  })
3120
3375
  .s("ComputeOptimizerService", "GetRDSDatabaseRecommendationProjectedMetrics", {})
3121
3376
  .n("ComputeOptimizerClient", "GetRDSDatabaseRecommendationProjectedMetricsCommand")
3122
- .f(void 0, void 0)
3123
- .ser(se_GetRDSDatabaseRecommendationProjectedMetricsCommand)
3124
- .de(de_GetRDSDatabaseRecommendationProjectedMetricsCommand)
3377
+ .sc(GetRDSDatabaseRecommendationProjectedMetrics)
3125
3378
  .build() {
3126
3379
  }
3127
3380
 
@@ -3129,16 +3382,11 @@ class GetRDSDatabaseRecommendationsCommand extends smithyClient.Command
3129
3382
  .classBuilder()
3130
3383
  .ep(commonParams)
3131
3384
  .m(function (Command, cs, config, o) {
3132
- return [
3133
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3134
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3135
- ];
3385
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3136
3386
  })
3137
3387
  .s("ComputeOptimizerService", "GetRDSDatabaseRecommendations", {})
3138
3388
  .n("ComputeOptimizerClient", "GetRDSDatabaseRecommendationsCommand")
3139
- .f(void 0, void 0)
3140
- .ser(se_GetRDSDatabaseRecommendationsCommand)
3141
- .de(de_GetRDSDatabaseRecommendationsCommand)
3389
+ .sc(GetRDSDatabaseRecommendations)
3142
3390
  .build() {
3143
3391
  }
3144
3392
 
@@ -3146,16 +3394,11 @@ class GetRecommendationPreferencesCommand extends smithyClient.Command
3146
3394
  .classBuilder()
3147
3395
  .ep(commonParams)
3148
3396
  .m(function (Command, cs, config, o) {
3149
- return [
3150
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3151
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3152
- ];
3397
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3153
3398
  })
3154
3399
  .s("ComputeOptimizerService", "GetRecommendationPreferences", {})
3155
3400
  .n("ComputeOptimizerClient", "GetRecommendationPreferencesCommand")
3156
- .f(void 0, void 0)
3157
- .ser(se_GetRecommendationPreferencesCommand)
3158
- .de(de_GetRecommendationPreferencesCommand)
3401
+ .sc(GetRecommendationPreferences)
3159
3402
  .build() {
3160
3403
  }
3161
3404
 
@@ -3163,16 +3406,11 @@ class GetRecommendationSummariesCommand extends smithyClient.Command
3163
3406
  .classBuilder()
3164
3407
  .ep(commonParams)
3165
3408
  .m(function (Command, cs, config, o) {
3166
- return [
3167
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3168
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3169
- ];
3409
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3170
3410
  })
3171
3411
  .s("ComputeOptimizerService", "GetRecommendationSummaries", {})
3172
3412
  .n("ComputeOptimizerClient", "GetRecommendationSummariesCommand")
3173
- .f(void 0, void 0)
3174
- .ser(se_GetRecommendationSummariesCommand)
3175
- .de(de_GetRecommendationSummariesCommand)
3413
+ .sc(GetRecommendationSummaries)
3176
3414
  .build() {
3177
3415
  }
3178
3416
 
@@ -3180,16 +3418,11 @@ class PutRecommendationPreferencesCommand extends smithyClient.Command
3180
3418
  .classBuilder()
3181
3419
  .ep(commonParams)
3182
3420
  .m(function (Command, cs, config, o) {
3183
- return [
3184
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3185
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3186
- ];
3421
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3187
3422
  })
3188
3423
  .s("ComputeOptimizerService", "PutRecommendationPreferences", {})
3189
3424
  .n("ComputeOptimizerClient", "PutRecommendationPreferencesCommand")
3190
- .f(void 0, void 0)
3191
- .ser(se_PutRecommendationPreferencesCommand)
3192
- .de(de_PutRecommendationPreferencesCommand)
3425
+ .sc(PutRecommendationPreferences)
3193
3426
  .build() {
3194
3427
  }
3195
3428
 
@@ -3197,16 +3430,11 @@ class UpdateEnrollmentStatusCommand extends smithyClient.Command
3197
3430
  .classBuilder()
3198
3431
  .ep(commonParams)
3199
3432
  .m(function (Command, cs, config, o) {
3200
- return [
3201
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
3202
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
3203
- ];
3433
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
3204
3434
  })
3205
3435
  .s("ComputeOptimizerService", "UpdateEnrollmentStatus", {})
3206
3436
  .n("ComputeOptimizerClient", "UpdateEnrollmentStatusCommand")
3207
- .f(void 0, void 0)
3208
- .ser(se_UpdateEnrollmentStatusCommand)
3209
- .de(de_UpdateEnrollmentStatusCommand)
3437
+ .sc(UpdateEnrollmentStatus)
3210
3438
  .build() {
3211
3439
  }
3212
3440
 
@@ -3262,13 +3490,13 @@ Object.defineProperty(exports, "__Client", {
3262
3490
  enumerable: true,
3263
3491
  get: function () { return smithyClient.Client; }
3264
3492
  });
3265
- exports.AccessDeniedException = AccessDeniedException;
3493
+ exports.AccessDeniedException = AccessDeniedException$1;
3266
3494
  exports.AllocationStrategy = AllocationStrategy;
3267
3495
  exports.AsgType = AsgType;
3268
3496
  exports.AutoScalingConfiguration = AutoScalingConfiguration;
3269
3497
  exports.ComputeOptimizer = ComputeOptimizer;
3270
3498
  exports.ComputeOptimizerClient = ComputeOptimizerClient;
3271
- exports.ComputeOptimizerServiceException = ComputeOptimizerServiceException;
3499
+ exports.ComputeOptimizerServiceException = ComputeOptimizerServiceException$1;
3272
3500
  exports.CpuVendorArchitecture = CpuVendorArchitecture;
3273
3501
  exports.Currency = Currency;
3274
3502
  exports.CurrentPerformanceRisk = CurrentPerformanceRisk;
@@ -3340,8 +3568,8 @@ exports.InstanceIdle = InstanceIdle;
3340
3568
  exports.InstanceRecommendationFindingReasonCode = InstanceRecommendationFindingReasonCode;
3341
3569
  exports.InstanceSavingsEstimationModeSource = InstanceSavingsEstimationModeSource;
3342
3570
  exports.InstanceState = InstanceState;
3343
- exports.InternalServerException = InternalServerException;
3344
- exports.InvalidParameterValueException = InvalidParameterValueException;
3571
+ exports.InternalServerException = InternalServerException$1;
3572
+ exports.InvalidParameterValueException = InvalidParameterValueException$1;
3345
3573
  exports.JobFilterName = JobFilterName;
3346
3574
  exports.JobStatus = JobStatus;
3347
3575
  exports.LambdaFunctionMemoryMetricName = LambdaFunctionMemoryMetricName;
@@ -3358,14 +3586,14 @@ exports.LicenseFindingReasonCode = LicenseFindingReasonCode;
3358
3586
  exports.LicenseModel = LicenseModel;
3359
3587
  exports.LicenseName = LicenseName;
3360
3588
  exports.LicenseRecommendationFilterName = LicenseRecommendationFilterName;
3361
- exports.LimitExceededException = LimitExceededException;
3589
+ exports.LimitExceededException = LimitExceededException$1;
3362
3590
  exports.LookBackPeriodPreference = LookBackPeriodPreference;
3363
3591
  exports.MetricName = MetricName;
3364
3592
  exports.MetricSourceProvider = MetricSourceProvider;
3365
3593
  exports.MetricStatistic = MetricStatistic;
3366
3594
  exports.MigrationEffort = MigrationEffort;
3367
- exports.MissingAuthenticationToken = MissingAuthenticationToken;
3368
- exports.OptInRequiredException = OptInRequiredException;
3595
+ exports.MissingAuthenticationToken = MissingAuthenticationToken$1;
3596
+ exports.OptInRequiredException = OptInRequiredException$1;
3369
3597
  exports.Order = Order;
3370
3598
  exports.PlatformDifference = PlatformDifference;
3371
3599
  exports.PreferredResourceName = PreferredResourceName;
@@ -3382,13 +3610,13 @@ exports.RDSStorageFinding = RDSStorageFinding;
3382
3610
  exports.RDSStorageFindingReasonCode = RDSStorageFindingReasonCode;
3383
3611
  exports.RecommendationPreferenceName = RecommendationPreferenceName;
3384
3612
  exports.RecommendationSourceType = RecommendationSourceType;
3385
- exports.ResourceNotFoundException = ResourceNotFoundException;
3613
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
3386
3614
  exports.ResourceType = ResourceType;
3387
3615
  exports.SavingsEstimationMode = SavingsEstimationMode;
3388
3616
  exports.ScopeName = ScopeName;
3389
- exports.ServiceUnavailableException = ServiceUnavailableException;
3617
+ exports.ServiceUnavailableException = ServiceUnavailableException$1;
3390
3618
  exports.Status = Status;
3391
- exports.ThrottlingException = ThrottlingException;
3619
+ exports.ThrottlingException = ThrottlingException$1;
3392
3620
  exports.UpdateEnrollmentStatusCommand = UpdateEnrollmentStatusCommand;
3393
3621
  exports.paginateDescribeRecommendationExportJobs = paginateDescribeRecommendationExportJobs;
3394
3622
  exports.paginateGetEnrollmentStatusesForOrganization = paginateGetEnrollmentStatusesForOrganization;