{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.DevOpsGuru.DescribeAccountOverview
(
DescribeAccountOverview (..),
newDescribeAccountOverview,
describeAccountOverview_toTime,
describeAccountOverview_fromTime,
DescribeAccountOverviewResponse (..),
newDescribeAccountOverviewResponse,
describeAccountOverviewResponse_httpStatus,
describeAccountOverviewResponse_reactiveInsights,
describeAccountOverviewResponse_proactiveInsights,
describeAccountOverviewResponse_meanTimeToRecoverInMilliseconds,
)
where
import qualified Amazonka.Core as Core
import Amazonka.DevOpsGuru.Types
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DescribeAccountOverview = DescribeAccountOverview'
{
DescribeAccountOverview -> Maybe POSIX
toTime :: Prelude.Maybe Core.POSIX,
DescribeAccountOverview -> POSIX
fromTime :: Core.POSIX
}
deriving (DescribeAccountOverview -> DescribeAccountOverview -> Bool
(DescribeAccountOverview -> DescribeAccountOverview -> Bool)
-> (DescribeAccountOverview -> DescribeAccountOverview -> Bool)
-> Eq DescribeAccountOverview
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeAccountOverview -> DescribeAccountOverview -> Bool
$c/= :: DescribeAccountOverview -> DescribeAccountOverview -> Bool
== :: DescribeAccountOverview -> DescribeAccountOverview -> Bool
$c== :: DescribeAccountOverview -> DescribeAccountOverview -> Bool
Prelude.Eq, ReadPrec [DescribeAccountOverview]
ReadPrec DescribeAccountOverview
Int -> ReadS DescribeAccountOverview
ReadS [DescribeAccountOverview]
(Int -> ReadS DescribeAccountOverview)
-> ReadS [DescribeAccountOverview]
-> ReadPrec DescribeAccountOverview
-> ReadPrec [DescribeAccountOverview]
-> Read DescribeAccountOverview
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeAccountOverview]
$creadListPrec :: ReadPrec [DescribeAccountOverview]
readPrec :: ReadPrec DescribeAccountOverview
$creadPrec :: ReadPrec DescribeAccountOverview
readList :: ReadS [DescribeAccountOverview]
$creadList :: ReadS [DescribeAccountOverview]
readsPrec :: Int -> ReadS DescribeAccountOverview
$creadsPrec :: Int -> ReadS DescribeAccountOverview
Prelude.Read, Int -> DescribeAccountOverview -> ShowS
[DescribeAccountOverview] -> ShowS
DescribeAccountOverview -> String
(Int -> DescribeAccountOverview -> ShowS)
-> (DescribeAccountOverview -> String)
-> ([DescribeAccountOverview] -> ShowS)
-> Show DescribeAccountOverview
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeAccountOverview] -> ShowS
$cshowList :: [DescribeAccountOverview] -> ShowS
show :: DescribeAccountOverview -> String
$cshow :: DescribeAccountOverview -> String
showsPrec :: Int -> DescribeAccountOverview -> ShowS
$cshowsPrec :: Int -> DescribeAccountOverview -> ShowS
Prelude.Show, (forall x.
DescribeAccountOverview -> Rep DescribeAccountOverview x)
-> (forall x.
Rep DescribeAccountOverview x -> DescribeAccountOverview)
-> Generic DescribeAccountOverview
forall x. Rep DescribeAccountOverview x -> DescribeAccountOverview
forall x. DescribeAccountOverview -> Rep DescribeAccountOverview x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeAccountOverview x -> DescribeAccountOverview
$cfrom :: forall x. DescribeAccountOverview -> Rep DescribeAccountOverview x
Prelude.Generic)
newDescribeAccountOverview ::
Prelude.UTCTime ->
DescribeAccountOverview
newDescribeAccountOverview :: UTCTime -> DescribeAccountOverview
newDescribeAccountOverview UTCTime
pFromTime_ =
DescribeAccountOverview' :: Maybe POSIX -> POSIX -> DescribeAccountOverview
DescribeAccountOverview'
{ $sel:toTime:DescribeAccountOverview' :: Maybe POSIX
toTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:fromTime:DescribeAccountOverview' :: POSIX
fromTime = Tagged UTCTime (Identity UTCTime) -> Tagged POSIX (Identity POSIX)
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time (Tagged UTCTime (Identity UTCTime)
-> Tagged POSIX (Identity POSIX))
-> UTCTime -> POSIX
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pFromTime_
}
describeAccountOverview_toTime :: Lens.Lens' DescribeAccountOverview (Prelude.Maybe Prelude.UTCTime)
describeAccountOverview_toTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeAccountOverview -> f DescribeAccountOverview
describeAccountOverview_toTime = (DescribeAccountOverview -> Maybe POSIX)
-> (DescribeAccountOverview
-> Maybe POSIX -> DescribeAccountOverview)
-> Lens
DescribeAccountOverview
DescribeAccountOverview
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAccountOverview' {Maybe POSIX
toTime :: Maybe POSIX
$sel:toTime:DescribeAccountOverview' :: DescribeAccountOverview -> Maybe POSIX
toTime} -> Maybe POSIX
toTime) (\s :: DescribeAccountOverview
s@DescribeAccountOverview' {} Maybe POSIX
a -> DescribeAccountOverview
s {$sel:toTime:DescribeAccountOverview' :: Maybe POSIX
toTime = Maybe POSIX
a} :: DescribeAccountOverview) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeAccountOverview -> f DescribeAccountOverview)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeAccountOverview
-> f DescribeAccountOverview
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeAccountOverview_fromTime :: Lens.Lens' DescribeAccountOverview Prelude.UTCTime
describeAccountOverview_fromTime :: (UTCTime -> f UTCTime)
-> DescribeAccountOverview -> f DescribeAccountOverview
describeAccountOverview_fromTime = (DescribeAccountOverview -> POSIX)
-> (DescribeAccountOverview -> POSIX -> DescribeAccountOverview)
-> Lens DescribeAccountOverview DescribeAccountOverview POSIX POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAccountOverview' {POSIX
fromTime :: POSIX
$sel:fromTime:DescribeAccountOverview' :: DescribeAccountOverview -> POSIX
fromTime} -> POSIX
fromTime) (\s :: DescribeAccountOverview
s@DescribeAccountOverview' {} POSIX
a -> DescribeAccountOverview
s {$sel:fromTime:DescribeAccountOverview' :: POSIX
fromTime = POSIX
a} :: DescribeAccountOverview) ((POSIX -> f POSIX)
-> DescribeAccountOverview -> f DescribeAccountOverview)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> DescribeAccountOverview
-> f DescribeAccountOverview
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (UTCTime -> f UTCTime) -> POSIX -> f POSIX
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
instance Core.AWSRequest DescribeAccountOverview where
type
AWSResponse DescribeAccountOverview =
DescribeAccountOverviewResponse
request :: DescribeAccountOverview -> Request DescribeAccountOverview
request = Service
-> DescribeAccountOverview -> Request DescribeAccountOverview
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeAccountOverview
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeAccountOverview)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeAccountOverview))
-> Logger
-> Service
-> Proxy DescribeAccountOverview
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeAccountOverview)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Int -> Int -> Int -> Integer -> DescribeAccountOverviewResponse
DescribeAccountOverviewResponse'
(Int -> Int -> Int -> Integer -> DescribeAccountOverviewResponse)
-> Either String Int
-> Either
String (Int -> Int -> Integer -> DescribeAccountOverviewResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
Either
String (Int -> Int -> Integer -> DescribeAccountOverviewResponse)
-> Either String Int
-> Either
String (Int -> Integer -> DescribeAccountOverviewResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Key -> Either String Int
forall a. FromJSON a => Object -> Key -> Either String a
Core..:> Key
"ReactiveInsights")
Either String (Int -> Integer -> DescribeAccountOverviewResponse)
-> Either String Int
-> Either String (Integer -> DescribeAccountOverviewResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Key -> Either String Int
forall a. FromJSON a => Object -> Key -> Either String a
Core..:> Key
"ProactiveInsights")
Either String (Integer -> DescribeAccountOverviewResponse)
-> Either String Integer
-> Either String DescribeAccountOverviewResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Key -> Either String Integer
forall a. FromJSON a => Object -> Key -> Either String a
Core..:> Key
"MeanTimeToRecoverInMilliseconds")
)
instance Prelude.Hashable DescribeAccountOverview
instance Prelude.NFData DescribeAccountOverview
instance Core.ToHeaders DescribeAccountOverview where
toHeaders :: DescribeAccountOverview -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeAccountOverview -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON DescribeAccountOverview where
toJSON :: DescribeAccountOverview -> Value
toJSON DescribeAccountOverview' {Maybe POSIX
POSIX
fromTime :: POSIX
toTime :: Maybe POSIX
$sel:fromTime:DescribeAccountOverview' :: DescribeAccountOverview -> POSIX
$sel:toTime:DescribeAccountOverview' :: DescribeAccountOverview -> Maybe POSIX
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"ToTime" Key -> POSIX -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Core..=) (POSIX -> Pair) -> Maybe POSIX -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe POSIX
toTime,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Key
"FromTime" Key -> POSIX -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Core..= POSIX
fromTime)
]
)
instance Core.ToPath DescribeAccountOverview where
toPath :: DescribeAccountOverview -> ByteString
toPath = ByteString -> DescribeAccountOverview -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/accounts/overview"
instance Core.ToQuery DescribeAccountOverview where
toQuery :: DescribeAccountOverview -> QueryString
toQuery = QueryString -> DescribeAccountOverview -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeAccountOverviewResponse = DescribeAccountOverviewResponse'
{
DescribeAccountOverviewResponse -> Int
httpStatus :: Prelude.Int,
DescribeAccountOverviewResponse -> Int
reactiveInsights :: Prelude.Int,
DescribeAccountOverviewResponse -> Int
proactiveInsights :: Prelude.Int,
DescribeAccountOverviewResponse -> Integer
meanTimeToRecoverInMilliseconds :: Prelude.Integer
}
deriving (DescribeAccountOverviewResponse
-> DescribeAccountOverviewResponse -> Bool
(DescribeAccountOverviewResponse
-> DescribeAccountOverviewResponse -> Bool)
-> (DescribeAccountOverviewResponse
-> DescribeAccountOverviewResponse -> Bool)
-> Eq DescribeAccountOverviewResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeAccountOverviewResponse
-> DescribeAccountOverviewResponse -> Bool
$c/= :: DescribeAccountOverviewResponse
-> DescribeAccountOverviewResponse -> Bool
== :: DescribeAccountOverviewResponse
-> DescribeAccountOverviewResponse -> Bool
$c== :: DescribeAccountOverviewResponse
-> DescribeAccountOverviewResponse -> Bool
Prelude.Eq, ReadPrec [DescribeAccountOverviewResponse]
ReadPrec DescribeAccountOverviewResponse
Int -> ReadS DescribeAccountOverviewResponse
ReadS [DescribeAccountOverviewResponse]
(Int -> ReadS DescribeAccountOverviewResponse)
-> ReadS [DescribeAccountOverviewResponse]
-> ReadPrec DescribeAccountOverviewResponse
-> ReadPrec [DescribeAccountOverviewResponse]
-> Read DescribeAccountOverviewResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeAccountOverviewResponse]
$creadListPrec :: ReadPrec [DescribeAccountOverviewResponse]
readPrec :: ReadPrec DescribeAccountOverviewResponse
$creadPrec :: ReadPrec DescribeAccountOverviewResponse
readList :: ReadS [DescribeAccountOverviewResponse]
$creadList :: ReadS [DescribeAccountOverviewResponse]
readsPrec :: Int -> ReadS DescribeAccountOverviewResponse
$creadsPrec :: Int -> ReadS DescribeAccountOverviewResponse
Prelude.Read, Int -> DescribeAccountOverviewResponse -> ShowS
[DescribeAccountOverviewResponse] -> ShowS
DescribeAccountOverviewResponse -> String
(Int -> DescribeAccountOverviewResponse -> ShowS)
-> (DescribeAccountOverviewResponse -> String)
-> ([DescribeAccountOverviewResponse] -> ShowS)
-> Show DescribeAccountOverviewResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeAccountOverviewResponse] -> ShowS
$cshowList :: [DescribeAccountOverviewResponse] -> ShowS
show :: DescribeAccountOverviewResponse -> String
$cshow :: DescribeAccountOverviewResponse -> String
showsPrec :: Int -> DescribeAccountOverviewResponse -> ShowS
$cshowsPrec :: Int -> DescribeAccountOverviewResponse -> ShowS
Prelude.Show, (forall x.
DescribeAccountOverviewResponse
-> Rep DescribeAccountOverviewResponse x)
-> (forall x.
Rep DescribeAccountOverviewResponse x
-> DescribeAccountOverviewResponse)
-> Generic DescribeAccountOverviewResponse
forall x.
Rep DescribeAccountOverviewResponse x
-> DescribeAccountOverviewResponse
forall x.
DescribeAccountOverviewResponse
-> Rep DescribeAccountOverviewResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeAccountOverviewResponse x
-> DescribeAccountOverviewResponse
$cfrom :: forall x.
DescribeAccountOverviewResponse
-> Rep DescribeAccountOverviewResponse x
Prelude.Generic)
newDescribeAccountOverviewResponse ::
Prelude.Int ->
Prelude.Int ->
Prelude.Int ->
Prelude.Integer ->
DescribeAccountOverviewResponse
newDescribeAccountOverviewResponse :: Int -> Int -> Int -> Integer -> DescribeAccountOverviewResponse
newDescribeAccountOverviewResponse
Int
pHttpStatus_
Int
pReactiveInsights_
Int
pProactiveInsights_
Integer
pMeanTimeToRecoverInMilliseconds_ =
DescribeAccountOverviewResponse' :: Int -> Int -> Int -> Integer -> DescribeAccountOverviewResponse
DescribeAccountOverviewResponse'
{ $sel:httpStatus:DescribeAccountOverviewResponse' :: Int
httpStatus =
Int
pHttpStatus_,
$sel:reactiveInsights:DescribeAccountOverviewResponse' :: Int
reactiveInsights = Int
pReactiveInsights_,
$sel:proactiveInsights:DescribeAccountOverviewResponse' :: Int
proactiveInsights = Int
pProactiveInsights_,
$sel:meanTimeToRecoverInMilliseconds:DescribeAccountOverviewResponse' :: Integer
meanTimeToRecoverInMilliseconds =
Integer
pMeanTimeToRecoverInMilliseconds_
}
describeAccountOverviewResponse_httpStatus :: Lens.Lens' DescribeAccountOverviewResponse Prelude.Int
describeAccountOverviewResponse_httpStatus :: (Int -> f Int)
-> DescribeAccountOverviewResponse
-> f DescribeAccountOverviewResponse
describeAccountOverviewResponse_httpStatus = (DescribeAccountOverviewResponse -> Int)
-> (DescribeAccountOverviewResponse
-> Int -> DescribeAccountOverviewResponse)
-> Lens
DescribeAccountOverviewResponse
DescribeAccountOverviewResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAccountOverviewResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeAccountOverviewResponse' :: DescribeAccountOverviewResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeAccountOverviewResponse
s@DescribeAccountOverviewResponse' {} Int
a -> DescribeAccountOverviewResponse
s {$sel:httpStatus:DescribeAccountOverviewResponse' :: Int
httpStatus = Int
a} :: DescribeAccountOverviewResponse)
describeAccountOverviewResponse_reactiveInsights :: Lens.Lens' DescribeAccountOverviewResponse Prelude.Int
describeAccountOverviewResponse_reactiveInsights :: (Int -> f Int)
-> DescribeAccountOverviewResponse
-> f DescribeAccountOverviewResponse
describeAccountOverviewResponse_reactiveInsights = (DescribeAccountOverviewResponse -> Int)
-> (DescribeAccountOverviewResponse
-> Int -> DescribeAccountOverviewResponse)
-> Lens
DescribeAccountOverviewResponse
DescribeAccountOverviewResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAccountOverviewResponse' {Int
reactiveInsights :: Int
$sel:reactiveInsights:DescribeAccountOverviewResponse' :: DescribeAccountOverviewResponse -> Int
reactiveInsights} -> Int
reactiveInsights) (\s :: DescribeAccountOverviewResponse
s@DescribeAccountOverviewResponse' {} Int
a -> DescribeAccountOverviewResponse
s {$sel:reactiveInsights:DescribeAccountOverviewResponse' :: Int
reactiveInsights = Int
a} :: DescribeAccountOverviewResponse)
describeAccountOverviewResponse_proactiveInsights :: Lens.Lens' DescribeAccountOverviewResponse Prelude.Int
describeAccountOverviewResponse_proactiveInsights :: (Int -> f Int)
-> DescribeAccountOverviewResponse
-> f DescribeAccountOverviewResponse
describeAccountOverviewResponse_proactiveInsights = (DescribeAccountOverviewResponse -> Int)
-> (DescribeAccountOverviewResponse
-> Int -> DescribeAccountOverviewResponse)
-> Lens
DescribeAccountOverviewResponse
DescribeAccountOverviewResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAccountOverviewResponse' {Int
proactiveInsights :: Int
$sel:proactiveInsights:DescribeAccountOverviewResponse' :: DescribeAccountOverviewResponse -> Int
proactiveInsights} -> Int
proactiveInsights) (\s :: DescribeAccountOverviewResponse
s@DescribeAccountOverviewResponse' {} Int
a -> DescribeAccountOverviewResponse
s {$sel:proactiveInsights:DescribeAccountOverviewResponse' :: Int
proactiveInsights = Int
a} :: DescribeAccountOverviewResponse)
describeAccountOverviewResponse_meanTimeToRecoverInMilliseconds :: Lens.Lens' DescribeAccountOverviewResponse Prelude.Integer
describeAccountOverviewResponse_meanTimeToRecoverInMilliseconds :: (Integer -> f Integer)
-> DescribeAccountOverviewResponse
-> f DescribeAccountOverviewResponse
describeAccountOverviewResponse_meanTimeToRecoverInMilliseconds = (DescribeAccountOverviewResponse -> Integer)
-> (DescribeAccountOverviewResponse
-> Integer -> DescribeAccountOverviewResponse)
-> Lens
DescribeAccountOverviewResponse
DescribeAccountOverviewResponse
Integer
Integer
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAccountOverviewResponse' {Integer
meanTimeToRecoverInMilliseconds :: Integer
$sel:meanTimeToRecoverInMilliseconds:DescribeAccountOverviewResponse' :: DescribeAccountOverviewResponse -> Integer
meanTimeToRecoverInMilliseconds} -> Integer
meanTimeToRecoverInMilliseconds) (\s :: DescribeAccountOverviewResponse
s@DescribeAccountOverviewResponse' {} Integer
a -> DescribeAccountOverviewResponse
s {$sel:meanTimeToRecoverInMilliseconds:DescribeAccountOverviewResponse' :: Integer
meanTimeToRecoverInMilliseconds = Integer
a} :: DescribeAccountOverviewResponse)
instance
Prelude.NFData
DescribeAccountOverviewResponse