aws-sdk-computeoptimizer 1.38.0 → 1.39.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e73d1890bb9328da070157b4e14fb14aa439c99e192e8611dc833a6b8e81e59
4
- data.tar.gz: b9e159a376cadf8e2cda78817ba89c1074c3f785371ec36bc91c1fbad917d242
3
+ metadata.gz: dc37673e8bbff255da26ea03f56d5383f045cb05877404565a0d9e2ae73f8a31
4
+ data.tar.gz: 7a08ce204b27a51e3cb3765afa824ffe0d2adc060119d7d9b0fb06ec7ccaea9c
5
5
  SHA512:
6
- metadata.gz: 5ac7a72a522d5587726205c8caefa73108fb1ea0d7e9ff79b823b640e468884ea6a60d56935a7d670adceece1d1f9e227baac6050a8798bc32a76e85a9612c18
7
- data.tar.gz: e5346e7cd21ee3303ef12766de3481252fbccc2672878a4b15612b9cb194a33e2ca1ee7de2e6a3fc6653415a213ead9c52aba35206d1f7e609d4bfeddab0e717
6
+ metadata.gz: ffe4544b135c41c075b3ca3f1ab3f7f7bee7d51c399a9f69d8f091460d23f94c675e859a94a1393311f24813be1615fd1e37170c9e9030ca792459baea20ab11
7
+ data.tar.gz: f8862a9fe7f2e27a13151b5332a21b4d04788af2706f061f414bff4f45dd1c73affe5c4d2faf66d5fab41424942b6e412c06e0a239417d2d53cfe90eb45e6b9c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.39.0 (2023-03-30)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for HDD EBS volume types and io2 Block Express. We are also adding support for 61 new instance types and instances that have non consecutive runtime.
8
+
4
9
  1.38.0 (2023-02-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.38.0
1
+ 1.39.0
@@ -758,7 +758,7 @@ module Aws::ComputeOptimizer
758
758
  # values: ["FilterValue"],
759
759
  # },
760
760
  # ],
761
- # fields_to_export: ["AccountId"], # accepts AccountId, VolumeArn, Finding, UtilizationMetricsVolumeReadOpsPerSecondMaximum, UtilizationMetricsVolumeWriteOpsPerSecondMaximum, UtilizationMetricsVolumeReadBytesPerSecondMaximum, UtilizationMetricsVolumeWriteBytesPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationVolumeType, CurrentConfigurationVolumeBaselineIOPS, CurrentConfigurationVolumeBaselineThroughput, CurrentConfigurationVolumeBurstIOPS, CurrentConfigurationVolumeBurstThroughput, CurrentConfigurationVolumeSize, CurrentMonthlyPrice, RecommendationOptionsConfigurationVolumeType, RecommendationOptionsConfigurationVolumeBaselineIOPS, RecommendationOptionsConfigurationVolumeBaselineThroughput, RecommendationOptionsConfigurationVolumeBurstIOPS, RecommendationOptionsConfigurationVolumeBurstThroughput, RecommendationOptionsConfigurationVolumeSize, RecommendationOptionsMonthlyPrice, RecommendationOptionsPerformanceRisk, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue
761
+ # fields_to_export: ["AccountId"], # accepts AccountId, VolumeArn, Finding, UtilizationMetricsVolumeReadOpsPerSecondMaximum, UtilizationMetricsVolumeWriteOpsPerSecondMaximum, UtilizationMetricsVolumeReadBytesPerSecondMaximum, UtilizationMetricsVolumeWriteBytesPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationVolumeType, CurrentConfigurationVolumeBaselineIOPS, CurrentConfigurationVolumeBaselineThroughput, CurrentConfigurationVolumeBurstIOPS, CurrentConfigurationVolumeBurstThroughput, CurrentConfigurationVolumeSize, CurrentMonthlyPrice, RecommendationOptionsConfigurationVolumeType, RecommendationOptionsConfigurationVolumeBaselineIOPS, RecommendationOptionsConfigurationVolumeBaselineThroughput, RecommendationOptionsConfigurationVolumeBurstIOPS, RecommendationOptionsConfigurationVolumeBurstThroughput, RecommendationOptionsConfigurationVolumeSize, RecommendationOptionsMonthlyPrice, RecommendationOptionsPerformanceRisk, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, RootVolume
762
762
  # s3_destination_config: { # required
763
763
  # bucket: "DestinationBucket",
764
764
  # key_prefix: "DestinationKeyPrefix",
@@ -890,7 +890,7 @@ module Aws::ComputeOptimizer
890
890
  # values: ["FilterValue"],
891
891
  # },
892
892
  # ],
893
- # 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, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort, EffectiveRecommendationPreferencesExternalMetricsSource
893
+ # 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, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort, EffectiveRecommendationPreferencesExternalMetricsSource, InstanceState
894
894
  # s3_destination_config: { # required
895
895
  # bucket: "DestinationBucket",
896
896
  # key_prefix: "DestinationKeyPrefix",
@@ -1375,6 +1375,7 @@ module Aws::ComputeOptimizer
1375
1375
  # resp.volume_recommendations[0].current_configuration.volume_burst_iops #=> Integer
1376
1376
  # resp.volume_recommendations[0].current_configuration.volume_baseline_throughput #=> Integer
1377
1377
  # resp.volume_recommendations[0].current_configuration.volume_burst_throughput #=> Integer
1378
+ # resp.volume_recommendations[0].current_configuration.root_volume #=> Boolean
1378
1379
  # resp.volume_recommendations[0].finding #=> String, one of "Optimized", "NotOptimized"
1379
1380
  # resp.volume_recommendations[0].utilization_metrics #=> Array
1380
1381
  # resp.volume_recommendations[0].utilization_metrics[0].name #=> String, one of "VolumeReadOpsPerSecond", "VolumeWriteOpsPerSecond", "VolumeReadBytesPerSecond", "VolumeWriteBytesPerSecond"
@@ -1388,6 +1389,7 @@ module Aws::ComputeOptimizer
1388
1389
  # resp.volume_recommendations[0].volume_recommendation_options[0].configuration.volume_burst_iops #=> Integer
1389
1390
  # resp.volume_recommendations[0].volume_recommendation_options[0].configuration.volume_baseline_throughput #=> Integer
1390
1391
  # resp.volume_recommendations[0].volume_recommendation_options[0].configuration.volume_burst_throughput #=> Integer
1392
+ # resp.volume_recommendations[0].volume_recommendation_options[0].configuration.root_volume #=> Boolean
1391
1393
  # resp.volume_recommendations[0].volume_recommendation_options[0].performance_risk #=> Float
1392
1394
  # resp.volume_recommendations[0].volume_recommendation_options[0].rank #=> Integer
1393
1395
  # resp.volume_recommendations[0].volume_recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
@@ -1518,6 +1520,7 @@ module Aws::ComputeOptimizer
1518
1520
  # resp.instance_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
1519
1521
  # resp.instance_recommendations[0].inferred_workload_types #=> Array
1520
1522
  # resp.instance_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis", "Kafka"
1523
+ # resp.instance_recommendations[0].instance_state #=> String, one of "pending", "running", "shutting-down", "terminated", "stopping", "stopped"
1521
1524
  # resp.errors #=> Array
1522
1525
  # resp.errors[0].identifier #=> String
1523
1526
  # resp.errors[0].code #=> String
@@ -2416,7 +2419,7 @@ module Aws::ComputeOptimizer
2416
2419
  params: params,
2417
2420
  config: config)
2418
2421
  context[:gem_name] = 'aws-sdk-computeoptimizer'
2419
- context[:gem_version] = '1.38.0'
2422
+ context[:gem_version] = '1.39.0'
2420
2423
  Seahorse::Client::Request.new(handlers, context)
2421
2424
  end
2422
2425
 
@@ -159,6 +159,7 @@ module Aws::ComputeOptimizer
159
159
  InstanceRecommendationFindingReasonCodes = Shapes::ListShape.new(name: 'InstanceRecommendationFindingReasonCodes')
160
160
  InstanceRecommendationOption = Shapes::StructureShape.new(name: 'InstanceRecommendationOption')
161
161
  InstanceRecommendations = Shapes::ListShape.new(name: 'InstanceRecommendations')
162
+ InstanceState = Shapes::StringShape.new(name: 'InstanceState')
162
163
  InstanceType = Shapes::StringShape.new(name: 'InstanceType')
163
164
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
164
165
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
@@ -246,6 +247,7 @@ module Aws::ComputeOptimizer
246
247
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
247
248
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
248
249
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
250
+ RootVolume = Shapes::BooleanShape.new(name: 'RootVolume')
249
251
  S3Destination = Shapes::StructureShape.new(name: 'S3Destination')
250
252
  S3DestinationConfig = Shapes::StructureShape.new(name: 'S3DestinationConfig')
251
253
  SavingsOpportunity = Shapes::StructureShape.new(name: 'SavingsOpportunity')
@@ -703,6 +705,7 @@ module Aws::ComputeOptimizer
703
705
  InstanceRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
704
706
  InstanceRecommendation.add_member(:effective_recommendation_preferences, Shapes::ShapeRef.new(shape: EffectiveRecommendationPreferences, location_name: "effectiveRecommendationPreferences"))
705
707
  InstanceRecommendation.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypes, location_name: "inferredWorkloadTypes"))
708
+ InstanceRecommendation.add_member(:instance_state, Shapes::ShapeRef.new(shape: InstanceState, location_name: "instanceState"))
706
709
  InstanceRecommendation.struct_class = Types::InstanceRecommendation
707
710
 
708
711
  InstanceRecommendationFindingReasonCodes.member = Shapes::ShapeRef.new(shape: InstanceRecommendationFindingReasonCode)
@@ -935,6 +938,7 @@ module Aws::ComputeOptimizer
935
938
  VolumeConfiguration.add_member(:volume_burst_iops, Shapes::ShapeRef.new(shape: VolumeBurstIOPS, location_name: "volumeBurstIOPS"))
936
939
  VolumeConfiguration.add_member(:volume_baseline_throughput, Shapes::ShapeRef.new(shape: VolumeBaselineThroughput, location_name: "volumeBaselineThroughput"))
937
940
  VolumeConfiguration.add_member(:volume_burst_throughput, Shapes::ShapeRef.new(shape: VolumeBurstThroughput, location_name: "volumeBurstThroughput"))
941
+ VolumeConfiguration.add_member(:root_volume, Shapes::ShapeRef.new(shape: RootVolume, location_name: "rootVolume"))
938
942
  VolumeConfiguration.struct_class = Types::VolumeConfiguration
939
943
 
940
944
  VolumeRecommendation.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeArn, location_name: "volumeArn"))
@@ -50,9 +50,6 @@ module Aws::ComputeOptimizer
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::ComputeOptimizer
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -1764,7 +1764,7 @@ module Aws::ComputeOptimizer
1764
1764
  # `name` parameter as `RecommendationSourceType`.
1765
1765
  #
1766
1766
  # * Specify one of the following options if you specify the `name`
1767
- # parameter as `FindingReasonCodes`\:
1767
+ # parameter as `FindingReasonCodes`:
1768
1768
  #
1769
1769
  # * <b> <code>CPUOverprovisioned</code> </b> — The instance’s CPU
1770
1770
  # configuration can be sized down while still meeting the
@@ -2752,31 +2752,31 @@ module Aws::ComputeOptimizer
2752
2752
  # * <b> <code>EBSThroughputOverprovisioned</code> </b> — The
2753
2753
  # instance’s EBS throughput configuration can be sized down while
2754
2754
  # still meeting the performance requirements of your workload. This
2755
- # is identified by analyzing the `VolumeReadOps` and
2756
- # `VolumeWriteOps` metrics of EBS volumes attached to the current
2755
+ # is identified by analyzing the `VolumeReadBytes` and
2756
+ # `VolumeWriteBytes` metrics of EBS volumes attached to the current
2757
2757
  # instance during the look-back period.
2758
2758
  #
2759
2759
  # * <b> <code>EBSThroughputUnderprovisioned</code> </b> — The
2760
2760
  # instance’s EBS throughput configuration doesn't meet the
2761
2761
  # performance requirements of your workload and there is an
2762
2762
  # alternative instance type that provides better EBS throughput
2763
- # performance. This is identified by analyzing the `VolumeReadOps`
2764
- # and `VolumeWriteOps` metrics of EBS volumes attached to the
2763
+ # performance. This is identified by analyzing the `VolumeReadBytes`
2764
+ # and `VolumeWriteBytes`&gt; metrics of EBS volumes attached to the
2765
2765
  # current instance during the look-back period.
2766
2766
  #
2767
2767
  # * <b> <code>EBSIOPSOverprovisioned</code> </b> — The instance’s EBS
2768
2768
  # IOPS configuration can be sized down while still meeting the
2769
2769
  # performance requirements of your workload. This is identified by
2770
- # analyzing the `VolumeReadBytes` and `VolumeWriteBytes` metric of
2771
- # EBS volumes attached to the current instance during the look-back
2770
+ # analyzing the `VolumeReadOps` and `VolumeWriteOps` metric of EBS
2771
+ # volumes attached to the current instance during the look-back
2772
2772
  # period.
2773
2773
  #
2774
2774
  # * <b> <code>EBSIOPSUnderprovisioned</code> </b> — The instance’s EBS
2775
2775
  # IOPS configuration doesn't meet the performance requirements of
2776
2776
  # your workload and there is an alternative instance type that
2777
2777
  # provides better EBS IOPS performance. This is identified by
2778
- # analyzing the `VolumeReadBytes` and `VolumeWriteBytes` metric of
2779
- # EBS volumes attached to the current instance during the look-back
2778
+ # analyzing the `VolumeReadOps` and `VolumeWriteOps` metric of EBS
2779
+ # volumes attached to the current instance during the look-back
2780
2780
  # period.
2781
2781
  #
2782
2782
  # * <b> <code>NetworkBandwidthOverprovisioned</code> </b> — The
@@ -2917,6 +2917,10 @@ module Aws::ComputeOptimizer
2917
2917
  # * `Kafka` - Infers that Kafka might be running on the instance.
2918
2918
  # @return [Array<String>]
2919
2919
  #
2920
+ # @!attribute [rw] instance_state
2921
+ # The state of the instance when the recommendation was generated.
2922
+ # @return [String]
2923
+ #
2920
2924
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/InstanceRecommendation AWS API Documentation
2921
2925
  #
2922
2926
  class InstanceRecommendation < Struct.new(
@@ -2933,7 +2937,8 @@ module Aws::ComputeOptimizer
2933
2937
  :last_refresh_timestamp,
2934
2938
  :current_performance_risk,
2935
2939
  :effective_recommendation_preferences,
2936
- :inferred_workload_types)
2940
+ :inferred_workload_types,
2941
+ :instance_state)
2937
2942
  SENSITIVE = []
2938
2943
  include Aws::Structure
2939
2944
  end
@@ -4538,6 +4543,10 @@ module Aws::ComputeOptimizer
4538
4543
  # The burst throughput of the volume.
4539
4544
  # @return [Integer]
4540
4545
  #
4546
+ # @!attribute [rw] root_volume
4547
+ # Contains the image used to boot the instance during launch.
4548
+ # @return [Boolean]
4549
+ #
4541
4550
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/VolumeConfiguration AWS API Documentation
4542
4551
  #
4543
4552
  class VolumeConfiguration < Struct.new(
@@ -4546,7 +4555,8 @@ module Aws::ComputeOptimizer
4546
4555
  :volume_baseline_iops,
4547
4556
  :volume_burst_iops,
4548
4557
  :volume_baseline_throughput,
4549
- :volume_burst_throughput)
4558
+ :volume_burst_throughput,
4559
+ :root_volume)
4550
4560
  SENSITIVE = []
4551
4561
  include Aws::Structure
4552
4562
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-computeoptimizer/customizations'
52
52
  # @!group service
53
53
  module Aws::ComputeOptimizer
54
54
 
55
- GEM_VERSION = '1.38.0'
55
+ GEM_VERSION = '1.39.0'
56
56
 
57
57
  end
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.38.0
4
+ version: 1.39.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: 2023-02-06 00:00:00.000000000 Z
11
+ date: 2023-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core