{-# 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.Signer.ListSigningPlatforms
(
ListSigningPlatforms (..),
newListSigningPlatforms,
listSigningPlatforms_category,
listSigningPlatforms_maxResults,
listSigningPlatforms_nextToken,
listSigningPlatforms_partner,
listSigningPlatforms_target,
ListSigningPlatformsResponse (..),
newListSigningPlatformsResponse,
listSigningPlatformsResponse_nextToken,
listSigningPlatformsResponse_platforms,
listSigningPlatformsResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.Signer.Types
data ListSigningPlatforms = ListSigningPlatforms'
{
ListSigningPlatforms -> Maybe Text
category :: Prelude.Maybe Prelude.Text,
ListSigningPlatforms -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListSigningPlatforms -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListSigningPlatforms -> Maybe Text
partner :: Prelude.Maybe Prelude.Text,
ListSigningPlatforms -> Maybe Text
target :: Prelude.Maybe Prelude.Text
}
deriving (ListSigningPlatforms -> ListSigningPlatforms -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListSigningPlatforms -> ListSigningPlatforms -> Bool
$c/= :: ListSigningPlatforms -> ListSigningPlatforms -> Bool
== :: ListSigningPlatforms -> ListSigningPlatforms -> Bool
$c== :: ListSigningPlatforms -> ListSigningPlatforms -> Bool
Prelude.Eq, ReadPrec [ListSigningPlatforms]
ReadPrec ListSigningPlatforms
Int -> ReadS ListSigningPlatforms
ReadS [ListSigningPlatforms]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListSigningPlatforms]
$creadListPrec :: ReadPrec [ListSigningPlatforms]
readPrec :: ReadPrec ListSigningPlatforms
$creadPrec :: ReadPrec ListSigningPlatforms
readList :: ReadS [ListSigningPlatforms]
$creadList :: ReadS [ListSigningPlatforms]
readsPrec :: Int -> ReadS ListSigningPlatforms
$creadsPrec :: Int -> ReadS ListSigningPlatforms
Prelude.Read, Int -> ListSigningPlatforms -> ShowS
[ListSigningPlatforms] -> ShowS
ListSigningPlatforms -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListSigningPlatforms] -> ShowS
$cshowList :: [ListSigningPlatforms] -> ShowS
show :: ListSigningPlatforms -> String
$cshow :: ListSigningPlatforms -> String
showsPrec :: Int -> ListSigningPlatforms -> ShowS
$cshowsPrec :: Int -> ListSigningPlatforms -> ShowS
Prelude.Show, forall x. Rep ListSigningPlatforms x -> ListSigningPlatforms
forall x. ListSigningPlatforms -> Rep ListSigningPlatforms x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListSigningPlatforms x -> ListSigningPlatforms
$cfrom :: forall x. ListSigningPlatforms -> Rep ListSigningPlatforms x
Prelude.Generic)
newListSigningPlatforms ::
ListSigningPlatforms
newListSigningPlatforms :: ListSigningPlatforms
newListSigningPlatforms =
ListSigningPlatforms'
{ $sel:category:ListSigningPlatforms' :: Maybe Text
category = forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListSigningPlatforms' :: Maybe Natural
maxResults = forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListSigningPlatforms' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:partner:ListSigningPlatforms' :: Maybe Text
partner = forall a. Maybe a
Prelude.Nothing,
$sel:target:ListSigningPlatforms' :: Maybe Text
target = forall a. Maybe a
Prelude.Nothing
}
listSigningPlatforms_category :: Lens.Lens' ListSigningPlatforms (Prelude.Maybe Prelude.Text)
listSigningPlatforms_category :: Lens' ListSigningPlatforms (Maybe Text)
listSigningPlatforms_category = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSigningPlatforms' {Maybe Text
category :: Maybe Text
$sel:category:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
category} -> Maybe Text
category) (\s :: ListSigningPlatforms
s@ListSigningPlatforms' {} Maybe Text
a -> ListSigningPlatforms
s {$sel:category:ListSigningPlatforms' :: Maybe Text
category = Maybe Text
a} :: ListSigningPlatforms)
listSigningPlatforms_maxResults :: Lens.Lens' ListSigningPlatforms (Prelude.Maybe Prelude.Natural)
listSigningPlatforms_maxResults :: Lens' ListSigningPlatforms (Maybe Natural)
listSigningPlatforms_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSigningPlatforms' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListSigningPlatforms
s@ListSigningPlatforms' {} Maybe Natural
a -> ListSigningPlatforms
s {$sel:maxResults:ListSigningPlatforms' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListSigningPlatforms)
listSigningPlatforms_nextToken :: Lens.Lens' ListSigningPlatforms (Prelude.Maybe Prelude.Text)
listSigningPlatforms_nextToken :: Lens' ListSigningPlatforms (Maybe Text)
listSigningPlatforms_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSigningPlatforms' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListSigningPlatforms
s@ListSigningPlatforms' {} Maybe Text
a -> ListSigningPlatforms
s {$sel:nextToken:ListSigningPlatforms' :: Maybe Text
nextToken = Maybe Text
a} :: ListSigningPlatforms)
listSigningPlatforms_partner :: Lens.Lens' ListSigningPlatforms (Prelude.Maybe Prelude.Text)
listSigningPlatforms_partner :: Lens' ListSigningPlatforms (Maybe Text)
listSigningPlatforms_partner = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSigningPlatforms' {Maybe Text
partner :: Maybe Text
$sel:partner:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
partner} -> Maybe Text
partner) (\s :: ListSigningPlatforms
s@ListSigningPlatforms' {} Maybe Text
a -> ListSigningPlatforms
s {$sel:partner:ListSigningPlatforms' :: Maybe Text
partner = Maybe Text
a} :: ListSigningPlatforms)
listSigningPlatforms_target :: Lens.Lens' ListSigningPlatforms (Prelude.Maybe Prelude.Text)
listSigningPlatforms_target :: Lens' ListSigningPlatforms (Maybe Text)
listSigningPlatforms_target = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSigningPlatforms' {Maybe Text
target :: Maybe Text
$sel:target:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
target} -> Maybe Text
target) (\s :: ListSigningPlatforms
s@ListSigningPlatforms' {} Maybe Text
a -> ListSigningPlatforms
s {$sel:target:ListSigningPlatforms' :: Maybe Text
target = Maybe Text
a} :: ListSigningPlatforms)
instance Core.AWSPager ListSigningPlatforms where
page :: ListSigningPlatforms
-> AWSResponse ListSigningPlatforms -> Maybe ListSigningPlatforms
page ListSigningPlatforms
rq AWSResponse ListSigningPlatforms
rs
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListSigningPlatforms
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListSigningPlatformsResponse (Maybe Text)
listSigningPlatformsResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListSigningPlatforms
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListSigningPlatformsResponse (Maybe [SigningPlatform])
listSigningPlatformsResponse_platforms
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
forall a. a -> Maybe a
Prelude.Just
forall a b. (a -> b) -> a -> b
Prelude.$ ListSigningPlatforms
rq
forall a b. a -> (a -> b) -> b
Prelude.& Lens' ListSigningPlatforms (Maybe Text)
listSigningPlatforms_nextToken
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListSigningPlatforms
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListSigningPlatformsResponse (Maybe Text)
listSigningPlatformsResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest ListSigningPlatforms where
type
AWSResponse ListSigningPlatforms =
ListSigningPlatformsResponse
request :: (Service -> Service)
-> ListSigningPlatforms -> Request ListSigningPlatforms
request Service -> Service
overrides =
forall a. ToRequest a => Service -> a -> Request a
Request.get (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy ListSigningPlatforms
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListSigningPlatforms)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Maybe [SigningPlatform] -> Int -> ListSigningPlatformsResponse
ListSigningPlatformsResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"nextToken")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"platforms" forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable ListSigningPlatforms where
hashWithSalt :: Int -> ListSigningPlatforms -> Int
hashWithSalt Int
_salt ListSigningPlatforms' {Maybe Natural
Maybe Text
target :: Maybe Text
partner :: Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
category :: Maybe Text
$sel:target:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
$sel:partner:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
$sel:nextToken:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
$sel:maxResults:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Natural
$sel:category:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
category
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
maxResults
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
partner
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
target
instance Prelude.NFData ListSigningPlatforms where
rnf :: ListSigningPlatforms -> ()
rnf ListSigningPlatforms' {Maybe Natural
Maybe Text
target :: Maybe Text
partner :: Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
category :: Maybe Text
$sel:target:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
$sel:partner:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
$sel:nextToken:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
$sel:maxResults:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Natural
$sel:category:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
category
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
maxResults
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
partner
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
target
instance Data.ToHeaders ListSigningPlatforms where
toHeaders :: ListSigningPlatforms -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Data.ToPath ListSigningPlatforms where
toPath :: ListSigningPlatforms -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/signing-platforms"
instance Data.ToQuery ListSigningPlatforms where
toQuery :: ListSigningPlatforms -> QueryString
toQuery ListSigningPlatforms' {Maybe Natural
Maybe Text
target :: Maybe Text
partner :: Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
category :: Maybe Text
$sel:target:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
$sel:partner:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
$sel:nextToken:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
$sel:maxResults:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Natural
$sel:category:ListSigningPlatforms' :: ListSigningPlatforms -> Maybe Text
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"category" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
category,
ByteString
"maxResults" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Natural
maxResults,
ByteString
"nextToken" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
nextToken,
ByteString
"partner" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
partner,
ByteString
"target" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
target
]
data ListSigningPlatformsResponse = ListSigningPlatformsResponse'
{
ListSigningPlatformsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListSigningPlatformsResponse -> Maybe [SigningPlatform]
platforms :: Prelude.Maybe [SigningPlatform],
ListSigningPlatformsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListSigningPlatformsResponse
-> ListSigningPlatformsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListSigningPlatformsResponse
-> ListSigningPlatformsResponse -> Bool
$c/= :: ListSigningPlatformsResponse
-> ListSigningPlatformsResponse -> Bool
== :: ListSigningPlatformsResponse
-> ListSigningPlatformsResponse -> Bool
$c== :: ListSigningPlatformsResponse
-> ListSigningPlatformsResponse -> Bool
Prelude.Eq, ReadPrec [ListSigningPlatformsResponse]
ReadPrec ListSigningPlatformsResponse
Int -> ReadS ListSigningPlatformsResponse
ReadS [ListSigningPlatformsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListSigningPlatformsResponse]
$creadListPrec :: ReadPrec [ListSigningPlatformsResponse]
readPrec :: ReadPrec ListSigningPlatformsResponse
$creadPrec :: ReadPrec ListSigningPlatformsResponse
readList :: ReadS [ListSigningPlatformsResponse]
$creadList :: ReadS [ListSigningPlatformsResponse]
readsPrec :: Int -> ReadS ListSigningPlatformsResponse
$creadsPrec :: Int -> ReadS ListSigningPlatformsResponse
Prelude.Read, Int -> ListSigningPlatformsResponse -> ShowS
[ListSigningPlatformsResponse] -> ShowS
ListSigningPlatformsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListSigningPlatformsResponse] -> ShowS
$cshowList :: [ListSigningPlatformsResponse] -> ShowS
show :: ListSigningPlatformsResponse -> String
$cshow :: ListSigningPlatformsResponse -> String
showsPrec :: Int -> ListSigningPlatformsResponse -> ShowS
$cshowsPrec :: Int -> ListSigningPlatformsResponse -> ShowS
Prelude.Show, forall x.
Rep ListSigningPlatformsResponse x -> ListSigningPlatformsResponse
forall x.
ListSigningPlatformsResponse -> Rep ListSigningPlatformsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListSigningPlatformsResponse x -> ListSigningPlatformsResponse
$cfrom :: forall x.
ListSigningPlatformsResponse -> Rep ListSigningPlatformsResponse x
Prelude.Generic)
newListSigningPlatformsResponse ::
Prelude.Int ->
ListSigningPlatformsResponse
newListSigningPlatformsResponse :: Int -> ListSigningPlatformsResponse
newListSigningPlatformsResponse Int
pHttpStatus_ =
ListSigningPlatformsResponse'
{ $sel:nextToken:ListSigningPlatformsResponse' :: Maybe Text
nextToken =
forall a. Maybe a
Prelude.Nothing,
$sel:platforms:ListSigningPlatformsResponse' :: Maybe [SigningPlatform]
platforms = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListSigningPlatformsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listSigningPlatformsResponse_nextToken :: Lens.Lens' ListSigningPlatformsResponse (Prelude.Maybe Prelude.Text)
listSigningPlatformsResponse_nextToken :: Lens' ListSigningPlatformsResponse (Maybe Text)
listSigningPlatformsResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSigningPlatformsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListSigningPlatformsResponse' :: ListSigningPlatformsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListSigningPlatformsResponse
s@ListSigningPlatformsResponse' {} Maybe Text
a -> ListSigningPlatformsResponse
s {$sel:nextToken:ListSigningPlatformsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListSigningPlatformsResponse)
listSigningPlatformsResponse_platforms :: Lens.Lens' ListSigningPlatformsResponse (Prelude.Maybe [SigningPlatform])
listSigningPlatformsResponse_platforms :: Lens' ListSigningPlatformsResponse (Maybe [SigningPlatform])
listSigningPlatformsResponse_platforms = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSigningPlatformsResponse' {Maybe [SigningPlatform]
platforms :: Maybe [SigningPlatform]
$sel:platforms:ListSigningPlatformsResponse' :: ListSigningPlatformsResponse -> Maybe [SigningPlatform]
platforms} -> Maybe [SigningPlatform]
platforms) (\s :: ListSigningPlatformsResponse
s@ListSigningPlatformsResponse' {} Maybe [SigningPlatform]
a -> ListSigningPlatformsResponse
s {$sel:platforms:ListSigningPlatformsResponse' :: Maybe [SigningPlatform]
platforms = Maybe [SigningPlatform]
a} :: ListSigningPlatformsResponse) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listSigningPlatformsResponse_httpStatus :: Lens.Lens' ListSigningPlatformsResponse Prelude.Int
listSigningPlatformsResponse_httpStatus :: Lens' ListSigningPlatformsResponse Int
listSigningPlatformsResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListSigningPlatformsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListSigningPlatformsResponse' :: ListSigningPlatformsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListSigningPlatformsResponse
s@ListSigningPlatformsResponse' {} Int
a -> ListSigningPlatformsResponse
s {$sel:httpStatus:ListSigningPlatformsResponse' :: Int
httpStatus = Int
a} :: ListSigningPlatformsResponse)
instance Prelude.NFData ListSigningPlatformsResponse where
rnf :: ListSigningPlatformsResponse -> ()
rnf ListSigningPlatformsResponse' {Int
Maybe [SigningPlatform]
Maybe Text
httpStatus :: Int
platforms :: Maybe [SigningPlatform]
nextToken :: Maybe Text
$sel:httpStatus:ListSigningPlatformsResponse' :: ListSigningPlatformsResponse -> Int
$sel:platforms:ListSigningPlatformsResponse' :: ListSigningPlatformsResponse -> Maybe [SigningPlatform]
$sel:nextToken:ListSigningPlatformsResponse' :: ListSigningPlatformsResponse -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [SigningPlatform]
platforms
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus