Abstract
A unique provider id to associate with the provider (e.g. "mock"). This ID can be used from a MetricDataReference in a metric to reference the data from this provider.
Readonly
idA unique provider id to associate with the provider (e.g. "mock"). This ID can be used from a MetricDataReference in a metric to reference the data from this provider.
Fetches all of the data for the specified regions and metrics, optionally including timeseries metric data if available.
The fetched data for the specified regions and metrics.
One or more regions to fetch data for.
One or more metrics to fetch data for.
Whether to fetch timeseries data.
The metric catalog using this data provider. The data provider can call back into the catalog if it needs to fetch dependent data.
Abstract
fetchMethod to be overridden by subclasses to fetch the specified MetricData.
The MetricData
for the given metric
and region
.
The region to get data for.
The metric to get data for.
Whether to get timeseries data.
The metric catalog using this data provider. The data provider can call back into the catalog if it needs to fetch dependent data.
Generated using TypeDoc
Base class to help implement a MetricDataProvider that fetches one region and metric at a time. To support fetching multiple regions and metrics simultaneously, implement MetricDataProvider directly.