{-# 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.MediaConvert.CreateQueue
(
CreateQueue (..),
newCreateQueue,
createQueue_status,
createQueue_pricingPlan,
createQueue_description,
createQueue_reservationPlanSettings,
createQueue_tags,
createQueue_name,
CreateQueueResponse (..),
newCreateQueueResponse,
createQueueResponse_queue,
createQueueResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.MediaConvert.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data CreateQueue = CreateQueue'
{
CreateQueue -> Maybe QueueStatus
status :: Prelude.Maybe QueueStatus,
CreateQueue -> Maybe PricingPlan
pricingPlan :: Prelude.Maybe PricingPlan,
CreateQueue -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
CreateQueue -> Maybe ReservationPlanSettings
reservationPlanSettings :: Prelude.Maybe ReservationPlanSettings,
CreateQueue -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
CreateQueue -> Text
name :: Prelude.Text
}
deriving (CreateQueue -> CreateQueue -> Bool
(CreateQueue -> CreateQueue -> Bool)
-> (CreateQueue -> CreateQueue -> Bool) -> Eq CreateQueue
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateQueue -> CreateQueue -> Bool
$c/= :: CreateQueue -> CreateQueue -> Bool
== :: CreateQueue -> CreateQueue -> Bool
$c== :: CreateQueue -> CreateQueue -> Bool
Prelude.Eq, ReadPrec [CreateQueue]
ReadPrec CreateQueue
Int -> ReadS CreateQueue
ReadS [CreateQueue]
(Int -> ReadS CreateQueue)
-> ReadS [CreateQueue]
-> ReadPrec CreateQueue
-> ReadPrec [CreateQueue]
-> Read CreateQueue
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateQueue]
$creadListPrec :: ReadPrec [CreateQueue]
readPrec :: ReadPrec CreateQueue
$creadPrec :: ReadPrec CreateQueue
readList :: ReadS [CreateQueue]
$creadList :: ReadS [CreateQueue]
readsPrec :: Int -> ReadS CreateQueue
$creadsPrec :: Int -> ReadS CreateQueue
Prelude.Read, Int -> CreateQueue -> ShowS
[CreateQueue] -> ShowS
CreateQueue -> String
(Int -> CreateQueue -> ShowS)
-> (CreateQueue -> String)
-> ([CreateQueue] -> ShowS)
-> Show CreateQueue
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateQueue] -> ShowS
$cshowList :: [CreateQueue] -> ShowS
show :: CreateQueue -> String
$cshow :: CreateQueue -> String
showsPrec :: Int -> CreateQueue -> ShowS
$cshowsPrec :: Int -> CreateQueue -> ShowS
Prelude.Show, (forall x. CreateQueue -> Rep CreateQueue x)
-> (forall x. Rep CreateQueue x -> CreateQueue)
-> Generic CreateQueue
forall x. Rep CreateQueue x -> CreateQueue
forall x. CreateQueue -> Rep CreateQueue x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CreateQueue x -> CreateQueue
$cfrom :: forall x. CreateQueue -> Rep CreateQueue x
Prelude.Generic)
newCreateQueue ::
Prelude.Text ->
CreateQueue
newCreateQueue :: Text -> CreateQueue
newCreateQueue Text
pName_ =
CreateQueue' :: Maybe QueueStatus
-> Maybe PricingPlan
-> Maybe Text
-> Maybe ReservationPlanSettings
-> Maybe (HashMap Text Text)
-> Text
-> CreateQueue
CreateQueue'
{ $sel:status:CreateQueue' :: Maybe QueueStatus
status = Maybe QueueStatus
forall a. Maybe a
Prelude.Nothing,
$sel:pricingPlan:CreateQueue' :: Maybe PricingPlan
pricingPlan = Maybe PricingPlan
forall a. Maybe a
Prelude.Nothing,
$sel:description:CreateQueue' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:reservationPlanSettings:CreateQueue' :: Maybe ReservationPlanSettings
reservationPlanSettings = Maybe ReservationPlanSettings
forall a. Maybe a
Prelude.Nothing,
$sel:tags:CreateQueue' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
$sel:name:CreateQueue' :: Text
name = Text
pName_
}
createQueue_status :: Lens.Lens' CreateQueue (Prelude.Maybe QueueStatus)
createQueue_status :: (Maybe QueueStatus -> f (Maybe QueueStatus))
-> CreateQueue -> f CreateQueue
createQueue_status = (CreateQueue -> Maybe QueueStatus)
-> (CreateQueue -> Maybe QueueStatus -> CreateQueue)
-> Lens
CreateQueue CreateQueue (Maybe QueueStatus) (Maybe QueueStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateQueue' {Maybe QueueStatus
status :: Maybe QueueStatus
$sel:status:CreateQueue' :: CreateQueue -> Maybe QueueStatus
status} -> Maybe QueueStatus
status) (\s :: CreateQueue
s@CreateQueue' {} Maybe QueueStatus
a -> CreateQueue
s {$sel:status:CreateQueue' :: Maybe QueueStatus
status = Maybe QueueStatus
a} :: CreateQueue)
createQueue_pricingPlan :: Lens.Lens' CreateQueue (Prelude.Maybe PricingPlan)
createQueue_pricingPlan :: (Maybe PricingPlan -> f (Maybe PricingPlan))
-> CreateQueue -> f CreateQueue
createQueue_pricingPlan = (CreateQueue -> Maybe PricingPlan)
-> (CreateQueue -> Maybe PricingPlan -> CreateQueue)
-> Lens
CreateQueue CreateQueue (Maybe PricingPlan) (Maybe PricingPlan)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateQueue' {Maybe PricingPlan
pricingPlan :: Maybe PricingPlan
$sel:pricingPlan:CreateQueue' :: CreateQueue -> Maybe PricingPlan
pricingPlan} -> Maybe PricingPlan
pricingPlan) (\s :: CreateQueue
s@CreateQueue' {} Maybe PricingPlan
a -> CreateQueue
s {$sel:pricingPlan:CreateQueue' :: Maybe PricingPlan
pricingPlan = Maybe PricingPlan
a} :: CreateQueue)
createQueue_description :: Lens.Lens' CreateQueue (Prelude.Maybe Prelude.Text)
createQueue_description :: (Maybe Text -> f (Maybe Text)) -> CreateQueue -> f CreateQueue
createQueue_description = (CreateQueue -> Maybe Text)
-> (CreateQueue -> Maybe Text -> CreateQueue)
-> Lens CreateQueue CreateQueue (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateQueue' {Maybe Text
description :: Maybe Text
$sel:description:CreateQueue' :: CreateQueue -> Maybe Text
description} -> Maybe Text
description) (\s :: CreateQueue
s@CreateQueue' {} Maybe Text
a -> CreateQueue
s {$sel:description:CreateQueue' :: Maybe Text
description = Maybe Text
a} :: CreateQueue)
createQueue_reservationPlanSettings :: Lens.Lens' CreateQueue (Prelude.Maybe ReservationPlanSettings)
createQueue_reservationPlanSettings :: (Maybe ReservationPlanSettings
-> f (Maybe ReservationPlanSettings))
-> CreateQueue -> f CreateQueue
createQueue_reservationPlanSettings = (CreateQueue -> Maybe ReservationPlanSettings)
-> (CreateQueue -> Maybe ReservationPlanSettings -> CreateQueue)
-> Lens
CreateQueue
CreateQueue
(Maybe ReservationPlanSettings)
(Maybe ReservationPlanSettings)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateQueue' {Maybe ReservationPlanSettings
reservationPlanSettings :: Maybe ReservationPlanSettings
$sel:reservationPlanSettings:CreateQueue' :: CreateQueue -> Maybe ReservationPlanSettings
reservationPlanSettings} -> Maybe ReservationPlanSettings
reservationPlanSettings) (\s :: CreateQueue
s@CreateQueue' {} Maybe ReservationPlanSettings
a -> CreateQueue
s {$sel:reservationPlanSettings:CreateQueue' :: Maybe ReservationPlanSettings
reservationPlanSettings = Maybe ReservationPlanSettings
a} :: CreateQueue)
createQueue_tags :: Lens.Lens' CreateQueue (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
createQueue_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> CreateQueue -> f CreateQueue
createQueue_tags = (CreateQueue -> Maybe (HashMap Text Text))
-> (CreateQueue -> Maybe (HashMap Text Text) -> CreateQueue)
-> Lens
CreateQueue
CreateQueue
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateQueue' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:CreateQueue' :: CreateQueue -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: CreateQueue
s@CreateQueue' {} Maybe (HashMap Text Text)
a -> CreateQueue
s {$sel:tags:CreateQueue' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: CreateQueue) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> CreateQueue -> f CreateQueue)
-> ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> CreateQueue
-> f CreateQueue
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
-> Iso
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
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
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createQueue_name :: Lens.Lens' CreateQueue Prelude.Text
createQueue_name :: (Text -> f Text) -> CreateQueue -> f CreateQueue
createQueue_name = (CreateQueue -> Text)
-> (CreateQueue -> Text -> CreateQueue)
-> Lens CreateQueue CreateQueue Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateQueue' {Text
name :: Text
$sel:name:CreateQueue' :: CreateQueue -> Text
name} -> Text
name) (\s :: CreateQueue
s@CreateQueue' {} Text
a -> CreateQueue
s {$sel:name:CreateQueue' :: Text
name = Text
a} :: CreateQueue)
instance Core.AWSRequest CreateQueue where
type AWSResponse CreateQueue = CreateQueueResponse
request :: CreateQueue -> Request CreateQueue
request = Service -> CreateQueue -> Request CreateQueue
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy CreateQueue
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse CreateQueue)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse CreateQueue))
-> Logger
-> Service
-> Proxy CreateQueue
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse CreateQueue)))
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 Queue -> Int -> CreateQueueResponse
CreateQueueResponse'
(Maybe Queue -> Int -> CreateQueueResponse)
-> Either String (Maybe Queue)
-> Either String (Int -> CreateQueueResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Queue)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"queue")
Either String (Int -> CreateQueueResponse)
-> Either String Int -> Either String CreateQueueResponse
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 CreateQueue
instance Prelude.NFData CreateQueue
instance Core.ToHeaders CreateQueue where
toHeaders :: CreateQueue -> ResponseHeaders
toHeaders =
ResponseHeaders -> CreateQueue -> 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 CreateQueue where
toJSON :: CreateQueue -> Value
toJSON CreateQueue' {Maybe Text
Maybe (HashMap Text Text)
Maybe PricingPlan
Maybe QueueStatus
Maybe ReservationPlanSettings
Text
name :: Text
tags :: Maybe (HashMap Text Text)
reservationPlanSettings :: Maybe ReservationPlanSettings
description :: Maybe Text
pricingPlan :: Maybe PricingPlan
status :: Maybe QueueStatus
$sel:name:CreateQueue' :: CreateQueue -> Text
$sel:tags:CreateQueue' :: CreateQueue -> Maybe (HashMap Text Text)
$sel:reservationPlanSettings:CreateQueue' :: CreateQueue -> Maybe ReservationPlanSettings
$sel:description:CreateQueue' :: CreateQueue -> Maybe Text
$sel:pricingPlan:CreateQueue' :: CreateQueue -> Maybe PricingPlan
$sel:status:CreateQueue' :: CreateQueue -> Maybe QueueStatus
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"status" Text -> QueueStatus -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (QueueStatus -> Pair) -> Maybe QueueStatus -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe QueueStatus
status,
(Text
"pricingPlan" Text -> PricingPlan -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (PricingPlan -> Pair) -> Maybe PricingPlan -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PricingPlan
pricingPlan,
(Text
"description" 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
description,
(Text
"reservationPlanSettings" Text -> ReservationPlanSettings -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(ReservationPlanSettings -> Pair)
-> Maybe ReservationPlanSettings -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ReservationPlanSettings
reservationPlanSettings,
(Text
"tags" Text -> HashMap Text Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (HashMap Text Text -> Pair)
-> Maybe (HashMap Text Text) -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (HashMap Text Text)
tags,
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 CreateQueue where
toPath :: CreateQueue -> ByteString
toPath = ByteString -> CreateQueue -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/2017-08-29/queues"
instance Core.ToQuery CreateQueue where
toQuery :: CreateQueue -> QueryString
toQuery = QueryString -> CreateQueue -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data CreateQueueResponse = CreateQueueResponse'
{
CreateQueueResponse -> Maybe Queue
queue :: Prelude.Maybe Queue,
CreateQueueResponse -> Int
httpStatus :: Prelude.Int
}
deriving (CreateQueueResponse -> CreateQueueResponse -> Bool
(CreateQueueResponse -> CreateQueueResponse -> Bool)
-> (CreateQueueResponse -> CreateQueueResponse -> Bool)
-> Eq CreateQueueResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateQueueResponse -> CreateQueueResponse -> Bool
$c/= :: CreateQueueResponse -> CreateQueueResponse -> Bool
== :: CreateQueueResponse -> CreateQueueResponse -> Bool
$c== :: CreateQueueResponse -> CreateQueueResponse -> Bool
Prelude.Eq, ReadPrec [CreateQueueResponse]
ReadPrec CreateQueueResponse
Int -> ReadS CreateQueueResponse
ReadS [CreateQueueResponse]
(Int -> ReadS CreateQueueResponse)
-> ReadS [CreateQueueResponse]
-> ReadPrec CreateQueueResponse
-> ReadPrec [CreateQueueResponse]
-> Read CreateQueueResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateQueueResponse]
$creadListPrec :: ReadPrec [CreateQueueResponse]
readPrec :: ReadPrec CreateQueueResponse
$creadPrec :: ReadPrec CreateQueueResponse
readList :: ReadS [CreateQueueResponse]
$creadList :: ReadS [CreateQueueResponse]
readsPrec :: Int -> ReadS CreateQueueResponse
$creadsPrec :: Int -> ReadS CreateQueueResponse
Prelude.Read, Int -> CreateQueueResponse -> ShowS
[CreateQueueResponse] -> ShowS
CreateQueueResponse -> String
(Int -> CreateQueueResponse -> ShowS)
-> (CreateQueueResponse -> String)
-> ([CreateQueueResponse] -> ShowS)
-> Show CreateQueueResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateQueueResponse] -> ShowS
$cshowList :: [CreateQueueResponse] -> ShowS
show :: CreateQueueResponse -> String
$cshow :: CreateQueueResponse -> String
showsPrec :: Int -> CreateQueueResponse -> ShowS
$cshowsPrec :: Int -> CreateQueueResponse -> ShowS
Prelude.Show, (forall x. CreateQueueResponse -> Rep CreateQueueResponse x)
-> (forall x. Rep CreateQueueResponse x -> CreateQueueResponse)
-> Generic CreateQueueResponse
forall x. Rep CreateQueueResponse x -> CreateQueueResponse
forall x. CreateQueueResponse -> Rep CreateQueueResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CreateQueueResponse x -> CreateQueueResponse
$cfrom :: forall x. CreateQueueResponse -> Rep CreateQueueResponse x
Prelude.Generic)
newCreateQueueResponse ::
Prelude.Int ->
CreateQueueResponse
newCreateQueueResponse :: Int -> CreateQueueResponse
newCreateQueueResponse Int
pHttpStatus_ =
CreateQueueResponse' :: Maybe Queue -> Int -> CreateQueueResponse
CreateQueueResponse'
{ $sel:queue:CreateQueueResponse' :: Maybe Queue
queue = Maybe Queue
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:CreateQueueResponse' :: Int
httpStatus = Int
pHttpStatus_
}
createQueueResponse_queue :: Lens.Lens' CreateQueueResponse (Prelude.Maybe Queue)
createQueueResponse_queue :: (Maybe Queue -> f (Maybe Queue))
-> CreateQueueResponse -> f CreateQueueResponse
createQueueResponse_queue = (CreateQueueResponse -> Maybe Queue)
-> (CreateQueueResponse -> Maybe Queue -> CreateQueueResponse)
-> Lens
CreateQueueResponse CreateQueueResponse (Maybe Queue) (Maybe Queue)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateQueueResponse' {Maybe Queue
queue :: Maybe Queue
$sel:queue:CreateQueueResponse' :: CreateQueueResponse -> Maybe Queue
queue} -> Maybe Queue
queue) (\s :: CreateQueueResponse
s@CreateQueueResponse' {} Maybe Queue
a -> CreateQueueResponse
s {$sel:queue:CreateQueueResponse' :: Maybe Queue
queue = Maybe Queue
a} :: CreateQueueResponse)
createQueueResponse_httpStatus :: Lens.Lens' CreateQueueResponse Prelude.Int
createQueueResponse_httpStatus :: (Int -> f Int) -> CreateQueueResponse -> f CreateQueueResponse
createQueueResponse_httpStatus = (CreateQueueResponse -> Int)
-> (CreateQueueResponse -> Int -> CreateQueueResponse)
-> Lens CreateQueueResponse CreateQueueResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateQueueResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateQueueResponse' :: CreateQueueResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: CreateQueueResponse
s@CreateQueueResponse' {} Int
a -> CreateQueueResponse
s {$sel:httpStatus:CreateQueueResponse' :: Int
httpStatus = Int
a} :: CreateQueueResponse)
instance Prelude.NFData CreateQueueResponse