aws-sdk-computeoptimizer 1.39.0 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +28 -11
- data/lib/aws-sdk-computeoptimizer/client_api.rb +23 -0
- data/lib/aws-sdk-computeoptimizer/types.rb +193 -11
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49e3da3c6c1aa1cefecc8d0793cebf616d68700ba7f7fcecc81a3817cf02348f
|
4
|
+
data.tar.gz: d2a9770fe4d45e0dfa42f2cf245dd125136fb109f666df5f8f4e17c96e934a8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26bc045a63a09b5ec51babc1e4541bd29d60ff2890ef51edd550bbfc343bb10d50741eee8d2247eb2a60b23062c770cb30ffcc4523dd92b7cd0c11d8c366eb3b
|
7
|
+
data.tar.gz: 5fc59fd35db091fdc28d2f58d395cb592e2654b365573be5256253059916f21e4d06fb2220fba5df0d1dd9afc6497a4d14ced777bcc225b82053b1a5a1bddf91
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.40.0 (2023-05-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - support for tag filtering within compute optimizer. ability to filter recommendation results by tag and tag key value pairs. ability to filter by inferred workload type added.
|
8
|
+
|
4
9
|
1.39.0 (2023-03-30)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.40.0
|
@@ -620,7 +620,7 @@ module Aws::ComputeOptimizer
|
|
620
620
|
# account_ids: ["AccountId"],
|
621
621
|
# filters: [
|
622
622
|
# {
|
623
|
-
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
623
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType, InferredWorkloadTypes
|
624
624
|
# values: ["FilterValue"],
|
625
625
|
# },
|
626
626
|
# ],
|
@@ -758,7 +758,7 @@ module Aws::ComputeOptimizer
|
|
758
758
|
# values: ["FilterValue"],
|
759
759
|
# },
|
760
760
|
# ],
|
761
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, VolumeArn, Finding, UtilizationMetricsVolumeReadOpsPerSecondMaximum, UtilizationMetricsVolumeWriteOpsPerSecondMaximum, UtilizationMetricsVolumeReadBytesPerSecondMaximum, UtilizationMetricsVolumeWriteBytesPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationVolumeType, CurrentConfigurationVolumeBaselineIOPS, CurrentConfigurationVolumeBaselineThroughput, CurrentConfigurationVolumeBurstIOPS, CurrentConfigurationVolumeBurstThroughput, CurrentConfigurationVolumeSize, CurrentMonthlyPrice, RecommendationOptionsConfigurationVolumeType, RecommendationOptionsConfigurationVolumeBaselineIOPS, RecommendationOptionsConfigurationVolumeBaselineThroughput, RecommendationOptionsConfigurationVolumeBurstIOPS, RecommendationOptionsConfigurationVolumeBurstThroughput, RecommendationOptionsConfigurationVolumeSize, RecommendationOptionsMonthlyPrice, RecommendationOptionsPerformanceRisk, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, RootVolume
|
761
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, VolumeArn, Finding, UtilizationMetricsVolumeReadOpsPerSecondMaximum, UtilizationMetricsVolumeWriteOpsPerSecondMaximum, UtilizationMetricsVolumeReadBytesPerSecondMaximum, UtilizationMetricsVolumeWriteBytesPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationVolumeType, CurrentConfigurationVolumeBaselineIOPS, CurrentConfigurationVolumeBaselineThroughput, CurrentConfigurationVolumeBurstIOPS, CurrentConfigurationVolumeBurstThroughput, CurrentConfigurationVolumeSize, CurrentMonthlyPrice, RecommendationOptionsConfigurationVolumeType, RecommendationOptionsConfigurationVolumeBaselineIOPS, RecommendationOptionsConfigurationVolumeBaselineThroughput, RecommendationOptionsConfigurationVolumeBurstIOPS, RecommendationOptionsConfigurationVolumeBurstThroughput, RecommendationOptionsConfigurationVolumeSize, RecommendationOptionsMonthlyPrice, RecommendationOptionsPerformanceRisk, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, RootVolume, Tags
|
762
762
|
# s3_destination_config: { # required
|
763
763
|
# bucket: "DestinationBucket",
|
764
764
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -886,11 +886,11 @@ module Aws::ComputeOptimizer
|
|
886
886
|
# account_ids: ["AccountId"],
|
887
887
|
# filters: [
|
888
888
|
# {
|
889
|
-
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
889
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType, InferredWorkloadTypes
|
890
890
|
# values: ["FilterValue"],
|
891
891
|
# },
|
892
892
|
# ],
|
893
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, FindingReasonCodes, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPlatformDifferences, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort, EffectiveRecommendationPreferencesExternalMetricsSource, InstanceState
|
893
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, FindingReasonCodes, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPlatformDifferences, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort, EffectiveRecommendationPreferencesExternalMetricsSource, InstanceState, Tags
|
894
894
|
# s3_destination_config: { # required
|
895
895
|
# bucket: "DestinationBucket",
|
896
896
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -1023,7 +1023,7 @@ module Aws::ComputeOptimizer
|
|
1023
1023
|
# values: ["FilterValue"],
|
1024
1024
|
# },
|
1025
1025
|
# ],
|
1026
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, ServiceArn, LookbackPeriodInDays, LastRefreshTimestamp, LaunchType, CurrentPerformanceRisk, CurrentServiceConfigurationMemory, CurrentServiceConfigurationCpu, CurrentServiceConfigurationTaskDefinitionArn, CurrentServiceConfigurationAutoScalingConfiguration, CurrentServiceContainerConfigurations, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, Finding, FindingReasonCodes, RecommendationOptionsMemory, RecommendationOptionsCpu, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, RecommendationOptionsContainerRecommendations, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum
|
1026
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, ServiceArn, LookbackPeriodInDays, LastRefreshTimestamp, LaunchType, CurrentPerformanceRisk, CurrentServiceConfigurationMemory, CurrentServiceConfigurationCpu, CurrentServiceConfigurationTaskDefinitionArn, CurrentServiceConfigurationAutoScalingConfiguration, CurrentServiceContainerConfigurations, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, Finding, FindingReasonCodes, RecommendationOptionsMemory, RecommendationOptionsCpu, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, RecommendationOptionsContainerRecommendations, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, Tags
|
1027
1027
|
# s3_destination_config: { # required
|
1028
1028
|
# bucket: "DestinationBucket",
|
1029
1029
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -1154,7 +1154,7 @@ module Aws::ComputeOptimizer
|
|
1154
1154
|
# values: ["FilterValue"],
|
1155
1155
|
# },
|
1156
1156
|
# ],
|
1157
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, FunctionArn, FunctionVersion, Finding, FindingReasonCodes, NumberOfInvocations, UtilizationMetricsDurationMaximum, UtilizationMetricsDurationAverage, UtilizationMetricsMemoryMaximum, UtilizationMetricsMemoryAverage, LookbackPeriodInDays, CurrentConfigurationMemorySize, CurrentConfigurationTimeout, CurrentCostTotal, CurrentCostAverage, RecommendationOptionsConfigurationMemorySize, RecommendationOptionsCostLow, RecommendationOptionsCostHigh, RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound, RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound, RecommendationOptionsProjectedUtilizationMetricsDurationExpected, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue
|
1157
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, FunctionArn, FunctionVersion, Finding, FindingReasonCodes, NumberOfInvocations, UtilizationMetricsDurationMaximum, UtilizationMetricsDurationAverage, UtilizationMetricsMemoryMaximum, UtilizationMetricsMemoryAverage, LookbackPeriodInDays, CurrentConfigurationMemorySize, CurrentConfigurationTimeout, CurrentCostTotal, CurrentCostAverage, RecommendationOptionsConfigurationMemorySize, RecommendationOptionsCostLow, RecommendationOptionsCostHigh, RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound, RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound, RecommendationOptionsProjectedUtilizationMetricsDurationExpected, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, Tags
|
1158
1158
|
# s3_destination_config: { # required
|
1159
1159
|
# bucket: "DestinationBucket",
|
1160
1160
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -1238,7 +1238,7 @@ module Aws::ComputeOptimizer
|
|
1238
1238
|
# max_results: 1,
|
1239
1239
|
# filters: [
|
1240
1240
|
# {
|
1241
|
-
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
1241
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType, InferredWorkloadTypes
|
1242
1242
|
# values: ["FilterValue"],
|
1243
1243
|
# },
|
1244
1244
|
# ],
|
@@ -1287,7 +1287,7 @@ module Aws::ComputeOptimizer
|
|
1287
1287
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.inferred_workload_types #=> String, one of "Active", "Inactive"
|
1288
1288
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
1289
1289
|
# resp.auto_scaling_group_recommendations[0].inferred_workload_types #=> Array
|
1290
|
-
# resp.auto_scaling_group_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis", "Kafka"
|
1290
|
+
# resp.auto_scaling_group_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis", "Kafka", "SQLServer"
|
1291
1291
|
# resp.errors #=> Array
|
1292
1292
|
# resp.errors[0].identifier #=> String
|
1293
1293
|
# resp.errors[0].code #=> String
|
@@ -1397,6 +1397,9 @@ module Aws::ComputeOptimizer
|
|
1397
1397
|
# resp.volume_recommendations[0].volume_recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
|
1398
1398
|
# resp.volume_recommendations[0].last_refresh_timestamp #=> Time
|
1399
1399
|
# resp.volume_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1400
|
+
# resp.volume_recommendations[0].tags #=> Array
|
1401
|
+
# resp.volume_recommendations[0].tags[0].key #=> String
|
1402
|
+
# resp.volume_recommendations[0].tags[0].value #=> String
|
1400
1403
|
# resp.errors #=> Array
|
1401
1404
|
# resp.errors[0].identifier #=> String
|
1402
1405
|
# resp.errors[0].code #=> String
|
@@ -1468,7 +1471,7 @@ module Aws::ComputeOptimizer
|
|
1468
1471
|
# max_results: 1,
|
1469
1472
|
# filters: [
|
1470
1473
|
# {
|
1471
|
-
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
|
1474
|
+
# name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType, InferredWorkloadTypes
|
1472
1475
|
# values: ["FilterValue"],
|
1473
1476
|
# },
|
1474
1477
|
# ],
|
@@ -1519,8 +1522,11 @@ module Aws::ComputeOptimizer
|
|
1519
1522
|
# resp.instance_recommendations[0].effective_recommendation_preferences.inferred_workload_types #=> String, one of "Active", "Inactive"
|
1520
1523
|
# resp.instance_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
1521
1524
|
# resp.instance_recommendations[0].inferred_workload_types #=> Array
|
1522
|
-
# resp.instance_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis", "Kafka"
|
1525
|
+
# resp.instance_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis", "Kafka", "SQLServer"
|
1523
1526
|
# resp.instance_recommendations[0].instance_state #=> String, one of "pending", "running", "shutting-down", "terminated", "stopping", "stopped"
|
1527
|
+
# resp.instance_recommendations[0].tags #=> Array
|
1528
|
+
# resp.instance_recommendations[0].tags[0].key #=> String
|
1529
|
+
# resp.instance_recommendations[0].tags[0].value #=> String
|
1524
1530
|
# resp.errors #=> Array
|
1525
1531
|
# resp.errors[0].identifier #=> String
|
1526
1532
|
# resp.errors[0].code #=> String
|
@@ -1772,6 +1778,9 @@ module Aws::ComputeOptimizer
|
|
1772
1778
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].container_recommendations[0].memory_size_configuration.memory_reservation #=> Integer
|
1773
1779
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].container_recommendations[0].cpu #=> Integer
|
1774
1780
|
# resp.ecs_service_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1781
|
+
# resp.ecs_service_recommendations[0].tags #=> Array
|
1782
|
+
# resp.ecs_service_recommendations[0].tags[0].key #=> String
|
1783
|
+
# resp.ecs_service_recommendations[0].tags[0].value #=> String
|
1775
1784
|
# resp.errors #=> Array
|
1776
1785
|
# resp.errors[0].identifier #=> String
|
1777
1786
|
# resp.errors[0].code #=> String
|
@@ -2020,6 +2029,9 @@ module Aws::ComputeOptimizer
|
|
2020
2029
|
# resp.lambda_function_recommendations[0].memory_size_recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2021
2030
|
# resp.lambda_function_recommendations[0].memory_size_recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
|
2022
2031
|
# resp.lambda_function_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
2032
|
+
# resp.lambda_function_recommendations[0].tags #=> Array
|
2033
|
+
# resp.lambda_function_recommendations[0].tags[0].key #=> String
|
2034
|
+
# resp.lambda_function_recommendations[0].tags[0].value #=> String
|
2023
2035
|
#
|
2024
2036
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetLambdaFunctionRecommendations AWS API Documentation
|
2025
2037
|
#
|
@@ -2195,6 +2207,11 @@ module Aws::ComputeOptimizer
|
|
2195
2207
|
# resp.recommendation_summaries[0].current_performance_risk_ratings.medium #=> Integer
|
2196
2208
|
# resp.recommendation_summaries[0].current_performance_risk_ratings.low #=> Integer
|
2197
2209
|
# resp.recommendation_summaries[0].current_performance_risk_ratings.very_low #=> Integer
|
2210
|
+
# resp.recommendation_summaries[0].inferred_workload_savings #=> Array
|
2211
|
+
# resp.recommendation_summaries[0].inferred_workload_savings[0].inferred_workload_types #=> Array
|
2212
|
+
# resp.recommendation_summaries[0].inferred_workload_savings[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis", "Kafka", "SQLServer"
|
2213
|
+
# resp.recommendation_summaries[0].inferred_workload_savings[0].estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2214
|
+
# resp.recommendation_summaries[0].inferred_workload_savings[0].estimated_monthly_savings.value #=> Float
|
2198
2215
|
#
|
2199
2216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationSummaries AWS API Documentation
|
2200
2217
|
#
|
@@ -2419,7 +2436,7 @@ module Aws::ComputeOptimizer
|
|
2419
2436
|
params: params,
|
2420
2437
|
config: config)
|
2421
2438
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
2422
|
-
context[:gem_version] = '1.
|
2439
|
+
context[:gem_version] = '1.40.0'
|
2423
2440
|
Seahorse::Client::Request.new(handlers, context)
|
2424
2441
|
end
|
2425
2442
|
|
@@ -148,6 +148,8 @@ module Aws::ComputeOptimizer
|
|
148
148
|
High = Shapes::IntegerShape.new(name: 'High')
|
149
149
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
150
150
|
IncludeMemberAccounts = Shapes::BooleanShape.new(name: 'IncludeMemberAccounts')
|
151
|
+
InferredWorkloadSaving = Shapes::StructureShape.new(name: 'InferredWorkloadSaving')
|
152
|
+
InferredWorkloadSavings = Shapes::ListShape.new(name: 'InferredWorkloadSavings')
|
151
153
|
InferredWorkloadType = Shapes::StringShape.new(name: 'InferredWorkloadType')
|
152
154
|
InferredWorkloadTypes = Shapes::ListShape.new(name: 'InferredWorkloadTypes')
|
153
155
|
InferredWorkloadTypesPreference = Shapes::StringShape.new(name: 'InferredWorkloadTypesPreference')
|
@@ -264,6 +266,10 @@ module Aws::ComputeOptimizer
|
|
264
266
|
Summaries = Shapes::ListShape.new(name: 'Summaries')
|
265
267
|
Summary = Shapes::StructureShape.new(name: 'Summary')
|
266
268
|
SummaryValue = Shapes::FloatShape.new(name: 'SummaryValue')
|
269
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
270
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
271
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
272
|
+
Tags = Shapes::ListShape.new(name: 'Tags')
|
267
273
|
TaskDefinitionArn = Shapes::StringShape.new(name: 'TaskDefinitionArn')
|
268
274
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
269
275
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
@@ -415,6 +421,7 @@ module Aws::ComputeOptimizer
|
|
415
421
|
ECSServiceRecommendation.add_member(:finding_reason_codes, Shapes::ShapeRef.new(shape: ECSServiceRecommendationFindingReasonCodes, location_name: "findingReasonCodes"))
|
416
422
|
ECSServiceRecommendation.add_member(:service_recommendation_options, Shapes::ShapeRef.new(shape: ECSServiceRecommendationOptions, location_name: "serviceRecommendationOptions"))
|
417
423
|
ECSServiceRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
|
424
|
+
ECSServiceRecommendation.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
418
425
|
ECSServiceRecommendation.struct_class = Types::ECSServiceRecommendation
|
419
426
|
|
420
427
|
ECSServiceRecommendationFilter.add_member(:name, Shapes::ShapeRef.new(shape: ECSServiceRecommendationFilterName, location_name: "name"))
|
@@ -687,6 +694,12 @@ module Aws::ComputeOptimizer
|
|
687
694
|
GetRecommendationSummariesResponse.add_member(:recommendation_summaries, Shapes::ShapeRef.new(shape: RecommendationSummaries, location_name: "recommendationSummaries"))
|
688
695
|
GetRecommendationSummariesResponse.struct_class = Types::GetRecommendationSummariesResponse
|
689
696
|
|
697
|
+
InferredWorkloadSaving.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypes, location_name: "inferredWorkloadTypes"))
|
698
|
+
InferredWorkloadSaving.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: EstimatedMonthlySavings, location_name: "estimatedMonthlySavings"))
|
699
|
+
InferredWorkloadSaving.struct_class = Types::InferredWorkloadSaving
|
700
|
+
|
701
|
+
InferredWorkloadSavings.member = Shapes::ShapeRef.new(shape: InferredWorkloadSaving)
|
702
|
+
|
690
703
|
InferredWorkloadTypes.member = Shapes::ShapeRef.new(shape: InferredWorkloadType)
|
691
704
|
|
692
705
|
InstanceArns.member = Shapes::ShapeRef.new(shape: InstanceArn)
|
@@ -706,6 +719,7 @@ module Aws::ComputeOptimizer
|
|
706
719
|
InstanceRecommendation.add_member(:effective_recommendation_preferences, Shapes::ShapeRef.new(shape: EffectiveRecommendationPreferences, location_name: "effectiveRecommendationPreferences"))
|
707
720
|
InstanceRecommendation.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypes, location_name: "inferredWorkloadTypes"))
|
708
721
|
InstanceRecommendation.add_member(:instance_state, Shapes::ShapeRef.new(shape: InstanceState, location_name: "instanceState"))
|
722
|
+
InstanceRecommendation.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
709
723
|
InstanceRecommendation.struct_class = Types::InstanceRecommendation
|
710
724
|
|
711
725
|
InstanceRecommendationFindingReasonCodes.member = Shapes::ShapeRef.new(shape: InstanceRecommendationFindingReasonCode)
|
@@ -762,6 +776,7 @@ module Aws::ComputeOptimizer
|
|
762
776
|
LambdaFunctionRecommendation.add_member(:finding_reason_codes, Shapes::ShapeRef.new(shape: LambdaFunctionRecommendationFindingReasonCodes, location_name: "findingReasonCodes"))
|
763
777
|
LambdaFunctionRecommendation.add_member(:memory_size_recommendation_options, Shapes::ShapeRef.new(shape: LambdaFunctionMemoryRecommendationOptions, location_name: "memorySizeRecommendationOptions"))
|
764
778
|
LambdaFunctionRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
|
779
|
+
LambdaFunctionRecommendation.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
765
780
|
LambdaFunctionRecommendation.struct_class = Types::LambdaFunctionRecommendation
|
766
781
|
|
767
782
|
LambdaFunctionRecommendationFilter.add_member(:name, Shapes::ShapeRef.new(shape: LambdaFunctionRecommendationFilterName, location_name: "name"))
|
@@ -862,6 +877,7 @@ module Aws::ComputeOptimizer
|
|
862
877
|
RecommendationSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
863
878
|
RecommendationSummary.add_member(:savings_opportunity, Shapes::ShapeRef.new(shape: SavingsOpportunity, location_name: "savingsOpportunity"))
|
864
879
|
RecommendationSummary.add_member(:current_performance_risk_ratings, Shapes::ShapeRef.new(shape: CurrentPerformanceRiskRatings, location_name: "currentPerformanceRiskRatings"))
|
880
|
+
RecommendationSummary.add_member(:inferred_workload_savings, Shapes::ShapeRef.new(shape: InferredWorkloadSavings, location_name: "inferredWorkloadSavings"))
|
865
881
|
RecommendationSummary.struct_class = Types::RecommendationSummary
|
866
882
|
|
867
883
|
RecommendedOptionProjectedMetric.add_member(:recommended_instance_type, Shapes::ShapeRef.new(shape: RecommendedInstanceType, location_name: "recommendedInstanceType"))
|
@@ -910,6 +926,12 @@ module Aws::ComputeOptimizer
|
|
910
926
|
Summary.add_member(:reason_code_summaries, Shapes::ShapeRef.new(shape: ReasonCodeSummaries, location_name: "reasonCodeSummaries"))
|
911
927
|
Summary.struct_class = Types::Summary
|
912
928
|
|
929
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "key"))
|
930
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
|
931
|
+
Tag.struct_class = Types::Tag
|
932
|
+
|
933
|
+
Tags.member = Shapes::ShapeRef.new(shape: Tag)
|
934
|
+
|
913
935
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
914
936
|
ThrottlingException.struct_class = Types::ThrottlingException
|
915
937
|
|
@@ -950,6 +972,7 @@ module Aws::ComputeOptimizer
|
|
950
972
|
VolumeRecommendation.add_member(:volume_recommendation_options, Shapes::ShapeRef.new(shape: VolumeRecommendationOptions, location_name: "volumeRecommendationOptions"))
|
951
973
|
VolumeRecommendation.add_member(:last_refresh_timestamp, Shapes::ShapeRef.new(shape: LastRefreshTimestamp, location_name: "lastRefreshTimestamp"))
|
952
974
|
VolumeRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
|
975
|
+
VolumeRecommendation.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
953
976
|
VolumeRecommendation.struct_class = Types::VolumeRecommendation
|
954
977
|
|
955
978
|
VolumeRecommendationOption.add_member(:configuration, Shapes::ShapeRef.new(shape: VolumeConfiguration, location_name: "configuration"))
|
@@ -183,6 +183,11 @@ module Aws::ComputeOptimizer
|
|
183
183
|
# instances.
|
184
184
|
#
|
185
185
|
# * `Redis` - Infers that Redis might be running on the instances.
|
186
|
+
#
|
187
|
+
# * `Kafka` - Infers that Kafka might be running on the instance.
|
188
|
+
#
|
189
|
+
# * `SQLServer` - Infers that SQLServer might be running on the
|
190
|
+
# instance.
|
186
191
|
# @return [Array<String>]
|
187
192
|
#
|
188
193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/AutoScalingGroupRecommendation AWS API Documentation
|
@@ -493,6 +498,23 @@ module Aws::ComputeOptimizer
|
|
493
498
|
#
|
494
499
|
# Specify `Finding` to return recommendations with a specific finding
|
495
500
|
# classification (for example, `NotOptimized`).
|
501
|
+
#
|
502
|
+
# You can filter your Amazon EBS volume recommendations by `tag:key`
|
503
|
+
# and `tag-key` tags.
|
504
|
+
#
|
505
|
+
# A `tag:key` is a key and value combination of a tag assigned to your
|
506
|
+
# Amazon EBS volume recommendations. Use the tag key in the filter
|
507
|
+
# name and the tag value as the filter value. For example, to find all
|
508
|
+
# Amazon EBS volume recommendations that have a tag with the key of
|
509
|
+
# `Owner` and the value of `TeamA`, specify `tag:Owner` for the filter
|
510
|
+
# name and `TeamA` for the filter value.
|
511
|
+
#
|
512
|
+
# A `tag-key` is the key of a tag assigned to your Amazon EBS volume
|
513
|
+
# recommendations. Use this filter to find all of your Amazon EBS
|
514
|
+
# volume recommendations that have a tag with a specific key. This
|
515
|
+
# doesn’t consider the tag value. For example, you can find your
|
516
|
+
# Amazon EBS volume recommendations with a tag key value of `Owner` or
|
517
|
+
# without any tag keys assigned.
|
496
518
|
# @return [String]
|
497
519
|
#
|
498
520
|
# @!attribute [rw] values
|
@@ -780,6 +802,10 @@ module Aws::ComputeOptimizer
|
|
780
802
|
# of its workload.
|
781
803
|
# @return [String]
|
782
804
|
#
|
805
|
+
# @!attribute [rw] tags
|
806
|
+
# A list of tags assigned to your Amazon ECS service recommendations.
|
807
|
+
# @return [Array<Types::Tag>]
|
808
|
+
#
|
783
809
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ECSServiceRecommendation AWS API Documentation
|
784
810
|
#
|
785
811
|
class ECSServiceRecommendation < Struct.new(
|
@@ -793,7 +819,8 @@ module Aws::ComputeOptimizer
|
|
793
819
|
:finding,
|
794
820
|
:finding_reason_codes,
|
795
821
|
:service_recommendation_options,
|
796
|
-
:current_performance_risk
|
822
|
+
:current_performance_risk,
|
823
|
+
:tags)
|
797
824
|
SENSITIVE = []
|
798
825
|
include Aws::Structure
|
799
826
|
end
|
@@ -810,6 +837,23 @@ module Aws::ComputeOptimizer
|
|
810
837
|
#
|
811
838
|
# Specify `FindingReasonCode` to return recommendations with a
|
812
839
|
# specific finding reason code.
|
840
|
+
#
|
841
|
+
# You can filter your Amazon ECS service recommendations by `tag:key`
|
842
|
+
# and `tag-key` tags.
|
843
|
+
#
|
844
|
+
# A `tag:key` is a key and value combination of a tag assigned to your
|
845
|
+
# Amazon ECS service recommendations. Use the tag key in the filter
|
846
|
+
# name and the tag value as the filter value. For example, to find all
|
847
|
+
# Amazon ECS service recommendations that have a tag with the key of
|
848
|
+
# `Owner` and the value of `TeamA`, specify `tag:Owner` for the filter
|
849
|
+
# name and `TeamA` for the filter value.
|
850
|
+
#
|
851
|
+
# A `tag-key` is the key of a tag assigned to your Amazon ECS service
|
852
|
+
# recommendations. Use this filter to find all of your Amazon ECS
|
853
|
+
# service recommendations that have a tag with a specific key. This
|
854
|
+
# doesn’t consider the tag value. For example, you can find your
|
855
|
+
# Amazon ECS service recommendations with a tag key value of `Owner`
|
856
|
+
# or without any tag keys assigned.
|
813
857
|
# @return [String]
|
814
858
|
#
|
815
859
|
# @!attribute [rw] values
|
@@ -1736,13 +1780,32 @@ module Aws::ComputeOptimizer
|
|
1736
1780
|
# The name of the filter.
|
1737
1781
|
#
|
1738
1782
|
# Specify `Finding` to return recommendations with a specific finding
|
1739
|
-
# classification
|
1783
|
+
# classification. For example, `Underprovisioned`.
|
1740
1784
|
#
|
1741
1785
|
# Specify `RecommendationSourceType` to return recommendations of a
|
1742
|
-
# specific resource type
|
1786
|
+
# specific resource type. For example, `Ec2Instance`.
|
1743
1787
|
#
|
1744
1788
|
# Specify `FindingReasonCodes` to return recommendations with a
|
1745
|
-
# specific finding reason code
|
1789
|
+
# specific finding reason code. For example, `CPUUnderprovisioned`.
|
1790
|
+
#
|
1791
|
+
# Specify `InferredWorkloadTypes` to return recommendations of a
|
1792
|
+
# specific inferred workload. For example, `Redis`.
|
1793
|
+
#
|
1794
|
+
# You can filter your EC2 instance recommendations by `tag:key` and
|
1795
|
+
# `tag-key` tags.
|
1796
|
+
#
|
1797
|
+
# A `tag:key` is a key and value combination of a tag assigned to your
|
1798
|
+
# recommendations. Use the tag key in the filter name and the tag
|
1799
|
+
# value as the filter value. For example, to find all recommendations
|
1800
|
+
# that have a tag with the key of `Owner` and the value of `TeamA`,
|
1801
|
+
# specify `tag:Owner` for the filter name and `TeamA` for the filter
|
1802
|
+
# value.
|
1803
|
+
#
|
1804
|
+
# A `tag-key` is the key of a tag assigned to your recommendations.
|
1805
|
+
# Use this filter to find all of your recommendations that have a tag
|
1806
|
+
# with a specific key. This doesn’t consider the tag value. For
|
1807
|
+
# example, you can find your recommendations with a tag key value of
|
1808
|
+
# `Owner` or without any tag keys assigned.
|
1746
1809
|
# @return [String]
|
1747
1810
|
#
|
1748
1811
|
# @!attribute [rw] values
|
@@ -2663,6 +2726,60 @@ module Aws::ComputeOptimizer
|
|
2663
2726
|
include Aws::Structure
|
2664
2727
|
end
|
2665
2728
|
|
2729
|
+
# The estimated monthly savings after you adjust the configurations of
|
2730
|
+
# your instances running on the inferred workload types to the
|
2731
|
+
# recommended configurations. If the `inferredWorkloadTypes` list
|
2732
|
+
# contains multiple entries, then the savings are the sum of the monthly
|
2733
|
+
# savings from instances that run the exact combination of the inferred
|
2734
|
+
# workload types.
|
2735
|
+
#
|
2736
|
+
# @!attribute [rw] inferred_workload_types
|
2737
|
+
# The applications that might be running on the instance as inferred
|
2738
|
+
# by Compute Optimizer.
|
2739
|
+
#
|
2740
|
+
# Compute Optimizer can infer if one of the following applications
|
2741
|
+
# might be running on the instance:
|
2742
|
+
#
|
2743
|
+
# * `AmazonEmr` - Infers that Amazon EMR might be running on the
|
2744
|
+
# instance.
|
2745
|
+
#
|
2746
|
+
# * `ApacheCassandra` - Infers that Apache Cassandra might be running
|
2747
|
+
# on the instance.
|
2748
|
+
#
|
2749
|
+
# * `ApacheHadoop` - Infers that Apache Hadoop might be running on the
|
2750
|
+
# instance.
|
2751
|
+
#
|
2752
|
+
# * `Memcached` - Infers that Memcached might be running on the
|
2753
|
+
# instance.
|
2754
|
+
#
|
2755
|
+
# * `NGINX` - Infers that NGINX might be running on the instance.
|
2756
|
+
#
|
2757
|
+
# * `PostgreSql` - Infers that PostgreSQL might be running on the
|
2758
|
+
# instance.
|
2759
|
+
#
|
2760
|
+
# * `Redis` - Infers that Redis might be running on the instance.
|
2761
|
+
#
|
2762
|
+
# * `Kafka` - Infers that Kafka might be running on the instance.
|
2763
|
+
#
|
2764
|
+
# * `SQLServer` - Infers that SQLServer might be running on the
|
2765
|
+
# instance.
|
2766
|
+
# @return [Array<String>]
|
2767
|
+
#
|
2768
|
+
# @!attribute [rw] estimated_monthly_savings
|
2769
|
+
# An object that describes the estimated monthly savings amount
|
2770
|
+
# possible by adopting Compute Optimizer recommendations for a given
|
2771
|
+
# resource. This is based on the On-Demand instance pricing.
|
2772
|
+
# @return [Types::EstimatedMonthlySavings]
|
2773
|
+
#
|
2774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/InferredWorkloadSaving AWS API Documentation
|
2775
|
+
#
|
2776
|
+
class InferredWorkloadSaving < Struct.new(
|
2777
|
+
:inferred_workload_types,
|
2778
|
+
:estimated_monthly_savings)
|
2779
|
+
SENSITIVE = []
|
2780
|
+
include Aws::Structure
|
2781
|
+
end
|
2782
|
+
|
2666
2783
|
# Describes an Amazon EC2 instance recommendation.
|
2667
2784
|
#
|
2668
2785
|
# @!attribute [rw] instance_arn
|
@@ -2761,7 +2878,7 @@ module Aws::ComputeOptimizer
|
|
2761
2878
|
# performance requirements of your workload and there is an
|
2762
2879
|
# alternative instance type that provides better EBS throughput
|
2763
2880
|
# performance. This is identified by analyzing the `VolumeReadBytes`
|
2764
|
-
# and `VolumeWriteBytes
|
2881
|
+
# and `VolumeWriteBytes` metrics of EBS volumes attached to the
|
2765
2882
|
# current instance during the look-back period.
|
2766
2883
|
#
|
2767
2884
|
# * <b> <code>EBSIOPSOverprovisioned</code> </b> — The instance’s EBS
|
@@ -2915,12 +3032,19 @@ module Aws::ComputeOptimizer
|
|
2915
3032
|
# * `Redis` - Infers that Redis might be running on the instance.
|
2916
3033
|
#
|
2917
3034
|
# * `Kafka` - Infers that Kafka might be running on the instance.
|
3035
|
+
#
|
3036
|
+
# * `SQLServer` - Infers that SQLServer might be running on the
|
3037
|
+
# instance.
|
2918
3038
|
# @return [Array<String>]
|
2919
3039
|
#
|
2920
3040
|
# @!attribute [rw] instance_state
|
2921
3041
|
# The state of the instance when the recommendation was generated.
|
2922
3042
|
# @return [String]
|
2923
3043
|
#
|
3044
|
+
# @!attribute [rw] tags
|
3045
|
+
# A list of tags assigned to your Amazon EC2 instance recommendations.
|
3046
|
+
# @return [Array<Types::Tag>]
|
3047
|
+
#
|
2924
3048
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/InstanceRecommendation AWS API Documentation
|
2925
3049
|
#
|
2926
3050
|
class InstanceRecommendation < Struct.new(
|
@@ -2938,7 +3062,8 @@ module Aws::ComputeOptimizer
|
|
2938
3062
|
:current_performance_risk,
|
2939
3063
|
:effective_recommendation_preferences,
|
2940
3064
|
:inferred_workload_types,
|
2941
|
-
:instance_state
|
3065
|
+
:instance_state,
|
3066
|
+
:tags)
|
2942
3067
|
SENSITIVE = []
|
2943
3068
|
include Aws::Structure
|
2944
3069
|
end
|
@@ -3377,6 +3502,10 @@ module Aws::ComputeOptimizer
|
|
3377
3502
|
# current Lambda function requires more memory.
|
3378
3503
|
# @return [String]
|
3379
3504
|
#
|
3505
|
+
# @!attribute [rw] tags
|
3506
|
+
# A list of tags assigned to your Lambda function recommendations.
|
3507
|
+
# @return [Array<Types::Tag>]
|
3508
|
+
#
|
3380
3509
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/LambdaFunctionRecommendation AWS API Documentation
|
3381
3510
|
#
|
3382
3511
|
class LambdaFunctionRecommendation < Struct.new(
|
@@ -3391,7 +3520,8 @@ module Aws::ComputeOptimizer
|
|
3391
3520
|
:finding,
|
3392
3521
|
:finding_reason_codes,
|
3393
3522
|
:memory_size_recommendation_options,
|
3394
|
-
:current_performance_risk
|
3523
|
+
:current_performance_risk,
|
3524
|
+
:tags)
|
3395
3525
|
SENSITIVE = []
|
3396
3526
|
include Aws::Structure
|
3397
3527
|
end
|
@@ -3414,6 +3544,23 @@ module Aws::ComputeOptimizer
|
|
3414
3544
|
# Specify `FindingReasonCode` to return recommendations with a
|
3415
3545
|
# specific finding reason code (for example,
|
3416
3546
|
# `MemoryUnderprovisioned`).
|
3547
|
+
#
|
3548
|
+
# You can filter your Lambda function recommendations by `tag:key` and
|
3549
|
+
# `tag-key` tags.
|
3550
|
+
#
|
3551
|
+
# A `tag:key` is a key and value combination of a tag assigned to your
|
3552
|
+
# Lambda function recommendations. Use the tag key in the filter name
|
3553
|
+
# and the tag value as the filter value. For example, to find all
|
3554
|
+
# Lambda function recommendations that have a tag with the key of
|
3555
|
+
# `Owner` and the value of `TeamA`, specify `tag:Owner` for the filter
|
3556
|
+
# name and `TeamA` for the filter value.
|
3557
|
+
#
|
3558
|
+
# A `tag-key` is the key of a tag assigned to your Lambda function
|
3559
|
+
# recommendations. Use this filter to find all of your Lambda function
|
3560
|
+
# recommendations that have a tag with a specific key. This doesn’t
|
3561
|
+
# consider the tag value. For example, you can find your Lambda
|
3562
|
+
# function recommendations with a tag key value of `Owner` or without
|
3563
|
+
# any tag keys assigned.
|
3417
3564
|
# @return [String]
|
3418
3565
|
#
|
3419
3566
|
# @!attribute [rw] values
|
@@ -3951,6 +4098,13 @@ module Aws::ComputeOptimizer
|
|
3951
4098
|
# resource type.
|
3952
4099
|
# @return [Types::CurrentPerformanceRiskRatings]
|
3953
4100
|
#
|
4101
|
+
# @!attribute [rw] inferred_workload_savings
|
4102
|
+
# An array of objects that describes the estimated monthly saving
|
4103
|
+
# amounts for the instances running on the specified
|
4104
|
+
# `inferredWorkloadTypes`. The array contains the top three savings
|
4105
|
+
# opportunites for the instances running inferred workload types.
|
4106
|
+
# @return [Array<Types::InferredWorkloadSaving>]
|
4107
|
+
#
|
3954
4108
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RecommendationSummary AWS API Documentation
|
3955
4109
|
#
|
3956
4110
|
class RecommendationSummary < Struct.new(
|
@@ -3958,7 +4112,8 @@ module Aws::ComputeOptimizer
|
|
3958
4112
|
:recommendation_resource_type,
|
3959
4113
|
:account_id,
|
3960
4114
|
:savings_opportunity,
|
3961
|
-
:current_performance_risk_ratings
|
4115
|
+
:current_performance_risk_ratings,
|
4116
|
+
:inferred_workload_savings)
|
3962
4117
|
SENSITIVE = []
|
3963
4118
|
include Aws::Structure
|
3964
4119
|
end
|
@@ -4120,8 +4275,8 @@ module Aws::ComputeOptimizer
|
|
4120
4275
|
#
|
4121
4276
|
# @!attribute [rw] estimated_monthly_savings
|
4122
4277
|
# An object that describes the estimated monthly savings amount
|
4123
|
-
# possible
|
4124
|
-
#
|
4278
|
+
# possible by adopting Compute Optimizer recommendations for a given
|
4279
|
+
# resource. This is based on the On-Demand instance pricing..
|
4125
4280
|
# @return [Types::EstimatedMonthlySavings]
|
4126
4281
|
#
|
4127
4282
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/SavingsOpportunity AWS API Documentation
|
@@ -4294,6 +4449,28 @@ module Aws::ComputeOptimizer
|
|
4294
4449
|
include Aws::Structure
|
4295
4450
|
end
|
4296
4451
|
|
4452
|
+
# A list of tag key and value pairs that you define.
|
4453
|
+
#
|
4454
|
+
# @!attribute [rw] key
|
4455
|
+
# One part of a key-value pair that makes up a tag. A key is a general
|
4456
|
+
# label that acts like a category for more specific tag values.
|
4457
|
+
# @return [String]
|
4458
|
+
#
|
4459
|
+
# @!attribute [rw] value
|
4460
|
+
# One part of a key-value pair that make up a tag. A value acts as a
|
4461
|
+
# descriptor within a tag category (key). The value can be empty or
|
4462
|
+
# null.
|
4463
|
+
# @return [String]
|
4464
|
+
#
|
4465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/Tag AWS API Documentation
|
4466
|
+
#
|
4467
|
+
class Tag < Struct.new(
|
4468
|
+
:key,
|
4469
|
+
:value)
|
4470
|
+
SENSITIVE = []
|
4471
|
+
include Aws::Structure
|
4472
|
+
end
|
4473
|
+
|
4297
4474
|
# The request was denied due to request throttling.
|
4298
4475
|
#
|
4299
4476
|
# @!attribute [rw] message
|
@@ -4618,6 +4795,10 @@ module Aws::ComputeOptimizer
|
|
4618
4795
|
# EBS volume doesn't have sufficient capacity.
|
4619
4796
|
# @return [String]
|
4620
4797
|
#
|
4798
|
+
# @!attribute [rw] tags
|
4799
|
+
# A list of tags assigned to your Amazon EBS volume recommendations.
|
4800
|
+
# @return [Array<Types::Tag>]
|
4801
|
+
#
|
4621
4802
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/VolumeRecommendation AWS API Documentation
|
4622
4803
|
#
|
4623
4804
|
class VolumeRecommendation < Struct.new(
|
@@ -4629,7 +4810,8 @@ module Aws::ComputeOptimizer
|
|
4629
4810
|
:look_back_period_in_days,
|
4630
4811
|
:volume_recommendation_options,
|
4631
4812
|
:last_refresh_timestamp,
|
4632
|
-
:current_performance_risk
|
4813
|
+
:current_performance_risk,
|
4814
|
+
:tags)
|
4633
4815
|
SENSITIVE = []
|
4634
4816
|
include Aws::Structure
|
4635
4817
|
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.
|
4
|
+
version: 1.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|