{-# 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.Synthetics.DescribeRuntimeVersions
(
DescribeRuntimeVersions (..),
newDescribeRuntimeVersions,
describeRuntimeVersions_nextToken,
describeRuntimeVersions_maxResults,
DescribeRuntimeVersionsResponse (..),
newDescribeRuntimeVersionsResponse,
describeRuntimeVersionsResponse_runtimeVersions,
describeRuntimeVersionsResponse_nextToken,
describeRuntimeVersionsResponse_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.Synthetics.Types
data DescribeRuntimeVersions = DescribeRuntimeVersions'
{
DescribeRuntimeVersions -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
DescribeRuntimeVersions -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (DescribeRuntimeVersions -> DescribeRuntimeVersions -> Bool
(DescribeRuntimeVersions -> DescribeRuntimeVersions -> Bool)
-> (DescribeRuntimeVersions -> DescribeRuntimeVersions -> Bool)
-> Eq DescribeRuntimeVersions
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeRuntimeVersions -> DescribeRuntimeVersions -> Bool
$c/= :: DescribeRuntimeVersions -> DescribeRuntimeVersions -> Bool
== :: DescribeRuntimeVersions -> DescribeRuntimeVersions -> Bool
$c== :: DescribeRuntimeVersions -> DescribeRuntimeVersions -> Bool
Prelude.Eq, ReadPrec [DescribeRuntimeVersions]
ReadPrec DescribeRuntimeVersions
Int -> ReadS DescribeRuntimeVersions
ReadS [DescribeRuntimeVersions]
(Int -> ReadS DescribeRuntimeVersions)
-> ReadS [DescribeRuntimeVersions]
-> ReadPrec DescribeRuntimeVersions
-> ReadPrec [DescribeRuntimeVersions]
-> Read DescribeRuntimeVersions
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeRuntimeVersions]
$creadListPrec :: ReadPrec [DescribeRuntimeVersions]
readPrec :: ReadPrec DescribeRuntimeVersions
$creadPrec :: ReadPrec DescribeRuntimeVersions
readList :: ReadS [DescribeRuntimeVersions]
$creadList :: ReadS [DescribeRuntimeVersions]
readsPrec :: Int -> ReadS DescribeRuntimeVersions
$creadsPrec :: Int -> ReadS DescribeRuntimeVersions
Prelude.Read, Int -> DescribeRuntimeVersions -> ShowS
[DescribeRuntimeVersions] -> ShowS
DescribeRuntimeVersions -> String
(Int -> DescribeRuntimeVersions -> ShowS)
-> (DescribeRuntimeVersions -> String)
-> ([DescribeRuntimeVersions] -> ShowS)
-> Show DescribeRuntimeVersions
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeRuntimeVersions] -> ShowS
$cshowList :: [DescribeRuntimeVersions] -> ShowS
show :: DescribeRuntimeVersions -> String
$cshow :: DescribeRuntimeVersions -> String
showsPrec :: Int -> DescribeRuntimeVersions -> ShowS
$cshowsPrec :: Int -> DescribeRuntimeVersions -> ShowS
Prelude.Show, (forall x.
DescribeRuntimeVersions -> Rep DescribeRuntimeVersions x)
-> (forall x.
Rep DescribeRuntimeVersions x -> DescribeRuntimeVersions)
-> Generic DescribeRuntimeVersions
forall x. Rep DescribeRuntimeVersions x -> DescribeRuntimeVersions
forall x. DescribeRuntimeVersions -> Rep DescribeRuntimeVersions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeRuntimeVersions x -> DescribeRuntimeVersions
$cfrom :: forall x. DescribeRuntimeVersions -> Rep DescribeRuntimeVersions x
Prelude.Generic)
newDescribeRuntimeVersions ::
DescribeRuntimeVersions
newDescribeRuntimeVersions :: DescribeRuntimeVersions
newDescribeRuntimeVersions =
DescribeRuntimeVersions' :: Maybe Text -> Maybe Natural -> DescribeRuntimeVersions
DescribeRuntimeVersions'
{ $sel:nextToken:DescribeRuntimeVersions' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:DescribeRuntimeVersions' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
describeRuntimeVersions_nextToken :: Lens.Lens' DescribeRuntimeVersions (Prelude.Maybe Prelude.Text)
describeRuntimeVersions_nextToken :: (Maybe Text -> f (Maybe Text))
-> DescribeRuntimeVersions -> f DescribeRuntimeVersions
describeRuntimeVersions_nextToken = (DescribeRuntimeVersions -> Maybe Text)
-> (DescribeRuntimeVersions
-> Maybe Text -> DescribeRuntimeVersions)
-> Lens
DescribeRuntimeVersions
DescribeRuntimeVersions
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRuntimeVersions' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:DescribeRuntimeVersions' :: DescribeRuntimeVersions -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: DescribeRuntimeVersions
s@DescribeRuntimeVersions' {} Maybe Text
a -> DescribeRuntimeVersions
s {$sel:nextToken:DescribeRuntimeVersions' :: Maybe Text
nextToken = Maybe Text
a} :: DescribeRuntimeVersions)
describeRuntimeVersions_maxResults :: Lens.Lens' DescribeRuntimeVersions (Prelude.Maybe Prelude.Natural)
describeRuntimeVersions_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> DescribeRuntimeVersions -> f DescribeRuntimeVersions
describeRuntimeVersions_maxResults = (DescribeRuntimeVersions -> Maybe Natural)
-> (DescribeRuntimeVersions
-> Maybe Natural -> DescribeRuntimeVersions)
-> Lens
DescribeRuntimeVersions
DescribeRuntimeVersions
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRuntimeVersions' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:DescribeRuntimeVersions' :: DescribeRuntimeVersions -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: DescribeRuntimeVersions
s@DescribeRuntimeVersions' {} Maybe Natural
a -> DescribeRuntimeVersions
s {$sel:maxResults:DescribeRuntimeVersions' :: Maybe Natural
maxResults = Maybe Natural
a} :: DescribeRuntimeVersions)
instance Core.AWSRequest DescribeRuntimeVersions where
type
AWSResponse DescribeRuntimeVersions =
DescribeRuntimeVersionsResponse
request :: DescribeRuntimeVersions -> Request DescribeRuntimeVersions
request = Service
-> DescribeRuntimeVersions -> Request DescribeRuntimeVersions
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeRuntimeVersions
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeRuntimeVersions)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeRuntimeVersions))
-> Logger
-> Service
-> Proxy DescribeRuntimeVersions
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeRuntimeVersions)))
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 [RuntimeVersion]
-> Maybe Text -> Int -> DescribeRuntimeVersionsResponse
DescribeRuntimeVersionsResponse'
(Maybe [RuntimeVersion]
-> Maybe Text -> Int -> DescribeRuntimeVersionsResponse)
-> Either String (Maybe [RuntimeVersion])
-> Either
String (Maybe Text -> Int -> DescribeRuntimeVersionsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object -> Text -> Either String (Maybe (Maybe [RuntimeVersion]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"RuntimeVersions"
Either String (Maybe (Maybe [RuntimeVersion]))
-> Maybe [RuntimeVersion] -> Either String (Maybe [RuntimeVersion])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [RuntimeVersion]
forall a. Monoid a => a
Prelude.mempty
)
Either
String (Maybe Text -> Int -> DescribeRuntimeVersionsResponse)
-> Either String (Maybe Text)
-> Either String (Int -> DescribeRuntimeVersionsResponse)
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 -> DescribeRuntimeVersionsResponse)
-> Either String Int
-> Either String DescribeRuntimeVersionsResponse
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 DescribeRuntimeVersions
instance Prelude.NFData DescribeRuntimeVersions
instance Core.ToHeaders DescribeRuntimeVersions where
toHeaders :: DescribeRuntimeVersions -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeRuntimeVersions -> 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 DescribeRuntimeVersions where
toJSON :: DescribeRuntimeVersions -> Value
toJSON DescribeRuntimeVersions' {Maybe Natural
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:maxResults:DescribeRuntimeVersions' :: DescribeRuntimeVersions -> Maybe Natural
$sel:nextToken:DescribeRuntimeVersions' :: DescribeRuntimeVersions -> 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
]
)
instance Core.ToPath DescribeRuntimeVersions where
toPath :: DescribeRuntimeVersions -> ByteString
toPath = ByteString -> DescribeRuntimeVersions -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/runtime-versions"
instance Core.ToQuery DescribeRuntimeVersions where
toQuery :: DescribeRuntimeVersions -> QueryString
toQuery = QueryString -> DescribeRuntimeVersions -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeRuntimeVersionsResponse = DescribeRuntimeVersionsResponse'
{
DescribeRuntimeVersionsResponse -> Maybe [RuntimeVersion]
runtimeVersions :: Prelude.Maybe [RuntimeVersion],
DescribeRuntimeVersionsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
DescribeRuntimeVersionsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeRuntimeVersionsResponse
-> DescribeRuntimeVersionsResponse -> Bool
(DescribeRuntimeVersionsResponse
-> DescribeRuntimeVersionsResponse -> Bool)
-> (DescribeRuntimeVersionsResponse
-> DescribeRuntimeVersionsResponse -> Bool)
-> Eq DescribeRuntimeVersionsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeRuntimeVersionsResponse
-> DescribeRuntimeVersionsResponse -> Bool
$c/= :: DescribeRuntimeVersionsResponse
-> DescribeRuntimeVersionsResponse -> Bool
== :: DescribeRuntimeVersionsResponse
-> DescribeRuntimeVersionsResponse -> Bool
$c== :: DescribeRuntimeVersionsResponse
-> DescribeRuntimeVersionsResponse -> Bool
Prelude.Eq, ReadPrec [DescribeRuntimeVersionsResponse]
ReadPrec DescribeRuntimeVersionsResponse
Int -> ReadS DescribeRuntimeVersionsResponse
ReadS [DescribeRuntimeVersionsResponse]
(Int -> ReadS DescribeRuntimeVersionsResponse)
-> ReadS [DescribeRuntimeVersionsResponse]
-> ReadPrec DescribeRuntimeVersionsResponse
-> ReadPrec [DescribeRuntimeVersionsResponse]
-> Read DescribeRuntimeVersionsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeRuntimeVersionsResponse]
$creadListPrec :: ReadPrec [DescribeRuntimeVersionsResponse]
readPrec :: ReadPrec DescribeRuntimeVersionsResponse
$creadPrec :: ReadPrec DescribeRuntimeVersionsResponse
readList :: ReadS [DescribeRuntimeVersionsResponse]
$creadList :: ReadS [DescribeRuntimeVersionsResponse]
readsPrec :: Int -> ReadS DescribeRuntimeVersionsResponse
$creadsPrec :: Int -> ReadS DescribeRuntimeVersionsResponse
Prelude.Read, Int -> DescribeRuntimeVersionsResponse -> ShowS
[DescribeRuntimeVersionsResponse] -> ShowS
DescribeRuntimeVersionsResponse -> String
(Int -> DescribeRuntimeVersionsResponse -> ShowS)
-> (DescribeRuntimeVersionsResponse -> String)
-> ([DescribeRuntimeVersionsResponse] -> ShowS)
-> Show DescribeRuntimeVersionsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeRuntimeVersionsResponse] -> ShowS
$cshowList :: [DescribeRuntimeVersionsResponse] -> ShowS
show :: DescribeRuntimeVersionsResponse -> String
$cshow :: DescribeRuntimeVersionsResponse -> String
showsPrec :: Int -> DescribeRuntimeVersionsResponse -> ShowS
$cshowsPrec :: Int -> DescribeRuntimeVersionsResponse -> ShowS
Prelude.Show, (forall x.
DescribeRuntimeVersionsResponse
-> Rep DescribeRuntimeVersionsResponse x)
-> (forall x.
Rep DescribeRuntimeVersionsResponse x
-> DescribeRuntimeVersionsResponse)
-> Generic DescribeRuntimeVersionsResponse
forall x.
Rep DescribeRuntimeVersionsResponse x
-> DescribeRuntimeVersionsResponse
forall x.
DescribeRuntimeVersionsResponse
-> Rep DescribeRuntimeVersionsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeRuntimeVersionsResponse x
-> DescribeRuntimeVersionsResponse
$cfrom :: forall x.
DescribeRuntimeVersionsResponse
-> Rep DescribeRuntimeVersionsResponse x
Prelude.Generic)
newDescribeRuntimeVersionsResponse ::
Prelude.Int ->
DescribeRuntimeVersionsResponse
newDescribeRuntimeVersionsResponse :: Int -> DescribeRuntimeVersionsResponse
newDescribeRuntimeVersionsResponse Int
pHttpStatus_ =
DescribeRuntimeVersionsResponse' :: Maybe [RuntimeVersion]
-> Maybe Text -> Int -> DescribeRuntimeVersionsResponse
DescribeRuntimeVersionsResponse'
{ $sel:runtimeVersions:DescribeRuntimeVersionsResponse' :: Maybe [RuntimeVersion]
runtimeVersions =
Maybe [RuntimeVersion]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:DescribeRuntimeVersionsResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeRuntimeVersionsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeRuntimeVersionsResponse_runtimeVersions :: Lens.Lens' DescribeRuntimeVersionsResponse (Prelude.Maybe [RuntimeVersion])
describeRuntimeVersionsResponse_runtimeVersions :: (Maybe [RuntimeVersion] -> f (Maybe [RuntimeVersion]))
-> DescribeRuntimeVersionsResponse
-> f DescribeRuntimeVersionsResponse
describeRuntimeVersionsResponse_runtimeVersions = (DescribeRuntimeVersionsResponse -> Maybe [RuntimeVersion])
-> (DescribeRuntimeVersionsResponse
-> Maybe [RuntimeVersion] -> DescribeRuntimeVersionsResponse)
-> Lens
DescribeRuntimeVersionsResponse
DescribeRuntimeVersionsResponse
(Maybe [RuntimeVersion])
(Maybe [RuntimeVersion])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRuntimeVersionsResponse' {Maybe [RuntimeVersion]
runtimeVersions :: Maybe [RuntimeVersion]
$sel:runtimeVersions:DescribeRuntimeVersionsResponse' :: DescribeRuntimeVersionsResponse -> Maybe [RuntimeVersion]
runtimeVersions} -> Maybe [RuntimeVersion]
runtimeVersions) (\s :: DescribeRuntimeVersionsResponse
s@DescribeRuntimeVersionsResponse' {} Maybe [RuntimeVersion]
a -> DescribeRuntimeVersionsResponse
s {$sel:runtimeVersions:DescribeRuntimeVersionsResponse' :: Maybe [RuntimeVersion]
runtimeVersions = Maybe [RuntimeVersion]
a} :: DescribeRuntimeVersionsResponse) ((Maybe [RuntimeVersion] -> f (Maybe [RuntimeVersion]))
-> DescribeRuntimeVersionsResponse
-> f DescribeRuntimeVersionsResponse)
-> ((Maybe [RuntimeVersion] -> f (Maybe [RuntimeVersion]))
-> Maybe [RuntimeVersion] -> f (Maybe [RuntimeVersion]))
-> (Maybe [RuntimeVersion] -> f (Maybe [RuntimeVersion]))
-> DescribeRuntimeVersionsResponse
-> f DescribeRuntimeVersionsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[RuntimeVersion] [RuntimeVersion] [RuntimeVersion] [RuntimeVersion]
-> Iso
(Maybe [RuntimeVersion])
(Maybe [RuntimeVersion])
(Maybe [RuntimeVersion])
(Maybe [RuntimeVersion])
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
[RuntimeVersion] [RuntimeVersion] [RuntimeVersion] [RuntimeVersion]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeRuntimeVersionsResponse_nextToken :: Lens.Lens' DescribeRuntimeVersionsResponse (Prelude.Maybe Prelude.Text)
describeRuntimeVersionsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> DescribeRuntimeVersionsResponse
-> f DescribeRuntimeVersionsResponse
describeRuntimeVersionsResponse_nextToken = (DescribeRuntimeVersionsResponse -> Maybe Text)
-> (DescribeRuntimeVersionsResponse
-> Maybe Text -> DescribeRuntimeVersionsResponse)
-> Lens
DescribeRuntimeVersionsResponse
DescribeRuntimeVersionsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRuntimeVersionsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:DescribeRuntimeVersionsResponse' :: DescribeRuntimeVersionsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: DescribeRuntimeVersionsResponse
s@DescribeRuntimeVersionsResponse' {} Maybe Text
a -> DescribeRuntimeVersionsResponse
s {$sel:nextToken:DescribeRuntimeVersionsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: DescribeRuntimeVersionsResponse)
describeRuntimeVersionsResponse_httpStatus :: Lens.Lens' DescribeRuntimeVersionsResponse Prelude.Int
describeRuntimeVersionsResponse_httpStatus :: (Int -> f Int)
-> DescribeRuntimeVersionsResponse
-> f DescribeRuntimeVersionsResponse
describeRuntimeVersionsResponse_httpStatus = (DescribeRuntimeVersionsResponse -> Int)
-> (DescribeRuntimeVersionsResponse
-> Int -> DescribeRuntimeVersionsResponse)
-> Lens
DescribeRuntimeVersionsResponse
DescribeRuntimeVersionsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRuntimeVersionsResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeRuntimeVersionsResponse' :: DescribeRuntimeVersionsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeRuntimeVersionsResponse
s@DescribeRuntimeVersionsResponse' {} Int
a -> DescribeRuntimeVersionsResponse
s {$sel:httpStatus:DescribeRuntimeVersionsResponse' :: Int
httpStatus = Int
a} :: DescribeRuntimeVersionsResponse)
instance
Prelude.NFData
DescribeRuntimeVersionsResponse