{-# 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.AppStream.CreateImageBuilderStreamingURL
(
CreateImageBuilderStreamingURL (..),
newCreateImageBuilderStreamingURL,
createImageBuilderStreamingURL_validity,
createImageBuilderStreamingURL_name,
CreateImageBuilderStreamingURLResponse (..),
newCreateImageBuilderStreamingURLResponse,
createImageBuilderStreamingURLResponse_streamingURL,
createImageBuilderStreamingURLResponse_expires,
createImageBuilderStreamingURLResponse_httpStatus,
)
where
import Amazonka.AppStream.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 CreateImageBuilderStreamingURL = CreateImageBuilderStreamingURL'
{
CreateImageBuilderStreamingURL -> Maybe Integer
validity :: Prelude.Maybe Prelude.Integer,
CreateImageBuilderStreamingURL -> Text
name :: Prelude.Text
}
deriving (CreateImageBuilderStreamingURL
-> CreateImageBuilderStreamingURL -> Bool
(CreateImageBuilderStreamingURL
-> CreateImageBuilderStreamingURL -> Bool)
-> (CreateImageBuilderStreamingURL
-> CreateImageBuilderStreamingURL -> Bool)
-> Eq CreateImageBuilderStreamingURL
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateImageBuilderStreamingURL
-> CreateImageBuilderStreamingURL -> Bool
$c/= :: CreateImageBuilderStreamingURL
-> CreateImageBuilderStreamingURL -> Bool
== :: CreateImageBuilderStreamingURL
-> CreateImageBuilderStreamingURL -> Bool
$c== :: CreateImageBuilderStreamingURL
-> CreateImageBuilderStreamingURL -> Bool
Prelude.Eq, ReadPrec [CreateImageBuilderStreamingURL]
ReadPrec CreateImageBuilderStreamingURL
Int -> ReadS CreateImageBuilderStreamingURL
ReadS [CreateImageBuilderStreamingURL]
(Int -> ReadS CreateImageBuilderStreamingURL)
-> ReadS [CreateImageBuilderStreamingURL]
-> ReadPrec CreateImageBuilderStreamingURL
-> ReadPrec [CreateImageBuilderStreamingURL]
-> Read CreateImageBuilderStreamingURL
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateImageBuilderStreamingURL]
$creadListPrec :: ReadPrec [CreateImageBuilderStreamingURL]
readPrec :: ReadPrec CreateImageBuilderStreamingURL
$creadPrec :: ReadPrec CreateImageBuilderStreamingURL
readList :: ReadS [CreateImageBuilderStreamingURL]
$creadList :: ReadS [CreateImageBuilderStreamingURL]
readsPrec :: Int -> ReadS CreateImageBuilderStreamingURL
$creadsPrec :: Int -> ReadS CreateImageBuilderStreamingURL
Prelude.Read, Int -> CreateImageBuilderStreamingURL -> ShowS
[CreateImageBuilderStreamingURL] -> ShowS
CreateImageBuilderStreamingURL -> String
(Int -> CreateImageBuilderStreamingURL -> ShowS)
-> (CreateImageBuilderStreamingURL -> String)
-> ([CreateImageBuilderStreamingURL] -> ShowS)
-> Show CreateImageBuilderStreamingURL
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateImageBuilderStreamingURL] -> ShowS
$cshowList :: [CreateImageBuilderStreamingURL] -> ShowS
show :: CreateImageBuilderStreamingURL -> String
$cshow :: CreateImageBuilderStreamingURL -> String
showsPrec :: Int -> CreateImageBuilderStreamingURL -> ShowS
$cshowsPrec :: Int -> CreateImageBuilderStreamingURL -> ShowS
Prelude.Show, (forall x.
CreateImageBuilderStreamingURL
-> Rep CreateImageBuilderStreamingURL x)
-> (forall x.
Rep CreateImageBuilderStreamingURL x
-> CreateImageBuilderStreamingURL)
-> Generic CreateImageBuilderStreamingURL
forall x.
Rep CreateImageBuilderStreamingURL x
-> CreateImageBuilderStreamingURL
forall x.
CreateImageBuilderStreamingURL
-> Rep CreateImageBuilderStreamingURL x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateImageBuilderStreamingURL x
-> CreateImageBuilderStreamingURL
$cfrom :: forall x.
CreateImageBuilderStreamingURL
-> Rep CreateImageBuilderStreamingURL x
Prelude.Generic)
newCreateImageBuilderStreamingURL ::
Prelude.Text ->
CreateImageBuilderStreamingURL
newCreateImageBuilderStreamingURL :: Text -> CreateImageBuilderStreamingURL
newCreateImageBuilderStreamingURL Text
pName_ =
CreateImageBuilderStreamingURL' :: Maybe Integer -> Text -> CreateImageBuilderStreamingURL
CreateImageBuilderStreamingURL'
{ $sel:validity:CreateImageBuilderStreamingURL' :: Maybe Integer
validity =
Maybe Integer
forall a. Maybe a
Prelude.Nothing,
$sel:name:CreateImageBuilderStreamingURL' :: Text
name = Text
pName_
}
createImageBuilderStreamingURL_validity :: Lens.Lens' CreateImageBuilderStreamingURL (Prelude.Maybe Prelude.Integer)
createImageBuilderStreamingURL_validity :: (Maybe Integer -> f (Maybe Integer))
-> CreateImageBuilderStreamingURL
-> f CreateImageBuilderStreamingURL
createImageBuilderStreamingURL_validity = (CreateImageBuilderStreamingURL -> Maybe Integer)
-> (CreateImageBuilderStreamingURL
-> Maybe Integer -> CreateImageBuilderStreamingURL)
-> Lens
CreateImageBuilderStreamingURL
CreateImageBuilderStreamingURL
(Maybe Integer)
(Maybe Integer)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateImageBuilderStreamingURL' {Maybe Integer
validity :: Maybe Integer
$sel:validity:CreateImageBuilderStreamingURL' :: CreateImageBuilderStreamingURL -> Maybe Integer
validity} -> Maybe Integer
validity) (\s :: CreateImageBuilderStreamingURL
s@CreateImageBuilderStreamingURL' {} Maybe Integer
a -> CreateImageBuilderStreamingURL
s {$sel:validity:CreateImageBuilderStreamingURL' :: Maybe Integer
validity = Maybe Integer
a} :: CreateImageBuilderStreamingURL)
createImageBuilderStreamingURL_name :: Lens.Lens' CreateImageBuilderStreamingURL Prelude.Text
createImageBuilderStreamingURL_name :: (Text -> f Text)
-> CreateImageBuilderStreamingURL
-> f CreateImageBuilderStreamingURL
createImageBuilderStreamingURL_name = (CreateImageBuilderStreamingURL -> Text)
-> (CreateImageBuilderStreamingURL
-> Text -> CreateImageBuilderStreamingURL)
-> Lens
CreateImageBuilderStreamingURL
CreateImageBuilderStreamingURL
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateImageBuilderStreamingURL' {Text
name :: Text
$sel:name:CreateImageBuilderStreamingURL' :: CreateImageBuilderStreamingURL -> Text
name} -> Text
name) (\s :: CreateImageBuilderStreamingURL
s@CreateImageBuilderStreamingURL' {} Text
a -> CreateImageBuilderStreamingURL
s {$sel:name:CreateImageBuilderStreamingURL' :: Text
name = Text
a} :: CreateImageBuilderStreamingURL)
instance
Core.AWSRequest
CreateImageBuilderStreamingURL
where
type
AWSResponse CreateImageBuilderStreamingURL =
CreateImageBuilderStreamingURLResponse
request :: CreateImageBuilderStreamingURL
-> Request CreateImageBuilderStreamingURL
request = Service
-> CreateImageBuilderStreamingURL
-> Request CreateImageBuilderStreamingURL
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy CreateImageBuilderStreamingURL
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse CreateImageBuilderStreamingURL)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse CreateImageBuilderStreamingURL))
-> Logger
-> Service
-> Proxy CreateImageBuilderStreamingURL
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse CreateImageBuilderStreamingURL)))
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 POSIX -> Int -> CreateImageBuilderStreamingURLResponse
CreateImageBuilderStreamingURLResponse'
(Maybe Text
-> Maybe POSIX -> Int -> CreateImageBuilderStreamingURLResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe POSIX -> Int -> CreateImageBuilderStreamingURLResponse)
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
"StreamingURL")
Either
String
(Maybe POSIX -> Int -> CreateImageBuilderStreamingURLResponse)
-> Either String (Maybe POSIX)
-> Either String (Int -> CreateImageBuilderStreamingURLResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Expires")
Either String (Int -> CreateImageBuilderStreamingURLResponse)
-> Either String Int
-> Either String CreateImageBuilderStreamingURLResponse
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
CreateImageBuilderStreamingURL
instance
Prelude.NFData
CreateImageBuilderStreamingURL
instance
Core.ToHeaders
CreateImageBuilderStreamingURL
where
toHeaders :: CreateImageBuilderStreamingURL -> ResponseHeaders
toHeaders =
ResponseHeaders
-> CreateImageBuilderStreamingURL -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"PhotonAdminProxyService.CreateImageBuilderStreamingURL" ::
Prelude.ByteString
),
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 CreateImageBuilderStreamingURL where
toJSON :: CreateImageBuilderStreamingURL -> Value
toJSON CreateImageBuilderStreamingURL' {Maybe Integer
Text
name :: Text
validity :: Maybe Integer
$sel:name:CreateImageBuilderStreamingURL' :: CreateImageBuilderStreamingURL -> Text
$sel:validity:CreateImageBuilderStreamingURL' :: CreateImageBuilderStreamingURL -> Maybe Integer
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"Validity" Text -> Integer -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Integer -> Pair) -> Maybe Integer -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Integer
validity,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"Name" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
name)
]
)
instance Core.ToPath CreateImageBuilderStreamingURL where
toPath :: CreateImageBuilderStreamingURL -> ByteString
toPath = ByteString -> CreateImageBuilderStreamingURL -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery CreateImageBuilderStreamingURL where
toQuery :: CreateImageBuilderStreamingURL -> QueryString
toQuery = QueryString -> CreateImageBuilderStreamingURL -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data CreateImageBuilderStreamingURLResponse = CreateImageBuilderStreamingURLResponse'
{
CreateImageBuilderStreamingURLResponse -> Maybe Text
streamingURL :: Prelude.Maybe Prelude.Text,
CreateImageBuilderStreamingURLResponse -> Maybe POSIX
expires :: Prelude.Maybe Core.POSIX,
CreateImageBuilderStreamingURLResponse -> Int
httpStatus :: Prelude.Int
}
deriving (CreateImageBuilderStreamingURLResponse
-> CreateImageBuilderStreamingURLResponse -> Bool
(CreateImageBuilderStreamingURLResponse
-> CreateImageBuilderStreamingURLResponse -> Bool)
-> (CreateImageBuilderStreamingURLResponse
-> CreateImageBuilderStreamingURLResponse -> Bool)
-> Eq CreateImageBuilderStreamingURLResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateImageBuilderStreamingURLResponse
-> CreateImageBuilderStreamingURLResponse -> Bool
$c/= :: CreateImageBuilderStreamingURLResponse
-> CreateImageBuilderStreamingURLResponse -> Bool
== :: CreateImageBuilderStreamingURLResponse
-> CreateImageBuilderStreamingURLResponse -> Bool
$c== :: CreateImageBuilderStreamingURLResponse
-> CreateImageBuilderStreamingURLResponse -> Bool
Prelude.Eq, ReadPrec [CreateImageBuilderStreamingURLResponse]
ReadPrec CreateImageBuilderStreamingURLResponse
Int -> ReadS CreateImageBuilderStreamingURLResponse
ReadS [CreateImageBuilderStreamingURLResponse]
(Int -> ReadS CreateImageBuilderStreamingURLResponse)
-> ReadS [CreateImageBuilderStreamingURLResponse]
-> ReadPrec CreateImageBuilderStreamingURLResponse
-> ReadPrec [CreateImageBuilderStreamingURLResponse]
-> Read CreateImageBuilderStreamingURLResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateImageBuilderStreamingURLResponse]
$creadListPrec :: ReadPrec [CreateImageBuilderStreamingURLResponse]
readPrec :: ReadPrec CreateImageBuilderStreamingURLResponse
$creadPrec :: ReadPrec CreateImageBuilderStreamingURLResponse
readList :: ReadS [CreateImageBuilderStreamingURLResponse]
$creadList :: ReadS [CreateImageBuilderStreamingURLResponse]
readsPrec :: Int -> ReadS CreateImageBuilderStreamingURLResponse
$creadsPrec :: Int -> ReadS CreateImageBuilderStreamingURLResponse
Prelude.Read, Int -> CreateImageBuilderStreamingURLResponse -> ShowS
[CreateImageBuilderStreamingURLResponse] -> ShowS
CreateImageBuilderStreamingURLResponse -> String
(Int -> CreateImageBuilderStreamingURLResponse -> ShowS)
-> (CreateImageBuilderStreamingURLResponse -> String)
-> ([CreateImageBuilderStreamingURLResponse] -> ShowS)
-> Show CreateImageBuilderStreamingURLResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateImageBuilderStreamingURLResponse] -> ShowS
$cshowList :: [CreateImageBuilderStreamingURLResponse] -> ShowS
show :: CreateImageBuilderStreamingURLResponse -> String
$cshow :: CreateImageBuilderStreamingURLResponse -> String
showsPrec :: Int -> CreateImageBuilderStreamingURLResponse -> ShowS
$cshowsPrec :: Int -> CreateImageBuilderStreamingURLResponse -> ShowS
Prelude.Show, (forall x.
CreateImageBuilderStreamingURLResponse
-> Rep CreateImageBuilderStreamingURLResponse x)
-> (forall x.
Rep CreateImageBuilderStreamingURLResponse x
-> CreateImageBuilderStreamingURLResponse)
-> Generic CreateImageBuilderStreamingURLResponse
forall x.
Rep CreateImageBuilderStreamingURLResponse x
-> CreateImageBuilderStreamingURLResponse
forall x.
CreateImageBuilderStreamingURLResponse
-> Rep CreateImageBuilderStreamingURLResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateImageBuilderStreamingURLResponse x
-> CreateImageBuilderStreamingURLResponse
$cfrom :: forall x.
CreateImageBuilderStreamingURLResponse
-> Rep CreateImageBuilderStreamingURLResponse x
Prelude.Generic)
newCreateImageBuilderStreamingURLResponse ::
Prelude.Int ->
CreateImageBuilderStreamingURLResponse
newCreateImageBuilderStreamingURLResponse :: Int -> CreateImageBuilderStreamingURLResponse
newCreateImageBuilderStreamingURLResponse
Int
pHttpStatus_ =
CreateImageBuilderStreamingURLResponse' :: Maybe Text
-> Maybe POSIX -> Int -> CreateImageBuilderStreamingURLResponse
CreateImageBuilderStreamingURLResponse'
{ $sel:streamingURL:CreateImageBuilderStreamingURLResponse' :: Maybe Text
streamingURL =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:expires:CreateImageBuilderStreamingURLResponse' :: Maybe POSIX
expires = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:CreateImageBuilderStreamingURLResponse' :: Int
httpStatus = Int
pHttpStatus_
}
createImageBuilderStreamingURLResponse_streamingURL :: Lens.Lens' CreateImageBuilderStreamingURLResponse (Prelude.Maybe Prelude.Text)
createImageBuilderStreamingURLResponse_streamingURL :: (Maybe Text -> f (Maybe Text))
-> CreateImageBuilderStreamingURLResponse
-> f CreateImageBuilderStreamingURLResponse
createImageBuilderStreamingURLResponse_streamingURL = (CreateImageBuilderStreamingURLResponse -> Maybe Text)
-> (CreateImageBuilderStreamingURLResponse
-> Maybe Text -> CreateImageBuilderStreamingURLResponse)
-> Lens
CreateImageBuilderStreamingURLResponse
CreateImageBuilderStreamingURLResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateImageBuilderStreamingURLResponse' {Maybe Text
streamingURL :: Maybe Text
$sel:streamingURL:CreateImageBuilderStreamingURLResponse' :: CreateImageBuilderStreamingURLResponse -> Maybe Text
streamingURL} -> Maybe Text
streamingURL) (\s :: CreateImageBuilderStreamingURLResponse
s@CreateImageBuilderStreamingURLResponse' {} Maybe Text
a -> CreateImageBuilderStreamingURLResponse
s {$sel:streamingURL:CreateImageBuilderStreamingURLResponse' :: Maybe Text
streamingURL = Maybe Text
a} :: CreateImageBuilderStreamingURLResponse)
createImageBuilderStreamingURLResponse_expires :: Lens.Lens' CreateImageBuilderStreamingURLResponse (Prelude.Maybe Prelude.UTCTime)
createImageBuilderStreamingURLResponse_expires :: (Maybe UTCTime -> f (Maybe UTCTime))
-> CreateImageBuilderStreamingURLResponse
-> f CreateImageBuilderStreamingURLResponse
createImageBuilderStreamingURLResponse_expires = (CreateImageBuilderStreamingURLResponse -> Maybe POSIX)
-> (CreateImageBuilderStreamingURLResponse
-> Maybe POSIX -> CreateImageBuilderStreamingURLResponse)
-> Lens
CreateImageBuilderStreamingURLResponse
CreateImageBuilderStreamingURLResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateImageBuilderStreamingURLResponse' {Maybe POSIX
expires :: Maybe POSIX
$sel:expires:CreateImageBuilderStreamingURLResponse' :: CreateImageBuilderStreamingURLResponse -> Maybe POSIX
expires} -> Maybe POSIX
expires) (\s :: CreateImageBuilderStreamingURLResponse
s@CreateImageBuilderStreamingURLResponse' {} Maybe POSIX
a -> CreateImageBuilderStreamingURLResponse
s {$sel:expires:CreateImageBuilderStreamingURLResponse' :: Maybe POSIX
expires = Maybe POSIX
a} :: CreateImageBuilderStreamingURLResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> CreateImageBuilderStreamingURLResponse
-> f CreateImageBuilderStreamingURLResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> CreateImageBuilderStreamingURLResponse
-> f CreateImageBuilderStreamingURLResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
createImageBuilderStreamingURLResponse_httpStatus :: Lens.Lens' CreateImageBuilderStreamingURLResponse Prelude.Int
createImageBuilderStreamingURLResponse_httpStatus :: (Int -> f Int)
-> CreateImageBuilderStreamingURLResponse
-> f CreateImageBuilderStreamingURLResponse
createImageBuilderStreamingURLResponse_httpStatus = (CreateImageBuilderStreamingURLResponse -> Int)
-> (CreateImageBuilderStreamingURLResponse
-> Int -> CreateImageBuilderStreamingURLResponse)
-> Lens
CreateImageBuilderStreamingURLResponse
CreateImageBuilderStreamingURLResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateImageBuilderStreamingURLResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateImageBuilderStreamingURLResponse' :: CreateImageBuilderStreamingURLResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: CreateImageBuilderStreamingURLResponse
s@CreateImageBuilderStreamingURLResponse' {} Int
a -> CreateImageBuilderStreamingURLResponse
s {$sel:httpStatus:CreateImageBuilderStreamingURLResponse' :: Int
httpStatus = Int
a} :: CreateImageBuilderStreamingURLResponse)
instance
Prelude.NFData
CreateImageBuilderStreamingURLResponse