Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Get an aggregation of service statistics defined by a specific time range.
This operation returns paginated results.
Synopsis
- data GetTimeSeriesServiceStatistics = GetTimeSeriesServiceStatistics' {}
- newGetTimeSeriesServiceStatistics :: UTCTime -> UTCTime -> GetTimeSeriesServiceStatistics
- getTimeSeriesServiceStatistics_entitySelectorExpression :: Lens' GetTimeSeriesServiceStatistics (Maybe Text)
- getTimeSeriesServiceStatistics_period :: Lens' GetTimeSeriesServiceStatistics (Maybe Int)
- getTimeSeriesServiceStatistics_forecastStatistics :: Lens' GetTimeSeriesServiceStatistics (Maybe Bool)
- getTimeSeriesServiceStatistics_nextToken :: Lens' GetTimeSeriesServiceStatistics (Maybe Text)
- getTimeSeriesServiceStatistics_groupARN :: Lens' GetTimeSeriesServiceStatistics (Maybe Text)
- getTimeSeriesServiceStatistics_groupName :: Lens' GetTimeSeriesServiceStatistics (Maybe Text)
- getTimeSeriesServiceStatistics_startTime :: Lens' GetTimeSeriesServiceStatistics UTCTime
- getTimeSeriesServiceStatistics_endTime :: Lens' GetTimeSeriesServiceStatistics UTCTime
- data GetTimeSeriesServiceStatisticsResponse = GetTimeSeriesServiceStatisticsResponse' {}
- newGetTimeSeriesServiceStatisticsResponse :: Int -> GetTimeSeriesServiceStatisticsResponse
- getTimeSeriesServiceStatisticsResponse_containsOldGroupVersions :: Lens' GetTimeSeriesServiceStatisticsResponse (Maybe Bool)
- getTimeSeriesServiceStatisticsResponse_timeSeriesServiceStatistics :: Lens' GetTimeSeriesServiceStatisticsResponse (Maybe [TimeSeriesServiceStatistics])
- getTimeSeriesServiceStatisticsResponse_nextToken :: Lens' GetTimeSeriesServiceStatisticsResponse (Maybe Text)
- getTimeSeriesServiceStatisticsResponse_httpStatus :: Lens' GetTimeSeriesServiceStatisticsResponse Int
Creating a Request
data GetTimeSeriesServiceStatistics Source #
See: newGetTimeSeriesServiceStatistics
smart constructor.
GetTimeSeriesServiceStatistics' | |
|
Instances
newGetTimeSeriesServiceStatistics Source #
Create a value of GetTimeSeriesServiceStatistics
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:entitySelectorExpression:GetTimeSeriesServiceStatistics'
, getTimeSeriesServiceStatistics_entitySelectorExpression
- A filter expression defining entities that will be aggregated for
statistics. Supports ID, service, and edge functions. If no selector
expression is specified, edge statistics are returned.
$sel:period:GetTimeSeriesServiceStatistics'
, getTimeSeriesServiceStatistics_period
- Aggregation period in seconds.
$sel:forecastStatistics:GetTimeSeriesServiceStatistics'
, getTimeSeriesServiceStatistics_forecastStatistics
- The forecasted high and low fault count values. Forecast enabled
requests require the EntitySelectorExpression ID be provided.
$sel:nextToken:GetTimeSeriesServiceStatistics'
, getTimeSeriesServiceStatistics_nextToken
- Pagination token.
$sel:groupARN:GetTimeSeriesServiceStatistics'
, getTimeSeriesServiceStatistics_groupARN
- The Amazon Resource Name (ARN) of the group for which to pull statistics
from.
$sel:groupName:GetTimeSeriesServiceStatistics'
, getTimeSeriesServiceStatistics_groupName
- The case-sensitive name of the group for which to pull statistics from.
$sel:startTime:GetTimeSeriesServiceStatistics'
, getTimeSeriesServiceStatistics_startTime
- The start of the time frame for which to aggregate statistics.
$sel:endTime:GetTimeSeriesServiceStatistics'
, getTimeSeriesServiceStatistics_endTime
- The end of the time frame for which to aggregate statistics.
Request Lenses
getTimeSeriesServiceStatistics_entitySelectorExpression :: Lens' GetTimeSeriesServiceStatistics (Maybe Text) Source #
A filter expression defining entities that will be aggregated for statistics. Supports ID, service, and edge functions. If no selector expression is specified, edge statistics are returned.
getTimeSeriesServiceStatistics_period :: Lens' GetTimeSeriesServiceStatistics (Maybe Int) Source #
Aggregation period in seconds.
getTimeSeriesServiceStatistics_forecastStatistics :: Lens' GetTimeSeriesServiceStatistics (Maybe Bool) Source #
The forecasted high and low fault count values. Forecast enabled requests require the EntitySelectorExpression ID be provided.
getTimeSeriesServiceStatistics_nextToken :: Lens' GetTimeSeriesServiceStatistics (Maybe Text) Source #
Pagination token.
getTimeSeriesServiceStatistics_groupARN :: Lens' GetTimeSeriesServiceStatistics (Maybe Text) Source #
The Amazon Resource Name (ARN) of the group for which to pull statistics from.
getTimeSeriesServiceStatistics_groupName :: Lens' GetTimeSeriesServiceStatistics (Maybe Text) Source #
The case-sensitive name of the group for which to pull statistics from.
getTimeSeriesServiceStatistics_startTime :: Lens' GetTimeSeriesServiceStatistics UTCTime Source #
The start of the time frame for which to aggregate statistics.
getTimeSeriesServiceStatistics_endTime :: Lens' GetTimeSeriesServiceStatistics UTCTime Source #
The end of the time frame for which to aggregate statistics.
Destructuring the Response
data GetTimeSeriesServiceStatisticsResponse Source #
See: newGetTimeSeriesServiceStatisticsResponse
smart constructor.
GetTimeSeriesServiceStatisticsResponse' | |
|
Instances
newGetTimeSeriesServiceStatisticsResponse Source #
Create a value of GetTimeSeriesServiceStatisticsResponse
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:containsOldGroupVersions:GetTimeSeriesServiceStatisticsResponse'
, getTimeSeriesServiceStatisticsResponse_containsOldGroupVersions
- A flag indicating whether or not a group's filter expression has been
consistent, or if a returned aggregation might show statistics from an
older version of the group's filter expression.
$sel:timeSeriesServiceStatistics:GetTimeSeriesServiceStatisticsResponse'
, getTimeSeriesServiceStatisticsResponse_timeSeriesServiceStatistics
- The collection of statistics.
$sel:nextToken:GetTimeSeriesServiceStatistics'
, getTimeSeriesServiceStatisticsResponse_nextToken
- Pagination token.
$sel:httpStatus:GetTimeSeriesServiceStatisticsResponse'
, getTimeSeriesServiceStatisticsResponse_httpStatus
- The response's http status code.
Response Lenses
getTimeSeriesServiceStatisticsResponse_containsOldGroupVersions :: Lens' GetTimeSeriesServiceStatisticsResponse (Maybe Bool) Source #
A flag indicating whether or not a group's filter expression has been consistent, or if a returned aggregation might show statistics from an older version of the group's filter expression.
getTimeSeriesServiceStatisticsResponse_timeSeriesServiceStatistics :: Lens' GetTimeSeriesServiceStatisticsResponse (Maybe [TimeSeriesServiceStatistics]) Source #
The collection of statistics.
getTimeSeriesServiceStatisticsResponse_nextToken :: Lens' GetTimeSeriesServiceStatisticsResponse (Maybe Text) Source #
Pagination token.
getTimeSeriesServiceStatisticsResponse_httpStatus :: Lens' GetTimeSeriesServiceStatisticsResponse Int Source #
The response's http status code.