aws-sdk-computeoptimizer 1.29.0 → 1.32.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: bc1e4eb27dba50b105bca61492a5b37993687f8775b54a3f253dfe7cab54bf4a
4
- data.tar.gz: ef7bae409e19b2a348faf8a2523386c0a74aeba79d0919c0262bce4be5ade3cc
3
+ metadata.gz: a56dab03a392cfae8c689c7469424b7d4f5b8bcd71fff00975b3509d53bce4ed
4
+ data.tar.gz: 12d2fdddaba5f680298c48fdaf999c94768ca9a9a7278ad961481be7e031d1a4
5
5
  SHA512:
6
- metadata.gz: 0e40fa663d8e7889830a50ac8abaff19ad2c9ab73359b4b03bd23645d42f178a0c06076ab0b8d5742fd4aeefd002ca14157156a2dcf304f07bc14f97f098c359
7
- data.tar.gz: 11a89f02532bb2edce23cad5b1e2135b14d8bcfe14a7e1c5501faf0d4eb6ceb22e4c17ed4a8920c768489a5f15d91fa9339cb2565d38e72de78a75e33387017e
6
+ metadata.gz: 5039bd5bd733513063e499bec6b286a0cfddab3bf199a2fd5201bd0ad890cba735f2478059121755e251a661d46a001930d3f057b6c1a2c98a163f2466f143cc
7
+ data.tar.gz: ec5a4be9fdd1fa781efe9fe8d15b2a01a54f76d47e4f9a6df0ebf83df5c3f3b659317a4e161cd25fcfedf42292024df3381be48bf108937b0434a7835f381b0b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.32.0 (2022-02-24)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.31.0 (2022-02-03)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.30.0 (2022-01-10)
15
+ ------------------
16
+
17
+ * Feature - Adds support for new Compute Optimizer capability that makes it easier for customers to optimize their EC2 instances by leveraging multiple CPU architectures.
18
+
4
19
  1.29.0 (2021-12-21)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.32.0
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
31
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
32
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
33
35
 
@@ -74,7 +76,9 @@ module Aws::ComputeOptimizer
74
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
75
77
  add_plugin(Aws::Plugins::TransferEncoding)
76
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
77
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
+ add_plugin(Aws::Plugins::RecursionDetection)
78
82
  add_plugin(Aws::Plugins::SignatureV4)
79
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
80
84
 
@@ -401,12 +405,12 @@ module Aws::ComputeOptimizer
401
405
  # @example Request syntax with placeholder values
402
406
  #
403
407
  # resp = client.delete_recommendation_preferences({
404
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction
408
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable
405
409
  # scope: {
406
410
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
407
411
  # value: "ScopeValue",
408
412
  # },
409
- # recommendation_preference_names: ["EnhancedInfrastructureMetrics"], # required, accepts EnhancedInfrastructureMetrics
413
+ # recommendation_preference_names: ["EnhancedInfrastructureMetrics"], # required, accepts EnhancedInfrastructureMetrics, InferredWorkloadTypes
410
414
  # })
411
415
  #
412
416
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DeleteRecommendationPreferences AWS API Documentation
@@ -474,7 +478,7 @@ module Aws::ComputeOptimizer
474
478
  # resp.recommendation_export_jobs[0].destination.s3.bucket #=> String
475
479
  # resp.recommendation_export_jobs[0].destination.s3.key #=> String
476
480
  # resp.recommendation_export_jobs[0].destination.s3.metadata_key #=> String
477
- # resp.recommendation_export_jobs[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction"
481
+ # resp.recommendation_export_jobs[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable"
478
482
  # resp.recommendation_export_jobs[0].status #=> String, one of "Queued", "InProgress", "Complete", "Failed"
479
483
  # resp.recommendation_export_jobs[0].creation_timestamp #=> Time
480
484
  # resp.recommendation_export_jobs[0].last_updated_timestamp #=> Time
@@ -600,7 +604,7 @@ module Aws::ComputeOptimizer
600
604
  # values: ["FilterValue"],
601
605
  # },
602
606
  # ],
603
- # 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, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics
607
+ # 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, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort
604
608
  # s3_destination_config: { # required
605
609
  # bucket: "DestinationBucket",
606
610
  # key_prefix: "DestinationKeyPrefix",
@@ -866,7 +870,7 @@ module Aws::ComputeOptimizer
866
870
  # values: ["FilterValue"],
867
871
  # },
868
872
  # ],
869
- # 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
873
+ # 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
870
874
  # s3_destination_config: { # required
871
875
  # bucket: "DestinationBucket",
872
876
  # key_prefix: "DestinationKeyPrefix",
@@ -1124,11 +1128,15 @@ module Aws::ComputeOptimizer
1124
1128
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
1125
1129
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
1126
1130
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
1131
+ # resp.auto_scaling_group_recommendations[0].recommendation_options[0].migration_effort #=> String, one of "VeryLow", "Low", "Medium", "High"
1127
1132
  # resp.auto_scaling_group_recommendations[0].last_refresh_timestamp #=> Time
1128
1133
  # resp.auto_scaling_group_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
1129
1134
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures #=> Array
1130
1135
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures[0] #=> String, one of "AWS_ARM64", "CURRENT"
1131
1136
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
1137
+ # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.inferred_workload_types #=> String, one of "Active", "Inactive"
1138
+ # resp.auto_scaling_group_recommendations[0].inferred_workload_types #=> Array
1139
+ # resp.auto_scaling_group_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis"
1132
1140
  # resp.errors #=> Array
1133
1141
  # resp.errors[0].identifier #=> String
1134
1142
  # resp.errors[0].code #=> String
@@ -1346,6 +1354,7 @@ module Aws::ComputeOptimizer
1346
1354
  # resp.instance_recommendations[0].recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
1347
1355
  # resp.instance_recommendations[0].recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
1348
1356
  # resp.instance_recommendations[0].recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
1357
+ # resp.instance_recommendations[0].recommendation_options[0].migration_effort #=> String, one of "VeryLow", "Low", "Medium", "High"
1349
1358
  # resp.instance_recommendations[0].recommendation_sources #=> Array
1350
1359
  # resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_arn #=> String
1351
1360
  # resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction"
@@ -1354,6 +1363,9 @@ module Aws::ComputeOptimizer
1354
1363
  # resp.instance_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures #=> Array
1355
1364
  # resp.instance_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures[0] #=> String, one of "AWS_ARM64", "CURRENT"
1356
1365
  # resp.instance_recommendations[0].effective_recommendation_preferences.enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
1366
+ # resp.instance_recommendations[0].effective_recommendation_preferences.inferred_workload_types #=> String, one of "Active", "Inactive"
1367
+ # resp.instance_recommendations[0].inferred_workload_types #=> Array
1368
+ # resp.instance_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis"
1357
1369
  # resp.errors #=> Array
1358
1370
  # resp.errors[0].identifier #=> String
1359
1371
  # resp.errors[0].code #=> String
@@ -1735,7 +1747,7 @@ module Aws::ComputeOptimizer
1735
1747
  # @example Request syntax with placeholder values
1736
1748
  #
1737
1749
  # resp = client.get_recommendation_preferences({
1738
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction
1750
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable
1739
1751
  # scope: {
1740
1752
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
1741
1753
  # value: "ScopeValue",
@@ -1750,8 +1762,9 @@ module Aws::ComputeOptimizer
1750
1762
  # resp.recommendation_preferences_details #=> Array
1751
1763
  # resp.recommendation_preferences_details[0].scope.name #=> String, one of "Organization", "AccountId", "ResourceArn"
1752
1764
  # resp.recommendation_preferences_details[0].scope.value #=> String
1753
- # resp.recommendation_preferences_details[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction"
1765
+ # resp.recommendation_preferences_details[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable"
1754
1766
  # resp.recommendation_preferences_details[0].enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
1767
+ # resp.recommendation_preferences_details[0].inferred_workload_types #=> String, one of "Active", "Inactive"
1755
1768
  #
1756
1769
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationPreferences AWS API Documentation
1757
1770
  #
@@ -1872,8 +1885,11 @@ module Aws::ComputeOptimizer
1872
1885
  # preferences for Auto Scaling groups only at the resource level by
1873
1886
  # specifying a scope name of `ResourceArn` and a scope value of the Auto
1874
1887
  # Scaling group Amazon Resource Name (ARN). This will configure the
1875
- # preference for all instances that are part of the specified the Auto
1876
- # Scaling group.
1888
+ # preference for all instances that are part of the specified Auto
1889
+ # Scaling group. You also cannot create recommendation preferences at
1890
+ # the resource level for instances that are part of an Auto Scaling
1891
+ # group. You can create recommendation preferences at the resource level
1892
+ # only for standalone instances.
1877
1893
  #
1878
1894
  # </note>
1879
1895
  #
@@ -1885,21 +1901,47 @@ module Aws::ComputeOptimizer
1885
1901
  # The status of the enhanced infrastructure metrics recommendation
1886
1902
  # preference to create or update.
1887
1903
  #
1888
- # A status of `Active` confirms that the preference is applied in the
1889
- # latest recommendation refresh, and a status of `Inactive` confirms
1890
- # that it's not yet applied.
1904
+ # Specify the `Active` status to activate the preference, or specify
1905
+ # `Inactive` to deactivate the preference.
1906
+ #
1907
+ # For more information, see [Enhanced infrastructure metrics][1] in the
1908
+ # *Compute Optimizer User Guide*.
1909
+ #
1910
+ #
1911
+ #
1912
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html
1913
+ #
1914
+ # @option params [String] :inferred_workload_types
1915
+ # The status of the inferred workload types recommendation preference to
1916
+ # create or update.
1917
+ #
1918
+ # <note markdown="1"> The inferred workload type feature is active by default. To deactivate
1919
+ # it, create a recommendation preference.
1920
+ #
1921
+ # </note>
1922
+ #
1923
+ # Specify the `Inactive` status to deactivate the feature, or specify
1924
+ # `Active` to activate it.
1925
+ #
1926
+ # For more information, see [Inferred workload types][1] in the *Compute
1927
+ # Optimizer User Guide*.
1928
+ #
1929
+ #
1930
+ #
1931
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/inferred-workload-types.html
1891
1932
  #
1892
1933
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1893
1934
  #
1894
1935
  # @example Request syntax with placeholder values
1895
1936
  #
1896
1937
  # resp = client.put_recommendation_preferences({
1897
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction
1938
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable
1898
1939
  # scope: {
1899
1940
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
1900
1941
  # value: "ScopeValue",
1901
1942
  # },
1902
1943
  # enhanced_infrastructure_metrics: "Active", # accepts Active, Inactive
1944
+ # inferred_workload_types: "Active", # accepts Active, Inactive
1903
1945
  # })
1904
1946
  #
1905
1947
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/PutRecommendationPreferences AWS API Documentation
@@ -2000,7 +2042,7 @@ module Aws::ComputeOptimizer
2000
2042
  params: params,
2001
2043
  config: config)
2002
2044
  context[:gem_name] = 'aws-sdk-computeoptimizer'
2003
- context[:gem_version] = '1.29.0'
2045
+ context[:gem_version] = '1.32.0'
2004
2046
  Seahorse::Client::Request.new(handlers, context)
2005
2047
  end
2006
2048
 
@@ -110,6 +110,9 @@ module Aws::ComputeOptimizer
110
110
  High = Shapes::IntegerShape.new(name: 'High')
111
111
  Identifier = Shapes::StringShape.new(name: 'Identifier')
112
112
  IncludeMemberAccounts = Shapes::BooleanShape.new(name: 'IncludeMemberAccounts')
113
+ InferredWorkloadType = Shapes::StringShape.new(name: 'InferredWorkloadType')
114
+ InferredWorkloadTypes = Shapes::ListShape.new(name: 'InferredWorkloadTypes')
115
+ InferredWorkloadTypesPreference = Shapes::StringShape.new(name: 'InferredWorkloadTypesPreference')
113
116
  InstanceArn = Shapes::StringShape.new(name: 'InstanceArn')
114
117
  InstanceArns = Shapes::ListShape.new(name: 'InstanceArns')
115
118
  InstanceName = Shapes::StringShape.new(name: 'InstanceName')
@@ -161,6 +164,7 @@ module Aws::ComputeOptimizer
161
164
  MetricStatistic = Shapes::StringShape.new(name: 'MetricStatistic')
162
165
  MetricValue = Shapes::FloatShape.new(name: 'MetricValue')
163
166
  MetricValues = Shapes::ListShape.new(name: 'MetricValues')
167
+ MigrationEffort = Shapes::StringShape.new(name: 'MigrationEffort')
164
168
  MinSize = Shapes::IntegerShape.new(name: 'MinSize')
165
169
  MissingAuthenticationToken = Shapes::StructureShape.new(name: 'MissingAuthenticationToken')
166
170
  NextToken = Shapes::StringShape.new(name: 'NextToken')
@@ -267,6 +271,7 @@ module Aws::ComputeOptimizer
267
271
  AutoScalingGroupRecommendation.add_member(:last_refresh_timestamp, Shapes::ShapeRef.new(shape: LastRefreshTimestamp, location_name: "lastRefreshTimestamp"))
268
272
  AutoScalingGroupRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
269
273
  AutoScalingGroupRecommendation.add_member(:effective_recommendation_preferences, Shapes::ShapeRef.new(shape: EffectiveRecommendationPreferences, location_name: "effectiveRecommendationPreferences"))
274
+ AutoScalingGroupRecommendation.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypes, location_name: "inferredWorkloadTypes"))
270
275
  AutoScalingGroupRecommendation.struct_class = Types::AutoScalingGroupRecommendation
271
276
 
272
277
  AutoScalingGroupRecommendationOption.add_member(:configuration, Shapes::ShapeRef.new(shape: AutoScalingGroupConfiguration, location_name: "configuration"))
@@ -274,6 +279,7 @@ module Aws::ComputeOptimizer
274
279
  AutoScalingGroupRecommendationOption.add_member(:performance_risk, Shapes::ShapeRef.new(shape: PerformanceRisk, location_name: "performanceRisk"))
275
280
  AutoScalingGroupRecommendationOption.add_member(:rank, Shapes::ShapeRef.new(shape: Rank, location_name: "rank"))
276
281
  AutoScalingGroupRecommendationOption.add_member(:savings_opportunity, Shapes::ShapeRef.new(shape: SavingsOpportunity, location_name: "savingsOpportunity"))
282
+ AutoScalingGroupRecommendationOption.add_member(:migration_effort, Shapes::ShapeRef.new(shape: MigrationEffort, location_name: "migrationEffort"))
277
283
  AutoScalingGroupRecommendationOption.struct_class = Types::AutoScalingGroupRecommendationOption
278
284
 
279
285
  AutoScalingGroupRecommendationOptions.member = Shapes::ShapeRef.new(shape: AutoScalingGroupRecommendationOption)
@@ -320,6 +326,7 @@ module Aws::ComputeOptimizer
320
326
 
321
327
  EffectiveRecommendationPreferences.add_member(:cpu_vendor_architectures, Shapes::ShapeRef.new(shape: CpuVendorArchitectures, location_name: "cpuVendorArchitectures"))
322
328
  EffectiveRecommendationPreferences.add_member(:enhanced_infrastructure_metrics, Shapes::ShapeRef.new(shape: EnhancedInfrastructureMetrics, location_name: "enhancedInfrastructureMetrics"))
329
+ EffectiveRecommendationPreferences.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypesPreference, location_name: "inferredWorkloadTypes"))
323
330
  EffectiveRecommendationPreferences.struct_class = Types::EffectiveRecommendationPreferences
324
331
 
325
332
  EnrollmentFilter.add_member(:name, Shapes::ShapeRef.new(shape: EnrollmentFilterName, location_name: "name"))
@@ -513,6 +520,8 @@ module Aws::ComputeOptimizer
513
520
  GetRecommendationSummariesResponse.add_member(:recommendation_summaries, Shapes::ShapeRef.new(shape: RecommendationSummaries, location_name: "recommendationSummaries"))
514
521
  GetRecommendationSummariesResponse.struct_class = Types::GetRecommendationSummariesResponse
515
522
 
523
+ InferredWorkloadTypes.member = Shapes::ShapeRef.new(shape: InferredWorkloadType)
524
+
516
525
  InstanceArns.member = Shapes::ShapeRef.new(shape: InstanceArn)
517
526
 
518
527
  InstanceRecommendation.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "instanceArn"))
@@ -528,6 +537,7 @@ module Aws::ComputeOptimizer
528
537
  InstanceRecommendation.add_member(:last_refresh_timestamp, Shapes::ShapeRef.new(shape: LastRefreshTimestamp, location_name: "lastRefreshTimestamp"))
529
538
  InstanceRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
530
539
  InstanceRecommendation.add_member(:effective_recommendation_preferences, Shapes::ShapeRef.new(shape: EffectiveRecommendationPreferences, location_name: "effectiveRecommendationPreferences"))
540
+ InstanceRecommendation.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypes, location_name: "inferredWorkloadTypes"))
531
541
  InstanceRecommendation.struct_class = Types::InstanceRecommendation
532
542
 
533
543
  InstanceRecommendationFindingReasonCodes.member = Shapes::ShapeRef.new(shape: InstanceRecommendationFindingReasonCode)
@@ -538,6 +548,7 @@ module Aws::ComputeOptimizer
538
548
  InstanceRecommendationOption.add_member(:performance_risk, Shapes::ShapeRef.new(shape: PerformanceRisk, location_name: "performanceRisk"))
539
549
  InstanceRecommendationOption.add_member(:rank, Shapes::ShapeRef.new(shape: Rank, location_name: "rank"))
540
550
  InstanceRecommendationOption.add_member(:savings_opportunity, Shapes::ShapeRef.new(shape: SavingsOpportunity, location_name: "savingsOpportunity"))
551
+ InstanceRecommendationOption.add_member(:migration_effort, Shapes::ShapeRef.new(shape: MigrationEffort, location_name: "migrationEffort"))
541
552
  InstanceRecommendationOption.struct_class = Types::InstanceRecommendationOption
542
553
 
543
554
  InstanceRecommendations.member = Shapes::ShapeRef.new(shape: InstanceRecommendation)
@@ -627,6 +638,7 @@ module Aws::ComputeOptimizer
627
638
  PutRecommendationPreferencesRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
628
639
  PutRecommendationPreferencesRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, location_name: "scope"))
629
640
  PutRecommendationPreferencesRequest.add_member(:enhanced_infrastructure_metrics, Shapes::ShapeRef.new(shape: EnhancedInfrastructureMetrics, location_name: "enhancedInfrastructureMetrics"))
641
+ PutRecommendationPreferencesRequest.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypesPreference, location_name: "inferredWorkloadTypes"))
630
642
  PutRecommendationPreferencesRequest.struct_class = Types::PutRecommendationPreferencesRequest
631
643
 
632
644
  PutRecommendationPreferencesResponse.struct_class = Types::PutRecommendationPreferencesResponse
@@ -658,6 +670,7 @@ module Aws::ComputeOptimizer
658
670
  RecommendationPreferencesDetail.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, location_name: "scope"))
659
671
  RecommendationPreferencesDetail.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
660
672
  RecommendationPreferencesDetail.add_member(:enhanced_infrastructure_metrics, Shapes::ShapeRef.new(shape: EnhancedInfrastructureMetrics, location_name: "enhancedInfrastructureMetrics"))
673
+ RecommendationPreferencesDetail.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypesPreference, location_name: "inferredWorkloadTypes"))
661
674
  RecommendationPreferencesDetail.struct_class = Types::RecommendationPreferencesDetail
662
675
 
663
676
  RecommendationPreferencesDetails.member = Shapes::ShapeRef.new(shape: RecommendationPreferencesDetail)
@@ -158,6 +158,33 @@ module Aws::ComputeOptimizer
158
158
  # for the Auto Scaling group.
159
159
  # @return [Types::EffectiveRecommendationPreferences]
160
160
  #
161
+ # @!attribute [rw] inferred_workload_types
162
+ # The applications that might be running on the instances in the Auto
163
+ # Scaling group as inferred by Compute Optimizer.
164
+ #
165
+ # Compute Optimizer can infer if one of the following applications
166
+ # might be running on the instances:
167
+ #
168
+ # * `AmazonEmr` - Infers that Amazon EMR might be running on the
169
+ # instances.
170
+ #
171
+ # * `ApacheCassandra` - Infers that Apache Cassandra might be running
172
+ # on the instances.
173
+ #
174
+ # * `ApacheHadoop` - Infers that Apache Hadoop might be running on the
175
+ # instances.
176
+ #
177
+ # * `Memcached` - Infers that Memcached might be running on the
178
+ # instances.
179
+ #
180
+ # * `NGINX` - Infers that NGINX might be running on the instances.
181
+ #
182
+ # * `PostgreSql` - Infers that PostgreSQL might be running on the
183
+ # instances.
184
+ #
185
+ # * `Redis` - Infers that Redis might be running on the instances.
186
+ # @return [Array<String>]
187
+ #
161
188
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/AutoScalingGroupRecommendation AWS API Documentation
162
189
  #
163
190
  class AutoScalingGroupRecommendation < Struct.new(
@@ -171,7 +198,8 @@ module Aws::ComputeOptimizer
171
198
  :recommendation_options,
172
199
  :last_refresh_timestamp,
173
200
  :current_performance_risk,
174
- :effective_recommendation_preferences)
201
+ :effective_recommendation_preferences,
202
+ :inferred_workload_types)
175
203
  SENSITIVE = []
176
204
  include Aws::Structure
177
205
  end
@@ -232,6 +260,19 @@ module Aws::ComputeOptimizer
232
260
  # the estimated monthly savings amount and percentage.
233
261
  # @return [Types::SavingsOpportunity]
234
262
  #
263
+ # @!attribute [rw] migration_effort
264
+ # The level of effort required to migrate from the current instance
265
+ # type to the recommended instance type.
266
+ #
267
+ # For example, the migration effort is `Low` if Amazon EMR is the
268
+ # inferred workload type and an Amazon Web Services Graviton instance
269
+ # type is recommended. The migration effort is `Medium` if a workload
270
+ # type couldn't be inferred but an Amazon Web Services Graviton
271
+ # instance type is recommended. The migration effort is `VeryLow` if
272
+ # both the current and recommended instance types are of the same CPU
273
+ # architecture.
274
+ # @return [String]
275
+ #
235
276
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/AutoScalingGroupRecommendationOption AWS API Documentation
236
277
  #
237
278
  class AutoScalingGroupRecommendationOption < Struct.new(
@@ -239,7 +280,8 @@ module Aws::ComputeOptimizer
239
280
  :projected_utilization_metrics,
240
281
  :performance_risk,
241
282
  :rank,
242
- :savings_opportunity)
283
+ :savings_opportunity,
284
+ :migration_effort)
243
285
  SENSITIVE = []
244
286
  include Aws::Structure
245
287
  end
@@ -285,12 +327,12 @@ module Aws::ComputeOptimizer
285
327
  # data as a hash:
286
328
  #
287
329
  # {
288
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction
330
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable
289
331
  # scope: {
290
332
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
291
333
  # value: "ScopeValue",
292
334
  # },
293
- # recommendation_preference_names: ["EnhancedInfrastructureMetrics"], # required, accepts EnhancedInfrastructureMetrics
335
+ # recommendation_preference_names: ["EnhancedInfrastructureMetrics"], # required, accepts EnhancedInfrastructureMetrics, InferredWorkloadTypes
294
336
  # }
295
337
  #
296
338
  # @!attribute [rw] resource_type
@@ -550,14 +592,31 @@ module Aws::ComputeOptimizer
550
592
  #
551
593
  # A status of `Active` confirms that the preference is applied in the
552
594
  # latest recommendation refresh, and a status of `Inactive` confirms
553
- # that it's not yet applied.
595
+ # that it's not yet applied to recommendations.
596
+ #
597
+ # For more information, see [Enhanced infrastructure metrics][1] in
598
+ # the *Compute Optimizer User Guide*.
599
+ #
600
+ #
601
+ #
602
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html
603
+ # @return [String]
604
+ #
605
+ # @!attribute [rw] inferred_workload_types
606
+ # Describes the activation status of the inferred workload types
607
+ # preference.
608
+ #
609
+ # A status of `Active` confirms that the preference is applied in the
610
+ # latest recommendation refresh. A status of `Inactive` confirms that
611
+ # it's not yet applied to recommendations.
554
612
  # @return [String]
555
613
  #
556
614
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/EffectiveRecommendationPreferences AWS API Documentation
557
615
  #
558
616
  class EffectiveRecommendationPreferences < Struct.new(
559
617
  :cpu_vendor_architectures,
560
- :enhanced_infrastructure_metrics)
618
+ :enhanced_infrastructure_metrics,
619
+ :inferred_workload_types)
561
620
  SENSITIVE = []
562
621
  include Aws::Structure
563
622
  end
@@ -596,8 +655,9 @@ module Aws::ComputeOptimizer
596
655
  include Aws::Structure
597
656
  end
598
657
 
599
- # Describes the estimated monthly savings amount possible for a given
600
- # resource based on On-Demand instance pricing
658
+ # Describes the estimated monthly savings amount possible, based on
659
+ # On-Demand instance pricing, by adopting Compute Optimizer
660
+ # recommendations for a given resource.
601
661
  #
602
662
  # For more information, see [Estimated monthly savings and savings
603
663
  # opportunities][1] in the *Compute Optimizer User Guide*.
@@ -634,7 +694,7 @@ module Aws::ComputeOptimizer
634
694
  # values: ["FilterValue"],
635
695
  # },
636
696
  # ],
637
- # 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, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics
697
+ # 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, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort
638
698
  # s3_destination_config: { # required
639
699
  # bucket: "DestinationBucket",
640
700
  # key_prefix: "DestinationKeyPrefix",
@@ -935,7 +995,7 @@ module Aws::ComputeOptimizer
935
995
  # values: ["FilterValue"],
936
996
  # },
937
997
  # ],
938
- # 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
998
+ # 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
939
999
  # s3_destination_config: { # required
940
1000
  # bucket: "DestinationBucket",
941
1001
  # key_prefix: "DestinationKeyPrefix",
@@ -1729,13 +1789,20 @@ module Aws::ComputeOptimizer
1729
1789
  #
1730
1790
  # A status of `Active` confirms that the preference is applied in the
1731
1791
  # latest recommendation refresh, and a status of `Inactive` confirms
1732
- # that it's not yet applied.
1792
+ # that it's not yet applied to recommendations.
1733
1793
  #
1734
1794
  # To validate whether the preference is applied to your last generated
1735
1795
  # set of recommendations, review the
1736
1796
  # `effectiveRecommendationPreferences` value in the response of the
1737
1797
  # GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations
1738
1798
  # actions.
1799
+ #
1800
+ # For more information, see [Enhanced infrastructure metrics][1] in
1801
+ # the *Compute Optimizer User Guide*.
1802
+ #
1803
+ #
1804
+ #
1805
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html
1739
1806
  # @return [String]
1740
1807
  #
1741
1808
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEffectiveRecommendationPreferencesResponse AWS API Documentation
@@ -1983,7 +2050,7 @@ module Aws::ComputeOptimizer
1983
2050
  # data as a hash:
1984
2051
  #
1985
2052
  # {
1986
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction
2053
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable
1987
2054
  # scope: {
1988
2055
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
1989
2056
  # value: "ScopeValue",
@@ -2341,7 +2408,7 @@ module Aws::ComputeOptimizer
2341
2408
  # @!attribute [rw] current_performance_risk
2342
2409
  # The risk of the current instance not meeting the performance needs
2343
2410
  # of its workloads. The higher the risk, the more likely the current
2344
- # Lambda function requires more memory.
2411
+ # instance cannot meet the performance requirements of its workload.
2345
2412
  # @return [String]
2346
2413
  #
2347
2414
  # @!attribute [rw] effective_recommendation_preferences
@@ -2349,6 +2416,33 @@ module Aws::ComputeOptimizer
2349
2416
  # for the instance.
2350
2417
  # @return [Types::EffectiveRecommendationPreferences]
2351
2418
  #
2419
+ # @!attribute [rw] inferred_workload_types
2420
+ # The applications that might be running on the instance as inferred
2421
+ # by Compute Optimizer.
2422
+ #
2423
+ # Compute Optimizer can infer if one of the following applications
2424
+ # might be running on the instance:
2425
+ #
2426
+ # * `AmazonEmr` - Infers that Amazon EMR might be running on the
2427
+ # instance.
2428
+ #
2429
+ # * `ApacheCassandra` - Infers that Apache Cassandra might be running
2430
+ # on the instance.
2431
+ #
2432
+ # * `ApacheHadoop` - Infers that Apache Hadoop might be running on the
2433
+ # instance.
2434
+ #
2435
+ # * `Memcached` - Infers that Memcached might be running on the
2436
+ # instance.
2437
+ #
2438
+ # * `NGINX` - Infers that NGINX might be running on the instance.
2439
+ #
2440
+ # * `PostgreSql` - Infers that PostgreSQL might be running on the
2441
+ # instance.
2442
+ #
2443
+ # * `Redis` - Infers that Redis might be running on the instance.
2444
+ # @return [Array<String>]
2445
+ #
2352
2446
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/InstanceRecommendation AWS API Documentation
2353
2447
  #
2354
2448
  class InstanceRecommendation < Struct.new(
@@ -2364,7 +2458,8 @@ module Aws::ComputeOptimizer
2364
2458
  :recommendation_sources,
2365
2459
  :last_refresh_timestamp,
2366
2460
  :current_performance_risk,
2367
- :effective_recommendation_preferences)
2461
+ :effective_recommendation_preferences,
2462
+ :inferred_workload_types)
2368
2463
  SENSITIVE = []
2369
2464
  include Aws::Structure
2370
2465
  end
@@ -2522,6 +2617,19 @@ module Aws::ComputeOptimizer
2522
2617
  # monthly savings amount and percentage.
2523
2618
  # @return [Types::SavingsOpportunity]
2524
2619
  #
2620
+ # @!attribute [rw] migration_effort
2621
+ # The level of effort required to migrate from the current instance
2622
+ # type to the recommended instance type.
2623
+ #
2624
+ # For example, the migration effort is `Low` if Amazon EMR is the
2625
+ # inferred workload type and an Amazon Web Services Graviton instance
2626
+ # type is recommended. The migration effort is `Medium` if a workload
2627
+ # type couldn't be inferred but an Amazon Web Services Graviton
2628
+ # instance type is recommended. The migration effort is `VeryLow` if
2629
+ # both the current and recommended instance types are of the same CPU
2630
+ # architecture.
2631
+ # @return [String]
2632
+ #
2525
2633
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/InstanceRecommendationOption AWS API Documentation
2526
2634
  #
2527
2635
  class InstanceRecommendationOption < Struct.new(
@@ -2530,7 +2638,8 @@ module Aws::ComputeOptimizer
2530
2638
  :platform_differences,
2531
2639
  :performance_risk,
2532
2640
  :rank,
2533
- :savings_opportunity)
2641
+ :savings_opportunity,
2642
+ :migration_effort)
2534
2643
  SENSITIVE = []
2535
2644
  include Aws::Structure
2536
2645
  end
@@ -2794,8 +2903,7 @@ module Aws::ComputeOptimizer
2794
2903
  # @!attribute [rw] current_performance_risk
2795
2904
  # The risk of the current Lambda function not meeting the performance
2796
2905
  # needs of its workloads. The higher the risk, the more likely the
2797
- # current Lambda function configuration is underperforming in its
2798
- # workload.
2906
+ # current Lambda function requires more memory.
2799
2907
  # @return [String]
2800
2908
  #
2801
2909
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/LambdaFunctionRecommendation AWS API Documentation
@@ -3035,12 +3143,13 @@ module Aws::ComputeOptimizer
3035
3143
  # data as a hash:
3036
3144
  #
3037
3145
  # {
3038
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction
3146
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable
3039
3147
  # scope: {
3040
3148
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
3041
3149
  # value: "ScopeValue",
3042
3150
  # },
3043
3151
  # enhanced_infrastructure_metrics: "Active", # accepts Active, Inactive
3152
+ # inferred_workload_types: "Active", # accepts Active, Inactive
3044
3153
  # }
3045
3154
  #
3046
3155
  # @!attribute [rw] resource_type
@@ -3067,7 +3176,10 @@ module Aws::ComputeOptimizer
3067
3176
  # resource level by specifying a scope name of `ResourceArn` and a
3068
3177
  # scope value of the Auto Scaling group Amazon Resource Name (ARN).
3069
3178
  # This will configure the preference for all instances that are part
3070
- # of the specified the Auto Scaling group.
3179
+ # of the specified Auto Scaling group. You also cannot create
3180
+ # recommendation preferences at the resource level for instances that
3181
+ # are part of an Auto Scaling group. You can create recommendation
3182
+ # preferences at the resource level only for standalone instances.
3071
3183
  #
3072
3184
  # </note>
3073
3185
  #
@@ -3080,9 +3192,35 @@ module Aws::ComputeOptimizer
3080
3192
  # The status of the enhanced infrastructure metrics recommendation
3081
3193
  # preference to create or update.
3082
3194
  #
3083
- # A status of `Active` confirms that the preference is applied in the
3084
- # latest recommendation refresh, and a status of `Inactive` confirms
3085
- # that it's not yet applied.
3195
+ # Specify the `Active` status to activate the preference, or specify
3196
+ # `Inactive` to deactivate the preference.
3197
+ #
3198
+ # For more information, see [Enhanced infrastructure metrics][1] in
3199
+ # the *Compute Optimizer User Guide*.
3200
+ #
3201
+ #
3202
+ #
3203
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html
3204
+ # @return [String]
3205
+ #
3206
+ # @!attribute [rw] inferred_workload_types
3207
+ # The status of the inferred workload types recommendation preference
3208
+ # to create or update.
3209
+ #
3210
+ # <note markdown="1"> The inferred workload type feature is active by default. To
3211
+ # deactivate it, create a recommendation preference.
3212
+ #
3213
+ # </note>
3214
+ #
3215
+ # Specify the `Inactive` status to deactivate the feature, or specify
3216
+ # `Active` to activate it.
3217
+ #
3218
+ # For more information, see [Inferred workload types][1] in the
3219
+ # *Compute Optimizer User Guide*.
3220
+ #
3221
+ #
3222
+ #
3223
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/inferred-workload-types.html
3086
3224
  # @return [String]
3087
3225
  #
3088
3226
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/PutRecommendationPreferencesRequest AWS API Documentation
@@ -3090,7 +3228,8 @@ module Aws::ComputeOptimizer
3090
3228
  class PutRecommendationPreferencesRequest < Struct.new(
3091
3229
  :resource_type,
3092
3230
  :scope,
3093
- :enhanced_infrastructure_metrics)
3231
+ :enhanced_infrastructure_metrics,
3232
+ :inferred_workload_types)
3094
3233
  SENSITIVE = []
3095
3234
  include Aws::Structure
3096
3235
  end
@@ -3239,7 +3378,22 @@ module Aws::ComputeOptimizer
3239
3378
  #
3240
3379
  # A status of `Active` confirms that the preference is applied in the
3241
3380
  # latest recommendation refresh, and a status of `Inactive` confirms
3242
- # that it's not yet applied.
3381
+ # that it's not yet applied to recommendations.
3382
+ #
3383
+ # For more information, see [Enhanced infrastructure metrics][1] in
3384
+ # the *Compute Optimizer User Guide*.
3385
+ #
3386
+ #
3387
+ #
3388
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html
3389
+ # @return [String]
3390
+ #
3391
+ # @!attribute [rw] inferred_workload_types
3392
+ # The status of the inferred workload types recommendation preference.
3393
+ #
3394
+ # A status of `Active` confirms that the preference is applied in the
3395
+ # latest recommendation refresh. A status of `Inactive` confirms that
3396
+ # it's not yet applied to recommendations.
3243
3397
  # @return [String]
3244
3398
  #
3245
3399
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RecommendationPreferencesDetail AWS API Documentation
@@ -3247,7 +3401,8 @@ module Aws::ComputeOptimizer
3247
3401
  class RecommendationPreferencesDetail < Struct.new(
3248
3402
  :scope,
3249
3403
  :resource_type,
3250
- :enhanced_infrastructure_metrics)
3404
+ :enhanced_infrastructure_metrics,
3405
+ :inferred_workload_types)
3251
3406
  SENSITIVE = []
3252
3407
  include Aws::Structure
3253
3408
  end
@@ -3468,12 +3623,14 @@ module Aws::ComputeOptimizer
3468
3623
  #
3469
3624
  # @!attribute [rw] savings_opportunity_percentage
3470
3625
  # The estimated monthly savings possible as a percentage of monthly
3471
- # cost.
3626
+ # cost by adopting Compute Optimizer recommendations for a given
3627
+ # resource.
3472
3628
  # @return [Float]
3473
3629
  #
3474
3630
  # @!attribute [rw] estimated_monthly_savings
3475
3631
  # An object that describes the estimated monthly savings amount
3476
- # possible based on On-Demand instance pricing.
3632
+ # possible, based on On-Demand instance pricing, by adopting Compute
3633
+ # Optimizer recommendations for a given resource.
3477
3634
  # @return [Types::EstimatedMonthlySavings]
3478
3635
  #
3479
3636
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/SavingsOpportunity AWS API Documentation
@@ -3497,8 +3654,11 @@ module Aws::ComputeOptimizer
3497
3654
  # preferences for Auto Scaling groups only at the resource level by
3498
3655
  # specifying a scope name of `ResourceArn` and a scope value of the Auto
3499
3656
  # Scaling group Amazon Resource Name (ARN). This will configure the
3500
- # preference for all instances that are part of the specified the Auto
3501
- # Scaling group.
3657
+ # preference for all instances that are part of the specified Auto
3658
+ # Scaling group. You also cannot create recommendation preferences at
3659
+ # the resource level for instances that are part of an Auto Scaling
3660
+ # group. You can create recommendation preferences at the resource level
3661
+ # only for standalone instances.
3502
3662
  #
3503
3663
  # </note>
3504
3664
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-computeoptimizer/customizations'
48
48
  # @!group service
49
49
  module Aws::ComputeOptimizer
50
50
 
51
- GEM_VERSION = '1.29.0'
51
+ GEM_VERSION = '1.32.0'
52
52
 
53
53
  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.29.0
4
+ version: 1.32.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-12-21 00:00:00.000000000 Z
11
+ date: 2022-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.125.0
22
+ version: 3.127.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.125.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement