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 |
For the time range passed in, returns the number of open reactive insight that were created, the number of open proactive insights that were created, and the Mean Time to Recover (MTTR) for all closed reactive insights.
Synopsis
- data DescribeAccountOverview = DescribeAccountOverview' {}
- newDescribeAccountOverview :: UTCTime -> DescribeAccountOverview
- describeAccountOverview_toTime :: Lens' DescribeAccountOverview (Maybe UTCTime)
- describeAccountOverview_fromTime :: Lens' DescribeAccountOverview UTCTime
- data DescribeAccountOverviewResponse = DescribeAccountOverviewResponse' {}
- newDescribeAccountOverviewResponse :: Int -> Int -> Int -> Integer -> DescribeAccountOverviewResponse
- describeAccountOverviewResponse_httpStatus :: Lens' DescribeAccountOverviewResponse Int
- describeAccountOverviewResponse_reactiveInsights :: Lens' DescribeAccountOverviewResponse Int
- describeAccountOverviewResponse_proactiveInsights :: Lens' DescribeAccountOverviewResponse Int
- describeAccountOverviewResponse_meanTimeToRecoverInMilliseconds :: Lens' DescribeAccountOverviewResponse Integer
Creating a Request
data DescribeAccountOverview Source #
See: newDescribeAccountOverview
smart constructor.
DescribeAccountOverview' | |
|
Instances
newDescribeAccountOverview Source #
Create a value of DescribeAccountOverview
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:toTime:DescribeAccountOverview'
, describeAccountOverview_toTime
- The end of the time range passed in. The start time granularity is at
the day level. The floor of the start time is used. Returned information
occurred before this day. If this is not specified, then the current day
is used.
$sel:fromTime:DescribeAccountOverview'
, describeAccountOverview_fromTime
- The start of the time range passed in. The start time granularity is at
the day level. The floor of the start time is used. Returned information
occurred after this day.
Request Lenses
describeAccountOverview_toTime :: Lens' DescribeAccountOverview (Maybe UTCTime) Source #
The end of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred before this day. If this is not specified, then the current day is used.
describeAccountOverview_fromTime :: Lens' DescribeAccountOverview UTCTime Source #
The start of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred after this day.
Destructuring the Response
data DescribeAccountOverviewResponse Source #
See: newDescribeAccountOverviewResponse
smart constructor.
DescribeAccountOverviewResponse' | |
|
Instances
newDescribeAccountOverviewResponse Source #
:: Int | |
-> Int | |
-> Int | |
-> Integer |
|
-> DescribeAccountOverviewResponse |
Create a value of DescribeAccountOverviewResponse
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:httpStatus:DescribeAccountOverviewResponse'
, describeAccountOverviewResponse_httpStatus
- The response's http status code.
$sel:reactiveInsights:DescribeAccountOverviewResponse'
, describeAccountOverviewResponse_reactiveInsights
- An integer that specifies the number of open reactive insights in your
AWS account that were created during the time range passed in.
$sel:proactiveInsights:DescribeAccountOverviewResponse'
, describeAccountOverviewResponse_proactiveInsights
- An integer that specifies the number of open proactive insights in your
AWS account that were created during the time range passed in.
$sel:meanTimeToRecoverInMilliseconds:DescribeAccountOverviewResponse'
, describeAccountOverviewResponse_meanTimeToRecoverInMilliseconds
- The Mean Time to Recover (MTTR) for all closed insights that were
created during the time range passed in.
Response Lenses
describeAccountOverviewResponse_httpStatus :: Lens' DescribeAccountOverviewResponse Int Source #
The response's http status code.
describeAccountOverviewResponse_reactiveInsights :: Lens' DescribeAccountOverviewResponse Int Source #
An integer that specifies the number of open reactive insights in your AWS account that were created during the time range passed in.
describeAccountOverviewResponse_proactiveInsights :: Lens' DescribeAccountOverviewResponse Int Source #
An integer that specifies the number of open proactive insights in your AWS account that were created during the time range passed in.
describeAccountOverviewResponse_meanTimeToRecoverInMilliseconds :: Lens' DescribeAccountOverviewResponse Integer Source #
The Mean Time to Recover (MTTR) for all closed insights that were created during the time range passed in.