{-# 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.PutVoiceConnectorLoggingConfiguration
(
PutVoiceConnectorLoggingConfiguration (..),
newPutVoiceConnectorLoggingConfiguration,
putVoiceConnectorLoggingConfiguration_voiceConnectorId,
putVoiceConnectorLoggingConfiguration_loggingConfiguration,
PutVoiceConnectorLoggingConfigurationResponse (..),
newPutVoiceConnectorLoggingConfigurationResponse,
putVoiceConnectorLoggingConfigurationResponse_loggingConfiguration,
putVoiceConnectorLoggingConfigurationResponse_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 PutVoiceConnectorLoggingConfiguration = PutVoiceConnectorLoggingConfiguration'
{
PutVoiceConnectorLoggingConfiguration -> Text
voiceConnectorId :: Prelude.Text,
PutVoiceConnectorLoggingConfiguration -> LoggingConfiguration
loggingConfiguration :: LoggingConfiguration
}
deriving (PutVoiceConnectorLoggingConfiguration
-> PutVoiceConnectorLoggingConfiguration -> Bool
(PutVoiceConnectorLoggingConfiguration
-> PutVoiceConnectorLoggingConfiguration -> Bool)
-> (PutVoiceConnectorLoggingConfiguration
-> PutVoiceConnectorLoggingConfiguration -> Bool)
-> Eq PutVoiceConnectorLoggingConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PutVoiceConnectorLoggingConfiguration
-> PutVoiceConnectorLoggingConfiguration -> Bool
$c/= :: PutVoiceConnectorLoggingConfiguration
-> PutVoiceConnectorLoggingConfiguration -> Bool
== :: PutVoiceConnectorLoggingConfiguration
-> PutVoiceConnectorLoggingConfiguration -> Bool
$c== :: PutVoiceConnectorLoggingConfiguration
-> PutVoiceConnectorLoggingConfiguration -> Bool
Prelude.Eq, ReadPrec [PutVoiceConnectorLoggingConfiguration]
ReadPrec PutVoiceConnectorLoggingConfiguration
Int -> ReadS PutVoiceConnectorLoggingConfiguration
ReadS [PutVoiceConnectorLoggingConfiguration]
(Int -> ReadS PutVoiceConnectorLoggingConfiguration)
-> ReadS [PutVoiceConnectorLoggingConfiguration]
-> ReadPrec PutVoiceConnectorLoggingConfiguration
-> ReadPrec [PutVoiceConnectorLoggingConfiguration]
-> Read PutVoiceConnectorLoggingConfiguration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PutVoiceConnectorLoggingConfiguration]
$creadListPrec :: ReadPrec [PutVoiceConnectorLoggingConfiguration]
readPrec :: ReadPrec PutVoiceConnectorLoggingConfiguration
$creadPrec :: ReadPrec PutVoiceConnectorLoggingConfiguration
readList :: ReadS [PutVoiceConnectorLoggingConfiguration]
$creadList :: ReadS [PutVoiceConnectorLoggingConfiguration]
readsPrec :: Int -> ReadS PutVoiceConnectorLoggingConfiguration
$creadsPrec :: Int -> ReadS PutVoiceConnectorLoggingConfiguration
Prelude.Read, Int -> PutVoiceConnectorLoggingConfiguration -> ShowS
[PutVoiceConnectorLoggingConfiguration] -> ShowS
PutVoiceConnectorLoggingConfiguration -> String
(Int -> PutVoiceConnectorLoggingConfiguration -> ShowS)
-> (PutVoiceConnectorLoggingConfiguration -> String)
-> ([PutVoiceConnectorLoggingConfiguration] -> ShowS)
-> Show PutVoiceConnectorLoggingConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PutVoiceConnectorLoggingConfiguration] -> ShowS
$cshowList :: [PutVoiceConnectorLoggingConfiguration] -> ShowS
show :: PutVoiceConnectorLoggingConfiguration -> String
$cshow :: PutVoiceConnectorLoggingConfiguration -> String
showsPrec :: Int -> PutVoiceConnectorLoggingConfiguration -> ShowS
$cshowsPrec :: Int -> PutVoiceConnectorLoggingConfiguration -> ShowS
Prelude.Show, (forall x.
PutVoiceConnectorLoggingConfiguration
-> Rep PutVoiceConnectorLoggingConfiguration x)
-> (forall x.
Rep PutVoiceConnectorLoggingConfiguration x
-> PutVoiceConnectorLoggingConfiguration)
-> Generic PutVoiceConnectorLoggingConfiguration
forall x.
Rep PutVoiceConnectorLoggingConfiguration x
-> PutVoiceConnectorLoggingConfiguration
forall x.
PutVoiceConnectorLoggingConfiguration
-> Rep PutVoiceConnectorLoggingConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PutVoiceConnectorLoggingConfiguration x
-> PutVoiceConnectorLoggingConfiguration
$cfrom :: forall x.
PutVoiceConnectorLoggingConfiguration
-> Rep PutVoiceConnectorLoggingConfiguration x
Prelude.Generic)
newPutVoiceConnectorLoggingConfiguration ::
Prelude.Text ->
LoggingConfiguration ->
PutVoiceConnectorLoggingConfiguration
newPutVoiceConnectorLoggingConfiguration :: Text
-> LoggingConfiguration -> PutVoiceConnectorLoggingConfiguration
newPutVoiceConnectorLoggingConfiguration
Text
pVoiceConnectorId_
LoggingConfiguration
pLoggingConfiguration_ =
PutVoiceConnectorLoggingConfiguration' :: Text
-> LoggingConfiguration -> PutVoiceConnectorLoggingConfiguration
PutVoiceConnectorLoggingConfiguration'
{ $sel:voiceConnectorId:PutVoiceConnectorLoggingConfiguration' :: Text
voiceConnectorId =
Text
pVoiceConnectorId_,
$sel:loggingConfiguration:PutVoiceConnectorLoggingConfiguration' :: LoggingConfiguration
loggingConfiguration =
LoggingConfiguration
pLoggingConfiguration_
}
putVoiceConnectorLoggingConfiguration_voiceConnectorId :: Lens.Lens' PutVoiceConnectorLoggingConfiguration Prelude.Text
putVoiceConnectorLoggingConfiguration_voiceConnectorId :: (Text -> f Text)
-> PutVoiceConnectorLoggingConfiguration
-> f PutVoiceConnectorLoggingConfiguration
putVoiceConnectorLoggingConfiguration_voiceConnectorId = (PutVoiceConnectorLoggingConfiguration -> Text)
-> (PutVoiceConnectorLoggingConfiguration
-> Text -> PutVoiceConnectorLoggingConfiguration)
-> Lens
PutVoiceConnectorLoggingConfiguration
PutVoiceConnectorLoggingConfiguration
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutVoiceConnectorLoggingConfiguration' {Text
voiceConnectorId :: Text
$sel:voiceConnectorId:PutVoiceConnectorLoggingConfiguration' :: PutVoiceConnectorLoggingConfiguration -> Text
voiceConnectorId} -> Text
voiceConnectorId) (\s :: PutVoiceConnectorLoggingConfiguration
s@PutVoiceConnectorLoggingConfiguration' {} Text
a -> PutVoiceConnectorLoggingConfiguration
s {$sel:voiceConnectorId:PutVoiceConnectorLoggingConfiguration' :: Text
voiceConnectorId = Text
a} :: PutVoiceConnectorLoggingConfiguration)
putVoiceConnectorLoggingConfiguration_loggingConfiguration :: Lens.Lens' PutVoiceConnectorLoggingConfiguration LoggingConfiguration
putVoiceConnectorLoggingConfiguration_loggingConfiguration :: (LoggingConfiguration -> f LoggingConfiguration)
-> PutVoiceConnectorLoggingConfiguration
-> f PutVoiceConnectorLoggingConfiguration
putVoiceConnectorLoggingConfiguration_loggingConfiguration = (PutVoiceConnectorLoggingConfiguration -> LoggingConfiguration)
-> (PutVoiceConnectorLoggingConfiguration
-> LoggingConfiguration -> PutVoiceConnectorLoggingConfiguration)
-> Lens
PutVoiceConnectorLoggingConfiguration
PutVoiceConnectorLoggingConfiguration
LoggingConfiguration
LoggingConfiguration
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutVoiceConnectorLoggingConfiguration' {LoggingConfiguration
loggingConfiguration :: LoggingConfiguration
$sel:loggingConfiguration:PutVoiceConnectorLoggingConfiguration' :: PutVoiceConnectorLoggingConfiguration -> LoggingConfiguration
loggingConfiguration} -> LoggingConfiguration
loggingConfiguration) (\s :: PutVoiceConnectorLoggingConfiguration
s@PutVoiceConnectorLoggingConfiguration' {} LoggingConfiguration
a -> PutVoiceConnectorLoggingConfiguration
s {$sel:loggingConfiguration:PutVoiceConnectorLoggingConfiguration' :: LoggingConfiguration
loggingConfiguration = LoggingConfiguration
a} :: PutVoiceConnectorLoggingConfiguration)
instance
Core.AWSRequest
PutVoiceConnectorLoggingConfiguration
where
type
AWSResponse
PutVoiceConnectorLoggingConfiguration =
PutVoiceConnectorLoggingConfigurationResponse
request :: PutVoiceConnectorLoggingConfiguration
-> Request PutVoiceConnectorLoggingConfiguration
request = Service
-> PutVoiceConnectorLoggingConfiguration
-> Request PutVoiceConnectorLoggingConfiguration
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.putJSON Service
defaultService
response :: Logger
-> Service
-> Proxy PutVoiceConnectorLoggingConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse PutVoiceConnectorLoggingConfiguration)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String (AWSResponse PutVoiceConnectorLoggingConfiguration))
-> Logger
-> Service
-> Proxy PutVoiceConnectorLoggingConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse PutVoiceConnectorLoggingConfiguration)))
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 LoggingConfiguration
-> Int -> PutVoiceConnectorLoggingConfigurationResponse
PutVoiceConnectorLoggingConfigurationResponse'
(Maybe LoggingConfiguration
-> Int -> PutVoiceConnectorLoggingConfigurationResponse)
-> Either String (Maybe LoggingConfiguration)
-> Either
String (Int -> PutVoiceConnectorLoggingConfigurationResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe LoggingConfiguration)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"LoggingConfiguration")
Either
String (Int -> PutVoiceConnectorLoggingConfigurationResponse)
-> Either String Int
-> Either String PutVoiceConnectorLoggingConfigurationResponse
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
PutVoiceConnectorLoggingConfiguration
instance
Prelude.NFData
PutVoiceConnectorLoggingConfiguration
instance
Core.ToHeaders
PutVoiceConnectorLoggingConfiguration
where
toHeaders :: PutVoiceConnectorLoggingConfiguration -> ResponseHeaders
toHeaders = ResponseHeaders
-> PutVoiceConnectorLoggingConfiguration -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance
Core.ToJSON
PutVoiceConnectorLoggingConfiguration
where
toJSON :: PutVoiceConnectorLoggingConfiguration -> Value
toJSON PutVoiceConnectorLoggingConfiguration' {Text
LoggingConfiguration
loggingConfiguration :: LoggingConfiguration
voiceConnectorId :: Text
$sel:loggingConfiguration:PutVoiceConnectorLoggingConfiguration' :: PutVoiceConnectorLoggingConfiguration -> LoggingConfiguration
$sel:voiceConnectorId:PutVoiceConnectorLoggingConfiguration' :: PutVoiceConnectorLoggingConfiguration -> 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
"LoggingConfiguration"
Text -> LoggingConfiguration -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= LoggingConfiguration
loggingConfiguration
)
]
)
instance
Core.ToPath
PutVoiceConnectorLoggingConfiguration
where
toPath :: PutVoiceConnectorLoggingConfiguration -> ByteString
toPath PutVoiceConnectorLoggingConfiguration' {Text
LoggingConfiguration
loggingConfiguration :: LoggingConfiguration
voiceConnectorId :: Text
$sel:loggingConfiguration:PutVoiceConnectorLoggingConfiguration' :: PutVoiceConnectorLoggingConfiguration -> LoggingConfiguration
$sel:voiceConnectorId:PutVoiceConnectorLoggingConfiguration' :: PutVoiceConnectorLoggingConfiguration -> 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
"/logging-configuration"
]
instance
Core.ToQuery
PutVoiceConnectorLoggingConfiguration
where
toQuery :: PutVoiceConnectorLoggingConfiguration -> QueryString
toQuery = QueryString -> PutVoiceConnectorLoggingConfiguration -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data PutVoiceConnectorLoggingConfigurationResponse = PutVoiceConnectorLoggingConfigurationResponse'
{
PutVoiceConnectorLoggingConfigurationResponse
-> Maybe LoggingConfiguration
loggingConfiguration :: Prelude.Maybe LoggingConfiguration,
PutVoiceConnectorLoggingConfigurationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (PutVoiceConnectorLoggingConfigurationResponse
-> PutVoiceConnectorLoggingConfigurationResponse -> Bool
(PutVoiceConnectorLoggingConfigurationResponse
-> PutVoiceConnectorLoggingConfigurationResponse -> Bool)
-> (PutVoiceConnectorLoggingConfigurationResponse
-> PutVoiceConnectorLoggingConfigurationResponse -> Bool)
-> Eq PutVoiceConnectorLoggingConfigurationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PutVoiceConnectorLoggingConfigurationResponse
-> PutVoiceConnectorLoggingConfigurationResponse -> Bool
$c/= :: PutVoiceConnectorLoggingConfigurationResponse
-> PutVoiceConnectorLoggingConfigurationResponse -> Bool
== :: PutVoiceConnectorLoggingConfigurationResponse
-> PutVoiceConnectorLoggingConfigurationResponse -> Bool
$c== :: PutVoiceConnectorLoggingConfigurationResponse
-> PutVoiceConnectorLoggingConfigurationResponse -> Bool
Prelude.Eq, ReadPrec [PutVoiceConnectorLoggingConfigurationResponse]
ReadPrec PutVoiceConnectorLoggingConfigurationResponse
Int -> ReadS PutVoiceConnectorLoggingConfigurationResponse
ReadS [PutVoiceConnectorLoggingConfigurationResponse]
(Int -> ReadS PutVoiceConnectorLoggingConfigurationResponse)
-> ReadS [PutVoiceConnectorLoggingConfigurationResponse]
-> ReadPrec PutVoiceConnectorLoggingConfigurationResponse
-> ReadPrec [PutVoiceConnectorLoggingConfigurationResponse]
-> Read PutVoiceConnectorLoggingConfigurationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PutVoiceConnectorLoggingConfigurationResponse]
$creadListPrec :: ReadPrec [PutVoiceConnectorLoggingConfigurationResponse]
readPrec :: ReadPrec PutVoiceConnectorLoggingConfigurationResponse
$creadPrec :: ReadPrec PutVoiceConnectorLoggingConfigurationResponse
readList :: ReadS [PutVoiceConnectorLoggingConfigurationResponse]
$creadList :: ReadS [PutVoiceConnectorLoggingConfigurationResponse]
readsPrec :: Int -> ReadS PutVoiceConnectorLoggingConfigurationResponse
$creadsPrec :: Int -> ReadS PutVoiceConnectorLoggingConfigurationResponse
Prelude.Read, Int -> PutVoiceConnectorLoggingConfigurationResponse -> ShowS
[PutVoiceConnectorLoggingConfigurationResponse] -> ShowS
PutVoiceConnectorLoggingConfigurationResponse -> String
(Int -> PutVoiceConnectorLoggingConfigurationResponse -> ShowS)
-> (PutVoiceConnectorLoggingConfigurationResponse -> String)
-> ([PutVoiceConnectorLoggingConfigurationResponse] -> ShowS)
-> Show PutVoiceConnectorLoggingConfigurationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PutVoiceConnectorLoggingConfigurationResponse] -> ShowS
$cshowList :: [PutVoiceConnectorLoggingConfigurationResponse] -> ShowS
show :: PutVoiceConnectorLoggingConfigurationResponse -> String
$cshow :: PutVoiceConnectorLoggingConfigurationResponse -> String
showsPrec :: Int -> PutVoiceConnectorLoggingConfigurationResponse -> ShowS
$cshowsPrec :: Int -> PutVoiceConnectorLoggingConfigurationResponse -> ShowS
Prelude.Show, (forall x.
PutVoiceConnectorLoggingConfigurationResponse
-> Rep PutVoiceConnectorLoggingConfigurationResponse x)
-> (forall x.
Rep PutVoiceConnectorLoggingConfigurationResponse x
-> PutVoiceConnectorLoggingConfigurationResponse)
-> Generic PutVoiceConnectorLoggingConfigurationResponse
forall x.
Rep PutVoiceConnectorLoggingConfigurationResponse x
-> PutVoiceConnectorLoggingConfigurationResponse
forall x.
PutVoiceConnectorLoggingConfigurationResponse
-> Rep PutVoiceConnectorLoggingConfigurationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PutVoiceConnectorLoggingConfigurationResponse x
-> PutVoiceConnectorLoggingConfigurationResponse
$cfrom :: forall x.
PutVoiceConnectorLoggingConfigurationResponse
-> Rep PutVoiceConnectorLoggingConfigurationResponse x
Prelude.Generic)
newPutVoiceConnectorLoggingConfigurationResponse ::
Prelude.Int ->
PutVoiceConnectorLoggingConfigurationResponse
newPutVoiceConnectorLoggingConfigurationResponse :: Int -> PutVoiceConnectorLoggingConfigurationResponse
newPutVoiceConnectorLoggingConfigurationResponse
Int
pHttpStatus_ =
PutVoiceConnectorLoggingConfigurationResponse' :: Maybe LoggingConfiguration
-> Int -> PutVoiceConnectorLoggingConfigurationResponse
PutVoiceConnectorLoggingConfigurationResponse'
{ $sel:loggingConfiguration:PutVoiceConnectorLoggingConfigurationResponse' :: Maybe LoggingConfiguration
loggingConfiguration =
Maybe LoggingConfiguration
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:PutVoiceConnectorLoggingConfigurationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
putVoiceConnectorLoggingConfigurationResponse_loggingConfiguration :: Lens.Lens' PutVoiceConnectorLoggingConfigurationResponse (Prelude.Maybe LoggingConfiguration)
putVoiceConnectorLoggingConfigurationResponse_loggingConfiguration :: (Maybe LoggingConfiguration -> f (Maybe LoggingConfiguration))
-> PutVoiceConnectorLoggingConfigurationResponse
-> f PutVoiceConnectorLoggingConfigurationResponse
putVoiceConnectorLoggingConfigurationResponse_loggingConfiguration = (PutVoiceConnectorLoggingConfigurationResponse
-> Maybe LoggingConfiguration)
-> (PutVoiceConnectorLoggingConfigurationResponse
-> Maybe LoggingConfiguration
-> PutVoiceConnectorLoggingConfigurationResponse)
-> Lens
PutVoiceConnectorLoggingConfigurationResponse
PutVoiceConnectorLoggingConfigurationResponse
(Maybe LoggingConfiguration)
(Maybe LoggingConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutVoiceConnectorLoggingConfigurationResponse' {Maybe LoggingConfiguration
loggingConfiguration :: Maybe LoggingConfiguration
$sel:loggingConfiguration:PutVoiceConnectorLoggingConfigurationResponse' :: PutVoiceConnectorLoggingConfigurationResponse
-> Maybe LoggingConfiguration
loggingConfiguration} -> Maybe LoggingConfiguration
loggingConfiguration) (\s :: PutVoiceConnectorLoggingConfigurationResponse
s@PutVoiceConnectorLoggingConfigurationResponse' {} Maybe LoggingConfiguration
a -> PutVoiceConnectorLoggingConfigurationResponse
s {$sel:loggingConfiguration:PutVoiceConnectorLoggingConfigurationResponse' :: Maybe LoggingConfiguration
loggingConfiguration = Maybe LoggingConfiguration
a} :: PutVoiceConnectorLoggingConfigurationResponse)
putVoiceConnectorLoggingConfigurationResponse_httpStatus :: Lens.Lens' PutVoiceConnectorLoggingConfigurationResponse Prelude.Int
putVoiceConnectorLoggingConfigurationResponse_httpStatus :: (Int -> f Int)
-> PutVoiceConnectorLoggingConfigurationResponse
-> f PutVoiceConnectorLoggingConfigurationResponse
putVoiceConnectorLoggingConfigurationResponse_httpStatus = (PutVoiceConnectorLoggingConfigurationResponse -> Int)
-> (PutVoiceConnectorLoggingConfigurationResponse
-> Int -> PutVoiceConnectorLoggingConfigurationResponse)
-> Lens
PutVoiceConnectorLoggingConfigurationResponse
PutVoiceConnectorLoggingConfigurationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutVoiceConnectorLoggingConfigurationResponse' {Int
httpStatus :: Int
$sel:httpStatus:PutVoiceConnectorLoggingConfigurationResponse' :: PutVoiceConnectorLoggingConfigurationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: PutVoiceConnectorLoggingConfigurationResponse
s@PutVoiceConnectorLoggingConfigurationResponse' {} Int
a -> PutVoiceConnectorLoggingConfigurationResponse
s {$sel:httpStatus:PutVoiceConnectorLoggingConfigurationResponse' :: Int
httpStatus = Int
a} :: PutVoiceConnectorLoggingConfigurationResponse)
instance
Prelude.NFData
PutVoiceConnectorLoggingConfigurationResponse