aws-sdk-computeoptimizer 1.57.0 → 1.58.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 +384 -43
- data/lib/aws-sdk-computeoptimizer/client_api.rb +254 -9
- data/lib/aws-sdk-computeoptimizer/endpoints.rb +42 -0
- data/lib/aws-sdk-computeoptimizer/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-computeoptimizer/types.rb +1029 -175
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- data/sig/client.rbs +74 -6
- data/sig/types.rbs +181 -19
- metadata +2 -2
data/sig/client.rbs
CHANGED
@@ -78,7 +78,7 @@ module Aws
|
|
78
78
|
end
|
79
79
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#delete_recommendation_preferences-instance_method
|
80
80
|
def delete_recommendation_preferences: (
|
81
|
-
resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License"),
|
81
|
+
resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance"),
|
82
82
|
?scope: {
|
83
83
|
name: ("Organization" | "AccountId" | "ResourceArn")?,
|
84
84
|
value: ::String?
|
@@ -120,7 +120,7 @@ module Aws
|
|
120
120
|
values: Array[::String]?
|
121
121
|
},
|
122
122
|
],
|
123
|
-
?fields_to_export: Array[("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"
|
123
|
+
?fields_to_export: Array[("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" | "EffectiveRecommendationPreferencesPreferredResources" | "EffectiveRecommendationPreferencesLookBackPeriod" | "InferredWorkloadTypes" | "RecommendationOptionsMigrationEffort" | "CurrentInstanceGpuInfo" | "RecommendationOptionsInstanceGpuInfo" | "UtilizationMetricsGpuPercentageMaximum" | "UtilizationMetricsGpuMemoryPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts")],
|
124
124
|
s3_destination_config: {
|
125
125
|
bucket: ::String?,
|
126
126
|
key_prefix: ::String?
|
@@ -147,7 +147,7 @@ module Aws
|
|
147
147
|
values: Array[::String]?
|
148
148
|
},
|
149
149
|
],
|
150
|
-
?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" | "
|
150
|
+
?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")],
|
151
151
|
s3_destination_config: {
|
152
152
|
bucket: ::String?,
|
153
153
|
key_prefix: ::String?
|
@@ -171,7 +171,7 @@ module Aws
|
|
171
171
|
values: Array[::String]?
|
172
172
|
},
|
173
173
|
],
|
174
|
-
?fields_to_export: Array[("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" | "
|
174
|
+
?fields_to_export: Array[("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" | "Tags" | "InstanceState" | "ExternalMetricStatusCode" | "ExternalMetricStatusReason" | "CurrentInstanceGpuInfo" | "RecommendationOptionsInstanceGpuInfo" | "UtilizationMetricsGpuPercentageMaximum" | "UtilizationMetricsGpuMemoryPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" | "Idle" | "EffectiveRecommendationPreferencesPreferredResources" | "EffectiveRecommendationPreferencesLookBackPeriod" | "EffectiveRecommendationPreferencesUtilizationPreferences" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts")],
|
175
175
|
s3_destination_config: {
|
176
176
|
bucket: ::String?,
|
177
177
|
key_prefix: ::String?
|
@@ -256,6 +256,33 @@ module Aws
|
|
256
256
|
) -> _ExportLicenseRecommendationsResponseSuccess
|
257
257
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportLicenseRecommendationsResponseSuccess
|
258
258
|
|
259
|
+
interface _ExportRDSDatabaseRecommendationsResponseSuccess
|
260
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ExportRDSDatabaseRecommendationsResponse]
|
261
|
+
def job_id: () -> ::String
|
262
|
+
def s3_destination: () -> Types::S3Destination
|
263
|
+
end
|
264
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#export_rds_database_recommendations-instance_method
|
265
|
+
def export_rds_database_recommendations: (
|
266
|
+
?account_ids: Array[::String],
|
267
|
+
?filters: Array[
|
268
|
+
{
|
269
|
+
name: ("InstanceFinding" | "InstanceFindingReasonCode" | "StorageFinding" | "StorageFindingReasonCode" | "Idle")?,
|
270
|
+
values: Array[::String]?
|
271
|
+
},
|
272
|
+
],
|
273
|
+
?fields_to_export: Array[("ResourceArn" | "AccountId" | "Engine" | "EngineVersion" | "Idle" | "MultiAZDBInstance" | "CurrentDBInstanceClass" | "CurrentStorageConfigurationStorageType" | "CurrentStorageConfigurationAllocatedStorage" | "CurrentStorageConfigurationMaxAllocatedStorage" | "CurrentStorageConfigurationIOPS" | "CurrentStorageConfigurationStorageThroughput" | "CurrentInstanceOnDemandHourlyPrice" | "CurrentStorageOnDemandMonthlyPrice" | "LookbackPeriodInDays" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsEBSVolumeStorageSpaceUtilizationMaximum" | "UtilizationMetricsNetworkReceiveThroughputMaximum" | "UtilizationMetricsNetworkTransmitThroughputMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsEBSVolumeReadThroughputMaximum" | "UtilizationMetricsEBSVolumeWriteThroughputMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "InstanceFinding" | "InstanceFindingReasonCodes" | "StorageFinding" | "StorageFindingReasonCodes" | "InstanceRecommendationOptionsDBInstanceClass" | "InstanceRecommendationOptionsRank" | "InstanceRecommendationOptionsPerformanceRisk" | "InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum" | "StorageRecommendationOptionsStorageType" | "StorageRecommendationOptionsAllocatedStorage" | "StorageRecommendationOptionsMaxAllocatedStorage" | "StorageRecommendationOptionsIOPS" | "StorageRecommendationOptionsStorageThroughput" | "StorageRecommendationOptionsRank" | "InstanceRecommendationOptionsInstanceOnDemandHourlyPrice" | "InstanceRecommendationOptionsSavingsOpportunityPercentage" | "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrency" | "InstanceRecommendationOptionsEstimatedMonthlySavingsValue" | "InstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "InstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" | "StorageRecommendationOptionsOnDemandMonthlyPrice" | "StorageRecommendationOptionsSavingsOpportunityPercentage" | "StorageRecommendationOptionsEstimatedMonthlySavingsCurrency" | "StorageRecommendationOptionsEstimatedMonthlySavingsValue" | "StorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" | "EffectiveRecommendationPreferencesCpuVendorArchitectures" | "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" | "EffectiveRecommendationPreferencesLookBackPeriod" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "LastRefreshTimestamp" | "Tags")],
|
274
|
+
s3_destination_config: {
|
275
|
+
bucket: ::String?,
|
276
|
+
key_prefix: ::String?
|
277
|
+
},
|
278
|
+
?file_format: ("Csv"),
|
279
|
+
?include_member_accounts: bool,
|
280
|
+
?recommendation_preferences: {
|
281
|
+
cpu_vendor_architectures: Array[("AWS_ARM64" | "CURRENT")]?
|
282
|
+
}
|
283
|
+
) -> _ExportRDSDatabaseRecommendationsResponseSuccess
|
284
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportRDSDatabaseRecommendationsResponseSuccess
|
285
|
+
|
259
286
|
interface _GetAutoScalingGroupRecommendationsResponseSuccess
|
260
287
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetAutoScalingGroupRecommendationsResponse]
|
261
288
|
def next_token: () -> ::String
|
@@ -463,6 +490,47 @@ module Aws
|
|
463
490
|
) -> _GetLicenseRecommendationsResponseSuccess
|
464
491
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLicenseRecommendationsResponseSuccess
|
465
492
|
|
493
|
+
interface _GetRDSDatabaseRecommendationProjectedMetricsResponseSuccess
|
494
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetRDSDatabaseRecommendationProjectedMetricsResponse]
|
495
|
+
def recommended_option_projected_metrics: () -> ::Array[Types::RDSDatabaseRecommendedOptionProjectedMetric]
|
496
|
+
end
|
497
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_rds_database_recommendation_projected_metrics-instance_method
|
498
|
+
def get_rds_database_recommendation_projected_metrics: (
|
499
|
+
resource_arn: ::String,
|
500
|
+
stat: ("Maximum" | "Average"),
|
501
|
+
period: ::Integer,
|
502
|
+
start_time: ::Time,
|
503
|
+
end_time: ::Time,
|
504
|
+
?recommendation_preferences: {
|
505
|
+
cpu_vendor_architectures: Array[("AWS_ARM64" | "CURRENT")]?
|
506
|
+
}
|
507
|
+
) -> _GetRDSDatabaseRecommendationProjectedMetricsResponseSuccess
|
508
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRDSDatabaseRecommendationProjectedMetricsResponseSuccess
|
509
|
+
|
510
|
+
interface _GetRDSDatabaseRecommendationsResponseSuccess
|
511
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetRDSDatabaseRecommendationsResponse]
|
512
|
+
def next_token: () -> ::String
|
513
|
+
def rds_db_recommendations: () -> ::Array[Types::RDSDBRecommendation]
|
514
|
+
def errors: () -> ::Array[Types::GetRecommendationError]
|
515
|
+
end
|
516
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_rds_database_recommendations-instance_method
|
517
|
+
def get_rds_database_recommendations: (
|
518
|
+
?resource_arns: Array[::String],
|
519
|
+
?next_token: ::String,
|
520
|
+
?max_results: ::Integer,
|
521
|
+
?filters: Array[
|
522
|
+
{
|
523
|
+
name: ("InstanceFinding" | "InstanceFindingReasonCode" | "StorageFinding" | "StorageFindingReasonCode" | "Idle")?,
|
524
|
+
values: Array[::String]?
|
525
|
+
},
|
526
|
+
],
|
527
|
+
?account_ids: Array[::String],
|
528
|
+
?recommendation_preferences: {
|
529
|
+
cpu_vendor_architectures: Array[("AWS_ARM64" | "CURRENT")]?
|
530
|
+
}
|
531
|
+
) -> _GetRDSDatabaseRecommendationsResponseSuccess
|
532
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRDSDatabaseRecommendationsResponseSuccess
|
533
|
+
|
466
534
|
interface _GetRecommendationPreferencesResponseSuccess
|
467
535
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetRecommendationPreferencesResponse]
|
468
536
|
def next_token: () -> ::String
|
@@ -470,7 +538,7 @@ module Aws
|
|
470
538
|
end
|
471
539
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#get_recommendation_preferences-instance_method
|
472
540
|
def get_recommendation_preferences: (
|
473
|
-
resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License"),
|
541
|
+
resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance"),
|
474
542
|
?scope: {
|
475
543
|
name: ("Organization" | "AccountId" | "ResourceArn")?,
|
476
544
|
value: ::String?
|
@@ -498,7 +566,7 @@ module Aws
|
|
498
566
|
end
|
499
567
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComputeOptimizer/Client.html#put_recommendation_preferences-instance_method
|
500
568
|
def put_recommendation_preferences: (
|
501
|
-
resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License"),
|
569
|
+
resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance"),
|
502
570
|
?scope: {
|
503
571
|
name: ("Organization" | "AccountId" | "ResourceArn")?,
|
504
572
|
value: ::String?
|
data/sig/types.rbs
CHANGED
@@ -43,24 +43,24 @@ module Aws::ComputeOptimizer
|
|
43
43
|
attr_accessor utilization_metrics: ::Array[Types::UtilizationMetric]
|
44
44
|
attr_accessor look_back_period_in_days: ::Float
|
45
45
|
attr_accessor current_configuration: Types::AutoScalingGroupConfiguration
|
46
|
+
attr_accessor current_instance_gpu_info: Types::GpuInfo
|
46
47
|
attr_accessor recommendation_options: ::Array[Types::AutoScalingGroupRecommendationOption]
|
47
48
|
attr_accessor last_refresh_timestamp: ::Time
|
48
49
|
attr_accessor current_performance_risk: ("VeryLow" | "Low" | "Medium" | "High")
|
49
50
|
attr_accessor effective_recommendation_preferences: Types::EffectiveRecommendationPreferences
|
50
51
|
attr_accessor inferred_workload_types: ::Array[("AmazonEmr" | "ApacheCassandra" | "ApacheHadoop" | "Memcached" | "Nginx" | "PostgreSql" | "Redis" | "Kafka" | "SQLServer")]
|
51
|
-
attr_accessor current_instance_gpu_info: Types::GpuInfo
|
52
52
|
SENSITIVE: []
|
53
53
|
end
|
54
54
|
|
55
55
|
class AutoScalingGroupRecommendationOption
|
56
56
|
attr_accessor configuration: Types::AutoScalingGroupConfiguration
|
57
|
+
attr_accessor instance_gpu_info: Types::GpuInfo
|
57
58
|
attr_accessor projected_utilization_metrics: ::Array[Types::UtilizationMetric]
|
58
59
|
attr_accessor performance_risk: ::Float
|
59
60
|
attr_accessor rank: ::Integer
|
60
61
|
attr_accessor savings_opportunity: Types::SavingsOpportunity
|
61
|
-
attr_accessor migration_effort: ("VeryLow" | "Low" | "Medium" | "High")
|
62
|
-
attr_accessor instance_gpu_info: Types::GpuInfo
|
63
62
|
attr_accessor savings_opportunity_after_discounts: Types::AutoScalingGroupSavingsOpportunityAfterDiscounts
|
63
|
+
attr_accessor migration_effort: ("VeryLow" | "Low" | "Medium" | "High")
|
64
64
|
SENSITIVE: []
|
65
65
|
end
|
66
66
|
|
@@ -98,8 +98,17 @@ module Aws::ComputeOptimizer
|
|
98
98
|
SENSITIVE: []
|
99
99
|
end
|
100
100
|
|
101
|
+
class DBStorageConfiguration
|
102
|
+
attr_accessor storage_type: ::String
|
103
|
+
attr_accessor allocated_storage: ::Integer
|
104
|
+
attr_accessor iops: ::Integer
|
105
|
+
attr_accessor max_allocated_storage: ::Integer
|
106
|
+
attr_accessor storage_throughput: ::Integer
|
107
|
+
SENSITIVE: []
|
108
|
+
end
|
109
|
+
|
101
110
|
class DeleteRecommendationPreferencesRequest
|
102
|
-
attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License")
|
111
|
+
attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance")
|
103
112
|
attr_accessor scope: Types::Scope
|
104
113
|
attr_accessor recommendation_preference_names: ::Array[("EnhancedInfrastructureMetrics" | "InferredWorkloadTypes" | "ExternalMetricsPreference" | "LookBackPeriodPreference" | "PreferredResources" | "UtilizationPreferences")]
|
105
114
|
SENSITIVE: []
|
@@ -207,8 +216,8 @@ module Aws::ComputeOptimizer
|
|
207
216
|
attr_accessor finding_reason_codes: ::Array[("MemoryOverprovisioned" | "MemoryUnderprovisioned" | "CPUOverprovisioned" | "CPUUnderprovisioned")]
|
208
217
|
attr_accessor service_recommendation_options: ::Array[Types::ECSServiceRecommendationOption]
|
209
218
|
attr_accessor current_performance_risk: ("VeryLow" | "Low" | "Medium" | "High")
|
210
|
-
attr_accessor tags: ::Array[Types::Tag]
|
211
219
|
attr_accessor effective_recommendation_preferences: Types::ECSEffectiveRecommendationPreferences
|
220
|
+
attr_accessor tags: ::Array[Types::Tag]
|
212
221
|
SENSITIVE: []
|
213
222
|
end
|
214
223
|
|
@@ -222,9 +231,9 @@ module Aws::ComputeOptimizer
|
|
222
231
|
attr_accessor memory: ::Integer
|
223
232
|
attr_accessor cpu: ::Integer
|
224
233
|
attr_accessor savings_opportunity: Types::SavingsOpportunity
|
234
|
+
attr_accessor savings_opportunity_after_discounts: Types::ECSSavingsOpportunityAfterDiscounts
|
225
235
|
attr_accessor projected_utilization_metrics: ::Array[Types::ECSServiceProjectedUtilizationMetric]
|
226
236
|
attr_accessor container_recommendations: ::Array[Types::ContainerRecommendation]
|
227
|
-
attr_accessor savings_opportunity_after_discounts: Types::ECSSavingsOpportunityAfterDiscounts
|
228
237
|
SENSITIVE: []
|
229
238
|
end
|
230
239
|
|
@@ -277,7 +286,7 @@ module Aws::ComputeOptimizer
|
|
277
286
|
class ExportAutoScalingGroupRecommendationsRequest
|
278
287
|
attr_accessor account_ids: ::Array[::String]
|
279
288
|
attr_accessor filters: ::Array[Types::Filter]
|
280
|
-
attr_accessor fields_to_export: ::Array[("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"
|
289
|
+
attr_accessor fields_to_export: ::Array[("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" | "EffectiveRecommendationPreferencesPreferredResources" | "EffectiveRecommendationPreferencesLookBackPeriod" | "InferredWorkloadTypes" | "RecommendationOptionsMigrationEffort" | "CurrentInstanceGpuInfo" | "RecommendationOptionsInstanceGpuInfo" | "UtilizationMetricsGpuPercentageMaximum" | "UtilizationMetricsGpuMemoryPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts")]
|
281
290
|
attr_accessor s3_destination_config: Types::S3DestinationConfig
|
282
291
|
attr_accessor file_format: ("Csv")
|
283
292
|
attr_accessor include_member_accounts: bool
|
@@ -299,7 +308,7 @@ module Aws::ComputeOptimizer
|
|
299
308
|
class ExportEBSVolumeRecommendationsRequest
|
300
309
|
attr_accessor account_ids: ::Array[::String]
|
301
310
|
attr_accessor filters: ::Array[Types::EBSFilter]
|
302
|
-
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" | "
|
311
|
+
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")]
|
303
312
|
attr_accessor s3_destination_config: Types::S3DestinationConfig
|
304
313
|
attr_accessor file_format: ("Csv")
|
305
314
|
attr_accessor include_member_accounts: bool
|
@@ -315,7 +324,7 @@ module Aws::ComputeOptimizer
|
|
315
324
|
class ExportEC2InstanceRecommendationsRequest
|
316
325
|
attr_accessor account_ids: ::Array[::String]
|
317
326
|
attr_accessor filters: ::Array[Types::Filter]
|
318
|
-
attr_accessor fields_to_export: ::Array[("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" | "
|
327
|
+
attr_accessor fields_to_export: ::Array[("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" | "Tags" | "InstanceState" | "ExternalMetricStatusCode" | "ExternalMetricStatusReason" | "CurrentInstanceGpuInfo" | "RecommendationOptionsInstanceGpuInfo" | "UtilizationMetricsGpuPercentageMaximum" | "UtilizationMetricsGpuMemoryPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" | "Idle" | "EffectiveRecommendationPreferencesPreferredResources" | "EffectiveRecommendationPreferencesLookBackPeriod" | "EffectiveRecommendationPreferencesUtilizationPreferences" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts")]
|
319
328
|
attr_accessor s3_destination_config: Types::S3DestinationConfig
|
320
329
|
attr_accessor file_format: ("Csv")
|
321
330
|
attr_accessor include_member_accounts: bool
|
@@ -377,6 +386,23 @@ module Aws::ComputeOptimizer
|
|
377
386
|
SENSITIVE: []
|
378
387
|
end
|
379
388
|
|
389
|
+
class ExportRDSDatabaseRecommendationsRequest
|
390
|
+
attr_accessor account_ids: ::Array[::String]
|
391
|
+
attr_accessor filters: ::Array[Types::RDSDBRecommendationFilter]
|
392
|
+
attr_accessor fields_to_export: ::Array[("ResourceArn" | "AccountId" | "Engine" | "EngineVersion" | "Idle" | "MultiAZDBInstance" | "CurrentDBInstanceClass" | "CurrentStorageConfigurationStorageType" | "CurrentStorageConfigurationAllocatedStorage" | "CurrentStorageConfigurationMaxAllocatedStorage" | "CurrentStorageConfigurationIOPS" | "CurrentStorageConfigurationStorageThroughput" | "CurrentInstanceOnDemandHourlyPrice" | "CurrentStorageOnDemandMonthlyPrice" | "LookbackPeriodInDays" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsEBSVolumeStorageSpaceUtilizationMaximum" | "UtilizationMetricsNetworkReceiveThroughputMaximum" | "UtilizationMetricsNetworkTransmitThroughputMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsEBSVolumeReadThroughputMaximum" | "UtilizationMetricsEBSVolumeWriteThroughputMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "InstanceFinding" | "InstanceFindingReasonCodes" | "StorageFinding" | "StorageFindingReasonCodes" | "InstanceRecommendationOptionsDBInstanceClass" | "InstanceRecommendationOptionsRank" | "InstanceRecommendationOptionsPerformanceRisk" | "InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum" | "StorageRecommendationOptionsStorageType" | "StorageRecommendationOptionsAllocatedStorage" | "StorageRecommendationOptionsMaxAllocatedStorage" | "StorageRecommendationOptionsIOPS" | "StorageRecommendationOptionsStorageThroughput" | "StorageRecommendationOptionsRank" | "InstanceRecommendationOptionsInstanceOnDemandHourlyPrice" | "InstanceRecommendationOptionsSavingsOpportunityPercentage" | "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrency" | "InstanceRecommendationOptionsEstimatedMonthlySavingsValue" | "InstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "InstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" | "StorageRecommendationOptionsOnDemandMonthlyPrice" | "StorageRecommendationOptionsSavingsOpportunityPercentage" | "StorageRecommendationOptionsEstimatedMonthlySavingsCurrency" | "StorageRecommendationOptionsEstimatedMonthlySavingsValue" | "StorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" | "EffectiveRecommendationPreferencesCpuVendorArchitectures" | "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" | "EffectiveRecommendationPreferencesLookBackPeriod" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "LastRefreshTimestamp" | "Tags")]
|
393
|
+
attr_accessor s3_destination_config: Types::S3DestinationConfig
|
394
|
+
attr_accessor file_format: ("Csv")
|
395
|
+
attr_accessor include_member_accounts: bool
|
396
|
+
attr_accessor recommendation_preferences: Types::RecommendationPreferences
|
397
|
+
SENSITIVE: []
|
398
|
+
end
|
399
|
+
|
400
|
+
class ExportRDSDatabaseRecommendationsResponse
|
401
|
+
attr_accessor job_id: ::String
|
402
|
+
attr_accessor s3_destination: Types::S3Destination
|
403
|
+
SENSITIVE: []
|
404
|
+
end
|
405
|
+
|
380
406
|
class ExternalMetricStatus
|
381
407
|
attr_accessor status_code: ("NO_EXTERNAL_METRIC_SET" | "INTEGRATION_SUCCESS" | "DATADOG_INTEGRATION_ERROR" | "DYNATRACE_INTEGRATION_ERROR" | "NEWRELIC_INTEGRATION_ERROR" | "INSTANA_INTEGRATION_ERROR" | "INSUFFICIENT_DATADOG_METRICS" | "INSUFFICIENT_DYNATRACE_METRICS" | "INSUFFICIENT_NEWRELIC_METRICS" | "INSUFFICIENT_INSTANA_METRICS")
|
382
408
|
attr_accessor status_reason: ::String
|
@@ -559,6 +585,38 @@ module Aws::ComputeOptimizer
|
|
559
585
|
SENSITIVE: []
|
560
586
|
end
|
561
587
|
|
588
|
+
class GetRDSDatabaseRecommendationProjectedMetricsRequest
|
589
|
+
attr_accessor resource_arn: ::String
|
590
|
+
attr_accessor stat: ("Maximum" | "Average")
|
591
|
+
attr_accessor period: ::Integer
|
592
|
+
attr_accessor start_time: ::Time
|
593
|
+
attr_accessor end_time: ::Time
|
594
|
+
attr_accessor recommendation_preferences: Types::RecommendationPreferences
|
595
|
+
SENSITIVE: []
|
596
|
+
end
|
597
|
+
|
598
|
+
class GetRDSDatabaseRecommendationProjectedMetricsResponse
|
599
|
+
attr_accessor recommended_option_projected_metrics: ::Array[Types::RDSDatabaseRecommendedOptionProjectedMetric]
|
600
|
+
SENSITIVE: []
|
601
|
+
end
|
602
|
+
|
603
|
+
class GetRDSDatabaseRecommendationsRequest
|
604
|
+
attr_accessor resource_arns: ::Array[::String]
|
605
|
+
attr_accessor next_token: ::String
|
606
|
+
attr_accessor max_results: ::Integer
|
607
|
+
attr_accessor filters: ::Array[Types::RDSDBRecommendationFilter]
|
608
|
+
attr_accessor account_ids: ::Array[::String]
|
609
|
+
attr_accessor recommendation_preferences: Types::RecommendationPreferences
|
610
|
+
SENSITIVE: []
|
611
|
+
end
|
612
|
+
|
613
|
+
class GetRDSDatabaseRecommendationsResponse
|
614
|
+
attr_accessor next_token: ::String
|
615
|
+
attr_accessor rds_db_recommendations: ::Array[Types::RDSDBRecommendation]
|
616
|
+
attr_accessor errors: ::Array[Types::GetRecommendationError]
|
617
|
+
SENSITIVE: []
|
618
|
+
end
|
619
|
+
|
562
620
|
class GetRecommendationError
|
563
621
|
attr_accessor identifier: ::String
|
564
622
|
attr_accessor code: ::String
|
@@ -567,7 +625,7 @@ module Aws::ComputeOptimizer
|
|
567
625
|
end
|
568
626
|
|
569
627
|
class GetRecommendationPreferencesRequest
|
570
|
-
attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License")
|
628
|
+
attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance")
|
571
629
|
attr_accessor scope: Types::Scope
|
572
630
|
attr_accessor next_token: ::String
|
573
631
|
attr_accessor max_results: ::Integer
|
@@ -641,14 +699,14 @@ module Aws::ComputeOptimizer
|
|
641
699
|
|
642
700
|
class InstanceRecommendationOption
|
643
701
|
attr_accessor instance_type: ::String
|
702
|
+
attr_accessor instance_gpu_info: Types::GpuInfo
|
644
703
|
attr_accessor projected_utilization_metrics: ::Array[Types::UtilizationMetric]
|
645
704
|
attr_accessor platform_differences: ::Array[("Hypervisor" | "NetworkInterface" | "StorageInterface" | "InstanceStoreAvailability" | "VirtualizationType" | "Architecture")]
|
646
705
|
attr_accessor performance_risk: ::Float
|
647
706
|
attr_accessor rank: ::Integer
|
648
707
|
attr_accessor savings_opportunity: Types::SavingsOpportunity
|
649
|
-
attr_accessor migration_effort: ("VeryLow" | "Low" | "Medium" | "High")
|
650
|
-
attr_accessor instance_gpu_info: Types::GpuInfo
|
651
708
|
attr_accessor savings_opportunity_after_discounts: Types::InstanceSavingsOpportunityAfterDiscounts
|
709
|
+
attr_accessor migration_effort: ("VeryLow" | "Low" | "Medium" | "High")
|
652
710
|
SENSITIVE: []
|
653
711
|
end
|
654
712
|
|
@@ -719,8 +777,8 @@ module Aws::ComputeOptimizer
|
|
719
777
|
attr_accessor finding_reason_codes: ::Array[("MemoryOverprovisioned" | "MemoryUnderprovisioned" | "InsufficientData" | "Inconclusive")]
|
720
778
|
attr_accessor memory_size_recommendation_options: ::Array[Types::LambdaFunctionMemoryRecommendationOption]
|
721
779
|
attr_accessor current_performance_risk: ("VeryLow" | "Low" | "Medium" | "High")
|
722
|
-
attr_accessor tags: ::Array[Types::Tag]
|
723
780
|
attr_accessor effective_recommendation_preferences: Types::LambdaEffectiveRecommendationPreferences
|
781
|
+
attr_accessor tags: ::Array[Types::Tag]
|
724
782
|
SENSITIVE: []
|
725
783
|
end
|
726
784
|
|
@@ -830,7 +888,7 @@ module Aws::ComputeOptimizer
|
|
830
888
|
end
|
831
889
|
|
832
890
|
class PutRecommendationPreferencesRequest
|
833
|
-
attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License")
|
891
|
+
attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance")
|
834
892
|
attr_accessor scope: Types::Scope
|
835
893
|
attr_accessor enhanced_infrastructure_metrics: ("Active" | "Inactive")
|
836
894
|
attr_accessor inferred_workload_types: ("Active" | "Inactive")
|
@@ -845,6 +903,110 @@ module Aws::ComputeOptimizer
|
|
845
903
|
class PutRecommendationPreferencesResponse < Aws::EmptyStructure
|
846
904
|
end
|
847
905
|
|
906
|
+
class RDSDBInstanceRecommendationOption
|
907
|
+
attr_accessor db_instance_class: ::String
|
908
|
+
attr_accessor projected_utilization_metrics: ::Array[Types::RDSDBUtilizationMetric]
|
909
|
+
attr_accessor performance_risk: ::Float
|
910
|
+
attr_accessor rank: ::Integer
|
911
|
+
attr_accessor savings_opportunity: Types::SavingsOpportunity
|
912
|
+
attr_accessor savings_opportunity_after_discounts: Types::RDSInstanceSavingsOpportunityAfterDiscounts
|
913
|
+
SENSITIVE: []
|
914
|
+
end
|
915
|
+
|
916
|
+
class RDSDBRecommendation
|
917
|
+
attr_accessor resource_arn: ::String
|
918
|
+
attr_accessor account_id: ::String
|
919
|
+
attr_accessor engine: ::String
|
920
|
+
attr_accessor engine_version: ::String
|
921
|
+
attr_accessor current_db_instance_class: ::String
|
922
|
+
attr_accessor current_storage_configuration: Types::DBStorageConfiguration
|
923
|
+
attr_accessor idle: ("True" | "False")
|
924
|
+
attr_accessor instance_finding: ("Optimized" | "Underprovisioned" | "Overprovisioned")
|
925
|
+
attr_accessor storage_finding: ("Optimized" | "Underprovisioned" | "Overprovisioned")
|
926
|
+
attr_accessor instance_finding_reason_codes: ::Array[("CPUOverprovisioned" | "NetworkBandwidthOverprovisioned" | "EBSIOPSOverprovisioned" | "EBSThroughputOverprovisioned" | "CPUUnderprovisioned" | "NetworkBandwidthUnderprovisioned" | "EBSThroughputUnderprovisioned" | "NewGenerationDBInstanceClassAvailable" | "NewEngineVersionAvailable")]
|
927
|
+
attr_accessor storage_finding_reason_codes: ::Array[("EBSVolumeAllocatedStorageUnderprovisioned" | "EBSVolumeThroughputUnderprovisioned" | "EBSVolumeIOPSOverprovisioned" | "EBSVolumeThroughputOverprovisioned" | "NewGenerationStorageTypeAvailable")]
|
928
|
+
attr_accessor instance_recommendation_options: ::Array[Types::RDSDBInstanceRecommendationOption]
|
929
|
+
attr_accessor storage_recommendation_options: ::Array[Types::RDSDBStorageRecommendationOption]
|
930
|
+
attr_accessor utilization_metrics: ::Array[Types::RDSDBUtilizationMetric]
|
931
|
+
attr_accessor effective_recommendation_preferences: Types::RDSEffectiveRecommendationPreferences
|
932
|
+
attr_accessor lookback_period_in_days: ::Float
|
933
|
+
attr_accessor last_refresh_timestamp: ::Time
|
934
|
+
attr_accessor tags: ::Array[Types::Tag]
|
935
|
+
SENSITIVE: []
|
936
|
+
end
|
937
|
+
|
938
|
+
class RDSDBRecommendationFilter
|
939
|
+
attr_accessor name: ("InstanceFinding" | "InstanceFindingReasonCode" | "StorageFinding" | "StorageFindingReasonCode" | "Idle")
|
940
|
+
attr_accessor values: ::Array[::String]
|
941
|
+
SENSITIVE: []
|
942
|
+
end
|
943
|
+
|
944
|
+
class RDSDBStorageRecommendationOption
|
945
|
+
attr_accessor storage_configuration: Types::DBStorageConfiguration
|
946
|
+
attr_accessor rank: ::Integer
|
947
|
+
attr_accessor savings_opportunity: Types::SavingsOpportunity
|
948
|
+
attr_accessor savings_opportunity_after_discounts: Types::RDSStorageSavingsOpportunityAfterDiscounts
|
949
|
+
SENSITIVE: []
|
950
|
+
end
|
951
|
+
|
952
|
+
class RDSDBUtilizationMetric
|
953
|
+
attr_accessor name: ("CPU" | "Memory" | "EBSVolumeStorageSpaceUtilization" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "EBSVolumeReadThroughput" | "EBSVolumeWriteThroughput" | "DatabaseConnections")
|
954
|
+
attr_accessor statistic: ("Maximum" | "Minimum" | "Average")
|
955
|
+
attr_accessor value: ::Float
|
956
|
+
SENSITIVE: []
|
957
|
+
end
|
958
|
+
|
959
|
+
class RDSDatabaseProjectedMetric
|
960
|
+
attr_accessor name: ("CPU" | "Memory" | "EBSVolumeStorageSpaceUtilization" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "EBSVolumeReadThroughput" | "EBSVolumeWriteThroughput" | "DatabaseConnections")
|
961
|
+
attr_accessor timestamps: ::Array[::Time]
|
962
|
+
attr_accessor values: ::Array[::Float]
|
963
|
+
SENSITIVE: []
|
964
|
+
end
|
965
|
+
|
966
|
+
class RDSDatabaseRecommendedOptionProjectedMetric
|
967
|
+
attr_accessor recommended_db_instance_class: ::String
|
968
|
+
attr_accessor rank: ::Integer
|
969
|
+
attr_accessor projected_metrics: ::Array[Types::RDSDatabaseProjectedMetric]
|
970
|
+
SENSITIVE: []
|
971
|
+
end
|
972
|
+
|
973
|
+
class RDSEffectiveRecommendationPreferences
|
974
|
+
attr_accessor cpu_vendor_architectures: ::Array[("AWS_ARM64" | "CURRENT")]
|
975
|
+
attr_accessor enhanced_infrastructure_metrics: ("Active" | "Inactive")
|
976
|
+
attr_accessor look_back_period: ("DAYS_14" | "DAYS_32" | "DAYS_93")
|
977
|
+
attr_accessor savings_estimation_mode: Types::RDSSavingsEstimationMode
|
978
|
+
SENSITIVE: []
|
979
|
+
end
|
980
|
+
|
981
|
+
class RDSInstanceEstimatedMonthlySavings
|
982
|
+
attr_accessor currency: ("USD" | "CNY")
|
983
|
+
attr_accessor value: ::Float
|
984
|
+
SENSITIVE: []
|
985
|
+
end
|
986
|
+
|
987
|
+
class RDSInstanceSavingsOpportunityAfterDiscounts
|
988
|
+
attr_accessor savings_opportunity_percentage: ::Float
|
989
|
+
attr_accessor estimated_monthly_savings: Types::RDSInstanceEstimatedMonthlySavings
|
990
|
+
SENSITIVE: []
|
991
|
+
end
|
992
|
+
|
993
|
+
class RDSSavingsEstimationMode
|
994
|
+
attr_accessor source: ("PublicPricing" | "CostExplorerRightsizing" | "CostOptimizationHub")
|
995
|
+
SENSITIVE: []
|
996
|
+
end
|
997
|
+
|
998
|
+
class RDSStorageEstimatedMonthlySavings
|
999
|
+
attr_accessor currency: ("USD" | "CNY")
|
1000
|
+
attr_accessor value: ::Float
|
1001
|
+
SENSITIVE: []
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
class RDSStorageSavingsOpportunityAfterDiscounts
|
1005
|
+
attr_accessor savings_opportunity_percentage: ::Float
|
1006
|
+
attr_accessor estimated_monthly_savings: Types::RDSStorageEstimatedMonthlySavings
|
1007
|
+
SENSITIVE: []
|
1008
|
+
end
|
1009
|
+
|
848
1010
|
class ReasonCodeSummary
|
849
1011
|
attr_accessor name: ("MemoryOverprovisioned" | "MemoryUnderprovisioned")
|
850
1012
|
attr_accessor value: ::Float
|
@@ -854,7 +1016,7 @@ module Aws::ComputeOptimizer
|
|
854
1016
|
class RecommendationExportJob
|
855
1017
|
attr_accessor job_id: ::String
|
856
1018
|
attr_accessor destination: Types::ExportDestination
|
857
|
-
attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License")
|
1019
|
+
attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance")
|
858
1020
|
attr_accessor status: ("Queued" | "InProgress" | "Complete" | "Failed")
|
859
1021
|
attr_accessor creation_timestamp: ::Time
|
860
1022
|
attr_accessor last_updated_timestamp: ::Time
|
@@ -869,7 +1031,7 @@ module Aws::ComputeOptimizer
|
|
869
1031
|
|
870
1032
|
class RecommendationPreferencesDetail
|
871
1033
|
attr_accessor scope: Types::Scope
|
872
|
-
attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License")
|
1034
|
+
attr_accessor resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance")
|
873
1035
|
attr_accessor enhanced_infrastructure_metrics: ("Active" | "Inactive")
|
874
1036
|
attr_accessor inferred_workload_types: ("Active" | "Inactive")
|
875
1037
|
attr_accessor external_metrics_preference: Types::ExternalMetricsPreference
|
@@ -882,13 +1044,13 @@ module Aws::ComputeOptimizer
|
|
882
1044
|
|
883
1045
|
class RecommendationSource
|
884
1046
|
attr_accessor recommendation_source_arn: ::String
|
885
|
-
attr_accessor recommendation_source_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License")
|
1047
|
+
attr_accessor recommendation_source_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License" | "RdsDBInstance" | "RdsDBInstanceStorage")
|
886
1048
|
SENSITIVE: []
|
887
1049
|
end
|
888
1050
|
|
889
1051
|
class RecommendationSummary
|
890
1052
|
attr_accessor summaries: ::Array[Types::Summary]
|
891
|
-
attr_accessor recommendation_resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License")
|
1053
|
+
attr_accessor recommendation_resource_type: ("Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License" | "RdsDBInstance" | "RdsDBInstanceStorage")
|
892
1054
|
attr_accessor account_id: ::String
|
893
1055
|
attr_accessor savings_opportunity: Types::SavingsOpportunity
|
894
1056
|
attr_accessor current_performance_risk_ratings: Types::CurrentPerformanceRiskRatings
|
@@ -1011,8 +1173,8 @@ module Aws::ComputeOptimizer
|
|
1011
1173
|
attr_accessor volume_recommendation_options: ::Array[Types::VolumeRecommendationOption]
|
1012
1174
|
attr_accessor last_refresh_timestamp: ::Time
|
1013
1175
|
attr_accessor current_performance_risk: ("VeryLow" | "Low" | "Medium" | "High")
|
1014
|
-
attr_accessor tags: ::Array[Types::Tag]
|
1015
1176
|
attr_accessor effective_recommendation_preferences: Types::EBSEffectiveRecommendationPreferences
|
1177
|
+
attr_accessor tags: ::Array[Types::Tag]
|
1016
1178
|
SENSITIVE: []
|
1017
1179
|
end
|
1018
1180
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-computeoptimizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.58.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|