aws-sdk-computeoptimizer 1.17.0 → 1.18.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +16 -12
- data/lib/aws-sdk-computeoptimizer/client_api.rb +10 -0
- data/lib/aws-sdk-computeoptimizer/types.rb +456 -48
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8eab0fd3efea66cc7a9b1ac51189526568a314c804d84e4523a174d3b0cee7c3
|
|
4
|
+
data.tar.gz: 48087ec449b942da278e08ab2611c07ee8d5c70684604fd1113e56ed9d9e81d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f49c51ad64cabea01511ac791e852f096454774e9effa7e35400b210b85a8952f1ef26b822234cc5a26f192992f2498ee421c7bee49ec65c247177ec7e88a7a
|
|
7
|
+
data.tar.gz: 73c4b123bc80cc32c9f2a533e2dae624d4daaf5c1282f2768b799d3dd96971273678ca39975782a62ee5ce01cfff4de7418aa3df62426b0f616eaaf132db6504
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.18.0 (2021-05-24)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for 1) additional instance types, 2) additional instance metrics, 3) finding reasons for instance recommendations, and 4) platform differences between a current instance and a recommended instance type.
|
|
8
|
+
|
|
4
9
|
1.17.0 (2021-05-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.18.0
|
|
@@ -511,11 +511,11 @@ module Aws::ComputeOptimizer
|
|
|
511
511
|
# account_ids: ["AccountId"],
|
|
512
512
|
# filters: [
|
|
513
513
|
# {
|
|
514
|
-
# name: "Finding", # accepts Finding, RecommendationSourceType
|
|
514
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
|
515
515
|
# values: ["FilterValue"],
|
|
516
516
|
# },
|
|
517
517
|
# ],
|
|
518
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationInstanceType, CurrentConfigurationDesiredCapacity, CurrentConfigurationMinSize, CurrentConfigurationMaxSize, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsConfigurationInstanceType, RecommendationOptionsConfigurationDesiredCapacity, RecommendationOptionsConfigurationMinSize, RecommendationOptionsConfigurationMaxSize, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, LastRefreshTimestamp
|
|
518
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationInstanceType, CurrentConfigurationDesiredCapacity, CurrentConfigurationMinSize, CurrentConfigurationMaxSize, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsConfigurationInstanceType, RecommendationOptionsConfigurationDesiredCapacity, RecommendationOptionsConfigurationMinSize, RecommendationOptionsConfigurationMaxSize, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, LastRefreshTimestamp
|
|
519
519
|
# s3_destination_config: { # required
|
|
520
520
|
# bucket: "DestinationBucket",
|
|
521
521
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -770,11 +770,11 @@ module Aws::ComputeOptimizer
|
|
|
770
770
|
# account_ids: ["AccountId"],
|
|
771
771
|
# filters: [
|
|
772
772
|
# {
|
|
773
|
-
# name: "Finding", # accepts Finding, RecommendationSourceType
|
|
773
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
|
774
774
|
# values: ["FilterValue"],
|
|
775
775
|
# },
|
|
776
776
|
# ],
|
|
777
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp
|
|
777
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, FindingReasonCodes, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPlatformDifferences, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp
|
|
778
778
|
# s3_destination_config: { # required
|
|
779
779
|
# bucket: "DestinationBucket",
|
|
780
780
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -985,7 +985,7 @@ module Aws::ComputeOptimizer
|
|
|
985
985
|
# max_results: 1,
|
|
986
986
|
# filters: [
|
|
987
987
|
# {
|
|
988
|
-
# name: "Finding", # accepts Finding, RecommendationSourceType
|
|
988
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
|
989
989
|
# values: ["FilterValue"],
|
|
990
990
|
# },
|
|
991
991
|
# ],
|
|
@@ -1000,7 +1000,7 @@ module Aws::ComputeOptimizer
|
|
|
1000
1000
|
# resp.auto_scaling_group_recommendations[0].auto_scaling_group_name #=> String
|
|
1001
1001
|
# resp.auto_scaling_group_recommendations[0].finding #=> String, one of "Underprovisioned", "Overprovisioned", "Optimized", "NotOptimized"
|
|
1002
1002
|
# resp.auto_scaling_group_recommendations[0].utilization_metrics #=> Array
|
|
1003
|
-
# resp.auto_scaling_group_recommendations[0].utilization_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND"
|
|
1003
|
+
# resp.auto_scaling_group_recommendations[0].utilization_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND", "DISK_READ_OPS_PER_SECOND", "DISK_WRITE_OPS_PER_SECOND", "DISK_READ_BYTES_PER_SECOND", "DISK_WRITE_BYTES_PER_SECOND", "NETWORK_IN_BYTES_PER_SECOND", "NETWORK_OUT_BYTES_PER_SECOND", "NETWORK_PACKETS_IN_PER_SECOND", "NETWORK_PACKETS_OUT_PER_SECOND"
|
|
1004
1004
|
# resp.auto_scaling_group_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
1005
1005
|
# resp.auto_scaling_group_recommendations[0].utilization_metrics[0].value #=> Float
|
|
1006
1006
|
# resp.auto_scaling_group_recommendations[0].look_back_period_in_days #=> Float
|
|
@@ -1014,7 +1014,7 @@ module Aws::ComputeOptimizer
|
|
|
1014
1014
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.max_size #=> Integer
|
|
1015
1015
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.instance_type #=> String
|
|
1016
1016
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics #=> Array
|
|
1017
|
-
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND"
|
|
1017
|
+
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND", "DISK_READ_OPS_PER_SECOND", "DISK_WRITE_OPS_PER_SECOND", "DISK_READ_BYTES_PER_SECOND", "DISK_WRITE_BYTES_PER_SECOND", "NETWORK_IN_BYTES_PER_SECOND", "NETWORK_OUT_BYTES_PER_SECOND", "NETWORK_PACKETS_IN_PER_SECOND", "NETWORK_PACKETS_OUT_PER_SECOND"
|
|
1018
1018
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
1019
1019
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].value #=> Float
|
|
1020
1020
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].performance_risk #=> Float
|
|
@@ -1189,7 +1189,7 @@ module Aws::ComputeOptimizer
|
|
|
1189
1189
|
# max_results: 1,
|
|
1190
1190
|
# filters: [
|
|
1191
1191
|
# {
|
|
1192
|
-
# name: "Finding", # accepts Finding, RecommendationSourceType
|
|
1192
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
|
1193
1193
|
# values: ["FilterValue"],
|
|
1194
1194
|
# },
|
|
1195
1195
|
# ],
|
|
@@ -1205,17 +1205,21 @@ module Aws::ComputeOptimizer
|
|
|
1205
1205
|
# resp.instance_recommendations[0].instance_name #=> String
|
|
1206
1206
|
# resp.instance_recommendations[0].current_instance_type #=> String
|
|
1207
1207
|
# resp.instance_recommendations[0].finding #=> String, one of "Underprovisioned", "Overprovisioned", "Optimized", "NotOptimized"
|
|
1208
|
+
# resp.instance_recommendations[0].finding_reason_codes #=> Array
|
|
1209
|
+
# resp.instance_recommendations[0].finding_reason_codes[0] #=> String, one of "CPUOverprovisioned", "CPUUnderprovisioned", "MemoryOverprovisioned", "MemoryUnderprovisioned", "EBSThroughputOverprovisioned", "EBSThroughputUnderprovisioned", "EBSIOPSOverprovisioned", "EBSIOPSUnderprovisioned", "NetworkBandwidthOverprovisioned", "NetworkBandwidthUnderprovisioned", "NetworkPPSOverprovisioned", "NetworkPPSUnderprovisioned", "DiskIOPSOverprovisioned", "DiskIOPSUnderprovisioned", "DiskThroughputOverprovisioned", "DiskThroughputUnderprovisioned"
|
|
1208
1210
|
# resp.instance_recommendations[0].utilization_metrics #=> Array
|
|
1209
|
-
# resp.instance_recommendations[0].utilization_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND"
|
|
1211
|
+
# resp.instance_recommendations[0].utilization_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND", "DISK_READ_OPS_PER_SECOND", "DISK_WRITE_OPS_PER_SECOND", "DISK_READ_BYTES_PER_SECOND", "DISK_WRITE_BYTES_PER_SECOND", "NETWORK_IN_BYTES_PER_SECOND", "NETWORK_OUT_BYTES_PER_SECOND", "NETWORK_PACKETS_IN_PER_SECOND", "NETWORK_PACKETS_OUT_PER_SECOND"
|
|
1210
1212
|
# resp.instance_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
1211
1213
|
# resp.instance_recommendations[0].utilization_metrics[0].value #=> Float
|
|
1212
1214
|
# resp.instance_recommendations[0].look_back_period_in_days #=> Float
|
|
1213
1215
|
# resp.instance_recommendations[0].recommendation_options #=> Array
|
|
1214
1216
|
# resp.instance_recommendations[0].recommendation_options[0].instance_type #=> String
|
|
1215
1217
|
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics #=> Array
|
|
1216
|
-
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND"
|
|
1218
|
+
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND", "DISK_READ_OPS_PER_SECOND", "DISK_WRITE_OPS_PER_SECOND", "DISK_READ_BYTES_PER_SECOND", "DISK_WRITE_BYTES_PER_SECOND", "NETWORK_IN_BYTES_PER_SECOND", "NETWORK_OUT_BYTES_PER_SECOND", "NETWORK_PACKETS_IN_PER_SECOND", "NETWORK_PACKETS_OUT_PER_SECOND"
|
|
1217
1219
|
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
1218
1220
|
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].value #=> Float
|
|
1221
|
+
# resp.instance_recommendations[0].recommendation_options[0].platform_differences #=> Array
|
|
1222
|
+
# resp.instance_recommendations[0].recommendation_options[0].platform_differences[0] #=> String, one of "Hypervisor", "NetworkInterface", "StorageInterface", "InstanceStoreAvailability", "VirtualizationType"
|
|
1219
1223
|
# resp.instance_recommendations[0].recommendation_options[0].performance_risk #=> Float
|
|
1220
1224
|
# resp.instance_recommendations[0].recommendation_options[0].rank #=> Integer
|
|
1221
1225
|
# resp.instance_recommendations[0].recommendation_sources #=> Array
|
|
@@ -1287,7 +1291,7 @@ module Aws::ComputeOptimizer
|
|
|
1287
1291
|
# resp.recommended_option_projected_metrics[0].recommended_instance_type #=> String
|
|
1288
1292
|
# resp.recommended_option_projected_metrics[0].rank #=> Integer
|
|
1289
1293
|
# resp.recommended_option_projected_metrics[0].projected_metrics #=> Array
|
|
1290
|
-
# resp.recommended_option_projected_metrics[0].projected_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND"
|
|
1294
|
+
# resp.recommended_option_projected_metrics[0].projected_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND", "DISK_READ_OPS_PER_SECOND", "DISK_WRITE_OPS_PER_SECOND", "DISK_READ_BYTES_PER_SECOND", "DISK_WRITE_BYTES_PER_SECOND", "NETWORK_IN_BYTES_PER_SECOND", "NETWORK_OUT_BYTES_PER_SECOND", "NETWORK_PACKETS_IN_PER_SECOND", "NETWORK_PACKETS_OUT_PER_SECOND"
|
|
1291
1295
|
# resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps #=> Array
|
|
1292
1296
|
# resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps[0] #=> Time
|
|
1293
1297
|
# resp.recommended_option_projected_metrics[0].projected_metrics[0].values #=> Array
|
|
@@ -1596,7 +1600,7 @@ module Aws::ComputeOptimizer
|
|
|
1596
1600
|
params: params,
|
|
1597
1601
|
config: config)
|
|
1598
1602
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
|
1599
|
-
context[:gem_version] = '1.
|
|
1603
|
+
context[:gem_version] = '1.18.0'
|
|
1600
1604
|
Seahorse::Client::Request.new(handlers, context)
|
|
1601
1605
|
end
|
|
1602
1606
|
|
|
@@ -92,6 +92,8 @@ module Aws::ComputeOptimizer
|
|
|
92
92
|
InstanceArns = Shapes::ListShape.new(name: 'InstanceArns')
|
|
93
93
|
InstanceName = Shapes::StringShape.new(name: 'InstanceName')
|
|
94
94
|
InstanceRecommendation = Shapes::StructureShape.new(name: 'InstanceRecommendation')
|
|
95
|
+
InstanceRecommendationFindingReasonCode = Shapes::StringShape.new(name: 'InstanceRecommendationFindingReasonCode')
|
|
96
|
+
InstanceRecommendationFindingReasonCodes = Shapes::ListShape.new(name: 'InstanceRecommendationFindingReasonCodes')
|
|
95
97
|
InstanceRecommendationOption = Shapes::StructureShape.new(name: 'InstanceRecommendationOption')
|
|
96
98
|
InstanceRecommendations = Shapes::ListShape.new(name: 'InstanceRecommendations')
|
|
97
99
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
|
@@ -142,6 +144,8 @@ module Aws::ComputeOptimizer
|
|
|
142
144
|
OptInRequiredException = Shapes::StructureShape.new(name: 'OptInRequiredException')
|
|
143
145
|
PerformanceRisk = Shapes::FloatShape.new(name: 'PerformanceRisk')
|
|
144
146
|
Period = Shapes::IntegerShape.new(name: 'Period')
|
|
147
|
+
PlatformDifference = Shapes::StringShape.new(name: 'PlatformDifference')
|
|
148
|
+
PlatformDifferences = Shapes::ListShape.new(name: 'PlatformDifferences')
|
|
145
149
|
ProjectedMetric = Shapes::StructureShape.new(name: 'ProjectedMetric')
|
|
146
150
|
ProjectedMetrics = Shapes::ListShape.new(name: 'ProjectedMetrics')
|
|
147
151
|
ProjectedUtilizationMetrics = Shapes::ListShape.new(name: 'ProjectedUtilizationMetrics')
|
|
@@ -404,6 +408,7 @@ module Aws::ComputeOptimizer
|
|
|
404
408
|
InstanceRecommendation.add_member(:instance_name, Shapes::ShapeRef.new(shape: InstanceName, location_name: "instanceName"))
|
|
405
409
|
InstanceRecommendation.add_member(:current_instance_type, Shapes::ShapeRef.new(shape: CurrentInstanceType, location_name: "currentInstanceType"))
|
|
406
410
|
InstanceRecommendation.add_member(:finding, Shapes::ShapeRef.new(shape: Finding, location_name: "finding"))
|
|
411
|
+
InstanceRecommendation.add_member(:finding_reason_codes, Shapes::ShapeRef.new(shape: InstanceRecommendationFindingReasonCodes, location_name: "findingReasonCodes"))
|
|
407
412
|
InstanceRecommendation.add_member(:utilization_metrics, Shapes::ShapeRef.new(shape: UtilizationMetrics, location_name: "utilizationMetrics"))
|
|
408
413
|
InstanceRecommendation.add_member(:look_back_period_in_days, Shapes::ShapeRef.new(shape: LookBackPeriodInDays, location_name: "lookBackPeriodInDays"))
|
|
409
414
|
InstanceRecommendation.add_member(:recommendation_options, Shapes::ShapeRef.new(shape: RecommendationOptions, location_name: "recommendationOptions"))
|
|
@@ -411,8 +416,11 @@ module Aws::ComputeOptimizer
|
|
|
411
416
|
InstanceRecommendation.add_member(:last_refresh_timestamp, Shapes::ShapeRef.new(shape: LastRefreshTimestamp, location_name: "lastRefreshTimestamp"))
|
|
412
417
|
InstanceRecommendation.struct_class = Types::InstanceRecommendation
|
|
413
418
|
|
|
419
|
+
InstanceRecommendationFindingReasonCodes.member = Shapes::ShapeRef.new(shape: InstanceRecommendationFindingReasonCode)
|
|
420
|
+
|
|
414
421
|
InstanceRecommendationOption.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
|
|
415
422
|
InstanceRecommendationOption.add_member(:projected_utilization_metrics, Shapes::ShapeRef.new(shape: ProjectedUtilizationMetrics, location_name: "projectedUtilizationMetrics"))
|
|
423
|
+
InstanceRecommendationOption.add_member(:platform_differences, Shapes::ShapeRef.new(shape: PlatformDifferences, location_name: "platformDifferences"))
|
|
416
424
|
InstanceRecommendationOption.add_member(:performance_risk, Shapes::ShapeRef.new(shape: PerformanceRisk, location_name: "performanceRisk"))
|
|
417
425
|
InstanceRecommendationOption.add_member(:rank, Shapes::ShapeRef.new(shape: Rank, location_name: "rank"))
|
|
418
426
|
InstanceRecommendationOption.struct_class = Types::InstanceRecommendationOption
|
|
@@ -488,6 +496,8 @@ module Aws::ComputeOptimizer
|
|
|
488
496
|
OptInRequiredException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
489
497
|
OptInRequiredException.struct_class = Types::OptInRequiredException
|
|
490
498
|
|
|
499
|
+
PlatformDifferences.member = Shapes::ShapeRef.new(shape: PlatformDifference)
|
|
500
|
+
|
|
491
501
|
ProjectedMetric.add_member(:name, Shapes::ShapeRef.new(shape: MetricName, location_name: "name"))
|
|
492
502
|
ProjectedMetric.add_member(:timestamps, Shapes::ShapeRef.new(shape: Timestamps, location_name: "timestamps"))
|
|
493
503
|
ProjectedMetric.add_member(:values, Shapes::ShapeRef.new(shape: MetricValues, location_name: "values"))
|
|
@@ -70,7 +70,7 @@ module Aws::ComputeOptimizer
|
|
|
70
70
|
# @return [String]
|
|
71
71
|
#
|
|
72
72
|
# @!attribute [rw] finding
|
|
73
|
-
# The finding classification
|
|
73
|
+
# The finding classification of the Auto Scaling group.
|
|
74
74
|
#
|
|
75
75
|
# Findings for Auto Scaling groups include:
|
|
76
76
|
#
|
|
@@ -155,11 +155,20 @@ module Aws::ComputeOptimizer
|
|
|
155
155
|
# The performance risk of the Auto Scaling group configuration
|
|
156
156
|
# recommendation.
|
|
157
157
|
#
|
|
158
|
-
# Performance risk
|
|
159
|
-
# not meeting the
|
|
160
|
-
#
|
|
161
|
-
#
|
|
162
|
-
#
|
|
158
|
+
# Performance risk indicates the likelihood of the recommended
|
|
159
|
+
# instance type not meeting the resource needs of your workload.
|
|
160
|
+
# Compute Optimizer calculates an individual performance risk score
|
|
161
|
+
# for each specification of the recommended instance, including CPU,
|
|
162
|
+
# memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS,
|
|
163
|
+
# network throughput, and network PPS. The performance risk of the
|
|
164
|
+
# recommended instance is calculated as the maximum performance risk
|
|
165
|
+
# score across the analyzed resource specifications.
|
|
166
|
+
#
|
|
167
|
+
# The value ranges from 0 to 5, with 0 meaning that the recommended
|
|
168
|
+
# resource is predicted to always provide enough hardware capability.
|
|
169
|
+
# The higher the performance risk is, the more likely you should
|
|
170
|
+
# validate whether the recommended resource meets the performance
|
|
171
|
+
# requirements of your workload before migrating your resource.
|
|
163
172
|
# @return [Float]
|
|
164
173
|
#
|
|
165
174
|
# @!attribute [rw] rank
|
|
@@ -253,9 +262,14 @@ module Aws::ComputeOptimizer
|
|
|
253
262
|
end
|
|
254
263
|
|
|
255
264
|
# Describes a filter that returns a more specific list of Amazon Elastic
|
|
256
|
-
# Block Store (Amazon EBS) volume recommendations.
|
|
265
|
+
# Block Store (Amazon EBS) volume recommendations. Use this filter with
|
|
266
|
+
# the `GetEBSVolumeRecommendations` action.
|
|
257
267
|
#
|
|
258
|
-
#
|
|
268
|
+
# You can use `LambdaFunctionRecommendationFilter` with the
|
|
269
|
+
# `GetLambdaFunctionRecommendations` action, `JobFilter` with the
|
|
270
|
+
# `DescribeRecommendationExportJobs` action, and `Filter` with the
|
|
271
|
+
# `GetAutoScalingGroupRecommendations` and
|
|
272
|
+
# `GetEC2InstanceRecommendations` actions.
|
|
259
273
|
#
|
|
260
274
|
# @note When making an API call, you may pass EBSFilter
|
|
261
275
|
# data as a hash:
|
|
@@ -269,7 +283,7 @@ module Aws::ComputeOptimizer
|
|
|
269
283
|
# The name of the filter.
|
|
270
284
|
#
|
|
271
285
|
# Specify `Finding` to return recommendations with a specific finding
|
|
272
|
-
# classification (e.g., `
|
|
286
|
+
# classification (e.g., `NotOptimized`).
|
|
273
287
|
# @return [String]
|
|
274
288
|
#
|
|
275
289
|
# @!attribute [rw] values
|
|
@@ -362,11 +376,11 @@ module Aws::ComputeOptimizer
|
|
|
362
376
|
# account_ids: ["AccountId"],
|
|
363
377
|
# filters: [
|
|
364
378
|
# {
|
|
365
|
-
# name: "Finding", # accepts Finding, RecommendationSourceType
|
|
379
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
|
366
380
|
# values: ["FilterValue"],
|
|
367
381
|
# },
|
|
368
382
|
# ],
|
|
369
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationInstanceType, CurrentConfigurationDesiredCapacity, CurrentConfigurationMinSize, CurrentConfigurationMaxSize, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsConfigurationInstanceType, RecommendationOptionsConfigurationDesiredCapacity, RecommendationOptionsConfigurationMinSize, RecommendationOptionsConfigurationMaxSize, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, LastRefreshTimestamp
|
|
383
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationInstanceType, CurrentConfigurationDesiredCapacity, CurrentConfigurationMinSize, CurrentConfigurationMaxSize, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsConfigurationInstanceType, RecommendationOptionsConfigurationDesiredCapacity, RecommendationOptionsConfigurationMinSize, RecommendationOptionsConfigurationMaxSize, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, LastRefreshTimestamp
|
|
370
384
|
# s3_destination_config: { # required
|
|
371
385
|
# bucket: "DestinationBucket",
|
|
372
386
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -654,11 +668,11 @@ module Aws::ComputeOptimizer
|
|
|
654
668
|
# account_ids: ["AccountId"],
|
|
655
669
|
# filters: [
|
|
656
670
|
# {
|
|
657
|
-
# name: "Finding", # accepts Finding, RecommendationSourceType
|
|
671
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
|
658
672
|
# values: ["FilterValue"],
|
|
659
673
|
# },
|
|
660
674
|
# ],
|
|
661
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp
|
|
675
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, FindingReasonCodes, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPlatformDifferences, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp
|
|
662
676
|
# s3_destination_config: { # required
|
|
663
677
|
# bucket: "DestinationBucket",
|
|
664
678
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -920,16 +934,20 @@ module Aws::ComputeOptimizer
|
|
|
920
934
|
end
|
|
921
935
|
|
|
922
936
|
# Describes a filter that returns a more specific list of
|
|
923
|
-
# recommendations.
|
|
924
|
-
#
|
|
925
|
-
# This filter is used with the `GetAutoScalingGroupRecommendations` and
|
|
937
|
+
# recommendations. Use this filter with the
|
|
938
|
+
# `GetAutoScalingGroupRecommendations` and
|
|
926
939
|
# `GetEC2InstanceRecommendations` actions.
|
|
927
940
|
#
|
|
941
|
+
# You can use `EBSFilter` with the `GetEBSVolumeRecommendations` action,
|
|
942
|
+
# `LambdaFunctionRecommendationFilter` with the
|
|
943
|
+
# `GetLambdaFunctionRecommendations` action, and `JobFilter` with the
|
|
944
|
+
# `DescribeRecommendationExportJobs` action.
|
|
945
|
+
#
|
|
928
946
|
# @note When making an API call, you may pass Filter
|
|
929
947
|
# data as a hash:
|
|
930
948
|
#
|
|
931
949
|
# {
|
|
932
|
-
# name: "Finding", # accepts Finding, RecommendationSourceType
|
|
950
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
|
933
951
|
# values: ["FilterValue"],
|
|
934
952
|
# }
|
|
935
953
|
#
|
|
@@ -937,10 +955,13 @@ module Aws::ComputeOptimizer
|
|
|
937
955
|
# The name of the filter.
|
|
938
956
|
#
|
|
939
957
|
# Specify `Finding` to return recommendations with a specific finding
|
|
940
|
-
# classification (e.g., `
|
|
958
|
+
# classification (e.g., `Underprovisioned`).
|
|
941
959
|
#
|
|
942
960
|
# Specify `RecommendationSourceType` to return recommendations of a
|
|
943
|
-
# specific resource type (e.g., `
|
|
961
|
+
# specific resource type (e.g., `Ec2Instance`).
|
|
962
|
+
#
|
|
963
|
+
# Specify `FindingReasonCodes` to return recommendations with a
|
|
964
|
+
# specific finding reason code (e.g., `CPUUnderprovisioned`).
|
|
944
965
|
# @return [String]
|
|
945
966
|
#
|
|
946
967
|
# @!attribute [rw] values
|
|
@@ -950,16 +971,98 @@ module Aws::ComputeOptimizer
|
|
|
950
971
|
# what you specify for the `name` parameter and the resource type that
|
|
951
972
|
# you wish to filter results for:
|
|
952
973
|
#
|
|
953
|
-
# * Specify `Optimized` or `NotOptimized` if you
|
|
974
|
+
# * Specify `Optimized` or `NotOptimized` if you specify the `name`
|
|
954
975
|
# parameter as `Finding` and you want to filter results for Auto
|
|
955
976
|
# Scaling groups.
|
|
956
977
|
#
|
|
957
978
|
# * Specify `Underprovisioned`, `Overprovisioned`, or `Optimized` if
|
|
958
|
-
# you
|
|
979
|
+
# you specify the `name` parameter as `Finding` and you want to
|
|
959
980
|
# filter results for EC2 instances.
|
|
960
981
|
#
|
|
961
|
-
# * Specify `Ec2Instance` or `AutoScalingGroup` if you
|
|
982
|
+
# * Specify `Ec2Instance` or `AutoScalingGroup` if you specify the
|
|
962
983
|
# `name` parameter as `RecommendationSourceType`.
|
|
984
|
+
#
|
|
985
|
+
# * Specify one of the following options if you specify the `name`
|
|
986
|
+
# parameter as `FindingReasonCodes`\:
|
|
987
|
+
#
|
|
988
|
+
# * <b> <code>CPUOverprovisioned</code> </b> — The instance’s CPU
|
|
989
|
+
# configuration can be sized down while still meeting the
|
|
990
|
+
# performance requirements of your workload.
|
|
991
|
+
#
|
|
992
|
+
# * <b> <code>CPUUnderprovisioned</code> </b> — The instance’s CPU
|
|
993
|
+
# configuration doesn't meet the performance requirements of your
|
|
994
|
+
# workload and there is an alternative instance type that provides
|
|
995
|
+
# better CPU performance.
|
|
996
|
+
#
|
|
997
|
+
# * <b> <code>MemoryOverprovisioned</code> </b> — The instance’s
|
|
998
|
+
# memory configuration can be sized down while still meeting the
|
|
999
|
+
# performance requirements of your workload.
|
|
1000
|
+
#
|
|
1001
|
+
# * <b> <code>MemoryUnderprovisioned</code> </b> — The instance’s
|
|
1002
|
+
# memory configuration doesn't meet the performance requirements
|
|
1003
|
+
# of your workload and there is an alternative instance type that
|
|
1004
|
+
# provides better memory performance.
|
|
1005
|
+
#
|
|
1006
|
+
# * <b> <code>EBSThroughputOverprovisioned</code> </b> — The
|
|
1007
|
+
# instance’s EBS throughput configuration can be sized down while
|
|
1008
|
+
# still meeting the performance requirements of your workload.
|
|
1009
|
+
#
|
|
1010
|
+
# * <b> <code>EBSThroughputUnderprovisioned</code> </b> — The
|
|
1011
|
+
# instance’s EBS throughput configuration doesn't meet the
|
|
1012
|
+
# performance requirements of your workload and there is an
|
|
1013
|
+
# alternative instance type that provides better EBS throughput
|
|
1014
|
+
# performance.
|
|
1015
|
+
#
|
|
1016
|
+
# * <b> <code>EBSIOPSOverprovisioned</code> </b> — The instance’s
|
|
1017
|
+
# EBS IOPS configuration can be sized down while still meeting the
|
|
1018
|
+
# performance requirements of your workload.
|
|
1019
|
+
#
|
|
1020
|
+
# * <b> <code>EBSIOPSUnderprovisioned</code> </b> — The instance’s
|
|
1021
|
+
# EBS IOPS configuration doesn't meet the performance
|
|
1022
|
+
# requirements of your workload and there is an alternative
|
|
1023
|
+
# instance type that provides better EBS IOPS performance.
|
|
1024
|
+
#
|
|
1025
|
+
# * <b> <code>NetworkBandwidthOverprovisioned</code> </b> — The
|
|
1026
|
+
# instance’s network bandwidth configuration can be sized down
|
|
1027
|
+
# while still meeting the performance requirements of your
|
|
1028
|
+
# workload.
|
|
1029
|
+
#
|
|
1030
|
+
# * <b> <code>NetworkBandwidthUnderprovisioned</code> </b> — The
|
|
1031
|
+
# instance’s network bandwidth configuration doesn't meet the
|
|
1032
|
+
# performance requirements of your workload and there is an
|
|
1033
|
+
# alternative instance type that provides better network bandwidth
|
|
1034
|
+
# performance. This finding reason happens when the `NetworkIn` or
|
|
1035
|
+
# `NetworkOut` performance of an instance is impacted.
|
|
1036
|
+
#
|
|
1037
|
+
# * <b> <code>NetworkPPSOverprovisioned</code> </b> — The instance’s
|
|
1038
|
+
# network PPS (packets per second) configuration can be sized down
|
|
1039
|
+
# while still meeting the performance requirements of your
|
|
1040
|
+
# workload.
|
|
1041
|
+
#
|
|
1042
|
+
# * <b> <code>NetworkPPSUnderprovisioned</code> </b> — The
|
|
1043
|
+
# instance’s network PPS (packets per second) configuration
|
|
1044
|
+
# doesn't meet the performance requirements of your workload and
|
|
1045
|
+
# there is an alternative instance type that provides better
|
|
1046
|
+
# network PPS performance.
|
|
1047
|
+
#
|
|
1048
|
+
# * <b> <code>DiskIOPSOverprovisioned</code> </b> — The instance’s
|
|
1049
|
+
# disk IOPS configuration can be sized down while still meeting
|
|
1050
|
+
# the performance requirements of your workload.
|
|
1051
|
+
#
|
|
1052
|
+
# * <b> <code>DiskIOPSUnderprovisioned</code> </b> — The instance’s
|
|
1053
|
+
# disk IOPS configuration doesn't meet the performance
|
|
1054
|
+
# requirements of your workload and there is an alternative
|
|
1055
|
+
# instance type that provides better disk IOPS performance.
|
|
1056
|
+
#
|
|
1057
|
+
# * <b> <code>DiskThroughputOverprovisioned</code> </b> — The
|
|
1058
|
+
# instance’s disk throughput configuration can be sized down while
|
|
1059
|
+
# still meeting the performance requirements of your workload.
|
|
1060
|
+
#
|
|
1061
|
+
# * <b> <code>DiskThroughputUnderprovisioned</code> </b> — The
|
|
1062
|
+
# instance’s disk throughput configuration doesn't meet the
|
|
1063
|
+
# performance requirements of your workload and there is an
|
|
1064
|
+
# alternative instance type that provides better disk throughput
|
|
1065
|
+
# performance.
|
|
963
1066
|
# @return [Array<String>]
|
|
964
1067
|
#
|
|
965
1068
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/Filter AWS API Documentation
|
|
@@ -981,7 +1084,7 @@ module Aws::ComputeOptimizer
|
|
|
981
1084
|
# max_results: 1,
|
|
982
1085
|
# filters: [
|
|
983
1086
|
# {
|
|
984
|
-
# name: "Finding", # accepts Finding, RecommendationSourceType
|
|
1087
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
|
985
1088
|
# values: ["FilterValue"],
|
|
986
1089
|
# },
|
|
987
1090
|
# ],
|
|
@@ -1162,7 +1265,7 @@ module Aws::ComputeOptimizer
|
|
|
1162
1265
|
# max_results: 1,
|
|
1163
1266
|
# filters: [
|
|
1164
1267
|
# {
|
|
1165
|
-
# name: "Finding", # accepts Finding, RecommendationSourceType
|
|
1268
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
|
1166
1269
|
# values: ["FilterValue"],
|
|
1167
1270
|
# },
|
|
1168
1271
|
# ],
|
|
@@ -1538,7 +1641,7 @@ module Aws::ComputeOptimizer
|
|
|
1538
1641
|
# @return [String]
|
|
1539
1642
|
#
|
|
1540
1643
|
# @!attribute [rw] finding
|
|
1541
|
-
# The finding classification
|
|
1644
|
+
# The finding classification of the instance.
|
|
1542
1645
|
#
|
|
1543
1646
|
# Findings for instances include:
|
|
1544
1647
|
#
|
|
@@ -1558,12 +1661,156 @@ module Aws::ComputeOptimizer
|
|
|
1558
1661
|
# * <b> <code>Optimized</code> </b>—An instance is considered
|
|
1559
1662
|
# optimized when all specifications of your instance, such as CPU,
|
|
1560
1663
|
# memory, and network, meet the performance requirements of your
|
|
1561
|
-
# workload and is not over provisioned.
|
|
1562
|
-
#
|
|
1563
|
-
# For optimized resources, AWS Compute Optimizer might recommend a
|
|
1564
|
-
# new generation instance type.
|
|
1664
|
+
# workload and is not over provisioned. For optimized resources, AWS
|
|
1665
|
+
# Compute Optimizer might recommend a new generation instance type.
|
|
1565
1666
|
# @return [String]
|
|
1566
1667
|
#
|
|
1668
|
+
# @!attribute [rw] finding_reason_codes
|
|
1669
|
+
# The reason for the finding classification of the instance.
|
|
1670
|
+
#
|
|
1671
|
+
# Finding reason codes for instances include:
|
|
1672
|
+
#
|
|
1673
|
+
# * <b> <code>CPUOverprovisioned</code> </b> — The instance’s CPU
|
|
1674
|
+
# configuration can be sized down while still meeting the
|
|
1675
|
+
# performance requirements of your workload. This is identified by
|
|
1676
|
+
# analyzing the `CPUUtilization` metric of the current instance
|
|
1677
|
+
# during the look-back period.
|
|
1678
|
+
#
|
|
1679
|
+
# * <b> <code>CPUUnderprovisioned</code> </b> — The instance’s CPU
|
|
1680
|
+
# configuration doesn't meet the performance requirements of your
|
|
1681
|
+
# workload and there is an alternative instance type that provides
|
|
1682
|
+
# better CPU performance. This is identified by analyzing the
|
|
1683
|
+
# `CPUUtilization` metric of the current instance during the
|
|
1684
|
+
# look-back period.
|
|
1685
|
+
#
|
|
1686
|
+
# * <b> <code>MemoryOverprovisioned</code> </b> — The instance’s
|
|
1687
|
+
# memory configuration can be sized down while still meeting the
|
|
1688
|
+
# performance requirements of your workload. This is identified by
|
|
1689
|
+
# analyzing the memory utilization metric of the current instance
|
|
1690
|
+
# during the look-back period.
|
|
1691
|
+
#
|
|
1692
|
+
# * <b> <code>MemoryUnderprovisioned</code> </b> — The instance’s
|
|
1693
|
+
# memory configuration doesn't meet the performance requirements of
|
|
1694
|
+
# your workload and there is an alternative instance type that
|
|
1695
|
+
# provides better memory performance. This is identified by
|
|
1696
|
+
# analyzing the memory utilization metric of the current instance
|
|
1697
|
+
# during the look-back period.
|
|
1698
|
+
#
|
|
1699
|
+
# <note markdown="1"> Memory utilization is analyzed only for resources that have the
|
|
1700
|
+
# unified CloudWatch agent installed on them. For more information,
|
|
1701
|
+
# see [Enabling memory utilization with the Amazon CloudWatch
|
|
1702
|
+
# Agent][1] in the *AWS Compute Optimizer User Guide*. On Linux
|
|
1703
|
+
# instances, Compute Optimizer analyses the `mem_used_percent`
|
|
1704
|
+
# metric in the `CWAgent` namespace, or the legacy
|
|
1705
|
+
# `MemoryUtilization` metric in the `System/Linux` namespace. On
|
|
1706
|
+
# Windows instances, Compute Optimizer analyses the `Memory %
|
|
1707
|
+
# Committed Bytes In Use` metric in the `CWAgent` namespace.
|
|
1708
|
+
#
|
|
1709
|
+
# </note>
|
|
1710
|
+
#
|
|
1711
|
+
# * <b> <code>EBSThroughputOverprovisioned</code> </b> — The
|
|
1712
|
+
# instance’s EBS throughput configuration can be sized down while
|
|
1713
|
+
# still meeting the performance requirements of your workload. This
|
|
1714
|
+
# is identified by analyzing the `VolumeReadOps` and
|
|
1715
|
+
# `VolumeWriteOps` metrics of EBS volumes attached to the current
|
|
1716
|
+
# instance during the look-back period.
|
|
1717
|
+
#
|
|
1718
|
+
# * <b> <code>EBSThroughputUnderprovisioned</code> </b> — The
|
|
1719
|
+
# instance’s EBS throughput configuration doesn't meet the
|
|
1720
|
+
# performance requirements of your workload and there is an
|
|
1721
|
+
# alternative instance type that provides better EBS throughput
|
|
1722
|
+
# performance. This is identified by analyzing the `VolumeReadOps`
|
|
1723
|
+
# and `VolumeWriteOps` metrics of EBS volumes attached to the
|
|
1724
|
+
# current instance during the look-back period.
|
|
1725
|
+
#
|
|
1726
|
+
# * <b> <code>EBSIOPSOverprovisioned</code> </b> — The instance’s EBS
|
|
1727
|
+
# IOPS configuration can be sized down while still meeting the
|
|
1728
|
+
# performance requirements of your workload. This is identified by
|
|
1729
|
+
# analyzing the `VolumeReadBytes` and `VolumeWriteBytes` metric of
|
|
1730
|
+
# EBS volumes attached to the current instance during the look-back
|
|
1731
|
+
# period.
|
|
1732
|
+
#
|
|
1733
|
+
# * <b> <code>EBSIOPSUnderprovisioned</code> </b> — The instance’s EBS
|
|
1734
|
+
# IOPS configuration doesn't meet the performance requirements of
|
|
1735
|
+
# your workload and there is an alternative instance type that
|
|
1736
|
+
# provides better EBS IOPS performance. This is identified by
|
|
1737
|
+
# analyzing the `VolumeReadBytes` and `VolumeWriteBytes` metric of
|
|
1738
|
+
# EBS volumes attached to the current instance during the look-back
|
|
1739
|
+
# period.
|
|
1740
|
+
#
|
|
1741
|
+
# * <b> <code>NetworkBandwidthOverprovisioned</code> </b> — The
|
|
1742
|
+
# instance’s network bandwidth configuration can be sized down while
|
|
1743
|
+
# still meeting the performance requirements of your workload. This
|
|
1744
|
+
# is identified by analyzing the `NetworkIn` and `NetworkOut`
|
|
1745
|
+
# metrics of the current instance during the look-back period.
|
|
1746
|
+
#
|
|
1747
|
+
# * <b> <code>NetworkBandwidthUnderprovisioned</code> </b> — The
|
|
1748
|
+
# instance’s network bandwidth configuration doesn't meet the
|
|
1749
|
+
# performance requirements of your workload and there is an
|
|
1750
|
+
# alternative instance type that provides better network bandwidth
|
|
1751
|
+
# performance. This is identified by analyzing the `NetworkIn` and
|
|
1752
|
+
# `NetworkOut` metrics of the current instance during the look-back
|
|
1753
|
+
# period. This finding reason happens when the `NetworkIn` or
|
|
1754
|
+
# `NetworkOut` performance of an instance is impacted.
|
|
1755
|
+
#
|
|
1756
|
+
# * <b> <code>NetworkPPSOverprovisioned</code> </b> — The instance’s
|
|
1757
|
+
# network PPS (packets per second) configuration can be sized down
|
|
1758
|
+
# while still meeting the performance requirements of your workload.
|
|
1759
|
+
# This is identified by analyzing the `NetworkPacketsIn` and
|
|
1760
|
+
# `NetworkPacketsIn` metrics of the current instance during the
|
|
1761
|
+
# look-back period.
|
|
1762
|
+
#
|
|
1763
|
+
# * <b> <code>NetworkPPSUnderprovisioned</code> </b> — The instance’s
|
|
1764
|
+
# network PPS (packets per second) configuration doesn't meet the
|
|
1765
|
+
# performance requirements of your workload and there is an
|
|
1766
|
+
# alternative instance type that provides better network PPS
|
|
1767
|
+
# performance. This is identified by analyzing the
|
|
1768
|
+
# `NetworkPacketsIn` and `NetworkPacketsIn` metrics of the current
|
|
1769
|
+
# instance during the look-back period.
|
|
1770
|
+
#
|
|
1771
|
+
# * <b> <code>DiskIOPSOverprovisioned</code> </b> — The instance’s
|
|
1772
|
+
# disk IOPS configuration can be sized down while still meeting the
|
|
1773
|
+
# performance requirements of your workload. This is identified by
|
|
1774
|
+
# analyzing the `DiskReadOps` and `DiskWriteOps` metrics of the
|
|
1775
|
+
# current instance during the look-back period.
|
|
1776
|
+
#
|
|
1777
|
+
# * <b> <code>DiskIOPSUnderprovisioned</code> </b> — The instance’s
|
|
1778
|
+
# disk IOPS configuration doesn't meet the performance requirements
|
|
1779
|
+
# of your workload and there is an alternative instance type that
|
|
1780
|
+
# provides better disk IOPS performance. This is identified by
|
|
1781
|
+
# analyzing the `DiskReadOps` and `DiskWriteOps` metrics of the
|
|
1782
|
+
# current instance during the look-back period.
|
|
1783
|
+
#
|
|
1784
|
+
# * <b> <code>DiskThroughputOverprovisioned</code> </b> — The
|
|
1785
|
+
# instance’s disk throughput configuration can be sized down while
|
|
1786
|
+
# still meeting the performance requirements of your workload. This
|
|
1787
|
+
# is identified by analyzing the `DiskReadBytes` and
|
|
1788
|
+
# `DiskWriteBytes` metrics of the current instance during the
|
|
1789
|
+
# look-back period.
|
|
1790
|
+
#
|
|
1791
|
+
# * <b> <code>DiskThroughputUnderprovisioned</code> </b> — The
|
|
1792
|
+
# instance’s disk throughput configuration doesn't meet the
|
|
1793
|
+
# performance requirements of your workload and there is an
|
|
1794
|
+
# alternative instance type that provides better disk throughput
|
|
1795
|
+
# performance. This is identified by analyzing the `DiskReadBytes`
|
|
1796
|
+
# and `DiskWriteBytes` metrics of the current instance during the
|
|
1797
|
+
# look-back period.
|
|
1798
|
+
#
|
|
1799
|
+
# <note markdown="1"> For more information about instance metrics, see [List the available
|
|
1800
|
+
# CloudWatch metrics for your instances][2] in the *Amazon Elastic
|
|
1801
|
+
# Compute Cloud User Guide*. For more information about EBS volume
|
|
1802
|
+
# metrics, see [Amazon CloudWatch metrics for Amazon EBS][3] in the
|
|
1803
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
|
1804
|
+
#
|
|
1805
|
+
# </note>
|
|
1806
|
+
#
|
|
1807
|
+
#
|
|
1808
|
+
#
|
|
1809
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent
|
|
1810
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html
|
|
1811
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cloudwatch_ebs.html
|
|
1812
|
+
# @return [Array<String>]
|
|
1813
|
+
#
|
|
1567
1814
|
# @!attribute [rw] utilization_metrics
|
|
1568
1815
|
# An array of objects that describe the utilization metrics of the
|
|
1569
1816
|
# instance.
|
|
@@ -1597,6 +1844,7 @@ module Aws::ComputeOptimizer
|
|
|
1597
1844
|
:instance_name,
|
|
1598
1845
|
:current_instance_type,
|
|
1599
1846
|
:finding,
|
|
1847
|
+
:finding_reason_codes,
|
|
1600
1848
|
:utilization_metrics,
|
|
1601
1849
|
:look_back_period_in_days,
|
|
1602
1850
|
:recommendation_options,
|
|
@@ -1629,14 +1877,110 @@ module Aws::ComputeOptimizer
|
|
|
1629
1877
|
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent
|
|
1630
1878
|
# @return [Array<Types::UtilizationMetric>]
|
|
1631
1879
|
#
|
|
1880
|
+
# @!attribute [rw] platform_differences
|
|
1881
|
+
# Describes the configuration differences between the current instance
|
|
1882
|
+
# and the recommended instance type. You should consider the
|
|
1883
|
+
# configuration differences before migrating your workloads from the
|
|
1884
|
+
# current instance to the recommended instance type. The [Change the
|
|
1885
|
+
# instance type guide for Linux][1] and [Change the instance type
|
|
1886
|
+
# guide for Windows][2] provide general guidance for getting started
|
|
1887
|
+
# with an instance migration.
|
|
1888
|
+
#
|
|
1889
|
+
# Platform differences include:
|
|
1890
|
+
#
|
|
1891
|
+
# * <b> <code>Hypervisor</code> </b> — The hypervisor of the
|
|
1892
|
+
# recommended instance type is different than that of the current
|
|
1893
|
+
# instance. For example, the recommended instance type uses a Nitro
|
|
1894
|
+
# hypervisor and the current instance uses a Xen hypervisor. The
|
|
1895
|
+
# differences that you should consider between these hypervisors are
|
|
1896
|
+
# covered in the [Nitro Hypervisor][3] section of the Amazon EC2
|
|
1897
|
+
# frequently asked questions. For more information, see [Instances
|
|
1898
|
+
# built on the Nitro System][4] in the *Amazon EC2 User Guide for
|
|
1899
|
+
# Linux*, or [Instances built on the Nitro System][5] in the *Amazon
|
|
1900
|
+
# EC2 User Guide for Windows*.
|
|
1901
|
+
#
|
|
1902
|
+
# * <b> <code>NetworkInterface</code> </b> — The network interface of
|
|
1903
|
+
# the recommended instance type is different than that of the
|
|
1904
|
+
# current instance. For example, the recommended instance type
|
|
1905
|
+
# supports enhanced networking and the current instance might not.
|
|
1906
|
+
# To enable enhanced networking for the recommended instance type,
|
|
1907
|
+
# you will need to install the Elastic Network Adapter (ENA) driver
|
|
1908
|
+
# or the Intel 82599 Virtual Function driver. For more information,
|
|
1909
|
+
# see [Networking and storage features][6] and [Enhanced networking
|
|
1910
|
+
# on Linux][7] in the *Amazon EC2 User Guide for Linux*, or
|
|
1911
|
+
# [Networking and storage features][8] and [Enhanced networking on
|
|
1912
|
+
# Windows][9] in the *Amazon EC2 User Guide for Windows*.
|
|
1913
|
+
#
|
|
1914
|
+
# * <b> <code>StorageInterface</code> </b> — The storage interface of
|
|
1915
|
+
# the recommended instance type is different than that of the
|
|
1916
|
+
# current instance. For example, the recommended instance type uses
|
|
1917
|
+
# an NVMe storage interface and the current instance does not. To
|
|
1918
|
+
# access NVMe volumes for the recommended instance type, you will
|
|
1919
|
+
# need to install or upgrade the NVMe driver. For more information,
|
|
1920
|
+
# see [Networking and storage features][6] and [Amazon EBS and NVMe
|
|
1921
|
+
# on Linux instances][10] in the *Amazon EC2 User Guide for Linux*,
|
|
1922
|
+
# or [Networking and storage features][8] and [Amazon EBS and NVMe
|
|
1923
|
+
# on Windows instances][11] in the *Amazon EC2 User Guide for
|
|
1924
|
+
# Windows*.
|
|
1925
|
+
#
|
|
1926
|
+
# * <b> <code>InstanceStoreAvailability</code> </b> — The recommended
|
|
1927
|
+
# instance type does not support instance store volumes and the
|
|
1928
|
+
# current instance does. Before migrating, you might need to back up
|
|
1929
|
+
# the data on your instance store volumes if you want to preserve
|
|
1930
|
+
# them. For more information, see [How do I back up an instance
|
|
1931
|
+
# store volume on my Amazon EC2 instance to Amazon EBS?][12] in the
|
|
1932
|
+
# *AWS Premium Support Knowledge Base*. For more information, see
|
|
1933
|
+
# [Networking and storage features][6] and [Amazon EC2 instance
|
|
1934
|
+
# store][13] in the *Amazon EC2 User Guide for Linux*, or see
|
|
1935
|
+
# [Networking and storage features][8] and [Amazon EC2 instance
|
|
1936
|
+
# store][14] in the *Amazon EC2 User Guide for Windows*.
|
|
1937
|
+
#
|
|
1938
|
+
# * <b> <code>VirtualizationType</code> </b> — The recommended
|
|
1939
|
+
# instance type uses the hardware virtual machine (HVM)
|
|
1940
|
+
# virtualization type and the current instance uses the paravirtual
|
|
1941
|
+
# (PV) virtualization type. For more information about the
|
|
1942
|
+
# differences between these virtualization types, see [Linux AMI
|
|
1943
|
+
# virtualization types][15] in the *Amazon EC2 User Guide for
|
|
1944
|
+
# Linux*, or [Windows AMI virtualization types][16] in the *Amazon
|
|
1945
|
+
# EC2 User Guide for Windows*.
|
|
1946
|
+
#
|
|
1947
|
+
#
|
|
1948
|
+
#
|
|
1949
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
|
|
1950
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-resize.html
|
|
1951
|
+
# [3]: http://aws.amazon.com/ec2/faqs/#Nitro_Hypervisor
|
|
1952
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
|
1953
|
+
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instance-types.html#ec2-nitro-instances
|
|
1954
|
+
# [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#instance-networking-storage
|
|
1955
|
+
# [7]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html
|
|
1956
|
+
# [8]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instance-types.html#instance-networking-storage
|
|
1957
|
+
# [9]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/enhanced-networking.html
|
|
1958
|
+
# [10]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nvme-ebs-volumes.html
|
|
1959
|
+
# [11]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/nvme-ebs-volumes.html
|
|
1960
|
+
# [12]: https://aws.amazon.com/premiumsupport/knowledge-center/back-up-instance-store-ebs/
|
|
1961
|
+
# [13]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html
|
|
1962
|
+
# [14]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/InstanceStorage.html
|
|
1963
|
+
# [15]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/virtualization_types.html
|
|
1964
|
+
# [16]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/windows-ami-version-history.html#virtualization-types
|
|
1965
|
+
# @return [Array<String>]
|
|
1966
|
+
#
|
|
1632
1967
|
# @!attribute [rw] performance_risk
|
|
1633
1968
|
# The performance risk of the instance recommendation option.
|
|
1634
1969
|
#
|
|
1635
|
-
# Performance risk
|
|
1636
|
-
# not meeting the
|
|
1637
|
-
#
|
|
1638
|
-
#
|
|
1639
|
-
#
|
|
1970
|
+
# Performance risk indicates the likelihood of the recommended
|
|
1971
|
+
# instance type not meeting the resource needs of your workload.
|
|
1972
|
+
# Compute Optimizer calculates an individual performance risk score
|
|
1973
|
+
# for each specification of the recommended instance, including CPU,
|
|
1974
|
+
# memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS,
|
|
1975
|
+
# network throughput, and network PPS. The performance risk of the
|
|
1976
|
+
# recommended instance is calculated as the maximum performance risk
|
|
1977
|
+
# score across the analyzed resource specifications.
|
|
1978
|
+
#
|
|
1979
|
+
# The value ranges from `0` to `5`, with `0` meaning that the
|
|
1980
|
+
# recommended resource is predicted to always provide enough hardware
|
|
1981
|
+
# capability. The higher the performance risk is, the more likely you
|
|
1982
|
+
# should validate whether the recommendation will meet the performance
|
|
1983
|
+
# requirements of your workload before migrating your resource.
|
|
1640
1984
|
# @return [Float]
|
|
1641
1985
|
#
|
|
1642
1986
|
# @!attribute [rw] rank
|
|
@@ -1650,6 +1994,7 @@ module Aws::ComputeOptimizer
|
|
|
1650
1994
|
class InstanceRecommendationOption < Struct.new(
|
|
1651
1995
|
:instance_type,
|
|
1652
1996
|
:projected_utilization_metrics,
|
|
1997
|
+
:platform_differences,
|
|
1653
1998
|
:performance_risk,
|
|
1654
1999
|
:rank)
|
|
1655
2000
|
SENSITIVE = []
|
|
@@ -1683,10 +2028,14 @@ module Aws::ComputeOptimizer
|
|
|
1683
2028
|
end
|
|
1684
2029
|
|
|
1685
2030
|
# Describes a filter that returns a more specific list of recommendation
|
|
1686
|
-
# export jobs.
|
|
2031
|
+
# export jobs. Use this filter with the
|
|
2032
|
+
# `DescribeRecommendationExportJobs` action.
|
|
1687
2033
|
#
|
|
1688
|
-
#
|
|
1689
|
-
#
|
|
2034
|
+
# You can use `EBSFilter` with the `GetEBSVolumeRecommendations` action,
|
|
2035
|
+
# `LambdaFunctionRecommendationFilter` with the
|
|
2036
|
+
# `GetLambdaFunctionRecommendations` action, and `Filter` with the
|
|
2037
|
+
# `GetAutoScalingGroupRecommendations` and
|
|
2038
|
+
# `GetEC2InstanceRecommendations` actions.
|
|
1690
2039
|
#
|
|
1691
2040
|
# @note When making an API call, you may pass JobFilter
|
|
1692
2041
|
# data as a hash:
|
|
@@ -1712,13 +2061,13 @@ module Aws::ComputeOptimizer
|
|
|
1712
2061
|
# The valid values for this parameter are as follows, depending on
|
|
1713
2062
|
# what you specify for the `name` parameter:
|
|
1714
2063
|
#
|
|
1715
|
-
# * Specify `Ec2Instance` or `AutoScalingGroup` if you
|
|
2064
|
+
# * Specify `Ec2Instance` or `AutoScalingGroup` if you specify the
|
|
1716
2065
|
# `name` parameter as `ResourceType`. There is no filter for EBS
|
|
1717
2066
|
# volumes because volume recommendations cannot be exported at this
|
|
1718
2067
|
# time.
|
|
1719
2068
|
#
|
|
1720
2069
|
# * Specify `Queued`, `InProgress`, `Complete`, or `Failed` if you
|
|
1721
|
-
#
|
|
2070
|
+
# specify the `name` parameter as `JobStatus`.
|
|
1722
2071
|
# @return [Array<String>]
|
|
1723
2072
|
#
|
|
1724
2073
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/JobFilter AWS API Documentation
|
|
@@ -1822,7 +2171,7 @@ module Aws::ComputeOptimizer
|
|
|
1822
2171
|
# @return [Time]
|
|
1823
2172
|
#
|
|
1824
2173
|
# @!attribute [rw] finding
|
|
1825
|
-
# The finding classification
|
|
2174
|
+
# The finding classification of the function.
|
|
1826
2175
|
#
|
|
1827
2176
|
# Findings for functions include:
|
|
1828
2177
|
#
|
|
@@ -1863,7 +2212,7 @@ module Aws::ComputeOptimizer
|
|
|
1863
2212
|
#
|
|
1864
2213
|
# </note>
|
|
1865
2214
|
#
|
|
1866
|
-
#
|
|
2215
|
+
# Finding reason codes for functions include:
|
|
1867
2216
|
#
|
|
1868
2217
|
# * <b> <code>MemoryOverprovisioned</code> </b> — The function is
|
|
1869
2218
|
# over-provisioned when its memory configuration can be sized down
|
|
@@ -1919,7 +2268,13 @@ module Aws::ComputeOptimizer
|
|
|
1919
2268
|
end
|
|
1920
2269
|
|
|
1921
2270
|
# Describes a filter that returns a more specific list of AWS Lambda
|
|
1922
|
-
# function recommendations.
|
|
2271
|
+
# function recommendations. Use this filter with the
|
|
2272
|
+
# `GetLambdaFunctionRecommendations` action.
|
|
2273
|
+
#
|
|
2274
|
+
# You can use `EBSFilter` with the `GetEBSVolumeRecommendations` action,
|
|
2275
|
+
# `JobFilter` with the `DescribeRecommendationExportJobs` action, and
|
|
2276
|
+
# `Filter` with the `GetAutoScalingGroupRecommendations` and
|
|
2277
|
+
# `GetEC2InstanceRecommendations` actions.
|
|
1923
2278
|
#
|
|
1924
2279
|
# @note When making an API call, you may pass LambdaFunctionRecommendationFilter
|
|
1925
2280
|
# data as a hash:
|
|
@@ -1946,10 +2301,10 @@ module Aws::ComputeOptimizer
|
|
|
1946
2301
|
# what you specify for the `name` parameter:
|
|
1947
2302
|
#
|
|
1948
2303
|
# * Specify `Optimized`, `NotOptimized`, or `Unavailable` if you
|
|
1949
|
-
#
|
|
2304
|
+
# specify the `name` parameter as `Finding`.
|
|
1950
2305
|
#
|
|
1951
2306
|
# * Specify `MemoryOverprovisioned`, `MemoryUnderprovisioned`,
|
|
1952
|
-
# `InsufficientData`, or `Inconclusive` if you
|
|
2307
|
+
# `InsufficientData`, or `Inconclusive` if you specify the `name`
|
|
1953
2308
|
# parameter as `FindingReasonCode`.
|
|
1954
2309
|
# @return [Array<String>]
|
|
1955
2310
|
#
|
|
@@ -2545,6 +2900,56 @@ module Aws::ComputeOptimizer
|
|
|
2545
2900
|
#
|
|
2546
2901
|
# Unit: Bytes
|
|
2547
2902
|
#
|
|
2903
|
+
# * `DISK_READ_OPS_PER_SECOND` - The completed read operations from
|
|
2904
|
+
# all instance store volumes available to the instance in a
|
|
2905
|
+
# specified period of time.
|
|
2906
|
+
#
|
|
2907
|
+
# If there are no instance store volumes, either the value is `0` or
|
|
2908
|
+
# the metric is not reported.
|
|
2909
|
+
#
|
|
2910
|
+
# * `DISK_WRITE_OPS_PER_SECOND` - The completed write operations from
|
|
2911
|
+
# all instance store volumes available to the instance in a
|
|
2912
|
+
# specified period of time.
|
|
2913
|
+
#
|
|
2914
|
+
# If there are no instance store volumes, either the value is `0` or
|
|
2915
|
+
# the metric is not reported.
|
|
2916
|
+
#
|
|
2917
|
+
# * `DISK_READ_BYTES_PER_SECOND` - The bytes read from all instance
|
|
2918
|
+
# store volumes available to the instance. This metric is used to
|
|
2919
|
+
# determine the volume of the data the application reads from the
|
|
2920
|
+
# disk of the instance. This can be used to determine the speed of
|
|
2921
|
+
# the application.
|
|
2922
|
+
#
|
|
2923
|
+
# If there are no instance store volumes, either the value is `0` or
|
|
2924
|
+
# the metric is not reported.
|
|
2925
|
+
#
|
|
2926
|
+
# * `DISK_WRITE_BYTES_PER_SECOND` - The bytes written to all instance
|
|
2927
|
+
# store volumes available to the instance. This metric is used to
|
|
2928
|
+
# determine the volume of the data the application writes onto the
|
|
2929
|
+
# disk of the instance. This can be used to determine the speed of
|
|
2930
|
+
# the application.
|
|
2931
|
+
#
|
|
2932
|
+
# If there are no instance store volumes, either the value is `0` or
|
|
2933
|
+
# the metric is not reported.
|
|
2934
|
+
#
|
|
2935
|
+
# * `NETWORK_IN_BYTES_PER_SECOND` - The number of bytes received by
|
|
2936
|
+
# the instance on all network interfaces. This metric identifies the
|
|
2937
|
+
# volume of incoming network traffic to a single instance.
|
|
2938
|
+
#
|
|
2939
|
+
# * `NETWORK_OUT_BYTES_PER_SECOND` - The number of bytes sent out by
|
|
2940
|
+
# the instance on all network interfaces. This metric identifies the
|
|
2941
|
+
# volume of outgoing network traffic from a single instance.
|
|
2942
|
+
#
|
|
2943
|
+
# * `NETWORK_PACKETS_IN_PER_SECOND` - The number of packets received
|
|
2944
|
+
# by the instance on all network interfaces. This metric identifies
|
|
2945
|
+
# the volume of incoming traffic in terms of the number of packets
|
|
2946
|
+
# on a single instance.
|
|
2947
|
+
#
|
|
2948
|
+
# * `NETWORK_PACKETS_OUT_PER_SECOND` - The number of packets sent out
|
|
2949
|
+
# by the instance on all network interfaces. This metric identifies
|
|
2950
|
+
# the volume of outgoing traffic in terms of the number of packets
|
|
2951
|
+
# on a single instance.
|
|
2952
|
+
#
|
|
2548
2953
|
#
|
|
2549
2954
|
#
|
|
2550
2955
|
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent
|
|
@@ -2646,7 +3051,7 @@ module Aws::ComputeOptimizer
|
|
|
2646
3051
|
# @return [Types::VolumeConfiguration]
|
|
2647
3052
|
#
|
|
2648
3053
|
# @!attribute [rw] finding
|
|
2649
|
-
# The finding classification
|
|
3054
|
+
# The finding classification of the volume.
|
|
2650
3055
|
#
|
|
2651
3056
|
# Findings for volumes include:
|
|
2652
3057
|
#
|
|
@@ -2706,10 +3111,13 @@ module Aws::ComputeOptimizer
|
|
|
2706
3111
|
# The performance risk of the volume recommendation option.
|
|
2707
3112
|
#
|
|
2708
3113
|
# Performance risk is the likelihood of the recommended volume type
|
|
2709
|
-
#
|
|
3114
|
+
# meeting the performance requirement of your workload.
|
|
2710
3115
|
#
|
|
2711
|
-
# The
|
|
2712
|
-
#
|
|
3116
|
+
# The value ranges from `0` to `5`, with `0` meaning that the
|
|
3117
|
+
# recommended resource is predicted to always provide enough hardware
|
|
3118
|
+
# capability. The higher the performance risk is, the more likely you
|
|
3119
|
+
# should validate whether the recommendation will meet the performance
|
|
3120
|
+
# requirements of your workload before migrating your resource.
|
|
2713
3121
|
# @return [Float]
|
|
2714
3122
|
#
|
|
2715
3123
|
# @!attribute [rw] rank
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-computeoptimizer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.18.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-05-
|
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|