@aws-sdk/client-compute-optimizer 3.47.2 → 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 +11 -0
- package/dist-cjs/models/models_0.js +33 -3
- package/dist-cjs/protocols/Aws_json1_0.js +22 -0
- package/dist-es/models/models_0.js +30 -0
- package/dist-es/protocols/Aws_json1_0.js +23 -2
- package/dist-types/models/models_0.d.ts +209 -18
- package/dist-types/ts3.4/models/models_0.d.ts +43 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
|
|
6
17
|
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-compute-optimizer
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateEnrollmentStatusResponse = exports.UpdateEnrollmentStatusRequest = exports.PutRecommendationPreferencesResponse = exports.PutRecommendationPreferencesRequest = exports.GetRecommendationSummariesResponse = exports.RecommendationSummary = exports.Summary = exports.ReasonCodeSummary = void 0;
|
|
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;
|
|
6
6
|
var Status;
|
|
7
7
|
(function (Status) {
|
|
8
8
|
Status["ACTIVE"] = "Active";
|
|
@@ -39,6 +39,11 @@ var EnhancedInfrastructureMetrics;
|
|
|
39
39
|
EnhancedInfrastructureMetrics["ACTIVE"] = "Active";
|
|
40
40
|
EnhancedInfrastructureMetrics["INACTIVE"] = "Inactive";
|
|
41
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 = {}));
|
|
42
47
|
var EffectiveRecommendationPreferences;
|
|
43
48
|
(function (EffectiveRecommendationPreferences) {
|
|
44
49
|
EffectiveRecommendationPreferences.filterSensitiveLog = (obj) => ({
|
|
@@ -52,6 +57,23 @@ var Finding;
|
|
|
52
57
|
Finding["OVER_PROVISIONED"] = "Overprovisioned";
|
|
53
58
|
Finding["UNDER_PROVISIONED"] = "Underprovisioned";
|
|
54
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 = {}));
|
|
55
77
|
var MetricName;
|
|
56
78
|
(function (MetricName) {
|
|
57
79
|
MetricName["CPU"] = "Cpu";
|
|
@@ -112,6 +134,7 @@ var AutoScalingGroupRecommendation;
|
|
|
112
134
|
var RecommendationPreferenceName;
|
|
113
135
|
(function (RecommendationPreferenceName) {
|
|
114
136
|
RecommendationPreferenceName["ENHANCED_INFRASTRUCTURE_METRICS"] = "EnhancedInfrastructureMetrics";
|
|
137
|
+
RecommendationPreferenceName["INFERRED_WORKLOAD_TYPES"] = "InferredWorkloadTypes";
|
|
115
138
|
})(RecommendationPreferenceName = exports.RecommendationPreferenceName || (exports.RecommendationPreferenceName = {}));
|
|
116
139
|
var ResourceType;
|
|
117
140
|
(function (ResourceType) {
|
|
@@ -119,6 +142,7 @@ var ResourceType;
|
|
|
119
142
|
ResourceType["EBS_VOLUME"] = "EbsVolume";
|
|
120
143
|
ResourceType["EC2_INSTANCE"] = "Ec2Instance";
|
|
121
144
|
ResourceType["LAMBDA_FUNCTION"] = "LambdaFunction";
|
|
145
|
+
ResourceType["NOT_APPLICABLE"] = "NotApplicable";
|
|
122
146
|
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
123
147
|
var ScopeName;
|
|
124
148
|
(function (ScopeName) {
|
|
@@ -211,7 +235,9 @@ var ExportableAutoScalingGroupField;
|
|
|
211
235
|
ExportableAutoScalingGroupField["CURRENT_VCPUS"] = "CurrentVCpus";
|
|
212
236
|
ExportableAutoScalingGroupField["EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES"] = "EffectiveRecommendationPreferencesCpuVendorArchitectures";
|
|
213
237
|
ExportableAutoScalingGroupField["EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS"] = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
|
|
238
|
+
ExportableAutoScalingGroupField["EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES"] = "EffectiveRecommendationPreferencesInferredWorkloadTypes";
|
|
214
239
|
ExportableAutoScalingGroupField["FINDING"] = "Finding";
|
|
240
|
+
ExportableAutoScalingGroupField["INFERRED_WORKLOAD_TYPES"] = "InferredWorkloadTypes";
|
|
215
241
|
ExportableAutoScalingGroupField["LAST_REFRESH_TIMESTAMP"] = "LastRefreshTimestamp";
|
|
216
242
|
ExportableAutoScalingGroupField["LOOKBACK_PERIOD_IN_DAYS"] = "LookbackPeriodInDays";
|
|
217
243
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_CONFIGURATION_DESIRED_CAPACITY"] = "RecommendationOptionsConfigurationDesiredCapacity";
|
|
@@ -221,6 +247,7 @@ var ExportableAutoScalingGroupField;
|
|
|
221
247
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY"] = "RecommendationOptionsEstimatedMonthlySavingsCurrency";
|
|
222
248
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE"] = "RecommendationOptionsEstimatedMonthlySavingsValue";
|
|
223
249
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_MEMORY"] = "RecommendationOptionsMemory";
|
|
250
|
+
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_MIGRATION_EFFORT"] = "RecommendationOptionsMigrationEffort";
|
|
224
251
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_NETWORK"] = "RecommendationOptionsNetwork";
|
|
225
252
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE"] = "RecommendationOptionsOnDemandPrice";
|
|
226
253
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_PERFORMANCE_RISK"] = "RecommendationOptionsPerformanceRisk";
|
|
@@ -353,8 +380,10 @@ var ExportableInstanceField;
|
|
|
353
380
|
ExportableInstanceField["CURRENT_VCPUS"] = "CurrentVCpus";
|
|
354
381
|
ExportableInstanceField["EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES"] = "EffectiveRecommendationPreferencesCpuVendorArchitectures";
|
|
355
382
|
ExportableInstanceField["EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS"] = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
|
|
383
|
+
ExportableInstanceField["EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES"] = "EffectiveRecommendationPreferencesInferredWorkloadTypes";
|
|
356
384
|
ExportableInstanceField["FINDING"] = "Finding";
|
|
357
385
|
ExportableInstanceField["Finding_Reason_Codes"] = "FindingReasonCodes";
|
|
386
|
+
ExportableInstanceField["INFERRED_WORKLOAD_TYPES"] = "InferredWorkloadTypes";
|
|
358
387
|
ExportableInstanceField["INSTANCE_ARN"] = "InstanceArn";
|
|
359
388
|
ExportableInstanceField["INSTANCE_NAME"] = "InstanceName";
|
|
360
389
|
ExportableInstanceField["LAST_REFRESH_TIMESTAMP"] = "LastRefreshTimestamp";
|
|
@@ -365,6 +394,7 @@ var ExportableInstanceField;
|
|
|
365
394
|
ExportableInstanceField["RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE"] = "RecommendationOptionsEstimatedMonthlySavingsValue";
|
|
366
395
|
ExportableInstanceField["RECOMMENDATION_OPTIONS_INSTANCE_TYPE"] = "RecommendationOptionsInstanceType";
|
|
367
396
|
ExportableInstanceField["RECOMMENDATION_OPTIONS_MEMORY"] = "RecommendationOptionsMemory";
|
|
397
|
+
ExportableInstanceField["RECOMMENDATION_OPTIONS_MIGRATION_EFFORT"] = "RecommendationOptionsMigrationEffort";
|
|
368
398
|
ExportableInstanceField["RECOMMENDATION_OPTIONS_NETWORK"] = "RecommendationOptionsNetwork";
|
|
369
399
|
ExportableInstanceField["RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE"] = "RecommendationOptionsOnDemandPrice";
|
|
370
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)
|
|
@@ -31,6 +31,11 @@ export var EnhancedInfrastructureMetrics;
|
|
|
31
31
|
EnhancedInfrastructureMetrics["ACTIVE"] = "Active";
|
|
32
32
|
EnhancedInfrastructureMetrics["INACTIVE"] = "Inactive";
|
|
33
33
|
})(EnhancedInfrastructureMetrics || (EnhancedInfrastructureMetrics = {}));
|
|
34
|
+
export var InferredWorkloadTypesPreference;
|
|
35
|
+
(function (InferredWorkloadTypesPreference) {
|
|
36
|
+
InferredWorkloadTypesPreference["ACTIVE"] = "Active";
|
|
37
|
+
InferredWorkloadTypesPreference["INACTIVE"] = "Inactive";
|
|
38
|
+
})(InferredWorkloadTypesPreference || (InferredWorkloadTypesPreference = {}));
|
|
34
39
|
export var EffectiveRecommendationPreferences;
|
|
35
40
|
(function (EffectiveRecommendationPreferences) {
|
|
36
41
|
EffectiveRecommendationPreferences.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -42,6 +47,23 @@ export var Finding;
|
|
|
42
47
|
Finding["OVER_PROVISIONED"] = "Overprovisioned";
|
|
43
48
|
Finding["UNDER_PROVISIONED"] = "Underprovisioned";
|
|
44
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 = {}));
|
|
45
67
|
export var MetricName;
|
|
46
68
|
(function (MetricName) {
|
|
47
69
|
MetricName["CPU"] = "Cpu";
|
|
@@ -92,6 +114,7 @@ export var AutoScalingGroupRecommendation;
|
|
|
92
114
|
export var RecommendationPreferenceName;
|
|
93
115
|
(function (RecommendationPreferenceName) {
|
|
94
116
|
RecommendationPreferenceName["ENHANCED_INFRASTRUCTURE_METRICS"] = "EnhancedInfrastructureMetrics";
|
|
117
|
+
RecommendationPreferenceName["INFERRED_WORKLOAD_TYPES"] = "InferredWorkloadTypes";
|
|
95
118
|
})(RecommendationPreferenceName || (RecommendationPreferenceName = {}));
|
|
96
119
|
export var ResourceType;
|
|
97
120
|
(function (ResourceType) {
|
|
@@ -99,6 +122,7 @@ export var ResourceType;
|
|
|
99
122
|
ResourceType["EBS_VOLUME"] = "EbsVolume";
|
|
100
123
|
ResourceType["EC2_INSTANCE"] = "Ec2Instance";
|
|
101
124
|
ResourceType["LAMBDA_FUNCTION"] = "LambdaFunction";
|
|
125
|
+
ResourceType["NOT_APPLICABLE"] = "NotApplicable";
|
|
102
126
|
})(ResourceType || (ResourceType = {}));
|
|
103
127
|
export var ScopeName;
|
|
104
128
|
(function (ScopeName) {
|
|
@@ -173,7 +197,9 @@ export var ExportableAutoScalingGroupField;
|
|
|
173
197
|
ExportableAutoScalingGroupField["CURRENT_VCPUS"] = "CurrentVCpus";
|
|
174
198
|
ExportableAutoScalingGroupField["EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES"] = "EffectiveRecommendationPreferencesCpuVendorArchitectures";
|
|
175
199
|
ExportableAutoScalingGroupField["EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS"] = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
|
|
200
|
+
ExportableAutoScalingGroupField["EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES"] = "EffectiveRecommendationPreferencesInferredWorkloadTypes";
|
|
176
201
|
ExportableAutoScalingGroupField["FINDING"] = "Finding";
|
|
202
|
+
ExportableAutoScalingGroupField["INFERRED_WORKLOAD_TYPES"] = "InferredWorkloadTypes";
|
|
177
203
|
ExportableAutoScalingGroupField["LAST_REFRESH_TIMESTAMP"] = "LastRefreshTimestamp";
|
|
178
204
|
ExportableAutoScalingGroupField["LOOKBACK_PERIOD_IN_DAYS"] = "LookbackPeriodInDays";
|
|
179
205
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_CONFIGURATION_DESIRED_CAPACITY"] = "RecommendationOptionsConfigurationDesiredCapacity";
|
|
@@ -183,6 +209,7 @@ export var ExportableAutoScalingGroupField;
|
|
|
183
209
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY"] = "RecommendationOptionsEstimatedMonthlySavingsCurrency";
|
|
184
210
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE"] = "RecommendationOptionsEstimatedMonthlySavingsValue";
|
|
185
211
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_MEMORY"] = "RecommendationOptionsMemory";
|
|
212
|
+
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_MIGRATION_EFFORT"] = "RecommendationOptionsMigrationEffort";
|
|
186
213
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_NETWORK"] = "RecommendationOptionsNetwork";
|
|
187
214
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE"] = "RecommendationOptionsOnDemandPrice";
|
|
188
215
|
ExportableAutoScalingGroupField["RECOMMENDATION_OPTIONS_PERFORMANCE_RISK"] = "RecommendationOptionsPerformanceRisk";
|
|
@@ -299,8 +326,10 @@ export var ExportableInstanceField;
|
|
|
299
326
|
ExportableInstanceField["CURRENT_VCPUS"] = "CurrentVCpus";
|
|
300
327
|
ExportableInstanceField["EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES"] = "EffectiveRecommendationPreferencesCpuVendorArchitectures";
|
|
301
328
|
ExportableInstanceField["EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS"] = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics";
|
|
329
|
+
ExportableInstanceField["EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES"] = "EffectiveRecommendationPreferencesInferredWorkloadTypes";
|
|
302
330
|
ExportableInstanceField["FINDING"] = "Finding";
|
|
303
331
|
ExportableInstanceField["Finding_Reason_Codes"] = "FindingReasonCodes";
|
|
332
|
+
ExportableInstanceField["INFERRED_WORKLOAD_TYPES"] = "InferredWorkloadTypes";
|
|
304
333
|
ExportableInstanceField["INSTANCE_ARN"] = "InstanceArn";
|
|
305
334
|
ExportableInstanceField["INSTANCE_NAME"] = "InstanceName";
|
|
306
335
|
ExportableInstanceField["LAST_REFRESH_TIMESTAMP"] = "LastRefreshTimestamp";
|
|
@@ -311,6 +340,7 @@ export var ExportableInstanceField;
|
|
|
311
340
|
ExportableInstanceField["RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE"] = "RecommendationOptionsEstimatedMonthlySavingsValue";
|
|
312
341
|
ExportableInstanceField["RECOMMENDATION_OPTIONS_INSTANCE_TYPE"] = "RecommendationOptionsInstanceType";
|
|
313
342
|
ExportableInstanceField["RECOMMENDATION_OPTIONS_MEMORY"] = "RecommendationOptionsMemory";
|
|
343
|
+
ExportableInstanceField["RECOMMENDATION_OPTIONS_MIGRATION_EFFORT"] = "RecommendationOptionsMigrationEffort";
|
|
314
344
|
ExportableInstanceField["RECOMMENDATION_OPTIONS_NETWORK"] = "RecommendationOptionsNetwork";
|
|
315
345
|
ExportableInstanceField["RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE"] = "RecommendationOptionsOnDemandPrice";
|
|
316
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.
|
|
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)
|
|
@@ -86,6 +86,10 @@ export declare enum EnhancedInfrastructureMetrics {
|
|
|
86
86
|
ACTIVE = "Active",
|
|
87
87
|
INACTIVE = "Inactive"
|
|
88
88
|
}
|
|
89
|
+
export declare enum InferredWorkloadTypesPreference {
|
|
90
|
+
ACTIVE = "Active",
|
|
91
|
+
INACTIVE = "Inactive"
|
|
92
|
+
}
|
|
89
93
|
/**
|
|
90
94
|
* <p>Describes the effective recommendation preferences for a resource.</p>
|
|
91
95
|
*/
|
|
@@ -115,9 +119,20 @@ export interface EffectiveRecommendationPreferences {
|
|
|
115
119
|
* preference.</p>
|
|
116
120
|
* <p>A status of <code>Active</code> confirms that the preference is applied in the latest
|
|
117
121
|
* recommendation refresh, and a status of <code>Inactive</code> confirms that it's not yet
|
|
118
|
-
* applied.</p>
|
|
122
|
+
* applied to recommendations.</p>
|
|
123
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Enhanced
|
|
124
|
+
* infrastructure metrics</a> in the <i>Compute Optimizer User
|
|
125
|
+
* Guide</i>.</p>
|
|
119
126
|
*/
|
|
120
127
|
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
128
|
+
/**
|
|
129
|
+
* <p>Describes the activation status of the inferred workload types preference.</p>
|
|
130
|
+
*
|
|
131
|
+
* <p>A status of <code>Active</code> confirms that the preference is applied in the latest
|
|
132
|
+
* recommendation refresh. A status of <code>Inactive</code> confirms that it's not yet
|
|
133
|
+
* applied to recommendations.</p>
|
|
134
|
+
*/
|
|
135
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference | string;
|
|
121
136
|
}
|
|
122
137
|
export declare namespace EffectiveRecommendationPreferences {
|
|
123
138
|
/**
|
|
@@ -131,6 +146,21 @@ export declare enum Finding {
|
|
|
131
146
|
OVER_PROVISIONED = "Overprovisioned",
|
|
132
147
|
UNDER_PROVISIONED = "Underprovisioned"
|
|
133
148
|
}
|
|
149
|
+
export declare enum InferredWorkloadType {
|
|
150
|
+
AMAZON_EMR = "AmazonEmr",
|
|
151
|
+
APACHE_CASSANDRA = "ApacheCassandra",
|
|
152
|
+
APACHE_HADOOP = "ApacheHadoop",
|
|
153
|
+
MEMCACHED = "Memcached",
|
|
154
|
+
NGINX = "Nginx",
|
|
155
|
+
POSTGRE_SQL = "PostgreSql",
|
|
156
|
+
REDIS = "Redis"
|
|
157
|
+
}
|
|
158
|
+
export declare enum MigrationEffort {
|
|
159
|
+
HIGH = "High",
|
|
160
|
+
LOW = "Low",
|
|
161
|
+
MEDIUM = "Medium",
|
|
162
|
+
VERY_LOW = "VeryLow"
|
|
163
|
+
}
|
|
134
164
|
export declare enum MetricName {
|
|
135
165
|
CPU = "Cpu",
|
|
136
166
|
DISK_READ_BYTES_PER_SECOND = "DISK_READ_BYTES_PER_SECOND",
|
|
@@ -302,8 +332,8 @@ export declare enum Currency {
|
|
|
302
332
|
USD = "USD"
|
|
303
333
|
}
|
|
304
334
|
/**
|
|
305
|
-
* <p>Describes the estimated monthly savings amount possible
|
|
306
|
-
*
|
|
335
|
+
* <p>Describes the estimated monthly savings amount possible, based on On-Demand instance
|
|
336
|
+
* pricing, by adopting Compute Optimizer recommendations for a given resource.</p>
|
|
307
337
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/view-ec2-recommendations.html#ec2-savings-calculation">Estimated monthly savings and savings opportunities</a> in the
|
|
308
338
|
* <i>Compute Optimizer User Guide</i>.</p>
|
|
309
339
|
*/
|
|
@@ -344,12 +374,14 @@ export declare namespace EstimatedMonthlySavings {
|
|
|
344
374
|
*/
|
|
345
375
|
export interface SavingsOpportunity {
|
|
346
376
|
/**
|
|
347
|
-
* <p>The estimated monthly savings possible as a percentage of monthly cost
|
|
377
|
+
* <p>The estimated monthly savings possible as a percentage of monthly cost by adopting
|
|
378
|
+
* Compute Optimizer recommendations for a given resource.</p>
|
|
348
379
|
*/
|
|
349
380
|
savingsOpportunityPercentage?: number;
|
|
350
381
|
/**
|
|
351
|
-
* <p>An object that describes the estimated monthly savings amount possible based on
|
|
352
|
-
* On-Demand instance pricing
|
|
382
|
+
* <p>An object that describes the estimated monthly savings amount possible, based on
|
|
383
|
+
* On-Demand instance pricing, by adopting Compute Optimizer recommendations for a given
|
|
384
|
+
* resource.</p>
|
|
353
385
|
*/
|
|
354
386
|
estimatedMonthlySavings?: EstimatedMonthlySavings;
|
|
355
387
|
}
|
|
@@ -407,6 +439,18 @@ export interface AutoScalingGroupRecommendationOption {
|
|
|
407
439
|
* and percentage.</p>
|
|
408
440
|
*/
|
|
409
441
|
savingsOpportunity?: SavingsOpportunity;
|
|
442
|
+
/**
|
|
443
|
+
* <p>The level of effort required to migrate from the current instance type to the
|
|
444
|
+
* recommended instance type.</p>
|
|
445
|
+
*
|
|
446
|
+
* <p>For example, the migration effort is <code>Low</code> if Amazon EMR is the
|
|
447
|
+
* inferred workload type and an Amazon Web Services Graviton instance type is recommended.
|
|
448
|
+
* The migration effort is <code>Medium</code> if a workload type couldn't be inferred but
|
|
449
|
+
* an Amazon Web Services Graviton instance type is recommended. The migration effort is
|
|
450
|
+
* <code>VeryLow</code> if both the current and recommended instance types are of the
|
|
451
|
+
* same CPU architecture.</p>
|
|
452
|
+
*/
|
|
453
|
+
migrationEffort?: MigrationEffort | string;
|
|
410
454
|
}
|
|
411
455
|
export declare namespace AutoScalingGroupRecommendationOption {
|
|
412
456
|
/**
|
|
@@ -488,6 +532,52 @@ export interface AutoScalingGroupRecommendation {
|
|
|
488
532
|
* <p>An object that describes the effective recommendation preferences for the Auto Scaling group.</p>
|
|
489
533
|
*/
|
|
490
534
|
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
|
|
535
|
+
/**
|
|
536
|
+
* <p>The applications that might be running on the instances in the Auto Scaling group
|
|
537
|
+
* as inferred by Compute Optimizer.</p>
|
|
538
|
+
*
|
|
539
|
+
* <p>Compute Optimizer can infer if one of the following applications might be running on
|
|
540
|
+
* the instances:</p>
|
|
541
|
+
*
|
|
542
|
+
* <ul>
|
|
543
|
+
* <li>
|
|
544
|
+
* <p>
|
|
545
|
+
* <code>AmazonEmr</code> - Infers that Amazon EMR might be running on
|
|
546
|
+
* the instances.</p>
|
|
547
|
+
* </li>
|
|
548
|
+
* <li>
|
|
549
|
+
* <p>
|
|
550
|
+
* <code>ApacheCassandra</code> - Infers that Apache Cassandra might be running
|
|
551
|
+
* on the instances.</p>
|
|
552
|
+
* </li>
|
|
553
|
+
* <li>
|
|
554
|
+
* <p>
|
|
555
|
+
* <code>ApacheHadoop</code> - Infers that Apache Hadoop might be running on the
|
|
556
|
+
* instances.</p>
|
|
557
|
+
* </li>
|
|
558
|
+
* <li>
|
|
559
|
+
* <p>
|
|
560
|
+
* <code>Memcached</code> - Infers that Memcached might be running on the
|
|
561
|
+
* instances.</p>
|
|
562
|
+
* </li>
|
|
563
|
+
* <li>
|
|
564
|
+
* <p>
|
|
565
|
+
* <code>NGINX</code> - Infers that NGINX might be running on the
|
|
566
|
+
* instances.</p>
|
|
567
|
+
* </li>
|
|
568
|
+
* <li>
|
|
569
|
+
* <p>
|
|
570
|
+
* <code>PostgreSql</code> - Infers that PostgreSQL might be running on the
|
|
571
|
+
* instances.</p>
|
|
572
|
+
* </li>
|
|
573
|
+
* <li>
|
|
574
|
+
* <p>
|
|
575
|
+
* <code>Redis</code> - Infers that Redis might be running on the
|
|
576
|
+
* instances.</p>
|
|
577
|
+
* </li>
|
|
578
|
+
* </ul>
|
|
579
|
+
*/
|
|
580
|
+
inferredWorkloadTypes?: (InferredWorkloadType | string)[];
|
|
491
581
|
}
|
|
492
582
|
export declare namespace AutoScalingGroupRecommendation {
|
|
493
583
|
/**
|
|
@@ -496,13 +586,15 @@ export declare namespace AutoScalingGroupRecommendation {
|
|
|
496
586
|
const filterSensitiveLog: (obj: AutoScalingGroupRecommendation) => any;
|
|
497
587
|
}
|
|
498
588
|
export declare enum RecommendationPreferenceName {
|
|
499
|
-
ENHANCED_INFRASTRUCTURE_METRICS = "EnhancedInfrastructureMetrics"
|
|
589
|
+
ENHANCED_INFRASTRUCTURE_METRICS = "EnhancedInfrastructureMetrics",
|
|
590
|
+
INFERRED_WORKLOAD_TYPES = "InferredWorkloadTypes"
|
|
500
591
|
}
|
|
501
592
|
export declare enum ResourceType {
|
|
502
593
|
AUTO_SCALING_GROUP = "AutoScalingGroup",
|
|
503
594
|
EBS_VOLUME = "EbsVolume",
|
|
504
595
|
EC2_INSTANCE = "Ec2Instance",
|
|
505
|
-
LAMBDA_FUNCTION = "LambdaFunction"
|
|
596
|
+
LAMBDA_FUNCTION = "LambdaFunction",
|
|
597
|
+
NOT_APPLICABLE = "NotApplicable"
|
|
506
598
|
}
|
|
507
599
|
export declare enum ScopeName {
|
|
508
600
|
ACCOUNT_ID = "AccountId",
|
|
@@ -522,7 +614,9 @@ export declare enum ScopeName {
|
|
|
522
614
|
* Auto Scaling groups only at the resource level by specifying a scope name
|
|
523
615
|
* of <code>ResourceArn</code> and a scope value of the Auto Scaling group Amazon
|
|
524
616
|
* Resource Name (ARN). This will configure the preference for all instances that are
|
|
525
|
-
* part of the specified
|
|
617
|
+
* part of the specified Auto Scaling group. You also cannot create recommendation
|
|
618
|
+
* preferences at the resource level for instances that are part of an Auto Scaling group. You can create recommendation preferences at the resource level only for
|
|
619
|
+
* standalone instances.</p>
|
|
526
620
|
* </note>
|
|
527
621
|
*/
|
|
528
622
|
export interface Scope {
|
|
@@ -880,7 +974,9 @@ export declare enum ExportableAutoScalingGroupField {
|
|
|
880
974
|
CURRENT_VCPUS = "CurrentVCpus",
|
|
881
975
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES = "EffectiveRecommendationPreferencesCpuVendorArchitectures",
|
|
882
976
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics",
|
|
977
|
+
EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES = "EffectiveRecommendationPreferencesInferredWorkloadTypes",
|
|
883
978
|
FINDING = "Finding",
|
|
979
|
+
INFERRED_WORKLOAD_TYPES = "InferredWorkloadTypes",
|
|
884
980
|
LAST_REFRESH_TIMESTAMP = "LastRefreshTimestamp",
|
|
885
981
|
LOOKBACK_PERIOD_IN_DAYS = "LookbackPeriodInDays",
|
|
886
982
|
RECOMMENDATION_OPTIONS_CONFIGURATION_DESIRED_CAPACITY = "RecommendationOptionsConfigurationDesiredCapacity",
|
|
@@ -890,6 +986,7 @@ export declare enum ExportableAutoScalingGroupField {
|
|
|
890
986
|
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY = "RecommendationOptionsEstimatedMonthlySavingsCurrency",
|
|
891
987
|
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE = "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
892
988
|
RECOMMENDATION_OPTIONS_MEMORY = "RecommendationOptionsMemory",
|
|
989
|
+
RECOMMENDATION_OPTIONS_MIGRATION_EFFORT = "RecommendationOptionsMigrationEffort",
|
|
893
990
|
RECOMMENDATION_OPTIONS_NETWORK = "RecommendationOptionsNetwork",
|
|
894
991
|
RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE = "RecommendationOptionsOnDemandPrice",
|
|
895
992
|
RECOMMENDATION_OPTIONS_PERFORMANCE_RISK = "RecommendationOptionsPerformanceRisk",
|
|
@@ -1422,8 +1519,10 @@ export declare enum ExportableInstanceField {
|
|
|
1422
1519
|
CURRENT_VCPUS = "CurrentVCpus",
|
|
1423
1520
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES = "EffectiveRecommendationPreferencesCpuVendorArchitectures",
|
|
1424
1521
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics",
|
|
1522
|
+
EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES = "EffectiveRecommendationPreferencesInferredWorkloadTypes",
|
|
1425
1523
|
FINDING = "Finding",
|
|
1426
1524
|
Finding_Reason_Codes = "FindingReasonCodes",
|
|
1525
|
+
INFERRED_WORKLOAD_TYPES = "InferredWorkloadTypes",
|
|
1427
1526
|
INSTANCE_ARN = "InstanceArn",
|
|
1428
1527
|
INSTANCE_NAME = "InstanceName",
|
|
1429
1528
|
LAST_REFRESH_TIMESTAMP = "LastRefreshTimestamp",
|
|
@@ -1434,6 +1533,7 @@ export declare enum ExportableInstanceField {
|
|
|
1434
1533
|
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE = "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
1435
1534
|
RECOMMENDATION_OPTIONS_INSTANCE_TYPE = "RecommendationOptionsInstanceType",
|
|
1436
1535
|
RECOMMENDATION_OPTIONS_MEMORY = "RecommendationOptionsMemory",
|
|
1536
|
+
RECOMMENDATION_OPTIONS_MIGRATION_EFFORT = "RecommendationOptionsMigrationEffort",
|
|
1437
1537
|
RECOMMENDATION_OPTIONS_NETWORK = "RecommendationOptionsNetwork",
|
|
1438
1538
|
RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE = "RecommendationOptionsOnDemandPrice",
|
|
1439
1539
|
RECOMMENDATION_OPTIONS_PERFORMANCE_RISK = "RecommendationOptionsPerformanceRisk",
|
|
@@ -2294,6 +2394,18 @@ export interface InstanceRecommendationOption {
|
|
|
2294
2394
|
* percentage.</p>
|
|
2295
2395
|
*/
|
|
2296
2396
|
savingsOpportunity?: SavingsOpportunity;
|
|
2397
|
+
/**
|
|
2398
|
+
* <p>The level of effort required to migrate from the current instance type to the
|
|
2399
|
+
* recommended instance type.</p>
|
|
2400
|
+
*
|
|
2401
|
+
* <p>For example, the migration effort is <code>Low</code> if Amazon EMR is the
|
|
2402
|
+
* inferred workload type and an Amazon Web Services Graviton instance type is recommended.
|
|
2403
|
+
* The migration effort is <code>Medium</code> if a workload type couldn't be inferred but
|
|
2404
|
+
* an Amazon Web Services Graviton instance type is recommended. The migration effort is
|
|
2405
|
+
* <code>VeryLow</code> if both the current and recommended instance types are of the
|
|
2406
|
+
* same CPU architecture.</p>
|
|
2407
|
+
*/
|
|
2408
|
+
migrationEffort?: MigrationEffort | string;
|
|
2297
2409
|
}
|
|
2298
2410
|
export declare namespace InstanceRecommendationOption {
|
|
2299
2411
|
/**
|
|
@@ -2606,8 +2718,8 @@ export interface InstanceRecommendation {
|
|
|
2606
2718
|
lastRefreshTimestamp?: Date;
|
|
2607
2719
|
/**
|
|
2608
2720
|
* <p>The risk of the current instance not meeting the performance needs of its workloads.
|
|
2609
|
-
* The higher the risk, the more likely the current
|
|
2610
|
-
*
|
|
2721
|
+
* The higher the risk, the more likely the current instance cannot meet the performance
|
|
2722
|
+
* requirements of its workload.</p>
|
|
2611
2723
|
*/
|
|
2612
2724
|
currentPerformanceRisk?: CurrentPerformanceRisk | string;
|
|
2613
2725
|
/**
|
|
@@ -2615,6 +2727,51 @@ export interface InstanceRecommendation {
|
|
|
2615
2727
|
* instance.</p>
|
|
2616
2728
|
*/
|
|
2617
2729
|
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
|
|
2730
|
+
/**
|
|
2731
|
+
* <p>The applications that might be running on the instance as inferred by Compute Optimizer.</p>
|
|
2732
|
+
*
|
|
2733
|
+
* <p>Compute Optimizer can infer if one of the following applications might be running on
|
|
2734
|
+
* the instance:</p>
|
|
2735
|
+
*
|
|
2736
|
+
* <ul>
|
|
2737
|
+
* <li>
|
|
2738
|
+
* <p>
|
|
2739
|
+
* <code>AmazonEmr</code> - Infers that Amazon EMR might be running on
|
|
2740
|
+
* the instance.</p>
|
|
2741
|
+
* </li>
|
|
2742
|
+
* <li>
|
|
2743
|
+
* <p>
|
|
2744
|
+
* <code>ApacheCassandra</code> - Infers that Apache Cassandra might be running
|
|
2745
|
+
* on the instance.</p>
|
|
2746
|
+
* </li>
|
|
2747
|
+
* <li>
|
|
2748
|
+
* <p>
|
|
2749
|
+
* <code>ApacheHadoop</code> - Infers that Apache Hadoop might be running on the
|
|
2750
|
+
* instance.</p>
|
|
2751
|
+
* </li>
|
|
2752
|
+
* <li>
|
|
2753
|
+
* <p>
|
|
2754
|
+
* <code>Memcached</code> - Infers that Memcached might be running on the
|
|
2755
|
+
* instance.</p>
|
|
2756
|
+
* </li>
|
|
2757
|
+
* <li>
|
|
2758
|
+
* <p>
|
|
2759
|
+
* <code>NGINX</code> - Infers that NGINX might be running on the
|
|
2760
|
+
* instance.</p>
|
|
2761
|
+
* </li>
|
|
2762
|
+
* <li>
|
|
2763
|
+
* <p>
|
|
2764
|
+
* <code>PostgreSql</code> - Infers that PostgreSQL might be running on the
|
|
2765
|
+
* instance.</p>
|
|
2766
|
+
* </li>
|
|
2767
|
+
* <li>
|
|
2768
|
+
* <p>
|
|
2769
|
+
* <code>Redis</code> - Infers that Redis might be running on the
|
|
2770
|
+
* instance.</p>
|
|
2771
|
+
* </li>
|
|
2772
|
+
* </ul>
|
|
2773
|
+
*/
|
|
2774
|
+
inferredWorkloadTypes?: (InferredWorkloadType | string)[];
|
|
2618
2775
|
}
|
|
2619
2776
|
export declare namespace InstanceRecommendation {
|
|
2620
2777
|
/**
|
|
@@ -2808,10 +2965,13 @@ export interface GetEffectiveRecommendationPreferencesResponse {
|
|
|
2808
2965
|
* organization level.</p>
|
|
2809
2966
|
* <p>A status of <code>Active</code> confirms that the preference is applied in the latest
|
|
2810
2967
|
* recommendation refresh, and a status of <code>Inactive</code> confirms that it's not yet
|
|
2811
|
-
* applied.</p>
|
|
2968
|
+
* applied to recommendations.</p>
|
|
2812
2969
|
* <p>To validate whether the preference is applied to your last generated set of
|
|
2813
2970
|
* recommendations, review the <code>effectiveRecommendationPreferences</code> value in the
|
|
2814
2971
|
* response of the <a>GetAutoScalingGroupRecommendations</a> and <a>GetEC2InstanceRecommendations</a> actions.</p>
|
|
2972
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Enhanced
|
|
2973
|
+
* infrastructure metrics</a> in the <i>Compute Optimizer User
|
|
2974
|
+
* Guide</i>.</p>
|
|
2815
2975
|
*/
|
|
2816
2976
|
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
2817
2977
|
}
|
|
@@ -3247,7 +3407,7 @@ export interface LambdaFunctionRecommendation {
|
|
|
3247
3407
|
/**
|
|
3248
3408
|
* <p>The risk of the current Lambda function not meeting the performance needs
|
|
3249
3409
|
* of its workloads. The higher the risk, the more likely the current Lambda
|
|
3250
|
-
* function
|
|
3410
|
+
* function requires more memory.</p>
|
|
3251
3411
|
*/
|
|
3252
3412
|
currentPerformanceRisk?: CurrentPerformanceRisk | string;
|
|
3253
3413
|
}
|
|
@@ -3335,9 +3495,20 @@ export interface RecommendationPreferencesDetail {
|
|
|
3335
3495
|
* <p>The status of the enhanced infrastructure metrics recommendation preference.</p>
|
|
3336
3496
|
* <p>A status of <code>Active</code> confirms that the preference is applied in the latest
|
|
3337
3497
|
* recommendation refresh, and a status of <code>Inactive</code> confirms that it's not yet
|
|
3338
|
-
* applied.</p>
|
|
3498
|
+
* applied to recommendations.</p>
|
|
3499
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Enhanced
|
|
3500
|
+
* infrastructure metrics</a> in the <i>Compute Optimizer User
|
|
3501
|
+
* Guide</i>.</p>
|
|
3339
3502
|
*/
|
|
3340
3503
|
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
3504
|
+
/**
|
|
3505
|
+
* <p>The status of the inferred workload types recommendation preference.</p>
|
|
3506
|
+
*
|
|
3507
|
+
* <p>A status of <code>Active</code> confirms that the preference is applied in the latest
|
|
3508
|
+
* recommendation refresh. A status of <code>Inactive</code> confirms that it's not yet
|
|
3509
|
+
* applied to recommendations.</p>
|
|
3510
|
+
*/
|
|
3511
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference | string;
|
|
3341
3512
|
}
|
|
3342
3513
|
export declare namespace RecommendationPreferencesDetail {
|
|
3343
3514
|
/**
|
|
@@ -3538,18 +3709,38 @@ export interface PutRecommendationPreferencesRequest {
|
|
|
3538
3709
|
* Auto Scaling groups only at the resource level by specifying a scope name
|
|
3539
3710
|
* of <code>ResourceArn</code> and a scope value of the Auto Scaling group Amazon
|
|
3540
3711
|
* Resource Name (ARN). This will configure the preference for all instances that are
|
|
3541
|
-
* part of the specified
|
|
3712
|
+
* part of the specified Auto Scaling group. You also cannot create recommendation
|
|
3713
|
+
* preferences at the resource level for instances that are part of an Auto Scaling group. You can create recommendation preferences at the resource level only for
|
|
3714
|
+
* standalone instances.</p>
|
|
3542
3715
|
* </note>
|
|
3543
3716
|
*/
|
|
3544
3717
|
scope?: Scope;
|
|
3545
3718
|
/**
|
|
3546
3719
|
* <p>The status of the enhanced infrastructure metrics recommendation preference to create
|
|
3547
3720
|
* or update.</p>
|
|
3548
|
-
* <p>
|
|
3549
|
-
*
|
|
3550
|
-
*
|
|
3721
|
+
* <p>Specify the <code>Active</code> status to activate the preference, or specify
|
|
3722
|
+
* <code>Inactive</code> to deactivate the preference.</p>
|
|
3723
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html">Enhanced
|
|
3724
|
+
* infrastructure metrics</a> in the <i>Compute Optimizer User
|
|
3725
|
+
* Guide</i>.</p>
|
|
3551
3726
|
*/
|
|
3552
3727
|
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
3728
|
+
/**
|
|
3729
|
+
* <p>The status of the inferred workload types recommendation preference to create or
|
|
3730
|
+
* update.</p>
|
|
3731
|
+
*
|
|
3732
|
+
* <note>
|
|
3733
|
+
* <p>The inferred workload type feature is active by default. To deactivate it, create
|
|
3734
|
+
* a recommendation preference.</p>
|
|
3735
|
+
* </note>
|
|
3736
|
+
*
|
|
3737
|
+
* <p>Specify the <code>Inactive</code> status to deactivate the feature, or specify
|
|
3738
|
+
* <code>Active</code> to activate it.</p>
|
|
3739
|
+
*
|
|
3740
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/inferred-workload-types.html">Inferred workload
|
|
3741
|
+
* types</a> in the <i>Compute Optimizer User Guide</i>.</p>
|
|
3742
|
+
*/
|
|
3743
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference | string;
|
|
3553
3744
|
}
|
|
3554
3745
|
export declare namespace PutRecommendationPreferencesRequest {
|
|
3555
3746
|
/**
|
|
@@ -55,12 +55,18 @@ export declare enum EnhancedInfrastructureMetrics {
|
|
|
55
55
|
ACTIVE = "Active",
|
|
56
56
|
INACTIVE = "Inactive"
|
|
57
57
|
}
|
|
58
|
+
export declare enum InferredWorkloadTypesPreference {
|
|
59
|
+
ACTIVE = "Active",
|
|
60
|
+
INACTIVE = "Inactive"
|
|
61
|
+
}
|
|
58
62
|
|
|
59
63
|
export interface EffectiveRecommendationPreferences {
|
|
60
64
|
|
|
61
65
|
cpuVendorArchitectures?: (CpuVendorArchitecture | string)[];
|
|
62
66
|
|
|
63
67
|
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
68
|
+
|
|
69
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference | string;
|
|
64
70
|
}
|
|
65
71
|
export declare namespace EffectiveRecommendationPreferences {
|
|
66
72
|
|
|
@@ -72,6 +78,21 @@ export declare enum Finding {
|
|
|
72
78
|
OVER_PROVISIONED = "Overprovisioned",
|
|
73
79
|
UNDER_PROVISIONED = "Underprovisioned"
|
|
74
80
|
}
|
|
81
|
+
export declare enum InferredWorkloadType {
|
|
82
|
+
AMAZON_EMR = "AmazonEmr",
|
|
83
|
+
APACHE_CASSANDRA = "ApacheCassandra",
|
|
84
|
+
APACHE_HADOOP = "ApacheHadoop",
|
|
85
|
+
MEMCACHED = "Memcached",
|
|
86
|
+
NGINX = "Nginx",
|
|
87
|
+
POSTGRE_SQL = "PostgreSql",
|
|
88
|
+
REDIS = "Redis"
|
|
89
|
+
}
|
|
90
|
+
export declare enum MigrationEffort {
|
|
91
|
+
HIGH = "High",
|
|
92
|
+
LOW = "Low",
|
|
93
|
+
MEDIUM = "Medium",
|
|
94
|
+
VERY_LOW = "VeryLow"
|
|
95
|
+
}
|
|
75
96
|
export declare enum MetricName {
|
|
76
97
|
CPU = "Cpu",
|
|
77
98
|
DISK_READ_BYTES_PER_SECOND = "DISK_READ_BYTES_PER_SECOND",
|
|
@@ -143,6 +164,8 @@ export interface AutoScalingGroupRecommendationOption {
|
|
|
143
164
|
rank?: number;
|
|
144
165
|
|
|
145
166
|
savingsOpportunity?: SavingsOpportunity;
|
|
167
|
+
|
|
168
|
+
migrationEffort?: MigrationEffort | string;
|
|
146
169
|
}
|
|
147
170
|
export declare namespace AutoScalingGroupRecommendationOption {
|
|
148
171
|
|
|
@@ -172,19 +195,23 @@ export interface AutoScalingGroupRecommendation {
|
|
|
172
195
|
currentPerformanceRisk?: CurrentPerformanceRisk | string;
|
|
173
196
|
|
|
174
197
|
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
|
|
198
|
+
|
|
199
|
+
inferredWorkloadTypes?: (InferredWorkloadType | string)[];
|
|
175
200
|
}
|
|
176
201
|
export declare namespace AutoScalingGroupRecommendation {
|
|
177
202
|
|
|
178
203
|
const filterSensitiveLog: (obj: AutoScalingGroupRecommendation) => any;
|
|
179
204
|
}
|
|
180
205
|
export declare enum RecommendationPreferenceName {
|
|
181
|
-
ENHANCED_INFRASTRUCTURE_METRICS = "EnhancedInfrastructureMetrics"
|
|
206
|
+
ENHANCED_INFRASTRUCTURE_METRICS = "EnhancedInfrastructureMetrics",
|
|
207
|
+
INFERRED_WORKLOAD_TYPES = "InferredWorkloadTypes"
|
|
182
208
|
}
|
|
183
209
|
export declare enum ResourceType {
|
|
184
210
|
AUTO_SCALING_GROUP = "AutoScalingGroup",
|
|
185
211
|
EBS_VOLUME = "EbsVolume",
|
|
186
212
|
EC2_INSTANCE = "Ec2Instance",
|
|
187
|
-
LAMBDA_FUNCTION = "LambdaFunction"
|
|
213
|
+
LAMBDA_FUNCTION = "LambdaFunction",
|
|
214
|
+
NOT_APPLICABLE = "NotApplicable"
|
|
188
215
|
}
|
|
189
216
|
export declare enum ScopeName {
|
|
190
217
|
ACCOUNT_ID = "AccountId",
|
|
@@ -368,7 +395,9 @@ export declare enum ExportableAutoScalingGroupField {
|
|
|
368
395
|
CURRENT_VCPUS = "CurrentVCpus",
|
|
369
396
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES = "EffectiveRecommendationPreferencesCpuVendorArchitectures",
|
|
370
397
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics",
|
|
398
|
+
EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES = "EffectiveRecommendationPreferencesInferredWorkloadTypes",
|
|
371
399
|
FINDING = "Finding",
|
|
400
|
+
INFERRED_WORKLOAD_TYPES = "InferredWorkloadTypes",
|
|
372
401
|
LAST_REFRESH_TIMESTAMP = "LastRefreshTimestamp",
|
|
373
402
|
LOOKBACK_PERIOD_IN_DAYS = "LookbackPeriodInDays",
|
|
374
403
|
RECOMMENDATION_OPTIONS_CONFIGURATION_DESIRED_CAPACITY = "RecommendationOptionsConfigurationDesiredCapacity",
|
|
@@ -378,6 +407,7 @@ export declare enum ExportableAutoScalingGroupField {
|
|
|
378
407
|
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY = "RecommendationOptionsEstimatedMonthlySavingsCurrency",
|
|
379
408
|
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE = "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
380
409
|
RECOMMENDATION_OPTIONS_MEMORY = "RecommendationOptionsMemory",
|
|
410
|
+
RECOMMENDATION_OPTIONS_MIGRATION_EFFORT = "RecommendationOptionsMigrationEffort",
|
|
381
411
|
RECOMMENDATION_OPTIONS_NETWORK = "RecommendationOptionsNetwork",
|
|
382
412
|
RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE = "RecommendationOptionsOnDemandPrice",
|
|
383
413
|
RECOMMENDATION_OPTIONS_PERFORMANCE_RISK = "RecommendationOptionsPerformanceRisk",
|
|
@@ -563,8 +593,10 @@ export declare enum ExportableInstanceField {
|
|
|
563
593
|
CURRENT_VCPUS = "CurrentVCpus",
|
|
564
594
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES = "EffectiveRecommendationPreferencesCpuVendorArchitectures",
|
|
565
595
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics",
|
|
596
|
+
EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES = "EffectiveRecommendationPreferencesInferredWorkloadTypes",
|
|
566
597
|
FINDING = "Finding",
|
|
567
598
|
Finding_Reason_Codes = "FindingReasonCodes",
|
|
599
|
+
INFERRED_WORKLOAD_TYPES = "InferredWorkloadTypes",
|
|
568
600
|
INSTANCE_ARN = "InstanceArn",
|
|
569
601
|
INSTANCE_NAME = "InstanceName",
|
|
570
602
|
LAST_REFRESH_TIMESTAMP = "LastRefreshTimestamp",
|
|
@@ -575,6 +607,7 @@ export declare enum ExportableInstanceField {
|
|
|
575
607
|
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE = "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
576
608
|
RECOMMENDATION_OPTIONS_INSTANCE_TYPE = "RecommendationOptionsInstanceType",
|
|
577
609
|
RECOMMENDATION_OPTIONS_MEMORY = "RecommendationOptionsMemory",
|
|
610
|
+
RECOMMENDATION_OPTIONS_MIGRATION_EFFORT = "RecommendationOptionsMigrationEffort",
|
|
578
611
|
RECOMMENDATION_OPTIONS_NETWORK = "RecommendationOptionsNetwork",
|
|
579
612
|
RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE = "RecommendationOptionsOnDemandPrice",
|
|
580
613
|
RECOMMENDATION_OPTIONS_PERFORMANCE_RISK = "RecommendationOptionsPerformanceRisk",
|
|
@@ -913,6 +946,8 @@ export interface InstanceRecommendationOption {
|
|
|
913
946
|
rank?: number;
|
|
914
947
|
|
|
915
948
|
savingsOpportunity?: SavingsOpportunity;
|
|
949
|
+
|
|
950
|
+
migrationEffort?: MigrationEffort | string;
|
|
916
951
|
}
|
|
917
952
|
export declare namespace InstanceRecommendationOption {
|
|
918
953
|
|
|
@@ -963,6 +998,8 @@ export interface InstanceRecommendation {
|
|
|
963
998
|
currentPerformanceRisk?: CurrentPerformanceRisk | string;
|
|
964
999
|
|
|
965
1000
|
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
|
|
1001
|
+
|
|
1002
|
+
inferredWorkloadTypes?: (InferredWorkloadType | string)[];
|
|
966
1003
|
}
|
|
967
1004
|
export declare namespace InstanceRecommendation {
|
|
968
1005
|
|
|
@@ -1253,6 +1290,8 @@ export interface RecommendationPreferencesDetail {
|
|
|
1253
1290
|
resourceType?: ResourceType | string;
|
|
1254
1291
|
|
|
1255
1292
|
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
1293
|
+
|
|
1294
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference | string;
|
|
1256
1295
|
}
|
|
1257
1296
|
export declare namespace RecommendationPreferencesDetail {
|
|
1258
1297
|
|
|
@@ -1357,6 +1396,8 @@ export interface PutRecommendationPreferencesRequest {
|
|
|
1357
1396
|
scope?: Scope;
|
|
1358
1397
|
|
|
1359
1398
|
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
1399
|
+
|
|
1400
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference | string;
|
|
1360
1401
|
}
|
|
1361
1402
|
export declare namespace PutRecommendationPreferencesRequest {
|
|
1362
1403
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Compute Optimizer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.48.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.48.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.47.2",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.48.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.47.2",
|
|
25
25
|
"@aws-sdk/hash-node": "3.47.2",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.47.2",
|