{-# 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.CognitoIdentityProvider.UpdateAuthEventFeedback
(
UpdateAuthEventFeedback (..),
newUpdateAuthEventFeedback,
updateAuthEventFeedback_userPoolId,
updateAuthEventFeedback_username,
updateAuthEventFeedback_eventId,
updateAuthEventFeedback_feedbackToken,
updateAuthEventFeedback_feedbackValue,
UpdateAuthEventFeedbackResponse (..),
newUpdateAuthEventFeedbackResponse,
updateAuthEventFeedbackResponse_httpStatus,
)
where
import Amazonka.CognitoIdentityProvider.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 UpdateAuthEventFeedback = UpdateAuthEventFeedback'
{
UpdateAuthEventFeedback -> Text
userPoolId :: Prelude.Text,
UpdateAuthEventFeedback -> Sensitive Text
username :: Core.Sensitive Prelude.Text,
UpdateAuthEventFeedback -> Text
eventId :: Prelude.Text,
UpdateAuthEventFeedback -> Sensitive Text
feedbackToken :: Core.Sensitive Prelude.Text,
UpdateAuthEventFeedback -> FeedbackValueType
feedbackValue :: FeedbackValueType
}
deriving (UpdateAuthEventFeedback -> UpdateAuthEventFeedback -> Bool
(UpdateAuthEventFeedback -> UpdateAuthEventFeedback -> Bool)
-> (UpdateAuthEventFeedback -> UpdateAuthEventFeedback -> Bool)
-> Eq UpdateAuthEventFeedback
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateAuthEventFeedback -> UpdateAuthEventFeedback -> Bool
$c/= :: UpdateAuthEventFeedback -> UpdateAuthEventFeedback -> Bool
== :: UpdateAuthEventFeedback -> UpdateAuthEventFeedback -> Bool
$c== :: UpdateAuthEventFeedback -> UpdateAuthEventFeedback -> Bool
Prelude.Eq, Int -> UpdateAuthEventFeedback -> ShowS
[UpdateAuthEventFeedback] -> ShowS
UpdateAuthEventFeedback -> String
(Int -> UpdateAuthEventFeedback -> ShowS)
-> (UpdateAuthEventFeedback -> String)
-> ([UpdateAuthEventFeedback] -> ShowS)
-> Show UpdateAuthEventFeedback
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateAuthEventFeedback] -> ShowS
$cshowList :: [UpdateAuthEventFeedback] -> ShowS
show :: UpdateAuthEventFeedback -> String
$cshow :: UpdateAuthEventFeedback -> String
showsPrec :: Int -> UpdateAuthEventFeedback -> ShowS
$cshowsPrec :: Int -> UpdateAuthEventFeedback -> ShowS
Prelude.Show, (forall x.
UpdateAuthEventFeedback -> Rep UpdateAuthEventFeedback x)
-> (forall x.
Rep UpdateAuthEventFeedback x -> UpdateAuthEventFeedback)
-> Generic UpdateAuthEventFeedback
forall x. Rep UpdateAuthEventFeedback x -> UpdateAuthEventFeedback
forall x. UpdateAuthEventFeedback -> Rep UpdateAuthEventFeedback x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpdateAuthEventFeedback x -> UpdateAuthEventFeedback
$cfrom :: forall x. UpdateAuthEventFeedback -> Rep UpdateAuthEventFeedback x
Prelude.Generic)
newUpdateAuthEventFeedback ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
FeedbackValueType ->
UpdateAuthEventFeedback
newUpdateAuthEventFeedback :: Text
-> Text
-> Text
-> Text
-> FeedbackValueType
-> UpdateAuthEventFeedback
newUpdateAuthEventFeedback
Text
pUserPoolId_
Text
pUsername_
Text
pEventId_
Text
pFeedbackToken_
FeedbackValueType
pFeedbackValue_ =
UpdateAuthEventFeedback' :: Text
-> Sensitive Text
-> Text
-> Sensitive Text
-> FeedbackValueType
-> UpdateAuthEventFeedback
UpdateAuthEventFeedback'
{ $sel:userPoolId:UpdateAuthEventFeedback' :: Text
userPoolId = Text
pUserPoolId_,
$sel:username:UpdateAuthEventFeedback' :: Sensitive Text
username = Tagged Text (Identity Text)
-> Tagged (Sensitive Text) (Identity (Sensitive Text))
forall a. Iso' (Sensitive a) a
Core._Sensitive (Tagged Text (Identity Text)
-> Tagged (Sensitive Text) (Identity (Sensitive Text)))
-> Text -> Sensitive Text
forall t b. AReview t b -> b -> t
Lens.# Text
pUsername_,
$sel:eventId:UpdateAuthEventFeedback' :: Text
eventId = Text
pEventId_,
$sel:feedbackToken:UpdateAuthEventFeedback' :: Sensitive Text
feedbackToken =
Tagged Text (Identity Text)
-> Tagged (Sensitive Text) (Identity (Sensitive Text))
forall a. Iso' (Sensitive a) a
Core._Sensitive (Tagged Text (Identity Text)
-> Tagged (Sensitive Text) (Identity (Sensitive Text)))
-> Text -> Sensitive Text
forall t b. AReview t b -> b -> t
Lens.# Text
pFeedbackToken_,
$sel:feedbackValue:UpdateAuthEventFeedback' :: FeedbackValueType
feedbackValue = FeedbackValueType
pFeedbackValue_
}
updateAuthEventFeedback_userPoolId :: Lens.Lens' UpdateAuthEventFeedback Prelude.Text
updateAuthEventFeedback_userPoolId :: (Text -> f Text)
-> UpdateAuthEventFeedback -> f UpdateAuthEventFeedback
updateAuthEventFeedback_userPoolId = (UpdateAuthEventFeedback -> Text)
-> (UpdateAuthEventFeedback -> Text -> UpdateAuthEventFeedback)
-> Lens UpdateAuthEventFeedback UpdateAuthEventFeedback Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAuthEventFeedback' {Text
userPoolId :: Text
$sel:userPoolId:UpdateAuthEventFeedback' :: UpdateAuthEventFeedback -> Text
userPoolId} -> Text
userPoolId) (\s :: UpdateAuthEventFeedback
s@UpdateAuthEventFeedback' {} Text
a -> UpdateAuthEventFeedback
s {$sel:userPoolId:UpdateAuthEventFeedback' :: Text
userPoolId = Text
a} :: UpdateAuthEventFeedback)
updateAuthEventFeedback_username :: Lens.Lens' UpdateAuthEventFeedback Prelude.Text
updateAuthEventFeedback_username :: (Text -> f Text)
-> UpdateAuthEventFeedback -> f UpdateAuthEventFeedback
updateAuthEventFeedback_username = (UpdateAuthEventFeedback -> Sensitive Text)
-> (UpdateAuthEventFeedback
-> Sensitive Text -> UpdateAuthEventFeedback)
-> Lens
UpdateAuthEventFeedback
UpdateAuthEventFeedback
(Sensitive Text)
(Sensitive Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAuthEventFeedback' {Sensitive Text
username :: Sensitive Text
$sel:username:UpdateAuthEventFeedback' :: UpdateAuthEventFeedback -> Sensitive Text
username} -> Sensitive Text
username) (\s :: UpdateAuthEventFeedback
s@UpdateAuthEventFeedback' {} Sensitive Text
a -> UpdateAuthEventFeedback
s {$sel:username:UpdateAuthEventFeedback' :: Sensitive Text
username = Sensitive Text
a} :: UpdateAuthEventFeedback) ((Sensitive Text -> f (Sensitive Text))
-> UpdateAuthEventFeedback -> f UpdateAuthEventFeedback)
-> ((Text -> f Text) -> Sensitive Text -> f (Sensitive Text))
-> (Text -> f Text)
-> UpdateAuthEventFeedback
-> f UpdateAuthEventFeedback
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> f Text) -> Sensitive Text -> f (Sensitive Text)
forall a. Iso' (Sensitive a) a
Core._Sensitive
updateAuthEventFeedback_eventId :: Lens.Lens' UpdateAuthEventFeedback Prelude.Text
updateAuthEventFeedback_eventId :: (Text -> f Text)
-> UpdateAuthEventFeedback -> f UpdateAuthEventFeedback
updateAuthEventFeedback_eventId = (UpdateAuthEventFeedback -> Text)
-> (UpdateAuthEventFeedback -> Text -> UpdateAuthEventFeedback)
-> Lens UpdateAuthEventFeedback UpdateAuthEventFeedback Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAuthEventFeedback' {Text
eventId :: Text
$sel:eventId:UpdateAuthEventFeedback' :: UpdateAuthEventFeedback -> Text
eventId} -> Text
eventId) (\s :: UpdateAuthEventFeedback
s@UpdateAuthEventFeedback' {} Text
a -> UpdateAuthEventFeedback
s {$sel:eventId:UpdateAuthEventFeedback' :: Text
eventId = Text
a} :: UpdateAuthEventFeedback)
updateAuthEventFeedback_feedbackToken :: Lens.Lens' UpdateAuthEventFeedback Prelude.Text
updateAuthEventFeedback_feedbackToken :: (Text -> f Text)
-> UpdateAuthEventFeedback -> f UpdateAuthEventFeedback
updateAuthEventFeedback_feedbackToken = (UpdateAuthEventFeedback -> Sensitive Text)
-> (UpdateAuthEventFeedback
-> Sensitive Text -> UpdateAuthEventFeedback)
-> Lens
UpdateAuthEventFeedback
UpdateAuthEventFeedback
(Sensitive Text)
(Sensitive Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAuthEventFeedback' {Sensitive Text
feedbackToken :: Sensitive Text
$sel:feedbackToken:UpdateAuthEventFeedback' :: UpdateAuthEventFeedback -> Sensitive Text
feedbackToken} -> Sensitive Text
feedbackToken) (\s :: UpdateAuthEventFeedback
s@UpdateAuthEventFeedback' {} Sensitive Text
a -> UpdateAuthEventFeedback
s {$sel:feedbackToken:UpdateAuthEventFeedback' :: Sensitive Text
feedbackToken = Sensitive Text
a} :: UpdateAuthEventFeedback) ((Sensitive Text -> f (Sensitive Text))
-> UpdateAuthEventFeedback -> f UpdateAuthEventFeedback)
-> ((Text -> f Text) -> Sensitive Text -> f (Sensitive Text))
-> (Text -> f Text)
-> UpdateAuthEventFeedback
-> f UpdateAuthEventFeedback
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> f Text) -> Sensitive Text -> f (Sensitive Text)
forall a. Iso' (Sensitive a) a
Core._Sensitive
updateAuthEventFeedback_feedbackValue :: Lens.Lens' UpdateAuthEventFeedback FeedbackValueType
updateAuthEventFeedback_feedbackValue :: (FeedbackValueType -> f FeedbackValueType)
-> UpdateAuthEventFeedback -> f UpdateAuthEventFeedback
updateAuthEventFeedback_feedbackValue = (UpdateAuthEventFeedback -> FeedbackValueType)
-> (UpdateAuthEventFeedback
-> FeedbackValueType -> UpdateAuthEventFeedback)
-> Lens
UpdateAuthEventFeedback
UpdateAuthEventFeedback
FeedbackValueType
FeedbackValueType
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAuthEventFeedback' {FeedbackValueType
feedbackValue :: FeedbackValueType
$sel:feedbackValue:UpdateAuthEventFeedback' :: UpdateAuthEventFeedback -> FeedbackValueType
feedbackValue} -> FeedbackValueType
feedbackValue) (\s :: UpdateAuthEventFeedback
s@UpdateAuthEventFeedback' {} FeedbackValueType
a -> UpdateAuthEventFeedback
s {$sel:feedbackValue:UpdateAuthEventFeedback' :: FeedbackValueType
feedbackValue = FeedbackValueType
a} :: UpdateAuthEventFeedback)
instance Core.AWSRequest UpdateAuthEventFeedback where
type
AWSResponse UpdateAuthEventFeedback =
UpdateAuthEventFeedbackResponse
request :: UpdateAuthEventFeedback -> Request UpdateAuthEventFeedback
request = Service
-> UpdateAuthEventFeedback -> Request UpdateAuthEventFeedback
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy UpdateAuthEventFeedback
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateAuthEventFeedback)))
response =
(Int
-> ResponseHeaders
-> ()
-> Either String (AWSResponse UpdateAuthEventFeedback))
-> Logger
-> Service
-> Proxy UpdateAuthEventFeedback
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateAuthEventFeedback)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> () -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveEmpty
( \Int
s ResponseHeaders
h ()
x ->
Int -> UpdateAuthEventFeedbackResponse
UpdateAuthEventFeedbackResponse'
(Int -> UpdateAuthEventFeedbackResponse)
-> Either String Int
-> Either String UpdateAuthEventFeedbackResponse
forall (f :: * -> *) a b. Functor 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 UpdateAuthEventFeedback
instance Prelude.NFData UpdateAuthEventFeedback
instance Core.ToHeaders UpdateAuthEventFeedback where
toHeaders :: UpdateAuthEventFeedback -> ResponseHeaders
toHeaders =
ResponseHeaders -> UpdateAuthEventFeedback -> 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
"AWSCognitoIdentityProviderService.UpdateAuthEventFeedback" ::
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 UpdateAuthEventFeedback where
toJSON :: UpdateAuthEventFeedback -> Value
toJSON UpdateAuthEventFeedback' {Text
Sensitive Text
FeedbackValueType
feedbackValue :: FeedbackValueType
feedbackToken :: Sensitive Text
eventId :: Text
username :: Sensitive Text
userPoolId :: Text
$sel:feedbackValue:UpdateAuthEventFeedback' :: UpdateAuthEventFeedback -> FeedbackValueType
$sel:feedbackToken:UpdateAuthEventFeedback' :: UpdateAuthEventFeedback -> Sensitive Text
$sel:eventId:UpdateAuthEventFeedback' :: UpdateAuthEventFeedback -> Text
$sel:username:UpdateAuthEventFeedback' :: UpdateAuthEventFeedback -> Sensitive Text
$sel:userPoolId:UpdateAuthEventFeedback' :: UpdateAuthEventFeedback -> 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
"UserPoolId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
userPoolId),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"Username" Text -> Sensitive Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Sensitive Text
username),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"EventId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
eventId),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"FeedbackToken" Text -> Sensitive Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Sensitive Text
feedbackToken),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"FeedbackValue" Text -> FeedbackValueType -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= FeedbackValueType
feedbackValue)
]
)
instance Core.ToPath UpdateAuthEventFeedback where
toPath :: UpdateAuthEventFeedback -> ByteString
toPath = ByteString -> UpdateAuthEventFeedback -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery UpdateAuthEventFeedback where
toQuery :: UpdateAuthEventFeedback -> QueryString
toQuery = QueryString -> UpdateAuthEventFeedback -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data UpdateAuthEventFeedbackResponse = UpdateAuthEventFeedbackResponse'
{
UpdateAuthEventFeedbackResponse -> Int
httpStatus :: Prelude.Int
}
deriving (UpdateAuthEventFeedbackResponse
-> UpdateAuthEventFeedbackResponse -> Bool
(UpdateAuthEventFeedbackResponse
-> UpdateAuthEventFeedbackResponse -> Bool)
-> (UpdateAuthEventFeedbackResponse
-> UpdateAuthEventFeedbackResponse -> Bool)
-> Eq UpdateAuthEventFeedbackResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateAuthEventFeedbackResponse
-> UpdateAuthEventFeedbackResponse -> Bool
$c/= :: UpdateAuthEventFeedbackResponse
-> UpdateAuthEventFeedbackResponse -> Bool
== :: UpdateAuthEventFeedbackResponse
-> UpdateAuthEventFeedbackResponse -> Bool
$c== :: UpdateAuthEventFeedbackResponse
-> UpdateAuthEventFeedbackResponse -> Bool
Prelude.Eq, ReadPrec [UpdateAuthEventFeedbackResponse]
ReadPrec UpdateAuthEventFeedbackResponse
Int -> ReadS UpdateAuthEventFeedbackResponse
ReadS [UpdateAuthEventFeedbackResponse]
(Int -> ReadS UpdateAuthEventFeedbackResponse)
-> ReadS [UpdateAuthEventFeedbackResponse]
-> ReadPrec UpdateAuthEventFeedbackResponse
-> ReadPrec [UpdateAuthEventFeedbackResponse]
-> Read UpdateAuthEventFeedbackResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateAuthEventFeedbackResponse]
$creadListPrec :: ReadPrec [UpdateAuthEventFeedbackResponse]
readPrec :: ReadPrec UpdateAuthEventFeedbackResponse
$creadPrec :: ReadPrec UpdateAuthEventFeedbackResponse
readList :: ReadS [UpdateAuthEventFeedbackResponse]
$creadList :: ReadS [UpdateAuthEventFeedbackResponse]
readsPrec :: Int -> ReadS UpdateAuthEventFeedbackResponse
$creadsPrec :: Int -> ReadS UpdateAuthEventFeedbackResponse
Prelude.Read, Int -> UpdateAuthEventFeedbackResponse -> ShowS
[UpdateAuthEventFeedbackResponse] -> ShowS
UpdateAuthEventFeedbackResponse -> String
(Int -> UpdateAuthEventFeedbackResponse -> ShowS)
-> (UpdateAuthEventFeedbackResponse -> String)
-> ([UpdateAuthEventFeedbackResponse] -> ShowS)
-> Show UpdateAuthEventFeedbackResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateAuthEventFeedbackResponse] -> ShowS
$cshowList :: [UpdateAuthEventFeedbackResponse] -> ShowS
show :: UpdateAuthEventFeedbackResponse -> String
$cshow :: UpdateAuthEventFeedbackResponse -> String
showsPrec :: Int -> UpdateAuthEventFeedbackResponse -> ShowS
$cshowsPrec :: Int -> UpdateAuthEventFeedbackResponse -> ShowS
Prelude.Show, (forall x.
UpdateAuthEventFeedbackResponse
-> Rep UpdateAuthEventFeedbackResponse x)
-> (forall x.
Rep UpdateAuthEventFeedbackResponse x
-> UpdateAuthEventFeedbackResponse)
-> Generic UpdateAuthEventFeedbackResponse
forall x.
Rep UpdateAuthEventFeedbackResponse x
-> UpdateAuthEventFeedbackResponse
forall x.
UpdateAuthEventFeedbackResponse
-> Rep UpdateAuthEventFeedbackResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateAuthEventFeedbackResponse x
-> UpdateAuthEventFeedbackResponse
$cfrom :: forall x.
UpdateAuthEventFeedbackResponse
-> Rep UpdateAuthEventFeedbackResponse x
Prelude.Generic)
newUpdateAuthEventFeedbackResponse ::
Prelude.Int ->
UpdateAuthEventFeedbackResponse
newUpdateAuthEventFeedbackResponse :: Int -> UpdateAuthEventFeedbackResponse
newUpdateAuthEventFeedbackResponse Int
pHttpStatus_ =
UpdateAuthEventFeedbackResponse' :: Int -> UpdateAuthEventFeedbackResponse
UpdateAuthEventFeedbackResponse'
{ $sel:httpStatus:UpdateAuthEventFeedbackResponse' :: Int
httpStatus =
Int
pHttpStatus_
}
updateAuthEventFeedbackResponse_httpStatus :: Lens.Lens' UpdateAuthEventFeedbackResponse Prelude.Int
updateAuthEventFeedbackResponse_httpStatus :: (Int -> f Int)
-> UpdateAuthEventFeedbackResponse
-> f UpdateAuthEventFeedbackResponse
updateAuthEventFeedbackResponse_httpStatus = (UpdateAuthEventFeedbackResponse -> Int)
-> (UpdateAuthEventFeedbackResponse
-> Int -> UpdateAuthEventFeedbackResponse)
-> Lens
UpdateAuthEventFeedbackResponse
UpdateAuthEventFeedbackResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAuthEventFeedbackResponse' {Int
httpStatus :: Int
$sel:httpStatus:UpdateAuthEventFeedbackResponse' :: UpdateAuthEventFeedbackResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: UpdateAuthEventFeedbackResponse
s@UpdateAuthEventFeedbackResponse' {} Int
a -> UpdateAuthEventFeedbackResponse
s {$sel:httpStatus:UpdateAuthEventFeedbackResponse' :: Int
httpStatus = Int
a} :: UpdateAuthEventFeedbackResponse)
instance
Prelude.NFData
UpdateAuthEventFeedbackResponse