{-# 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.Chime.PutVoiceConnectorStreamingConfiguration
(
PutVoiceConnectorStreamingConfiguration (..),
newPutVoiceConnectorStreamingConfiguration,
putVoiceConnectorStreamingConfiguration_voiceConnectorId,
putVoiceConnectorStreamingConfiguration_streamingConfiguration,
PutVoiceConnectorStreamingConfigurationResponse (..),
newPutVoiceConnectorStreamingConfigurationResponse,
putVoiceConnectorStreamingConfigurationResponse_streamingConfiguration,
putVoiceConnectorStreamingConfigurationResponse_httpStatus,
)
where
import Amazonka.Chime.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 PutVoiceConnectorStreamingConfiguration = PutVoiceConnectorStreamingConfiguration'
{
PutVoiceConnectorStreamingConfiguration -> Text
voiceConnectorId :: Prelude.Text,
PutVoiceConnectorStreamingConfiguration -> StreamingConfiguration
streamingConfiguration :: StreamingConfiguration
}
deriving (PutVoiceConnectorStreamingConfiguration
-> PutVoiceConnectorStreamingConfiguration -> Bool
(PutVoiceConnectorStreamingConfiguration
-> PutVoiceConnectorStreamingConfiguration -> Bool)
-> (PutVoiceConnectorStreamingConfiguration
-> PutVoiceConnectorStreamingConfiguration -> Bool)
-> Eq PutVoiceConnectorStreamingConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PutVoiceConnectorStreamingConfiguration
-> PutVoiceConnectorStreamingConfiguration -> Bool
$c/= :: PutVoiceConnectorStreamingConfiguration
-> PutVoiceConnectorStreamingConfiguration -> Bool
== :: PutVoiceConnectorStreamingConfiguration
-> PutVoiceConnectorStreamingConfiguration -> Bool
$c== :: PutVoiceConnectorStreamingConfiguration
-> PutVoiceConnectorStreamingConfiguration -> Bool
Prelude.Eq, ReadPrec [PutVoiceConnectorStreamingConfiguration]
ReadPrec PutVoiceConnectorStreamingConfiguration
Int -> ReadS PutVoiceConnectorStreamingConfiguration
ReadS [PutVoiceConnectorStreamingConfiguration]
(Int -> ReadS PutVoiceConnectorStreamingConfiguration)
-> ReadS [PutVoiceConnectorStreamingConfiguration]
-> ReadPrec PutVoiceConnectorStreamingConfiguration
-> ReadPrec [PutVoiceConnectorStreamingConfiguration]
-> Read PutVoiceConnectorStreamingConfiguration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PutVoiceConnectorStreamingConfiguration]
$creadListPrec :: ReadPrec [PutVoiceConnectorStreamingConfiguration]
readPrec :: ReadPrec PutVoiceConnectorStreamingConfiguration
$creadPrec :: ReadPrec PutVoiceConnectorStreamingConfiguration
readList :: ReadS [PutVoiceConnectorStreamingConfiguration]
$creadList :: ReadS [PutVoiceConnectorStreamingConfiguration]
readsPrec :: Int -> ReadS PutVoiceConnectorStreamingConfiguration
$creadsPrec :: Int -> ReadS PutVoiceConnectorStreamingConfiguration
Prelude.Read, Int -> PutVoiceConnectorStreamingConfiguration -> ShowS
[PutVoiceConnectorStreamingConfiguration] -> ShowS
PutVoiceConnectorStreamingConfiguration -> String
(Int -> PutVoiceConnectorStreamingConfiguration -> ShowS)
-> (PutVoiceConnectorStreamingConfiguration -> String)
-> ([PutVoiceConnectorStreamingConfiguration] -> ShowS)
-> Show PutVoiceConnectorStreamingConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PutVoiceConnectorStreamingConfiguration] -> ShowS
$cshowList :: [PutVoiceConnectorStreamingConfiguration] -> ShowS
show :: PutVoiceConnectorStreamingConfiguration -> String
$cshow :: PutVoiceConnectorStreamingConfiguration -> String
showsPrec :: Int -> PutVoiceConnectorStreamingConfiguration -> ShowS
$cshowsPrec :: Int -> PutVoiceConnectorStreamingConfiguration -> ShowS
Prelude.Show, (forall x.
PutVoiceConnectorStreamingConfiguration
-> Rep PutVoiceConnectorStreamingConfiguration x)
-> (forall x.
Rep PutVoiceConnectorStreamingConfiguration x
-> PutVoiceConnectorStreamingConfiguration)
-> Generic PutVoiceConnectorStreamingConfiguration
forall x.
Rep PutVoiceConnectorStreamingConfiguration x
-> PutVoiceConnectorStreamingConfiguration
forall x.
PutVoiceConnectorStreamingConfiguration
-> Rep PutVoiceConnectorStreamingConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PutVoiceConnectorStreamingConfiguration x
-> PutVoiceConnectorStreamingConfiguration
$cfrom :: forall x.
PutVoiceConnectorStreamingConfiguration
-> Rep PutVoiceConnectorStreamingConfiguration x
Prelude.Generic)
newPutVoiceConnectorStreamingConfiguration ::
Prelude.Text ->
StreamingConfiguration ->
PutVoiceConnectorStreamingConfiguration
newPutVoiceConnectorStreamingConfiguration :: Text
-> StreamingConfiguration
-> PutVoiceConnectorStreamingConfiguration
newPutVoiceConnectorStreamingConfiguration
Text
pVoiceConnectorId_
StreamingConfiguration
pStreamingConfiguration_ =
PutVoiceConnectorStreamingConfiguration' :: Text
-> StreamingConfiguration
-> PutVoiceConnectorStreamingConfiguration
PutVoiceConnectorStreamingConfiguration'
{ $sel:voiceConnectorId:PutVoiceConnectorStreamingConfiguration' :: Text
voiceConnectorId =
Text
pVoiceConnectorId_,
$sel:streamingConfiguration:PutVoiceConnectorStreamingConfiguration' :: StreamingConfiguration
streamingConfiguration =
StreamingConfiguration
pStreamingConfiguration_
}
putVoiceConnectorStreamingConfiguration_voiceConnectorId :: Lens.Lens' PutVoiceConnectorStreamingConfiguration Prelude.Text
putVoiceConnectorStreamingConfiguration_voiceConnectorId :: (Text -> f Text)
-> PutVoiceConnectorStreamingConfiguration
-> f PutVoiceConnectorStreamingConfiguration
putVoiceConnectorStreamingConfiguration_voiceConnectorId = (PutVoiceConnectorStreamingConfiguration -> Text)
-> (PutVoiceConnectorStreamingConfiguration
-> Text -> PutVoiceConnectorStreamingConfiguration)
-> Lens
PutVoiceConnectorStreamingConfiguration
PutVoiceConnectorStreamingConfiguration
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutVoiceConnectorStreamingConfiguration' {Text
voiceConnectorId :: Text
$sel:voiceConnectorId:PutVoiceConnectorStreamingConfiguration' :: PutVoiceConnectorStreamingConfiguration -> Text
voiceConnectorId} -> Text
voiceConnectorId) (\s :: PutVoiceConnectorStreamingConfiguration
s@PutVoiceConnectorStreamingConfiguration' {} Text
a -> PutVoiceConnectorStreamingConfiguration
s {$sel:voiceConnectorId:PutVoiceConnectorStreamingConfiguration' :: Text
voiceConnectorId = Text
a} :: PutVoiceConnectorStreamingConfiguration)
putVoiceConnectorStreamingConfiguration_streamingConfiguration :: Lens.Lens' PutVoiceConnectorStreamingConfiguration StreamingConfiguration
putVoiceConnectorStreamingConfiguration_streamingConfiguration :: (StreamingConfiguration -> f StreamingConfiguration)
-> PutVoiceConnectorStreamingConfiguration
-> f PutVoiceConnectorStreamingConfiguration
putVoiceConnectorStreamingConfiguration_streamingConfiguration = (PutVoiceConnectorStreamingConfiguration -> StreamingConfiguration)
-> (PutVoiceConnectorStreamingConfiguration
-> StreamingConfiguration
-> PutVoiceConnectorStreamingConfiguration)
-> Lens
PutVoiceConnectorStreamingConfiguration
PutVoiceConnectorStreamingConfiguration
StreamingConfiguration
StreamingConfiguration
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutVoiceConnectorStreamingConfiguration' {StreamingConfiguration
streamingConfiguration :: StreamingConfiguration
$sel:streamingConfiguration:PutVoiceConnectorStreamingConfiguration' :: PutVoiceConnectorStreamingConfiguration -> StreamingConfiguration
streamingConfiguration} -> StreamingConfiguration
streamingConfiguration) (\s :: PutVoiceConnectorStreamingConfiguration
s@PutVoiceConnectorStreamingConfiguration' {} StreamingConfiguration
a -> PutVoiceConnectorStreamingConfiguration
s {$sel:streamingConfiguration:PutVoiceConnectorStreamingConfiguration' :: StreamingConfiguration
streamingConfiguration = StreamingConfiguration
a} :: PutVoiceConnectorStreamingConfiguration)
instance
Core.AWSRequest
PutVoiceConnectorStreamingConfiguration
where
type
AWSResponse
PutVoiceConnectorStreamingConfiguration =
PutVoiceConnectorStreamingConfigurationResponse
request :: PutVoiceConnectorStreamingConfiguration
-> Request PutVoiceConnectorStreamingConfiguration
request = Service
-> PutVoiceConnectorStreamingConfiguration
-> Request PutVoiceConnectorStreamingConfiguration
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.putJSON Service
defaultService
response :: Logger
-> Service
-> Proxy PutVoiceConnectorStreamingConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse PutVoiceConnectorStreamingConfiguration)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String (AWSResponse PutVoiceConnectorStreamingConfiguration))
-> Logger
-> Service
-> Proxy PutVoiceConnectorStreamingConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse PutVoiceConnectorStreamingConfiguration)))
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 StreamingConfiguration
-> Int -> PutVoiceConnectorStreamingConfigurationResponse
PutVoiceConnectorStreamingConfigurationResponse'
(Maybe StreamingConfiguration
-> Int -> PutVoiceConnectorStreamingConfigurationResponse)
-> Either String (Maybe StreamingConfiguration)
-> Either
String (Int -> PutVoiceConnectorStreamingConfigurationResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe StreamingConfiguration)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"StreamingConfiguration")
Either
String (Int -> PutVoiceConnectorStreamingConfigurationResponse)
-> Either String Int
-> Either String PutVoiceConnectorStreamingConfigurationResponse
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
PutVoiceConnectorStreamingConfiguration
instance
Prelude.NFData
PutVoiceConnectorStreamingConfiguration
instance
Core.ToHeaders
PutVoiceConnectorStreamingConfiguration
where
toHeaders :: PutVoiceConnectorStreamingConfiguration -> ResponseHeaders
toHeaders = ResponseHeaders
-> PutVoiceConnectorStreamingConfiguration -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance
Core.ToJSON
PutVoiceConnectorStreamingConfiguration
where
toJSON :: PutVoiceConnectorStreamingConfiguration -> Value
toJSON PutVoiceConnectorStreamingConfiguration' {Text
StreamingConfiguration
streamingConfiguration :: StreamingConfiguration
voiceConnectorId :: Text
$sel:streamingConfiguration:PutVoiceConnectorStreamingConfiguration' :: PutVoiceConnectorStreamingConfiguration -> StreamingConfiguration
$sel:voiceConnectorId:PutVoiceConnectorStreamingConfiguration' :: PutVoiceConnectorStreamingConfiguration -> Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"StreamingConfiguration"
Text -> StreamingConfiguration -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= StreamingConfiguration
streamingConfiguration
)
]
)
instance
Core.ToPath
PutVoiceConnectorStreamingConfiguration
where
toPath :: PutVoiceConnectorStreamingConfiguration -> ByteString
toPath PutVoiceConnectorStreamingConfiguration' {Text
StreamingConfiguration
streamingConfiguration :: StreamingConfiguration
voiceConnectorId :: Text
$sel:streamingConfiguration:PutVoiceConnectorStreamingConfiguration' :: PutVoiceConnectorStreamingConfiguration -> StreamingConfiguration
$sel:voiceConnectorId:PutVoiceConnectorStreamingConfiguration' :: PutVoiceConnectorStreamingConfiguration -> Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/voice-connectors/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
voiceConnectorId,
ByteString
"/streaming-configuration"
]
instance
Core.ToQuery
PutVoiceConnectorStreamingConfiguration
where
toQuery :: PutVoiceConnectorStreamingConfiguration -> QueryString
toQuery = QueryString
-> PutVoiceConnectorStreamingConfiguration -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data PutVoiceConnectorStreamingConfigurationResponse = PutVoiceConnectorStreamingConfigurationResponse'
{
PutVoiceConnectorStreamingConfigurationResponse
-> Maybe StreamingConfiguration
streamingConfiguration :: Prelude.Maybe StreamingConfiguration,
PutVoiceConnectorStreamingConfigurationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (PutVoiceConnectorStreamingConfigurationResponse
-> PutVoiceConnectorStreamingConfigurationResponse -> Bool
(PutVoiceConnectorStreamingConfigurationResponse
-> PutVoiceConnectorStreamingConfigurationResponse -> Bool)
-> (PutVoiceConnectorStreamingConfigurationResponse
-> PutVoiceConnectorStreamingConfigurationResponse -> Bool)
-> Eq PutVoiceConnectorStreamingConfigurationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PutVoiceConnectorStreamingConfigurationResponse
-> PutVoiceConnectorStreamingConfigurationResponse -> Bool
$c/= :: PutVoiceConnectorStreamingConfigurationResponse
-> PutVoiceConnectorStreamingConfigurationResponse -> Bool
== :: PutVoiceConnectorStreamingConfigurationResponse
-> PutVoiceConnectorStreamingConfigurationResponse -> Bool
$c== :: PutVoiceConnectorStreamingConfigurationResponse
-> PutVoiceConnectorStreamingConfigurationResponse -> Bool
Prelude.Eq, ReadPrec [PutVoiceConnectorStreamingConfigurationResponse]
ReadPrec PutVoiceConnectorStreamingConfigurationResponse
Int -> ReadS PutVoiceConnectorStreamingConfigurationResponse
ReadS [PutVoiceConnectorStreamingConfigurationResponse]
(Int -> ReadS PutVoiceConnectorStreamingConfigurationResponse)
-> ReadS [PutVoiceConnectorStreamingConfigurationResponse]
-> ReadPrec PutVoiceConnectorStreamingConfigurationResponse
-> ReadPrec [PutVoiceConnectorStreamingConfigurationResponse]
-> Read PutVoiceConnectorStreamingConfigurationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PutVoiceConnectorStreamingConfigurationResponse]
$creadListPrec :: ReadPrec [PutVoiceConnectorStreamingConfigurationResponse]
readPrec :: ReadPrec PutVoiceConnectorStreamingConfigurationResponse
$creadPrec :: ReadPrec PutVoiceConnectorStreamingConfigurationResponse
readList :: ReadS [PutVoiceConnectorStreamingConfigurationResponse]
$creadList :: ReadS [PutVoiceConnectorStreamingConfigurationResponse]
readsPrec :: Int -> ReadS PutVoiceConnectorStreamingConfigurationResponse
$creadsPrec :: Int -> ReadS PutVoiceConnectorStreamingConfigurationResponse
Prelude.Read, Int -> PutVoiceConnectorStreamingConfigurationResponse -> ShowS
[PutVoiceConnectorStreamingConfigurationResponse] -> ShowS
PutVoiceConnectorStreamingConfigurationResponse -> String
(Int -> PutVoiceConnectorStreamingConfigurationResponse -> ShowS)
-> (PutVoiceConnectorStreamingConfigurationResponse -> String)
-> ([PutVoiceConnectorStreamingConfigurationResponse] -> ShowS)
-> Show PutVoiceConnectorStreamingConfigurationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PutVoiceConnectorStreamingConfigurationResponse] -> ShowS
$cshowList :: [PutVoiceConnectorStreamingConfigurationResponse] -> ShowS
show :: PutVoiceConnectorStreamingConfigurationResponse -> String
$cshow :: PutVoiceConnectorStreamingConfigurationResponse -> String
showsPrec :: Int -> PutVoiceConnectorStreamingConfigurationResponse -> ShowS
$cshowsPrec :: Int -> PutVoiceConnectorStreamingConfigurationResponse -> ShowS
Prelude.Show, (forall x.
PutVoiceConnectorStreamingConfigurationResponse
-> Rep PutVoiceConnectorStreamingConfigurationResponse x)
-> (forall x.
Rep PutVoiceConnectorStreamingConfigurationResponse x
-> PutVoiceConnectorStreamingConfigurationResponse)
-> Generic PutVoiceConnectorStreamingConfigurationResponse
forall x.
Rep PutVoiceConnectorStreamingConfigurationResponse x
-> PutVoiceConnectorStreamingConfigurationResponse
forall x.
PutVoiceConnectorStreamingConfigurationResponse
-> Rep PutVoiceConnectorStreamingConfigurationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PutVoiceConnectorStreamingConfigurationResponse x
-> PutVoiceConnectorStreamingConfigurationResponse
$cfrom :: forall x.
PutVoiceConnectorStreamingConfigurationResponse
-> Rep PutVoiceConnectorStreamingConfigurationResponse x
Prelude.Generic)
newPutVoiceConnectorStreamingConfigurationResponse ::
Prelude.Int ->
PutVoiceConnectorStreamingConfigurationResponse
newPutVoiceConnectorStreamingConfigurationResponse :: Int -> PutVoiceConnectorStreamingConfigurationResponse
newPutVoiceConnectorStreamingConfigurationResponse
Int
pHttpStatus_ =
PutVoiceConnectorStreamingConfigurationResponse' :: Maybe StreamingConfiguration
-> Int -> PutVoiceConnectorStreamingConfigurationResponse
PutVoiceConnectorStreamingConfigurationResponse'
{ $sel:streamingConfiguration:PutVoiceConnectorStreamingConfigurationResponse' :: Maybe StreamingConfiguration
streamingConfiguration =
Maybe StreamingConfiguration
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:PutVoiceConnectorStreamingConfigurationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
putVoiceConnectorStreamingConfigurationResponse_streamingConfiguration :: Lens.Lens' PutVoiceConnectorStreamingConfigurationResponse (Prelude.Maybe StreamingConfiguration)
putVoiceConnectorStreamingConfigurationResponse_streamingConfiguration :: (Maybe StreamingConfiguration -> f (Maybe StreamingConfiguration))
-> PutVoiceConnectorStreamingConfigurationResponse
-> f PutVoiceConnectorStreamingConfigurationResponse
putVoiceConnectorStreamingConfigurationResponse_streamingConfiguration = (PutVoiceConnectorStreamingConfigurationResponse
-> Maybe StreamingConfiguration)
-> (PutVoiceConnectorStreamingConfigurationResponse
-> Maybe StreamingConfiguration
-> PutVoiceConnectorStreamingConfigurationResponse)
-> Lens
PutVoiceConnectorStreamingConfigurationResponse
PutVoiceConnectorStreamingConfigurationResponse
(Maybe StreamingConfiguration)
(Maybe StreamingConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutVoiceConnectorStreamingConfigurationResponse' {Maybe StreamingConfiguration
streamingConfiguration :: Maybe StreamingConfiguration
$sel:streamingConfiguration:PutVoiceConnectorStreamingConfigurationResponse' :: PutVoiceConnectorStreamingConfigurationResponse
-> Maybe StreamingConfiguration
streamingConfiguration} -> Maybe StreamingConfiguration
streamingConfiguration) (\s :: PutVoiceConnectorStreamingConfigurationResponse
s@PutVoiceConnectorStreamingConfigurationResponse' {} Maybe StreamingConfiguration
a -> PutVoiceConnectorStreamingConfigurationResponse
s {$sel:streamingConfiguration:PutVoiceConnectorStreamingConfigurationResponse' :: Maybe StreamingConfiguration
streamingConfiguration = Maybe StreamingConfiguration
a} :: PutVoiceConnectorStreamingConfigurationResponse)
putVoiceConnectorStreamingConfigurationResponse_httpStatus :: Lens.Lens' PutVoiceConnectorStreamingConfigurationResponse Prelude.Int
putVoiceConnectorStreamingConfigurationResponse_httpStatus :: (Int -> f Int)
-> PutVoiceConnectorStreamingConfigurationResponse
-> f PutVoiceConnectorStreamingConfigurationResponse
putVoiceConnectorStreamingConfigurationResponse_httpStatus = (PutVoiceConnectorStreamingConfigurationResponse -> Int)
-> (PutVoiceConnectorStreamingConfigurationResponse
-> Int -> PutVoiceConnectorStreamingConfigurationResponse)
-> Lens
PutVoiceConnectorStreamingConfigurationResponse
PutVoiceConnectorStreamingConfigurationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutVoiceConnectorStreamingConfigurationResponse' {Int
httpStatus :: Int
$sel:httpStatus:PutVoiceConnectorStreamingConfigurationResponse' :: PutVoiceConnectorStreamingConfigurationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: PutVoiceConnectorStreamingConfigurationResponse
s@PutVoiceConnectorStreamingConfigurationResponse' {} Int
a -> PutVoiceConnectorStreamingConfigurationResponse
s {$sel:httpStatus:PutVoiceConnectorStreamingConfigurationResponse' :: Int
httpStatus = Int
a} :: PutVoiceConnectorStreamingConfigurationResponse)
instance
Prelude.NFData
PutVoiceConnectorStreamingConfigurationResponse