Returns the projected metrics of Aurora and RDS database recommendations¶
Description¶
Returns the projected metrics of Aurora and RDS database recommendations.
Usage¶
computeoptimizer_get_rds_database_recommendation_projected_metrics(
resourceArn, stat, period, startTime, endTime,
recommendationPreferences)
Arguments¶
-
resourceArn[required] The ARN that identifies the Amazon Aurora or RDS database.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName} -
stat[required] The statistic of the projected metrics.
-
period[required] The granularity, in seconds, of the projected metrics data points.
-
startTime[required] The timestamp of the first projected metrics data point to return.
-
endTime[required] The timestamp of the last projected metrics data point to return.
-
recommendationPreferencesDescribes the recommendation preferences to return in the response of a
get_auto_scaling_group_recommendations,get_ec2_instance_recommendations,get_ec2_recommendation_projected_metrics,get_rds_database_recommendations, andget_rds_database_recommendation_projected_metricsrequest.
Value¶
A list with the following syntax:
list(
recommendedOptionProjectedMetrics = list(
list(
recommendedDBInstanceClass = "string",
rank = 123,
projectedMetrics = list(
list(
name = "CPU"|"Memory"|"EBSVolumeStorageSpaceUtilization"|"NetworkReceiveThroughput"|"NetworkTransmitThroughput"|"EBSVolumeReadIOPS"|"EBSVolumeWriteIOPS"|"EBSVolumeReadThroughput"|"EBSVolumeWriteThroughput"|"DatabaseConnections"|"StorageNetworkReceiveThroughput"|"StorageNetworkTransmitThroughput"|"AuroraMemoryHealthState"|"AuroraMemoryNumDeclinedSql"|"AuroraMemoryNumKillConnTotal"|"AuroraMemoryNumKillQueryTotal"|"ReadIOPSEphemeralStorage"|"WriteIOPSEphemeralStorage"|"VolumeReadIOPs"|"VolumeBytesUsed"|"VolumeWriteIOPs",
timestamps = list(
as.POSIXct(
"2015-01-01"
)
),
values = list(
123.0
)
)
)
)
)
)