Skip to content

DataResponse

Source code in docs_src/capo_ec2/types/data_response.py
class DataResponse(TypedDict, closed=True):
    id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID passed in the <code>DataQuery</code>.</p>"""
    source: NotRequired["capo_ec2.types.string.String"]
    """<p>The Region or Availability Zone that's the source for the data query. For example, <code>us-east-1</code>.</p>"""
    destination: NotRequired["capo_ec2.types.string.String"]
    """<p>The Region or Availability Zone that's the destination for the data query. For example, <code>eu-west-1</code>.</p>"""
    metric: NotRequired["capo_ec2.types.metric_type.MetricType"]
    """<p>The metric used for the network performance request.</p>"""
    statistic: NotRequired["capo_ec2.types.statistic_type.StatisticType"]
    """<p>The statistic used for the network performance request.</p>"""
    period: NotRequired["capo_ec2.types.period_type.PeriodType"]
    """<p>The period used for the network performance request.</p>"""
    metric_points: NotRequired["capo_ec2.types.metric_points.MetricPoints"]
    """<p>A list of <code>MetricPoint</code> objects.</p>"""

destination instance-attribute

destination: NotRequired[String]

The Region or Availability Zone that's the destination for the data query. For example, eu-west-1.

id instance-attribute

id: NotRequired[String]

The ID passed in the DataQuery.

metric instance-attribute

metric: NotRequired[MetricType]

The metric used for the network performance request.

metric_points instance-attribute

metric_points: NotRequired[MetricPoints]

A list of MetricPoint objects.

period instance-attribute

period: NotRequired[PeriodType]

The period used for the network performance request.

source instance-attribute

source: NotRequired[String]

The Region or Availability Zone that's the source for the data query. For example, us-east-1.

statistic instance-attribute

statistic: NotRequired[StatisticType]

The statistic used for the network performance request.