{-# 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.IAM.ListSAMLProviderTags
(
ListSAMLProviderTags (..),
newListSAMLProviderTags,
listSAMLProviderTags_marker,
listSAMLProviderTags_maxItems,
listSAMLProviderTags_sAMLProviderArn,
ListSAMLProviderTagsResponse (..),
newListSAMLProviderTagsResponse,
listSAMLProviderTagsResponse_marker,
listSAMLProviderTagsResponse_isTruncated,
listSAMLProviderTagsResponse_httpStatus,
listSAMLProviderTagsResponse_tags,
)
where
import qualified Amazonka.Core as Core
import Amazonka.IAM.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 ListSAMLProviderTags = ListSAMLProviderTags'
{
ListSAMLProviderTags -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
ListSAMLProviderTags -> Maybe Natural
maxItems :: Prelude.Maybe Prelude.Natural,
ListSAMLProviderTags -> Text
sAMLProviderArn :: Prelude.Text
}
deriving (ListSAMLProviderTags -> ListSAMLProviderTags -> Bool
(ListSAMLProviderTags -> ListSAMLProviderTags -> Bool)
-> (ListSAMLProviderTags -> ListSAMLProviderTags -> Bool)
-> Eq ListSAMLProviderTags
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListSAMLProviderTags -> ListSAMLProviderTags -> Bool
$c/= :: ListSAMLProviderTags -> ListSAMLProviderTags -> Bool
== :: ListSAMLProviderTags -> ListSAMLProviderTags -> Bool
$c== :: ListSAMLProviderTags -> ListSAMLProviderTags -> Bool
Prelude.Eq, ReadPrec [ListSAMLProviderTags]
ReadPrec ListSAMLProviderTags
Int -> ReadS ListSAMLProviderTags
ReadS [ListSAMLProviderTags]
(Int -> ReadS ListSAMLProviderTags)
-> ReadS [ListSAMLProviderTags]
-> ReadPrec ListSAMLProviderTags
-> ReadPrec [ListSAMLProviderTags]
-> Read ListSAMLProviderTags
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListSAMLProviderTags]
$creadListPrec :: ReadPrec [ListSAMLProviderTags]
readPrec :: ReadPrec ListSAMLProviderTags
$creadPrec :: ReadPrec ListSAMLProviderTags
readList :: ReadS [ListSAMLProviderTags]
$creadList :: ReadS [ListSAMLProviderTags]
readsPrec :: Int -> ReadS ListSAMLProviderTags
$creadsPrec :: Int -> ReadS ListSAMLProviderTags
Prelude.Read, Int -> ListSAMLProviderTags -> ShowS
[ListSAMLProviderTags] -> ShowS
ListSAMLProviderTags -> String
(Int -> ListSAMLProviderTags -> ShowS)
-> (ListSAMLProviderTags -> String)
-> ([ListSAMLProviderTags] -> ShowS)
-> Show ListSAMLProviderTags
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListSAMLProviderTags] -> ShowS
$cshowList :: [ListSAMLProviderTags] -> ShowS
show :: ListSAMLProviderTags -> String
$cshow :: ListSAMLProviderTags -> String
showsPrec :: Int -> ListSAMLProviderTags -> ShowS
$cshowsPrec :: Int -> ListSAMLProviderTags -> ShowS
Prelude.Show, (forall x. ListSAMLProviderTags -> Rep ListSAMLProviderTags x)
-> (forall x. Rep ListSAMLProviderTags x -> ListSAMLProviderTags)
-> Generic ListSAMLProviderTags
forall x. Rep ListSAMLProviderTags x -> ListSAMLProviderTags
forall x. ListSAMLProviderTags -> Rep ListSAMLProviderTags x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListSAMLProviderTags x -> ListSAMLProviderTags
$cfrom :: forall x. ListSAMLProviderTags -> Rep ListSAMLProviderTags x
Prelude.Generic)
newListSAMLProviderTags ::
Prelude.Text ->
ListSAMLProviderTags
newListSAMLProviderTags :: Text -> ListSAMLProviderTags
newListSAMLProviderTags Text
pSAMLProviderArn_ =
ListSAMLProviderTags' :: Maybe Text -> Maybe Natural -> Text -> ListSAMLProviderTags
ListSAMLProviderTags'
{ $sel:marker:ListSAMLProviderTags' :: Maybe Text
marker = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxItems:ListSAMLProviderTags' :: Maybe Natural
maxItems = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:sAMLProviderArn:ListSAMLProviderTags' :: Text
sAMLProviderArn = Text
pSAMLProviderArn_
}
listSAMLProviderTags_marker :: Lens.Lens' ListSAMLProviderTags (Prelude.Maybe Prelude.Text)
listSAMLProviderTags_marker :: (Maybe Text -> f (Maybe Text))
-> ListSAMLProviderTags -> f ListSAMLProviderTags
listSAMLProviderTags_marker = (ListSAMLProviderTags -> Maybe Text)
-> (ListSAMLProviderTags -> Maybe Text -> ListSAMLProviderTags)
-> Lens
ListSAMLProviderTags ListSAMLProviderTags (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSAMLProviderTags' {Maybe Text
marker :: Maybe Text
$sel:marker:ListSAMLProviderTags' :: ListSAMLProviderTags -> Maybe Text
marker} -> Maybe Text
marker) (\s :: ListSAMLProviderTags
s@ListSAMLProviderTags' {} Maybe Text
a -> ListSAMLProviderTags
s {$sel:marker:ListSAMLProviderTags' :: Maybe Text
marker = Maybe Text
a} :: ListSAMLProviderTags)
listSAMLProviderTags_maxItems :: Lens.Lens' ListSAMLProviderTags (Prelude.Maybe Prelude.Natural)
listSAMLProviderTags_maxItems :: (Maybe Natural -> f (Maybe Natural))
-> ListSAMLProviderTags -> f ListSAMLProviderTags
listSAMLProviderTags_maxItems = (ListSAMLProviderTags -> Maybe Natural)
-> (ListSAMLProviderTags -> Maybe Natural -> ListSAMLProviderTags)
-> Lens
ListSAMLProviderTags
ListSAMLProviderTags
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSAMLProviderTags' {Maybe Natural
maxItems :: Maybe Natural
$sel:maxItems:ListSAMLProviderTags' :: ListSAMLProviderTags -> Maybe Natural
maxItems} -> Maybe Natural
maxItems) (\s :: ListSAMLProviderTags
s@ListSAMLProviderTags' {} Maybe Natural
a -> ListSAMLProviderTags
s {$sel:maxItems:ListSAMLProviderTags' :: Maybe Natural
maxItems = Maybe Natural
a} :: ListSAMLProviderTags)
listSAMLProviderTags_sAMLProviderArn :: Lens.Lens' ListSAMLProviderTags Prelude.Text
listSAMLProviderTags_sAMLProviderArn :: (Text -> f Text) -> ListSAMLProviderTags -> f ListSAMLProviderTags
listSAMLProviderTags_sAMLProviderArn = (ListSAMLProviderTags -> Text)
-> (ListSAMLProviderTags -> Text -> ListSAMLProviderTags)
-> Lens ListSAMLProviderTags ListSAMLProviderTags Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSAMLProviderTags' {Text
sAMLProviderArn :: Text
$sel:sAMLProviderArn:ListSAMLProviderTags' :: ListSAMLProviderTags -> Text
sAMLProviderArn} -> Text
sAMLProviderArn) (\s :: ListSAMLProviderTags
s@ListSAMLProviderTags' {} Text
a -> ListSAMLProviderTags
s {$sel:sAMLProviderArn:ListSAMLProviderTags' :: Text
sAMLProviderArn = Text
a} :: ListSAMLProviderTags)
instance Core.AWSRequest ListSAMLProviderTags where
type
AWSResponse ListSAMLProviderTags =
ListSAMLProviderTagsResponse
request :: ListSAMLProviderTags -> Request ListSAMLProviderTags
request = Service -> ListSAMLProviderTags -> Request ListSAMLProviderTags
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy ListSAMLProviderTags
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListSAMLProviderTags)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse ListSAMLProviderTags))
-> Logger
-> Service
-> Proxy ListSAMLProviderTags
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListSAMLProviderTags)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
-> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
Text
"ListSAMLProviderTagsResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe Text
-> Maybe Bool -> Int -> [Tag] -> ListSAMLProviderTagsResponse
ListSAMLProviderTagsResponse'
(Maybe Text
-> Maybe Bool -> Int -> [Tag] -> ListSAMLProviderTagsResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe Bool -> Int -> [Tag] -> ListSAMLProviderTagsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"Marker")
Either
String (Maybe Bool -> Int -> [Tag] -> ListSAMLProviderTagsResponse)
-> Either String (Maybe Bool)
-> Either String (Int -> [Tag] -> ListSAMLProviderTagsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"IsTruncated")
Either String (Int -> [Tag] -> ListSAMLProviderTagsResponse)
-> Either String Int
-> Either String ([Tag] -> ListSAMLProviderTagsResponse)
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))
Either String ([Tag] -> ListSAMLProviderTagsResponse)
-> Either String [Tag]
-> Either String ListSAMLProviderTagsResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( [Node]
x [Node] -> Text -> Either String (Maybe [Node])
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"Tags" Either String (Maybe [Node]) -> [Node] -> Either String [Node]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [Node]
forall a. Monoid a => a
Prelude.mempty
Either String [Node]
-> ([Node] -> Either String [Tag]) -> Either String [Tag]
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= Text -> [Node] -> Either String [Tag]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"member"
)
)
instance Prelude.Hashable ListSAMLProviderTags
instance Prelude.NFData ListSAMLProviderTags
instance Core.ToHeaders ListSAMLProviderTags where
toHeaders :: ListSAMLProviderTags -> ResponseHeaders
toHeaders = ResponseHeaders -> ListSAMLProviderTags -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath ListSAMLProviderTags where
toPath :: ListSAMLProviderTags -> ByteString
toPath = ByteString -> ListSAMLProviderTags -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListSAMLProviderTags where
toQuery :: ListSAMLProviderTags -> QueryString
toQuery ListSAMLProviderTags' {Maybe Natural
Maybe Text
Text
sAMLProviderArn :: Text
maxItems :: Maybe Natural
marker :: Maybe Text
$sel:sAMLProviderArn:ListSAMLProviderTags' :: ListSAMLProviderTags -> Text
$sel:maxItems:ListSAMLProviderTags' :: ListSAMLProviderTags -> Maybe Natural
$sel:marker:ListSAMLProviderTags' :: ListSAMLProviderTags -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"ListSAMLProviderTags" :: Prelude.ByteString),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2010-05-08" :: Prelude.ByteString),
ByteString
"Marker" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
marker,
ByteString
"MaxItems" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxItems,
ByteString
"SAMLProviderArn" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
sAMLProviderArn
]
data ListSAMLProviderTagsResponse = ListSAMLProviderTagsResponse'
{
ListSAMLProviderTagsResponse -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
ListSAMLProviderTagsResponse -> Maybe Bool
isTruncated :: Prelude.Maybe Prelude.Bool,
ListSAMLProviderTagsResponse -> Int
httpStatus :: Prelude.Int,
ListSAMLProviderTagsResponse -> [Tag]
tags :: [Tag]
}
deriving (ListSAMLProviderTagsResponse
-> ListSAMLProviderTagsResponse -> Bool
(ListSAMLProviderTagsResponse
-> ListSAMLProviderTagsResponse -> Bool)
-> (ListSAMLProviderTagsResponse
-> ListSAMLProviderTagsResponse -> Bool)
-> Eq ListSAMLProviderTagsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListSAMLProviderTagsResponse
-> ListSAMLProviderTagsResponse -> Bool
$c/= :: ListSAMLProviderTagsResponse
-> ListSAMLProviderTagsResponse -> Bool
== :: ListSAMLProviderTagsResponse
-> ListSAMLProviderTagsResponse -> Bool
$c== :: ListSAMLProviderTagsResponse
-> ListSAMLProviderTagsResponse -> Bool
Prelude.Eq, ReadPrec [ListSAMLProviderTagsResponse]
ReadPrec ListSAMLProviderTagsResponse
Int -> ReadS ListSAMLProviderTagsResponse
ReadS [ListSAMLProviderTagsResponse]
(Int -> ReadS ListSAMLProviderTagsResponse)
-> ReadS [ListSAMLProviderTagsResponse]
-> ReadPrec ListSAMLProviderTagsResponse
-> ReadPrec [ListSAMLProviderTagsResponse]
-> Read ListSAMLProviderTagsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListSAMLProviderTagsResponse]
$creadListPrec :: ReadPrec [ListSAMLProviderTagsResponse]
readPrec :: ReadPrec ListSAMLProviderTagsResponse
$creadPrec :: ReadPrec ListSAMLProviderTagsResponse
readList :: ReadS [ListSAMLProviderTagsResponse]
$creadList :: ReadS [ListSAMLProviderTagsResponse]
readsPrec :: Int -> ReadS ListSAMLProviderTagsResponse
$creadsPrec :: Int -> ReadS ListSAMLProviderTagsResponse
Prelude.Read, Int -> ListSAMLProviderTagsResponse -> ShowS
[ListSAMLProviderTagsResponse] -> ShowS
ListSAMLProviderTagsResponse -> String
(Int -> ListSAMLProviderTagsResponse -> ShowS)
-> (ListSAMLProviderTagsResponse -> String)
-> ([ListSAMLProviderTagsResponse] -> ShowS)
-> Show ListSAMLProviderTagsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListSAMLProviderTagsResponse] -> ShowS
$cshowList :: [ListSAMLProviderTagsResponse] -> ShowS
show :: ListSAMLProviderTagsResponse -> String
$cshow :: ListSAMLProviderTagsResponse -> String
showsPrec :: Int -> ListSAMLProviderTagsResponse -> ShowS
$cshowsPrec :: Int -> ListSAMLProviderTagsResponse -> ShowS
Prelude.Show, (forall x.
ListSAMLProviderTagsResponse -> Rep ListSAMLProviderTagsResponse x)
-> (forall x.
Rep ListSAMLProviderTagsResponse x -> ListSAMLProviderTagsResponse)
-> Generic ListSAMLProviderTagsResponse
forall x.
Rep ListSAMLProviderTagsResponse x -> ListSAMLProviderTagsResponse
forall x.
ListSAMLProviderTagsResponse -> Rep ListSAMLProviderTagsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListSAMLProviderTagsResponse x -> ListSAMLProviderTagsResponse
$cfrom :: forall x.
ListSAMLProviderTagsResponse -> Rep ListSAMLProviderTagsResponse x
Prelude.Generic)
newListSAMLProviderTagsResponse ::
Prelude.Int ->
ListSAMLProviderTagsResponse
newListSAMLProviderTagsResponse :: Int -> ListSAMLProviderTagsResponse
newListSAMLProviderTagsResponse Int
pHttpStatus_ =
ListSAMLProviderTagsResponse' :: Maybe Text
-> Maybe Bool -> Int -> [Tag] -> ListSAMLProviderTagsResponse
ListSAMLProviderTagsResponse'
{ $sel:marker:ListSAMLProviderTagsResponse' :: Maybe Text
marker =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:isTruncated:ListSAMLProviderTagsResponse' :: Maybe Bool
isTruncated = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListSAMLProviderTagsResponse' :: Int
httpStatus = Int
pHttpStatus_,
$sel:tags:ListSAMLProviderTagsResponse' :: [Tag]
tags = [Tag]
forall a. Monoid a => a
Prelude.mempty
}
listSAMLProviderTagsResponse_marker :: Lens.Lens' ListSAMLProviderTagsResponse (Prelude.Maybe Prelude.Text)
listSAMLProviderTagsResponse_marker :: (Maybe Text -> f (Maybe Text))
-> ListSAMLProviderTagsResponse -> f ListSAMLProviderTagsResponse
listSAMLProviderTagsResponse_marker = (ListSAMLProviderTagsResponse -> Maybe Text)
-> (ListSAMLProviderTagsResponse
-> Maybe Text -> ListSAMLProviderTagsResponse)
-> Lens
ListSAMLProviderTagsResponse
ListSAMLProviderTagsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSAMLProviderTagsResponse' {Maybe Text
marker :: Maybe Text
$sel:marker:ListSAMLProviderTagsResponse' :: ListSAMLProviderTagsResponse -> Maybe Text
marker} -> Maybe Text
marker) (\s :: ListSAMLProviderTagsResponse
s@ListSAMLProviderTagsResponse' {} Maybe Text
a -> ListSAMLProviderTagsResponse
s {$sel:marker:ListSAMLProviderTagsResponse' :: Maybe Text
marker = Maybe Text
a} :: ListSAMLProviderTagsResponse)
listSAMLProviderTagsResponse_isTruncated :: Lens.Lens' ListSAMLProviderTagsResponse (Prelude.Maybe Prelude.Bool)
listSAMLProviderTagsResponse_isTruncated :: (Maybe Bool -> f (Maybe Bool))
-> ListSAMLProviderTagsResponse -> f ListSAMLProviderTagsResponse
listSAMLProviderTagsResponse_isTruncated = (ListSAMLProviderTagsResponse -> Maybe Bool)
-> (ListSAMLProviderTagsResponse
-> Maybe Bool -> ListSAMLProviderTagsResponse)
-> Lens
ListSAMLProviderTagsResponse
ListSAMLProviderTagsResponse
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSAMLProviderTagsResponse' {Maybe Bool
isTruncated :: Maybe Bool
$sel:isTruncated:ListSAMLProviderTagsResponse' :: ListSAMLProviderTagsResponse -> Maybe Bool
isTruncated} -> Maybe Bool
isTruncated) (\s :: ListSAMLProviderTagsResponse
s@ListSAMLProviderTagsResponse' {} Maybe Bool
a -> ListSAMLProviderTagsResponse
s {$sel:isTruncated:ListSAMLProviderTagsResponse' :: Maybe Bool
isTruncated = Maybe Bool
a} :: ListSAMLProviderTagsResponse)
listSAMLProviderTagsResponse_httpStatus :: Lens.Lens' ListSAMLProviderTagsResponse Prelude.Int
listSAMLProviderTagsResponse_httpStatus :: (Int -> f Int)
-> ListSAMLProviderTagsResponse -> f ListSAMLProviderTagsResponse
listSAMLProviderTagsResponse_httpStatus = (ListSAMLProviderTagsResponse -> Int)
-> (ListSAMLProviderTagsResponse
-> Int -> ListSAMLProviderTagsResponse)
-> Lens
ListSAMLProviderTagsResponse ListSAMLProviderTagsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSAMLProviderTagsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListSAMLProviderTagsResponse' :: ListSAMLProviderTagsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListSAMLProviderTagsResponse
s@ListSAMLProviderTagsResponse' {} Int
a -> ListSAMLProviderTagsResponse
s {$sel:httpStatus:ListSAMLProviderTagsResponse' :: Int
httpStatus = Int
a} :: ListSAMLProviderTagsResponse)
listSAMLProviderTagsResponse_tags :: Lens.Lens' ListSAMLProviderTagsResponse [Tag]
listSAMLProviderTagsResponse_tags :: ([Tag] -> f [Tag])
-> ListSAMLProviderTagsResponse -> f ListSAMLProviderTagsResponse
listSAMLProviderTagsResponse_tags = (ListSAMLProviderTagsResponse -> [Tag])
-> (ListSAMLProviderTagsResponse
-> [Tag] -> ListSAMLProviderTagsResponse)
-> Lens
ListSAMLProviderTagsResponse
ListSAMLProviderTagsResponse
[Tag]
[Tag]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSAMLProviderTagsResponse' {[Tag]
tags :: [Tag]
$sel:tags:ListSAMLProviderTagsResponse' :: ListSAMLProviderTagsResponse -> [Tag]
tags} -> [Tag]
tags) (\s :: ListSAMLProviderTagsResponse
s@ListSAMLProviderTagsResponse' {} [Tag]
a -> ListSAMLProviderTagsResponse
s {$sel:tags:ListSAMLProviderTagsResponse' :: [Tag]
tags = [Tag]
a} :: ListSAMLProviderTagsResponse) (([Tag] -> f [Tag])
-> ListSAMLProviderTagsResponse -> f ListSAMLProviderTagsResponse)
-> (([Tag] -> f [Tag]) -> [Tag] -> f [Tag])
-> ([Tag] -> f [Tag])
-> ListSAMLProviderTagsResponse
-> f ListSAMLProviderTagsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([Tag] -> f [Tag]) -> [Tag] -> f [Tag]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Prelude.NFData ListSAMLProviderTagsResponse