{-# 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.DMS.DescribeEndpointSettings
(
DescribeEndpointSettings (..),
newDescribeEndpointSettings,
describeEndpointSettings_marker,
describeEndpointSettings_maxRecords,
describeEndpointSettings_engineName,
DescribeEndpointSettingsResponse (..),
newDescribeEndpointSettingsResponse,
describeEndpointSettingsResponse_endpointSettings,
describeEndpointSettingsResponse_marker,
describeEndpointSettingsResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.DMS.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 DescribeEndpointSettings = DescribeEndpointSettings'
{
DescribeEndpointSettings -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
DescribeEndpointSettings -> Maybe Int
maxRecords :: Prelude.Maybe Prelude.Int,
DescribeEndpointSettings -> Text
engineName :: Prelude.Text
}
deriving (DescribeEndpointSettings -> DescribeEndpointSettings -> Bool
(DescribeEndpointSettings -> DescribeEndpointSettings -> Bool)
-> (DescribeEndpointSettings -> DescribeEndpointSettings -> Bool)
-> Eq DescribeEndpointSettings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeEndpointSettings -> DescribeEndpointSettings -> Bool
$c/= :: DescribeEndpointSettings -> DescribeEndpointSettings -> Bool
== :: DescribeEndpointSettings -> DescribeEndpointSettings -> Bool
$c== :: DescribeEndpointSettings -> DescribeEndpointSettings -> Bool
Prelude.Eq, ReadPrec [DescribeEndpointSettings]
ReadPrec DescribeEndpointSettings
Int -> ReadS DescribeEndpointSettings
ReadS [DescribeEndpointSettings]
(Int -> ReadS DescribeEndpointSettings)
-> ReadS [DescribeEndpointSettings]
-> ReadPrec DescribeEndpointSettings
-> ReadPrec [DescribeEndpointSettings]
-> Read DescribeEndpointSettings
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeEndpointSettings]
$creadListPrec :: ReadPrec [DescribeEndpointSettings]
readPrec :: ReadPrec DescribeEndpointSettings
$creadPrec :: ReadPrec DescribeEndpointSettings
readList :: ReadS [DescribeEndpointSettings]
$creadList :: ReadS [DescribeEndpointSettings]
readsPrec :: Int -> ReadS DescribeEndpointSettings
$creadsPrec :: Int -> ReadS DescribeEndpointSettings
Prelude.Read, Int -> DescribeEndpointSettings -> ShowS
[DescribeEndpointSettings] -> ShowS
DescribeEndpointSettings -> String
(Int -> DescribeEndpointSettings -> ShowS)
-> (DescribeEndpointSettings -> String)
-> ([DescribeEndpointSettings] -> ShowS)
-> Show DescribeEndpointSettings
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeEndpointSettings] -> ShowS
$cshowList :: [DescribeEndpointSettings] -> ShowS
show :: DescribeEndpointSettings -> String
$cshow :: DescribeEndpointSettings -> String
showsPrec :: Int -> DescribeEndpointSettings -> ShowS
$cshowsPrec :: Int -> DescribeEndpointSettings -> ShowS
Prelude.Show, (forall x.
DescribeEndpointSettings -> Rep DescribeEndpointSettings x)
-> (forall x.
Rep DescribeEndpointSettings x -> DescribeEndpointSettings)
-> Generic DescribeEndpointSettings
forall x.
Rep DescribeEndpointSettings x -> DescribeEndpointSettings
forall x.
DescribeEndpointSettings -> Rep DescribeEndpointSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeEndpointSettings x -> DescribeEndpointSettings
$cfrom :: forall x.
DescribeEndpointSettings -> Rep DescribeEndpointSettings x
Prelude.Generic)
newDescribeEndpointSettings ::
Prelude.Text ->
DescribeEndpointSettings
newDescribeEndpointSettings :: Text -> DescribeEndpointSettings
newDescribeEndpointSettings Text
pEngineName_ =
DescribeEndpointSettings' :: Maybe Text -> Maybe Int -> Text -> DescribeEndpointSettings
DescribeEndpointSettings'
{ $sel:marker:DescribeEndpointSettings' :: Maybe Text
marker = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxRecords:DescribeEndpointSettings' :: Maybe Int
maxRecords = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:engineName:DescribeEndpointSettings' :: Text
engineName = Text
pEngineName_
}
describeEndpointSettings_marker :: Lens.Lens' DescribeEndpointSettings (Prelude.Maybe Prelude.Text)
describeEndpointSettings_marker :: (Maybe Text -> f (Maybe Text))
-> DescribeEndpointSettings -> f DescribeEndpointSettings
describeEndpointSettings_marker = (DescribeEndpointSettings -> Maybe Text)
-> (DescribeEndpointSettings
-> Maybe Text -> DescribeEndpointSettings)
-> Lens
DescribeEndpointSettings
DescribeEndpointSettings
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeEndpointSettings' {Maybe Text
marker :: Maybe Text
$sel:marker:DescribeEndpointSettings' :: DescribeEndpointSettings -> Maybe Text
marker} -> Maybe Text
marker) (\s :: DescribeEndpointSettings
s@DescribeEndpointSettings' {} Maybe Text
a -> DescribeEndpointSettings
s {$sel:marker:DescribeEndpointSettings' :: Maybe Text
marker = Maybe Text
a} :: DescribeEndpointSettings)
describeEndpointSettings_maxRecords :: Lens.Lens' DescribeEndpointSettings (Prelude.Maybe Prelude.Int)
describeEndpointSettings_maxRecords :: (Maybe Int -> f (Maybe Int))
-> DescribeEndpointSettings -> f DescribeEndpointSettings
describeEndpointSettings_maxRecords = (DescribeEndpointSettings -> Maybe Int)
-> (DescribeEndpointSettings
-> Maybe Int -> DescribeEndpointSettings)
-> Lens
DescribeEndpointSettings
DescribeEndpointSettings
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeEndpointSettings' {Maybe Int
maxRecords :: Maybe Int
$sel:maxRecords:DescribeEndpointSettings' :: DescribeEndpointSettings -> Maybe Int
maxRecords} -> Maybe Int
maxRecords) (\s :: DescribeEndpointSettings
s@DescribeEndpointSettings' {} Maybe Int
a -> DescribeEndpointSettings
s {$sel:maxRecords:DescribeEndpointSettings' :: Maybe Int
maxRecords = Maybe Int
a} :: DescribeEndpointSettings)
describeEndpointSettings_engineName :: Lens.Lens' DescribeEndpointSettings Prelude.Text
describeEndpointSettings_engineName :: (Text -> f Text)
-> DescribeEndpointSettings -> f DescribeEndpointSettings
describeEndpointSettings_engineName = (DescribeEndpointSettings -> Text)
-> (DescribeEndpointSettings -> Text -> DescribeEndpointSettings)
-> Lens DescribeEndpointSettings DescribeEndpointSettings Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeEndpointSettings' {Text
engineName :: Text
$sel:engineName:DescribeEndpointSettings' :: DescribeEndpointSettings -> Text
engineName} -> Text
engineName) (\s :: DescribeEndpointSettings
s@DescribeEndpointSettings' {} Text
a -> DescribeEndpointSettings
s {$sel:engineName:DescribeEndpointSettings' :: Text
engineName = Text
a} :: DescribeEndpointSettings)
instance Core.AWSRequest DescribeEndpointSettings where
type
AWSResponse DescribeEndpointSettings =
DescribeEndpointSettingsResponse
request :: DescribeEndpointSettings -> Request DescribeEndpointSettings
request = Service
-> DescribeEndpointSettings -> Request DescribeEndpointSettings
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeEndpointSettings
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeEndpointSettings)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeEndpointSettings))
-> Logger
-> Service
-> Proxy DescribeEndpointSettings
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeEndpointSettings)))
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 [EndpointSetting]
-> Maybe Text -> Int -> DescribeEndpointSettingsResponse
DescribeEndpointSettingsResponse'
(Maybe [EndpointSetting]
-> Maybe Text -> Int -> DescribeEndpointSettingsResponse)
-> Either String (Maybe [EndpointSetting])
-> Either
String (Maybe Text -> Int -> DescribeEndpointSettingsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object -> Text -> Either String (Maybe (Maybe [EndpointSetting]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"EndpointSettings"
Either String (Maybe (Maybe [EndpointSetting]))
-> Maybe [EndpointSetting]
-> Either String (Maybe [EndpointSetting])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [EndpointSetting]
forall a. Monoid a => a
Prelude.mempty
)
Either
String (Maybe Text -> Int -> DescribeEndpointSettingsResponse)
-> Either String (Maybe Text)
-> Either String (Int -> DescribeEndpointSettingsResponse)
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
"Marker")
Either String (Int -> DescribeEndpointSettingsResponse)
-> Either String Int
-> Either String DescribeEndpointSettingsResponse
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 DescribeEndpointSettings
instance Prelude.NFData DescribeEndpointSettings
instance Core.ToHeaders DescribeEndpointSettings where
toHeaders :: DescribeEndpointSettings -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeEndpointSettings -> 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
"AmazonDMSv20160101.DescribeEndpointSettings" ::
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 DescribeEndpointSettings where
toJSON :: DescribeEndpointSettings -> Value
toJSON DescribeEndpointSettings' {Maybe Int
Maybe Text
Text
engineName :: Text
maxRecords :: Maybe Int
marker :: Maybe Text
$sel:engineName:DescribeEndpointSettings' :: DescribeEndpointSettings -> Text
$sel:maxRecords:DescribeEndpointSettings' :: DescribeEndpointSettings -> Maybe Int
$sel:marker:DescribeEndpointSettings' :: DescribeEndpointSettings -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"Marker" 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
marker,
(Text
"MaxRecords" Text -> Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Int -> Pair) -> Maybe Int -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Int
maxRecords,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"EngineName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
engineName)
]
)
instance Core.ToPath DescribeEndpointSettings where
toPath :: DescribeEndpointSettings -> ByteString
toPath = ByteString -> DescribeEndpointSettings -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeEndpointSettings where
toQuery :: DescribeEndpointSettings -> QueryString
toQuery = QueryString -> DescribeEndpointSettings -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeEndpointSettingsResponse = DescribeEndpointSettingsResponse'
{
DescribeEndpointSettingsResponse -> Maybe [EndpointSetting]
endpointSettings :: Prelude.Maybe [EndpointSetting],
DescribeEndpointSettingsResponse -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
DescribeEndpointSettingsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeEndpointSettingsResponse
-> DescribeEndpointSettingsResponse -> Bool
(DescribeEndpointSettingsResponse
-> DescribeEndpointSettingsResponse -> Bool)
-> (DescribeEndpointSettingsResponse
-> DescribeEndpointSettingsResponse -> Bool)
-> Eq DescribeEndpointSettingsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeEndpointSettingsResponse
-> DescribeEndpointSettingsResponse -> Bool
$c/= :: DescribeEndpointSettingsResponse
-> DescribeEndpointSettingsResponse -> Bool
== :: DescribeEndpointSettingsResponse
-> DescribeEndpointSettingsResponse -> Bool
$c== :: DescribeEndpointSettingsResponse
-> DescribeEndpointSettingsResponse -> Bool
Prelude.Eq, ReadPrec [DescribeEndpointSettingsResponse]
ReadPrec DescribeEndpointSettingsResponse
Int -> ReadS DescribeEndpointSettingsResponse
ReadS [DescribeEndpointSettingsResponse]
(Int -> ReadS DescribeEndpointSettingsResponse)
-> ReadS [DescribeEndpointSettingsResponse]
-> ReadPrec DescribeEndpointSettingsResponse
-> ReadPrec [DescribeEndpointSettingsResponse]
-> Read DescribeEndpointSettingsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeEndpointSettingsResponse]
$creadListPrec :: ReadPrec [DescribeEndpointSettingsResponse]
readPrec :: ReadPrec DescribeEndpointSettingsResponse
$creadPrec :: ReadPrec DescribeEndpointSettingsResponse
readList :: ReadS [DescribeEndpointSettingsResponse]
$creadList :: ReadS [DescribeEndpointSettingsResponse]
readsPrec :: Int -> ReadS DescribeEndpointSettingsResponse
$creadsPrec :: Int -> ReadS DescribeEndpointSettingsResponse
Prelude.Read, Int -> DescribeEndpointSettingsResponse -> ShowS
[DescribeEndpointSettingsResponse] -> ShowS
DescribeEndpointSettingsResponse -> String
(Int -> DescribeEndpointSettingsResponse -> ShowS)
-> (DescribeEndpointSettingsResponse -> String)
-> ([DescribeEndpointSettingsResponse] -> ShowS)
-> Show DescribeEndpointSettingsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeEndpointSettingsResponse] -> ShowS
$cshowList :: [DescribeEndpointSettingsResponse] -> ShowS
show :: DescribeEndpointSettingsResponse -> String
$cshow :: DescribeEndpointSettingsResponse -> String
showsPrec :: Int -> DescribeEndpointSettingsResponse -> ShowS
$cshowsPrec :: Int -> DescribeEndpointSettingsResponse -> ShowS
Prelude.Show, (forall x.
DescribeEndpointSettingsResponse
-> Rep DescribeEndpointSettingsResponse x)
-> (forall x.
Rep DescribeEndpointSettingsResponse x
-> DescribeEndpointSettingsResponse)
-> Generic DescribeEndpointSettingsResponse
forall x.
Rep DescribeEndpointSettingsResponse x
-> DescribeEndpointSettingsResponse
forall x.
DescribeEndpointSettingsResponse
-> Rep DescribeEndpointSettingsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeEndpointSettingsResponse x
-> DescribeEndpointSettingsResponse
$cfrom :: forall x.
DescribeEndpointSettingsResponse
-> Rep DescribeEndpointSettingsResponse x
Prelude.Generic)
newDescribeEndpointSettingsResponse ::
Prelude.Int ->
DescribeEndpointSettingsResponse
newDescribeEndpointSettingsResponse :: Int -> DescribeEndpointSettingsResponse
newDescribeEndpointSettingsResponse Int
pHttpStatus_ =
DescribeEndpointSettingsResponse' :: Maybe [EndpointSetting]
-> Maybe Text -> Int -> DescribeEndpointSettingsResponse
DescribeEndpointSettingsResponse'
{ $sel:endpointSettings:DescribeEndpointSettingsResponse' :: Maybe [EndpointSetting]
endpointSettings =
Maybe [EndpointSetting]
forall a. Maybe a
Prelude.Nothing,
$sel:marker:DescribeEndpointSettingsResponse' :: Maybe Text
marker = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeEndpointSettingsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeEndpointSettingsResponse_endpointSettings :: Lens.Lens' DescribeEndpointSettingsResponse (Prelude.Maybe [EndpointSetting])
describeEndpointSettingsResponse_endpointSettings :: (Maybe [EndpointSetting] -> f (Maybe [EndpointSetting]))
-> DescribeEndpointSettingsResponse
-> f DescribeEndpointSettingsResponse
describeEndpointSettingsResponse_endpointSettings = (DescribeEndpointSettingsResponse -> Maybe [EndpointSetting])
-> (DescribeEndpointSettingsResponse
-> Maybe [EndpointSetting] -> DescribeEndpointSettingsResponse)
-> Lens
DescribeEndpointSettingsResponse
DescribeEndpointSettingsResponse
(Maybe [EndpointSetting])
(Maybe [EndpointSetting])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeEndpointSettingsResponse' {Maybe [EndpointSetting]
endpointSettings :: Maybe [EndpointSetting]
$sel:endpointSettings:DescribeEndpointSettingsResponse' :: DescribeEndpointSettingsResponse -> Maybe [EndpointSetting]
endpointSettings} -> Maybe [EndpointSetting]
endpointSettings) (\s :: DescribeEndpointSettingsResponse
s@DescribeEndpointSettingsResponse' {} Maybe [EndpointSetting]
a -> DescribeEndpointSettingsResponse
s {$sel:endpointSettings:DescribeEndpointSettingsResponse' :: Maybe [EndpointSetting]
endpointSettings = Maybe [EndpointSetting]
a} :: DescribeEndpointSettingsResponse) ((Maybe [EndpointSetting] -> f (Maybe [EndpointSetting]))
-> DescribeEndpointSettingsResponse
-> f DescribeEndpointSettingsResponse)
-> ((Maybe [EndpointSetting] -> f (Maybe [EndpointSetting]))
-> Maybe [EndpointSetting] -> f (Maybe [EndpointSetting]))
-> (Maybe [EndpointSetting] -> f (Maybe [EndpointSetting]))
-> DescribeEndpointSettingsResponse
-> f DescribeEndpointSettingsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[EndpointSetting]
[EndpointSetting]
[EndpointSetting]
[EndpointSetting]
-> Iso
(Maybe [EndpointSetting])
(Maybe [EndpointSetting])
(Maybe [EndpointSetting])
(Maybe [EndpointSetting])
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
[EndpointSetting]
[EndpointSetting]
[EndpointSetting]
[EndpointSetting]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeEndpointSettingsResponse_marker :: Lens.Lens' DescribeEndpointSettingsResponse (Prelude.Maybe Prelude.Text)
describeEndpointSettingsResponse_marker :: (Maybe Text -> f (Maybe Text))
-> DescribeEndpointSettingsResponse
-> f DescribeEndpointSettingsResponse
describeEndpointSettingsResponse_marker = (DescribeEndpointSettingsResponse -> Maybe Text)
-> (DescribeEndpointSettingsResponse
-> Maybe Text -> DescribeEndpointSettingsResponse)
-> Lens
DescribeEndpointSettingsResponse
DescribeEndpointSettingsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeEndpointSettingsResponse' {Maybe Text
marker :: Maybe Text
$sel:marker:DescribeEndpointSettingsResponse' :: DescribeEndpointSettingsResponse -> Maybe Text
marker} -> Maybe Text
marker) (\s :: DescribeEndpointSettingsResponse
s@DescribeEndpointSettingsResponse' {} Maybe Text
a -> DescribeEndpointSettingsResponse
s {$sel:marker:DescribeEndpointSettingsResponse' :: Maybe Text
marker = Maybe Text
a} :: DescribeEndpointSettingsResponse)
describeEndpointSettingsResponse_httpStatus :: Lens.Lens' DescribeEndpointSettingsResponse Prelude.Int
describeEndpointSettingsResponse_httpStatus :: (Int -> f Int)
-> DescribeEndpointSettingsResponse
-> f DescribeEndpointSettingsResponse
describeEndpointSettingsResponse_httpStatus = (DescribeEndpointSettingsResponse -> Int)
-> (DescribeEndpointSettingsResponse
-> Int -> DescribeEndpointSettingsResponse)
-> Lens
DescribeEndpointSettingsResponse
DescribeEndpointSettingsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeEndpointSettingsResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeEndpointSettingsResponse' :: DescribeEndpointSettingsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeEndpointSettingsResponse
s@DescribeEndpointSettingsResponse' {} Int
a -> DescribeEndpointSettingsResponse
s {$sel:httpStatus:DescribeEndpointSettingsResponse' :: Int
httpStatus = Int
a} :: DescribeEndpointSettingsResponse)
instance
Prelude.NFData
DescribeEndpointSettingsResponse