{-# 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.WorkLink.ListWebsiteCertificateAuthorities
(
ListWebsiteCertificateAuthorities (..),
newListWebsiteCertificateAuthorities,
listWebsiteCertificateAuthorities_nextToken,
listWebsiteCertificateAuthorities_maxResults,
listWebsiteCertificateAuthorities_fleetArn,
ListWebsiteCertificateAuthoritiesResponse (..),
newListWebsiteCertificateAuthoritiesResponse,
listWebsiteCertificateAuthoritiesResponse_websiteCertificateAuthorities,
listWebsiteCertificateAuthoritiesResponse_nextToken,
listWebsiteCertificateAuthoritiesResponse_httpStatus,
)
where
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
import Amazonka.WorkLink.Types
data ListWebsiteCertificateAuthorities = ListWebsiteCertificateAuthorities'
{
ListWebsiteCertificateAuthorities -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListWebsiteCertificateAuthorities -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListWebsiteCertificateAuthorities -> Text
fleetArn :: Prelude.Text
}
deriving (ListWebsiteCertificateAuthorities
-> ListWebsiteCertificateAuthorities -> Bool
(ListWebsiteCertificateAuthorities
-> ListWebsiteCertificateAuthorities -> Bool)
-> (ListWebsiteCertificateAuthorities
-> ListWebsiteCertificateAuthorities -> Bool)
-> Eq ListWebsiteCertificateAuthorities
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListWebsiteCertificateAuthorities
-> ListWebsiteCertificateAuthorities -> Bool
$c/= :: ListWebsiteCertificateAuthorities
-> ListWebsiteCertificateAuthorities -> Bool
== :: ListWebsiteCertificateAuthorities
-> ListWebsiteCertificateAuthorities -> Bool
$c== :: ListWebsiteCertificateAuthorities
-> ListWebsiteCertificateAuthorities -> Bool
Prelude.Eq, ReadPrec [ListWebsiteCertificateAuthorities]
ReadPrec ListWebsiteCertificateAuthorities
Int -> ReadS ListWebsiteCertificateAuthorities
ReadS [ListWebsiteCertificateAuthorities]
(Int -> ReadS ListWebsiteCertificateAuthorities)
-> ReadS [ListWebsiteCertificateAuthorities]
-> ReadPrec ListWebsiteCertificateAuthorities
-> ReadPrec [ListWebsiteCertificateAuthorities]
-> Read ListWebsiteCertificateAuthorities
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListWebsiteCertificateAuthorities]
$creadListPrec :: ReadPrec [ListWebsiteCertificateAuthorities]
readPrec :: ReadPrec ListWebsiteCertificateAuthorities
$creadPrec :: ReadPrec ListWebsiteCertificateAuthorities
readList :: ReadS [ListWebsiteCertificateAuthorities]
$creadList :: ReadS [ListWebsiteCertificateAuthorities]
readsPrec :: Int -> ReadS ListWebsiteCertificateAuthorities
$creadsPrec :: Int -> ReadS ListWebsiteCertificateAuthorities
Prelude.Read, Int -> ListWebsiteCertificateAuthorities -> ShowS
[ListWebsiteCertificateAuthorities] -> ShowS
ListWebsiteCertificateAuthorities -> String
(Int -> ListWebsiteCertificateAuthorities -> ShowS)
-> (ListWebsiteCertificateAuthorities -> String)
-> ([ListWebsiteCertificateAuthorities] -> ShowS)
-> Show ListWebsiteCertificateAuthorities
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListWebsiteCertificateAuthorities] -> ShowS
$cshowList :: [ListWebsiteCertificateAuthorities] -> ShowS
show :: ListWebsiteCertificateAuthorities -> String
$cshow :: ListWebsiteCertificateAuthorities -> String
showsPrec :: Int -> ListWebsiteCertificateAuthorities -> ShowS
$cshowsPrec :: Int -> ListWebsiteCertificateAuthorities -> ShowS
Prelude.Show, (forall x.
ListWebsiteCertificateAuthorities
-> Rep ListWebsiteCertificateAuthorities x)
-> (forall x.
Rep ListWebsiteCertificateAuthorities x
-> ListWebsiteCertificateAuthorities)
-> Generic ListWebsiteCertificateAuthorities
forall x.
Rep ListWebsiteCertificateAuthorities x
-> ListWebsiteCertificateAuthorities
forall x.
ListWebsiteCertificateAuthorities
-> Rep ListWebsiteCertificateAuthorities x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListWebsiteCertificateAuthorities x
-> ListWebsiteCertificateAuthorities
$cfrom :: forall x.
ListWebsiteCertificateAuthorities
-> Rep ListWebsiteCertificateAuthorities x
Prelude.Generic)
newListWebsiteCertificateAuthorities ::
Prelude.Text ->
ListWebsiteCertificateAuthorities
newListWebsiteCertificateAuthorities :: Text -> ListWebsiteCertificateAuthorities
newListWebsiteCertificateAuthorities Text
pFleetArn_ =
ListWebsiteCertificateAuthorities' :: Maybe Text
-> Maybe Natural -> Text -> ListWebsiteCertificateAuthorities
ListWebsiteCertificateAuthorities'
{ $sel:nextToken:ListWebsiteCertificateAuthorities' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListWebsiteCertificateAuthorities' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:fleetArn:ListWebsiteCertificateAuthorities' :: Text
fleetArn = Text
pFleetArn_
}
listWebsiteCertificateAuthorities_nextToken :: Lens.Lens' ListWebsiteCertificateAuthorities (Prelude.Maybe Prelude.Text)
listWebsiteCertificateAuthorities_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListWebsiteCertificateAuthorities
-> f ListWebsiteCertificateAuthorities
listWebsiteCertificateAuthorities_nextToken = (ListWebsiteCertificateAuthorities -> Maybe Text)
-> (ListWebsiteCertificateAuthorities
-> Maybe Text -> ListWebsiteCertificateAuthorities)
-> Lens
ListWebsiteCertificateAuthorities
ListWebsiteCertificateAuthorities
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListWebsiteCertificateAuthorities' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListWebsiteCertificateAuthorities' :: ListWebsiteCertificateAuthorities -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListWebsiteCertificateAuthorities
s@ListWebsiteCertificateAuthorities' {} Maybe Text
a -> ListWebsiteCertificateAuthorities
s {$sel:nextToken:ListWebsiteCertificateAuthorities' :: Maybe Text
nextToken = Maybe Text
a} :: ListWebsiteCertificateAuthorities)
listWebsiteCertificateAuthorities_maxResults :: Lens.Lens' ListWebsiteCertificateAuthorities (Prelude.Maybe Prelude.Natural)
listWebsiteCertificateAuthorities_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListWebsiteCertificateAuthorities
-> f ListWebsiteCertificateAuthorities
listWebsiteCertificateAuthorities_maxResults = (ListWebsiteCertificateAuthorities -> Maybe Natural)
-> (ListWebsiteCertificateAuthorities
-> Maybe Natural -> ListWebsiteCertificateAuthorities)
-> Lens
ListWebsiteCertificateAuthorities
ListWebsiteCertificateAuthorities
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListWebsiteCertificateAuthorities' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListWebsiteCertificateAuthorities' :: ListWebsiteCertificateAuthorities -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListWebsiteCertificateAuthorities
s@ListWebsiteCertificateAuthorities' {} Maybe Natural
a -> ListWebsiteCertificateAuthorities
s {$sel:maxResults:ListWebsiteCertificateAuthorities' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListWebsiteCertificateAuthorities)
listWebsiteCertificateAuthorities_fleetArn :: Lens.Lens' ListWebsiteCertificateAuthorities Prelude.Text
listWebsiteCertificateAuthorities_fleetArn :: (Text -> f Text)
-> ListWebsiteCertificateAuthorities
-> f ListWebsiteCertificateAuthorities
listWebsiteCertificateAuthorities_fleetArn = (ListWebsiteCertificateAuthorities -> Text)
-> (ListWebsiteCertificateAuthorities
-> Text -> ListWebsiteCertificateAuthorities)
-> Lens
ListWebsiteCertificateAuthorities
ListWebsiteCertificateAuthorities
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListWebsiteCertificateAuthorities' {Text
fleetArn :: Text
$sel:fleetArn:ListWebsiteCertificateAuthorities' :: ListWebsiteCertificateAuthorities -> Text
fleetArn} -> Text
fleetArn) (\s :: ListWebsiteCertificateAuthorities
s@ListWebsiteCertificateAuthorities' {} Text
a -> ListWebsiteCertificateAuthorities
s {$sel:fleetArn:ListWebsiteCertificateAuthorities' :: Text
fleetArn = Text
a} :: ListWebsiteCertificateAuthorities)
instance
Core.AWSRequest
ListWebsiteCertificateAuthorities
where
type
AWSResponse ListWebsiteCertificateAuthorities =
ListWebsiteCertificateAuthoritiesResponse
request :: ListWebsiteCertificateAuthorities
-> Request ListWebsiteCertificateAuthorities
request = Service
-> ListWebsiteCertificateAuthorities
-> Request ListWebsiteCertificateAuthorities
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListWebsiteCertificateAuthorities
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse ListWebsiteCertificateAuthorities)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListWebsiteCertificateAuthorities))
-> Logger
-> Service
-> Proxy ListWebsiteCertificateAuthorities
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse ListWebsiteCertificateAuthorities)))
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 [WebsiteCaSummary]
-> Maybe Text -> Int -> ListWebsiteCertificateAuthoritiesResponse
ListWebsiteCertificateAuthoritiesResponse'
(Maybe [WebsiteCaSummary]
-> Maybe Text -> Int -> ListWebsiteCertificateAuthoritiesResponse)
-> Either String (Maybe [WebsiteCaSummary])
-> Either
String
(Maybe Text -> Int -> ListWebsiteCertificateAuthoritiesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object -> Text -> Either String (Maybe (Maybe [WebsiteCaSummary]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"WebsiteCertificateAuthorities"
Either String (Maybe (Maybe [WebsiteCaSummary]))
-> Maybe [WebsiteCaSummary]
-> Either String (Maybe [WebsiteCaSummary])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [WebsiteCaSummary]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe Text -> Int -> ListWebsiteCertificateAuthoritiesResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListWebsiteCertificateAuthoritiesResponse)
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 -> ListWebsiteCertificateAuthoritiesResponse)
-> Either String Int
-> Either String ListWebsiteCertificateAuthoritiesResponse
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
ListWebsiteCertificateAuthorities
instance
Prelude.NFData
ListWebsiteCertificateAuthorities
instance
Core.ToHeaders
ListWebsiteCertificateAuthorities
where
toHeaders :: ListWebsiteCertificateAuthorities -> ResponseHeaders
toHeaders =
ResponseHeaders
-> ListWebsiteCertificateAuthorities -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ 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
ListWebsiteCertificateAuthorities
where
toJSON :: ListWebsiteCertificateAuthorities -> Value
toJSON ListWebsiteCertificateAuthorities' {Maybe Natural
Maybe Text
Text
fleetArn :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:fleetArn:ListWebsiteCertificateAuthorities' :: ListWebsiteCertificateAuthorities -> Text
$sel:maxResults:ListWebsiteCertificateAuthorities' :: ListWebsiteCertificateAuthorities -> Maybe Natural
$sel:nextToken:ListWebsiteCertificateAuthorities' :: ListWebsiteCertificateAuthorities -> 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,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"FleetArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
fleetArn)
]
)
instance
Core.ToPath
ListWebsiteCertificateAuthorities
where
toPath :: ListWebsiteCertificateAuthorities -> ByteString
toPath =
ByteString -> ListWebsiteCertificateAuthorities -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/listWebsiteCertificateAuthorities"
instance
Core.ToQuery
ListWebsiteCertificateAuthorities
where
toQuery :: ListWebsiteCertificateAuthorities -> QueryString
toQuery = QueryString -> ListWebsiteCertificateAuthorities -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListWebsiteCertificateAuthoritiesResponse = ListWebsiteCertificateAuthoritiesResponse'
{
ListWebsiteCertificateAuthoritiesResponse
-> Maybe [WebsiteCaSummary]
websiteCertificateAuthorities :: Prelude.Maybe [WebsiteCaSummary],
ListWebsiteCertificateAuthoritiesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListWebsiteCertificateAuthoritiesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListWebsiteCertificateAuthoritiesResponse
-> ListWebsiteCertificateAuthoritiesResponse -> Bool
(ListWebsiteCertificateAuthoritiesResponse
-> ListWebsiteCertificateAuthoritiesResponse -> Bool)
-> (ListWebsiteCertificateAuthoritiesResponse
-> ListWebsiteCertificateAuthoritiesResponse -> Bool)
-> Eq ListWebsiteCertificateAuthoritiesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListWebsiteCertificateAuthoritiesResponse
-> ListWebsiteCertificateAuthoritiesResponse -> Bool
$c/= :: ListWebsiteCertificateAuthoritiesResponse
-> ListWebsiteCertificateAuthoritiesResponse -> Bool
== :: ListWebsiteCertificateAuthoritiesResponse
-> ListWebsiteCertificateAuthoritiesResponse -> Bool
$c== :: ListWebsiteCertificateAuthoritiesResponse
-> ListWebsiteCertificateAuthoritiesResponse -> Bool
Prelude.Eq, ReadPrec [ListWebsiteCertificateAuthoritiesResponse]
ReadPrec ListWebsiteCertificateAuthoritiesResponse
Int -> ReadS ListWebsiteCertificateAuthoritiesResponse
ReadS [ListWebsiteCertificateAuthoritiesResponse]
(Int -> ReadS ListWebsiteCertificateAuthoritiesResponse)
-> ReadS [ListWebsiteCertificateAuthoritiesResponse]
-> ReadPrec ListWebsiteCertificateAuthoritiesResponse
-> ReadPrec [ListWebsiteCertificateAuthoritiesResponse]
-> Read ListWebsiteCertificateAuthoritiesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListWebsiteCertificateAuthoritiesResponse]
$creadListPrec :: ReadPrec [ListWebsiteCertificateAuthoritiesResponse]
readPrec :: ReadPrec ListWebsiteCertificateAuthoritiesResponse
$creadPrec :: ReadPrec ListWebsiteCertificateAuthoritiesResponse
readList :: ReadS [ListWebsiteCertificateAuthoritiesResponse]
$creadList :: ReadS [ListWebsiteCertificateAuthoritiesResponse]
readsPrec :: Int -> ReadS ListWebsiteCertificateAuthoritiesResponse
$creadsPrec :: Int -> ReadS ListWebsiteCertificateAuthoritiesResponse
Prelude.Read, Int -> ListWebsiteCertificateAuthoritiesResponse -> ShowS
[ListWebsiteCertificateAuthoritiesResponse] -> ShowS
ListWebsiteCertificateAuthoritiesResponse -> String
(Int -> ListWebsiteCertificateAuthoritiesResponse -> ShowS)
-> (ListWebsiteCertificateAuthoritiesResponse -> String)
-> ([ListWebsiteCertificateAuthoritiesResponse] -> ShowS)
-> Show ListWebsiteCertificateAuthoritiesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListWebsiteCertificateAuthoritiesResponse] -> ShowS
$cshowList :: [ListWebsiteCertificateAuthoritiesResponse] -> ShowS
show :: ListWebsiteCertificateAuthoritiesResponse -> String
$cshow :: ListWebsiteCertificateAuthoritiesResponse -> String
showsPrec :: Int -> ListWebsiteCertificateAuthoritiesResponse -> ShowS
$cshowsPrec :: Int -> ListWebsiteCertificateAuthoritiesResponse -> ShowS
Prelude.Show, (forall x.
ListWebsiteCertificateAuthoritiesResponse
-> Rep ListWebsiteCertificateAuthoritiesResponse x)
-> (forall x.
Rep ListWebsiteCertificateAuthoritiesResponse x
-> ListWebsiteCertificateAuthoritiesResponse)
-> Generic ListWebsiteCertificateAuthoritiesResponse
forall x.
Rep ListWebsiteCertificateAuthoritiesResponse x
-> ListWebsiteCertificateAuthoritiesResponse
forall x.
ListWebsiteCertificateAuthoritiesResponse
-> Rep ListWebsiteCertificateAuthoritiesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListWebsiteCertificateAuthoritiesResponse x
-> ListWebsiteCertificateAuthoritiesResponse
$cfrom :: forall x.
ListWebsiteCertificateAuthoritiesResponse
-> Rep ListWebsiteCertificateAuthoritiesResponse x
Prelude.Generic)
newListWebsiteCertificateAuthoritiesResponse ::
Prelude.Int ->
ListWebsiteCertificateAuthoritiesResponse
newListWebsiteCertificateAuthoritiesResponse :: Int -> ListWebsiteCertificateAuthoritiesResponse
newListWebsiteCertificateAuthoritiesResponse
Int
pHttpStatus_ =
ListWebsiteCertificateAuthoritiesResponse' :: Maybe [WebsiteCaSummary]
-> Maybe Text -> Int -> ListWebsiteCertificateAuthoritiesResponse
ListWebsiteCertificateAuthoritiesResponse'
{ $sel:websiteCertificateAuthorities:ListWebsiteCertificateAuthoritiesResponse' :: Maybe [WebsiteCaSummary]
websiteCertificateAuthorities =
Maybe [WebsiteCaSummary]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListWebsiteCertificateAuthoritiesResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListWebsiteCertificateAuthoritiesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listWebsiteCertificateAuthoritiesResponse_websiteCertificateAuthorities :: Lens.Lens' ListWebsiteCertificateAuthoritiesResponse (Prelude.Maybe [WebsiteCaSummary])
listWebsiteCertificateAuthoritiesResponse_websiteCertificateAuthorities :: (Maybe [WebsiteCaSummary] -> f (Maybe [WebsiteCaSummary]))
-> ListWebsiteCertificateAuthoritiesResponse
-> f ListWebsiteCertificateAuthoritiesResponse
listWebsiteCertificateAuthoritiesResponse_websiteCertificateAuthorities = (ListWebsiteCertificateAuthoritiesResponse
-> Maybe [WebsiteCaSummary])
-> (ListWebsiteCertificateAuthoritiesResponse
-> Maybe [WebsiteCaSummary]
-> ListWebsiteCertificateAuthoritiesResponse)
-> Lens
ListWebsiteCertificateAuthoritiesResponse
ListWebsiteCertificateAuthoritiesResponse
(Maybe [WebsiteCaSummary])
(Maybe [WebsiteCaSummary])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListWebsiteCertificateAuthoritiesResponse' {Maybe [WebsiteCaSummary]
websiteCertificateAuthorities :: Maybe [WebsiteCaSummary]
$sel:websiteCertificateAuthorities:ListWebsiteCertificateAuthoritiesResponse' :: ListWebsiteCertificateAuthoritiesResponse
-> Maybe [WebsiteCaSummary]
websiteCertificateAuthorities} -> Maybe [WebsiteCaSummary]
websiteCertificateAuthorities) (\s :: ListWebsiteCertificateAuthoritiesResponse
s@ListWebsiteCertificateAuthoritiesResponse' {} Maybe [WebsiteCaSummary]
a -> ListWebsiteCertificateAuthoritiesResponse
s {$sel:websiteCertificateAuthorities:ListWebsiteCertificateAuthoritiesResponse' :: Maybe [WebsiteCaSummary]
websiteCertificateAuthorities = Maybe [WebsiteCaSummary]
a} :: ListWebsiteCertificateAuthoritiesResponse) ((Maybe [WebsiteCaSummary] -> f (Maybe [WebsiteCaSummary]))
-> ListWebsiteCertificateAuthoritiesResponse
-> f ListWebsiteCertificateAuthoritiesResponse)
-> ((Maybe [WebsiteCaSummary] -> f (Maybe [WebsiteCaSummary]))
-> Maybe [WebsiteCaSummary] -> f (Maybe [WebsiteCaSummary]))
-> (Maybe [WebsiteCaSummary] -> f (Maybe [WebsiteCaSummary]))
-> ListWebsiteCertificateAuthoritiesResponse
-> f ListWebsiteCertificateAuthoritiesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[WebsiteCaSummary]
[WebsiteCaSummary]
[WebsiteCaSummary]
[WebsiteCaSummary]
-> Iso
(Maybe [WebsiteCaSummary])
(Maybe [WebsiteCaSummary])
(Maybe [WebsiteCaSummary])
(Maybe [WebsiteCaSummary])
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
[WebsiteCaSummary]
[WebsiteCaSummary]
[WebsiteCaSummary]
[WebsiteCaSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listWebsiteCertificateAuthoritiesResponse_nextToken :: Lens.Lens' ListWebsiteCertificateAuthoritiesResponse (Prelude.Maybe Prelude.Text)
listWebsiteCertificateAuthoritiesResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListWebsiteCertificateAuthoritiesResponse
-> f ListWebsiteCertificateAuthoritiesResponse
listWebsiteCertificateAuthoritiesResponse_nextToken = (ListWebsiteCertificateAuthoritiesResponse -> Maybe Text)
-> (ListWebsiteCertificateAuthoritiesResponse
-> Maybe Text -> ListWebsiteCertificateAuthoritiesResponse)
-> Lens
ListWebsiteCertificateAuthoritiesResponse
ListWebsiteCertificateAuthoritiesResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListWebsiteCertificateAuthoritiesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListWebsiteCertificateAuthoritiesResponse' :: ListWebsiteCertificateAuthoritiesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListWebsiteCertificateAuthoritiesResponse
s@ListWebsiteCertificateAuthoritiesResponse' {} Maybe Text
a -> ListWebsiteCertificateAuthoritiesResponse
s {$sel:nextToken:ListWebsiteCertificateAuthoritiesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListWebsiteCertificateAuthoritiesResponse)
listWebsiteCertificateAuthoritiesResponse_httpStatus :: Lens.Lens' ListWebsiteCertificateAuthoritiesResponse Prelude.Int
listWebsiteCertificateAuthoritiesResponse_httpStatus :: (Int -> f Int)
-> ListWebsiteCertificateAuthoritiesResponse
-> f ListWebsiteCertificateAuthoritiesResponse
listWebsiteCertificateAuthoritiesResponse_httpStatus = (ListWebsiteCertificateAuthoritiesResponse -> Int)
-> (ListWebsiteCertificateAuthoritiesResponse
-> Int -> ListWebsiteCertificateAuthoritiesResponse)
-> Lens
ListWebsiteCertificateAuthoritiesResponse
ListWebsiteCertificateAuthoritiesResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListWebsiteCertificateAuthoritiesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListWebsiteCertificateAuthoritiesResponse' :: ListWebsiteCertificateAuthoritiesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListWebsiteCertificateAuthoritiesResponse
s@ListWebsiteCertificateAuthoritiesResponse' {} Int
a -> ListWebsiteCertificateAuthoritiesResponse
s {$sel:httpStatus:ListWebsiteCertificateAuthoritiesResponse' :: Int
httpStatus = Int
a} :: ListWebsiteCertificateAuthoritiesResponse)
instance
Prelude.NFData
ListWebsiteCertificateAuthoritiesResponse