aws-sdk-computeoptimizer 1.96.0 → 1.98.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +41 -15
- data/lib/aws-sdk-computeoptimizer/client_api.rb +16 -0
- data/lib/aws-sdk-computeoptimizer/types.rb +69 -11
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- data/sig/client.rbs +3 -3
- data/sig/types.rbs +17 -8
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed6c081a76e72b46a0ddc6a4541487e8955782568997bafdb2bec33b7fe838b5
|
|
4
|
+
data.tar.gz: 26cb9f961524430d49e91cdad3cbc2777ff6198d6da215ff4f64799928fa1ab3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6cd161e62ca7007f8894b933998805ac49c9ea4a9daf7ddc1c7fd117755a84b617ea4b3c09576121737b92db8f4bc1f92070afe8616688cf5ab37c9f83dcfb8
|
|
7
|
+
data.tar.gz: 5e2e34a378731da5038c5172be2f1ac2c9dacfabb926c775314a003d75695c4489e53fc5e741811c18e1fb652af3fa85cb7957eb2b4afcd787bcb590742dc533
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.98.0 (2026-06-08)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds new Idle Recommendation Resource types in the AWS Compute Optimizer API
|
|
8
|
+
|
|
9
|
+
1.97.0 (2026-06-03)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release lets customers extend the lookback period for Amazon EBS volume and Amazon ECS rightsizing recommendations to 32 days.
|
|
13
|
+
|
|
4
14
|
1.96.0 (2026-05-27)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.98.0
|
|
@@ -856,7 +856,7 @@ module Aws::ComputeOptimizer
|
|
|
856
856
|
# values: ["FilterValue"],
|
|
857
857
|
# },
|
|
858
858
|
# ],
|
|
859
|
-
# 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, Tags, RootVolume, CurrentConfigurationRootVolume, EffectiveRecommendationPreferencesSavingsEstimationMode, RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts
|
|
859
|
+
# 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, Tags, RootVolume, CurrentConfigurationRootVolume, EffectiveRecommendationPreferencesSavingsEstimationMode, RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts, EffectiveRecommendationPreferencesLookBackPeriod
|
|
860
860
|
# s3_destination_config: { # required
|
|
861
861
|
# bucket: "DestinationBucket",
|
|
862
862
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -1121,7 +1121,7 @@ module Aws::ComputeOptimizer
|
|
|
1121
1121
|
# values: ["FilterValue"],
|
|
1122
1122
|
# },
|
|
1123
1123
|
# ],
|
|
1124
|
-
# 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
|
|
1124
|
+
# 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, EffectiveRecommendationPreferencesLookBackPeriod
|
|
1125
1125
|
# s3_destination_config: { # required
|
|
1126
1126
|
# bucket: "DestinationBucket",
|
|
1127
1127
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -1250,7 +1250,7 @@ module Aws::ComputeOptimizer
|
|
|
1250
1250
|
# values: ["FilterValue"],
|
|
1251
1251
|
# },
|
|
1252
1252
|
# ],
|
|
1253
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, ResourceArn, ResourceId, ResourceType, LastRefreshTimestamp, LookbackPeriodInDays, SavingsOpportunity, SavingsOpportunityAfterDiscount, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsDatabaseConnectionsMaximum, UtilizationMetricsEBSVolumeReadIOPSMaximum, UtilizationMetricsEBSVolumeWriteIOPSMaximum, UtilizationMetricsVolumeReadOpsPerSecondMaximum, UtilizationMetricsVolumeWriteOpsPerSecondMaximum, UtilizationMetricsActiveConnectionCountMaximum, UtilizationMetricsPacketsInFromSourceMaximum, UtilizationMetricsPacketsInFromDestinationMaximum, Finding, FindingDescription, Tags
|
|
1253
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, ResourceArn, ResourceId, ResourceType, LastRefreshTimestamp, LookbackPeriodInDays, SavingsOpportunity, SavingsOpportunityAfterDiscount, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsDatabaseConnectionsMaximum, UtilizationMetricsEBSVolumeReadIOPSMaximum, UtilizationMetricsEBSVolumeWriteIOPSMaximum, UtilizationMetricsVolumeReadOpsPerSecondMaximum, UtilizationMetricsVolumeWriteOpsPerSecondMaximum, UtilizationMetricsActiveConnectionCountMaximum, UtilizationMetricsPacketsInFromSourceMaximum, UtilizationMetricsPacketsInFromDestinationMaximum, UtilizationMetricsConsumedReadCapacityUnitsSum, UtilizationMetricsConsumedWriteCapacityUnitsSum, UtilizationMetricsNewConnectionsSum, UtilizationMetricsEngineCPUUtilizationMaximum, UtilizationMetricsCacheHitsSum, UtilizationMetricsCacheMissesSum, UtilizationMetricsKeyspaceHitsSum, UtilizationMetricsKeyspaceMissesSum, UtilizationMetricsIsIdleMinimum, UtilizationMetricsUserConnectedSum, UtilizationMetricsInvocationsSum, UtilizationMetricsGetTypeCmdsSum, UtilizationMetricsSetTypeCmdsSum, UtilizationMetricsElastiCacheProcessingUnitsSum, UtilizationMetricsCurrConnectionsSum, UtilizationMetricsDatabaseConnectionsSum, Finding, FindingDescription, Tags
|
|
1254
1254
|
# s3_destination_config: { # required
|
|
1255
1255
|
# bucket: "DestinationBucket",
|
|
1256
1256
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -1929,6 +1929,7 @@ module Aws::ComputeOptimizer
|
|
|
1929
1929
|
# resp.volume_recommendations[0].last_refresh_timestamp #=> Time
|
|
1930
1930
|
# resp.volume_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
|
1931
1931
|
# resp.volume_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
|
1932
|
+
# resp.volume_recommendations[0].effective_recommendation_preferences.look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
|
|
1932
1933
|
# resp.volume_recommendations[0].tags #=> Array
|
|
1933
1934
|
# resp.volume_recommendations[0].tags[0].key #=> String
|
|
1934
1935
|
# resp.volume_recommendations[0].tags[0].value #=> String
|
|
@@ -2051,7 +2052,7 @@ module Aws::ComputeOptimizer
|
|
|
2051
2052
|
# resp.instance_recommendations[0].recommendation_options[0].migration_effort #=> String, one of "VeryLow", "Low", "Medium", "High"
|
|
2052
2053
|
# resp.instance_recommendations[0].recommendation_sources #=> Array
|
|
2053
2054
|
# resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_arn #=> String
|
|
2054
|
-
# resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License", "RdsDBInstance", "RdsDBInstanceStorage", "AuroraDBClusterStorage", "NatGateway"
|
|
2055
|
+
# resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License", "RdsDBInstance", "RdsDBInstanceStorage", "AuroraDBClusterStorage", "NatGateway", "DynamoDBTable", "ElastiCacheCluster", "MemoryDBCluster", "DocumentDBCluster", "WorkSpaces", "SageMakerEndpoint"
|
|
2055
2056
|
# resp.instance_recommendations[0].last_refresh_timestamp #=> Time
|
|
2056
2057
|
# resp.instance_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
|
2057
2058
|
# resp.instance_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures #=> Array
|
|
@@ -2340,6 +2341,7 @@ module Aws::ComputeOptimizer
|
|
|
2340
2341
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].container_recommendations[0].cpu #=> Integer
|
|
2341
2342
|
# resp.ecs_service_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
|
2342
2343
|
# resp.ecs_service_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
|
2344
|
+
# resp.ecs_service_recommendations[0].effective_recommendation_preferences.look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
|
|
2343
2345
|
# resp.ecs_service_recommendations[0].tags #=> Array
|
|
2344
2346
|
# resp.ecs_service_recommendations[0].tags[0].key #=> String
|
|
2345
2347
|
# resp.ecs_service_recommendations[0].tags[0].value #=> String
|
|
@@ -2577,7 +2579,7 @@ module Aws::ComputeOptimizer
|
|
|
2577
2579
|
# resp.idle_recommendations #=> Array
|
|
2578
2580
|
# resp.idle_recommendations[0].resource_arn #=> String
|
|
2579
2581
|
# resp.idle_recommendations[0].resource_id #=> String
|
|
2580
|
-
# resp.idle_recommendations[0].resource_type #=> String, one of "EC2Instance", "AutoScalingGroup", "EBSVolume", "ECSService", "RDSDBInstance", "NatGateway"
|
|
2582
|
+
# resp.idle_recommendations[0].resource_type #=> String, one of "EC2Instance", "AutoScalingGroup", "EBSVolume", "ECSService", "RDSDBInstance", "NatGateway", "DynamoDBTable", "ElastiCacheCluster", "MemoryDBCluster", "DocumentDBCluster", "WorkSpaces", "SageMakerEndpoint"
|
|
2581
2583
|
# resp.idle_recommendations[0].account_id #=> String
|
|
2582
2584
|
# resp.idle_recommendations[0].finding #=> String, one of "Idle", "Unattached", "Unused"
|
|
2583
2585
|
# resp.idle_recommendations[0].finding_description #=> String
|
|
@@ -2588,9 +2590,13 @@ module Aws::ComputeOptimizer
|
|
|
2588
2590
|
# resp.idle_recommendations[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
|
2589
2591
|
# resp.idle_recommendations[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
|
2590
2592
|
# resp.idle_recommendations[0].utilization_metrics #=> Array
|
|
2591
|
-
# resp.idle_recommendations[0].utilization_metrics[0].name #=> String, one of "CPU", "Memory", "NetworkOutBytesPerSecond", "NetworkInBytesPerSecond", "DatabaseConnections", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "VolumeReadOpsPerSecond", "VolumeWriteOpsPerSecond", "ActiveConnectionCount", "PacketsInFromSource", "PacketsInFromDestination"
|
|
2593
|
+
# resp.idle_recommendations[0].utilization_metrics[0].name #=> String, one of "CPU", "Memory", "NetworkOutBytesPerSecond", "NetworkInBytesPerSecond", "DatabaseConnections", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "VolumeReadOpsPerSecond", "VolumeWriteOpsPerSecond", "ActiveConnectionCount", "PacketsInFromSource", "PacketsInFromDestination", "ConsumedReadCapacityUnits", "ConsumedWriteCapacityUnits", "ConsumedChangeDataCaptureUnits", "NewConnections", "EngineCPUUtilization", "CacheHits", "CacheMisses", "KeyspaceHits", "KeyspaceMisses", "IsIdle", "UserConnected", "Invocations", "GetTypeCmds", "SetTypeCmds", "ElastiCacheProcessingUnits", "CurrConnections"
|
|
2592
2594
|
# resp.idle_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
2593
2595
|
# resp.idle_recommendations[0].utilization_metrics[0].value #=> Float
|
|
2596
|
+
# resp.idle_recommendations[0].utilization_metrics[0].dimensions #=> Array
|
|
2597
|
+
# resp.idle_recommendations[0].utilization_metrics[0].dimensions[0].key #=> String
|
|
2598
|
+
# resp.idle_recommendations[0].utilization_metrics[0].dimensions[0].values #=> Array
|
|
2599
|
+
# resp.idle_recommendations[0].utilization_metrics[0].dimensions[0].values[0] #=> String
|
|
2594
2600
|
# resp.idle_recommendations[0].look_back_period_in_days #=> Float
|
|
2595
2601
|
# resp.idle_recommendations[0].last_refresh_timestamp #=> Time
|
|
2596
2602
|
# resp.idle_recommendations[0].tags #=> Array
|
|
@@ -2600,7 +2606,7 @@ module Aws::ComputeOptimizer
|
|
|
2600
2606
|
# resp.errors[0].identifier #=> String
|
|
2601
2607
|
# resp.errors[0].code #=> String
|
|
2602
2608
|
# resp.errors[0].message #=> String
|
|
2603
|
-
# resp.errors[0].resource_type #=> String, one of "EC2Instance", "AutoScalingGroup", "EBSVolume", "ECSService", "RDSDBInstance", "NatGateway"
|
|
2609
|
+
# resp.errors[0].resource_type #=> String, one of "EC2Instance", "AutoScalingGroup", "EBSVolume", "ECSService", "RDSDBInstance", "NatGateway", "DynamoDBTable", "ElastiCacheCluster", "MemoryDBCluster", "DocumentDBCluster", "WorkSpaces", "SageMakerEndpoint"
|
|
2604
2610
|
#
|
|
2605
2611
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetIdleRecommendations AWS API Documentation
|
|
2606
2612
|
#
|
|
@@ -3238,7 +3244,7 @@ module Aws::ComputeOptimizer
|
|
|
3238
3244
|
# resp.recommendation_summaries[0].idle_summaries #=> Array
|
|
3239
3245
|
# resp.recommendation_summaries[0].idle_summaries[0].name #=> String, one of "Idle", "Unattached", "Unused"
|
|
3240
3246
|
# resp.recommendation_summaries[0].idle_summaries[0].value #=> Float
|
|
3241
|
-
# resp.recommendation_summaries[0].recommendation_resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License", "RdsDBInstance", "RdsDBInstanceStorage", "AuroraDBClusterStorage", "NatGateway"
|
|
3247
|
+
# resp.recommendation_summaries[0].recommendation_resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License", "RdsDBInstance", "RdsDBInstanceStorage", "AuroraDBClusterStorage", "NatGateway", "DynamoDBTable", "ElastiCacheCluster", "MemoryDBCluster", "DocumentDBCluster", "WorkSpaces", "SageMakerEndpoint"
|
|
3242
3248
|
# resp.recommendation_summaries[0].account_id #=> String
|
|
3243
3249
|
# resp.recommendation_summaries[0].savings_opportunity.savings_opportunity_percentage #=> Float
|
|
3244
3250
|
# resp.recommendation_summaries[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
|
@@ -3367,15 +3373,34 @@ module Aws::ComputeOptimizer
|
|
|
3367
3373
|
# of the Amazon Web Services resource are analyzed. When this preference
|
|
3368
3374
|
# isn't specified, we use the default value `DAYS_14`.
|
|
3369
3375
|
#
|
|
3370
|
-
# You can only set this preference for the Amazon EC2 instance
|
|
3371
|
-
# Scaling group
|
|
3376
|
+
# You can only set this preference for the Amazon EC2 instance, Auto
|
|
3377
|
+
# Scaling group, Amazon EBS volume, Amazon ECS service on Fargate,
|
|
3378
|
+
# Amazon RDS DB instance, and Aurora DB cluster storage resource types.
|
|
3372
3379
|
#
|
|
3373
|
-
# <note markdown="1"> *
|
|
3374
|
-
#
|
|
3380
|
+
# <note markdown="1"> * Lookback period preferences for Amazon EC2 instances, Amazon EBS
|
|
3381
|
+
# volumes, Amazon ECS services, Amazon RDS DB instances, and Aurora DB
|
|
3382
|
+
# cluster storage resource types can be set at the organization,
|
|
3383
|
+
# account, and resource levels.
|
|
3375
3384
|
#
|
|
3376
3385
|
# * Auto Scaling group lookback preferences can only be set at the
|
|
3377
3386
|
# resource level.
|
|
3378
3387
|
#
|
|
3388
|
+
# * Amazon EBS volume lookback preferences can be set at the
|
|
3389
|
+
# organization, account, and resource levels.
|
|
3390
|
+
#
|
|
3391
|
+
# * Amazon ECS service on Fargate lookback preferences can be set at the
|
|
3392
|
+
# organization, account, and resource levels.
|
|
3393
|
+
#
|
|
3394
|
+
# * Amazon RDS DB instance lookback preferences can be set at the
|
|
3395
|
+
# organization, account, and resource levels.
|
|
3396
|
+
#
|
|
3397
|
+
# * Aurora DB cluster storage lookback preferences can be set at the
|
|
3398
|
+
# organization, account, and resource levels.
|
|
3399
|
+
#
|
|
3400
|
+
# * Changing the lookback period for Amazon EBS volumes to 14 days does
|
|
3401
|
+
# not affect the 32-day lookback period used to determine whether an
|
|
3402
|
+
# Amazon EBS volume is unattached.
|
|
3403
|
+
#
|
|
3379
3404
|
# </note>
|
|
3380
3405
|
#
|
|
3381
3406
|
# @option params [Array<Types::UtilizationPreference>] :utilization_preferences
|
|
@@ -3409,8 +3434,9 @@ module Aws::ComputeOptimizer
|
|
|
3409
3434
|
# specify either an `includeList` or `excludeList`. If the preference is
|
|
3410
3435
|
# an empty set of resource type values, an error occurs.
|
|
3411
3436
|
#
|
|
3412
|
-
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance
|
|
3413
|
-
# Scaling group
|
|
3437
|
+
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance, Auto
|
|
3438
|
+
# Scaling group, Amazon EBS volume, Amazon ECS service, Amazon RDS DB
|
|
3439
|
+
# instance, and Aurora DB cluster storage resource types.
|
|
3414
3440
|
#
|
|
3415
3441
|
# </note>
|
|
3416
3442
|
#
|
|
@@ -3569,7 +3595,7 @@ module Aws::ComputeOptimizer
|
|
|
3569
3595
|
tracer: tracer
|
|
3570
3596
|
)
|
|
3571
3597
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
|
3572
|
-
context[:gem_version] = '1.
|
|
3598
|
+
context[:gem_version] = '1.98.0'
|
|
3573
3599
|
Seahorse::Client::Request.new(handlers, context)
|
|
3574
3600
|
end
|
|
3575
3601
|
|
|
@@ -205,6 +205,11 @@ module Aws::ComputeOptimizer
|
|
|
205
205
|
High = Shapes::IntegerShape.new(name: 'High')
|
|
206
206
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
|
207
207
|
Idle = Shapes::StringShape.new(name: 'Idle')
|
|
208
|
+
IdleDimension = Shapes::StructureShape.new(name: 'IdleDimension')
|
|
209
|
+
IdleDimensionKey = Shapes::StringShape.new(name: 'IdleDimensionKey')
|
|
210
|
+
IdleDimensionValue = Shapes::StringShape.new(name: 'IdleDimensionValue')
|
|
211
|
+
IdleDimensionValues = Shapes::ListShape.new(name: 'IdleDimensionValues')
|
|
212
|
+
IdleDimensions = Shapes::ListShape.new(name: 'IdleDimensions')
|
|
208
213
|
IdleEstimatedMonthlySavings = Shapes::StructureShape.new(name: 'IdleEstimatedMonthlySavings')
|
|
209
214
|
IdleFinding = Shapes::StringShape.new(name: 'IdleFinding')
|
|
210
215
|
IdleFindingDescription = Shapes::StringShape.new(name: 'IdleFindingDescription')
|
|
@@ -572,6 +577,7 @@ module Aws::ComputeOptimizer
|
|
|
572
577
|
DescribeRecommendationExportJobsResponse.struct_class = Types::DescribeRecommendationExportJobsResponse
|
|
573
578
|
|
|
574
579
|
EBSEffectiveRecommendationPreferences.add_member(:savings_estimation_mode, Shapes::ShapeRef.new(shape: EBSSavingsEstimationMode, location_name: "savingsEstimationMode"))
|
|
580
|
+
EBSEffectiveRecommendationPreferences.add_member(:look_back_period, Shapes::ShapeRef.new(shape: LookBackPeriodPreference, location_name: "lookBackPeriod"))
|
|
575
581
|
EBSEffectiveRecommendationPreferences.struct_class = Types::EBSEffectiveRecommendationPreferences
|
|
576
582
|
|
|
577
583
|
EBSEstimatedMonthlySavings.add_member(:currency, Shapes::ShapeRef.new(shape: Currency, location_name: "currency"))
|
|
@@ -599,6 +605,7 @@ module Aws::ComputeOptimizer
|
|
|
599
605
|
EBSUtilizationMetrics.member = Shapes::ShapeRef.new(shape: EBSUtilizationMetric)
|
|
600
606
|
|
|
601
607
|
ECSEffectiveRecommendationPreferences.add_member(:savings_estimation_mode, Shapes::ShapeRef.new(shape: ECSSavingsEstimationMode, location_name: "savingsEstimationMode"))
|
|
608
|
+
ECSEffectiveRecommendationPreferences.add_member(:look_back_period, Shapes::ShapeRef.new(shape: LookBackPeriodPreference, location_name: "lookBackPeriod"))
|
|
602
609
|
ECSEffectiveRecommendationPreferences.struct_class = Types::ECSEffectiveRecommendationPreferences
|
|
603
610
|
|
|
604
611
|
ECSEstimatedMonthlySavings.add_member(:currency, Shapes::ShapeRef.new(shape: Currency, location_name: "currency"))
|
|
@@ -1034,6 +1041,14 @@ module Aws::ComputeOptimizer
|
|
|
1034
1041
|
|
|
1035
1042
|
Gpus.member = Shapes::ShapeRef.new(shape: Gpu)
|
|
1036
1043
|
|
|
1044
|
+
IdleDimension.add_member(:key, Shapes::ShapeRef.new(shape: IdleDimensionKey, location_name: "key"))
|
|
1045
|
+
IdleDimension.add_member(:values, Shapes::ShapeRef.new(shape: IdleDimensionValues, location_name: "values"))
|
|
1046
|
+
IdleDimension.struct_class = Types::IdleDimension
|
|
1047
|
+
|
|
1048
|
+
IdleDimensionValues.member = Shapes::ShapeRef.new(shape: IdleDimensionValue)
|
|
1049
|
+
|
|
1050
|
+
IdleDimensions.member = Shapes::ShapeRef.new(shape: IdleDimension)
|
|
1051
|
+
|
|
1037
1052
|
IdleEstimatedMonthlySavings.add_member(:currency, Shapes::ShapeRef.new(shape: Currency, location_name: "currency"))
|
|
1038
1053
|
IdleEstimatedMonthlySavings.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "value"))
|
|
1039
1054
|
IdleEstimatedMonthlySavings.struct_class = Types::IdleEstimatedMonthlySavings
|
|
@@ -1085,6 +1100,7 @@ module Aws::ComputeOptimizer
|
|
|
1085
1100
|
IdleUtilizationMetric.add_member(:name, Shapes::ShapeRef.new(shape: IdleMetricName, location_name: "name"))
|
|
1086
1101
|
IdleUtilizationMetric.add_member(:statistic, Shapes::ShapeRef.new(shape: MetricStatistic, location_name: "statistic"))
|
|
1087
1102
|
IdleUtilizationMetric.add_member(:value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "value"))
|
|
1103
|
+
IdleUtilizationMetric.add_member(:dimensions, Shapes::ShapeRef.new(shape: IdleDimensions, location_name: "dimensions"))
|
|
1088
1104
|
IdleUtilizationMetric.struct_class = Types::IdleUtilizationMetric
|
|
1089
1105
|
|
|
1090
1106
|
IdleUtilizationMetrics.member = Shapes::ShapeRef.new(shape: IdleUtilizationMetric)
|
|
@@ -649,10 +649,16 @@ module Aws::ComputeOptimizer
|
|
|
649
649
|
# calculating savings opportunity for Amazon EBS volumes.
|
|
650
650
|
# @return [Types::EBSSavingsEstimationMode]
|
|
651
651
|
#
|
|
652
|
+
# @!attribute [rw] look_back_period
|
|
653
|
+
# The number of days for which utilization metrics were analyzed for
|
|
654
|
+
# the volume.
|
|
655
|
+
# @return [String]
|
|
656
|
+
#
|
|
652
657
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/EBSEffectiveRecommendationPreferences AWS API Documentation
|
|
653
658
|
#
|
|
654
659
|
class EBSEffectiveRecommendationPreferences < Struct.new(
|
|
655
|
-
:savings_estimation_mode
|
|
660
|
+
:savings_estimation_mode,
|
|
661
|
+
:look_back_period)
|
|
656
662
|
SENSITIVE = []
|
|
657
663
|
include Aws::Structure
|
|
658
664
|
end
|
|
@@ -844,10 +850,16 @@ module Aws::ComputeOptimizer
|
|
|
844
850
|
# calculating savings opportunity for Amazon ECS services.
|
|
845
851
|
# @return [Types::ECSSavingsEstimationMode]
|
|
846
852
|
#
|
|
853
|
+
# @!attribute [rw] look_back_period
|
|
854
|
+
# The number of days the Amazon ECS service utilization metrics were
|
|
855
|
+
# analyzed.
|
|
856
|
+
# @return [String]
|
|
857
|
+
#
|
|
847
858
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ECSEffectiveRecommendationPreferences AWS API Documentation
|
|
848
859
|
#
|
|
849
860
|
class ECSEffectiveRecommendationPreferences < Struct.new(
|
|
850
|
-
:savings_estimation_mode
|
|
861
|
+
:savings_estimation_mode,
|
|
862
|
+
:look_back_period)
|
|
851
863
|
SENSITIVE = []
|
|
852
864
|
include Aws::Structure
|
|
853
865
|
end
|
|
@@ -3169,8 +3181,9 @@ module Aws::ComputeOptimizer
|
|
|
3169
3181
|
# To validate that the preference is applied to your last generated
|
|
3170
3182
|
# set of recommendations, review the
|
|
3171
3183
|
# `effectiveRecommendationPreferences` value in the response of the
|
|
3172
|
-
# GetAutoScalingGroupRecommendations
|
|
3173
|
-
#
|
|
3184
|
+
# GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations,
|
|
3185
|
+
# GetEBSVolumeRecommendations, GetECSServiceRecommendations, or
|
|
3186
|
+
# GetRDSDatabaseRecommendations actions.
|
|
3174
3187
|
# @return [String]
|
|
3175
3188
|
#
|
|
3176
3189
|
# @!attribute [rw] utilization_preferences
|
|
@@ -3860,6 +3873,25 @@ module Aws::ComputeOptimizer
|
|
|
3860
3873
|
include Aws::Structure
|
|
3861
3874
|
end
|
|
3862
3875
|
|
|
3876
|
+
# Describes the dimension of an idle resource utilization metric.
|
|
3877
|
+
#
|
|
3878
|
+
# @!attribute [rw] key
|
|
3879
|
+
# The name of the dimension key.
|
|
3880
|
+
# @return [String]
|
|
3881
|
+
#
|
|
3882
|
+
# @!attribute [rw] values
|
|
3883
|
+
# The value of the dimension.
|
|
3884
|
+
# @return [Array<String>]
|
|
3885
|
+
#
|
|
3886
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/IdleDimension AWS API Documentation
|
|
3887
|
+
#
|
|
3888
|
+
class IdleDimension < Struct.new(
|
|
3889
|
+
:key,
|
|
3890
|
+
:values)
|
|
3891
|
+
SENSITIVE = []
|
|
3892
|
+
include Aws::Structure
|
|
3893
|
+
end
|
|
3894
|
+
|
|
3863
3895
|
# Describes the estimated monthly savings possible for idle resources by
|
|
3864
3896
|
# adopting Compute Optimizer recommendations.
|
|
3865
3897
|
#
|
|
@@ -4121,12 +4153,17 @@ module Aws::ComputeOptimizer
|
|
|
4121
4153
|
# The value of the utilization metric.
|
|
4122
4154
|
# @return [Float]
|
|
4123
4155
|
#
|
|
4156
|
+
# @!attribute [rw] dimensions
|
|
4157
|
+
# The dimensions of the utilization metric.
|
|
4158
|
+
# @return [Array<Types::IdleDimension>]
|
|
4159
|
+
#
|
|
4124
4160
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/IdleUtilizationMetric AWS API Documentation
|
|
4125
4161
|
#
|
|
4126
4162
|
class IdleUtilizationMetric < Struct.new(
|
|
4127
4163
|
:name,
|
|
4128
4164
|
:statistic,
|
|
4129
|
-
:value
|
|
4165
|
+
:value,
|
|
4166
|
+
:dimensions)
|
|
4130
4167
|
SENSITIVE = []
|
|
4131
4168
|
include Aws::Structure
|
|
4132
4169
|
end
|
|
@@ -5828,15 +5865,35 @@ module Aws::ComputeOptimizer
|
|
|
5828
5865
|
# of the Amazon Web Services resource are analyzed. When this
|
|
5829
5866
|
# preference isn't specified, we use the default value `DAYS_14`.
|
|
5830
5867
|
#
|
|
5831
|
-
# You can only set this preference for the Amazon EC2 instance
|
|
5832
|
-
#
|
|
5868
|
+
# You can only set this preference for the Amazon EC2 instance, Auto
|
|
5869
|
+
# Scaling group, Amazon EBS volume, Amazon ECS service on Fargate,
|
|
5870
|
+
# Amazon RDS DB instance, and Aurora DB cluster storage resource
|
|
5871
|
+
# types.
|
|
5833
5872
|
#
|
|
5834
|
-
# <note markdown="1"> *
|
|
5835
|
-
#
|
|
5873
|
+
# <note markdown="1"> * Lookback period preferences for Amazon EC2 instances, Amazon EBS
|
|
5874
|
+
# volumes, Amazon ECS services, Amazon RDS DB instances, and Aurora
|
|
5875
|
+
# DB cluster storage resource types can be set at the organization,
|
|
5876
|
+
# account, and resource levels.
|
|
5836
5877
|
#
|
|
5837
5878
|
# * Auto Scaling group lookback preferences can only be set at the
|
|
5838
5879
|
# resource level.
|
|
5839
5880
|
#
|
|
5881
|
+
# * Amazon EBS volume lookback preferences can be set at the
|
|
5882
|
+
# organization, account, and resource levels.
|
|
5883
|
+
#
|
|
5884
|
+
# * Amazon ECS service on Fargate lookback preferences can be set at
|
|
5885
|
+
# the organization, account, and resource levels.
|
|
5886
|
+
#
|
|
5887
|
+
# * Amazon RDS DB instance lookback preferences can be set at the
|
|
5888
|
+
# organization, account, and resource levels.
|
|
5889
|
+
#
|
|
5890
|
+
# * Aurora DB cluster storage lookback preferences can be set at the
|
|
5891
|
+
# organization, account, and resource levels.
|
|
5892
|
+
#
|
|
5893
|
+
# * Changing the lookback period for Amazon EBS volumes to 14 days
|
|
5894
|
+
# does not affect the 32-day lookback period used to determine
|
|
5895
|
+
# whether an Amazon EBS volume is unattached.
|
|
5896
|
+
#
|
|
5840
5897
|
# </note>
|
|
5841
5898
|
# @return [String]
|
|
5842
5899
|
#
|
|
@@ -5872,8 +5929,9 @@ module Aws::ComputeOptimizer
|
|
|
5872
5929
|
# specify either an `includeList` or `excludeList`. If the preference
|
|
5873
5930
|
# is an empty set of resource type values, an error occurs.
|
|
5874
5931
|
#
|
|
5875
|
-
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance
|
|
5876
|
-
#
|
|
5932
|
+
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance, Auto
|
|
5933
|
+
# Scaling group, Amazon EBS volume, Amazon ECS service, Amazon RDS DB
|
|
5934
|
+
# instance, and Aurora DB cluster storage resource types.
|
|
5877
5935
|
#
|
|
5878
5936
|
# </note>
|
|
5879
5937
|
# @return [Array<Types::PreferredResource>]
|
data/sig/client.rbs
CHANGED
|
@@ -153,7 +153,7 @@ module Aws
|
|
|
153
153
|
values: Array[::String]?
|
|
154
154
|
}
|
|
155
155
|
],
|
|
156
|
-
?fields_to_export: Array[("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" | "Tags" | "RootVolume" | "CurrentConfigurationRootVolume" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts")],
|
|
156
|
+
?fields_to_export: Array[("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" | "Tags" | "RootVolume" | "CurrentConfigurationRootVolume" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" | "EffectiveRecommendationPreferencesLookBackPeriod")],
|
|
157
157
|
s3_destination_config: {
|
|
158
158
|
bucket: ::String?,
|
|
159
159
|
key_prefix: ::String?
|
|
@@ -204,7 +204,7 @@ module Aws
|
|
|
204
204
|
values: Array[::String]?
|
|
205
205
|
}
|
|
206
206
|
],
|
|
207
|
-
?fields_to_export: Array[("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")],
|
|
207
|
+
?fields_to_export: Array[("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" | "EffectiveRecommendationPreferencesLookBackPeriod")],
|
|
208
208
|
s3_destination_config: {
|
|
209
209
|
bucket: ::String?,
|
|
210
210
|
key_prefix: ::String?
|
|
@@ -228,7 +228,7 @@ module Aws
|
|
|
228
228
|
values: Array[::String]?
|
|
229
229
|
}
|
|
230
230
|
],
|
|
231
|
-
?fields_to_export: Array[("AccountId" | "ResourceArn" | "ResourceId" | "ResourceType" | "LastRefreshTimestamp" | "LookbackPeriodInDays" | "SavingsOpportunity" | "SavingsOpportunityAfterDiscount" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "UtilizationMetricsActiveConnectionCountMaximum" | "UtilizationMetricsPacketsInFromSourceMaximum" | "UtilizationMetricsPacketsInFromDestinationMaximum" | "Finding" | "FindingDescription" | "Tags")],
|
|
231
|
+
?fields_to_export: Array[("AccountId" | "ResourceArn" | "ResourceId" | "ResourceType" | "LastRefreshTimestamp" | "LookbackPeriodInDays" | "SavingsOpportunity" | "SavingsOpportunityAfterDiscount" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "UtilizationMetricsActiveConnectionCountMaximum" | "UtilizationMetricsPacketsInFromSourceMaximum" | "UtilizationMetricsPacketsInFromDestinationMaximum" | "UtilizationMetricsConsumedReadCapacityUnitsSum" | "UtilizationMetricsConsumedWriteCapacityUnitsSum" | "UtilizationMetricsNewConnectionsSum" | "UtilizationMetricsEngineCPUUtilizationMaximum" | "UtilizationMetricsCacheHitsSum" | "UtilizationMetricsCacheMissesSum" | "UtilizationMetricsKeyspaceHitsSum" | "UtilizationMetricsKeyspaceMissesSum" | "UtilizationMetricsIsIdleMinimum" | "UtilizationMetricsUserConnectedSum" | "UtilizationMetricsInvocationsSum" | "UtilizationMetricsGetTypeCmdsSum" | "UtilizationMetricsSetTypeCmdsSum" | "UtilizationMetricsElastiCacheProcessingUnitsSum" | "UtilizationMetricsCurrConnectionsSum" | "UtilizationMetricsDatabaseConnectionsSum" | "Finding" | "FindingDescription" | "Tags")],
|
|
232
232
|
s3_destination_config: {
|
|
233
233
|
bucket: ::String?,
|
|
234
234
|
key_prefix: ::String?
|
data/sig/types.rbs
CHANGED
|
@@ -137,6 +137,7 @@ module Aws::ComputeOptimizer
|
|
|
137
137
|
|
|
138
138
|
class EBSEffectiveRecommendationPreferences
|
|
139
139
|
attr_accessor savings_estimation_mode: Types::EBSSavingsEstimationMode
|
|
140
|
+
attr_accessor look_back_period: ("DAYS_14" | "DAYS_32" | "DAYS_93")
|
|
140
141
|
SENSITIVE: []
|
|
141
142
|
end
|
|
142
143
|
|
|
@@ -172,6 +173,7 @@ module Aws::ComputeOptimizer
|
|
|
172
173
|
|
|
173
174
|
class ECSEffectiveRecommendationPreferences
|
|
174
175
|
attr_accessor savings_estimation_mode: Types::ECSSavingsEstimationMode
|
|
176
|
+
attr_accessor look_back_period: ("DAYS_14" | "DAYS_32" | "DAYS_93")
|
|
175
177
|
SENSITIVE: []
|
|
176
178
|
end
|
|
177
179
|
|
|
@@ -312,7 +314,7 @@ module Aws::ComputeOptimizer
|
|
|
312
314
|
class ExportEBSVolumeRecommendationsRequest
|
|
313
315
|
attr_accessor account_ids: ::Array[::String]
|
|
314
316
|
attr_accessor filters: ::Array[Types::EBSFilter]
|
|
315
|
-
attr_accessor fields_to_export: ::Array[("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" | "Tags" | "RootVolume" | "CurrentConfigurationRootVolume" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts")]
|
|
317
|
+
attr_accessor fields_to_export: ::Array[("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" | "Tags" | "RootVolume" | "CurrentConfigurationRootVolume" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" | "EffectiveRecommendationPreferencesLookBackPeriod")]
|
|
316
318
|
attr_accessor s3_destination_config: Types::S3DestinationConfig
|
|
317
319
|
attr_accessor file_format: ("Csv")
|
|
318
320
|
attr_accessor include_member_accounts: bool
|
|
@@ -345,7 +347,7 @@ module Aws::ComputeOptimizer
|
|
|
345
347
|
class ExportECSServiceRecommendationsRequest
|
|
346
348
|
attr_accessor account_ids: ::Array[::String]
|
|
347
349
|
attr_accessor filters: ::Array[Types::ECSServiceRecommendationFilter]
|
|
348
|
-
attr_accessor fields_to_export: ::Array[("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")]
|
|
350
|
+
attr_accessor fields_to_export: ::Array[("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" | "EffectiveRecommendationPreferencesLookBackPeriod")]
|
|
349
351
|
attr_accessor s3_destination_config: Types::S3DestinationConfig
|
|
350
352
|
attr_accessor file_format: ("Csv")
|
|
351
353
|
attr_accessor include_member_accounts: bool
|
|
@@ -361,7 +363,7 @@ module Aws::ComputeOptimizer
|
|
|
361
363
|
class ExportIdleRecommendationsRequest
|
|
362
364
|
attr_accessor account_ids: ::Array[::String]
|
|
363
365
|
attr_accessor filters: ::Array[Types::IdleRecommendationFilter]
|
|
364
|
-
attr_accessor fields_to_export: ::Array[("AccountId" | "ResourceArn" | "ResourceId" | "ResourceType" | "LastRefreshTimestamp" | "LookbackPeriodInDays" | "SavingsOpportunity" | "SavingsOpportunityAfterDiscount" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "UtilizationMetricsActiveConnectionCountMaximum" | "UtilizationMetricsPacketsInFromSourceMaximum" | "UtilizationMetricsPacketsInFromDestinationMaximum" | "Finding" | "FindingDescription" | "Tags")]
|
|
366
|
+
attr_accessor fields_to_export: ::Array[("AccountId" | "ResourceArn" | "ResourceId" | "ResourceType" | "LastRefreshTimestamp" | "LookbackPeriodInDays" | "SavingsOpportunity" | "SavingsOpportunityAfterDiscount" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "UtilizationMetricsActiveConnectionCountMaximum" | "UtilizationMetricsPacketsInFromSourceMaximum" | "UtilizationMetricsPacketsInFromDestinationMaximum" | "UtilizationMetricsConsumedReadCapacityUnitsSum" | "UtilizationMetricsConsumedWriteCapacityUnitsSum" | "UtilizationMetricsNewConnectionsSum" | "UtilizationMetricsEngineCPUUtilizationMaximum" | "UtilizationMetricsCacheHitsSum" | "UtilizationMetricsCacheMissesSum" | "UtilizationMetricsKeyspaceHitsSum" | "UtilizationMetricsKeyspaceMissesSum" | "UtilizationMetricsIsIdleMinimum" | "UtilizationMetricsUserConnectedSum" | "UtilizationMetricsInvocationsSum" | "UtilizationMetricsGetTypeCmdsSum" | "UtilizationMetricsSetTypeCmdsSum" | "UtilizationMetricsElastiCacheProcessingUnitsSum" | "UtilizationMetricsCurrConnectionsSum" | "UtilizationMetricsDatabaseConnectionsSum" | "Finding" | "FindingDescription" | "Tags")]
|
|
365
367
|
attr_accessor s3_destination_config: Types::S3DestinationConfig
|
|
366
368
|
attr_accessor file_format: ("Csv")
|
|
367
369
|
attr_accessor include_member_accounts: bool
|
|
@@ -699,6 +701,12 @@ module Aws::ComputeOptimizer
|
|
|
699
701
|
SENSITIVE: []
|
|
700
702
|
end
|
|
701
703
|
|
|
704
|
+
class IdleDimension
|
|
705
|
+
attr_accessor key: ::String
|
|
706
|
+
attr_accessor values: ::Array[::String]
|
|
707
|
+
SENSITIVE: []
|
|
708
|
+
end
|
|
709
|
+
|
|
702
710
|
class IdleEstimatedMonthlySavings
|
|
703
711
|
attr_accessor currency: ("USD" | "CNY")
|
|
704
712
|
attr_accessor value: ::Float
|
|
@@ -708,7 +716,7 @@ module Aws::ComputeOptimizer
|
|
|
708
716
|
class IdleRecommendation
|
|
709
717
|
attr_accessor resource_arn: ::String
|
|
710
718
|
attr_accessor resource_id: ::String
|
|
711
|
-
attr_accessor resource_type: ("EC2Instance" | "AutoScalingGroup" | "EBSVolume" | "ECSService" | "RDSDBInstance" | "NatGateway")
|
|
719
|
+
attr_accessor resource_type: ("EC2Instance" | "AutoScalingGroup" | "EBSVolume" | "ECSService" | "RDSDBInstance" | "NatGateway" | "DynamoDBTable" | "ElastiCacheCluster" | "MemoryDBCluster" | "DocumentDBCluster" | "WorkSpaces" | "SageMakerEndpoint")
|
|
712
720
|
attr_accessor account_id: ::String
|
|
713
721
|
attr_accessor finding: ("Idle" | "Unattached" | "Unused")
|
|
714
722
|
attr_accessor finding_description: ::String
|
|
@@ -725,7 +733,7 @@ module Aws::ComputeOptimizer
|
|
|
725
733
|
attr_accessor identifier: ::String
|
|
726
734
|
attr_accessor code: ::String
|
|
727
735
|
attr_accessor message: ::String
|
|
728
|
-
attr_accessor resource_type: ("EC2Instance" | "AutoScalingGroup" | "EBSVolume" | "ECSService" | "RDSDBInstance" | "NatGateway")
|
|
736
|
+
attr_accessor resource_type: ("EC2Instance" | "AutoScalingGroup" | "EBSVolume" | "ECSService" | "RDSDBInstance" | "NatGateway" | "DynamoDBTable" | "ElastiCacheCluster" | "MemoryDBCluster" | "DocumentDBCluster" | "WorkSpaces" | "SageMakerEndpoint")
|
|
729
737
|
SENSITIVE: []
|
|
730
738
|
end
|
|
731
739
|
|
|
@@ -754,9 +762,10 @@ module Aws::ComputeOptimizer
|
|
|
754
762
|
end
|
|
755
763
|
|
|
756
764
|
class IdleUtilizationMetric
|
|
757
|
-
attr_accessor name: ("CPU" | "Memory" | "NetworkOutBytesPerSecond" | "NetworkInBytesPerSecond" | "DatabaseConnections" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "VolumeReadOpsPerSecond" | "VolumeWriteOpsPerSecond" | "ActiveConnectionCount" | "PacketsInFromSource" | "PacketsInFromDestination")
|
|
765
|
+
attr_accessor name: ("CPU" | "Memory" | "NetworkOutBytesPerSecond" | "NetworkInBytesPerSecond" | "DatabaseConnections" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "VolumeReadOpsPerSecond" | "VolumeWriteOpsPerSecond" | "ActiveConnectionCount" | "PacketsInFromSource" | "PacketsInFromDestination" | "ConsumedReadCapacityUnits" | "ConsumedWriteCapacityUnits" | "ConsumedChangeDataCaptureUnits" | "NewConnections" | "EngineCPUUtilization" | "CacheHits" | "CacheMisses" | "KeyspaceHits" | "KeyspaceMisses" | "IsIdle" | "UserConnected" | "Invocations" | "GetTypeCmds" | "SetTypeCmds" | "ElastiCacheProcessingUnits" | "CurrConnections")
|
|
758
766
|
attr_accessor statistic: ("Maximum" | "Average")
|
|
759
767
|
attr_accessor value: ::Float
|
|
768
|
+
attr_accessor dimensions: ::Array[Types::IdleDimension]
|
|
760
769
|
SENSITIVE: []
|
|
761
770
|
end
|
|
762
771
|
|
|
@@ -1153,14 +1162,14 @@ module Aws::ComputeOptimizer
|
|
|
1153
1162
|
|
|
1154
1163
|
class RecommendationSource
|
|
1155
1164
|
attr_accessor recommendation_source_arn: ::String
|
|
1156
|
-
attr_accessor recommendation_source_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License" | "RdsDBInstance" | "RdsDBInstanceStorage" | "AuroraDBClusterStorage" | "NatGateway")
|
|
1165
|
+
attr_accessor recommendation_source_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License" | "RdsDBInstance" | "RdsDBInstanceStorage" | "AuroraDBClusterStorage" | "NatGateway" | "DynamoDBTable" | "ElastiCacheCluster" | "MemoryDBCluster" | "DocumentDBCluster" | "WorkSpaces" | "SageMakerEndpoint")
|
|
1157
1166
|
SENSITIVE: []
|
|
1158
1167
|
end
|
|
1159
1168
|
|
|
1160
1169
|
class RecommendationSummary
|
|
1161
1170
|
attr_accessor summaries: ::Array[Types::Summary]
|
|
1162
1171
|
attr_accessor idle_summaries: ::Array[Types::IdleSummary]
|
|
1163
|
-
attr_accessor recommendation_resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License" | "RdsDBInstance" | "RdsDBInstanceStorage" | "AuroraDBClusterStorage" | "NatGateway")
|
|
1172
|
+
attr_accessor recommendation_resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License" | "RdsDBInstance" | "RdsDBInstanceStorage" | "AuroraDBClusterStorage" | "NatGateway" | "DynamoDBTable" | "ElastiCacheCluster" | "MemoryDBCluster" | "DocumentDBCluster" | "WorkSpaces" | "SageMakerEndpoint")
|
|
1164
1173
|
attr_accessor account_id: ::String
|
|
1165
1174
|
attr_accessor savings_opportunity: Types::SavingsOpportunity
|
|
1166
1175
|
attr_accessor idle_savings_opportunity: Types::SavingsOpportunity
|