Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Lists statistics about the data collected for each of the sensors that have been successfully ingested in the particular dataset. Can also be used to retreive Sensor Statistics for a previous ingestion job.
Synopsis
- data ListSensorStatistics = ListSensorStatistics' {}
- newListSensorStatistics :: Text -> ListSensorStatistics
- listSensorStatistics_ingestionJobId :: Lens' ListSensorStatistics (Maybe Text)
- listSensorStatistics_maxResults :: Lens' ListSensorStatistics (Maybe Natural)
- listSensorStatistics_nextToken :: Lens' ListSensorStatistics (Maybe Text)
- listSensorStatistics_datasetName :: Lens' ListSensorStatistics Text
- data ListSensorStatisticsResponse = ListSensorStatisticsResponse' {}
- newListSensorStatisticsResponse :: Int -> ListSensorStatisticsResponse
- listSensorStatisticsResponse_nextToken :: Lens' ListSensorStatisticsResponse (Maybe Text)
- listSensorStatisticsResponse_sensorStatisticsSummaries :: Lens' ListSensorStatisticsResponse (Maybe [SensorStatisticsSummary])
- listSensorStatisticsResponse_httpStatus :: Lens' ListSensorStatisticsResponse Int
Creating a Request
data ListSensorStatistics Source #
See: newListSensorStatistics
smart constructor.
ListSensorStatistics' | |
|
Instances
newListSensorStatistics Source #
Create a value of ListSensorStatistics
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ingestionJobId:ListSensorStatistics'
, listSensorStatistics_ingestionJobId
- The ingestion job id associated with the list of Sensor Statistics. To
get sensor statistics for a particular ingestion job id, both dataset
name and ingestion job id must be submitted as inputs.
$sel:maxResults:ListSensorStatistics'
, listSensorStatistics_maxResults
- Specifies the maximum number of sensors for which to retrieve
statistics.
ListSensorStatistics
, listSensorStatistics_nextToken
- An opaque pagination token indicating where to continue the listing of
sensor statistics.
ListSensorStatistics
, listSensorStatistics_datasetName
- The name of the dataset associated with the list of Sensor Statistics.
Request Lenses
listSensorStatistics_ingestionJobId :: Lens' ListSensorStatistics (Maybe Text) Source #
The ingestion job id associated with the list of Sensor Statistics. To get sensor statistics for a particular ingestion job id, both dataset name and ingestion job id must be submitted as inputs.
listSensorStatistics_maxResults :: Lens' ListSensorStatistics (Maybe Natural) Source #
Specifies the maximum number of sensors for which to retrieve statistics.
listSensorStatistics_nextToken :: Lens' ListSensorStatistics (Maybe Text) Source #
An opaque pagination token indicating where to continue the listing of sensor statistics.
listSensorStatistics_datasetName :: Lens' ListSensorStatistics Text Source #
The name of the dataset associated with the list of Sensor Statistics.
Destructuring the Response
data ListSensorStatisticsResponse Source #
See: newListSensorStatisticsResponse
smart constructor.
ListSensorStatisticsResponse' | |
|
Instances
newListSensorStatisticsResponse Source #
Create a value of ListSensorStatisticsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListSensorStatistics
, listSensorStatisticsResponse_nextToken
- An opaque pagination token indicating where to continue the listing of
sensor statistics.
$sel:sensorStatisticsSummaries:ListSensorStatisticsResponse'
, listSensorStatisticsResponse_sensorStatisticsSummaries
- Provides ingestion-based statistics regarding the specified sensor with
respect to various validation types, such as whether data exists, the
number and percentage of missing values, and the number and percentage
of duplicate timestamps.
$sel:httpStatus:ListSensorStatisticsResponse'
, listSensorStatisticsResponse_httpStatus
- The response's http status code.
Response Lenses
listSensorStatisticsResponse_nextToken :: Lens' ListSensorStatisticsResponse (Maybe Text) Source #
An opaque pagination token indicating where to continue the listing of sensor statistics.
listSensorStatisticsResponse_sensorStatisticsSummaries :: Lens' ListSensorStatisticsResponse (Maybe [SensorStatisticsSummary]) Source #
Provides ingestion-based statistics regarding the specified sensor with respect to various validation types, such as whether data exists, the number and percentage of missing values, and the number and percentage of duplicate timestamps.
listSensorStatisticsResponse_httpStatus :: Lens' ListSensorStatisticsResponse Int Source #
The response's http status code.