aws-sdk-computeoptimizer 1.50.0 → 1.51.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 +154 -7
- data/lib/aws-sdk-computeoptimizer/client_api.rb +147 -0
- data/lib/aws-sdk-computeoptimizer/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-computeoptimizer/types.rb +741 -12
- 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: '079bf584e5de6a9ac8d1ea82fe106f12c22a1d850271f6ba4fb0753f7b885f40'
|
4
|
+
data.tar.gz: a6afd87e5b05d73d3e7f48181e5e2a22e6233cf3a551415f077aed4538c654fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ba0277b73946c1058742939008d1fc97aa0d3a526f5c4b9ee8812e91c89268ee6c160a6f3879ef6cf4fa10e7cdbb0497578a887e39af80be0cca15801a5b6ed
|
7
|
+
data.tar.gz: cef67547a696f185dc31bfbaf68275670d15fb63aa1c6b4c5bbb79b8c5139d4d1bc8bf32f64dbd9944fe8aa2a0309a6585c2d237714ad7291db57d148a67c7e9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.51.0 (2023-11-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release enables AWS Compute Optimizer to analyze and generate recommendations with customization and discounts preferences.
|
8
|
+
|
4
9
|
1.50.0 (2023-11-22)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.51.0
|
@@ -448,7 +448,7 @@ module Aws::ComputeOptimizer
|
|
448
448
|
# name: "Organization", # accepts Organization, AccountId, ResourceArn
|
449
449
|
# value: "ScopeValue",
|
450
450
|
# },
|
451
|
-
# recommendation_preference_names: ["EnhancedInfrastructureMetrics"], # required, accepts EnhancedInfrastructureMetrics, InferredWorkloadTypes, ExternalMetricsPreference
|
451
|
+
# recommendation_preference_names: ["EnhancedInfrastructureMetrics"], # required, accepts EnhancedInfrastructureMetrics, InferredWorkloadTypes, ExternalMetricsPreference, LookBackPeriodPreference, PreferredResources, UtilizationPreferences
|
452
452
|
# })
|
453
453
|
#
|
454
454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DeleteRecommendationPreferences AWS API Documentation
|
@@ -644,7 +644,7 @@ module Aws::ComputeOptimizer
|
|
644
644
|
# values: ["FilterValue"],
|
645
645
|
# },
|
646
646
|
# ],
|
647
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationInstanceType, CurrentConfigurationDesiredCapacity, CurrentConfigurationMinSize, CurrentConfigurationMaxSize, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsConfigurationInstanceType, RecommendationOptionsConfigurationDesiredCapacity, RecommendationOptionsConfigurationMinSize, RecommendationOptionsConfigurationMaxSize, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort, CurrentInstanceGpuInfo, RecommendationOptionsInstanceGpuInfo, UtilizationMetricsGpuPercentageMaximum, UtilizationMetricsGpuMemoryPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum
|
647
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationInstanceType, CurrentConfigurationDesiredCapacity, CurrentConfigurationMinSize, CurrentConfigurationMaxSize, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsConfigurationInstanceType, RecommendationOptionsConfigurationDesiredCapacity, RecommendationOptionsConfigurationMinSize, RecommendationOptionsConfigurationMaxSize, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort, CurrentInstanceGpuInfo, RecommendationOptionsInstanceGpuInfo, UtilizationMetricsGpuPercentageMaximum, UtilizationMetricsGpuMemoryPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum, EffectiveRecommendationPreferencesSavingsEstimationMode, RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts, EffectiveRecommendationPreferencesPreferredResources, EffectiveRecommendationPreferencesLookBackPeriod
|
648
648
|
# s3_destination_config: { # required
|
649
649
|
# bucket: "DestinationBucket",
|
650
650
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -778,7 +778,7 @@ module Aws::ComputeOptimizer
|
|
778
778
|
# values: ["FilterValue"],
|
779
779
|
# },
|
780
780
|
# ],
|
781
|
-
# 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, CurrentConfigurationRootVolume
|
781
|
+
# 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, CurrentConfigurationRootVolume, EffectiveRecommendationPreferencesSavingsEstimationMode, RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts
|
782
782
|
# s3_destination_config: { # required
|
783
783
|
# bucket: "DestinationBucket",
|
784
784
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -910,7 +910,7 @@ module Aws::ComputeOptimizer
|
|
910
910
|
# values: ["FilterValue"],
|
911
911
|
# },
|
912
912
|
# ],
|
913
|
-
# 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, CurrentInstanceGpuInfo, RecommendationOptionsInstanceGpuInfo, UtilizationMetricsGpuPercentageMaximum, UtilizationMetricsGpuMemoryPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum, Idle
|
913
|
+
# 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, CurrentInstanceGpuInfo, RecommendationOptionsInstanceGpuInfo, UtilizationMetricsGpuPercentageMaximum, UtilizationMetricsGpuMemoryPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum, Idle, EffectiveRecommendationPreferencesPreferredResources, EffectiveRecommendationPreferencesLookBackPeriod, EffectiveRecommendationPreferencesUtilizationPreferences, EffectiveRecommendationPreferencesSavingsEstimationMode, RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts
|
914
914
|
# s3_destination_config: { # required
|
915
915
|
# bucket: "DestinationBucket",
|
916
916
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -1043,7 +1043,7 @@ module Aws::ComputeOptimizer
|
|
1043
1043
|
# values: ["FilterValue"],
|
1044
1044
|
# },
|
1045
1045
|
# ],
|
1046
|
-
# 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
|
1046
|
+
# 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, EffectiveRecommendationPreferencesSavingsEstimationMode, RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts
|
1047
1047
|
# s3_destination_config: { # required
|
1048
1048
|
# bucket: "DestinationBucket",
|
1049
1049
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -1174,7 +1174,7 @@ module Aws::ComputeOptimizer
|
|
1174
1174
|
# values: ["FilterValue"],
|
1175
1175
|
# },
|
1176
1176
|
# ],
|
1177
|
-
# 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
|
1177
|
+
# 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, EffectiveRecommendationPreferencesSavingsEstimationMode, RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts
|
1178
1178
|
# s3_destination_config: { # required
|
1179
1179
|
# bucket: "DestinationBucket",
|
1180
1180
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -1430,6 +1430,9 @@ module Aws::ComputeOptimizer
|
|
1430
1430
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].instance_gpu_info.gpus #=> Array
|
1431
1431
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_count #=> Integer
|
1432
1432
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_memory_size_in_mi_b #=> Integer
|
1433
|
+
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
|
1434
|
+
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
1435
|
+
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
1433
1436
|
# resp.auto_scaling_group_recommendations[0].last_refresh_timestamp #=> Time
|
1434
1437
|
# resp.auto_scaling_group_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1435
1438
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures #=> Array
|
@@ -1437,6 +1440,20 @@ module Aws::ComputeOptimizer
|
|
1437
1440
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
|
1438
1441
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.inferred_workload_types #=> String, one of "Active", "Inactive"
|
1439
1442
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
1443
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
|
1444
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.utilization_preferences #=> Array
|
1445
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization"
|
1446
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_parameters.threshold #=> String, one of "P90", "P95", "P99_5"
|
1447
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_0"
|
1448
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources #=> Array
|
1449
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources[0].name #=> String, one of "Ec2InstanceTypes"
|
1450
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources[0].include_list #=> Array
|
1451
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources[0].include_list[0] #=> String
|
1452
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources[0].effective_include_list #=> Array
|
1453
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources[0].effective_include_list[0] #=> String
|
1454
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources[0].exclude_list #=> Array
|
1455
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.preferred_resources[0].exclude_list[0] #=> String
|
1456
|
+
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
1440
1457
|
# resp.auto_scaling_group_recommendations[0].inferred_workload_types #=> Array
|
1441
1458
|
# resp.auto_scaling_group_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis", "Kafka", "SQLServer"
|
1442
1459
|
# resp.auto_scaling_group_recommendations[0].current_instance_gpu_info.gpus #=> Array
|
@@ -1549,11 +1566,15 @@ module Aws::ComputeOptimizer
|
|
1549
1566
|
# resp.volume_recommendations[0].volume_recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
|
1550
1567
|
# resp.volume_recommendations[0].volume_recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
1551
1568
|
# resp.volume_recommendations[0].volume_recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
|
1569
|
+
# resp.volume_recommendations[0].volume_recommendation_options[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
|
1570
|
+
# resp.volume_recommendations[0].volume_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
1571
|
+
# resp.volume_recommendations[0].volume_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
1552
1572
|
# resp.volume_recommendations[0].last_refresh_timestamp #=> Time
|
1553
1573
|
# resp.volume_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1554
1574
|
# resp.volume_recommendations[0].tags #=> Array
|
1555
1575
|
# resp.volume_recommendations[0].tags[0].key #=> String
|
1556
1576
|
# resp.volume_recommendations[0].tags[0].value #=> String
|
1577
|
+
# resp.volume_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
1557
1578
|
# resp.errors #=> Array
|
1558
1579
|
# resp.errors[0].identifier #=> String
|
1559
1580
|
# resp.errors[0].code #=> String
|
@@ -1668,6 +1689,9 @@ module Aws::ComputeOptimizer
|
|
1668
1689
|
# resp.instance_recommendations[0].recommendation_options[0].instance_gpu_info.gpus #=> Array
|
1669
1690
|
# resp.instance_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_count #=> Integer
|
1670
1691
|
# resp.instance_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_memory_size_in_mi_b #=> Integer
|
1692
|
+
# resp.instance_recommendations[0].recommendation_options[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
|
1693
|
+
# resp.instance_recommendations[0].recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
1694
|
+
# resp.instance_recommendations[0].recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
1671
1695
|
# resp.instance_recommendations[0].recommendation_sources #=> Array
|
1672
1696
|
# resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_arn #=> String
|
1673
1697
|
# resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License"
|
@@ -1678,6 +1702,20 @@ module Aws::ComputeOptimizer
|
|
1678
1702
|
# resp.instance_recommendations[0].effective_recommendation_preferences.enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
|
1679
1703
|
# resp.instance_recommendations[0].effective_recommendation_preferences.inferred_workload_types #=> String, one of "Active", "Inactive"
|
1680
1704
|
# resp.instance_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
1705
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
|
1706
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.utilization_preferences #=> Array
|
1707
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization"
|
1708
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_parameters.threshold #=> String, one of "P90", "P95", "P99_5"
|
1709
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_0"
|
1710
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources #=> Array
|
1711
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources[0].name #=> String, one of "Ec2InstanceTypes"
|
1712
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources[0].include_list #=> Array
|
1713
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources[0].include_list[0] #=> String
|
1714
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources[0].effective_include_list #=> Array
|
1715
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources[0].effective_include_list[0] #=> String
|
1716
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources[0].exclude_list #=> Array
|
1717
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.preferred_resources[0].exclude_list[0] #=> String
|
1718
|
+
# resp.instance_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
1681
1719
|
# resp.instance_recommendations[0].inferred_workload_types #=> Array
|
1682
1720
|
# resp.instance_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis", "Kafka", "SQLServer"
|
1683
1721
|
# resp.instance_recommendations[0].instance_state #=> String, one of "pending", "running", "shutting-down", "terminated", "stopping", "stopped"
|
@@ -1940,10 +1978,14 @@ module Aws::ComputeOptimizer
|
|
1940
1978
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].container_recommendations[0].memory_size_configuration.memory #=> Integer
|
1941
1979
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].container_recommendations[0].memory_size_configuration.memory_reservation #=> Integer
|
1942
1980
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].container_recommendations[0].cpu #=> Integer
|
1981
|
+
# resp.ecs_service_recommendations[0].service_recommendation_options[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
|
1982
|
+
# resp.ecs_service_recommendations[0].service_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
1983
|
+
# resp.ecs_service_recommendations[0].service_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
1943
1984
|
# resp.ecs_service_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1944
1985
|
# resp.ecs_service_recommendations[0].tags #=> Array
|
1945
1986
|
# resp.ecs_service_recommendations[0].tags[0].key #=> String
|
1946
1987
|
# resp.ecs_service_recommendations[0].tags[0].value #=> String
|
1988
|
+
# resp.ecs_service_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
1947
1989
|
# resp.errors #=> Array
|
1948
1990
|
# resp.errors[0].identifier #=> String
|
1949
1991
|
# resp.errors[0].code #=> String
|
@@ -1976,6 +2018,9 @@ module Aws::ComputeOptimizer
|
|
1976
2018
|
#
|
1977
2019
|
# * {Types::GetEffectiveRecommendationPreferencesResponse#enhanced_infrastructure_metrics #enhanced_infrastructure_metrics} => String
|
1978
2020
|
# * {Types::GetEffectiveRecommendationPreferencesResponse#external_metrics_preference #external_metrics_preference} => Types::ExternalMetricsPreference
|
2021
|
+
# * {Types::GetEffectiveRecommendationPreferencesResponse#look_back_period #look_back_period} => String
|
2022
|
+
# * {Types::GetEffectiveRecommendationPreferencesResponse#utilization_preferences #utilization_preferences} => Array<Types::UtilizationPreference>
|
2023
|
+
# * {Types::GetEffectiveRecommendationPreferencesResponse#preferred_resources #preferred_resources} => Array<Types::EffectivePreferredResource>
|
1979
2024
|
#
|
1980
2025
|
# @example Request syntax with placeholder values
|
1981
2026
|
#
|
@@ -1987,6 +2032,19 @@ module Aws::ComputeOptimizer
|
|
1987
2032
|
#
|
1988
2033
|
# resp.enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
|
1989
2034
|
# resp.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
2035
|
+
# resp.look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
|
2036
|
+
# resp.utilization_preferences #=> Array
|
2037
|
+
# resp.utilization_preferences[0].metric_name #=> String, one of "CpuUtilization"
|
2038
|
+
# resp.utilization_preferences[0].metric_parameters.threshold #=> String, one of "P90", "P95", "P99_5"
|
2039
|
+
# resp.utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_0"
|
2040
|
+
# resp.preferred_resources #=> Array
|
2041
|
+
# resp.preferred_resources[0].name #=> String, one of "Ec2InstanceTypes"
|
2042
|
+
# resp.preferred_resources[0].include_list #=> Array
|
2043
|
+
# resp.preferred_resources[0].include_list[0] #=> String
|
2044
|
+
# resp.preferred_resources[0].effective_include_list #=> Array
|
2045
|
+
# resp.preferred_resources[0].effective_include_list[0] #=> String
|
2046
|
+
# resp.preferred_resources[0].exclude_list #=> Array
|
2047
|
+
# resp.preferred_resources[0].exclude_list[0] #=> String
|
1990
2048
|
#
|
1991
2049
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEffectiveRecommendationPreferences AWS API Documentation
|
1992
2050
|
#
|
@@ -2191,10 +2249,14 @@ module Aws::ComputeOptimizer
|
|
2191
2249
|
# resp.lambda_function_recommendations[0].memory_size_recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
|
2192
2250
|
# resp.lambda_function_recommendations[0].memory_size_recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2193
2251
|
# resp.lambda_function_recommendations[0].memory_size_recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
|
2252
|
+
# resp.lambda_function_recommendations[0].memory_size_recommendation_options[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
|
2253
|
+
# resp.lambda_function_recommendations[0].memory_size_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2254
|
+
# resp.lambda_function_recommendations[0].memory_size_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
2194
2255
|
# resp.lambda_function_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
2195
2256
|
# resp.lambda_function_recommendations[0].tags #=> Array
|
2196
2257
|
# resp.lambda_function_recommendations[0].tags[0].key #=> String
|
2197
2258
|
# resp.lambda_function_recommendations[0].tags[0].value #=> String
|
2259
|
+
# resp.lambda_function_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
2198
2260
|
#
|
2199
2261
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetLambdaFunctionRecommendations AWS API Documentation
|
2200
2262
|
#
|
@@ -2396,6 +2458,20 @@ module Aws::ComputeOptimizer
|
|
2396
2458
|
# resp.recommendation_preferences_details[0].enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
|
2397
2459
|
# resp.recommendation_preferences_details[0].inferred_workload_types #=> String, one of "Active", "Inactive"
|
2398
2460
|
# resp.recommendation_preferences_details[0].external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
2461
|
+
# resp.recommendation_preferences_details[0].look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
|
2462
|
+
# resp.recommendation_preferences_details[0].utilization_preferences #=> Array
|
2463
|
+
# resp.recommendation_preferences_details[0].utilization_preferences[0].metric_name #=> String, one of "CpuUtilization"
|
2464
|
+
# resp.recommendation_preferences_details[0].utilization_preferences[0].metric_parameters.threshold #=> String, one of "P90", "P95", "P99_5"
|
2465
|
+
# resp.recommendation_preferences_details[0].utilization_preferences[0].metric_parameters.headroom #=> String, one of "PERCENT_30", "PERCENT_20", "PERCENT_0"
|
2466
|
+
# resp.recommendation_preferences_details[0].preferred_resources #=> Array
|
2467
|
+
# resp.recommendation_preferences_details[0].preferred_resources[0].name #=> String, one of "Ec2InstanceTypes"
|
2468
|
+
# resp.recommendation_preferences_details[0].preferred_resources[0].include_list #=> Array
|
2469
|
+
# resp.recommendation_preferences_details[0].preferred_resources[0].include_list[0] #=> String
|
2470
|
+
# resp.recommendation_preferences_details[0].preferred_resources[0].effective_include_list #=> Array
|
2471
|
+
# resp.recommendation_preferences_details[0].preferred_resources[0].effective_include_list[0] #=> String
|
2472
|
+
# resp.recommendation_preferences_details[0].preferred_resources[0].exclude_list #=> Array
|
2473
|
+
# resp.recommendation_preferences_details[0].preferred_resources[0].exclude_list[0] #=> String
|
2474
|
+
# resp.recommendation_preferences_details[0].savings_estimation_mode #=> String, one of "AfterDiscounts", "BeforeDiscounts"
|
2399
2475
|
#
|
2400
2476
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationPreferences AWS API Documentation
|
2401
2477
|
#
|
@@ -2593,6 +2669,59 @@ module Aws::ComputeOptimizer
|
|
2593
2669
|
#
|
2594
2670
|
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/external-metrics-ingestion.html
|
2595
2671
|
#
|
2672
|
+
# @option params [String] :look_back_period
|
2673
|
+
# The preference to control the number of days the utilization metrics
|
2674
|
+
# of the Amazon Web Services resource are analyzed. When this preference
|
2675
|
+
# isn't specified, we use the default value `DAYS_14`.
|
2676
|
+
#
|
2677
|
+
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance and Auto
|
2678
|
+
# Scaling group resource types.
|
2679
|
+
#
|
2680
|
+
# </note>
|
2681
|
+
#
|
2682
|
+
# @option params [Array<Types::UtilizationPreference>] :utilization_preferences
|
2683
|
+
# The preference to control the resource’s CPU utilization thresholds -
|
2684
|
+
# threshold and headroom. When this preference isn't specified, we use
|
2685
|
+
# the following default values:
|
2686
|
+
#
|
2687
|
+
# * `P99_5` for threshold
|
2688
|
+
#
|
2689
|
+
# * `PERCENT_17` for headroom
|
2690
|
+
#
|
2691
|
+
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance resource
|
2692
|
+
# type.
|
2693
|
+
#
|
2694
|
+
# </note>
|
2695
|
+
#
|
2696
|
+
# @option params [Array<Types::PreferredResource>] :preferred_resources
|
2697
|
+
# The preference to control which resource type values are considered
|
2698
|
+
# when generating rightsizing recommendations. You can specify this
|
2699
|
+
# preference as a combination of include and exclude lists. You must
|
2700
|
+
# specify either an `includeList` or `excludeList`. If the preference is
|
2701
|
+
# an empty set of resource type values, an error occurs.
|
2702
|
+
#
|
2703
|
+
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance and Auto
|
2704
|
+
# Scaling group resource types.
|
2705
|
+
#
|
2706
|
+
# </note>
|
2707
|
+
#
|
2708
|
+
# @option params [String] :savings_estimation_mode
|
2709
|
+
# The status of the savings estimation mode preference to create or
|
2710
|
+
# update.
|
2711
|
+
#
|
2712
|
+
# Specify the `AfterDiscounts` status to activate the preference, or
|
2713
|
+
# specify `BeforeDiscounts` to deactivate the preference.
|
2714
|
+
#
|
2715
|
+
# Only the account manager or delegated administrator of your
|
2716
|
+
# organization can activate this preference.
|
2717
|
+
#
|
2718
|
+
# For more information, see [ Savings estimation mode][1] in the
|
2719
|
+
# *Compute Optimizer User Guide*.
|
2720
|
+
#
|
2721
|
+
#
|
2722
|
+
#
|
2723
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/savings-estimation-mode.html
|
2724
|
+
#
|
2596
2725
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2597
2726
|
#
|
2598
2727
|
# @example Request syntax with placeholder values
|
@@ -2608,6 +2737,24 @@ module Aws::ComputeOptimizer
|
|
2608
2737
|
# external_metrics_preference: {
|
2609
2738
|
# source: "Datadog", # accepts Datadog, Dynatrace, NewRelic, Instana
|
2610
2739
|
# },
|
2740
|
+
# look_back_period: "DAYS_14", # accepts DAYS_14, DAYS_32, DAYS_93
|
2741
|
+
# utilization_preferences: [
|
2742
|
+
# {
|
2743
|
+
# metric_name: "CpuUtilization", # accepts CpuUtilization
|
2744
|
+
# metric_parameters: {
|
2745
|
+
# threshold: "P90", # accepts P90, P95, P99_5
|
2746
|
+
# headroom: "PERCENT_30", # accepts PERCENT_30, PERCENT_20, PERCENT_0
|
2747
|
+
# },
|
2748
|
+
# },
|
2749
|
+
# ],
|
2750
|
+
# preferred_resources: [
|
2751
|
+
# {
|
2752
|
+
# name: "Ec2InstanceTypes", # accepts Ec2InstanceTypes
|
2753
|
+
# include_list: ["PreferredResourceValue"],
|
2754
|
+
# exclude_list: ["PreferredResourceValue"],
|
2755
|
+
# },
|
2756
|
+
# ],
|
2757
|
+
# savings_estimation_mode: "AfterDiscounts", # accepts AfterDiscounts, BeforeDiscounts
|
2611
2758
|
# })
|
2612
2759
|
#
|
2613
2760
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/PutRecommendationPreferences AWS API Documentation
|
@@ -2708,7 +2855,7 @@ module Aws::ComputeOptimizer
|
|
2708
2855
|
params: params,
|
2709
2856
|
config: config)
|
2710
2857
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
2711
|
-
context[:gem_version] = '1.
|
2858
|
+
context[:gem_version] = '1.51.0'
|
2712
2859
|
Seahorse::Client::Request.new(handlers, context)
|
2713
2860
|
end
|
2714
2861
|
|