{-# 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.DataSync.ListAgents
(
ListAgents (..),
newListAgents,
listAgents_nextToken,
listAgents_maxResults,
ListAgentsResponse (..),
newListAgentsResponse,
listAgentsResponse_agents,
listAgentsResponse_nextToken,
listAgentsResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.DataSync.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 ListAgents = ListAgents'
{
ListAgents -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListAgents -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListAgents -> ListAgents -> Bool
(ListAgents -> ListAgents -> Bool)
-> (ListAgents -> ListAgents -> Bool) -> Eq ListAgents
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListAgents -> ListAgents -> Bool
$c/= :: ListAgents -> ListAgents -> Bool
== :: ListAgents -> ListAgents -> Bool
$c== :: ListAgents -> ListAgents -> Bool
Prelude.Eq, ReadPrec [ListAgents]
ReadPrec ListAgents
Int -> ReadS ListAgents
ReadS [ListAgents]
(Int -> ReadS ListAgents)
-> ReadS [ListAgents]
-> ReadPrec ListAgents
-> ReadPrec [ListAgents]
-> Read ListAgents
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListAgents]
$creadListPrec :: ReadPrec [ListAgents]
readPrec :: ReadPrec ListAgents
$creadPrec :: ReadPrec ListAgents
readList :: ReadS [ListAgents]
$creadList :: ReadS [ListAgents]
readsPrec :: Int -> ReadS ListAgents
$creadsPrec :: Int -> ReadS ListAgents
Prelude.Read, Int -> ListAgents -> ShowS
[ListAgents] -> ShowS
ListAgents -> String
(Int -> ListAgents -> ShowS)
-> (ListAgents -> String)
-> ([ListAgents] -> ShowS)
-> Show ListAgents
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListAgents] -> ShowS
$cshowList :: [ListAgents] -> ShowS
show :: ListAgents -> String
$cshow :: ListAgents -> String
showsPrec :: Int -> ListAgents -> ShowS
$cshowsPrec :: Int -> ListAgents -> ShowS
Prelude.Show, (forall x. ListAgents -> Rep ListAgents x)
-> (forall x. Rep ListAgents x -> ListAgents) -> Generic ListAgents
forall x. Rep ListAgents x -> ListAgents
forall x. ListAgents -> Rep ListAgents x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListAgents x -> ListAgents
$cfrom :: forall x. ListAgents -> Rep ListAgents x
Prelude.Generic)
newListAgents ::
ListAgents
newListAgents :: ListAgents
newListAgents =
ListAgents' :: Maybe Text -> Maybe Natural -> ListAgents
ListAgents'
{ $sel:nextToken:ListAgents' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListAgents' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listAgents_nextToken :: Lens.Lens' ListAgents (Prelude.Maybe Prelude.Text)
listAgents_nextToken :: (Maybe Text -> f (Maybe Text)) -> ListAgents -> f ListAgents
listAgents_nextToken = (ListAgents -> Maybe Text)
-> (ListAgents -> Maybe Text -> ListAgents)
-> Lens ListAgents ListAgents (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAgents' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListAgents' :: ListAgents -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListAgents
s@ListAgents' {} Maybe Text
a -> ListAgents
s {$sel:nextToken:ListAgents' :: Maybe Text
nextToken = Maybe Text
a} :: ListAgents)
listAgents_maxResults :: Lens.Lens' ListAgents (Prelude.Maybe Prelude.Natural)
listAgents_maxResults :: (Maybe Natural -> f (Maybe Natural)) -> ListAgents -> f ListAgents
listAgents_maxResults = (ListAgents -> Maybe Natural)
-> (ListAgents -> Maybe Natural -> ListAgents)
-> Lens ListAgents ListAgents (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAgents' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListAgents' :: ListAgents -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListAgents
s@ListAgents' {} Maybe Natural
a -> ListAgents
s {$sel:maxResults:ListAgents' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListAgents)
instance Core.AWSPager ListAgents where
page :: ListAgents -> AWSResponse ListAgents -> Maybe ListAgents
page ListAgents
rq AWSResponse ListAgents
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListAgents
ListAgentsResponse
rs
ListAgentsResponse
-> Getting (First Text) ListAgentsResponse Text -> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListAgentsResponse -> Const (First Text) ListAgentsResponse
Lens' ListAgentsResponse (Maybe Text)
listAgentsResponse_nextToken ((Maybe Text -> Const (First Text) (Maybe Text))
-> ListAgentsResponse -> Const (First Text) ListAgentsResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) ListAgentsResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe ListAgents
forall a. Maybe a
Prelude.Nothing
| Maybe [AgentListEntry] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListAgents
ListAgentsResponse
rs
ListAgentsResponse
-> Getting
(First [AgentListEntry]) ListAgentsResponse [AgentListEntry]
-> Maybe [AgentListEntry]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [AgentListEntry]
-> Const (First [AgentListEntry]) (Maybe [AgentListEntry]))
-> ListAgentsResponse
-> Const (First [AgentListEntry]) ListAgentsResponse
Lens' ListAgentsResponse (Maybe [AgentListEntry])
listAgentsResponse_agents ((Maybe [AgentListEntry]
-> Const (First [AgentListEntry]) (Maybe [AgentListEntry]))
-> ListAgentsResponse
-> Const (First [AgentListEntry]) ListAgentsResponse)
-> (([AgentListEntry]
-> Const (First [AgentListEntry]) [AgentListEntry])
-> Maybe [AgentListEntry]
-> Const (First [AgentListEntry]) (Maybe [AgentListEntry]))
-> Getting
(First [AgentListEntry]) ListAgentsResponse [AgentListEntry]
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([AgentListEntry]
-> Const (First [AgentListEntry]) [AgentListEntry])
-> Maybe [AgentListEntry]
-> Const (First [AgentListEntry]) (Maybe [AgentListEntry])
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe ListAgents
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
ListAgents -> Maybe ListAgents
forall a. a -> Maybe a
Prelude.Just (ListAgents -> Maybe ListAgents) -> ListAgents -> Maybe ListAgents
forall a b. (a -> b) -> a -> b
Prelude.$
ListAgents
rq
ListAgents -> (ListAgents -> ListAgents) -> ListAgents
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> ListAgents -> Identity ListAgents
Lens ListAgents ListAgents (Maybe Text) (Maybe Text)
listAgents_nextToken
((Maybe Text -> Identity (Maybe Text))
-> ListAgents -> Identity ListAgents)
-> Maybe Text -> ListAgents -> ListAgents
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListAgents
ListAgentsResponse
rs
ListAgentsResponse
-> Getting (First Text) ListAgentsResponse Text -> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListAgentsResponse -> Const (First Text) ListAgentsResponse
Lens' ListAgentsResponse (Maybe Text)
listAgentsResponse_nextToken ((Maybe Text -> Const (First Text) (Maybe Text))
-> ListAgentsResponse -> Const (First Text) ListAgentsResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) ListAgentsResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest ListAgents where
type AWSResponse ListAgents = ListAgentsResponse
request :: ListAgents -> Request ListAgents
request = Service -> ListAgents -> Request ListAgents
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListAgents
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListAgents)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListAgents))
-> Logger
-> Service
-> Proxy ListAgents
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListAgents)))
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 [AgentListEntry] -> Maybe Text -> Int -> ListAgentsResponse
ListAgentsResponse'
(Maybe [AgentListEntry] -> Maybe Text -> Int -> ListAgentsResponse)
-> Either String (Maybe [AgentListEntry])
-> Either String (Maybe Text -> Int -> ListAgentsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [AgentListEntry]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Agents" Either String (Maybe (Maybe [AgentListEntry]))
-> Maybe [AgentListEntry] -> Either String (Maybe [AgentListEntry])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [AgentListEntry]
forall a. Monoid a => a
Prelude.mempty)
Either String (Maybe Text -> Int -> ListAgentsResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListAgentsResponse)
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 -> ListAgentsResponse)
-> Either String Int -> Either String ListAgentsResponse
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 ListAgents
instance Prelude.NFData ListAgents
instance Core.ToHeaders ListAgents where
toHeaders :: ListAgents -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListAgents -> 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
"FmrsService.ListAgents" :: 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 ListAgents where
toJSON :: ListAgents -> Value
toJSON ListAgents' {Maybe Natural
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:maxResults:ListAgents' :: ListAgents -> Maybe Natural
$sel:nextToken:ListAgents' :: ListAgents -> 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
]
)
instance Core.ToPath ListAgents where
toPath :: ListAgents -> ByteString
toPath = ByteString -> ListAgents -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListAgents where
toQuery :: ListAgents -> QueryString
toQuery = QueryString -> ListAgents -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListAgentsResponse = ListAgentsResponse'
{
ListAgentsResponse -> Maybe [AgentListEntry]
agents :: Prelude.Maybe [AgentListEntry],
ListAgentsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListAgentsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListAgentsResponse -> ListAgentsResponse -> Bool
(ListAgentsResponse -> ListAgentsResponse -> Bool)
-> (ListAgentsResponse -> ListAgentsResponse -> Bool)
-> Eq ListAgentsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListAgentsResponse -> ListAgentsResponse -> Bool
$c/= :: ListAgentsResponse -> ListAgentsResponse -> Bool
== :: ListAgentsResponse -> ListAgentsResponse -> Bool
$c== :: ListAgentsResponse -> ListAgentsResponse -> Bool
Prelude.Eq, ReadPrec [ListAgentsResponse]
ReadPrec ListAgentsResponse
Int -> ReadS ListAgentsResponse
ReadS [ListAgentsResponse]
(Int -> ReadS ListAgentsResponse)
-> ReadS [ListAgentsResponse]
-> ReadPrec ListAgentsResponse
-> ReadPrec [ListAgentsResponse]
-> Read ListAgentsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListAgentsResponse]
$creadListPrec :: ReadPrec [ListAgentsResponse]
readPrec :: ReadPrec ListAgentsResponse
$creadPrec :: ReadPrec ListAgentsResponse
readList :: ReadS [ListAgentsResponse]
$creadList :: ReadS [ListAgentsResponse]
readsPrec :: Int -> ReadS ListAgentsResponse
$creadsPrec :: Int -> ReadS ListAgentsResponse
Prelude.Read, Int -> ListAgentsResponse -> ShowS
[ListAgentsResponse] -> ShowS
ListAgentsResponse -> String
(Int -> ListAgentsResponse -> ShowS)
-> (ListAgentsResponse -> String)
-> ([ListAgentsResponse] -> ShowS)
-> Show ListAgentsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListAgentsResponse] -> ShowS
$cshowList :: [ListAgentsResponse] -> ShowS
show :: ListAgentsResponse -> String
$cshow :: ListAgentsResponse -> String
showsPrec :: Int -> ListAgentsResponse -> ShowS
$cshowsPrec :: Int -> ListAgentsResponse -> ShowS
Prelude.Show, (forall x. ListAgentsResponse -> Rep ListAgentsResponse x)
-> (forall x. Rep ListAgentsResponse x -> ListAgentsResponse)
-> Generic ListAgentsResponse
forall x. Rep ListAgentsResponse x -> ListAgentsResponse
forall x. ListAgentsResponse -> Rep ListAgentsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListAgentsResponse x -> ListAgentsResponse
$cfrom :: forall x. ListAgentsResponse -> Rep ListAgentsResponse x
Prelude.Generic)
newListAgentsResponse ::
Prelude.Int ->
ListAgentsResponse
newListAgentsResponse :: Int -> ListAgentsResponse
newListAgentsResponse Int
pHttpStatus_ =
ListAgentsResponse' :: Maybe [AgentListEntry] -> Maybe Text -> Int -> ListAgentsResponse
ListAgentsResponse'
{ $sel:agents:ListAgentsResponse' :: Maybe [AgentListEntry]
agents = Maybe [AgentListEntry]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListAgentsResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListAgentsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listAgentsResponse_agents :: Lens.Lens' ListAgentsResponse (Prelude.Maybe [AgentListEntry])
listAgentsResponse_agents :: (Maybe [AgentListEntry] -> f (Maybe [AgentListEntry]))
-> ListAgentsResponse -> f ListAgentsResponse
listAgentsResponse_agents = (ListAgentsResponse -> Maybe [AgentListEntry])
-> (ListAgentsResponse
-> Maybe [AgentListEntry] -> ListAgentsResponse)
-> Lens' ListAgentsResponse (Maybe [AgentListEntry])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAgentsResponse' {Maybe [AgentListEntry]
agents :: Maybe [AgentListEntry]
$sel:agents:ListAgentsResponse' :: ListAgentsResponse -> Maybe [AgentListEntry]
agents} -> Maybe [AgentListEntry]
agents) (\s :: ListAgentsResponse
s@ListAgentsResponse' {} Maybe [AgentListEntry]
a -> ListAgentsResponse
s {$sel:agents:ListAgentsResponse' :: Maybe [AgentListEntry]
agents = Maybe [AgentListEntry]
a} :: ListAgentsResponse) ((Maybe [AgentListEntry] -> f (Maybe [AgentListEntry]))
-> ListAgentsResponse -> f ListAgentsResponse)
-> ((Maybe [AgentListEntry] -> f (Maybe [AgentListEntry]))
-> Maybe [AgentListEntry] -> f (Maybe [AgentListEntry]))
-> (Maybe [AgentListEntry] -> f (Maybe [AgentListEntry]))
-> ListAgentsResponse
-> f ListAgentsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[AgentListEntry] [AgentListEntry] [AgentListEntry] [AgentListEntry]
-> Iso
(Maybe [AgentListEntry])
(Maybe [AgentListEntry])
(Maybe [AgentListEntry])
(Maybe [AgentListEntry])
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
[AgentListEntry] [AgentListEntry] [AgentListEntry] [AgentListEntry]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listAgentsResponse_nextToken :: Lens.Lens' ListAgentsResponse (Prelude.Maybe Prelude.Text)
listAgentsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListAgentsResponse -> f ListAgentsResponse
listAgentsResponse_nextToken = (ListAgentsResponse -> Maybe Text)
-> (ListAgentsResponse -> Maybe Text -> ListAgentsResponse)
-> Lens' ListAgentsResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAgentsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListAgentsResponse' :: ListAgentsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListAgentsResponse
s@ListAgentsResponse' {} Maybe Text
a -> ListAgentsResponse
s {$sel:nextToken:ListAgentsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListAgentsResponse)
listAgentsResponse_httpStatus :: Lens.Lens' ListAgentsResponse Prelude.Int
listAgentsResponse_httpStatus :: (Int -> f Int) -> ListAgentsResponse -> f ListAgentsResponse
listAgentsResponse_httpStatus = (ListAgentsResponse -> Int)
-> (ListAgentsResponse -> Int -> ListAgentsResponse)
-> Lens ListAgentsResponse ListAgentsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAgentsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListAgentsResponse' :: ListAgentsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListAgentsResponse
s@ListAgentsResponse' {} Int
a -> ListAgentsResponse
s {$sel:httpStatus:ListAgentsResponse' :: Int
httpStatus = Int
a} :: ListAgentsResponse)
instance Prelude.NFData ListAgentsResponse