libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DevOpsGuru.DescribeAccountOverview

Description

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

Creating a Request

data DescribeAccountOverview Source #

See: newDescribeAccountOverview smart constructor.

Constructors

DescribeAccountOverview' 

Fields

  • toTime :: Maybe POSIX

    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.

  • fromTime :: POSIX

    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.

Instances

Instances details
Eq DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

Read DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

Show DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

Generic DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

Associated Types

type Rep DescribeAccountOverview :: Type -> Type #

NFData DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

Methods

rnf :: DescribeAccountOverview -> () #

Hashable DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

ToJSON DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

AWSRequest DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

ToHeaders DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

ToPath DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

ToQuery DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

type Rep DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

type Rep DescribeAccountOverview = D1 ('MetaData "DescribeAccountOverview" "Amazonka.DevOpsGuru.DescribeAccountOverview" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "DescribeAccountOverview'" 'PrefixI 'True) (S1 ('MetaSel ('Just "toTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "fromTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))
type AWSResponse DescribeAccountOverview Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

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.

Constructors

DescribeAccountOverviewResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • reactiveInsights :: Int

    An integer that specifies the number of open reactive insights in your AWS account that were created during the time range passed in.

  • proactiveInsights :: Int

    An integer that specifies the number of open proactive insights in your AWS account that were created during the time range passed in.

  • meanTimeToRecoverInMilliseconds :: Integer

    The Mean Time to Recover (MTTR) for all closed insights that were created during the time range passed in.

Instances

Instances details
Eq DescribeAccountOverviewResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

Read DescribeAccountOverviewResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

Show DescribeAccountOverviewResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

Generic DescribeAccountOverviewResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

Associated Types

type Rep DescribeAccountOverviewResponse :: Type -> Type #

NFData DescribeAccountOverviewResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

type Rep DescribeAccountOverviewResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.DescribeAccountOverview

type Rep DescribeAccountOverviewResponse = D1 ('MetaData "DescribeAccountOverviewResponse" "Amazonka.DevOpsGuru.DescribeAccountOverview" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "DescribeAccountOverviewResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "reactiveInsights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "proactiveInsights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "meanTimeToRecoverInMilliseconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer))))

newDescribeAccountOverviewResponse Source #

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_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.