aws-sdk-computeoptimizer 1.39.0 → 1.41.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +30 -11
- data/lib/aws-sdk-computeoptimizer/client_api.rb +31 -0
- data/lib/aws-sdk-computeoptimizer/types.rb +221 -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: e863521ebdd80cd910f544fa73ace53f097ee2d3b12e09c064468a0685b8de7d
|
4
|
+
data.tar.gz: e1e4c7e78a9ef2a614a1d75a34da8cdffe354ac58d15c8d5e05facd9e42bbe18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19816c64cddaf3f6ca61348fc49ad6421fd7cbffd6d130e13c132103e77bcb7d740d30af8226539fc9cad58df9e0ea4aaf1729251bc1c4327b34ac3a121f1566
|
7
|
+
data.tar.gz: c3eeb2788aa0de2cff30639dc428249a4db2d8c2465cda31bd50bb85daa99465456dbebda7c3888e3e24dfa358aa4c9e6840df35aa3af58ebda7530f3d1b4c2b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.41.0 (2023-05-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - In this launch, we add support for showing integration status with external metric providers such as Instana, Datadog ...etc in GetEC2InstanceRecommendations and ExportEC2InstanceRecommendations apis
|
8
|
+
|
9
|
+
1.40.0 (2023-05-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.39.0 (2023-03-30)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.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, ExternalMetricStatusCode, ExternalMetricStatusReason
|
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,13 @@ 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
|
1530
|
+
# resp.instance_recommendations[0].external_metric_status.status_code #=> String, one of "NO_EXTERNAL_METRIC_SET", "INTEGRATION_SUCCESS", "DATADOG_INTEGRATION_ERROR", "DYNATRACE_INTEGRATION_ERROR", "NEWRELIC_INTEGRATION_ERROR", "INSTANA_INTEGRATION_ERROR", "INSUFFICIENT_DATADOG_METRICS", "INSUFFICIENT_DYNATRACE_METRICS", "INSUFFICIENT_NEWRELIC_METRICS", "INSUFFICIENT_INSTANA_METRICS"
|
1531
|
+
# resp.instance_recommendations[0].external_metric_status.status_reason #=> String
|
1524
1532
|
# resp.errors #=> Array
|
1525
1533
|
# resp.errors[0].identifier #=> String
|
1526
1534
|
# resp.errors[0].code #=> String
|
@@ -1772,6 +1780,9 @@ module Aws::ComputeOptimizer
|
|
1772
1780
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].container_recommendations[0].memory_size_configuration.memory_reservation #=> Integer
|
1773
1781
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].container_recommendations[0].cpu #=> Integer
|
1774
1782
|
# resp.ecs_service_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1783
|
+
# resp.ecs_service_recommendations[0].tags #=> Array
|
1784
|
+
# resp.ecs_service_recommendations[0].tags[0].key #=> String
|
1785
|
+
# resp.ecs_service_recommendations[0].tags[0].value #=> String
|
1775
1786
|
# resp.errors #=> Array
|
1776
1787
|
# resp.errors[0].identifier #=> String
|
1777
1788
|
# resp.errors[0].code #=> String
|
@@ -2020,6 +2031,9 @@ module Aws::ComputeOptimizer
|
|
2020
2031
|
# resp.lambda_function_recommendations[0].memory_size_recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2021
2032
|
# resp.lambda_function_recommendations[0].memory_size_recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
|
2022
2033
|
# resp.lambda_function_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
2034
|
+
# resp.lambda_function_recommendations[0].tags #=> Array
|
2035
|
+
# resp.lambda_function_recommendations[0].tags[0].key #=> String
|
2036
|
+
# resp.lambda_function_recommendations[0].tags[0].value #=> String
|
2023
2037
|
#
|
2024
2038
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetLambdaFunctionRecommendations AWS API Documentation
|
2025
2039
|
#
|
@@ -2195,6 +2209,11 @@ module Aws::ComputeOptimizer
|
|
2195
2209
|
# resp.recommendation_summaries[0].current_performance_risk_ratings.medium #=> Integer
|
2196
2210
|
# resp.recommendation_summaries[0].current_performance_risk_ratings.low #=> Integer
|
2197
2211
|
# resp.recommendation_summaries[0].current_performance_risk_ratings.very_low #=> Integer
|
2212
|
+
# resp.recommendation_summaries[0].inferred_workload_savings #=> Array
|
2213
|
+
# resp.recommendation_summaries[0].inferred_workload_savings[0].inferred_workload_types #=> Array
|
2214
|
+
# resp.recommendation_summaries[0].inferred_workload_savings[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis", "Kafka", "SQLServer"
|
2215
|
+
# resp.recommendation_summaries[0].inferred_workload_savings[0].estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2216
|
+
# resp.recommendation_summaries[0].inferred_workload_savings[0].estimated_monthly_savings.value #=> Float
|
2198
2217
|
#
|
2199
2218
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationSummaries AWS API Documentation
|
2200
2219
|
#
|
@@ -2419,7 +2438,7 @@ module Aws::ComputeOptimizer
|
|
2419
2438
|
params: params,
|
2420
2439
|
config: config)
|
2421
2440
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
2422
|
-
context[:gem_version] = '1.
|
2441
|
+
context[:gem_version] = '1.41.0'
|
2423
2442
|
Seahorse::Client::Request.new(handlers, context)
|
2424
2443
|
end
|
2425
2444
|
|
@@ -105,6 +105,9 @@ module Aws::ComputeOptimizer
|
|
105
105
|
ExportableLambdaFunctionFields = Shapes::ListShape.new(name: 'ExportableLambdaFunctionFields')
|
106
106
|
ExportableVolumeField = Shapes::StringShape.new(name: 'ExportableVolumeField')
|
107
107
|
ExportableVolumeFields = Shapes::ListShape.new(name: 'ExportableVolumeFields')
|
108
|
+
ExternalMetricStatus = Shapes::StructureShape.new(name: 'ExternalMetricStatus')
|
109
|
+
ExternalMetricStatusCode = Shapes::StringShape.new(name: 'ExternalMetricStatusCode')
|
110
|
+
ExternalMetricStatusReason = Shapes::StringShape.new(name: 'ExternalMetricStatusReason')
|
108
111
|
ExternalMetricsPreference = Shapes::StructureShape.new(name: 'ExternalMetricsPreference')
|
109
112
|
ExternalMetricsSource = Shapes::StringShape.new(name: 'ExternalMetricsSource')
|
110
113
|
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
@@ -148,6 +151,8 @@ module Aws::ComputeOptimizer
|
|
148
151
|
High = Shapes::IntegerShape.new(name: 'High')
|
149
152
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
150
153
|
IncludeMemberAccounts = Shapes::BooleanShape.new(name: 'IncludeMemberAccounts')
|
154
|
+
InferredWorkloadSaving = Shapes::StructureShape.new(name: 'InferredWorkloadSaving')
|
155
|
+
InferredWorkloadSavings = Shapes::ListShape.new(name: 'InferredWorkloadSavings')
|
151
156
|
InferredWorkloadType = Shapes::StringShape.new(name: 'InferredWorkloadType')
|
152
157
|
InferredWorkloadTypes = Shapes::ListShape.new(name: 'InferredWorkloadTypes')
|
153
158
|
InferredWorkloadTypesPreference = Shapes::StringShape.new(name: 'InferredWorkloadTypesPreference')
|
@@ -264,6 +269,10 @@ module Aws::ComputeOptimizer
|
|
264
269
|
Summaries = Shapes::ListShape.new(name: 'Summaries')
|
265
270
|
Summary = Shapes::StructureShape.new(name: 'Summary')
|
266
271
|
SummaryValue = Shapes::FloatShape.new(name: 'SummaryValue')
|
272
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
273
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
274
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
275
|
+
Tags = Shapes::ListShape.new(name: 'Tags')
|
267
276
|
TaskDefinitionArn = Shapes::StringShape.new(name: 'TaskDefinitionArn')
|
268
277
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
269
278
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
@@ -415,6 +424,7 @@ module Aws::ComputeOptimizer
|
|
415
424
|
ECSServiceRecommendation.add_member(:finding_reason_codes, Shapes::ShapeRef.new(shape: ECSServiceRecommendationFindingReasonCodes, location_name: "findingReasonCodes"))
|
416
425
|
ECSServiceRecommendation.add_member(:service_recommendation_options, Shapes::ShapeRef.new(shape: ECSServiceRecommendationOptions, location_name: "serviceRecommendationOptions"))
|
417
426
|
ECSServiceRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
|
427
|
+
ECSServiceRecommendation.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
418
428
|
ECSServiceRecommendation.struct_class = Types::ECSServiceRecommendation
|
419
429
|
|
420
430
|
ECSServiceRecommendationFilter.add_member(:name, Shapes::ShapeRef.new(shape: ECSServiceRecommendationFilterName, location_name: "name"))
|
@@ -541,6 +551,10 @@ module Aws::ComputeOptimizer
|
|
541
551
|
|
542
552
|
ExportableVolumeFields.member = Shapes::ShapeRef.new(shape: ExportableVolumeField)
|
543
553
|
|
554
|
+
ExternalMetricStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: ExternalMetricStatusCode, location_name: "statusCode"))
|
555
|
+
ExternalMetricStatus.add_member(:status_reason, Shapes::ShapeRef.new(shape: ExternalMetricStatusReason, location_name: "statusReason"))
|
556
|
+
ExternalMetricStatus.struct_class = Types::ExternalMetricStatus
|
557
|
+
|
544
558
|
ExternalMetricsPreference.add_member(:source, Shapes::ShapeRef.new(shape: ExternalMetricsSource, location_name: "source"))
|
545
559
|
ExternalMetricsPreference.struct_class = Types::ExternalMetricsPreference
|
546
560
|
|
@@ -687,6 +701,12 @@ module Aws::ComputeOptimizer
|
|
687
701
|
GetRecommendationSummariesResponse.add_member(:recommendation_summaries, Shapes::ShapeRef.new(shape: RecommendationSummaries, location_name: "recommendationSummaries"))
|
688
702
|
GetRecommendationSummariesResponse.struct_class = Types::GetRecommendationSummariesResponse
|
689
703
|
|
704
|
+
InferredWorkloadSaving.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypes, location_name: "inferredWorkloadTypes"))
|
705
|
+
InferredWorkloadSaving.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: EstimatedMonthlySavings, location_name: "estimatedMonthlySavings"))
|
706
|
+
InferredWorkloadSaving.struct_class = Types::InferredWorkloadSaving
|
707
|
+
|
708
|
+
InferredWorkloadSavings.member = Shapes::ShapeRef.new(shape: InferredWorkloadSaving)
|
709
|
+
|
690
710
|
InferredWorkloadTypes.member = Shapes::ShapeRef.new(shape: InferredWorkloadType)
|
691
711
|
|
692
712
|
InstanceArns.member = Shapes::ShapeRef.new(shape: InstanceArn)
|
@@ -706,6 +726,8 @@ module Aws::ComputeOptimizer
|
|
706
726
|
InstanceRecommendation.add_member(:effective_recommendation_preferences, Shapes::ShapeRef.new(shape: EffectiveRecommendationPreferences, location_name: "effectiveRecommendationPreferences"))
|
707
727
|
InstanceRecommendation.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypes, location_name: "inferredWorkloadTypes"))
|
708
728
|
InstanceRecommendation.add_member(:instance_state, Shapes::ShapeRef.new(shape: InstanceState, location_name: "instanceState"))
|
729
|
+
InstanceRecommendation.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
730
|
+
InstanceRecommendation.add_member(:external_metric_status, Shapes::ShapeRef.new(shape: ExternalMetricStatus, location_name: "externalMetricStatus"))
|
709
731
|
InstanceRecommendation.struct_class = Types::InstanceRecommendation
|
710
732
|
|
711
733
|
InstanceRecommendationFindingReasonCodes.member = Shapes::ShapeRef.new(shape: InstanceRecommendationFindingReasonCode)
|
@@ -762,6 +784,7 @@ module Aws::ComputeOptimizer
|
|
762
784
|
LambdaFunctionRecommendation.add_member(:finding_reason_codes, Shapes::ShapeRef.new(shape: LambdaFunctionRecommendationFindingReasonCodes, location_name: "findingReasonCodes"))
|
763
785
|
LambdaFunctionRecommendation.add_member(:memory_size_recommendation_options, Shapes::ShapeRef.new(shape: LambdaFunctionMemoryRecommendationOptions, location_name: "memorySizeRecommendationOptions"))
|
764
786
|
LambdaFunctionRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
|
787
|
+
LambdaFunctionRecommendation.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
765
788
|
LambdaFunctionRecommendation.struct_class = Types::LambdaFunctionRecommendation
|
766
789
|
|
767
790
|
LambdaFunctionRecommendationFilter.add_member(:name, Shapes::ShapeRef.new(shape: LambdaFunctionRecommendationFilterName, location_name: "name"))
|
@@ -862,6 +885,7 @@ module Aws::ComputeOptimizer
|
|
862
885
|
RecommendationSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
863
886
|
RecommendationSummary.add_member(:savings_opportunity, Shapes::ShapeRef.new(shape: SavingsOpportunity, location_name: "savingsOpportunity"))
|
864
887
|
RecommendationSummary.add_member(:current_performance_risk_ratings, Shapes::ShapeRef.new(shape: CurrentPerformanceRiskRatings, location_name: "currentPerformanceRiskRatings"))
|
888
|
+
RecommendationSummary.add_member(:inferred_workload_savings, Shapes::ShapeRef.new(shape: InferredWorkloadSavings, location_name: "inferredWorkloadSavings"))
|
865
889
|
RecommendationSummary.struct_class = Types::RecommendationSummary
|
866
890
|
|
867
891
|
RecommendedOptionProjectedMetric.add_member(:recommended_instance_type, Shapes::ShapeRef.new(shape: RecommendedInstanceType, location_name: "recommendedInstanceType"))
|
@@ -910,6 +934,12 @@ module Aws::ComputeOptimizer
|
|
910
934
|
Summary.add_member(:reason_code_summaries, Shapes::ShapeRef.new(shape: ReasonCodeSummaries, location_name: "reasonCodeSummaries"))
|
911
935
|
Summary.struct_class = Types::Summary
|
912
936
|
|
937
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "key"))
|
938
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
|
939
|
+
Tag.struct_class = Types::Tag
|
940
|
+
|
941
|
+
Tags.member = Shapes::ShapeRef.new(shape: Tag)
|
942
|
+
|
913
943
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
914
944
|
ThrottlingException.struct_class = Types::ThrottlingException
|
915
945
|
|
@@ -950,6 +980,7 @@ module Aws::ComputeOptimizer
|
|
950
980
|
VolumeRecommendation.add_member(:volume_recommendation_options, Shapes::ShapeRef.new(shape: VolumeRecommendationOptions, location_name: "volumeRecommendationOptions"))
|
951
981
|
VolumeRecommendation.add_member(:last_refresh_timestamp, Shapes::ShapeRef.new(shape: LastRefreshTimestamp, location_name: "lastRefreshTimestamp"))
|
952
982
|
VolumeRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
|
983
|
+
VolumeRecommendation.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
953
984
|
VolumeRecommendation.struct_class = Types::VolumeRecommendation
|
954
985
|
|
955
986
|
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
|
@@ -1707,6 +1751,28 @@ module Aws::ComputeOptimizer
|
|
1707
1751
|
include Aws::Structure
|
1708
1752
|
end
|
1709
1753
|
|
1754
|
+
# Describes Compute Optimizer's integration status with your chosen
|
1755
|
+
# external metric provider. For example, Datadog.
|
1756
|
+
#
|
1757
|
+
# @!attribute [rw] status_code
|
1758
|
+
# The status code for Compute Optimizer's integration with an
|
1759
|
+
# external metrics provider.
|
1760
|
+
# @return [String]
|
1761
|
+
#
|
1762
|
+
# @!attribute [rw] status_reason
|
1763
|
+
# The reason for Compute Optimizer's integration status with your
|
1764
|
+
# external metric provider.
|
1765
|
+
# @return [String]
|
1766
|
+
#
|
1767
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExternalMetricStatus AWS API Documentation
|
1768
|
+
#
|
1769
|
+
class ExternalMetricStatus < Struct.new(
|
1770
|
+
:status_code,
|
1771
|
+
:status_reason)
|
1772
|
+
SENSITIVE = []
|
1773
|
+
include Aws::Structure
|
1774
|
+
end
|
1775
|
+
|
1710
1776
|
# Describes the external metrics preferences for EC2 rightsizing
|
1711
1777
|
# recommendations.
|
1712
1778
|
#
|
@@ -1736,13 +1802,32 @@ module Aws::ComputeOptimizer
|
|
1736
1802
|
# The name of the filter.
|
1737
1803
|
#
|
1738
1804
|
# Specify `Finding` to return recommendations with a specific finding
|
1739
|
-
# classification
|
1805
|
+
# classification. For example, `Underprovisioned`.
|
1740
1806
|
#
|
1741
1807
|
# Specify `RecommendationSourceType` to return recommendations of a
|
1742
|
-
# specific resource type
|
1808
|
+
# specific resource type. For example, `Ec2Instance`.
|
1743
1809
|
#
|
1744
1810
|
# Specify `FindingReasonCodes` to return recommendations with a
|
1745
|
-
# specific finding reason code
|
1811
|
+
# specific finding reason code. For example, `CPUUnderprovisioned`.
|
1812
|
+
#
|
1813
|
+
# Specify `InferredWorkloadTypes` to return recommendations of a
|
1814
|
+
# specific inferred workload. For example, `Redis`.
|
1815
|
+
#
|
1816
|
+
# You can filter your EC2 instance recommendations by `tag:key` and
|
1817
|
+
# `tag-key` tags.
|
1818
|
+
#
|
1819
|
+
# A `tag:key` is a key and value combination of a tag assigned to your
|
1820
|
+
# recommendations. Use the tag key in the filter name and the tag
|
1821
|
+
# value as the filter value. For example, to find all recommendations
|
1822
|
+
# that have a tag with the key of `Owner` and the value of `TeamA`,
|
1823
|
+
# specify `tag:Owner` for the filter name and `TeamA` for the filter
|
1824
|
+
# value.
|
1825
|
+
#
|
1826
|
+
# A `tag-key` is the key of a tag assigned to your recommendations.
|
1827
|
+
# Use this filter to find all of your recommendations that have a tag
|
1828
|
+
# with a specific key. This doesn’t consider the tag value. For
|
1829
|
+
# example, you can find your recommendations with a tag key value of
|
1830
|
+
# `Owner` or without any tag keys assigned.
|
1746
1831
|
# @return [String]
|
1747
1832
|
#
|
1748
1833
|
# @!attribute [rw] values
|
@@ -2663,6 +2748,60 @@ module Aws::ComputeOptimizer
|
|
2663
2748
|
include Aws::Structure
|
2664
2749
|
end
|
2665
2750
|
|
2751
|
+
# The estimated monthly savings after you adjust the configurations of
|
2752
|
+
# your instances running on the inferred workload types to the
|
2753
|
+
# recommended configurations. If the `inferredWorkloadTypes` list
|
2754
|
+
# contains multiple entries, then the savings are the sum of the monthly
|
2755
|
+
# savings from instances that run the exact combination of the inferred
|
2756
|
+
# workload types.
|
2757
|
+
#
|
2758
|
+
# @!attribute [rw] inferred_workload_types
|
2759
|
+
# The applications that might be running on the instance as inferred
|
2760
|
+
# by Compute Optimizer.
|
2761
|
+
#
|
2762
|
+
# Compute Optimizer can infer if one of the following applications
|
2763
|
+
# might be running on the instance:
|
2764
|
+
#
|
2765
|
+
# * `AmazonEmr` - Infers that Amazon EMR might be running on the
|
2766
|
+
# instance.
|
2767
|
+
#
|
2768
|
+
# * `ApacheCassandra` - Infers that Apache Cassandra might be running
|
2769
|
+
# on the instance.
|
2770
|
+
#
|
2771
|
+
# * `ApacheHadoop` - Infers that Apache Hadoop might be running on the
|
2772
|
+
# instance.
|
2773
|
+
#
|
2774
|
+
# * `Memcached` - Infers that Memcached might be running on the
|
2775
|
+
# instance.
|
2776
|
+
#
|
2777
|
+
# * `NGINX` - Infers that NGINX might be running on the instance.
|
2778
|
+
#
|
2779
|
+
# * `PostgreSql` - Infers that PostgreSQL might be running on the
|
2780
|
+
# instance.
|
2781
|
+
#
|
2782
|
+
# * `Redis` - Infers that Redis might be running on the instance.
|
2783
|
+
#
|
2784
|
+
# * `Kafka` - Infers that Kafka might be running on the instance.
|
2785
|
+
#
|
2786
|
+
# * `SQLServer` - Infers that SQLServer might be running on the
|
2787
|
+
# instance.
|
2788
|
+
# @return [Array<String>]
|
2789
|
+
#
|
2790
|
+
# @!attribute [rw] estimated_monthly_savings
|
2791
|
+
# An object that describes the estimated monthly savings amount
|
2792
|
+
# possible by adopting Compute Optimizer recommendations for a given
|
2793
|
+
# resource. This is based on the On-Demand instance pricing.
|
2794
|
+
# @return [Types::EstimatedMonthlySavings]
|
2795
|
+
#
|
2796
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/InferredWorkloadSaving AWS API Documentation
|
2797
|
+
#
|
2798
|
+
class InferredWorkloadSaving < Struct.new(
|
2799
|
+
:inferred_workload_types,
|
2800
|
+
:estimated_monthly_savings)
|
2801
|
+
SENSITIVE = []
|
2802
|
+
include Aws::Structure
|
2803
|
+
end
|
2804
|
+
|
2666
2805
|
# Describes an Amazon EC2 instance recommendation.
|
2667
2806
|
#
|
2668
2807
|
# @!attribute [rw] instance_arn
|
@@ -2761,7 +2900,7 @@ module Aws::ComputeOptimizer
|
|
2761
2900
|
# performance requirements of your workload and there is an
|
2762
2901
|
# alternative instance type that provides better EBS throughput
|
2763
2902
|
# performance. This is identified by analyzing the `VolumeReadBytes`
|
2764
|
-
# and `VolumeWriteBytes
|
2903
|
+
# and `VolumeWriteBytes` metrics of EBS volumes attached to the
|
2765
2904
|
# current instance during the look-back period.
|
2766
2905
|
#
|
2767
2906
|
# * <b> <code>EBSIOPSOverprovisioned</code> </b> — The instance’s EBS
|
@@ -2915,12 +3054,24 @@ module Aws::ComputeOptimizer
|
|
2915
3054
|
# * `Redis` - Infers that Redis might be running on the instance.
|
2916
3055
|
#
|
2917
3056
|
# * `Kafka` - Infers that Kafka might be running on the instance.
|
3057
|
+
#
|
3058
|
+
# * `SQLServer` - Infers that SQLServer might be running on the
|
3059
|
+
# instance.
|
2918
3060
|
# @return [Array<String>]
|
2919
3061
|
#
|
2920
3062
|
# @!attribute [rw] instance_state
|
2921
3063
|
# The state of the instance when the recommendation was generated.
|
2922
3064
|
# @return [String]
|
2923
3065
|
#
|
3066
|
+
# @!attribute [rw] tags
|
3067
|
+
# A list of tags assigned to your Amazon EC2 instance recommendations.
|
3068
|
+
# @return [Array<Types::Tag>]
|
3069
|
+
#
|
3070
|
+
# @!attribute [rw] external_metric_status
|
3071
|
+
# An object that describes Compute Optimizer's integration status
|
3072
|
+
# with your external metrics provider.
|
3073
|
+
# @return [Types::ExternalMetricStatus]
|
3074
|
+
#
|
2924
3075
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/InstanceRecommendation AWS API Documentation
|
2925
3076
|
#
|
2926
3077
|
class InstanceRecommendation < Struct.new(
|
@@ -2938,7 +3089,9 @@ module Aws::ComputeOptimizer
|
|
2938
3089
|
:current_performance_risk,
|
2939
3090
|
:effective_recommendation_preferences,
|
2940
3091
|
:inferred_workload_types,
|
2941
|
-
:instance_state
|
3092
|
+
:instance_state,
|
3093
|
+
:tags,
|
3094
|
+
:external_metric_status)
|
2942
3095
|
SENSITIVE = []
|
2943
3096
|
include Aws::Structure
|
2944
3097
|
end
|
@@ -3377,6 +3530,10 @@ module Aws::ComputeOptimizer
|
|
3377
3530
|
# current Lambda function requires more memory.
|
3378
3531
|
# @return [String]
|
3379
3532
|
#
|
3533
|
+
# @!attribute [rw] tags
|
3534
|
+
# A list of tags assigned to your Lambda function recommendations.
|
3535
|
+
# @return [Array<Types::Tag>]
|
3536
|
+
#
|
3380
3537
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/LambdaFunctionRecommendation AWS API Documentation
|
3381
3538
|
#
|
3382
3539
|
class LambdaFunctionRecommendation < Struct.new(
|
@@ -3391,7 +3548,8 @@ module Aws::ComputeOptimizer
|
|
3391
3548
|
:finding,
|
3392
3549
|
:finding_reason_codes,
|
3393
3550
|
:memory_size_recommendation_options,
|
3394
|
-
:current_performance_risk
|
3551
|
+
:current_performance_risk,
|
3552
|
+
:tags)
|
3395
3553
|
SENSITIVE = []
|
3396
3554
|
include Aws::Structure
|
3397
3555
|
end
|
@@ -3414,6 +3572,23 @@ module Aws::ComputeOptimizer
|
|
3414
3572
|
# Specify `FindingReasonCode` to return recommendations with a
|
3415
3573
|
# specific finding reason code (for example,
|
3416
3574
|
# `MemoryUnderprovisioned`).
|
3575
|
+
#
|
3576
|
+
# You can filter your Lambda function recommendations by `tag:key` and
|
3577
|
+
# `tag-key` tags.
|
3578
|
+
#
|
3579
|
+
# A `tag:key` is a key and value combination of a tag assigned to your
|
3580
|
+
# Lambda function recommendations. Use the tag key in the filter name
|
3581
|
+
# and the tag value as the filter value. For example, to find all
|
3582
|
+
# Lambda function recommendations that have a tag with the key of
|
3583
|
+
# `Owner` and the value of `TeamA`, specify `tag:Owner` for the filter
|
3584
|
+
# name and `TeamA` for the filter value.
|
3585
|
+
#
|
3586
|
+
# A `tag-key` is the key of a tag assigned to your Lambda function
|
3587
|
+
# recommendations. Use this filter to find all of your Lambda function
|
3588
|
+
# recommendations that have a tag with a specific key. This doesn’t
|
3589
|
+
# consider the tag value. For example, you can find your Lambda
|
3590
|
+
# function recommendations with a tag key value of `Owner` or without
|
3591
|
+
# any tag keys assigned.
|
3417
3592
|
# @return [String]
|
3418
3593
|
#
|
3419
3594
|
# @!attribute [rw] values
|
@@ -3951,6 +4126,13 @@ module Aws::ComputeOptimizer
|
|
3951
4126
|
# resource type.
|
3952
4127
|
# @return [Types::CurrentPerformanceRiskRatings]
|
3953
4128
|
#
|
4129
|
+
# @!attribute [rw] inferred_workload_savings
|
4130
|
+
# An array of objects that describes the estimated monthly saving
|
4131
|
+
# amounts for the instances running on the specified
|
4132
|
+
# `inferredWorkloadTypes`. The array contains the top three savings
|
4133
|
+
# opportunites for the instances running inferred workload types.
|
4134
|
+
# @return [Array<Types::InferredWorkloadSaving>]
|
4135
|
+
#
|
3954
4136
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/RecommendationSummary AWS API Documentation
|
3955
4137
|
#
|
3956
4138
|
class RecommendationSummary < Struct.new(
|
@@ -3958,7 +4140,8 @@ module Aws::ComputeOptimizer
|
|
3958
4140
|
:recommendation_resource_type,
|
3959
4141
|
:account_id,
|
3960
4142
|
:savings_opportunity,
|
3961
|
-
:current_performance_risk_ratings
|
4143
|
+
:current_performance_risk_ratings,
|
4144
|
+
:inferred_workload_savings)
|
3962
4145
|
SENSITIVE = []
|
3963
4146
|
include Aws::Structure
|
3964
4147
|
end
|
@@ -4120,8 +4303,8 @@ module Aws::ComputeOptimizer
|
|
4120
4303
|
#
|
4121
4304
|
# @!attribute [rw] estimated_monthly_savings
|
4122
4305
|
# An object that describes the estimated monthly savings amount
|
4123
|
-
# possible
|
4124
|
-
#
|
4306
|
+
# possible by adopting Compute Optimizer recommendations for a given
|
4307
|
+
# resource. This is based on the On-Demand instance pricing..
|
4125
4308
|
# @return [Types::EstimatedMonthlySavings]
|
4126
4309
|
#
|
4127
4310
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/SavingsOpportunity AWS API Documentation
|
@@ -4294,6 +4477,28 @@ module Aws::ComputeOptimizer
|
|
4294
4477
|
include Aws::Structure
|
4295
4478
|
end
|
4296
4479
|
|
4480
|
+
# A list of tag key and value pairs that you define.
|
4481
|
+
#
|
4482
|
+
# @!attribute [rw] key
|
4483
|
+
# One part of a key-value pair that makes up a tag. A key is a general
|
4484
|
+
# label that acts like a category for more specific tag values.
|
4485
|
+
# @return [String]
|
4486
|
+
#
|
4487
|
+
# @!attribute [rw] value
|
4488
|
+
# One part of a key-value pair that make up a tag. A value acts as a
|
4489
|
+
# descriptor within a tag category (key). The value can be empty or
|
4490
|
+
# null.
|
4491
|
+
# @return [String]
|
4492
|
+
#
|
4493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/Tag AWS API Documentation
|
4494
|
+
#
|
4495
|
+
class Tag < Struct.new(
|
4496
|
+
:key,
|
4497
|
+
:value)
|
4498
|
+
SENSITIVE = []
|
4499
|
+
include Aws::Structure
|
4500
|
+
end
|
4501
|
+
|
4297
4502
|
# The request was denied due to request throttling.
|
4298
4503
|
#
|
4299
4504
|
# @!attribute [rw] message
|
@@ -4618,6 +4823,10 @@ module Aws::ComputeOptimizer
|
|
4618
4823
|
# EBS volume doesn't have sufficient capacity.
|
4619
4824
|
# @return [String]
|
4620
4825
|
#
|
4826
|
+
# @!attribute [rw] tags
|
4827
|
+
# A list of tags assigned to your Amazon EBS volume recommendations.
|
4828
|
+
# @return [Array<Types::Tag>]
|
4829
|
+
#
|
4621
4830
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/VolumeRecommendation AWS API Documentation
|
4622
4831
|
#
|
4623
4832
|
class VolumeRecommendation < Struct.new(
|
@@ -4629,7 +4838,8 @@ module Aws::ComputeOptimizer
|
|
4629
4838
|
:look_back_period_in_days,
|
4630
4839
|
:volume_recommendation_options,
|
4631
4840
|
:last_refresh_timestamp,
|
4632
|
-
:current_performance_risk
|
4841
|
+
:current_performance_risk,
|
4842
|
+
:tags)
|
4633
4843
|
SENSITIVE = []
|
4634
4844
|
include Aws::Structure
|
4635
4845
|
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.41.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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|