Skip to content

GetResourceMetricsResponse

Source code in docs_src/capo_pi/types/get_resource_metrics_response.py
class GetResourceMetricsResponse(TypedDict, closed=True):
    aligned_start_time: NotRequired["capo_pi.types.iso_timestamp.ISOTimestamp"]
    """<p>The start time for the returned metrics, after alignment to a granular boundary (as specified by <code>PeriodInSeconds</code>). <code>AlignedStartTime</code> will be less than or equal to the value of the user-specified <code>StartTime</code>.</p>"""
    aligned_end_time: NotRequired["capo_pi.types.iso_timestamp.ISOTimestamp"]
    """<p>The end time for the returned metrics, after alignment to a granular boundary (as specified by <code>PeriodInSeconds</code>). <code>AlignedEndTime</code> will be greater than or equal to the value of the user-specified <code>Endtime</code>.</p>"""
    identifier: NotRequired["capo_pi.types.string.String"]
    """<p>An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as <i>ResourceID</i>. When you call <code>DescribeDBInstances</code>, the identifier is returned as <code>DbiResourceId</code>.</p>"""
    metric_list: NotRequired[
        "capo_pi.types.metric_key_data_points_list.MetricKeyDataPointsList"
    ]
    """<p>An array of metric results, where each array element contains all of the data points for a particular dimension.</p>"""
    next_token: NotRequired["capo_pi.types.next_token.NextToken"]
    """<p>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 <code>MaxRecords</code>. </p>"""

aligned_end_time instance-attribute

aligned_end_time: NotRequired[ISOTimestamp]

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.

aligned_start_time instance-attribute

aligned_start_time: NotRequired[ISOTimestamp]

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.

identifier instance-attribute

identifier: NotRequired[String]

An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.

metric_list instance-attribute

metric_list: NotRequired[MetricKeyDataPointsList]

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

next_token instance-attribute

next_token: NotRequired[NextToken]

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.