aws-sdk-computeoptimizer 1.29.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc1e4eb27dba50b105bca61492a5b37993687f8775b54a3f253dfe7cab54bf4a
4
- data.tar.gz: ef7bae409e19b2a348faf8a2523386c0a74aeba79d0919c0262bce4be5ade3cc
3
+ metadata.gz: 700025f4ea58b7a262c8d70463672cee20c83eaaf788c7ef9f0d66311603063e
4
+ data.tar.gz: 66a7f3c7bca6e433ee3cdb416469f6ee60910b1f398a03864ea1869335cfe02e
5
5
  SHA512:
6
- metadata.gz: 0e40fa663d8e7889830a50ac8abaff19ad2c9ab73359b4b03bd23645d42f178a0c06076ab0b8d5742fd4aeefd002ca14157156a2dcf304f07bc14f97f098c359
7
- data.tar.gz: 11a89f02532bb2edce23cad5b1e2135b14d8bcfe14a7e1c5501faf0d4eb6ceb22e4c17ed4a8920c768489a5f15d91fa9339cb2565d38e72de78a75e33387017e
6
+ metadata.gz: dad39dcb4b198abbb4fc7e5db9484bf9512996ccfa5386ec8827128579de6ec4b75dbdd7b6449794a0bb5c4a0b8da0e7671a359c00a2806383913caf4317648d
7
+ data.tar.gz: f11bf20fe89f9bffb4275e2db48551ac2165d26aa506a44b86594254d2ebfcd929e7c21f86308577a4729c52f21a24cb70d1583a52da01d610533b041d5d2127
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.30.0 (2022-01-10)
5
+ ------------------
6
+
7
+ * Feature - Adds support for new Compute Optimizer capability that makes it easier for customers to optimize their EC2 instances by leveraging multiple CPU architectures.
8
+
4
9
  1.29.0 (2021-12-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.30.0
@@ -401,12 +401,12 @@ module Aws::ComputeOptimizer
401
401
  # @example Request syntax with placeholder values
402
402
  #
403
403
  # resp = client.delete_recommendation_preferences({
404
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction
404
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable
405
405
  # scope: {
406
406
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
407
407
  # value: "ScopeValue",
408
408
  # },
409
- # recommendation_preference_names: ["EnhancedInfrastructureMetrics"], # required, accepts EnhancedInfrastructureMetrics
409
+ # recommendation_preference_names: ["EnhancedInfrastructureMetrics"], # required, accepts EnhancedInfrastructureMetrics, InferredWorkloadTypes
410
410
  # })
411
411
  #
412
412
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DeleteRecommendationPreferences AWS API Documentation
@@ -474,7 +474,7 @@ module Aws::ComputeOptimizer
474
474
  # resp.recommendation_export_jobs[0].destination.s3.bucket #=> String
475
475
  # resp.recommendation_export_jobs[0].destination.s3.key #=> String
476
476
  # 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"
477
+ # resp.recommendation_export_jobs[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable"
478
478
  # resp.recommendation_export_jobs[0].status #=> String, one of "Queued", "InProgress", "Complete", "Failed"
479
479
  # resp.recommendation_export_jobs[0].creation_timestamp #=> Time
480
480
  # resp.recommendation_export_jobs[0].last_updated_timestamp #=> Time
@@ -600,7 +600,7 @@ module Aws::ComputeOptimizer
600
600
  # values: ["FilterValue"],
601
601
  # },
602
602
  # ],
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
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, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort
604
604
  # s3_destination_config: { # required
605
605
  # bucket: "DestinationBucket",
606
606
  # key_prefix: "DestinationKeyPrefix",
@@ -866,7 +866,7 @@ module Aws::ComputeOptimizer
866
866
  # values: ["FilterValue"],
867
867
  # },
868
868
  # ],
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
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, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort
870
870
  # s3_destination_config: { # required
871
871
  # bucket: "DestinationBucket",
872
872
  # key_prefix: "DestinationKeyPrefix",
@@ -1124,11 +1124,15 @@ module Aws::ComputeOptimizer
1124
1124
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
1125
1125
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
1126
1126
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
1127
+ # resp.auto_scaling_group_recommendations[0].recommendation_options[0].migration_effort #=> String, one of "VeryLow", "Low", "Medium", "High"
1127
1128
  # resp.auto_scaling_group_recommendations[0].last_refresh_timestamp #=> Time
1128
1129
  # resp.auto_scaling_group_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
1129
1130
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures #=> Array
1130
1131
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures[0] #=> String, one of "AWS_ARM64", "CURRENT"
1131
1132
  # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
1133
+ # resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.inferred_workload_types #=> String, one of "Active", "Inactive"
1134
+ # resp.auto_scaling_group_recommendations[0].inferred_workload_types #=> Array
1135
+ # resp.auto_scaling_group_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis"
1132
1136
  # resp.errors #=> Array
1133
1137
  # resp.errors[0].identifier #=> String
1134
1138
  # resp.errors[0].code #=> String
@@ -1346,6 +1350,7 @@ module Aws::ComputeOptimizer
1346
1350
  # resp.instance_recommendations[0].recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
1347
1351
  # resp.instance_recommendations[0].recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
1348
1352
  # resp.instance_recommendations[0].recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
1353
+ # resp.instance_recommendations[0].recommendation_options[0].migration_effort #=> String, one of "VeryLow", "Low", "Medium", "High"
1349
1354
  # resp.instance_recommendations[0].recommendation_sources #=> Array
1350
1355
  # resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_arn #=> String
1351
1356
  # resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction"
@@ -1354,6 +1359,9 @@ module Aws::ComputeOptimizer
1354
1359
  # resp.instance_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures #=> Array
1355
1360
  # resp.instance_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures[0] #=> String, one of "AWS_ARM64", "CURRENT"
1356
1361
  # resp.instance_recommendations[0].effective_recommendation_preferences.enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
1362
+ # resp.instance_recommendations[0].effective_recommendation_preferences.inferred_workload_types #=> String, one of "Active", "Inactive"
1363
+ # resp.instance_recommendations[0].inferred_workload_types #=> Array
1364
+ # resp.instance_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis"
1357
1365
  # resp.errors #=> Array
1358
1366
  # resp.errors[0].identifier #=> String
1359
1367
  # resp.errors[0].code #=> String
@@ -1735,7 +1743,7 @@ module Aws::ComputeOptimizer
1735
1743
  # @example Request syntax with placeholder values
1736
1744
  #
1737
1745
  # resp = client.get_recommendation_preferences({
1738
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction
1746
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable
1739
1747
  # scope: {
1740
1748
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
1741
1749
  # value: "ScopeValue",
@@ -1750,8 +1758,9 @@ module Aws::ComputeOptimizer
1750
1758
  # resp.recommendation_preferences_details #=> Array
1751
1759
  # resp.recommendation_preferences_details[0].scope.name #=> String, one of "Organization", "AccountId", "ResourceArn"
1752
1760
  # resp.recommendation_preferences_details[0].scope.value #=> String
1753
- # resp.recommendation_preferences_details[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction"
1761
+ # resp.recommendation_preferences_details[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable"
1754
1762
  # resp.recommendation_preferences_details[0].enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
1763
+ # resp.recommendation_preferences_details[0].inferred_workload_types #=> String, one of "Active", "Inactive"
1755
1764
  #
1756
1765
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationPreferences AWS API Documentation
1757
1766
  #
@@ -1872,8 +1881,11 @@ module Aws::ComputeOptimizer
1872
1881
  # preferences for Auto Scaling groups only at the resource level by
1873
1882
  # specifying a scope name of `ResourceArn` and a scope value of the Auto
1874
1883
  # 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.
1884
+ # preference for all instances that are part of the specified Auto
1885
+ # Scaling group. You also cannot create recommendation preferences at
1886
+ # the resource level for instances that are part of an Auto Scaling
1887
+ # group. You can create recommendation preferences at the resource level
1888
+ # only for standalone instances.
1877
1889
  #
1878
1890
  # </note>
1879
1891
  #
@@ -1885,21 +1897,47 @@ module Aws::ComputeOptimizer
1885
1897
  # The status of the enhanced infrastructure metrics recommendation
1886
1898
  # preference to create or update.
1887
1899
  #
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.
1900
+ # Specify the `Active` status to activate the preference, or specify
1901
+ # `Inactive` to deactivate the preference.
1902
+ #
1903
+ # For more information, see [Enhanced infrastructure metrics][1] in the
1904
+ # *Compute Optimizer User Guide*.
1905
+ #
1906
+ #
1907
+ #
1908
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html
1909
+ #
1910
+ # @option params [String] :inferred_workload_types
1911
+ # The status of the inferred workload types recommendation preference to
1912
+ # create or update.
1913
+ #
1914
+ # <note markdown="1"> The inferred workload type feature is active by default. To deactivate
1915
+ # it, create a recommendation preference.
1916
+ #
1917
+ # </note>
1918
+ #
1919
+ # Specify the `Inactive` status to deactivate the feature, or specify
1920
+ # `Active` to activate it.
1921
+ #
1922
+ # For more information, see [Inferred workload types][1] in the *Compute
1923
+ # Optimizer User Guide*.
1924
+ #
1925
+ #
1926
+ #
1927
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/inferred-workload-types.html
1891
1928
  #
1892
1929
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1893
1930
  #
1894
1931
  # @example Request syntax with placeholder values
1895
1932
  #
1896
1933
  # resp = client.put_recommendation_preferences({
1897
- # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction
1934
+ # resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable
1898
1935
  # scope: {
1899
1936
  # name: "Organization", # accepts Organization, AccountId, ResourceArn
1900
1937
  # value: "ScopeValue",
1901
1938
  # },
1902
1939
  # enhanced_infrastructure_metrics: "Active", # accepts Active, Inactive
1940
+ # inferred_workload_types: "Active", # accepts Active, Inactive
1903
1941
  # })
1904
1942
  #
1905
1943
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/PutRecommendationPreferences AWS API Documentation
@@ -2000,7 +2038,7 @@ module Aws::ComputeOptimizer
2000
2038
  params: params,
2001
2039
  config: config)
2002
2040
  context[:gem_name] = 'aws-sdk-computeoptimizer'
2003
- context[:gem_version] = '1.29.0'
2041
+ context[:gem_version] = '1.30.0'
2004
2042
  Seahorse::Client::Request.new(handlers, context)
2005
2043
  end
2006
2044
 
@@ -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.30.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.30.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-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core