{-# 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.ListWebsiteAuthorizationProviders
(
ListWebsiteAuthorizationProviders (..),
newListWebsiteAuthorizationProviders,
listWebsiteAuthorizationProviders_nextToken,
listWebsiteAuthorizationProviders_maxResults,
listWebsiteAuthorizationProviders_fleetArn,
ListWebsiteAuthorizationProvidersResponse (..),
newListWebsiteAuthorizationProvidersResponse,
listWebsiteAuthorizationProvidersResponse_websiteAuthorizationProviders,
listWebsiteAuthorizationProvidersResponse_nextToken,
listWebsiteAuthorizationProvidersResponse_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 ListWebsiteAuthorizationProviders = ListWebsiteAuthorizationProviders'
{
ListWebsiteAuthorizationProviders -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListWebsiteAuthorizationProviders -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListWebsiteAuthorizationProviders -> Text
fleetArn :: Prelude.Text
}
deriving (ListWebsiteAuthorizationProviders
-> ListWebsiteAuthorizationProviders -> Bool
(ListWebsiteAuthorizationProviders
-> ListWebsiteAuthorizationProviders -> Bool)
-> (ListWebsiteAuthorizationProviders
-> ListWebsiteAuthorizationProviders -> Bool)
-> Eq ListWebsiteAuthorizationProviders
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListWebsiteAuthorizationProviders
-> ListWebsiteAuthorizationProviders -> Bool
$c/= :: ListWebsiteAuthorizationProviders
-> ListWebsiteAuthorizationProviders -> Bool
== :: ListWebsiteAuthorizationProviders
-> ListWebsiteAuthorizationProviders -> Bool
$c== :: ListWebsiteAuthorizationProviders
-> ListWebsiteAuthorizationProviders -> Bool
Prelude.Eq, ReadPrec [ListWebsiteAuthorizationProviders]
ReadPrec ListWebsiteAuthorizationProviders
Int -> ReadS ListWebsiteAuthorizationProviders
ReadS [ListWebsiteAuthorizationProviders]
(Int -> ReadS ListWebsiteAuthorizationProviders)
-> ReadS [ListWebsiteAuthorizationProviders]
-> ReadPrec ListWebsiteAuthorizationProviders
-> ReadPrec [ListWebsiteAuthorizationProviders]
-> Read ListWebsiteAuthorizationProviders
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListWebsiteAuthorizationProviders]
$creadListPrec :: ReadPrec [ListWebsiteAuthorizationProviders]
readPrec :: ReadPrec ListWebsiteAuthorizationProviders
$creadPrec :: ReadPrec ListWebsiteAuthorizationProviders
readList :: ReadS [ListWebsiteAuthorizationProviders]
$creadList :: ReadS [ListWebsiteAuthorizationProviders]
readsPrec :: Int -> ReadS ListWebsiteAuthorizationProviders
$creadsPrec :: Int -> ReadS ListWebsiteAuthorizationProviders
Prelude.Read, Int -> ListWebsiteAuthorizationProviders -> ShowS
[ListWebsiteAuthorizationProviders] -> ShowS
ListWebsiteAuthorizationProviders -> String
(Int -> ListWebsiteAuthorizationProviders -> ShowS)
-> (ListWebsiteAuthorizationProviders -> String)
-> ([ListWebsiteAuthorizationProviders] -> ShowS)
-> Show ListWebsiteAuthorizationProviders
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListWebsiteAuthorizationProviders] -> ShowS
$cshowList :: [ListWebsiteAuthorizationProviders] -> ShowS
show :: ListWebsiteAuthorizationProviders -> String
$cshow :: ListWebsiteAuthorizationProviders -> String
showsPrec :: Int -> ListWebsiteAuthorizationProviders -> ShowS
$cshowsPrec :: Int -> ListWebsiteAuthorizationProviders -> ShowS
Prelude.Show, (forall x.
ListWebsiteAuthorizationProviders
-> Rep ListWebsiteAuthorizationProviders x)
-> (forall x.
Rep ListWebsiteAuthorizationProviders x
-> ListWebsiteAuthorizationProviders)
-> Generic ListWebsiteAuthorizationProviders
forall x.
Rep ListWebsiteAuthorizationProviders x
-> ListWebsiteAuthorizationProviders
forall x.
ListWebsiteAuthorizationProviders
-> Rep ListWebsiteAuthorizationProviders x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListWebsiteAuthorizationProviders x
-> ListWebsiteAuthorizationProviders
$cfrom :: forall x.
ListWebsiteAuthorizationProviders
-> Rep ListWebsiteAuthorizationProviders x
Prelude.Generic)
newListWebsiteAuthorizationProviders ::
Prelude.Text ->
ListWebsiteAuthorizationProviders
newListWebsiteAuthorizationProviders :: Text -> ListWebsiteAuthorizationProviders
newListWebsiteAuthorizationProviders Text
pFleetArn_ =
ListWebsiteAuthorizationProviders' :: Maybe Text
-> Maybe Natural -> Text -> ListWebsiteAuthorizationProviders
ListWebsiteAuthorizationProviders'
{ $sel:nextToken:ListWebsiteAuthorizationProviders' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListWebsiteAuthorizationProviders' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:fleetArn:ListWebsiteAuthorizationProviders' :: Text
fleetArn = Text
pFleetArn_
}
listWebsiteAuthorizationProviders_nextToken :: Lens.Lens' ListWebsiteAuthorizationProviders (Prelude.Maybe Prelude.Text)
listWebsiteAuthorizationProviders_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListWebsiteAuthorizationProviders
-> f ListWebsiteAuthorizationProviders
listWebsiteAuthorizationProviders_nextToken = (ListWebsiteAuthorizationProviders -> Maybe Text)
-> (ListWebsiteAuthorizationProviders
-> Maybe Text -> ListWebsiteAuthorizationProviders)
-> Lens
ListWebsiteAuthorizationProviders
ListWebsiteAuthorizationProviders
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListWebsiteAuthorizationProviders' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListWebsiteAuthorizationProviders' :: ListWebsiteAuthorizationProviders -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListWebsiteAuthorizationProviders
s@ListWebsiteAuthorizationProviders' {} Maybe Text
a -> ListWebsiteAuthorizationProviders
s {$sel:nextToken:ListWebsiteAuthorizationProviders' :: Maybe Text
nextToken = Maybe Text
a} :: ListWebsiteAuthorizationProviders)
listWebsiteAuthorizationProviders_maxResults :: Lens.Lens' ListWebsiteAuthorizationProviders (Prelude.Maybe Prelude.Natural)
listWebsiteAuthorizationProviders_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListWebsiteAuthorizationProviders
-> f ListWebsiteAuthorizationProviders
listWebsiteAuthorizationProviders_maxResults = (ListWebsiteAuthorizationProviders -> Maybe Natural)
-> (ListWebsiteAuthorizationProviders
-> Maybe Natural -> ListWebsiteAuthorizationProviders)
-> Lens
ListWebsiteAuthorizationProviders
ListWebsiteAuthorizationProviders
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListWebsiteAuthorizationProviders' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListWebsiteAuthorizationProviders' :: ListWebsiteAuthorizationProviders -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListWebsiteAuthorizationProviders
s@ListWebsiteAuthorizationProviders' {} Maybe Natural
a -> ListWebsiteAuthorizationProviders
s {$sel:maxResults:ListWebsiteAuthorizationProviders' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListWebsiteAuthorizationProviders)
listWebsiteAuthorizationProviders_fleetArn :: Lens.Lens' ListWebsiteAuthorizationProviders Prelude.Text
listWebsiteAuthorizationProviders_fleetArn :: (Text -> f Text)
-> ListWebsiteAuthorizationProviders
-> f ListWebsiteAuthorizationProviders
listWebsiteAuthorizationProviders_fleetArn = (ListWebsiteAuthorizationProviders -> Text)
-> (ListWebsiteAuthorizationProviders
-> Text -> ListWebsiteAuthorizationProviders)
-> Lens
ListWebsiteAuthorizationProviders
ListWebsiteAuthorizationProviders
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListWebsiteAuthorizationProviders' {Text
fleetArn :: Text
$sel:fleetArn:ListWebsiteAuthorizationProviders' :: ListWebsiteAuthorizationProviders -> Text
fleetArn} -> Text
fleetArn) (\s :: ListWebsiteAuthorizationProviders
s@ListWebsiteAuthorizationProviders' {} Text
a -> ListWebsiteAuthorizationProviders
s {$sel:fleetArn:ListWebsiteAuthorizationProviders' :: Text
fleetArn = Text
a} :: ListWebsiteAuthorizationProviders)
instance
Core.AWSRequest
ListWebsiteAuthorizationProviders
where
type
AWSResponse ListWebsiteAuthorizationProviders =
ListWebsiteAuthorizationProvidersResponse
request :: ListWebsiteAuthorizationProviders
-> Request ListWebsiteAuthorizationProviders
request = Service
-> ListWebsiteAuthorizationProviders
-> Request ListWebsiteAuthorizationProviders
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListWebsiteAuthorizationProviders
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse ListWebsiteAuthorizationProviders)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListWebsiteAuthorizationProviders))
-> Logger
-> Service
-> Proxy ListWebsiteAuthorizationProviders
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse ListWebsiteAuthorizationProviders)))
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 [WebsiteAuthorizationProviderSummary]
-> Maybe Text -> Int -> ListWebsiteAuthorizationProvidersResponse
ListWebsiteAuthorizationProvidersResponse'
(Maybe [WebsiteAuthorizationProviderSummary]
-> Maybe Text -> Int -> ListWebsiteAuthorizationProvidersResponse)
-> Either String (Maybe [WebsiteAuthorizationProviderSummary])
-> Either
String
(Maybe Text -> Int -> ListWebsiteAuthorizationProvidersResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object
-> Text
-> Either
String (Maybe (Maybe [WebsiteAuthorizationProviderSummary]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"WebsiteAuthorizationProviders"
Either String (Maybe (Maybe [WebsiteAuthorizationProviderSummary]))
-> Maybe [WebsiteAuthorizationProviderSummary]
-> Either String (Maybe [WebsiteAuthorizationProviderSummary])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [WebsiteAuthorizationProviderSummary]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe Text -> Int -> ListWebsiteAuthorizationProvidersResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListWebsiteAuthorizationProvidersResponse)
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 -> ListWebsiteAuthorizationProvidersResponse)
-> Either String Int
-> Either String ListWebsiteAuthorizationProvidersResponse
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
ListWebsiteAuthorizationProviders
instance
Prelude.NFData
ListWebsiteAuthorizationProviders
instance
Core.ToHeaders
ListWebsiteAuthorizationProviders
where
toHeaders :: ListWebsiteAuthorizationProviders -> ResponseHeaders
toHeaders =
ResponseHeaders
-> ListWebsiteAuthorizationProviders -> 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
ListWebsiteAuthorizationProviders
where
toJSON :: ListWebsiteAuthorizationProviders -> Value
toJSON ListWebsiteAuthorizationProviders' {Maybe Natural
Maybe Text
Text
fleetArn :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:fleetArn:ListWebsiteAuthorizationProviders' :: ListWebsiteAuthorizationProviders -> Text
$sel:maxResults:ListWebsiteAuthorizationProviders' :: ListWebsiteAuthorizationProviders -> Maybe Natural
$sel:nextToken:ListWebsiteAuthorizationProviders' :: ListWebsiteAuthorizationProviders -> 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
ListWebsiteAuthorizationProviders
where
toPath :: ListWebsiteAuthorizationProviders -> ByteString
toPath =
ByteString -> ListWebsiteAuthorizationProviders -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/listWebsiteAuthorizationProviders"
instance
Core.ToQuery
ListWebsiteAuthorizationProviders
where
toQuery :: ListWebsiteAuthorizationProviders -> QueryString
toQuery = QueryString -> ListWebsiteAuthorizationProviders -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListWebsiteAuthorizationProvidersResponse = ListWebsiteAuthorizationProvidersResponse'
{
ListWebsiteAuthorizationProvidersResponse
-> Maybe [WebsiteAuthorizationProviderSummary]
websiteAuthorizationProviders :: Prelude.Maybe [WebsiteAuthorizationProviderSummary],
ListWebsiteAuthorizationProvidersResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListWebsiteAuthorizationProvidersResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListWebsiteAuthorizationProvidersResponse
-> ListWebsiteAuthorizationProvidersResponse -> Bool
(ListWebsiteAuthorizationProvidersResponse
-> ListWebsiteAuthorizationProvidersResponse -> Bool)
-> (ListWebsiteAuthorizationProvidersResponse
-> ListWebsiteAuthorizationProvidersResponse -> Bool)
-> Eq ListWebsiteAuthorizationProvidersResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListWebsiteAuthorizationProvidersResponse
-> ListWebsiteAuthorizationProvidersResponse -> Bool
$c/= :: ListWebsiteAuthorizationProvidersResponse
-> ListWebsiteAuthorizationProvidersResponse -> Bool
== :: ListWebsiteAuthorizationProvidersResponse
-> ListWebsiteAuthorizationProvidersResponse -> Bool
$c== :: ListWebsiteAuthorizationProvidersResponse
-> ListWebsiteAuthorizationProvidersResponse -> Bool
Prelude.Eq, ReadPrec [ListWebsiteAuthorizationProvidersResponse]
ReadPrec ListWebsiteAuthorizationProvidersResponse
Int -> ReadS ListWebsiteAuthorizationProvidersResponse
ReadS [ListWebsiteAuthorizationProvidersResponse]
(Int -> ReadS ListWebsiteAuthorizationProvidersResponse)
-> ReadS [ListWebsiteAuthorizationProvidersResponse]
-> ReadPrec ListWebsiteAuthorizationProvidersResponse
-> ReadPrec [ListWebsiteAuthorizationProvidersResponse]
-> Read ListWebsiteAuthorizationProvidersResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListWebsiteAuthorizationProvidersResponse]
$creadListPrec :: ReadPrec [ListWebsiteAuthorizationProvidersResponse]
readPrec :: ReadPrec ListWebsiteAuthorizationProvidersResponse
$creadPrec :: ReadPrec ListWebsiteAuthorizationProvidersResponse
readList :: ReadS [ListWebsiteAuthorizationProvidersResponse]
$creadList :: ReadS [ListWebsiteAuthorizationProvidersResponse]
readsPrec :: Int -> ReadS ListWebsiteAuthorizationProvidersResponse
$creadsPrec :: Int -> ReadS ListWebsiteAuthorizationProvidersResponse
Prelude.Read, Int -> ListWebsiteAuthorizationProvidersResponse -> ShowS
[ListWebsiteAuthorizationProvidersResponse] -> ShowS
ListWebsiteAuthorizationProvidersResponse -> String
(Int -> ListWebsiteAuthorizationProvidersResponse -> ShowS)
-> (ListWebsiteAuthorizationProvidersResponse -> String)
-> ([ListWebsiteAuthorizationProvidersResponse] -> ShowS)
-> Show ListWebsiteAuthorizationProvidersResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListWebsiteAuthorizationProvidersResponse] -> ShowS
$cshowList :: [ListWebsiteAuthorizationProvidersResponse] -> ShowS
show :: ListWebsiteAuthorizationProvidersResponse -> String
$cshow :: ListWebsiteAuthorizationProvidersResponse -> String
showsPrec :: Int -> ListWebsiteAuthorizationProvidersResponse -> ShowS
$cshowsPrec :: Int -> ListWebsiteAuthorizationProvidersResponse -> ShowS
Prelude.Show, (forall x.
ListWebsiteAuthorizationProvidersResponse
-> Rep ListWebsiteAuthorizationProvidersResponse x)
-> (forall x.
Rep ListWebsiteAuthorizationProvidersResponse x
-> ListWebsiteAuthorizationProvidersResponse)
-> Generic ListWebsiteAuthorizationProvidersResponse
forall x.
Rep ListWebsiteAuthorizationProvidersResponse x
-> ListWebsiteAuthorizationProvidersResponse
forall x.
ListWebsiteAuthorizationProvidersResponse
-> Rep ListWebsiteAuthorizationProvidersResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListWebsiteAuthorizationProvidersResponse x
-> ListWebsiteAuthorizationProvidersResponse
$cfrom :: forall x.
ListWebsiteAuthorizationProvidersResponse
-> Rep ListWebsiteAuthorizationProvidersResponse x
Prelude.Generic)
newListWebsiteAuthorizationProvidersResponse ::
Prelude.Int ->
ListWebsiteAuthorizationProvidersResponse
newListWebsiteAuthorizationProvidersResponse :: Int -> ListWebsiteAuthorizationProvidersResponse
newListWebsiteAuthorizationProvidersResponse
Int
pHttpStatus_ =
ListWebsiteAuthorizationProvidersResponse' :: Maybe [WebsiteAuthorizationProviderSummary]
-> Maybe Text -> Int -> ListWebsiteAuthorizationProvidersResponse
ListWebsiteAuthorizationProvidersResponse'
{ $sel:websiteAuthorizationProviders:ListWebsiteAuthorizationProvidersResponse' :: Maybe [WebsiteAuthorizationProviderSummary]
websiteAuthorizationProviders =
Maybe [WebsiteAuthorizationProviderSummary]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListWebsiteAuthorizationProvidersResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListWebsiteAuthorizationProvidersResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listWebsiteAuthorizationProvidersResponse_websiteAuthorizationProviders :: Lens.Lens' ListWebsiteAuthorizationProvidersResponse (Prelude.Maybe [WebsiteAuthorizationProviderSummary])
listWebsiteAuthorizationProvidersResponse_websiteAuthorizationProviders :: (Maybe [WebsiteAuthorizationProviderSummary]
-> f (Maybe [WebsiteAuthorizationProviderSummary]))
-> ListWebsiteAuthorizationProvidersResponse
-> f ListWebsiteAuthorizationProvidersResponse
listWebsiteAuthorizationProvidersResponse_websiteAuthorizationProviders = (ListWebsiteAuthorizationProvidersResponse
-> Maybe [WebsiteAuthorizationProviderSummary])
-> (ListWebsiteAuthorizationProvidersResponse
-> Maybe [WebsiteAuthorizationProviderSummary]
-> ListWebsiteAuthorizationProvidersResponse)
-> Lens
ListWebsiteAuthorizationProvidersResponse
ListWebsiteAuthorizationProvidersResponse
(Maybe [WebsiteAuthorizationProviderSummary])
(Maybe [WebsiteAuthorizationProviderSummary])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListWebsiteAuthorizationProvidersResponse' {Maybe [WebsiteAuthorizationProviderSummary]
websiteAuthorizationProviders :: Maybe [WebsiteAuthorizationProviderSummary]
$sel:websiteAuthorizationProviders:ListWebsiteAuthorizationProvidersResponse' :: ListWebsiteAuthorizationProvidersResponse
-> Maybe [WebsiteAuthorizationProviderSummary]
websiteAuthorizationProviders} -> Maybe [WebsiteAuthorizationProviderSummary]
websiteAuthorizationProviders) (\s :: ListWebsiteAuthorizationProvidersResponse
s@ListWebsiteAuthorizationProvidersResponse' {} Maybe [WebsiteAuthorizationProviderSummary]
a -> ListWebsiteAuthorizationProvidersResponse
s {$sel:websiteAuthorizationProviders:ListWebsiteAuthorizationProvidersResponse' :: Maybe [WebsiteAuthorizationProviderSummary]
websiteAuthorizationProviders = Maybe [WebsiteAuthorizationProviderSummary]
a} :: ListWebsiteAuthorizationProvidersResponse) ((Maybe [WebsiteAuthorizationProviderSummary]
-> f (Maybe [WebsiteAuthorizationProviderSummary]))
-> ListWebsiteAuthorizationProvidersResponse
-> f ListWebsiteAuthorizationProvidersResponse)
-> ((Maybe [WebsiteAuthorizationProviderSummary]
-> f (Maybe [WebsiteAuthorizationProviderSummary]))
-> Maybe [WebsiteAuthorizationProviderSummary]
-> f (Maybe [WebsiteAuthorizationProviderSummary]))
-> (Maybe [WebsiteAuthorizationProviderSummary]
-> f (Maybe [WebsiteAuthorizationProviderSummary]))
-> ListWebsiteAuthorizationProvidersResponse
-> f ListWebsiteAuthorizationProvidersResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[WebsiteAuthorizationProviderSummary]
[WebsiteAuthorizationProviderSummary]
[WebsiteAuthorizationProviderSummary]
[WebsiteAuthorizationProviderSummary]
-> Iso
(Maybe [WebsiteAuthorizationProviderSummary])
(Maybe [WebsiteAuthorizationProviderSummary])
(Maybe [WebsiteAuthorizationProviderSummary])
(Maybe [WebsiteAuthorizationProviderSummary])
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
[WebsiteAuthorizationProviderSummary]
[WebsiteAuthorizationProviderSummary]
[WebsiteAuthorizationProviderSummary]
[WebsiteAuthorizationProviderSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listWebsiteAuthorizationProvidersResponse_nextToken :: Lens.Lens' ListWebsiteAuthorizationProvidersResponse (Prelude.Maybe Prelude.Text)
listWebsiteAuthorizationProvidersResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListWebsiteAuthorizationProvidersResponse
-> f ListWebsiteAuthorizationProvidersResponse
listWebsiteAuthorizationProvidersResponse_nextToken = (ListWebsiteAuthorizationProvidersResponse -> Maybe Text)
-> (ListWebsiteAuthorizationProvidersResponse
-> Maybe Text -> ListWebsiteAuthorizationProvidersResponse)
-> Lens
ListWebsiteAuthorizationProvidersResponse
ListWebsiteAuthorizationProvidersResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListWebsiteAuthorizationProvidersResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListWebsiteAuthorizationProvidersResponse' :: ListWebsiteAuthorizationProvidersResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListWebsiteAuthorizationProvidersResponse
s@ListWebsiteAuthorizationProvidersResponse' {} Maybe Text
a -> ListWebsiteAuthorizationProvidersResponse
s {$sel:nextToken:ListWebsiteAuthorizationProvidersResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListWebsiteAuthorizationProvidersResponse)
listWebsiteAuthorizationProvidersResponse_httpStatus :: Lens.Lens' ListWebsiteAuthorizationProvidersResponse Prelude.Int
listWebsiteAuthorizationProvidersResponse_httpStatus :: (Int -> f Int)
-> ListWebsiteAuthorizationProvidersResponse
-> f ListWebsiteAuthorizationProvidersResponse
listWebsiteAuthorizationProvidersResponse_httpStatus = (ListWebsiteAuthorizationProvidersResponse -> Int)
-> (ListWebsiteAuthorizationProvidersResponse
-> Int -> ListWebsiteAuthorizationProvidersResponse)
-> Lens
ListWebsiteAuthorizationProvidersResponse
ListWebsiteAuthorizationProvidersResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListWebsiteAuthorizationProvidersResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListWebsiteAuthorizationProvidersResponse' :: ListWebsiteAuthorizationProvidersResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListWebsiteAuthorizationProvidersResponse
s@ListWebsiteAuthorizationProvidersResponse' {} Int
a -> ListWebsiteAuthorizationProvidersResponse
s {$sel:httpStatus:ListWebsiteAuthorizationProvidersResponse' :: Int
httpStatus = Int
a} :: ListWebsiteAuthorizationProvidersResponse)
instance
Prelude.NFData
ListWebsiteAuthorizationProvidersResponse