{-# 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.IAM.GetServiceLastAccessedDetailsWithEntities
(
GetServiceLastAccessedDetailsWithEntities (..),
newGetServiceLastAccessedDetailsWithEntities,
getServiceLastAccessedDetailsWithEntities_marker,
getServiceLastAccessedDetailsWithEntities_maxItems,
getServiceLastAccessedDetailsWithEntities_jobId,
getServiceLastAccessedDetailsWithEntities_serviceNamespace,
GetServiceLastAccessedDetailsWithEntitiesResponse (..),
newGetServiceLastAccessedDetailsWithEntitiesResponse,
getServiceLastAccessedDetailsWithEntitiesResponse_error,
getServiceLastAccessedDetailsWithEntitiesResponse_marker,
getServiceLastAccessedDetailsWithEntitiesResponse_isTruncated,
getServiceLastAccessedDetailsWithEntitiesResponse_httpStatus,
getServiceLastAccessedDetailsWithEntitiesResponse_jobStatus,
getServiceLastAccessedDetailsWithEntitiesResponse_jobCreationDate,
getServiceLastAccessedDetailsWithEntitiesResponse_jobCompletionDate,
getServiceLastAccessedDetailsWithEntitiesResponse_entityDetailsList,
)
where
import qualified Amazonka.Core as Core
import Amazonka.IAM.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 GetServiceLastAccessedDetailsWithEntities = GetServiceLastAccessedDetailsWithEntities'
{
GetServiceLastAccessedDetailsWithEntities -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
GetServiceLastAccessedDetailsWithEntities -> Maybe Natural
maxItems :: Prelude.Maybe Prelude.Natural,
GetServiceLastAccessedDetailsWithEntities -> Text
jobId :: Prelude.Text,
GetServiceLastAccessedDetailsWithEntities -> Text
serviceNamespace :: Prelude.Text
}
deriving (GetServiceLastAccessedDetailsWithEntities
-> GetServiceLastAccessedDetailsWithEntities -> Bool
(GetServiceLastAccessedDetailsWithEntities
-> GetServiceLastAccessedDetailsWithEntities -> Bool)
-> (GetServiceLastAccessedDetailsWithEntities
-> GetServiceLastAccessedDetailsWithEntities -> Bool)
-> Eq GetServiceLastAccessedDetailsWithEntities
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetServiceLastAccessedDetailsWithEntities
-> GetServiceLastAccessedDetailsWithEntities -> Bool
$c/= :: GetServiceLastAccessedDetailsWithEntities
-> GetServiceLastAccessedDetailsWithEntities -> Bool
== :: GetServiceLastAccessedDetailsWithEntities
-> GetServiceLastAccessedDetailsWithEntities -> Bool
$c== :: GetServiceLastAccessedDetailsWithEntities
-> GetServiceLastAccessedDetailsWithEntities -> Bool
Prelude.Eq, ReadPrec [GetServiceLastAccessedDetailsWithEntities]
ReadPrec GetServiceLastAccessedDetailsWithEntities
Int -> ReadS GetServiceLastAccessedDetailsWithEntities
ReadS [GetServiceLastAccessedDetailsWithEntities]
(Int -> ReadS GetServiceLastAccessedDetailsWithEntities)
-> ReadS [GetServiceLastAccessedDetailsWithEntities]
-> ReadPrec GetServiceLastAccessedDetailsWithEntities
-> ReadPrec [GetServiceLastAccessedDetailsWithEntities]
-> Read GetServiceLastAccessedDetailsWithEntities
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetServiceLastAccessedDetailsWithEntities]
$creadListPrec :: ReadPrec [GetServiceLastAccessedDetailsWithEntities]
readPrec :: ReadPrec GetServiceLastAccessedDetailsWithEntities
$creadPrec :: ReadPrec GetServiceLastAccessedDetailsWithEntities
readList :: ReadS [GetServiceLastAccessedDetailsWithEntities]
$creadList :: ReadS [GetServiceLastAccessedDetailsWithEntities]
readsPrec :: Int -> ReadS GetServiceLastAccessedDetailsWithEntities
$creadsPrec :: Int -> ReadS GetServiceLastAccessedDetailsWithEntities
Prelude.Read, Int -> GetServiceLastAccessedDetailsWithEntities -> ShowS
[GetServiceLastAccessedDetailsWithEntities] -> ShowS
GetServiceLastAccessedDetailsWithEntities -> String
(Int -> GetServiceLastAccessedDetailsWithEntities -> ShowS)
-> (GetServiceLastAccessedDetailsWithEntities -> String)
-> ([GetServiceLastAccessedDetailsWithEntities] -> ShowS)
-> Show GetServiceLastAccessedDetailsWithEntities
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetServiceLastAccessedDetailsWithEntities] -> ShowS
$cshowList :: [GetServiceLastAccessedDetailsWithEntities] -> ShowS
show :: GetServiceLastAccessedDetailsWithEntities -> String
$cshow :: GetServiceLastAccessedDetailsWithEntities -> String
showsPrec :: Int -> GetServiceLastAccessedDetailsWithEntities -> ShowS
$cshowsPrec :: Int -> GetServiceLastAccessedDetailsWithEntities -> ShowS
Prelude.Show, (forall x.
GetServiceLastAccessedDetailsWithEntities
-> Rep GetServiceLastAccessedDetailsWithEntities x)
-> (forall x.
Rep GetServiceLastAccessedDetailsWithEntities x
-> GetServiceLastAccessedDetailsWithEntities)
-> Generic GetServiceLastAccessedDetailsWithEntities
forall x.
Rep GetServiceLastAccessedDetailsWithEntities x
-> GetServiceLastAccessedDetailsWithEntities
forall x.
GetServiceLastAccessedDetailsWithEntities
-> Rep GetServiceLastAccessedDetailsWithEntities x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetServiceLastAccessedDetailsWithEntities x
-> GetServiceLastAccessedDetailsWithEntities
$cfrom :: forall x.
GetServiceLastAccessedDetailsWithEntities
-> Rep GetServiceLastAccessedDetailsWithEntities x
Prelude.Generic)
newGetServiceLastAccessedDetailsWithEntities ::
Prelude.Text ->
Prelude.Text ->
GetServiceLastAccessedDetailsWithEntities
newGetServiceLastAccessedDetailsWithEntities :: Text -> Text -> GetServiceLastAccessedDetailsWithEntities
newGetServiceLastAccessedDetailsWithEntities
Text
pJobId_
Text
pServiceNamespace_ =
GetServiceLastAccessedDetailsWithEntities' :: Maybe Text
-> Maybe Natural
-> Text
-> Text
-> GetServiceLastAccessedDetailsWithEntities
GetServiceLastAccessedDetailsWithEntities'
{ $sel:marker:GetServiceLastAccessedDetailsWithEntities' :: Maybe Text
marker =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxItems:GetServiceLastAccessedDetailsWithEntities' :: Maybe Natural
maxItems = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:jobId:GetServiceLastAccessedDetailsWithEntities' :: Text
jobId = Text
pJobId_,
$sel:serviceNamespace:GetServiceLastAccessedDetailsWithEntities' :: Text
serviceNamespace =
Text
pServiceNamespace_
}
getServiceLastAccessedDetailsWithEntities_marker :: Lens.Lens' GetServiceLastAccessedDetailsWithEntities (Prelude.Maybe Prelude.Text)
getServiceLastAccessedDetailsWithEntities_marker :: (Maybe Text -> f (Maybe Text))
-> GetServiceLastAccessedDetailsWithEntities
-> f GetServiceLastAccessedDetailsWithEntities
getServiceLastAccessedDetailsWithEntities_marker = (GetServiceLastAccessedDetailsWithEntities -> Maybe Text)
-> (GetServiceLastAccessedDetailsWithEntities
-> Maybe Text -> GetServiceLastAccessedDetailsWithEntities)
-> Lens
GetServiceLastAccessedDetailsWithEntities
GetServiceLastAccessedDetailsWithEntities
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetServiceLastAccessedDetailsWithEntities' {Maybe Text
marker :: Maybe Text
$sel:marker:GetServiceLastAccessedDetailsWithEntities' :: GetServiceLastAccessedDetailsWithEntities -> Maybe Text
marker} -> Maybe Text
marker) (\s :: GetServiceLastAccessedDetailsWithEntities
s@GetServiceLastAccessedDetailsWithEntities' {} Maybe Text
a -> GetServiceLastAccessedDetailsWithEntities
s {$sel:marker:GetServiceLastAccessedDetailsWithEntities' :: Maybe Text
marker = Maybe Text
a} :: GetServiceLastAccessedDetailsWithEntities)
getServiceLastAccessedDetailsWithEntities_maxItems :: Lens.Lens' GetServiceLastAccessedDetailsWithEntities (Prelude.Maybe Prelude.Natural)
getServiceLastAccessedDetailsWithEntities_maxItems :: (Maybe Natural -> f (Maybe Natural))
-> GetServiceLastAccessedDetailsWithEntities
-> f GetServiceLastAccessedDetailsWithEntities
getServiceLastAccessedDetailsWithEntities_maxItems = (GetServiceLastAccessedDetailsWithEntities -> Maybe Natural)
-> (GetServiceLastAccessedDetailsWithEntities
-> Maybe Natural -> GetServiceLastAccessedDetailsWithEntities)
-> Lens
GetServiceLastAccessedDetailsWithEntities
GetServiceLastAccessedDetailsWithEntities
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetServiceLastAccessedDetailsWithEntities' {Maybe Natural
maxItems :: Maybe Natural
$sel:maxItems:GetServiceLastAccessedDetailsWithEntities' :: GetServiceLastAccessedDetailsWithEntities -> Maybe Natural
maxItems} -> Maybe Natural
maxItems) (\s :: GetServiceLastAccessedDetailsWithEntities
s@GetServiceLastAccessedDetailsWithEntities' {} Maybe Natural
a -> GetServiceLastAccessedDetailsWithEntities
s {$sel:maxItems:GetServiceLastAccessedDetailsWithEntities' :: Maybe Natural
maxItems = Maybe Natural
a} :: GetServiceLastAccessedDetailsWithEntities)
getServiceLastAccessedDetailsWithEntities_jobId :: Lens.Lens' GetServiceLastAccessedDetailsWithEntities Prelude.Text
getServiceLastAccessedDetailsWithEntities_jobId :: (Text -> f Text)
-> GetServiceLastAccessedDetailsWithEntities
-> f GetServiceLastAccessedDetailsWithEntities
getServiceLastAccessedDetailsWithEntities_jobId = (GetServiceLastAccessedDetailsWithEntities -> Text)
-> (GetServiceLastAccessedDetailsWithEntities
-> Text -> GetServiceLastAccessedDetailsWithEntities)
-> Lens
GetServiceLastAccessedDetailsWithEntities
GetServiceLastAccessedDetailsWithEntities
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetServiceLastAccessedDetailsWithEntities' {Text
jobId :: Text
$sel:jobId:GetServiceLastAccessedDetailsWithEntities' :: GetServiceLastAccessedDetailsWithEntities -> Text
jobId} -> Text
jobId) (\s :: GetServiceLastAccessedDetailsWithEntities
s@GetServiceLastAccessedDetailsWithEntities' {} Text
a -> GetServiceLastAccessedDetailsWithEntities
s {$sel:jobId:GetServiceLastAccessedDetailsWithEntities' :: Text
jobId = Text
a} :: GetServiceLastAccessedDetailsWithEntities)
getServiceLastAccessedDetailsWithEntities_serviceNamespace :: Lens.Lens' GetServiceLastAccessedDetailsWithEntities Prelude.Text
getServiceLastAccessedDetailsWithEntities_serviceNamespace :: (Text -> f Text)
-> GetServiceLastAccessedDetailsWithEntities
-> f GetServiceLastAccessedDetailsWithEntities
getServiceLastAccessedDetailsWithEntities_serviceNamespace = (GetServiceLastAccessedDetailsWithEntities -> Text)
-> (GetServiceLastAccessedDetailsWithEntities
-> Text -> GetServiceLastAccessedDetailsWithEntities)
-> Lens
GetServiceLastAccessedDetailsWithEntities
GetServiceLastAccessedDetailsWithEntities
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetServiceLastAccessedDetailsWithEntities' {Text
serviceNamespace :: Text
$sel:serviceNamespace:GetServiceLastAccessedDetailsWithEntities' :: GetServiceLastAccessedDetailsWithEntities -> Text
serviceNamespace} -> Text
serviceNamespace) (\s :: GetServiceLastAccessedDetailsWithEntities
s@GetServiceLastAccessedDetailsWithEntities' {} Text
a -> GetServiceLastAccessedDetailsWithEntities
s {$sel:serviceNamespace:GetServiceLastAccessedDetailsWithEntities' :: Text
serviceNamespace = Text
a} :: GetServiceLastAccessedDetailsWithEntities)
instance
Core.AWSRequest
GetServiceLastAccessedDetailsWithEntities
where
type
AWSResponse
GetServiceLastAccessedDetailsWithEntities =
GetServiceLastAccessedDetailsWithEntitiesResponse
request :: GetServiceLastAccessedDetailsWithEntities
-> Request GetServiceLastAccessedDetailsWithEntities
request = Service
-> GetServiceLastAccessedDetailsWithEntities
-> Request GetServiceLastAccessedDetailsWithEntities
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy GetServiceLastAccessedDetailsWithEntities
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse GetServiceLastAccessedDetailsWithEntities)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either
String (AWSResponse GetServiceLastAccessedDetailsWithEntities))
-> Logger
-> Service
-> Proxy GetServiceLastAccessedDetailsWithEntities
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse GetServiceLastAccessedDetailsWithEntities)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
-> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
Text
"GetServiceLastAccessedDetailsWithEntitiesResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe ErrorDetails
-> Maybe Text
-> Maybe Bool
-> Int
-> JobStatusType
-> ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse
GetServiceLastAccessedDetailsWithEntitiesResponse'
(Maybe ErrorDetails
-> Maybe Text
-> Maybe Bool
-> Int
-> JobStatusType
-> ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Either String (Maybe ErrorDetails)
-> Either
String
(Maybe Text
-> Maybe Bool
-> Int
-> JobStatusType
-> ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe ErrorDetails)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"Error")
Either
String
(Maybe Text
-> Maybe Bool
-> Int
-> JobStatusType
-> ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Bool
-> Int
-> JobStatusType
-> ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"Marker")
Either
String
(Maybe Bool
-> Int
-> JobStatusType
-> ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Either String (Maybe Bool)
-> Either
String
(Int
-> JobStatusType
-> ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"IsTruncated")
Either
String
(Int
-> JobStatusType
-> ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Either String Int
-> Either
String
(JobStatusType
-> ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
forall (f :: * -> *) a b. Applicative f => 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
(JobStatusType
-> ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Either String JobStatusType
-> Either
String
(ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String JobStatusType
forall a. FromXML a => [Node] -> Text -> Either String a
Core..@ Text
"JobStatus")
Either
String
(ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Either String ISO8601
-> Either
String
(ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String ISO8601
forall a. FromXML a => [Node] -> Text -> Either String a
Core..@ Text
"JobCreationDate")
Either
String
(ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Either String ISO8601
-> Either
String
([EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String ISO8601
forall a. FromXML a => [Node] -> Text -> Either String a
Core..@ Text
"JobCompletionDate")
Either
String
([EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Either String [EntityDetails]
-> Either String GetServiceLastAccessedDetailsWithEntitiesResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( [Node]
x [Node] -> Text -> Either String (Maybe [Node])
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"EntityDetailsList"
Either String (Maybe [Node]) -> [Node] -> Either String [Node]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [Node]
forall a. Monoid a => a
Prelude.mempty
Either String [Node]
-> ([Node] -> Either String [EntityDetails])
-> Either String [EntityDetails]
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= Text -> [Node] -> Either String [EntityDetails]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"member"
)
)
instance
Prelude.Hashable
GetServiceLastAccessedDetailsWithEntities
instance
Prelude.NFData
GetServiceLastAccessedDetailsWithEntities
instance
Core.ToHeaders
GetServiceLastAccessedDetailsWithEntities
where
toHeaders :: GetServiceLastAccessedDetailsWithEntities -> ResponseHeaders
toHeaders = ResponseHeaders
-> GetServiceLastAccessedDetailsWithEntities -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance
Core.ToPath
GetServiceLastAccessedDetailsWithEntities
where
toPath :: GetServiceLastAccessedDetailsWithEntities -> ByteString
toPath = ByteString
-> GetServiceLastAccessedDetailsWithEntities -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
GetServiceLastAccessedDetailsWithEntities
where
toQuery :: GetServiceLastAccessedDetailsWithEntities -> QueryString
toQuery
GetServiceLastAccessedDetailsWithEntities' {Maybe Natural
Maybe Text
Text
serviceNamespace :: Text
jobId :: Text
maxItems :: Maybe Natural
marker :: Maybe Text
$sel:serviceNamespace:GetServiceLastAccessedDetailsWithEntities' :: GetServiceLastAccessedDetailsWithEntities -> Text
$sel:jobId:GetServiceLastAccessedDetailsWithEntities' :: GetServiceLastAccessedDetailsWithEntities -> Text
$sel:maxItems:GetServiceLastAccessedDetailsWithEntities' :: GetServiceLastAccessedDetailsWithEntities -> Maybe Natural
$sel:marker:GetServiceLastAccessedDetailsWithEntities' :: GetServiceLastAccessedDetailsWithEntities -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: ( ByteString
"GetServiceLastAccessedDetailsWithEntities" ::
Prelude.ByteString
),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2010-05-08" :: Prelude.ByteString),
ByteString
"Marker" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
marker,
ByteString
"MaxItems" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxItems,
ByteString
"JobId" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
jobId,
ByteString
"ServiceNamespace" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
serviceNamespace
]
data GetServiceLastAccessedDetailsWithEntitiesResponse = GetServiceLastAccessedDetailsWithEntitiesResponse'
{
GetServiceLastAccessedDetailsWithEntitiesResponse
-> Maybe ErrorDetails
error :: Prelude.Maybe ErrorDetails,
GetServiceLastAccessedDetailsWithEntitiesResponse -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
GetServiceLastAccessedDetailsWithEntitiesResponse -> Maybe Bool
isTruncated :: Prelude.Maybe Prelude.Bool,
GetServiceLastAccessedDetailsWithEntitiesResponse -> Int
httpStatus :: Prelude.Int,
GetServiceLastAccessedDetailsWithEntitiesResponse -> JobStatusType
jobStatus :: JobStatusType,
GetServiceLastAccessedDetailsWithEntitiesResponse -> ISO8601
jobCreationDate :: Core.ISO8601,
GetServiceLastAccessedDetailsWithEntitiesResponse -> ISO8601
jobCompletionDate :: Core.ISO8601,
GetServiceLastAccessedDetailsWithEntitiesResponse
-> [EntityDetails]
entityDetailsList :: [EntityDetails]
}
deriving (GetServiceLastAccessedDetailsWithEntitiesResponse
-> GetServiceLastAccessedDetailsWithEntitiesResponse -> Bool
(GetServiceLastAccessedDetailsWithEntitiesResponse
-> GetServiceLastAccessedDetailsWithEntitiesResponse -> Bool)
-> (GetServiceLastAccessedDetailsWithEntitiesResponse
-> GetServiceLastAccessedDetailsWithEntitiesResponse -> Bool)
-> Eq GetServiceLastAccessedDetailsWithEntitiesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetServiceLastAccessedDetailsWithEntitiesResponse
-> GetServiceLastAccessedDetailsWithEntitiesResponse -> Bool
$c/= :: GetServiceLastAccessedDetailsWithEntitiesResponse
-> GetServiceLastAccessedDetailsWithEntitiesResponse -> Bool
== :: GetServiceLastAccessedDetailsWithEntitiesResponse
-> GetServiceLastAccessedDetailsWithEntitiesResponse -> Bool
$c== :: GetServiceLastAccessedDetailsWithEntitiesResponse
-> GetServiceLastAccessedDetailsWithEntitiesResponse -> Bool
Prelude.Eq, ReadPrec [GetServiceLastAccessedDetailsWithEntitiesResponse]
ReadPrec GetServiceLastAccessedDetailsWithEntitiesResponse
Int -> ReadS GetServiceLastAccessedDetailsWithEntitiesResponse
ReadS [GetServiceLastAccessedDetailsWithEntitiesResponse]
(Int -> ReadS GetServiceLastAccessedDetailsWithEntitiesResponse)
-> ReadS [GetServiceLastAccessedDetailsWithEntitiesResponse]
-> ReadPrec GetServiceLastAccessedDetailsWithEntitiesResponse
-> ReadPrec [GetServiceLastAccessedDetailsWithEntitiesResponse]
-> Read GetServiceLastAccessedDetailsWithEntitiesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetServiceLastAccessedDetailsWithEntitiesResponse]
$creadListPrec :: ReadPrec [GetServiceLastAccessedDetailsWithEntitiesResponse]
readPrec :: ReadPrec GetServiceLastAccessedDetailsWithEntitiesResponse
$creadPrec :: ReadPrec GetServiceLastAccessedDetailsWithEntitiesResponse
readList :: ReadS [GetServiceLastAccessedDetailsWithEntitiesResponse]
$creadList :: ReadS [GetServiceLastAccessedDetailsWithEntitiesResponse]
readsPrec :: Int -> ReadS GetServiceLastAccessedDetailsWithEntitiesResponse
$creadsPrec :: Int -> ReadS GetServiceLastAccessedDetailsWithEntitiesResponse
Prelude.Read, Int -> GetServiceLastAccessedDetailsWithEntitiesResponse -> ShowS
[GetServiceLastAccessedDetailsWithEntitiesResponse] -> ShowS
GetServiceLastAccessedDetailsWithEntitiesResponse -> String
(Int -> GetServiceLastAccessedDetailsWithEntitiesResponse -> ShowS)
-> (GetServiceLastAccessedDetailsWithEntitiesResponse -> String)
-> ([GetServiceLastAccessedDetailsWithEntitiesResponse] -> ShowS)
-> Show GetServiceLastAccessedDetailsWithEntitiesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetServiceLastAccessedDetailsWithEntitiesResponse] -> ShowS
$cshowList :: [GetServiceLastAccessedDetailsWithEntitiesResponse] -> ShowS
show :: GetServiceLastAccessedDetailsWithEntitiesResponse -> String
$cshow :: GetServiceLastAccessedDetailsWithEntitiesResponse -> String
showsPrec :: Int -> GetServiceLastAccessedDetailsWithEntitiesResponse -> ShowS
$cshowsPrec :: Int -> GetServiceLastAccessedDetailsWithEntitiesResponse -> ShowS
Prelude.Show, (forall x.
GetServiceLastAccessedDetailsWithEntitiesResponse
-> Rep GetServiceLastAccessedDetailsWithEntitiesResponse x)
-> (forall x.
Rep GetServiceLastAccessedDetailsWithEntitiesResponse x
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Generic GetServiceLastAccessedDetailsWithEntitiesResponse
forall x.
Rep GetServiceLastAccessedDetailsWithEntitiesResponse x
-> GetServiceLastAccessedDetailsWithEntitiesResponse
forall x.
GetServiceLastAccessedDetailsWithEntitiesResponse
-> Rep GetServiceLastAccessedDetailsWithEntitiesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetServiceLastAccessedDetailsWithEntitiesResponse x
-> GetServiceLastAccessedDetailsWithEntitiesResponse
$cfrom :: forall x.
GetServiceLastAccessedDetailsWithEntitiesResponse
-> Rep GetServiceLastAccessedDetailsWithEntitiesResponse x
Prelude.Generic)
newGetServiceLastAccessedDetailsWithEntitiesResponse ::
Prelude.Int ->
JobStatusType ->
Prelude.UTCTime ->
Prelude.UTCTime ->
GetServiceLastAccessedDetailsWithEntitiesResponse
newGetServiceLastAccessedDetailsWithEntitiesResponse :: Int
-> JobStatusType
-> UTCTime
-> UTCTime
-> GetServiceLastAccessedDetailsWithEntitiesResponse
newGetServiceLastAccessedDetailsWithEntitiesResponse
Int
pHttpStatus_
JobStatusType
pJobStatus_
UTCTime
pJobCreationDate_
UTCTime
pJobCompletionDate_ =
GetServiceLastAccessedDetailsWithEntitiesResponse' :: Maybe ErrorDetails
-> Maybe Text
-> Maybe Bool
-> Int
-> JobStatusType
-> ISO8601
-> ISO8601
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse
GetServiceLastAccessedDetailsWithEntitiesResponse'
{ $sel:error:GetServiceLastAccessedDetailsWithEntitiesResponse' :: Maybe ErrorDetails
error =
Maybe ErrorDetails
forall a. Maybe a
Prelude.Nothing,
$sel:marker:GetServiceLastAccessedDetailsWithEntitiesResponse' :: Maybe Text
marker = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:isTruncated:GetServiceLastAccessedDetailsWithEntitiesResponse' :: Maybe Bool
isTruncated =
Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetServiceLastAccessedDetailsWithEntitiesResponse' :: Int
httpStatus =
Int
pHttpStatus_,
$sel:jobStatus:GetServiceLastAccessedDetailsWithEntitiesResponse' :: JobStatusType
jobStatus = JobStatusType
pJobStatus_,
$sel:jobCreationDate:GetServiceLastAccessedDetailsWithEntitiesResponse' :: ISO8601
jobCreationDate =
Tagged UTCTime (Identity UTCTime)
-> Tagged ISO8601 (Identity ISO8601)
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
(Tagged UTCTime (Identity UTCTime)
-> Tagged ISO8601 (Identity ISO8601))
-> UTCTime -> ISO8601
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pJobCreationDate_,
$sel:jobCompletionDate:GetServiceLastAccessedDetailsWithEntitiesResponse' :: ISO8601
jobCompletionDate =
Tagged UTCTime (Identity UTCTime)
-> Tagged ISO8601 (Identity ISO8601)
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
(Tagged UTCTime (Identity UTCTime)
-> Tagged ISO8601 (Identity ISO8601))
-> UTCTime -> ISO8601
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pJobCompletionDate_,
$sel:entityDetailsList:GetServiceLastAccessedDetailsWithEntitiesResponse' :: [EntityDetails]
entityDetailsList =
[EntityDetails]
forall a. Monoid a => a
Prelude.mempty
}
getServiceLastAccessedDetailsWithEntitiesResponse_error :: Lens.Lens' GetServiceLastAccessedDetailsWithEntitiesResponse (Prelude.Maybe ErrorDetails)
getServiceLastAccessedDetailsWithEntitiesResponse_error :: (Maybe ErrorDetails -> f (Maybe ErrorDetails))
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse
getServiceLastAccessedDetailsWithEntitiesResponse_error = (GetServiceLastAccessedDetailsWithEntitiesResponse
-> Maybe ErrorDetails)
-> (GetServiceLastAccessedDetailsWithEntitiesResponse
-> Maybe ErrorDetails
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Lens
GetServiceLastAccessedDetailsWithEntitiesResponse
GetServiceLastAccessedDetailsWithEntitiesResponse
(Maybe ErrorDetails)
(Maybe ErrorDetails)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetServiceLastAccessedDetailsWithEntitiesResponse' {Maybe ErrorDetails
error :: Maybe ErrorDetails
$sel:error:GetServiceLastAccessedDetailsWithEntitiesResponse' :: GetServiceLastAccessedDetailsWithEntitiesResponse
-> Maybe ErrorDetails
error} -> Maybe ErrorDetails
error) (\s :: GetServiceLastAccessedDetailsWithEntitiesResponse
s@GetServiceLastAccessedDetailsWithEntitiesResponse' {} Maybe ErrorDetails
a -> GetServiceLastAccessedDetailsWithEntitiesResponse
s {$sel:error:GetServiceLastAccessedDetailsWithEntitiesResponse' :: Maybe ErrorDetails
error = Maybe ErrorDetails
a} :: GetServiceLastAccessedDetailsWithEntitiesResponse)
getServiceLastAccessedDetailsWithEntitiesResponse_marker :: Lens.Lens' GetServiceLastAccessedDetailsWithEntitiesResponse (Prelude.Maybe Prelude.Text)
getServiceLastAccessedDetailsWithEntitiesResponse_marker :: (Maybe Text -> f (Maybe Text))
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse
getServiceLastAccessedDetailsWithEntitiesResponse_marker = (GetServiceLastAccessedDetailsWithEntitiesResponse -> Maybe Text)
-> (GetServiceLastAccessedDetailsWithEntitiesResponse
-> Maybe Text -> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Lens
GetServiceLastAccessedDetailsWithEntitiesResponse
GetServiceLastAccessedDetailsWithEntitiesResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetServiceLastAccessedDetailsWithEntitiesResponse' {Maybe Text
marker :: Maybe Text
$sel:marker:GetServiceLastAccessedDetailsWithEntitiesResponse' :: GetServiceLastAccessedDetailsWithEntitiesResponse -> Maybe Text
marker} -> Maybe Text
marker) (\s :: GetServiceLastAccessedDetailsWithEntitiesResponse
s@GetServiceLastAccessedDetailsWithEntitiesResponse' {} Maybe Text
a -> GetServiceLastAccessedDetailsWithEntitiesResponse
s {$sel:marker:GetServiceLastAccessedDetailsWithEntitiesResponse' :: Maybe Text
marker = Maybe Text
a} :: GetServiceLastAccessedDetailsWithEntitiesResponse)
getServiceLastAccessedDetailsWithEntitiesResponse_isTruncated :: Lens.Lens' GetServiceLastAccessedDetailsWithEntitiesResponse (Prelude.Maybe Prelude.Bool)
getServiceLastAccessedDetailsWithEntitiesResponse_isTruncated :: (Maybe Bool -> f (Maybe Bool))
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse
getServiceLastAccessedDetailsWithEntitiesResponse_isTruncated = (GetServiceLastAccessedDetailsWithEntitiesResponse -> Maybe Bool)
-> (GetServiceLastAccessedDetailsWithEntitiesResponse
-> Maybe Bool -> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Lens
GetServiceLastAccessedDetailsWithEntitiesResponse
GetServiceLastAccessedDetailsWithEntitiesResponse
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetServiceLastAccessedDetailsWithEntitiesResponse' {Maybe Bool
isTruncated :: Maybe Bool
$sel:isTruncated:GetServiceLastAccessedDetailsWithEntitiesResponse' :: GetServiceLastAccessedDetailsWithEntitiesResponse -> Maybe Bool
isTruncated} -> Maybe Bool
isTruncated) (\s :: GetServiceLastAccessedDetailsWithEntitiesResponse
s@GetServiceLastAccessedDetailsWithEntitiesResponse' {} Maybe Bool
a -> GetServiceLastAccessedDetailsWithEntitiesResponse
s {$sel:isTruncated:GetServiceLastAccessedDetailsWithEntitiesResponse' :: Maybe Bool
isTruncated = Maybe Bool
a} :: GetServiceLastAccessedDetailsWithEntitiesResponse)
getServiceLastAccessedDetailsWithEntitiesResponse_httpStatus :: Lens.Lens' GetServiceLastAccessedDetailsWithEntitiesResponse Prelude.Int
getServiceLastAccessedDetailsWithEntitiesResponse_httpStatus :: (Int -> f Int)
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse
getServiceLastAccessedDetailsWithEntitiesResponse_httpStatus = (GetServiceLastAccessedDetailsWithEntitiesResponse -> Int)
-> (GetServiceLastAccessedDetailsWithEntitiesResponse
-> Int -> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Lens
GetServiceLastAccessedDetailsWithEntitiesResponse
GetServiceLastAccessedDetailsWithEntitiesResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetServiceLastAccessedDetailsWithEntitiesResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetServiceLastAccessedDetailsWithEntitiesResponse' :: GetServiceLastAccessedDetailsWithEntitiesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetServiceLastAccessedDetailsWithEntitiesResponse
s@GetServiceLastAccessedDetailsWithEntitiesResponse' {} Int
a -> GetServiceLastAccessedDetailsWithEntitiesResponse
s {$sel:httpStatus:GetServiceLastAccessedDetailsWithEntitiesResponse' :: Int
httpStatus = Int
a} :: GetServiceLastAccessedDetailsWithEntitiesResponse)
getServiceLastAccessedDetailsWithEntitiesResponse_jobStatus :: Lens.Lens' GetServiceLastAccessedDetailsWithEntitiesResponse JobStatusType
getServiceLastAccessedDetailsWithEntitiesResponse_jobStatus :: (JobStatusType -> f JobStatusType)
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse
getServiceLastAccessedDetailsWithEntitiesResponse_jobStatus = (GetServiceLastAccessedDetailsWithEntitiesResponse
-> JobStatusType)
-> (GetServiceLastAccessedDetailsWithEntitiesResponse
-> JobStatusType
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Lens
GetServiceLastAccessedDetailsWithEntitiesResponse
GetServiceLastAccessedDetailsWithEntitiesResponse
JobStatusType
JobStatusType
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetServiceLastAccessedDetailsWithEntitiesResponse' {JobStatusType
jobStatus :: JobStatusType
$sel:jobStatus:GetServiceLastAccessedDetailsWithEntitiesResponse' :: GetServiceLastAccessedDetailsWithEntitiesResponse -> JobStatusType
jobStatus} -> JobStatusType
jobStatus) (\s :: GetServiceLastAccessedDetailsWithEntitiesResponse
s@GetServiceLastAccessedDetailsWithEntitiesResponse' {} JobStatusType
a -> GetServiceLastAccessedDetailsWithEntitiesResponse
s {$sel:jobStatus:GetServiceLastAccessedDetailsWithEntitiesResponse' :: JobStatusType
jobStatus = JobStatusType
a} :: GetServiceLastAccessedDetailsWithEntitiesResponse)
getServiceLastAccessedDetailsWithEntitiesResponse_jobCreationDate :: Lens.Lens' GetServiceLastAccessedDetailsWithEntitiesResponse Prelude.UTCTime
getServiceLastAccessedDetailsWithEntitiesResponse_jobCreationDate :: (UTCTime -> f UTCTime)
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse
getServiceLastAccessedDetailsWithEntitiesResponse_jobCreationDate = (GetServiceLastAccessedDetailsWithEntitiesResponse -> ISO8601)
-> (GetServiceLastAccessedDetailsWithEntitiesResponse
-> ISO8601 -> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Lens
GetServiceLastAccessedDetailsWithEntitiesResponse
GetServiceLastAccessedDetailsWithEntitiesResponse
ISO8601
ISO8601
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetServiceLastAccessedDetailsWithEntitiesResponse' {ISO8601
jobCreationDate :: ISO8601
$sel:jobCreationDate:GetServiceLastAccessedDetailsWithEntitiesResponse' :: GetServiceLastAccessedDetailsWithEntitiesResponse -> ISO8601
jobCreationDate} -> ISO8601
jobCreationDate) (\s :: GetServiceLastAccessedDetailsWithEntitiesResponse
s@GetServiceLastAccessedDetailsWithEntitiesResponse' {} ISO8601
a -> GetServiceLastAccessedDetailsWithEntitiesResponse
s {$sel:jobCreationDate:GetServiceLastAccessedDetailsWithEntitiesResponse' :: ISO8601
jobCreationDate = ISO8601
a} :: GetServiceLastAccessedDetailsWithEntitiesResponse) ((ISO8601 -> f ISO8601)
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse)
-> ((UTCTime -> f UTCTime) -> ISO8601 -> f ISO8601)
-> (UTCTime -> f UTCTime)
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (UTCTime -> f UTCTime) -> ISO8601 -> f ISO8601
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
getServiceLastAccessedDetailsWithEntitiesResponse_jobCompletionDate :: Lens.Lens' GetServiceLastAccessedDetailsWithEntitiesResponse Prelude.UTCTime
getServiceLastAccessedDetailsWithEntitiesResponse_jobCompletionDate :: (UTCTime -> f UTCTime)
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse
getServiceLastAccessedDetailsWithEntitiesResponse_jobCompletionDate = (GetServiceLastAccessedDetailsWithEntitiesResponse -> ISO8601)
-> (GetServiceLastAccessedDetailsWithEntitiesResponse
-> ISO8601 -> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Lens
GetServiceLastAccessedDetailsWithEntitiesResponse
GetServiceLastAccessedDetailsWithEntitiesResponse
ISO8601
ISO8601
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetServiceLastAccessedDetailsWithEntitiesResponse' {ISO8601
jobCompletionDate :: ISO8601
$sel:jobCompletionDate:GetServiceLastAccessedDetailsWithEntitiesResponse' :: GetServiceLastAccessedDetailsWithEntitiesResponse -> ISO8601
jobCompletionDate} -> ISO8601
jobCompletionDate) (\s :: GetServiceLastAccessedDetailsWithEntitiesResponse
s@GetServiceLastAccessedDetailsWithEntitiesResponse' {} ISO8601
a -> GetServiceLastAccessedDetailsWithEntitiesResponse
s {$sel:jobCompletionDate:GetServiceLastAccessedDetailsWithEntitiesResponse' :: ISO8601
jobCompletionDate = ISO8601
a} :: GetServiceLastAccessedDetailsWithEntitiesResponse) ((ISO8601 -> f ISO8601)
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse)
-> ((UTCTime -> f UTCTime) -> ISO8601 -> f ISO8601)
-> (UTCTime -> f UTCTime)
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (UTCTime -> f UTCTime) -> ISO8601 -> f ISO8601
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
getServiceLastAccessedDetailsWithEntitiesResponse_entityDetailsList :: Lens.Lens' GetServiceLastAccessedDetailsWithEntitiesResponse [EntityDetails]
getServiceLastAccessedDetailsWithEntitiesResponse_entityDetailsList :: ([EntityDetails] -> f [EntityDetails])
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse
getServiceLastAccessedDetailsWithEntitiesResponse_entityDetailsList = (GetServiceLastAccessedDetailsWithEntitiesResponse
-> [EntityDetails])
-> (GetServiceLastAccessedDetailsWithEntitiesResponse
-> [EntityDetails]
-> GetServiceLastAccessedDetailsWithEntitiesResponse)
-> Lens
GetServiceLastAccessedDetailsWithEntitiesResponse
GetServiceLastAccessedDetailsWithEntitiesResponse
[EntityDetails]
[EntityDetails]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetServiceLastAccessedDetailsWithEntitiesResponse' {[EntityDetails]
entityDetailsList :: [EntityDetails]
$sel:entityDetailsList:GetServiceLastAccessedDetailsWithEntitiesResponse' :: GetServiceLastAccessedDetailsWithEntitiesResponse
-> [EntityDetails]
entityDetailsList} -> [EntityDetails]
entityDetailsList) (\s :: GetServiceLastAccessedDetailsWithEntitiesResponse
s@GetServiceLastAccessedDetailsWithEntitiesResponse' {} [EntityDetails]
a -> GetServiceLastAccessedDetailsWithEntitiesResponse
s {$sel:entityDetailsList:GetServiceLastAccessedDetailsWithEntitiesResponse' :: [EntityDetails]
entityDetailsList = [EntityDetails]
a} :: GetServiceLastAccessedDetailsWithEntitiesResponse) (([EntityDetails] -> f [EntityDetails])
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse)
-> (([EntityDetails] -> f [EntityDetails])
-> [EntityDetails] -> f [EntityDetails])
-> ([EntityDetails] -> f [EntityDetails])
-> GetServiceLastAccessedDetailsWithEntitiesResponse
-> f GetServiceLastAccessedDetailsWithEntitiesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([EntityDetails] -> f [EntityDetails])
-> [EntityDetails] -> f [EntityDetails]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance
Prelude.NFData
GetServiceLastAccessedDetailsWithEntitiesResponse