You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::PI::Types::GetResourceMetricsResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#aligned_end_time ⇒ Time

The end time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime.

Returns:

  • (Time) —

    The end time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds).

#aligned_start_time ⇒ Time

The start time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime.

Returns:

  • (Time) —

    The start time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds).

#identifier ⇒ String

An immutable, AWS Region-unique identifier for a data source. Performance Insights gathers metrics from this data source.

To use an Amazon RDS instance as a data source, you specify its DbiResourceId value - for example: db-FAIHNTYBKTGAUSUZQYPDS2GW4A

Returns:

  • (String) —

    An immutable, AWS Region-unique identifier for a data source.

#metric_list ⇒ Array<Types::MetricKeyDataPoints>

An array of metric results,, where each array element contains all of the data points for a particular dimension.

Returns:

  • (Array<Types::MetricKeyDataPoints>) —

    An array of metric results,, where each array element contains all of the data points for a particular dimension.

#next_token ⇒ String

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords.

Returns:

  • (String) —

    An optional pagination token provided by a previous request.