{-# 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.Transcribe.UpdateVocabularyFilter
(
UpdateVocabularyFilter (..),
newUpdateVocabularyFilter,
updateVocabularyFilter_vocabularyFilterFileUri,
updateVocabularyFilter_words,
updateVocabularyFilter_vocabularyFilterName,
UpdateVocabularyFilterResponse (..),
newUpdateVocabularyFilterResponse,
updateVocabularyFilterResponse_languageCode,
updateVocabularyFilterResponse_lastModifiedTime,
updateVocabularyFilterResponse_vocabularyFilterName,
updateVocabularyFilterResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.Transcribe.Types
data UpdateVocabularyFilter = UpdateVocabularyFilter'
{
UpdateVocabularyFilter -> Maybe Text
vocabularyFilterFileUri :: Prelude.Maybe Prelude.Text,
UpdateVocabularyFilter -> Maybe (NonEmpty Text)
words :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),
UpdateVocabularyFilter -> Text
vocabularyFilterName :: Prelude.Text
}
deriving (UpdateVocabularyFilter -> UpdateVocabularyFilter -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateVocabularyFilter -> UpdateVocabularyFilter -> Bool
$c/= :: UpdateVocabularyFilter -> UpdateVocabularyFilter -> Bool
== :: UpdateVocabularyFilter -> UpdateVocabularyFilter -> Bool
$c== :: UpdateVocabularyFilter -> UpdateVocabularyFilter -> Bool
Prelude.Eq, ReadPrec [UpdateVocabularyFilter]
ReadPrec UpdateVocabularyFilter
Int -> ReadS UpdateVocabularyFilter
ReadS [UpdateVocabularyFilter]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateVocabularyFilter]
$creadListPrec :: ReadPrec [UpdateVocabularyFilter]
readPrec :: ReadPrec UpdateVocabularyFilter
$creadPrec :: ReadPrec UpdateVocabularyFilter
readList :: ReadS [UpdateVocabularyFilter]
$creadList :: ReadS [UpdateVocabularyFilter]
readsPrec :: Int -> ReadS UpdateVocabularyFilter
$creadsPrec :: Int -> ReadS UpdateVocabularyFilter
Prelude.Read, Int -> UpdateVocabularyFilter -> ShowS
[UpdateVocabularyFilter] -> ShowS
UpdateVocabularyFilter -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateVocabularyFilter] -> ShowS
$cshowList :: [UpdateVocabularyFilter] -> ShowS
show :: UpdateVocabularyFilter -> String
$cshow :: UpdateVocabularyFilter -> String
showsPrec :: Int -> UpdateVocabularyFilter -> ShowS
$cshowsPrec :: Int -> UpdateVocabularyFilter -> ShowS
Prelude.Show, forall x. Rep UpdateVocabularyFilter x -> UpdateVocabularyFilter
forall x. UpdateVocabularyFilter -> Rep UpdateVocabularyFilter x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpdateVocabularyFilter x -> UpdateVocabularyFilter
$cfrom :: forall x. UpdateVocabularyFilter -> Rep UpdateVocabularyFilter x
Prelude.Generic)
newUpdateVocabularyFilter ::
Prelude.Text ->
UpdateVocabularyFilter
newUpdateVocabularyFilter :: Text -> UpdateVocabularyFilter
newUpdateVocabularyFilter Text
pVocabularyFilterName_ =
UpdateVocabularyFilter'
{ $sel:vocabularyFilterFileUri:UpdateVocabularyFilter' :: Maybe Text
vocabularyFilterFileUri =
forall a. Maybe a
Prelude.Nothing,
$sel:words:UpdateVocabularyFilter' :: Maybe (NonEmpty Text)
words = forall a. Maybe a
Prelude.Nothing,
$sel:vocabularyFilterName:UpdateVocabularyFilter' :: Text
vocabularyFilterName = Text
pVocabularyFilterName_
}
updateVocabularyFilter_vocabularyFilterFileUri :: Lens.Lens' UpdateVocabularyFilter (Prelude.Maybe Prelude.Text)
updateVocabularyFilter_vocabularyFilterFileUri :: Lens' UpdateVocabularyFilter (Maybe Text)
updateVocabularyFilter_vocabularyFilterFileUri = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVocabularyFilter' {Maybe Text
vocabularyFilterFileUri :: Maybe Text
$sel:vocabularyFilterFileUri:UpdateVocabularyFilter' :: UpdateVocabularyFilter -> Maybe Text
vocabularyFilterFileUri} -> Maybe Text
vocabularyFilterFileUri) (\s :: UpdateVocabularyFilter
s@UpdateVocabularyFilter' {} Maybe Text
a -> UpdateVocabularyFilter
s {$sel:vocabularyFilterFileUri:UpdateVocabularyFilter' :: Maybe Text
vocabularyFilterFileUri = Maybe Text
a} :: UpdateVocabularyFilter)
updateVocabularyFilter_words :: Lens.Lens' UpdateVocabularyFilter (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))
updateVocabularyFilter_words :: Lens' UpdateVocabularyFilter (Maybe (NonEmpty Text))
updateVocabularyFilter_words = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVocabularyFilter' {Maybe (NonEmpty Text)
words :: Maybe (NonEmpty Text)
$sel:words:UpdateVocabularyFilter' :: UpdateVocabularyFilter -> Maybe (NonEmpty Text)
words} -> Maybe (NonEmpty Text)
words) (\s :: UpdateVocabularyFilter
s@UpdateVocabularyFilter' {} Maybe (NonEmpty Text)
a -> UpdateVocabularyFilter
s {$sel:words:UpdateVocabularyFilter' :: Maybe (NonEmpty Text)
words = Maybe (NonEmpty Text)
a} :: UpdateVocabularyFilter) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
updateVocabularyFilter_vocabularyFilterName :: Lens.Lens' UpdateVocabularyFilter Prelude.Text
updateVocabularyFilter_vocabularyFilterName :: Lens' UpdateVocabularyFilter Text
updateVocabularyFilter_vocabularyFilterName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVocabularyFilter' {Text
vocabularyFilterName :: Text
$sel:vocabularyFilterName:UpdateVocabularyFilter' :: UpdateVocabularyFilter -> Text
vocabularyFilterName} -> Text
vocabularyFilterName) (\s :: UpdateVocabularyFilter
s@UpdateVocabularyFilter' {} Text
a -> UpdateVocabularyFilter
s {$sel:vocabularyFilterName:UpdateVocabularyFilter' :: Text
vocabularyFilterName = Text
a} :: UpdateVocabularyFilter)
instance Core.AWSRequest UpdateVocabularyFilter where
type
AWSResponse UpdateVocabularyFilter =
UpdateVocabularyFilterResponse
request :: (Service -> Service)
-> UpdateVocabularyFilter -> Request UpdateVocabularyFilter
request Service -> Service
overrides =
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy UpdateVocabularyFilter
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateVocabularyFilter)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe LanguageCode
-> Maybe POSIX
-> Maybe Text
-> Int
-> UpdateVocabularyFilterResponse
UpdateVocabularyFilterResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"LanguageCode")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"LastModifiedTime")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"VocabularyFilterName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable UpdateVocabularyFilter where
hashWithSalt :: Int -> UpdateVocabularyFilter -> Int
hashWithSalt Int
_salt UpdateVocabularyFilter' {Maybe (NonEmpty Text)
Maybe Text
Text
vocabularyFilterName :: Text
words :: Maybe (NonEmpty Text)
vocabularyFilterFileUri :: Maybe Text
$sel:vocabularyFilterName:UpdateVocabularyFilter' :: UpdateVocabularyFilter -> Text
$sel:words:UpdateVocabularyFilter' :: UpdateVocabularyFilter -> Maybe (NonEmpty Text)
$sel:vocabularyFilterFileUri:UpdateVocabularyFilter' :: UpdateVocabularyFilter -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
vocabularyFilterFileUri
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (NonEmpty Text)
words
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
vocabularyFilterName
instance Prelude.NFData UpdateVocabularyFilter where
rnf :: UpdateVocabularyFilter -> ()
rnf UpdateVocabularyFilter' {Maybe (NonEmpty Text)
Maybe Text
Text
vocabularyFilterName :: Text
words :: Maybe (NonEmpty Text)
vocabularyFilterFileUri :: Maybe Text
$sel:vocabularyFilterName:UpdateVocabularyFilter' :: UpdateVocabularyFilter -> Text
$sel:words:UpdateVocabularyFilter' :: UpdateVocabularyFilter -> Maybe (NonEmpty Text)
$sel:vocabularyFilterFileUri:UpdateVocabularyFilter' :: UpdateVocabularyFilter -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
vocabularyFilterFileUri
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (NonEmpty Text)
words
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
vocabularyFilterName
instance Data.ToHeaders UpdateVocabularyFilter where
toHeaders :: UpdateVocabularyFilter -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"Transcribe.UpdateVocabularyFilter" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Data.ToJSON UpdateVocabularyFilter where
toJSON :: UpdateVocabularyFilter -> Value
toJSON UpdateVocabularyFilter' {Maybe (NonEmpty Text)
Maybe Text
Text
vocabularyFilterName :: Text
words :: Maybe (NonEmpty Text)
vocabularyFilterFileUri :: Maybe Text
$sel:vocabularyFilterName:UpdateVocabularyFilter' :: UpdateVocabularyFilter -> Text
$sel:words:UpdateVocabularyFilter' :: UpdateVocabularyFilter -> Maybe (NonEmpty Text)
$sel:vocabularyFilterFileUri:UpdateVocabularyFilter' :: UpdateVocabularyFilter -> Maybe Text
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"VocabularyFilterFileUri" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
vocabularyFilterFileUri,
(Key
"Words" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (NonEmpty Text)
words,
forall a. a -> Maybe a
Prelude.Just
( Key
"VocabularyFilterName"
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
vocabularyFilterName
)
]
)
instance Data.ToPath UpdateVocabularyFilter where
toPath :: UpdateVocabularyFilter -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Data.ToQuery UpdateVocabularyFilter where
toQuery :: UpdateVocabularyFilter -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data UpdateVocabularyFilterResponse = UpdateVocabularyFilterResponse'
{
UpdateVocabularyFilterResponse -> Maybe LanguageCode
languageCode :: Prelude.Maybe LanguageCode,
UpdateVocabularyFilterResponse -> Maybe POSIX
lastModifiedTime :: Prelude.Maybe Data.POSIX,
UpdateVocabularyFilterResponse -> Maybe Text
vocabularyFilterName :: Prelude.Maybe Prelude.Text,
UpdateVocabularyFilterResponse -> Int
httpStatus :: Prelude.Int
}
deriving (UpdateVocabularyFilterResponse
-> UpdateVocabularyFilterResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateVocabularyFilterResponse
-> UpdateVocabularyFilterResponse -> Bool
$c/= :: UpdateVocabularyFilterResponse
-> UpdateVocabularyFilterResponse -> Bool
== :: UpdateVocabularyFilterResponse
-> UpdateVocabularyFilterResponse -> Bool
$c== :: UpdateVocabularyFilterResponse
-> UpdateVocabularyFilterResponse -> Bool
Prelude.Eq, ReadPrec [UpdateVocabularyFilterResponse]
ReadPrec UpdateVocabularyFilterResponse
Int -> ReadS UpdateVocabularyFilterResponse
ReadS [UpdateVocabularyFilterResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateVocabularyFilterResponse]
$creadListPrec :: ReadPrec [UpdateVocabularyFilterResponse]
readPrec :: ReadPrec UpdateVocabularyFilterResponse
$creadPrec :: ReadPrec UpdateVocabularyFilterResponse
readList :: ReadS [UpdateVocabularyFilterResponse]
$creadList :: ReadS [UpdateVocabularyFilterResponse]
readsPrec :: Int -> ReadS UpdateVocabularyFilterResponse
$creadsPrec :: Int -> ReadS UpdateVocabularyFilterResponse
Prelude.Read, Int -> UpdateVocabularyFilterResponse -> ShowS
[UpdateVocabularyFilterResponse] -> ShowS
UpdateVocabularyFilterResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateVocabularyFilterResponse] -> ShowS
$cshowList :: [UpdateVocabularyFilterResponse] -> ShowS
show :: UpdateVocabularyFilterResponse -> String
$cshow :: UpdateVocabularyFilterResponse -> String
showsPrec :: Int -> UpdateVocabularyFilterResponse -> ShowS
$cshowsPrec :: Int -> UpdateVocabularyFilterResponse -> ShowS
Prelude.Show, forall x.
Rep UpdateVocabularyFilterResponse x
-> UpdateVocabularyFilterResponse
forall x.
UpdateVocabularyFilterResponse
-> Rep UpdateVocabularyFilterResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateVocabularyFilterResponse x
-> UpdateVocabularyFilterResponse
$cfrom :: forall x.
UpdateVocabularyFilterResponse
-> Rep UpdateVocabularyFilterResponse x
Prelude.Generic)
newUpdateVocabularyFilterResponse ::
Prelude.Int ->
UpdateVocabularyFilterResponse
newUpdateVocabularyFilterResponse :: Int -> UpdateVocabularyFilterResponse
newUpdateVocabularyFilterResponse Int
pHttpStatus_ =
UpdateVocabularyFilterResponse'
{ $sel:languageCode:UpdateVocabularyFilterResponse' :: Maybe LanguageCode
languageCode =
forall a. Maybe a
Prelude.Nothing,
$sel:lastModifiedTime:UpdateVocabularyFilterResponse' :: Maybe POSIX
lastModifiedTime = forall a. Maybe a
Prelude.Nothing,
$sel:vocabularyFilterName:UpdateVocabularyFilterResponse' :: Maybe Text
vocabularyFilterName = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:UpdateVocabularyFilterResponse' :: Int
httpStatus = Int
pHttpStatus_
}
updateVocabularyFilterResponse_languageCode :: Lens.Lens' UpdateVocabularyFilterResponse (Prelude.Maybe LanguageCode)
updateVocabularyFilterResponse_languageCode :: Lens' UpdateVocabularyFilterResponse (Maybe LanguageCode)
updateVocabularyFilterResponse_languageCode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVocabularyFilterResponse' {Maybe LanguageCode
languageCode :: Maybe LanguageCode
$sel:languageCode:UpdateVocabularyFilterResponse' :: UpdateVocabularyFilterResponse -> Maybe LanguageCode
languageCode} -> Maybe LanguageCode
languageCode) (\s :: UpdateVocabularyFilterResponse
s@UpdateVocabularyFilterResponse' {} Maybe LanguageCode
a -> UpdateVocabularyFilterResponse
s {$sel:languageCode:UpdateVocabularyFilterResponse' :: Maybe LanguageCode
languageCode = Maybe LanguageCode
a} :: UpdateVocabularyFilterResponse)
updateVocabularyFilterResponse_lastModifiedTime :: Lens.Lens' UpdateVocabularyFilterResponse (Prelude.Maybe Prelude.UTCTime)
updateVocabularyFilterResponse_lastModifiedTime :: Lens' UpdateVocabularyFilterResponse (Maybe UTCTime)
updateVocabularyFilterResponse_lastModifiedTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVocabularyFilterResponse' {Maybe POSIX
lastModifiedTime :: Maybe POSIX
$sel:lastModifiedTime:UpdateVocabularyFilterResponse' :: UpdateVocabularyFilterResponse -> Maybe POSIX
lastModifiedTime} -> Maybe POSIX
lastModifiedTime) (\s :: UpdateVocabularyFilterResponse
s@UpdateVocabularyFilterResponse' {} Maybe POSIX
a -> UpdateVocabularyFilterResponse
s {$sel:lastModifiedTime:UpdateVocabularyFilterResponse' :: Maybe POSIX
lastModifiedTime = Maybe POSIX
a} :: UpdateVocabularyFilterResponse) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
updateVocabularyFilterResponse_vocabularyFilterName :: Lens.Lens' UpdateVocabularyFilterResponse (Prelude.Maybe Prelude.Text)
updateVocabularyFilterResponse_vocabularyFilterName :: Lens' UpdateVocabularyFilterResponse (Maybe Text)
updateVocabularyFilterResponse_vocabularyFilterName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVocabularyFilterResponse' {Maybe Text
vocabularyFilterName :: Maybe Text
$sel:vocabularyFilterName:UpdateVocabularyFilterResponse' :: UpdateVocabularyFilterResponse -> Maybe Text
vocabularyFilterName} -> Maybe Text
vocabularyFilterName) (\s :: UpdateVocabularyFilterResponse
s@UpdateVocabularyFilterResponse' {} Maybe Text
a -> UpdateVocabularyFilterResponse
s {$sel:vocabularyFilterName:UpdateVocabularyFilterResponse' :: Maybe Text
vocabularyFilterName = Maybe Text
a} :: UpdateVocabularyFilterResponse)
updateVocabularyFilterResponse_httpStatus :: Lens.Lens' UpdateVocabularyFilterResponse Prelude.Int
updateVocabularyFilterResponse_httpStatus :: Lens' UpdateVocabularyFilterResponse Int
updateVocabularyFilterResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateVocabularyFilterResponse' {Int
httpStatus :: Int
$sel:httpStatus:UpdateVocabularyFilterResponse' :: UpdateVocabularyFilterResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: UpdateVocabularyFilterResponse
s@UpdateVocabularyFilterResponse' {} Int
a -> UpdateVocabularyFilterResponse
s {$sel:httpStatus:UpdateVocabularyFilterResponse' :: Int
httpStatus = Int
a} :: UpdateVocabularyFilterResponse)
instance
Prelude.NFData
UpdateVocabularyFilterResponse
where
rnf :: UpdateVocabularyFilterResponse -> ()
rnf UpdateVocabularyFilterResponse' {Int
Maybe Text
Maybe POSIX
Maybe LanguageCode
httpStatus :: Int
vocabularyFilterName :: Maybe Text
lastModifiedTime :: Maybe POSIX
languageCode :: Maybe LanguageCode
$sel:httpStatus:UpdateVocabularyFilterResponse' :: UpdateVocabularyFilterResponse -> Int
$sel:vocabularyFilterName:UpdateVocabularyFilterResponse' :: UpdateVocabularyFilterResponse -> Maybe Text
$sel:lastModifiedTime:UpdateVocabularyFilterResponse' :: UpdateVocabularyFilterResponse -> Maybe POSIX
$sel:languageCode:UpdateVocabularyFilterResponse' :: UpdateVocabularyFilterResponse -> Maybe LanguageCode
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe LanguageCode
languageCode
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastModifiedTime
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
vocabularyFilterName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus