{-# 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.CloudWatchEvents.ListArchives
(
ListArchives (..),
newListArchives,
listArchives_eventSourceArn,
listArchives_state,
listArchives_nextToken,
listArchives_namePrefix,
listArchives_limit,
ListArchivesResponse (..),
newListArchivesResponse,
listArchivesResponse_archives,
listArchivesResponse_nextToken,
listArchivesResponse_httpStatus,
)
where
import Amazonka.CloudWatchEvents.Types
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
data ListArchives = ListArchives'
{
ListArchives -> Maybe Text
eventSourceArn :: Prelude.Maybe Prelude.Text,
ListArchives -> Maybe ArchiveState
state :: Prelude.Maybe ArchiveState,
ListArchives -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListArchives -> Maybe Text
namePrefix :: Prelude.Maybe Prelude.Text,
ListArchives -> Maybe Natural
limit :: Prelude.Maybe Prelude.Natural
}
deriving (ListArchives -> ListArchives -> Bool
(ListArchives -> ListArchives -> Bool)
-> (ListArchives -> ListArchives -> Bool) -> Eq ListArchives
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListArchives -> ListArchives -> Bool
$c/= :: ListArchives -> ListArchives -> Bool
== :: ListArchives -> ListArchives -> Bool
$c== :: ListArchives -> ListArchives -> Bool
Prelude.Eq, ReadPrec [ListArchives]
ReadPrec ListArchives
Int -> ReadS ListArchives
ReadS [ListArchives]
(Int -> ReadS ListArchives)
-> ReadS [ListArchives]
-> ReadPrec ListArchives
-> ReadPrec [ListArchives]
-> Read ListArchives
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListArchives]
$creadListPrec :: ReadPrec [ListArchives]
readPrec :: ReadPrec ListArchives
$creadPrec :: ReadPrec ListArchives
readList :: ReadS [ListArchives]
$creadList :: ReadS [ListArchives]
readsPrec :: Int -> ReadS ListArchives
$creadsPrec :: Int -> ReadS ListArchives
Prelude.Read, Int -> ListArchives -> ShowS
[ListArchives] -> ShowS
ListArchives -> String
(Int -> ListArchives -> ShowS)
-> (ListArchives -> String)
-> ([ListArchives] -> ShowS)
-> Show ListArchives
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListArchives] -> ShowS
$cshowList :: [ListArchives] -> ShowS
show :: ListArchives -> String
$cshow :: ListArchives -> String
showsPrec :: Int -> ListArchives -> ShowS
$cshowsPrec :: Int -> ListArchives -> ShowS
Prelude.Show, (forall x. ListArchives -> Rep ListArchives x)
-> (forall x. Rep ListArchives x -> ListArchives)
-> Generic ListArchives
forall x. Rep ListArchives x -> ListArchives
forall x. ListArchives -> Rep ListArchives x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListArchives x -> ListArchives
$cfrom :: forall x. ListArchives -> Rep ListArchives x
Prelude.Generic)
newListArchives ::
ListArchives
newListArchives :: ListArchives
newListArchives =
ListArchives' :: Maybe Text
-> Maybe ArchiveState
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> ListArchives
ListArchives'
{ $sel:eventSourceArn:ListArchives' :: Maybe Text
eventSourceArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:state:ListArchives' :: Maybe ArchiveState
state = Maybe ArchiveState
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListArchives' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:namePrefix:ListArchives' :: Maybe Text
namePrefix = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:limit:ListArchives' :: Maybe Natural
limit = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listArchives_eventSourceArn :: Lens.Lens' ListArchives (Prelude.Maybe Prelude.Text)
listArchives_eventSourceArn :: (Maybe Text -> f (Maybe Text)) -> ListArchives -> f ListArchives
listArchives_eventSourceArn = (ListArchives -> Maybe Text)
-> (ListArchives -> Maybe Text -> ListArchives)
-> Lens ListArchives ListArchives (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListArchives' {Maybe Text
eventSourceArn :: Maybe Text
$sel:eventSourceArn:ListArchives' :: ListArchives -> Maybe Text
eventSourceArn} -> Maybe Text
eventSourceArn) (\s :: ListArchives
s@ListArchives' {} Maybe Text
a -> ListArchives
s {$sel:eventSourceArn:ListArchives' :: Maybe Text
eventSourceArn = Maybe Text
a} :: ListArchives)
listArchives_state :: Lens.Lens' ListArchives (Prelude.Maybe ArchiveState)
listArchives_state :: (Maybe ArchiveState -> f (Maybe ArchiveState))
-> ListArchives -> f ListArchives
listArchives_state = (ListArchives -> Maybe ArchiveState)
-> (ListArchives -> Maybe ArchiveState -> ListArchives)
-> Lens
ListArchives ListArchives (Maybe ArchiveState) (Maybe ArchiveState)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListArchives' {Maybe ArchiveState
state :: Maybe ArchiveState
$sel:state:ListArchives' :: ListArchives -> Maybe ArchiveState
state} -> Maybe ArchiveState
state) (\s :: ListArchives
s@ListArchives' {} Maybe ArchiveState
a -> ListArchives
s {$sel:state:ListArchives' :: Maybe ArchiveState
state = Maybe ArchiveState
a} :: ListArchives)
listArchives_nextToken :: Lens.Lens' ListArchives (Prelude.Maybe Prelude.Text)
listArchives_nextToken :: (Maybe Text -> f (Maybe Text)) -> ListArchives -> f ListArchives
listArchives_nextToken = (ListArchives -> Maybe Text)
-> (ListArchives -> Maybe Text -> ListArchives)
-> Lens ListArchives ListArchives (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListArchives' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListArchives' :: ListArchives -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListArchives
s@ListArchives' {} Maybe Text
a -> ListArchives
s {$sel:nextToken:ListArchives' :: Maybe Text
nextToken = Maybe Text
a} :: ListArchives)
listArchives_namePrefix :: Lens.Lens' ListArchives (Prelude.Maybe Prelude.Text)
listArchives_namePrefix :: (Maybe Text -> f (Maybe Text)) -> ListArchives -> f ListArchives
listArchives_namePrefix = (ListArchives -> Maybe Text)
-> (ListArchives -> Maybe Text -> ListArchives)
-> Lens ListArchives ListArchives (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListArchives' {Maybe Text
namePrefix :: Maybe Text
$sel:namePrefix:ListArchives' :: ListArchives -> Maybe Text
namePrefix} -> Maybe Text
namePrefix) (\s :: ListArchives
s@ListArchives' {} Maybe Text
a -> ListArchives
s {$sel:namePrefix:ListArchives' :: Maybe Text
namePrefix = Maybe Text
a} :: ListArchives)
listArchives_limit :: Lens.Lens' ListArchives (Prelude.Maybe Prelude.Natural)
listArchives_limit :: (Maybe Natural -> f (Maybe Natural))
-> ListArchives -> f ListArchives
listArchives_limit = (ListArchives -> Maybe Natural)
-> (ListArchives -> Maybe Natural -> ListArchives)
-> Lens ListArchives ListArchives (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListArchives' {Maybe Natural
limit :: Maybe Natural
$sel:limit:ListArchives' :: ListArchives -> Maybe Natural
limit} -> Maybe Natural
limit) (\s :: ListArchives
s@ListArchives' {} Maybe Natural
a -> ListArchives
s {$sel:limit:ListArchives' :: Maybe Natural
limit = Maybe Natural
a} :: ListArchives)
instance Core.AWSRequest ListArchives where
type AWSResponse ListArchives = ListArchivesResponse
request :: ListArchives -> Request ListArchives
request = Service -> ListArchives -> Request ListArchives
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListArchives
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListArchives)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListArchives))
-> Logger
-> Service
-> Proxy ListArchives
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListArchives)))
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 [Archive] -> Maybe Text -> Int -> ListArchivesResponse
ListArchivesResponse'
(Maybe [Archive] -> Maybe Text -> Int -> ListArchivesResponse)
-> Either String (Maybe [Archive])
-> Either String (Maybe Text -> Int -> ListArchivesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [Archive]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Archives" Either String (Maybe (Maybe [Archive]))
-> Maybe [Archive] -> Either String (Maybe [Archive])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Archive]
forall a. Monoid a => a
Prelude.mempty)
Either String (Maybe Text -> Int -> ListArchivesResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListArchivesResponse)
forall (f :: * -> *) a b. Applicative f => 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 (Int -> ListArchivesResponse)
-> Either String Int -> Either String ListArchivesResponse
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 ListArchives
instance Prelude.NFData ListArchives
instance Core.ToHeaders ListArchives where
toHeaders :: ListArchives -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListArchives -> 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
"AWSEvents.ListArchives" :: 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 ListArchives where
toJSON :: ListArchives -> Value
toJSON ListArchives' {Maybe Natural
Maybe Text
Maybe ArchiveState
limit :: Maybe Natural
namePrefix :: Maybe Text
nextToken :: Maybe Text
state :: Maybe ArchiveState
eventSourceArn :: Maybe Text
$sel:limit:ListArchives' :: ListArchives -> Maybe Natural
$sel:namePrefix:ListArchives' :: ListArchives -> Maybe Text
$sel:nextToken:ListArchives' :: ListArchives -> Maybe Text
$sel:state:ListArchives' :: ListArchives -> Maybe ArchiveState
$sel:eventSourceArn:ListArchives' :: ListArchives -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"EventSourceArn" 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
eventSourceArn,
(Text
"State" Text -> ArchiveState -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (ArchiveState -> Pair) -> Maybe ArchiveState -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ArchiveState
state,
(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
"NamePrefix" 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
namePrefix,
(Text
"Limit" 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
limit
]
)
instance Core.ToPath ListArchives where
toPath :: ListArchives -> ByteString
toPath = ByteString -> ListArchives -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListArchives where
toQuery :: ListArchives -> QueryString
toQuery = QueryString -> ListArchives -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListArchivesResponse = ListArchivesResponse'
{
ListArchivesResponse -> Maybe [Archive]
archives :: Prelude.Maybe [Archive],
ListArchivesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListArchivesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListArchivesResponse -> ListArchivesResponse -> Bool
(ListArchivesResponse -> ListArchivesResponse -> Bool)
-> (ListArchivesResponse -> ListArchivesResponse -> Bool)
-> Eq ListArchivesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListArchivesResponse -> ListArchivesResponse -> Bool
$c/= :: ListArchivesResponse -> ListArchivesResponse -> Bool
== :: ListArchivesResponse -> ListArchivesResponse -> Bool
$c== :: ListArchivesResponse -> ListArchivesResponse -> Bool
Prelude.Eq, ReadPrec [ListArchivesResponse]
ReadPrec ListArchivesResponse
Int -> ReadS ListArchivesResponse
ReadS [ListArchivesResponse]
(Int -> ReadS ListArchivesResponse)
-> ReadS [ListArchivesResponse]
-> ReadPrec ListArchivesResponse
-> ReadPrec [ListArchivesResponse]
-> Read ListArchivesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListArchivesResponse]
$creadListPrec :: ReadPrec [ListArchivesResponse]
readPrec :: ReadPrec ListArchivesResponse
$creadPrec :: ReadPrec ListArchivesResponse
readList :: ReadS [ListArchivesResponse]
$creadList :: ReadS [ListArchivesResponse]
readsPrec :: Int -> ReadS ListArchivesResponse
$creadsPrec :: Int -> ReadS ListArchivesResponse
Prelude.Read, Int -> ListArchivesResponse -> ShowS
[ListArchivesResponse] -> ShowS
ListArchivesResponse -> String
(Int -> ListArchivesResponse -> ShowS)
-> (ListArchivesResponse -> String)
-> ([ListArchivesResponse] -> ShowS)
-> Show ListArchivesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListArchivesResponse] -> ShowS
$cshowList :: [ListArchivesResponse] -> ShowS
show :: ListArchivesResponse -> String
$cshow :: ListArchivesResponse -> String
showsPrec :: Int -> ListArchivesResponse -> ShowS
$cshowsPrec :: Int -> ListArchivesResponse -> ShowS
Prelude.Show, (forall x. ListArchivesResponse -> Rep ListArchivesResponse x)
-> (forall x. Rep ListArchivesResponse x -> ListArchivesResponse)
-> Generic ListArchivesResponse
forall x. Rep ListArchivesResponse x -> ListArchivesResponse
forall x. ListArchivesResponse -> Rep ListArchivesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListArchivesResponse x -> ListArchivesResponse
$cfrom :: forall x. ListArchivesResponse -> Rep ListArchivesResponse x
Prelude.Generic)
newListArchivesResponse ::
Prelude.Int ->
ListArchivesResponse
newListArchivesResponse :: Int -> ListArchivesResponse
newListArchivesResponse Int
pHttpStatus_ =
ListArchivesResponse' :: Maybe [Archive] -> Maybe Text -> Int -> ListArchivesResponse
ListArchivesResponse'
{ $sel:archives:ListArchivesResponse' :: Maybe [Archive]
archives = Maybe [Archive]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListArchivesResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListArchivesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listArchivesResponse_archives :: Lens.Lens' ListArchivesResponse (Prelude.Maybe [Archive])
listArchivesResponse_archives :: (Maybe [Archive] -> f (Maybe [Archive]))
-> ListArchivesResponse -> f ListArchivesResponse
listArchivesResponse_archives = (ListArchivesResponse -> Maybe [Archive])
-> (ListArchivesResponse
-> Maybe [Archive] -> ListArchivesResponse)
-> Lens
ListArchivesResponse
ListArchivesResponse
(Maybe [Archive])
(Maybe [Archive])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListArchivesResponse' {Maybe [Archive]
archives :: Maybe [Archive]
$sel:archives:ListArchivesResponse' :: ListArchivesResponse -> Maybe [Archive]
archives} -> Maybe [Archive]
archives) (\s :: ListArchivesResponse
s@ListArchivesResponse' {} Maybe [Archive]
a -> ListArchivesResponse
s {$sel:archives:ListArchivesResponse' :: Maybe [Archive]
archives = Maybe [Archive]
a} :: ListArchivesResponse) ((Maybe [Archive] -> f (Maybe [Archive]))
-> ListArchivesResponse -> f ListArchivesResponse)
-> ((Maybe [Archive] -> f (Maybe [Archive]))
-> Maybe [Archive] -> f (Maybe [Archive]))
-> (Maybe [Archive] -> f (Maybe [Archive]))
-> ListArchivesResponse
-> f ListArchivesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Archive] [Archive] [Archive] [Archive]
-> Iso
(Maybe [Archive])
(Maybe [Archive])
(Maybe [Archive])
(Maybe [Archive])
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 [Archive] [Archive] [Archive] [Archive]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listArchivesResponse_nextToken :: Lens.Lens' ListArchivesResponse (Prelude.Maybe Prelude.Text)
listArchivesResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListArchivesResponse -> f ListArchivesResponse
listArchivesResponse_nextToken = (ListArchivesResponse -> Maybe Text)
-> (ListArchivesResponse -> Maybe Text -> ListArchivesResponse)
-> Lens
ListArchivesResponse ListArchivesResponse (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListArchivesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListArchivesResponse' :: ListArchivesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListArchivesResponse
s@ListArchivesResponse' {} Maybe Text
a -> ListArchivesResponse
s {$sel:nextToken:ListArchivesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListArchivesResponse)
listArchivesResponse_httpStatus :: Lens.Lens' ListArchivesResponse Prelude.Int
listArchivesResponse_httpStatus :: (Int -> f Int) -> ListArchivesResponse -> f ListArchivesResponse
listArchivesResponse_httpStatus = (ListArchivesResponse -> Int)
-> (ListArchivesResponse -> Int -> ListArchivesResponse)
-> Lens ListArchivesResponse ListArchivesResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListArchivesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListArchivesResponse' :: ListArchivesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListArchivesResponse
s@ListArchivesResponse' {} Int
a -> ListArchivesResponse
s {$sel:httpStatus:ListArchivesResponse' :: Int
httpStatus = Int
a} :: ListArchivesResponse)
instance Prelude.NFData ListArchivesResponse