{-# 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.APIGateway.GetClientCertificates
(
GetClientCertificates (..),
newGetClientCertificates,
getClientCertificates_limit,
getClientCertificates_position,
GetClientCertificatesResponse (..),
newGetClientCertificatesResponse,
getClientCertificatesResponse_items,
getClientCertificatesResponse_position,
getClientCertificatesResponse_httpStatus,
)
where
import Amazonka.APIGateway.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 GetClientCertificates = GetClientCertificates'
{
GetClientCertificates -> Maybe Int
limit :: Prelude.Maybe Prelude.Int,
GetClientCertificates -> Maybe Text
position :: Prelude.Maybe Prelude.Text
}
deriving (GetClientCertificates -> GetClientCertificates -> Bool
(GetClientCertificates -> GetClientCertificates -> Bool)
-> (GetClientCertificates -> GetClientCertificates -> Bool)
-> Eq GetClientCertificates
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetClientCertificates -> GetClientCertificates -> Bool
$c/= :: GetClientCertificates -> GetClientCertificates -> Bool
== :: GetClientCertificates -> GetClientCertificates -> Bool
$c== :: GetClientCertificates -> GetClientCertificates -> Bool
Prelude.Eq, ReadPrec [GetClientCertificates]
ReadPrec GetClientCertificates
Int -> ReadS GetClientCertificates
ReadS [GetClientCertificates]
(Int -> ReadS GetClientCertificates)
-> ReadS [GetClientCertificates]
-> ReadPrec GetClientCertificates
-> ReadPrec [GetClientCertificates]
-> Read GetClientCertificates
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetClientCertificates]
$creadListPrec :: ReadPrec [GetClientCertificates]
readPrec :: ReadPrec GetClientCertificates
$creadPrec :: ReadPrec GetClientCertificates
readList :: ReadS [GetClientCertificates]
$creadList :: ReadS [GetClientCertificates]
readsPrec :: Int -> ReadS GetClientCertificates
$creadsPrec :: Int -> ReadS GetClientCertificates
Prelude.Read, Int -> GetClientCertificates -> ShowS
[GetClientCertificates] -> ShowS
GetClientCertificates -> String
(Int -> GetClientCertificates -> ShowS)
-> (GetClientCertificates -> String)
-> ([GetClientCertificates] -> ShowS)
-> Show GetClientCertificates
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetClientCertificates] -> ShowS
$cshowList :: [GetClientCertificates] -> ShowS
show :: GetClientCertificates -> String
$cshow :: GetClientCertificates -> String
showsPrec :: Int -> GetClientCertificates -> ShowS
$cshowsPrec :: Int -> GetClientCertificates -> ShowS
Prelude.Show, (forall x. GetClientCertificates -> Rep GetClientCertificates x)
-> (forall x. Rep GetClientCertificates x -> GetClientCertificates)
-> Generic GetClientCertificates
forall x. Rep GetClientCertificates x -> GetClientCertificates
forall x. GetClientCertificates -> Rep GetClientCertificates x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetClientCertificates x -> GetClientCertificates
$cfrom :: forall x. GetClientCertificates -> Rep GetClientCertificates x
Prelude.Generic)
newGetClientCertificates ::
GetClientCertificates
newGetClientCertificates :: GetClientCertificates
newGetClientCertificates =
GetClientCertificates' :: Maybe Int -> Maybe Text -> GetClientCertificates
GetClientCertificates'
{ $sel:limit:GetClientCertificates' :: Maybe Int
limit = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:position:GetClientCertificates' :: Maybe Text
position = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
getClientCertificates_limit :: Lens.Lens' GetClientCertificates (Prelude.Maybe Prelude.Int)
getClientCertificates_limit :: (Maybe Int -> f (Maybe Int))
-> GetClientCertificates -> f GetClientCertificates
getClientCertificates_limit = (GetClientCertificates -> Maybe Int)
-> (GetClientCertificates -> Maybe Int -> GetClientCertificates)
-> Lens
GetClientCertificates GetClientCertificates (Maybe Int) (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetClientCertificates' {Maybe Int
limit :: Maybe Int
$sel:limit:GetClientCertificates' :: GetClientCertificates -> Maybe Int
limit} -> Maybe Int
limit) (\s :: GetClientCertificates
s@GetClientCertificates' {} Maybe Int
a -> GetClientCertificates
s {$sel:limit:GetClientCertificates' :: Maybe Int
limit = Maybe Int
a} :: GetClientCertificates)
getClientCertificates_position :: Lens.Lens' GetClientCertificates (Prelude.Maybe Prelude.Text)
getClientCertificates_position :: (Maybe Text -> f (Maybe Text))
-> GetClientCertificates -> f GetClientCertificates
getClientCertificates_position = (GetClientCertificates -> Maybe Text)
-> (GetClientCertificates -> Maybe Text -> GetClientCertificates)
-> Lens
GetClientCertificates
GetClientCertificates
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetClientCertificates' {Maybe Text
position :: Maybe Text
$sel:position:GetClientCertificates' :: GetClientCertificates -> Maybe Text
position} -> Maybe Text
position) (\s :: GetClientCertificates
s@GetClientCertificates' {} Maybe Text
a -> GetClientCertificates
s {$sel:position:GetClientCertificates' :: Maybe Text
position = Maybe Text
a} :: GetClientCertificates)
instance Core.AWSPager GetClientCertificates where
page :: GetClientCertificates
-> AWSResponse GetClientCertificates -> Maybe GetClientCertificates
page GetClientCertificates
rq AWSResponse GetClientCertificates
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse GetClientCertificates
GetClientCertificatesResponse
rs
GetClientCertificatesResponse
-> Getting (First Text) GetClientCertificatesResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> GetClientCertificatesResponse
-> Const (First Text) GetClientCertificatesResponse
Lens' GetClientCertificatesResponse (Maybe Text)
getClientCertificatesResponse_position
((Maybe Text -> Const (First Text) (Maybe Text))
-> GetClientCertificatesResponse
-> Const (First Text) GetClientCertificatesResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) GetClientCertificatesResponse 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 GetClientCertificates
forall a. Maybe a
Prelude.Nothing
| Maybe [ClientCertificate] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse GetClientCertificates
GetClientCertificatesResponse
rs
GetClientCertificatesResponse
-> Getting
(First [ClientCertificate])
GetClientCertificatesResponse
[ClientCertificate]
-> Maybe [ClientCertificate]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [ClientCertificate]
-> Const (First [ClientCertificate]) (Maybe [ClientCertificate]))
-> GetClientCertificatesResponse
-> Const (First [ClientCertificate]) GetClientCertificatesResponse
Lens' GetClientCertificatesResponse (Maybe [ClientCertificate])
getClientCertificatesResponse_items
((Maybe [ClientCertificate]
-> Const (First [ClientCertificate]) (Maybe [ClientCertificate]))
-> GetClientCertificatesResponse
-> Const (First [ClientCertificate]) GetClientCertificatesResponse)
-> (([ClientCertificate]
-> Const (First [ClientCertificate]) [ClientCertificate])
-> Maybe [ClientCertificate]
-> Const (First [ClientCertificate]) (Maybe [ClientCertificate]))
-> Getting
(First [ClientCertificate])
GetClientCertificatesResponse
[ClientCertificate]
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([ClientCertificate]
-> Const (First [ClientCertificate]) [ClientCertificate])
-> Maybe [ClientCertificate]
-> Const (First [ClientCertificate]) (Maybe [ClientCertificate])
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe GetClientCertificates
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
GetClientCertificates -> Maybe GetClientCertificates
forall a. a -> Maybe a
Prelude.Just (GetClientCertificates -> Maybe GetClientCertificates)
-> GetClientCertificates -> Maybe GetClientCertificates
forall a b. (a -> b) -> a -> b
Prelude.$
GetClientCertificates
rq
GetClientCertificates
-> (GetClientCertificates -> GetClientCertificates)
-> GetClientCertificates
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> GetClientCertificates -> Identity GetClientCertificates
Lens
GetClientCertificates
GetClientCertificates
(Maybe Text)
(Maybe Text)
getClientCertificates_position
((Maybe Text -> Identity (Maybe Text))
-> GetClientCertificates -> Identity GetClientCertificates)
-> Maybe Text -> GetClientCertificates -> GetClientCertificates
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse GetClientCertificates
GetClientCertificatesResponse
rs
GetClientCertificatesResponse
-> Getting (First Text) GetClientCertificatesResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> GetClientCertificatesResponse
-> Const (First Text) GetClientCertificatesResponse
Lens' GetClientCertificatesResponse (Maybe Text)
getClientCertificatesResponse_position
((Maybe Text -> Const (First Text) (Maybe Text))
-> GetClientCertificatesResponse
-> Const (First Text) GetClientCertificatesResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) GetClientCertificatesResponse 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 GetClientCertificates where
type
AWSResponse GetClientCertificates =
GetClientCertificatesResponse
request :: GetClientCertificates -> Request GetClientCertificates
request = Service -> GetClientCertificates -> Request GetClientCertificates
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy GetClientCertificates
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse GetClientCertificates)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse GetClientCertificates))
-> Logger
-> Service
-> Proxy GetClientCertificates
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse GetClientCertificates)))
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 [ClientCertificate]
-> Maybe Text -> Int -> GetClientCertificatesResponse
GetClientCertificatesResponse'
(Maybe [ClientCertificate]
-> Maybe Text -> Int -> GetClientCertificatesResponse)
-> Either String (Maybe [ClientCertificate])
-> Either
String (Maybe Text -> Int -> GetClientCertificatesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [ClientCertificate]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"item" Either String (Maybe (Maybe [ClientCertificate]))
-> Maybe [ClientCertificate]
-> Either String (Maybe [ClientCertificate])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ClientCertificate]
forall a. Monoid a => a
Prelude.mempty)
Either String (Maybe Text -> Int -> GetClientCertificatesResponse)
-> Either String (Maybe Text)
-> Either String (Int -> GetClientCertificatesResponse)
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
"position")
Either String (Int -> GetClientCertificatesResponse)
-> Either String Int -> Either String GetClientCertificatesResponse
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 GetClientCertificates
instance Prelude.NFData GetClientCertificates
instance Core.ToHeaders GetClientCertificates where
toHeaders :: GetClientCertificates -> ResponseHeaders
toHeaders =
ResponseHeaders -> GetClientCertificates -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Accept"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# (ByteString
"application/json" :: Prelude.ByteString)
]
)
instance Core.ToPath GetClientCertificates where
toPath :: GetClientCertificates -> ByteString
toPath = ByteString -> GetClientCertificates -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/clientcertificates"
instance Core.ToQuery GetClientCertificates where
toQuery :: GetClientCertificates -> QueryString
toQuery GetClientCertificates' {Maybe Int
Maybe Text
position :: Maybe Text
limit :: Maybe Int
$sel:position:GetClientCertificates' :: GetClientCertificates -> Maybe Text
$sel:limit:GetClientCertificates' :: GetClientCertificates -> Maybe Int
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"limit" ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
limit, ByteString
"position" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
position]
data GetClientCertificatesResponse = GetClientCertificatesResponse'
{
GetClientCertificatesResponse -> Maybe [ClientCertificate]
items :: Prelude.Maybe [ClientCertificate],
GetClientCertificatesResponse -> Maybe Text
position :: Prelude.Maybe Prelude.Text,
GetClientCertificatesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetClientCertificatesResponse
-> GetClientCertificatesResponse -> Bool
(GetClientCertificatesResponse
-> GetClientCertificatesResponse -> Bool)
-> (GetClientCertificatesResponse
-> GetClientCertificatesResponse -> Bool)
-> Eq GetClientCertificatesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetClientCertificatesResponse
-> GetClientCertificatesResponse -> Bool
$c/= :: GetClientCertificatesResponse
-> GetClientCertificatesResponse -> Bool
== :: GetClientCertificatesResponse
-> GetClientCertificatesResponse -> Bool
$c== :: GetClientCertificatesResponse
-> GetClientCertificatesResponse -> Bool
Prelude.Eq, ReadPrec [GetClientCertificatesResponse]
ReadPrec GetClientCertificatesResponse
Int -> ReadS GetClientCertificatesResponse
ReadS [GetClientCertificatesResponse]
(Int -> ReadS GetClientCertificatesResponse)
-> ReadS [GetClientCertificatesResponse]
-> ReadPrec GetClientCertificatesResponse
-> ReadPrec [GetClientCertificatesResponse]
-> Read GetClientCertificatesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetClientCertificatesResponse]
$creadListPrec :: ReadPrec [GetClientCertificatesResponse]
readPrec :: ReadPrec GetClientCertificatesResponse
$creadPrec :: ReadPrec GetClientCertificatesResponse
readList :: ReadS [GetClientCertificatesResponse]
$creadList :: ReadS [GetClientCertificatesResponse]
readsPrec :: Int -> ReadS GetClientCertificatesResponse
$creadsPrec :: Int -> ReadS GetClientCertificatesResponse
Prelude.Read, Int -> GetClientCertificatesResponse -> ShowS
[GetClientCertificatesResponse] -> ShowS
GetClientCertificatesResponse -> String
(Int -> GetClientCertificatesResponse -> ShowS)
-> (GetClientCertificatesResponse -> String)
-> ([GetClientCertificatesResponse] -> ShowS)
-> Show GetClientCertificatesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetClientCertificatesResponse] -> ShowS
$cshowList :: [GetClientCertificatesResponse] -> ShowS
show :: GetClientCertificatesResponse -> String
$cshow :: GetClientCertificatesResponse -> String
showsPrec :: Int -> GetClientCertificatesResponse -> ShowS
$cshowsPrec :: Int -> GetClientCertificatesResponse -> ShowS
Prelude.Show, (forall x.
GetClientCertificatesResponse
-> Rep GetClientCertificatesResponse x)
-> (forall x.
Rep GetClientCertificatesResponse x
-> GetClientCertificatesResponse)
-> Generic GetClientCertificatesResponse
forall x.
Rep GetClientCertificatesResponse x
-> GetClientCertificatesResponse
forall x.
GetClientCertificatesResponse
-> Rep GetClientCertificatesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetClientCertificatesResponse x
-> GetClientCertificatesResponse
$cfrom :: forall x.
GetClientCertificatesResponse
-> Rep GetClientCertificatesResponse x
Prelude.Generic)
newGetClientCertificatesResponse ::
Prelude.Int ->
GetClientCertificatesResponse
newGetClientCertificatesResponse :: Int -> GetClientCertificatesResponse
newGetClientCertificatesResponse Int
pHttpStatus_ =
GetClientCertificatesResponse' :: Maybe [ClientCertificate]
-> Maybe Text -> Int -> GetClientCertificatesResponse
GetClientCertificatesResponse'
{ $sel:items:GetClientCertificatesResponse' :: Maybe [ClientCertificate]
items =
Maybe [ClientCertificate]
forall a. Maybe a
Prelude.Nothing,
$sel:position:GetClientCertificatesResponse' :: Maybe Text
position = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetClientCertificatesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getClientCertificatesResponse_items :: Lens.Lens' GetClientCertificatesResponse (Prelude.Maybe [ClientCertificate])
getClientCertificatesResponse_items :: (Maybe [ClientCertificate] -> f (Maybe [ClientCertificate]))
-> GetClientCertificatesResponse -> f GetClientCertificatesResponse
getClientCertificatesResponse_items = (GetClientCertificatesResponse -> Maybe [ClientCertificate])
-> (GetClientCertificatesResponse
-> Maybe [ClientCertificate] -> GetClientCertificatesResponse)
-> Lens' GetClientCertificatesResponse (Maybe [ClientCertificate])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetClientCertificatesResponse' {Maybe [ClientCertificate]
items :: Maybe [ClientCertificate]
$sel:items:GetClientCertificatesResponse' :: GetClientCertificatesResponse -> Maybe [ClientCertificate]
items} -> Maybe [ClientCertificate]
items) (\s :: GetClientCertificatesResponse
s@GetClientCertificatesResponse' {} Maybe [ClientCertificate]
a -> GetClientCertificatesResponse
s {$sel:items:GetClientCertificatesResponse' :: Maybe [ClientCertificate]
items = Maybe [ClientCertificate]
a} :: GetClientCertificatesResponse) ((Maybe [ClientCertificate] -> f (Maybe [ClientCertificate]))
-> GetClientCertificatesResponse
-> f GetClientCertificatesResponse)
-> ((Maybe [ClientCertificate] -> f (Maybe [ClientCertificate]))
-> Maybe [ClientCertificate] -> f (Maybe [ClientCertificate]))
-> (Maybe [ClientCertificate] -> f (Maybe [ClientCertificate]))
-> GetClientCertificatesResponse
-> f GetClientCertificatesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ClientCertificate]
[ClientCertificate]
[ClientCertificate]
[ClientCertificate]
-> Iso
(Maybe [ClientCertificate])
(Maybe [ClientCertificate])
(Maybe [ClientCertificate])
(Maybe [ClientCertificate])
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
[ClientCertificate]
[ClientCertificate]
[ClientCertificate]
[ClientCertificate]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
getClientCertificatesResponse_position :: Lens.Lens' GetClientCertificatesResponse (Prelude.Maybe Prelude.Text)
getClientCertificatesResponse_position :: (Maybe Text -> f (Maybe Text))
-> GetClientCertificatesResponse -> f GetClientCertificatesResponse
getClientCertificatesResponse_position = (GetClientCertificatesResponse -> Maybe Text)
-> (GetClientCertificatesResponse
-> Maybe Text -> GetClientCertificatesResponse)
-> Lens' GetClientCertificatesResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetClientCertificatesResponse' {Maybe Text
position :: Maybe Text
$sel:position:GetClientCertificatesResponse' :: GetClientCertificatesResponse -> Maybe Text
position} -> Maybe Text
position) (\s :: GetClientCertificatesResponse
s@GetClientCertificatesResponse' {} Maybe Text
a -> GetClientCertificatesResponse
s {$sel:position:GetClientCertificatesResponse' :: Maybe Text
position = Maybe Text
a} :: GetClientCertificatesResponse)
getClientCertificatesResponse_httpStatus :: Lens.Lens' GetClientCertificatesResponse Prelude.Int
getClientCertificatesResponse_httpStatus :: (Int -> f Int)
-> GetClientCertificatesResponse -> f GetClientCertificatesResponse
getClientCertificatesResponse_httpStatus = (GetClientCertificatesResponse -> Int)
-> (GetClientCertificatesResponse
-> Int -> GetClientCertificatesResponse)
-> Lens
GetClientCertificatesResponse GetClientCertificatesResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetClientCertificatesResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetClientCertificatesResponse' :: GetClientCertificatesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetClientCertificatesResponse
s@GetClientCertificatesResponse' {} Int
a -> GetClientCertificatesResponse
s {$sel:httpStatus:GetClientCertificatesResponse' :: Int
httpStatus = Int
a} :: GetClientCertificatesResponse)
instance Prelude.NFData GetClientCertificatesResponse