{-# 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.Glue.ListDevEndpoints
(
ListDevEndpoints (..),
newListDevEndpoints,
listDevEndpoints_nextToken,
listDevEndpoints_maxResults,
listDevEndpoints_tags,
ListDevEndpointsResponse (..),
newListDevEndpointsResponse,
listDevEndpointsResponse_nextToken,
listDevEndpointsResponse_devEndpointNames,
listDevEndpointsResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.Glue.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 ListDevEndpoints = ListDevEndpoints'
{
ListDevEndpoints -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListDevEndpoints -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListDevEndpoints -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text)
}
deriving (ListDevEndpoints -> ListDevEndpoints -> Bool
(ListDevEndpoints -> ListDevEndpoints -> Bool)
-> (ListDevEndpoints -> ListDevEndpoints -> Bool)
-> Eq ListDevEndpoints
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListDevEndpoints -> ListDevEndpoints -> Bool
$c/= :: ListDevEndpoints -> ListDevEndpoints -> Bool
== :: ListDevEndpoints -> ListDevEndpoints -> Bool
$c== :: ListDevEndpoints -> ListDevEndpoints -> Bool
Prelude.Eq, ReadPrec [ListDevEndpoints]
ReadPrec ListDevEndpoints
Int -> ReadS ListDevEndpoints
ReadS [ListDevEndpoints]
(Int -> ReadS ListDevEndpoints)
-> ReadS [ListDevEndpoints]
-> ReadPrec ListDevEndpoints
-> ReadPrec [ListDevEndpoints]
-> Read ListDevEndpoints
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListDevEndpoints]
$creadListPrec :: ReadPrec [ListDevEndpoints]
readPrec :: ReadPrec ListDevEndpoints
$creadPrec :: ReadPrec ListDevEndpoints
readList :: ReadS [ListDevEndpoints]
$creadList :: ReadS [ListDevEndpoints]
readsPrec :: Int -> ReadS ListDevEndpoints
$creadsPrec :: Int -> ReadS ListDevEndpoints
Prelude.Read, Int -> ListDevEndpoints -> ShowS
[ListDevEndpoints] -> ShowS
ListDevEndpoints -> String
(Int -> ListDevEndpoints -> ShowS)
-> (ListDevEndpoints -> String)
-> ([ListDevEndpoints] -> ShowS)
-> Show ListDevEndpoints
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListDevEndpoints] -> ShowS
$cshowList :: [ListDevEndpoints] -> ShowS
show :: ListDevEndpoints -> String
$cshow :: ListDevEndpoints -> String
showsPrec :: Int -> ListDevEndpoints -> ShowS
$cshowsPrec :: Int -> ListDevEndpoints -> ShowS
Prelude.Show, (forall x. ListDevEndpoints -> Rep ListDevEndpoints x)
-> (forall x. Rep ListDevEndpoints x -> ListDevEndpoints)
-> Generic ListDevEndpoints
forall x. Rep ListDevEndpoints x -> ListDevEndpoints
forall x. ListDevEndpoints -> Rep ListDevEndpoints x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListDevEndpoints x -> ListDevEndpoints
$cfrom :: forall x. ListDevEndpoints -> Rep ListDevEndpoints x
Prelude.Generic)
newListDevEndpoints ::
ListDevEndpoints
newListDevEndpoints :: ListDevEndpoints
newListDevEndpoints =
ListDevEndpoints' :: Maybe Text
-> Maybe Natural -> Maybe (HashMap Text Text) -> ListDevEndpoints
ListDevEndpoints'
{ $sel:nextToken:ListDevEndpoints' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListDevEndpoints' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:tags:ListDevEndpoints' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing
}
listDevEndpoints_nextToken :: Lens.Lens' ListDevEndpoints (Prelude.Maybe Prelude.Text)
listDevEndpoints_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListDevEndpoints -> f ListDevEndpoints
listDevEndpoints_nextToken = (ListDevEndpoints -> Maybe Text)
-> (ListDevEndpoints -> Maybe Text -> ListDevEndpoints)
-> Lens ListDevEndpoints ListDevEndpoints (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListDevEndpoints' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListDevEndpoints' :: ListDevEndpoints -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListDevEndpoints
s@ListDevEndpoints' {} Maybe Text
a -> ListDevEndpoints
s {$sel:nextToken:ListDevEndpoints' :: Maybe Text
nextToken = Maybe Text
a} :: ListDevEndpoints)
listDevEndpoints_maxResults :: Lens.Lens' ListDevEndpoints (Prelude.Maybe Prelude.Natural)
listDevEndpoints_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListDevEndpoints -> f ListDevEndpoints
listDevEndpoints_maxResults = (ListDevEndpoints -> Maybe Natural)
-> (ListDevEndpoints -> Maybe Natural -> ListDevEndpoints)
-> Lens
ListDevEndpoints ListDevEndpoints (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListDevEndpoints' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListDevEndpoints' :: ListDevEndpoints -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListDevEndpoints
s@ListDevEndpoints' {} Maybe Natural
a -> ListDevEndpoints
s {$sel:maxResults:ListDevEndpoints' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListDevEndpoints)
listDevEndpoints_tags :: Lens.Lens' ListDevEndpoints (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
listDevEndpoints_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> ListDevEndpoints -> f ListDevEndpoints
listDevEndpoints_tags = (ListDevEndpoints -> Maybe (HashMap Text Text))
-> (ListDevEndpoints
-> Maybe (HashMap Text Text) -> ListDevEndpoints)
-> Lens
ListDevEndpoints
ListDevEndpoints
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListDevEndpoints' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:ListDevEndpoints' :: ListDevEndpoints -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: ListDevEndpoints
s@ListDevEndpoints' {} Maybe (HashMap Text Text)
a -> ListDevEndpoints
s {$sel:tags:ListDevEndpoints' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: ListDevEndpoints) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> ListDevEndpoints -> f ListDevEndpoints)
-> ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> ListDevEndpoints
-> f ListDevEndpoints
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
-> Iso
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
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
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.AWSRequest ListDevEndpoints where
type
AWSResponse ListDevEndpoints =
ListDevEndpointsResponse
request :: ListDevEndpoints -> Request ListDevEndpoints
request = Service -> ListDevEndpoints -> Request ListDevEndpoints
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListDevEndpoints
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListDevEndpoints)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListDevEndpoints))
-> Logger
-> Service
-> Proxy ListDevEndpoints
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListDevEndpoints)))
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 [Text] -> Int -> ListDevEndpointsResponse
ListDevEndpointsResponse'
(Maybe Text -> Maybe [Text] -> Int -> ListDevEndpointsResponse)
-> Either String (Maybe Text)
-> Either String (Maybe [Text] -> Int -> ListDevEndpointsResponse)
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 [Text] -> Int -> ListDevEndpointsResponse)
-> Either String (Maybe [Text])
-> Either String (Int -> ListDevEndpointsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"DevEndpointNames"
Either String (Maybe (Maybe [Text]))
-> Maybe [Text] -> Either String (Maybe [Text])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Text]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Int -> ListDevEndpointsResponse)
-> Either String Int -> Either String ListDevEndpointsResponse
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 ListDevEndpoints
instance Prelude.NFData ListDevEndpoints
instance Core.ToHeaders ListDevEndpoints where
toHeaders :: ListDevEndpoints -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListDevEndpoints -> 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
"AWSGlue.ListDevEndpoints" :: 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 ListDevEndpoints where
toJSON :: ListDevEndpoints -> Value
toJSON ListDevEndpoints' {Maybe Natural
Maybe Text
Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:tags:ListDevEndpoints' :: ListDevEndpoints -> Maybe (HashMap Text Text)
$sel:maxResults:ListDevEndpoints' :: ListDevEndpoints -> Maybe Natural
$sel:nextToken:ListDevEndpoints' :: ListDevEndpoints -> 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,
(Text
"Tags" Text -> HashMap Text Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (HashMap Text Text -> Pair)
-> Maybe (HashMap Text Text) -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (HashMap Text Text)
tags
]
)
instance Core.ToPath ListDevEndpoints where
toPath :: ListDevEndpoints -> ByteString
toPath = ByteString -> ListDevEndpoints -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListDevEndpoints where
toQuery :: ListDevEndpoints -> QueryString
toQuery = QueryString -> ListDevEndpoints -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListDevEndpointsResponse = ListDevEndpointsResponse'
{
ListDevEndpointsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListDevEndpointsResponse -> Maybe [Text]
devEndpointNames :: Prelude.Maybe [Prelude.Text],
ListDevEndpointsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListDevEndpointsResponse -> ListDevEndpointsResponse -> Bool
(ListDevEndpointsResponse -> ListDevEndpointsResponse -> Bool)
-> (ListDevEndpointsResponse -> ListDevEndpointsResponse -> Bool)
-> Eq ListDevEndpointsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListDevEndpointsResponse -> ListDevEndpointsResponse -> Bool
$c/= :: ListDevEndpointsResponse -> ListDevEndpointsResponse -> Bool
== :: ListDevEndpointsResponse -> ListDevEndpointsResponse -> Bool
$c== :: ListDevEndpointsResponse -> ListDevEndpointsResponse -> Bool
Prelude.Eq, ReadPrec [ListDevEndpointsResponse]
ReadPrec ListDevEndpointsResponse
Int -> ReadS ListDevEndpointsResponse
ReadS [ListDevEndpointsResponse]
(Int -> ReadS ListDevEndpointsResponse)
-> ReadS [ListDevEndpointsResponse]
-> ReadPrec ListDevEndpointsResponse
-> ReadPrec [ListDevEndpointsResponse]
-> Read ListDevEndpointsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListDevEndpointsResponse]
$creadListPrec :: ReadPrec [ListDevEndpointsResponse]
readPrec :: ReadPrec ListDevEndpointsResponse
$creadPrec :: ReadPrec ListDevEndpointsResponse
readList :: ReadS [ListDevEndpointsResponse]
$creadList :: ReadS [ListDevEndpointsResponse]
readsPrec :: Int -> ReadS ListDevEndpointsResponse
$creadsPrec :: Int -> ReadS ListDevEndpointsResponse
Prelude.Read, Int -> ListDevEndpointsResponse -> ShowS
[ListDevEndpointsResponse] -> ShowS
ListDevEndpointsResponse -> String
(Int -> ListDevEndpointsResponse -> ShowS)
-> (ListDevEndpointsResponse -> String)
-> ([ListDevEndpointsResponse] -> ShowS)
-> Show ListDevEndpointsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListDevEndpointsResponse] -> ShowS
$cshowList :: [ListDevEndpointsResponse] -> ShowS
show :: ListDevEndpointsResponse -> String
$cshow :: ListDevEndpointsResponse -> String
showsPrec :: Int -> ListDevEndpointsResponse -> ShowS
$cshowsPrec :: Int -> ListDevEndpointsResponse -> ShowS
Prelude.Show, (forall x.
ListDevEndpointsResponse -> Rep ListDevEndpointsResponse x)
-> (forall x.
Rep ListDevEndpointsResponse x -> ListDevEndpointsResponse)
-> Generic ListDevEndpointsResponse
forall x.
Rep ListDevEndpointsResponse x -> ListDevEndpointsResponse
forall x.
ListDevEndpointsResponse -> Rep ListDevEndpointsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListDevEndpointsResponse x -> ListDevEndpointsResponse
$cfrom :: forall x.
ListDevEndpointsResponse -> Rep ListDevEndpointsResponse x
Prelude.Generic)
newListDevEndpointsResponse ::
Prelude.Int ->
ListDevEndpointsResponse
newListDevEndpointsResponse :: Int -> ListDevEndpointsResponse
newListDevEndpointsResponse Int
pHttpStatus_ =
ListDevEndpointsResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListDevEndpointsResponse
ListDevEndpointsResponse'
{ $sel:nextToken:ListDevEndpointsResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:devEndpointNames:ListDevEndpointsResponse' :: Maybe [Text]
devEndpointNames = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListDevEndpointsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listDevEndpointsResponse_nextToken :: Lens.Lens' ListDevEndpointsResponse (Prelude.Maybe Prelude.Text)
listDevEndpointsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListDevEndpointsResponse -> f ListDevEndpointsResponse
listDevEndpointsResponse_nextToken = (ListDevEndpointsResponse -> Maybe Text)
-> (ListDevEndpointsResponse
-> Maybe Text -> ListDevEndpointsResponse)
-> Lens
ListDevEndpointsResponse
ListDevEndpointsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListDevEndpointsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListDevEndpointsResponse' :: ListDevEndpointsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListDevEndpointsResponse
s@ListDevEndpointsResponse' {} Maybe Text
a -> ListDevEndpointsResponse
s {$sel:nextToken:ListDevEndpointsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListDevEndpointsResponse)
listDevEndpointsResponse_devEndpointNames :: Lens.Lens' ListDevEndpointsResponse (Prelude.Maybe [Prelude.Text])
listDevEndpointsResponse_devEndpointNames :: (Maybe [Text] -> f (Maybe [Text]))
-> ListDevEndpointsResponse -> f ListDevEndpointsResponse
listDevEndpointsResponse_devEndpointNames = (ListDevEndpointsResponse -> Maybe [Text])
-> (ListDevEndpointsResponse
-> Maybe [Text] -> ListDevEndpointsResponse)
-> Lens
ListDevEndpointsResponse
ListDevEndpointsResponse
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListDevEndpointsResponse' {Maybe [Text]
devEndpointNames :: Maybe [Text]
$sel:devEndpointNames:ListDevEndpointsResponse' :: ListDevEndpointsResponse -> Maybe [Text]
devEndpointNames} -> Maybe [Text]
devEndpointNames) (\s :: ListDevEndpointsResponse
s@ListDevEndpointsResponse' {} Maybe [Text]
a -> ListDevEndpointsResponse
s {$sel:devEndpointNames:ListDevEndpointsResponse' :: Maybe [Text]
devEndpointNames = Maybe [Text]
a} :: ListDevEndpointsResponse) ((Maybe [Text] -> f (Maybe [Text]))
-> ListDevEndpointsResponse -> f ListDevEndpointsResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ListDevEndpointsResponse
-> f ListDevEndpointsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listDevEndpointsResponse_httpStatus :: Lens.Lens' ListDevEndpointsResponse Prelude.Int
listDevEndpointsResponse_httpStatus :: (Int -> f Int)
-> ListDevEndpointsResponse -> f ListDevEndpointsResponse
listDevEndpointsResponse_httpStatus = (ListDevEndpointsResponse -> Int)
-> (ListDevEndpointsResponse -> Int -> ListDevEndpointsResponse)
-> Lens ListDevEndpointsResponse ListDevEndpointsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListDevEndpointsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListDevEndpointsResponse' :: ListDevEndpointsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListDevEndpointsResponse
s@ListDevEndpointsResponse' {} Int
a -> ListDevEndpointsResponse
s {$sel:httpStatus:ListDevEndpointsResponse' :: Int
httpStatus = Int
a} :: ListDevEndpointsResponse)
instance Prelude.NFData ListDevEndpointsResponse