{-# 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.AuditManager.ListAssessmentFrameworks
(
ListAssessmentFrameworks (..),
newListAssessmentFrameworks,
listAssessmentFrameworks_nextToken,
listAssessmentFrameworks_maxResults,
listAssessmentFrameworks_frameworkType,
ListAssessmentFrameworksResponse (..),
newListAssessmentFrameworksResponse,
listAssessmentFrameworksResponse_nextToken,
listAssessmentFrameworksResponse_frameworkMetadataList,
listAssessmentFrameworksResponse_httpStatus,
)
where
import Amazonka.AuditManager.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 ListAssessmentFrameworks = ListAssessmentFrameworks'
{
ListAssessmentFrameworks -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListAssessmentFrameworks -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListAssessmentFrameworks -> FrameworkType
frameworkType :: FrameworkType
}
deriving (ListAssessmentFrameworks -> ListAssessmentFrameworks -> Bool
(ListAssessmentFrameworks -> ListAssessmentFrameworks -> Bool)
-> (ListAssessmentFrameworks -> ListAssessmentFrameworks -> Bool)
-> Eq ListAssessmentFrameworks
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListAssessmentFrameworks -> ListAssessmentFrameworks -> Bool
$c/= :: ListAssessmentFrameworks -> ListAssessmentFrameworks -> Bool
== :: ListAssessmentFrameworks -> ListAssessmentFrameworks -> Bool
$c== :: ListAssessmentFrameworks -> ListAssessmentFrameworks -> Bool
Prelude.Eq, ReadPrec [ListAssessmentFrameworks]
ReadPrec ListAssessmentFrameworks
Int -> ReadS ListAssessmentFrameworks
ReadS [ListAssessmentFrameworks]
(Int -> ReadS ListAssessmentFrameworks)
-> ReadS [ListAssessmentFrameworks]
-> ReadPrec ListAssessmentFrameworks
-> ReadPrec [ListAssessmentFrameworks]
-> Read ListAssessmentFrameworks
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListAssessmentFrameworks]
$creadListPrec :: ReadPrec [ListAssessmentFrameworks]
readPrec :: ReadPrec ListAssessmentFrameworks
$creadPrec :: ReadPrec ListAssessmentFrameworks
readList :: ReadS [ListAssessmentFrameworks]
$creadList :: ReadS [ListAssessmentFrameworks]
readsPrec :: Int -> ReadS ListAssessmentFrameworks
$creadsPrec :: Int -> ReadS ListAssessmentFrameworks
Prelude.Read, Int -> ListAssessmentFrameworks -> ShowS
[ListAssessmentFrameworks] -> ShowS
ListAssessmentFrameworks -> String
(Int -> ListAssessmentFrameworks -> ShowS)
-> (ListAssessmentFrameworks -> String)
-> ([ListAssessmentFrameworks] -> ShowS)
-> Show ListAssessmentFrameworks
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListAssessmentFrameworks] -> ShowS
$cshowList :: [ListAssessmentFrameworks] -> ShowS
show :: ListAssessmentFrameworks -> String
$cshow :: ListAssessmentFrameworks -> String
showsPrec :: Int -> ListAssessmentFrameworks -> ShowS
$cshowsPrec :: Int -> ListAssessmentFrameworks -> ShowS
Prelude.Show, (forall x.
ListAssessmentFrameworks -> Rep ListAssessmentFrameworks x)
-> (forall x.
Rep ListAssessmentFrameworks x -> ListAssessmentFrameworks)
-> Generic ListAssessmentFrameworks
forall x.
Rep ListAssessmentFrameworks x -> ListAssessmentFrameworks
forall x.
ListAssessmentFrameworks -> Rep ListAssessmentFrameworks x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListAssessmentFrameworks x -> ListAssessmentFrameworks
$cfrom :: forall x.
ListAssessmentFrameworks -> Rep ListAssessmentFrameworks x
Prelude.Generic)
newListAssessmentFrameworks ::
FrameworkType ->
ListAssessmentFrameworks
newListAssessmentFrameworks :: FrameworkType -> ListAssessmentFrameworks
newListAssessmentFrameworks FrameworkType
pFrameworkType_ =
ListAssessmentFrameworks' :: Maybe Text
-> Maybe Natural -> FrameworkType -> ListAssessmentFrameworks
ListAssessmentFrameworks'
{ $sel:nextToken:ListAssessmentFrameworks' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListAssessmentFrameworks' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:frameworkType:ListAssessmentFrameworks' :: FrameworkType
frameworkType = FrameworkType
pFrameworkType_
}
listAssessmentFrameworks_nextToken :: Lens.Lens' ListAssessmentFrameworks (Prelude.Maybe Prelude.Text)
listAssessmentFrameworks_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListAssessmentFrameworks -> f ListAssessmentFrameworks
listAssessmentFrameworks_nextToken = (ListAssessmentFrameworks -> Maybe Text)
-> (ListAssessmentFrameworks
-> Maybe Text -> ListAssessmentFrameworks)
-> Lens
ListAssessmentFrameworks
ListAssessmentFrameworks
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAssessmentFrameworks' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListAssessmentFrameworks' :: ListAssessmentFrameworks -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListAssessmentFrameworks
s@ListAssessmentFrameworks' {} Maybe Text
a -> ListAssessmentFrameworks
s {$sel:nextToken:ListAssessmentFrameworks' :: Maybe Text
nextToken = Maybe Text
a} :: ListAssessmentFrameworks)
listAssessmentFrameworks_maxResults :: Lens.Lens' ListAssessmentFrameworks (Prelude.Maybe Prelude.Natural)
listAssessmentFrameworks_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListAssessmentFrameworks -> f ListAssessmentFrameworks
listAssessmentFrameworks_maxResults = (ListAssessmentFrameworks -> Maybe Natural)
-> (ListAssessmentFrameworks
-> Maybe Natural -> ListAssessmentFrameworks)
-> Lens
ListAssessmentFrameworks
ListAssessmentFrameworks
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAssessmentFrameworks' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListAssessmentFrameworks' :: ListAssessmentFrameworks -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListAssessmentFrameworks
s@ListAssessmentFrameworks' {} Maybe Natural
a -> ListAssessmentFrameworks
s {$sel:maxResults:ListAssessmentFrameworks' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListAssessmentFrameworks)
listAssessmentFrameworks_frameworkType :: Lens.Lens' ListAssessmentFrameworks FrameworkType
listAssessmentFrameworks_frameworkType :: (FrameworkType -> f FrameworkType)
-> ListAssessmentFrameworks -> f ListAssessmentFrameworks
listAssessmentFrameworks_frameworkType = (ListAssessmentFrameworks -> FrameworkType)
-> (ListAssessmentFrameworks
-> FrameworkType -> ListAssessmentFrameworks)
-> Lens
ListAssessmentFrameworks
ListAssessmentFrameworks
FrameworkType
FrameworkType
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAssessmentFrameworks' {FrameworkType
frameworkType :: FrameworkType
$sel:frameworkType:ListAssessmentFrameworks' :: ListAssessmentFrameworks -> FrameworkType
frameworkType} -> FrameworkType
frameworkType) (\s :: ListAssessmentFrameworks
s@ListAssessmentFrameworks' {} FrameworkType
a -> ListAssessmentFrameworks
s {$sel:frameworkType:ListAssessmentFrameworks' :: FrameworkType
frameworkType = FrameworkType
a} :: ListAssessmentFrameworks)
instance Core.AWSRequest ListAssessmentFrameworks where
type
AWSResponse ListAssessmentFrameworks =
ListAssessmentFrameworksResponse
request :: ListAssessmentFrameworks -> Request ListAssessmentFrameworks
request = Service
-> ListAssessmentFrameworks -> Request ListAssessmentFrameworks
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListAssessmentFrameworks
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListAssessmentFrameworks)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListAssessmentFrameworks))
-> Logger
-> Service
-> Proxy ListAssessmentFrameworks
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListAssessmentFrameworks)))
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 Text
-> Maybe [AssessmentFrameworkMetadata]
-> Int
-> ListAssessmentFrameworksResponse
ListAssessmentFrameworksResponse'
(Maybe Text
-> Maybe [AssessmentFrameworkMetadata]
-> Int
-> ListAssessmentFrameworksResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [AssessmentFrameworkMetadata]
-> Int -> ListAssessmentFrameworksResponse)
forall (f :: * -> *) a b. Functor 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
(Maybe [AssessmentFrameworkMetadata]
-> Int -> ListAssessmentFrameworksResponse)
-> Either String (Maybe [AssessmentFrameworkMetadata])
-> Either String (Int -> ListAssessmentFrameworksResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Either String (Maybe (Maybe [AssessmentFrameworkMetadata]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"frameworkMetadataList"
Either String (Maybe (Maybe [AssessmentFrameworkMetadata]))
-> Maybe [AssessmentFrameworkMetadata]
-> Either String (Maybe [AssessmentFrameworkMetadata])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [AssessmentFrameworkMetadata]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Int -> ListAssessmentFrameworksResponse)
-> Either String Int
-> Either String ListAssessmentFrameworksResponse
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 ListAssessmentFrameworks
instance Prelude.NFData ListAssessmentFrameworks
instance Core.ToHeaders ListAssessmentFrameworks where
toHeaders :: ListAssessmentFrameworks -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListAssessmentFrameworks -> 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.ToPath ListAssessmentFrameworks where
toPath :: ListAssessmentFrameworks -> ByteString
toPath = ByteString -> ListAssessmentFrameworks -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/assessmentFrameworks"
instance Core.ToQuery ListAssessmentFrameworks where
toQuery :: ListAssessmentFrameworks -> QueryString
toQuery ListAssessmentFrameworks' {Maybe Natural
Maybe Text
FrameworkType
frameworkType :: FrameworkType
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:frameworkType:ListAssessmentFrameworks' :: ListAssessmentFrameworks -> FrameworkType
$sel:maxResults:ListAssessmentFrameworks' :: ListAssessmentFrameworks -> Maybe Natural
$sel:nextToken:ListAssessmentFrameworks' :: ListAssessmentFrameworks -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"nextToken" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
nextToken,
ByteString
"maxResults" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults,
ByteString
"frameworkType" ByteString -> FrameworkType -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: FrameworkType
frameworkType
]
data ListAssessmentFrameworksResponse = ListAssessmentFrameworksResponse'
{
ListAssessmentFrameworksResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListAssessmentFrameworksResponse
-> Maybe [AssessmentFrameworkMetadata]
frameworkMetadataList :: Prelude.Maybe [AssessmentFrameworkMetadata],
ListAssessmentFrameworksResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListAssessmentFrameworksResponse
-> ListAssessmentFrameworksResponse -> Bool
(ListAssessmentFrameworksResponse
-> ListAssessmentFrameworksResponse -> Bool)
-> (ListAssessmentFrameworksResponse
-> ListAssessmentFrameworksResponse -> Bool)
-> Eq ListAssessmentFrameworksResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListAssessmentFrameworksResponse
-> ListAssessmentFrameworksResponse -> Bool
$c/= :: ListAssessmentFrameworksResponse
-> ListAssessmentFrameworksResponse -> Bool
== :: ListAssessmentFrameworksResponse
-> ListAssessmentFrameworksResponse -> Bool
$c== :: ListAssessmentFrameworksResponse
-> ListAssessmentFrameworksResponse -> Bool
Prelude.Eq, ReadPrec [ListAssessmentFrameworksResponse]
ReadPrec ListAssessmentFrameworksResponse
Int -> ReadS ListAssessmentFrameworksResponse
ReadS [ListAssessmentFrameworksResponse]
(Int -> ReadS ListAssessmentFrameworksResponse)
-> ReadS [ListAssessmentFrameworksResponse]
-> ReadPrec ListAssessmentFrameworksResponse
-> ReadPrec [ListAssessmentFrameworksResponse]
-> Read ListAssessmentFrameworksResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListAssessmentFrameworksResponse]
$creadListPrec :: ReadPrec [ListAssessmentFrameworksResponse]
readPrec :: ReadPrec ListAssessmentFrameworksResponse
$creadPrec :: ReadPrec ListAssessmentFrameworksResponse
readList :: ReadS [ListAssessmentFrameworksResponse]
$creadList :: ReadS [ListAssessmentFrameworksResponse]
readsPrec :: Int -> ReadS ListAssessmentFrameworksResponse
$creadsPrec :: Int -> ReadS ListAssessmentFrameworksResponse
Prelude.Read, Int -> ListAssessmentFrameworksResponse -> ShowS
[ListAssessmentFrameworksResponse] -> ShowS
ListAssessmentFrameworksResponse -> String
(Int -> ListAssessmentFrameworksResponse -> ShowS)
-> (ListAssessmentFrameworksResponse -> String)
-> ([ListAssessmentFrameworksResponse] -> ShowS)
-> Show ListAssessmentFrameworksResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListAssessmentFrameworksResponse] -> ShowS
$cshowList :: [ListAssessmentFrameworksResponse] -> ShowS
show :: ListAssessmentFrameworksResponse -> String
$cshow :: ListAssessmentFrameworksResponse -> String
showsPrec :: Int -> ListAssessmentFrameworksResponse -> ShowS
$cshowsPrec :: Int -> ListAssessmentFrameworksResponse -> ShowS
Prelude.Show, (forall x.
ListAssessmentFrameworksResponse
-> Rep ListAssessmentFrameworksResponse x)
-> (forall x.
Rep ListAssessmentFrameworksResponse x
-> ListAssessmentFrameworksResponse)
-> Generic ListAssessmentFrameworksResponse
forall x.
Rep ListAssessmentFrameworksResponse x
-> ListAssessmentFrameworksResponse
forall x.
ListAssessmentFrameworksResponse
-> Rep ListAssessmentFrameworksResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListAssessmentFrameworksResponse x
-> ListAssessmentFrameworksResponse
$cfrom :: forall x.
ListAssessmentFrameworksResponse
-> Rep ListAssessmentFrameworksResponse x
Prelude.Generic)
newListAssessmentFrameworksResponse ::
Prelude.Int ->
ListAssessmentFrameworksResponse
newListAssessmentFrameworksResponse :: Int -> ListAssessmentFrameworksResponse
newListAssessmentFrameworksResponse Int
pHttpStatus_ =
ListAssessmentFrameworksResponse' :: Maybe Text
-> Maybe [AssessmentFrameworkMetadata]
-> Int
-> ListAssessmentFrameworksResponse
ListAssessmentFrameworksResponse'
{ $sel:nextToken:ListAssessmentFrameworksResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:frameworkMetadataList:ListAssessmentFrameworksResponse' :: Maybe [AssessmentFrameworkMetadata]
frameworkMetadataList = Maybe [AssessmentFrameworkMetadata]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListAssessmentFrameworksResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listAssessmentFrameworksResponse_nextToken :: Lens.Lens' ListAssessmentFrameworksResponse (Prelude.Maybe Prelude.Text)
listAssessmentFrameworksResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListAssessmentFrameworksResponse
-> f ListAssessmentFrameworksResponse
listAssessmentFrameworksResponse_nextToken = (ListAssessmentFrameworksResponse -> Maybe Text)
-> (ListAssessmentFrameworksResponse
-> Maybe Text -> ListAssessmentFrameworksResponse)
-> Lens
ListAssessmentFrameworksResponse
ListAssessmentFrameworksResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAssessmentFrameworksResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListAssessmentFrameworksResponse' :: ListAssessmentFrameworksResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListAssessmentFrameworksResponse
s@ListAssessmentFrameworksResponse' {} Maybe Text
a -> ListAssessmentFrameworksResponse
s {$sel:nextToken:ListAssessmentFrameworksResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListAssessmentFrameworksResponse)
listAssessmentFrameworksResponse_frameworkMetadataList :: Lens.Lens' ListAssessmentFrameworksResponse (Prelude.Maybe [AssessmentFrameworkMetadata])
listAssessmentFrameworksResponse_frameworkMetadataList :: (Maybe [AssessmentFrameworkMetadata]
-> f (Maybe [AssessmentFrameworkMetadata]))
-> ListAssessmentFrameworksResponse
-> f ListAssessmentFrameworksResponse
listAssessmentFrameworksResponse_frameworkMetadataList = (ListAssessmentFrameworksResponse
-> Maybe [AssessmentFrameworkMetadata])
-> (ListAssessmentFrameworksResponse
-> Maybe [AssessmentFrameworkMetadata]
-> ListAssessmentFrameworksResponse)
-> Lens
ListAssessmentFrameworksResponse
ListAssessmentFrameworksResponse
(Maybe [AssessmentFrameworkMetadata])
(Maybe [AssessmentFrameworkMetadata])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAssessmentFrameworksResponse' {Maybe [AssessmentFrameworkMetadata]
frameworkMetadataList :: Maybe [AssessmentFrameworkMetadata]
$sel:frameworkMetadataList:ListAssessmentFrameworksResponse' :: ListAssessmentFrameworksResponse
-> Maybe [AssessmentFrameworkMetadata]
frameworkMetadataList} -> Maybe [AssessmentFrameworkMetadata]
frameworkMetadataList) (\s :: ListAssessmentFrameworksResponse
s@ListAssessmentFrameworksResponse' {} Maybe [AssessmentFrameworkMetadata]
a -> ListAssessmentFrameworksResponse
s {$sel:frameworkMetadataList:ListAssessmentFrameworksResponse' :: Maybe [AssessmentFrameworkMetadata]
frameworkMetadataList = Maybe [AssessmentFrameworkMetadata]
a} :: ListAssessmentFrameworksResponse) ((Maybe [AssessmentFrameworkMetadata]
-> f (Maybe [AssessmentFrameworkMetadata]))
-> ListAssessmentFrameworksResponse
-> f ListAssessmentFrameworksResponse)
-> ((Maybe [AssessmentFrameworkMetadata]
-> f (Maybe [AssessmentFrameworkMetadata]))
-> Maybe [AssessmentFrameworkMetadata]
-> f (Maybe [AssessmentFrameworkMetadata]))
-> (Maybe [AssessmentFrameworkMetadata]
-> f (Maybe [AssessmentFrameworkMetadata]))
-> ListAssessmentFrameworksResponse
-> f ListAssessmentFrameworksResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[AssessmentFrameworkMetadata]
[AssessmentFrameworkMetadata]
[AssessmentFrameworkMetadata]
[AssessmentFrameworkMetadata]
-> Iso
(Maybe [AssessmentFrameworkMetadata])
(Maybe [AssessmentFrameworkMetadata])
(Maybe [AssessmentFrameworkMetadata])
(Maybe [AssessmentFrameworkMetadata])
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
[AssessmentFrameworkMetadata]
[AssessmentFrameworkMetadata]
[AssessmentFrameworkMetadata]
[AssessmentFrameworkMetadata]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listAssessmentFrameworksResponse_httpStatus :: Lens.Lens' ListAssessmentFrameworksResponse Prelude.Int
listAssessmentFrameworksResponse_httpStatus :: (Int -> f Int)
-> ListAssessmentFrameworksResponse
-> f ListAssessmentFrameworksResponse
listAssessmentFrameworksResponse_httpStatus = (ListAssessmentFrameworksResponse -> Int)
-> (ListAssessmentFrameworksResponse
-> Int -> ListAssessmentFrameworksResponse)
-> Lens
ListAssessmentFrameworksResponse
ListAssessmentFrameworksResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAssessmentFrameworksResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListAssessmentFrameworksResponse' :: ListAssessmentFrameworksResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListAssessmentFrameworksResponse
s@ListAssessmentFrameworksResponse' {} Int
a -> ListAssessmentFrameworksResponse
s {$sel:httpStatus:ListAssessmentFrameworksResponse' :: Int
httpStatus = Int
a} :: ListAssessmentFrameworksResponse)
instance
Prelude.NFData
ListAssessmentFrameworksResponse