@aws-sdk/client-compute-optimizer 3.46.0 → 3.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,44 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-compute-optimizer
20
+
21
+
22
+
23
+
24
+
25
+ ## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-compute-optimizer
28
+
29
+
30
+
31
+
32
+
33
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
34
+
35
+
36
+ ### Features
37
+
38
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
39
+
40
+
41
+
42
+
43
+
6
44
  # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
45
 
8
46
 
@@ -1,14 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EBSFilter = exports.EBSFilterName = exports.ExportableVolumeField = exports.LimitExceededException = exports.ExportAutoScalingGroupRecommendationsResponse = exports.ExportAutoScalingGroupRecommendationsRequest = exports.S3DestinationConfig = exports.RecommendationPreferences = exports.Filter = exports.FilterName = exports.FileFormat = exports.ExportableAutoScalingGroupField = exports.DescribeRecommendationExportJobsResponse = exports.RecommendationExportJob = exports.JobStatus = exports.ExportDestination = exports.S3Destination = exports.DescribeRecommendationExportJobsRequest = exports.JobFilter = exports.JobFilterName = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.OptInRequiredException = exports.MissingAuthenticationToken = exports.InvalidParameterValueException = exports.InternalServerException = exports.DeleteRecommendationPreferencesResponse = exports.DeleteRecommendationPreferencesRequest = exports.Scope = exports.ScopeName = exports.ResourceType = exports.RecommendationPreferenceName = exports.AutoScalingGroupRecommendation = exports.AutoScalingGroupRecommendationOption = exports.SavingsOpportunity = exports.EstimatedMonthlySavings = exports.Currency = exports.UtilizationMetric = exports.MetricStatistic = exports.MetricName = exports.Finding = exports.EffectiveRecommendationPreferences = exports.EnhancedInfrastructureMetrics = exports.CpuVendorArchitecture = exports.CurrentPerformanceRisk = exports.AutoScalingGroupConfiguration = exports.AccountEnrollmentStatus = exports.Status = exports.AccessDeniedException = void 0;
4
- exports.LambdaFunctionMetricStatistic = exports.LambdaFunctionMetricName = exports.LambdaFunctionMemoryRecommendationOption = exports.LambdaFunctionMemoryProjectedMetric = exports.LambdaFunctionMemoryMetricStatistic = exports.LambdaFunctionMemoryMetricName = exports.LambdaFunctionRecommendationFindingReasonCode = exports.LambdaFunctionRecommendationFinding = exports.GetLambdaFunctionRecommendationsRequest = exports.GetEnrollmentStatusesForOrganizationResponse = exports.GetEnrollmentStatusesForOrganizationRequest = exports.EnrollmentFilter = exports.EnrollmentFilterName = exports.GetEnrollmentStatusResponse = exports.GetEnrollmentStatusRequest = exports.GetEffectiveRecommendationPreferencesResponse = exports.GetEffectiveRecommendationPreferencesRequest = exports.GetEC2RecommendationProjectedMetricsResponse = exports.RecommendedOptionProjectedMetric = exports.ProjectedMetric = exports.GetEC2RecommendationProjectedMetricsRequest = exports.GetEC2InstanceRecommendationsResponse = exports.InstanceRecommendation = exports.RecommendationSource = exports.RecommendationSourceType = exports.InstanceRecommendationOption = exports.PlatformDifference = exports.InstanceRecommendationFindingReasonCode = exports.GetEC2InstanceRecommendationsRequest = exports.GetEBSVolumeRecommendationsResponse = exports.VolumeRecommendation = exports.VolumeRecommendationOption = exports.EBSUtilizationMetric = exports.EBSMetricName = exports.EBSFinding = exports.VolumeConfiguration = exports.GetEBSVolumeRecommendationsRequest = exports.GetAutoScalingGroupRecommendationsResponse = exports.GetRecommendationError = exports.GetAutoScalingGroupRecommendationsRequest = exports.ExportLambdaFunctionRecommendationsResponse = exports.ExportLambdaFunctionRecommendationsRequest = exports.LambdaFunctionRecommendationFilter = exports.LambdaFunctionRecommendationFilterName = exports.ExportableLambdaFunctionField = exports.ExportEC2InstanceRecommendationsResponse = exports.ExportEC2InstanceRecommendationsRequest = exports.ExportableInstanceField = exports.ExportEBSVolumeRecommendationsResponse = exports.ExportEBSVolumeRecommendationsRequest = void 0;
5
- exports.UpdateEnrollmentStatusResponse = exports.UpdateEnrollmentStatusRequest = exports.PutRecommendationPreferencesResponse = exports.PutRecommendationPreferencesRequest = exports.GetRecommendationSummariesResponse = exports.RecommendationSummary = exports.Summary = exports.ReasonCodeSummary = exports.FindingReasonCode = exports.CurrentPerformanceRiskRatings = exports.GetRecommendationSummariesRequest = exports.GetRecommendationPreferencesResponse = exports.RecommendationPreferencesDetail = exports.GetRecommendationPreferencesRequest = exports.GetLambdaFunctionRecommendationsResponse = exports.LambdaFunctionRecommendation = exports.LambdaFunctionUtilizationMetric = void 0;
6
- var AccessDeniedException;
7
- (function (AccessDeniedException) {
8
- AccessDeniedException.filterSensitiveLog = (obj) => ({
9
- ...obj,
10
- });
11
- })(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
3
+ exports.ExportableLambdaFunctionField = exports.ExportEC2InstanceRecommendationsResponse = exports.ExportEC2InstanceRecommendationsRequest = exports.ExportableInstanceField = exports.ExportEBSVolumeRecommendationsResponse = exports.ExportEBSVolumeRecommendationsRequest = exports.EBSFilter = exports.EBSFilterName = exports.ExportableVolumeField = exports.ExportAutoScalingGroupRecommendationsResponse = exports.ExportAutoScalingGroupRecommendationsRequest = exports.S3DestinationConfig = exports.RecommendationPreferences = exports.Filter = exports.FilterName = exports.FileFormat = exports.ExportableAutoScalingGroupField = exports.DescribeRecommendationExportJobsResponse = exports.RecommendationExportJob = exports.JobStatus = exports.ExportDestination = exports.S3Destination = exports.DescribeRecommendationExportJobsRequest = exports.JobFilter = exports.JobFilterName = exports.DeleteRecommendationPreferencesResponse = exports.DeleteRecommendationPreferencesRequest = exports.Scope = exports.ScopeName = exports.ResourceType = exports.RecommendationPreferenceName = exports.AutoScalingGroupRecommendation = exports.AutoScalingGroupRecommendationOption = exports.SavingsOpportunity = exports.EstimatedMonthlySavings = exports.Currency = exports.UtilizationMetric = exports.MetricStatistic = exports.MetricName = exports.MigrationEffort = exports.InferredWorkloadType = exports.Finding = exports.EffectiveRecommendationPreferences = exports.InferredWorkloadTypesPreference = exports.EnhancedInfrastructureMetrics = exports.CpuVendorArchitecture = exports.CurrentPerformanceRisk = exports.AutoScalingGroupConfiguration = exports.AccountEnrollmentStatus = exports.Status = void 0;
4
+ exports.GetRecommendationPreferencesResponse = exports.RecommendationPreferencesDetail = exports.GetRecommendationPreferencesRequest = exports.GetLambdaFunctionRecommendationsResponse = exports.LambdaFunctionRecommendation = exports.LambdaFunctionUtilizationMetric = exports.LambdaFunctionMetricStatistic = exports.LambdaFunctionMetricName = exports.LambdaFunctionMemoryRecommendationOption = exports.LambdaFunctionMemoryProjectedMetric = exports.LambdaFunctionMemoryMetricStatistic = exports.LambdaFunctionMemoryMetricName = exports.LambdaFunctionRecommendationFindingReasonCode = exports.LambdaFunctionRecommendationFinding = exports.GetLambdaFunctionRecommendationsRequest = exports.GetEnrollmentStatusesForOrganizationResponse = exports.GetEnrollmentStatusesForOrganizationRequest = exports.EnrollmentFilter = exports.EnrollmentFilterName = exports.GetEnrollmentStatusResponse = exports.GetEnrollmentStatusRequest = exports.GetEffectiveRecommendationPreferencesResponse = exports.GetEffectiveRecommendationPreferencesRequest = exports.GetEC2RecommendationProjectedMetricsResponse = exports.RecommendedOptionProjectedMetric = exports.ProjectedMetric = exports.GetEC2RecommendationProjectedMetricsRequest = exports.GetEC2InstanceRecommendationsResponse = exports.InstanceRecommendation = exports.RecommendationSource = exports.RecommendationSourceType = exports.InstanceRecommendationOption = exports.PlatformDifference = exports.InstanceRecommendationFindingReasonCode = exports.GetEC2InstanceRecommendationsRequest = exports.GetEBSVolumeRecommendationsResponse = exports.VolumeRecommendation = exports.VolumeRecommendationOption = exports.EBSUtilizationMetric = exports.EBSMetricName = exports.EBSFinding = exports.VolumeConfiguration = exports.GetEBSVolumeRecommendationsRequest = exports.GetAutoScalingGroupRecommendationsResponse = exports.GetRecommendationError = exports.GetAutoScalingGroupRecommendationsRequest = exports.ExportLambdaFunctionRecommendationsResponse = exports.ExportLambdaFunctionRecommendationsRequest = exports.LambdaFunctionRecommendationFilter = exports.LambdaFunctionRecommendationFilterName = void 0;
5
+ exports.UpdateEnrollmentStatusResponse = exports.UpdateEnrollmentStatusRequest = exports.PutRecommendationPreferencesResponse = exports.PutRecommendationPreferencesRequest = exports.GetRecommendationSummariesResponse = exports.RecommendationSummary = exports.Summary = exports.ReasonCodeSummary = exports.FindingReasonCode = exports.CurrentPerformanceRiskRatings = exports.GetRecommendationSummariesRequest = void 0;
12
6
  var Status;
13
7
  (function (Status) {
14
8
  Status["ACTIVE"] = "Active";
@@ -45,6 +39,11 @@ var EnhancedInfrastructureMetrics;
45
39
  EnhancedInfrastructureMetrics["ACTIVE"] = "Active";
46
40
  EnhancedInfrastructureMetrics["INACTIVE"] = "Inactive";
47
41
  })(EnhancedInfrastructureMetrics = exports.EnhancedInfrastructureMetrics || (exports.EnhancedInfrastructureMetrics = {}));
42
+ var InferredWorkloadTypesPreference;
43
+ (function (InferredWorkloadTypesPreference) {
44
+ InferredWorkloadTypesPreference["ACTIVE"] = "Active";
45
+ InferredWorkloadTypesPreference["INACTIVE"] = "Inactive";
46
+ })(InferredWorkloadTypesPreference = exports.InferredWorkloadTypesPreference || (exports.InferredWorkloadTypesPreference = {}));
48
47
  var EffectiveRecommendationPreferences;
49
48
  (function (EffectiveRecommendationPreferences) {
50
49
  EffectiveRecommendationPreferences.filterSensitiveLog = (obj) => ({
@@ -58,6 +57,23 @@ var Finding;
58
57
  Finding["OVER_PROVISIONED"] = "Overprovisioned";
59
58
  Finding["UNDER_PROVISIONED"] = "Underprovisioned";
60
59
  })(Finding = exports.Finding || (exports.Finding = {}));
60
+ var InferredWorkloadType;
61
+ (function (InferredWorkloadType) {
62
+ InferredWorkloadType["AMAZON_EMR"] = "AmazonEmr";
63
+ InferredWorkloadType["APACHE_CASSANDRA"] = "ApacheCassandra";
64
+ InferredWorkloadType["APACHE_HADOOP"] = "ApacheHadoop";
65
+ InferredWorkloadType["MEMCACHED"] = "Memcached";
66
+ InferredWorkloadType["NGINX"] = "Nginx";
67
+ InferredWorkloadType["POSTGRE_SQL"] = "PostgreSql";
68
+ InferredWorkloadType["REDIS"] = "Redis";
69
+ })(InferredWorkloadType = exports.InferredWorkloadType || (exports.InferredWorkloadType = {}));
70
+ var MigrationEffort;
71
+ (function (MigrationEffort) {
72
+ MigrationEffort["HIGH"] = "High";
73
+ MigrationEffort["LOW"] = "Low";
74
+ MigrationEffort["MEDIUM"] = "Medium";
75
+ MigrationEffort["VERY_LOW"] = "VeryLow";
76
+ })(MigrationEffort = exports.MigrationEffort || (exports.MigrationEffort = {}));
61
77
  var MetricName;
62
78
  (function (MetricName) {
63
79
  MetricName["CPU"] = "Cpu";
@@ -118,6 +134,7 @@ var AutoScalingGroupRecommendation;
118
134
  var RecommendationPreferenceName;
119
135
  (function (RecommendationPreferenceName) {
120
136
  RecommendationPreferenceName["ENHANCED_INFRASTRUCTURE_METRICS"] = "EnhancedInfrastructureMetrics";
137
+ RecommendationPreferenceName["INFERRED_WORKLOAD_TYPES"] = "InferredWorkloadTypes";
121
138
  })(RecommendationPreferenceName = exports.RecommendationPreferenceName || (exports.RecommendationPreferenceName = {}));
122
139
  var ResourceType;
123
140
  (function (ResourceType) {
@@ -125,6 +142,7 @@ var ResourceType;
125
142
  ResourceType["EBS_VOLUME"] = "EbsVolume";
126
143
  ResourceType["EC2_INSTANCE"] = "Ec2Instance";
127
144
  ResourceType["LAMBDA_FUNCTION"] = "LambdaFunction";
145
+ ResourceType["NOT_APPLICABLE"] = "NotApplicable";
128
146
  })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
129
147
  var ScopeName;
130
148
  (function (ScopeName) {
@@ -150,48 +168,6 @@ var DeleteRecommendationPreferencesResponse;
150
168
  ...obj,
151
169
  });
152
170
  })(DeleteRecommendationPreferencesResponse = exports.DeleteRecommendationPreferencesResponse || (exports.DeleteRecommendationPreferencesResponse = {}));
153
- var InternalServerException;
154
- (function (InternalServerException) {
155
- InternalServerException.filterSensitiveLog = (obj) => ({
156
- ...obj,
157
- });
158
- })(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
159
- var InvalidParameterValueException;
160
- (function (InvalidParameterValueException) {
161
- InvalidParameterValueException.filterSensitiveLog = (obj) => ({
162
- ...obj,
163
- });
164
- })(InvalidParameterValueException = exports.InvalidParameterValueException || (exports.InvalidParameterValueException = {}));
165
- var MissingAuthenticationToken;
166
- (function (MissingAuthenticationToken) {
167
- MissingAuthenticationToken.filterSensitiveLog = (obj) => ({
168
- ...obj,
169
- });
170
- })(MissingAuthenticationToken = exports.MissingAuthenticationToken || (exports.MissingAuthenticationToken = {}));
171
- var OptInRequiredException;
172
- (function (OptInRequiredException) {
173
- OptInRequiredException.filterSensitiveLog = (obj) => ({
174
- ...obj,
175
- });
176
- })(OptInRequiredException = exports.OptInRequiredException || (exports.OptInRequiredException = {}));
177
- var ResourceNotFoundException;
178
- (function (ResourceNotFoundException) {
179
- ResourceNotFoundException.filterSensitiveLog = (obj) => ({
180
- ...obj,
181
- });
182
- })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
183
- var ServiceUnavailableException;
184
- (function (ServiceUnavailableException) {
185
- ServiceUnavailableException.filterSensitiveLog = (obj) => ({
186
- ...obj,
187
- });
188
- })(ServiceUnavailableException = exports.ServiceUnavailableException || (exports.ServiceUnavailableException = {}));
189
- var ThrottlingException;
190
- (function (ThrottlingException) {
191
- ThrottlingException.filterSensitiveLog = (obj) => ({
192
- ...obj,
193
- });
194
- })(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
195
171
  var JobFilterName;
196
172
  (function (JobFilterName) {
197
173
  JobFilterName["JOB_STATUS"] = "JobStatus";
@@ -259,7 +235,9 @@ var ExportableAutoScalingGroupField;
259
235
  ExportableAutoScalingGroupField["CURRENT_VCPUS"] = "CurrentVCpus";
260
236
  ExportableAutoScalingGroupField["EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES"] = "EffectiveRecommendationPreferencesCpuVendorArchitectures";
261
237
  ExportableAutoScalingGroupField["EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS"] = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
238
+ ExportableAutoScalingGroupField["EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES"] = "EffectiveRecommendationPreferencesInferredWorkloadTypes";
262
239
  ExportableAutoScalingGroupField["FINDING"] = "Finding";
240
+ ExportableAutoScalingGroupField["INFERRED_WORKLOAD_TYPES"] = "InferredWorkloadTypes";
263
241
  ExportableAutoScalingGroupField["LAST_REFRESH_TIMESTAMP"] = "LastRefreshTimestamp";
264
242
  ExportableAutoScalingGroupField["LOOKBACK_PERIOD_IN_DAYS"] = "LookbackPeriodInDays";
265
243
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_CONFIGURATION_DESIRED_CAPACITY"] = "RecommendationOptionsConfigurationDesiredCapacity";
@@ -269,6 +247,7 @@ var ExportableAutoScalingGroupField;
269
247
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY"] = "RecommendationOptionsEstimatedMonthlySavingsCurrency";
270
248
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE"] = "RecommendationOptionsEstimatedMonthlySavingsValue";
271
249
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_MEMORY"] = "RecommendationOptionsMemory";
250
+ ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_MIGRATION_EFFORT"] = "RecommendationOptionsMigrationEffort";
272
251
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_NETWORK"] = "RecommendationOptionsNetwork";
273
252
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE"] = "RecommendationOptionsOnDemandPrice";
274
253
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_PERFORMANCE_RISK"] = "RecommendationOptionsPerformanceRisk";
@@ -334,12 +313,6 @@ var ExportAutoScalingGroupRecommendationsResponse;
334
313
  ...obj,
335
314
  });
336
315
  })(ExportAutoScalingGroupRecommendationsResponse = exports.ExportAutoScalingGroupRecommendationsResponse || (exports.ExportAutoScalingGroupRecommendationsResponse = {}));
337
- var LimitExceededException;
338
- (function (LimitExceededException) {
339
- LimitExceededException.filterSensitiveLog = (obj) => ({
340
- ...obj,
341
- });
342
- })(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
343
316
  var ExportableVolumeField;
344
317
  (function (ExportableVolumeField) {
345
318
  ExportableVolumeField["ACCOUNT_ID"] = "AccountId";
@@ -407,8 +380,10 @@ var ExportableInstanceField;
407
380
  ExportableInstanceField["CURRENT_VCPUS"] = "CurrentVCpus";
408
381
  ExportableInstanceField["EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES"] = "EffectiveRecommendationPreferencesCpuVendorArchitectures";
409
382
  ExportableInstanceField["EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS"] = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
383
+ ExportableInstanceField["EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES"] = "EffectiveRecommendationPreferencesInferredWorkloadTypes";
410
384
  ExportableInstanceField["FINDING"] = "Finding";
411
385
  ExportableInstanceField["Finding_Reason_Codes"] = "FindingReasonCodes";
386
+ ExportableInstanceField["INFERRED_WORKLOAD_TYPES"] = "InferredWorkloadTypes";
412
387
  ExportableInstanceField["INSTANCE_ARN"] = "InstanceArn";
413
388
  ExportableInstanceField["INSTANCE_NAME"] = "InstanceName";
414
389
  ExportableInstanceField["LAST_REFRESH_TIMESTAMP"] = "LastRefreshTimestamp";
@@ -419,6 +394,7 @@ var ExportableInstanceField;
419
394
  ExportableInstanceField["RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE"] = "RecommendationOptionsEstimatedMonthlySavingsValue";
420
395
  ExportableInstanceField["RECOMMENDATION_OPTIONS_INSTANCE_TYPE"] = "RecommendationOptionsInstanceType";
421
396
  ExportableInstanceField["RECOMMENDATION_OPTIONS_MEMORY"] = "RecommendationOptionsMemory";
397
+ ExportableInstanceField["RECOMMENDATION_OPTIONS_MIGRATION_EFFORT"] = "RecommendationOptionsMigrationEffort";
422
398
  ExportableInstanceField["RECOMMENDATION_OPTIONS_NETWORK"] = "RecommendationOptionsNetwork";
423
399
  ExportableInstanceField["RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE"] = "RecommendationOptionsOnDemandPrice";
424
400
  ExportableInstanceField["RECOMMENDATION_OPTIONS_PERFORMANCE_RISK"] = "RecommendationOptionsPerformanceRisk";
@@ -2496,6 +2496,8 @@ const serializeAws_json1_0PutRecommendationPreferencesRequest = (input, context)
2496
2496
  input.enhancedInfrastructureMetrics !== null && {
2497
2497
  enhancedInfrastructureMetrics: input.enhancedInfrastructureMetrics,
2498
2498
  }),
2499
+ ...(input.inferredWorkloadTypes !== undefined &&
2500
+ input.inferredWorkloadTypes !== null && { inferredWorkloadTypes: input.inferredWorkloadTypes }),
2499
2501
  ...(input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType }),
2500
2502
  ...(input.scope !== undefined &&
2501
2503
  input.scope !== null && { scope: serializeAws_json1_0Scope(input.scope, context) }),
@@ -2594,6 +2596,9 @@ const deserializeAws_json1_0AutoScalingGroupRecommendation = (output, context) =
2594
2596
  ? deserializeAws_json1_0EffectiveRecommendationPreferences(output.effectiveRecommendationPreferences, context)
2595
2597
  : undefined,
2596
2598
  finding: smithy_client_1.expectString(output.finding),
2599
+ inferredWorkloadTypes: output.inferredWorkloadTypes !== undefined && output.inferredWorkloadTypes !== null
2600
+ ? deserializeAws_json1_0InferredWorkloadTypes(output.inferredWorkloadTypes, context)
2601
+ : undefined,
2597
2602
  lastRefreshTimestamp: output.lastRefreshTimestamp !== undefined && output.lastRefreshTimestamp !== null
2598
2603
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastRefreshTimestamp)))
2599
2604
  : undefined,
@@ -2611,6 +2616,7 @@ const deserializeAws_json1_0AutoScalingGroupRecommendationOption = (output, cont
2611
2616
  configuration: output.configuration !== undefined && output.configuration !== null
2612
2617
  ? deserializeAws_json1_0AutoScalingGroupConfiguration(output.configuration, context)
2613
2618
  : undefined,
2619
+ migrationEffort: smithy_client_1.expectString(output.migrationEffort),
2614
2620
  performanceRisk: smithy_client_1.limitedParseDouble(output.performanceRisk),
2615
2621
  projectedUtilizationMetrics: output.projectedUtilizationMetrics !== undefined && output.projectedUtilizationMetrics !== null
2616
2622
  ? deserializeAws_json1_0ProjectedUtilizationMetrics(output.projectedUtilizationMetrics, context)
@@ -2693,6 +2699,7 @@ const deserializeAws_json1_0EffectiveRecommendationPreferences = (output, contex
2693
2699
  ? deserializeAws_json1_0CpuVendorArchitectures(output.cpuVendorArchitectures, context)
2694
2700
  : undefined,
2695
2701
  enhancedInfrastructureMetrics: smithy_client_1.expectString(output.enhancedInfrastructureMetrics),
2702
+ inferredWorkloadTypes: smithy_client_1.expectString(output.inferredWorkloadTypes),
2696
2703
  };
2697
2704
  };
2698
2705
  const deserializeAws_json1_0EstimatedMonthlySavings = (output, context) => {
@@ -2845,6 +2852,16 @@ const deserializeAws_json1_0GetRecommendationSummariesResponse = (output, contex
2845
2852
  : undefined,
2846
2853
  };
2847
2854
  };
2855
+ const deserializeAws_json1_0InferredWorkloadTypes = (output, context) => {
2856
+ return (output || [])
2857
+ .filter((e) => e != null)
2858
+ .map((entry) => {
2859
+ if (entry === null) {
2860
+ return null;
2861
+ }
2862
+ return smithy_client_1.expectString(entry);
2863
+ });
2864
+ };
2848
2865
  const deserializeAws_json1_0InstanceRecommendation = (output, context) => {
2849
2866
  return {
2850
2867
  accountId: smithy_client_1.expectString(output.accountId),
@@ -2857,6 +2874,9 @@ const deserializeAws_json1_0InstanceRecommendation = (output, context) => {
2857
2874
  findingReasonCodes: output.findingReasonCodes !== undefined && output.findingReasonCodes !== null
2858
2875
  ? deserializeAws_json1_0InstanceRecommendationFindingReasonCodes(output.findingReasonCodes, context)
2859
2876
  : undefined,
2877
+ inferredWorkloadTypes: output.inferredWorkloadTypes !== undefined && output.inferredWorkloadTypes !== null
2878
+ ? deserializeAws_json1_0InferredWorkloadTypes(output.inferredWorkloadTypes, context)
2879
+ : undefined,
2860
2880
  instanceArn: smithy_client_1.expectString(output.instanceArn),
2861
2881
  instanceName: smithy_client_1.expectString(output.instanceName),
2862
2882
  lastRefreshTimestamp: output.lastRefreshTimestamp !== undefined && output.lastRefreshTimestamp !== null
@@ -2887,6 +2907,7 @@ const deserializeAws_json1_0InstanceRecommendationFindingReasonCodes = (output,
2887
2907
  const deserializeAws_json1_0InstanceRecommendationOption = (output, context) => {
2888
2908
  return {
2889
2909
  instanceType: smithy_client_1.expectString(output.instanceType),
2910
+ migrationEffort: smithy_client_1.expectString(output.migrationEffort),
2890
2911
  performanceRisk: smithy_client_1.limitedParseDouble(output.performanceRisk),
2891
2912
  platformDifferences: output.platformDifferences !== undefined && output.platformDifferences !== null
2892
2913
  ? deserializeAws_json1_0PlatformDifferences(output.platformDifferences, context)
@@ -3145,6 +3166,7 @@ const deserializeAws_json1_0RecommendationOptions = (output, context) => {
3145
3166
  const deserializeAws_json1_0RecommendationPreferencesDetail = (output, context) => {
3146
3167
  return {
3147
3168
  enhancedInfrastructureMetrics: smithy_client_1.expectString(output.enhancedInfrastructureMetrics),
3169
+ inferredWorkloadTypes: smithy_client_1.expectString(output.inferredWorkloadTypes),
3148
3170
  resourceType: smithy_client_1.expectString(output.resourceType),
3149
3171
  scope: output.scope !== undefined && output.scope !== null
3150
3172
  ? deserializeAws_json1_0Scope(output.scope, context)
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
18
20
  const getRuntimeConfig = (config) => {
19
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
20
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
21
25
  return {
22
26
  ...clientSharedValues,
23
27
  ...config,
24
28
  runtime: "node",
29
+ defaultsMode,
25
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
26
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
27
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
29
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
30
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
31
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
32
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
33
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
34
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
35
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
36
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -1,8 +1,4 @@
1
1
  import { __assign } from "tslib";
2
- export var AccessDeniedException;
3
- (function (AccessDeniedException) {
4
- AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
- })(AccessDeniedException || (AccessDeniedException = {}));
6
2
  export var Status;
7
3
  (function (Status) {
8
4
  Status["ACTIVE"] = "Active";
@@ -35,6 +31,11 @@ export var EnhancedInfrastructureMetrics;
35
31
  EnhancedInfrastructureMetrics["ACTIVE"] = "Active";
36
32
  EnhancedInfrastructureMetrics["INACTIVE"] = "Inactive";
37
33
  })(EnhancedInfrastructureMetrics || (EnhancedInfrastructureMetrics = {}));
34
+ export var InferredWorkloadTypesPreference;
35
+ (function (InferredWorkloadTypesPreference) {
36
+ InferredWorkloadTypesPreference["ACTIVE"] = "Active";
37
+ InferredWorkloadTypesPreference["INACTIVE"] = "Inactive";
38
+ })(InferredWorkloadTypesPreference || (InferredWorkloadTypesPreference = {}));
38
39
  export var EffectiveRecommendationPreferences;
39
40
  (function (EffectiveRecommendationPreferences) {
40
41
  EffectiveRecommendationPreferences.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -46,6 +47,23 @@ export var Finding;
46
47
  Finding["OVER_PROVISIONED"] = "Overprovisioned";
47
48
  Finding["UNDER_PROVISIONED"] = "Underprovisioned";
48
49
  })(Finding || (Finding = {}));
50
+ export var InferredWorkloadType;
51
+ (function (InferredWorkloadType) {
52
+ InferredWorkloadType["AMAZON_EMR"] = "AmazonEmr";
53
+ InferredWorkloadType["APACHE_CASSANDRA"] = "ApacheCassandra";
54
+ InferredWorkloadType["APACHE_HADOOP"] = "ApacheHadoop";
55
+ InferredWorkloadType["MEMCACHED"] = "Memcached";
56
+ InferredWorkloadType["NGINX"] = "Nginx";
57
+ InferredWorkloadType["POSTGRE_SQL"] = "PostgreSql";
58
+ InferredWorkloadType["REDIS"] = "Redis";
59
+ })(InferredWorkloadType || (InferredWorkloadType = {}));
60
+ export var MigrationEffort;
61
+ (function (MigrationEffort) {
62
+ MigrationEffort["HIGH"] = "High";
63
+ MigrationEffort["LOW"] = "Low";
64
+ MigrationEffort["MEDIUM"] = "Medium";
65
+ MigrationEffort["VERY_LOW"] = "VeryLow";
66
+ })(MigrationEffort || (MigrationEffort = {}));
49
67
  export var MetricName;
50
68
  (function (MetricName) {
51
69
  MetricName["CPU"] = "Cpu";
@@ -96,6 +114,7 @@ export var AutoScalingGroupRecommendation;
96
114
  export var RecommendationPreferenceName;
97
115
  (function (RecommendationPreferenceName) {
98
116
  RecommendationPreferenceName["ENHANCED_INFRASTRUCTURE_METRICS"] = "EnhancedInfrastructureMetrics";
117
+ RecommendationPreferenceName["INFERRED_WORKLOAD_TYPES"] = "InferredWorkloadTypes";
99
118
  })(RecommendationPreferenceName || (RecommendationPreferenceName = {}));
100
119
  export var ResourceType;
101
120
  (function (ResourceType) {
@@ -103,6 +122,7 @@ export var ResourceType;
103
122
  ResourceType["EBS_VOLUME"] = "EbsVolume";
104
123
  ResourceType["EC2_INSTANCE"] = "Ec2Instance";
105
124
  ResourceType["LAMBDA_FUNCTION"] = "LambdaFunction";
125
+ ResourceType["NOT_APPLICABLE"] = "NotApplicable";
106
126
  })(ResourceType || (ResourceType = {}));
107
127
  export var ScopeName;
108
128
  (function (ScopeName) {
@@ -122,34 +142,6 @@ export var DeleteRecommendationPreferencesResponse;
122
142
  (function (DeleteRecommendationPreferencesResponse) {
123
143
  DeleteRecommendationPreferencesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
124
144
  })(DeleteRecommendationPreferencesResponse || (DeleteRecommendationPreferencesResponse = {}));
125
- export var InternalServerException;
126
- (function (InternalServerException) {
127
- InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
128
- })(InternalServerException || (InternalServerException = {}));
129
- export var InvalidParameterValueException;
130
- (function (InvalidParameterValueException) {
131
- InvalidParameterValueException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
132
- })(InvalidParameterValueException || (InvalidParameterValueException = {}));
133
- export var MissingAuthenticationToken;
134
- (function (MissingAuthenticationToken) {
135
- MissingAuthenticationToken.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
136
- })(MissingAuthenticationToken || (MissingAuthenticationToken = {}));
137
- export var OptInRequiredException;
138
- (function (OptInRequiredException) {
139
- OptInRequiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
140
- })(OptInRequiredException || (OptInRequiredException = {}));
141
- export var ResourceNotFoundException;
142
- (function (ResourceNotFoundException) {
143
- ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
144
- })(ResourceNotFoundException || (ResourceNotFoundException = {}));
145
- export var ServiceUnavailableException;
146
- (function (ServiceUnavailableException) {
147
- ServiceUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
148
- })(ServiceUnavailableException || (ServiceUnavailableException = {}));
149
- export var ThrottlingException;
150
- (function (ThrottlingException) {
151
- ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
152
- })(ThrottlingException || (ThrottlingException = {}));
153
145
  export var JobFilterName;
154
146
  (function (JobFilterName) {
155
147
  JobFilterName["JOB_STATUS"] = "JobStatus";
@@ -205,7 +197,9 @@ export var ExportableAutoScalingGroupField;
205
197
  ExportableAutoScalingGroupField["CURRENT_VCPUS"] = "CurrentVCpus";
206
198
  ExportableAutoScalingGroupField["EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES"] = "EffectiveRecommendationPreferencesCpuVendorArchitectures";
207
199
  ExportableAutoScalingGroupField["EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS"] = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
200
+ ExportableAutoScalingGroupField["EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES"] = "EffectiveRecommendationPreferencesInferredWorkloadTypes";
208
201
  ExportableAutoScalingGroupField["FINDING"] = "Finding";
202
+ ExportableAutoScalingGroupField["INFERRED_WORKLOAD_TYPES"] = "InferredWorkloadTypes";
209
203
  ExportableAutoScalingGroupField["LAST_REFRESH_TIMESTAMP"] = "LastRefreshTimestamp";
210
204
  ExportableAutoScalingGroupField["LOOKBACK_PERIOD_IN_DAYS"] = "LookbackPeriodInDays";
211
205
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_CONFIGURATION_DESIRED_CAPACITY"] = "RecommendationOptionsConfigurationDesiredCapacity";
@@ -215,6 +209,7 @@ export var ExportableAutoScalingGroupField;
215
209
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY"] = "RecommendationOptionsEstimatedMonthlySavingsCurrency";
216
210
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE"] = "RecommendationOptionsEstimatedMonthlySavingsValue";
217
211
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_MEMORY"] = "RecommendationOptionsMemory";
212
+ ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_MIGRATION_EFFORT"] = "RecommendationOptionsMigrationEffort";
218
213
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_NETWORK"] = "RecommendationOptionsNetwork";
219
214
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE"] = "RecommendationOptionsOnDemandPrice";
220
215
  ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_PERFORMANCE_RISK"] = "RecommendationOptionsPerformanceRisk";
@@ -270,10 +265,6 @@ export var ExportAutoScalingGroupRecommendationsResponse;
270
265
  (function (ExportAutoScalingGroupRecommendationsResponse) {
271
266
  ExportAutoScalingGroupRecommendationsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
272
267
  })(ExportAutoScalingGroupRecommendationsResponse || (ExportAutoScalingGroupRecommendationsResponse = {}));
273
- export var LimitExceededException;
274
- (function (LimitExceededException) {
275
- LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
276
- })(LimitExceededException || (LimitExceededException = {}));
277
268
  export var ExportableVolumeField;
278
269
  (function (ExportableVolumeField) {
279
270
  ExportableVolumeField["ACCOUNT_ID"] = "AccountId";
@@ -335,8 +326,10 @@ export var ExportableInstanceField;
335
326
  ExportableInstanceField["CURRENT_VCPUS"] = "CurrentVCpus";
336
327
  ExportableInstanceField["EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES"] = "EffectiveRecommendationPreferencesCpuVendorArchitectures";
337
328
  ExportableInstanceField["EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS"] = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
329
+ ExportableInstanceField["EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES"] = "EffectiveRecommendationPreferencesInferredWorkloadTypes";
338
330
  ExportableInstanceField["FINDING"] = "Finding";
339
331
  ExportableInstanceField["Finding_Reason_Codes"] = "FindingReasonCodes";
332
+ ExportableInstanceField["INFERRED_WORKLOAD_TYPES"] = "InferredWorkloadTypes";
340
333
  ExportableInstanceField["INSTANCE_ARN"] = "InstanceArn";
341
334
  ExportableInstanceField["INSTANCE_NAME"] = "InstanceName";
342
335
  ExportableInstanceField["LAST_REFRESH_TIMESTAMP"] = "LastRefreshTimestamp";
@@ -347,6 +340,7 @@ export var ExportableInstanceField;
347
340
  ExportableInstanceField["RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE"] = "RecommendationOptionsEstimatedMonthlySavingsValue";
348
341
  ExportableInstanceField["RECOMMENDATION_OPTIONS_INSTANCE_TYPE"] = "RecommendationOptionsInstanceType";
349
342
  ExportableInstanceField["RECOMMENDATION_OPTIONS_MEMORY"] = "RecommendationOptionsMemory";
343
+ ExportableInstanceField["RECOMMENDATION_OPTIONS_MIGRATION_EFFORT"] = "RecommendationOptionsMigrationEffort";
350
344
  ExportableInstanceField["RECOMMENDATION_OPTIONS_NETWORK"] = "RecommendationOptionsNetwork";
351
345
  ExportableInstanceField["RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE"] = "RecommendationOptionsOnDemandPrice";
352
346
  ExportableInstanceField["RECOMMENDATION_OPTIONS_PERFORMANCE_RISK"] = "RecommendationOptionsPerformanceRisk";
@@ -2549,10 +2549,11 @@ var serializeAws_json1_0LambdaFunctionRecommendationFilters = function (input, c
2549
2549
  });
2550
2550
  };
2551
2551
  var serializeAws_json1_0PutRecommendationPreferencesRequest = function (input, context) {
2552
- return __assign(__assign(__assign({}, (input.enhancedInfrastructureMetrics !== undefined &&
2552
+ return __assign(__assign(__assign(__assign({}, (input.enhancedInfrastructureMetrics !== undefined &&
2553
2553
  input.enhancedInfrastructureMetrics !== null && {
2554
2554
  enhancedInfrastructureMetrics: input.enhancedInfrastructureMetrics,
2555
- })), (input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType })), (input.scope !== undefined &&
2555
+ })), (input.inferredWorkloadTypes !== undefined &&
2556
+ input.inferredWorkloadTypes !== null && { inferredWorkloadTypes: input.inferredWorkloadTypes })), (input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType })), (input.scope !== undefined &&
2556
2557
  input.scope !== null && { scope: serializeAws_json1_0Scope(input.scope, context) }));
2557
2558
  };
2558
2559
  var serializeAws_json1_0RecommendationPreferenceNames = function (input, context) {
@@ -2637,6 +2638,9 @@ var deserializeAws_json1_0AutoScalingGroupRecommendation = function (output, con
2637
2638
  ? deserializeAws_json1_0EffectiveRecommendationPreferences(output.effectiveRecommendationPreferences, context)
2638
2639
  : undefined,
2639
2640
  finding: __expectString(output.finding),
2641
+ inferredWorkloadTypes: output.inferredWorkloadTypes !== undefined && output.inferredWorkloadTypes !== null
2642
+ ? deserializeAws_json1_0InferredWorkloadTypes(output.inferredWorkloadTypes, context)
2643
+ : undefined,
2640
2644
  lastRefreshTimestamp: output.lastRefreshTimestamp !== undefined && output.lastRefreshTimestamp !== null
2641
2645
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastRefreshTimestamp)))
2642
2646
  : undefined,
@@ -2654,6 +2658,7 @@ var deserializeAws_json1_0AutoScalingGroupRecommendationOption = function (outpu
2654
2658
  configuration: output.configuration !== undefined && output.configuration !== null
2655
2659
  ? deserializeAws_json1_0AutoScalingGroupConfiguration(output.configuration, context)
2656
2660
  : undefined,
2661
+ migrationEffort: __expectString(output.migrationEffort),
2657
2662
  performanceRisk: __limitedParseDouble(output.performanceRisk),
2658
2663
  projectedUtilizationMetrics: output.projectedUtilizationMetrics !== undefined && output.projectedUtilizationMetrics !== null
2659
2664
  ? deserializeAws_json1_0ProjectedUtilizationMetrics(output.projectedUtilizationMetrics, context)
@@ -2736,6 +2741,7 @@ var deserializeAws_json1_0EffectiveRecommendationPreferences = function (output,
2736
2741
  ? deserializeAws_json1_0CpuVendorArchitectures(output.cpuVendorArchitectures, context)
2737
2742
  : undefined,
2738
2743
  enhancedInfrastructureMetrics: __expectString(output.enhancedInfrastructureMetrics),
2744
+ inferredWorkloadTypes: __expectString(output.inferredWorkloadTypes),
2739
2745
  };
2740
2746
  };
2741
2747
  var deserializeAws_json1_0EstimatedMonthlySavings = function (output, context) {
@@ -2888,6 +2894,16 @@ var deserializeAws_json1_0GetRecommendationSummariesResponse = function (output,
2888
2894
  : undefined,
2889
2895
  };
2890
2896
  };
2897
+ var deserializeAws_json1_0InferredWorkloadTypes = function (output, context) {
2898
+ return (output || [])
2899
+ .filter(function (e) { return e != null; })
2900
+ .map(function (entry) {
2901
+ if (entry === null) {
2902
+ return null;
2903
+ }
2904
+ return __expectString(entry);
2905
+ });
2906
+ };
2891
2907
  var deserializeAws_json1_0InstanceRecommendation = function (output, context) {
2892
2908
  return {
2893
2909
  accountId: __expectString(output.accountId),
@@ -2900,6 +2916,9 @@ var deserializeAws_json1_0InstanceRecommendation = function (output, context) {
2900
2916
  findingReasonCodes: output.findingReasonCodes !== undefined && output.findingReasonCodes !== null
2901
2917
  ? deserializeAws_json1_0InstanceRecommendationFindingReasonCodes(output.findingReasonCodes, context)
2902
2918
  : undefined,
2919
+ inferredWorkloadTypes: output.inferredWorkloadTypes !== undefined && output.inferredWorkloadTypes !== null
2920
+ ? deserializeAws_json1_0InferredWorkloadTypes(output.inferredWorkloadTypes, context)
2921
+ : undefined,
2903
2922
  instanceArn: __expectString(output.instanceArn),
2904
2923
  instanceName: __expectString(output.instanceName),
2905
2924
  lastRefreshTimestamp: output.lastRefreshTimestamp !== undefined && output.lastRefreshTimestamp !== null
@@ -2930,6 +2949,7 @@ var deserializeAws_json1_0InstanceRecommendationFindingReasonCodes = function (o
2930
2949
  var deserializeAws_json1_0InstanceRecommendationOption = function (output, context) {
2931
2950
  return {
2932
2951
  instanceType: __expectString(output.instanceType),
2952
+ migrationEffort: __expectString(output.migrationEffort),
2933
2953
  performanceRisk: __limitedParseDouble(output.performanceRisk),
2934
2954
  platformDifferences: output.platformDifferences !== undefined && output.platformDifferences !== null
2935
2955
  ? deserializeAws_json1_0PlatformDifferences(output.platformDifferences, context)
@@ -3188,6 +3208,7 @@ var deserializeAws_json1_0RecommendationOptions = function (output, context) {
3188
3208
  var deserializeAws_json1_0RecommendationPreferencesDetail = function (output, context) {
3189
3209
  return {
3190
3210
  enhancedInfrastructureMetrics: __expectString(output.enhancedInfrastructureMetrics),
3211
+ inferredWorkloadTypes: __expectString(output.inferredWorkloadTypes),
3191
3212
  resourceType: __expectString(output.resourceType),
3192
3213
  scope: output.scope !== undefined && output.scope !== null
3193
3214
  ? deserializeAws_json1_0Scope(output.scope, context)