Skip to content

Get Rds Database Recommendation Projected Metrics

computeoptimizer_get_rds_database_recommendation_projected_metrics R Documentation

Returns the projected metrics of Amazon RDS recommendations

Description

Returns the projected metrics of Amazon RDS recommendations.

Usage

computeoptimizer_get_rds_database_recommendation_projected_metrics(
  resourceArn, stat, period, startTime, endTime,
  recommendationPreferences)

Arguments

resourceArn

[required] The ARN that identifies the Amazon RDS.

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.

recommendationPreferences

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",
          timestamps = list(
            as.POSIXct(
              "2015-01-01"
            )
          ),
          values = list(
            123.0
          )
        )
      )
    )
  )
)

Request syntax

svc$get_rds_database_recommendation_projected_metrics(
  resourceArn = "string",
  stat = "Maximum"|"Average",
  period = 123,
  startTime = as.POSIXct(
    "2015-01-01"
  ),
  endTime = as.POSIXct(
    "2015-01-01"
  ),
  recommendationPreferences = list(
    cpuVendorArchitectures = list(
      "AWS_ARM64"|"CURRENT"
    )
  )
)