{-# 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.WorkMail.ListMailboxExportJobs
(
ListMailboxExportJobs (..),
newListMailboxExportJobs,
listMailboxExportJobs_nextToken,
listMailboxExportJobs_maxResults,
listMailboxExportJobs_organizationId,
ListMailboxExportJobsResponse (..),
newListMailboxExportJobsResponse,
listMailboxExportJobsResponse_nextToken,
listMailboxExportJobsResponse_jobs,
listMailboxExportJobsResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.WorkMail.Types
data ListMailboxExportJobs = ListMailboxExportJobs'
{
ListMailboxExportJobs -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListMailboxExportJobs -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListMailboxExportJobs -> Text
organizationId :: Prelude.Text
}
deriving (ListMailboxExportJobs -> ListMailboxExportJobs -> Bool
(ListMailboxExportJobs -> ListMailboxExportJobs -> Bool)
-> (ListMailboxExportJobs -> ListMailboxExportJobs -> Bool)
-> Eq ListMailboxExportJobs
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListMailboxExportJobs -> ListMailboxExportJobs -> Bool
$c/= :: ListMailboxExportJobs -> ListMailboxExportJobs -> Bool
== :: ListMailboxExportJobs -> ListMailboxExportJobs -> Bool
$c== :: ListMailboxExportJobs -> ListMailboxExportJobs -> Bool
Prelude.Eq, ReadPrec [ListMailboxExportJobs]
ReadPrec ListMailboxExportJobs
Int -> ReadS ListMailboxExportJobs
ReadS [ListMailboxExportJobs]
(Int -> ReadS ListMailboxExportJobs)
-> ReadS [ListMailboxExportJobs]
-> ReadPrec ListMailboxExportJobs
-> ReadPrec [ListMailboxExportJobs]
-> Read ListMailboxExportJobs
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListMailboxExportJobs]
$creadListPrec :: ReadPrec [ListMailboxExportJobs]
readPrec :: ReadPrec ListMailboxExportJobs
$creadPrec :: ReadPrec ListMailboxExportJobs
readList :: ReadS [ListMailboxExportJobs]
$creadList :: ReadS [ListMailboxExportJobs]
readsPrec :: Int -> ReadS ListMailboxExportJobs
$creadsPrec :: Int -> ReadS ListMailboxExportJobs
Prelude.Read, Int -> ListMailboxExportJobs -> ShowS
[ListMailboxExportJobs] -> ShowS
ListMailboxExportJobs -> String
(Int -> ListMailboxExportJobs -> ShowS)
-> (ListMailboxExportJobs -> String)
-> ([ListMailboxExportJobs] -> ShowS)
-> Show ListMailboxExportJobs
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListMailboxExportJobs] -> ShowS
$cshowList :: [ListMailboxExportJobs] -> ShowS
show :: ListMailboxExportJobs -> String
$cshow :: ListMailboxExportJobs -> String
showsPrec :: Int -> ListMailboxExportJobs -> ShowS
$cshowsPrec :: Int -> ListMailboxExportJobs -> ShowS
Prelude.Show, (forall x. ListMailboxExportJobs -> Rep ListMailboxExportJobs x)
-> (forall x. Rep ListMailboxExportJobs x -> ListMailboxExportJobs)
-> Generic ListMailboxExportJobs
forall x. Rep ListMailboxExportJobs x -> ListMailboxExportJobs
forall x. ListMailboxExportJobs -> Rep ListMailboxExportJobs x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListMailboxExportJobs x -> ListMailboxExportJobs
$cfrom :: forall x. ListMailboxExportJobs -> Rep ListMailboxExportJobs x
Prelude.Generic)
newListMailboxExportJobs ::
Prelude.Text ->
ListMailboxExportJobs
newListMailboxExportJobs :: Text -> ListMailboxExportJobs
newListMailboxExportJobs Text
pOrganizationId_ =
ListMailboxExportJobs' :: Maybe Text -> Maybe Natural -> Text -> ListMailboxExportJobs
ListMailboxExportJobs'
{ $sel:nextToken:ListMailboxExportJobs' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListMailboxExportJobs' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:organizationId:ListMailboxExportJobs' :: Text
organizationId = Text
pOrganizationId_
}
listMailboxExportJobs_nextToken :: Lens.Lens' ListMailboxExportJobs (Prelude.Maybe Prelude.Text)
listMailboxExportJobs_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListMailboxExportJobs -> f ListMailboxExportJobs
listMailboxExportJobs_nextToken = (ListMailboxExportJobs -> Maybe Text)
-> (ListMailboxExportJobs -> Maybe Text -> ListMailboxExportJobs)
-> Lens
ListMailboxExportJobs
ListMailboxExportJobs
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMailboxExportJobs' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListMailboxExportJobs' :: ListMailboxExportJobs -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListMailboxExportJobs
s@ListMailboxExportJobs' {} Maybe Text
a -> ListMailboxExportJobs
s {$sel:nextToken:ListMailboxExportJobs' :: Maybe Text
nextToken = Maybe Text
a} :: ListMailboxExportJobs)
listMailboxExportJobs_maxResults :: Lens.Lens' ListMailboxExportJobs (Prelude.Maybe Prelude.Natural)
listMailboxExportJobs_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListMailboxExportJobs -> f ListMailboxExportJobs
listMailboxExportJobs_maxResults = (ListMailboxExportJobs -> Maybe Natural)
-> (ListMailboxExportJobs
-> Maybe Natural -> ListMailboxExportJobs)
-> Lens
ListMailboxExportJobs
ListMailboxExportJobs
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMailboxExportJobs' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListMailboxExportJobs' :: ListMailboxExportJobs -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListMailboxExportJobs
s@ListMailboxExportJobs' {} Maybe Natural
a -> ListMailboxExportJobs
s {$sel:maxResults:ListMailboxExportJobs' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListMailboxExportJobs)
listMailboxExportJobs_organizationId :: Lens.Lens' ListMailboxExportJobs Prelude.Text
listMailboxExportJobs_organizationId :: (Text -> f Text)
-> ListMailboxExportJobs -> f ListMailboxExportJobs
listMailboxExportJobs_organizationId = (ListMailboxExportJobs -> Text)
-> (ListMailboxExportJobs -> Text -> ListMailboxExportJobs)
-> Lens ListMailboxExportJobs ListMailboxExportJobs Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMailboxExportJobs' {Text
organizationId :: Text
$sel:organizationId:ListMailboxExportJobs' :: ListMailboxExportJobs -> Text
organizationId} -> Text
organizationId) (\s :: ListMailboxExportJobs
s@ListMailboxExportJobs' {} Text
a -> ListMailboxExportJobs
s {$sel:organizationId:ListMailboxExportJobs' :: Text
organizationId = Text
a} :: ListMailboxExportJobs)
instance Core.AWSRequest ListMailboxExportJobs where
type
AWSResponse ListMailboxExportJobs =
ListMailboxExportJobsResponse
request :: ListMailboxExportJobs -> Request ListMailboxExportJobs
request = Service -> ListMailboxExportJobs -> Request ListMailboxExportJobs
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListMailboxExportJobs
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListMailboxExportJobs)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListMailboxExportJobs))
-> Logger
-> Service
-> Proxy ListMailboxExportJobs
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListMailboxExportJobs)))
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 ->
Maybe Text
-> Maybe [MailboxExportJob] -> Int -> ListMailboxExportJobsResponse
ListMailboxExportJobsResponse'
(Maybe Text
-> Maybe [MailboxExportJob]
-> Int
-> ListMailboxExportJobsResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [MailboxExportJob] -> Int -> ListMailboxExportJobsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"NextToken")
Either
String
(Maybe [MailboxExportJob] -> Int -> ListMailboxExportJobsResponse)
-> Either String (Maybe [MailboxExportJob])
-> Either String (Int -> ListMailboxExportJobsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [MailboxExportJob]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Jobs" Either String (Maybe (Maybe [MailboxExportJob]))
-> Maybe [MailboxExportJob]
-> Either String (Maybe [MailboxExportJob])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [MailboxExportJob]
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> ListMailboxExportJobsResponse)
-> Either String Int -> Either String ListMailboxExportJobsResponse
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))
)
instance Prelude.Hashable ListMailboxExportJobs
instance Prelude.NFData ListMailboxExportJobs
instance Core.ToHeaders ListMailboxExportJobs where
toHeaders :: ListMailboxExportJobs -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListMailboxExportJobs -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"WorkMailService.ListMailboxExportJobs" ::
Prelude.ByteString
),
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 ListMailboxExportJobs where
toJSON :: ListMailboxExportJobs -> Value
toJSON ListMailboxExportJobs' {Maybe Natural
Maybe Text
Text
organizationId :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:organizationId:ListMailboxExportJobs' :: ListMailboxExportJobs -> Text
$sel:maxResults:ListMailboxExportJobs' :: ListMailboxExportJobs -> Maybe Natural
$sel:nextToken:ListMailboxExportJobs' :: ListMailboxExportJobs -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"NextToken" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextToken,
(Text
"MaxResults" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
maxResults,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"OrganizationId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
organizationId)
]
)
instance Core.ToPath ListMailboxExportJobs where
toPath :: ListMailboxExportJobs -> ByteString
toPath = ByteString -> ListMailboxExportJobs -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListMailboxExportJobs where
toQuery :: ListMailboxExportJobs -> QueryString
toQuery = QueryString -> ListMailboxExportJobs -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListMailboxExportJobsResponse = ListMailboxExportJobsResponse'
{
ListMailboxExportJobsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListMailboxExportJobsResponse -> Maybe [MailboxExportJob]
jobs :: Prelude.Maybe [MailboxExportJob],
ListMailboxExportJobsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListMailboxExportJobsResponse
-> ListMailboxExportJobsResponse -> Bool
(ListMailboxExportJobsResponse
-> ListMailboxExportJobsResponse -> Bool)
-> (ListMailboxExportJobsResponse
-> ListMailboxExportJobsResponse -> Bool)
-> Eq ListMailboxExportJobsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListMailboxExportJobsResponse
-> ListMailboxExportJobsResponse -> Bool
$c/= :: ListMailboxExportJobsResponse
-> ListMailboxExportJobsResponse -> Bool
== :: ListMailboxExportJobsResponse
-> ListMailboxExportJobsResponse -> Bool
$c== :: ListMailboxExportJobsResponse
-> ListMailboxExportJobsResponse -> Bool
Prelude.Eq, ReadPrec [ListMailboxExportJobsResponse]
ReadPrec ListMailboxExportJobsResponse
Int -> ReadS ListMailboxExportJobsResponse
ReadS [ListMailboxExportJobsResponse]
(Int -> ReadS ListMailboxExportJobsResponse)
-> ReadS [ListMailboxExportJobsResponse]
-> ReadPrec ListMailboxExportJobsResponse
-> ReadPrec [ListMailboxExportJobsResponse]
-> Read ListMailboxExportJobsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListMailboxExportJobsResponse]
$creadListPrec :: ReadPrec [ListMailboxExportJobsResponse]
readPrec :: ReadPrec ListMailboxExportJobsResponse
$creadPrec :: ReadPrec ListMailboxExportJobsResponse
readList :: ReadS [ListMailboxExportJobsResponse]
$creadList :: ReadS [ListMailboxExportJobsResponse]
readsPrec :: Int -> ReadS ListMailboxExportJobsResponse
$creadsPrec :: Int -> ReadS ListMailboxExportJobsResponse
Prelude.Read, Int -> ListMailboxExportJobsResponse -> ShowS
[ListMailboxExportJobsResponse] -> ShowS
ListMailboxExportJobsResponse -> String
(Int -> ListMailboxExportJobsResponse -> ShowS)
-> (ListMailboxExportJobsResponse -> String)
-> ([ListMailboxExportJobsResponse] -> ShowS)
-> Show ListMailboxExportJobsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListMailboxExportJobsResponse] -> ShowS
$cshowList :: [ListMailboxExportJobsResponse] -> ShowS
show :: ListMailboxExportJobsResponse -> String
$cshow :: ListMailboxExportJobsResponse -> String
showsPrec :: Int -> ListMailboxExportJobsResponse -> ShowS
$cshowsPrec :: Int -> ListMailboxExportJobsResponse -> ShowS
Prelude.Show, (forall x.
ListMailboxExportJobsResponse
-> Rep ListMailboxExportJobsResponse x)
-> (forall x.
Rep ListMailboxExportJobsResponse x
-> ListMailboxExportJobsResponse)
-> Generic ListMailboxExportJobsResponse
forall x.
Rep ListMailboxExportJobsResponse x
-> ListMailboxExportJobsResponse
forall x.
ListMailboxExportJobsResponse
-> Rep ListMailboxExportJobsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListMailboxExportJobsResponse x
-> ListMailboxExportJobsResponse
$cfrom :: forall x.
ListMailboxExportJobsResponse
-> Rep ListMailboxExportJobsResponse x
Prelude.Generic)
newListMailboxExportJobsResponse ::
Prelude.Int ->
ListMailboxExportJobsResponse
newListMailboxExportJobsResponse :: Int -> ListMailboxExportJobsResponse
newListMailboxExportJobsResponse Int
pHttpStatus_ =
ListMailboxExportJobsResponse' :: Maybe Text
-> Maybe [MailboxExportJob] -> Int -> ListMailboxExportJobsResponse
ListMailboxExportJobsResponse'
{ $sel:nextToken:ListMailboxExportJobsResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:jobs:ListMailboxExportJobsResponse' :: Maybe [MailboxExportJob]
jobs = Maybe [MailboxExportJob]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListMailboxExportJobsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listMailboxExportJobsResponse_nextToken :: Lens.Lens' ListMailboxExportJobsResponse (Prelude.Maybe Prelude.Text)
listMailboxExportJobsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListMailboxExportJobsResponse -> f ListMailboxExportJobsResponse
listMailboxExportJobsResponse_nextToken = (ListMailboxExportJobsResponse -> Maybe Text)
-> (ListMailboxExportJobsResponse
-> Maybe Text -> ListMailboxExportJobsResponse)
-> Lens
ListMailboxExportJobsResponse
ListMailboxExportJobsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMailboxExportJobsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListMailboxExportJobsResponse' :: ListMailboxExportJobsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListMailboxExportJobsResponse
s@ListMailboxExportJobsResponse' {} Maybe Text
a -> ListMailboxExportJobsResponse
s {$sel:nextToken:ListMailboxExportJobsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListMailboxExportJobsResponse)
listMailboxExportJobsResponse_jobs :: Lens.Lens' ListMailboxExportJobsResponse (Prelude.Maybe [MailboxExportJob])
listMailboxExportJobsResponse_jobs :: (Maybe [MailboxExportJob] -> f (Maybe [MailboxExportJob]))
-> ListMailboxExportJobsResponse -> f ListMailboxExportJobsResponse
listMailboxExportJobsResponse_jobs = (ListMailboxExportJobsResponse -> Maybe [MailboxExportJob])
-> (ListMailboxExportJobsResponse
-> Maybe [MailboxExportJob] -> ListMailboxExportJobsResponse)
-> Lens
ListMailboxExportJobsResponse
ListMailboxExportJobsResponse
(Maybe [MailboxExportJob])
(Maybe [MailboxExportJob])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMailboxExportJobsResponse' {Maybe [MailboxExportJob]
jobs :: Maybe [MailboxExportJob]
$sel:jobs:ListMailboxExportJobsResponse' :: ListMailboxExportJobsResponse -> Maybe [MailboxExportJob]
jobs} -> Maybe [MailboxExportJob]
jobs) (\s :: ListMailboxExportJobsResponse
s@ListMailboxExportJobsResponse' {} Maybe [MailboxExportJob]
a -> ListMailboxExportJobsResponse
s {$sel:jobs:ListMailboxExportJobsResponse' :: Maybe [MailboxExportJob]
jobs = Maybe [MailboxExportJob]
a} :: ListMailboxExportJobsResponse) ((Maybe [MailboxExportJob] -> f (Maybe [MailboxExportJob]))
-> ListMailboxExportJobsResponse
-> f ListMailboxExportJobsResponse)
-> ((Maybe [MailboxExportJob] -> f (Maybe [MailboxExportJob]))
-> Maybe [MailboxExportJob] -> f (Maybe [MailboxExportJob]))
-> (Maybe [MailboxExportJob] -> f (Maybe [MailboxExportJob]))
-> ListMailboxExportJobsResponse
-> f ListMailboxExportJobsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[MailboxExportJob]
[MailboxExportJob]
[MailboxExportJob]
[MailboxExportJob]
-> Iso
(Maybe [MailboxExportJob])
(Maybe [MailboxExportJob])
(Maybe [MailboxExportJob])
(Maybe [MailboxExportJob])
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
[MailboxExportJob]
[MailboxExportJob]
[MailboxExportJob]
[MailboxExportJob]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listMailboxExportJobsResponse_httpStatus :: Lens.Lens' ListMailboxExportJobsResponse Prelude.Int
listMailboxExportJobsResponse_httpStatus :: (Int -> f Int)
-> ListMailboxExportJobsResponse -> f ListMailboxExportJobsResponse
listMailboxExportJobsResponse_httpStatus = (ListMailboxExportJobsResponse -> Int)
-> (ListMailboxExportJobsResponse
-> Int -> ListMailboxExportJobsResponse)
-> Lens
ListMailboxExportJobsResponse ListMailboxExportJobsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMailboxExportJobsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListMailboxExportJobsResponse' :: ListMailboxExportJobsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListMailboxExportJobsResponse
s@ListMailboxExportJobsResponse' {} Int
a -> ListMailboxExportJobsResponse
s {$sel:httpStatus:ListMailboxExportJobsResponse' :: Int
httpStatus = Int
a} :: ListMailboxExportJobsResponse)
instance Prelude.NFData ListMailboxExportJobsResponse