{-# 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.LexModels.CreateSlotTypeVersion
(
CreateSlotTypeVersion (..),
newCreateSlotTypeVersion,
createSlotTypeVersion_checksum,
createSlotTypeVersion_name,
CreateSlotTypeVersionResponse (..),
newCreateSlotTypeVersionResponse,
createSlotTypeVersionResponse_parentSlotTypeSignature,
createSlotTypeVersionResponse_slotTypeConfigurations,
createSlotTypeVersionResponse_checksum,
createSlotTypeVersionResponse_valueSelectionStrategy,
createSlotTypeVersionResponse_createdDate,
createSlotTypeVersionResponse_name,
createSlotTypeVersionResponse_version,
createSlotTypeVersionResponse_lastUpdatedDate,
createSlotTypeVersionResponse_description,
createSlotTypeVersionResponse_enumerationValues,
createSlotTypeVersionResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.LexModels.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data CreateSlotTypeVersion = CreateSlotTypeVersion'
{
CreateSlotTypeVersion -> Maybe Text
checksum :: Prelude.Maybe Prelude.Text,
CreateSlotTypeVersion -> Text
name :: Prelude.Text
}
deriving (CreateSlotTypeVersion -> CreateSlotTypeVersion -> Bool
(CreateSlotTypeVersion -> CreateSlotTypeVersion -> Bool)
-> (CreateSlotTypeVersion -> CreateSlotTypeVersion -> Bool)
-> Eq CreateSlotTypeVersion
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateSlotTypeVersion -> CreateSlotTypeVersion -> Bool
$c/= :: CreateSlotTypeVersion -> CreateSlotTypeVersion -> Bool
== :: CreateSlotTypeVersion -> CreateSlotTypeVersion -> Bool
$c== :: CreateSlotTypeVersion -> CreateSlotTypeVersion -> Bool
Prelude.Eq, ReadPrec [CreateSlotTypeVersion]
ReadPrec CreateSlotTypeVersion
Int -> ReadS CreateSlotTypeVersion
ReadS [CreateSlotTypeVersion]
(Int -> ReadS CreateSlotTypeVersion)
-> ReadS [CreateSlotTypeVersion]
-> ReadPrec CreateSlotTypeVersion
-> ReadPrec [CreateSlotTypeVersion]
-> Read CreateSlotTypeVersion
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateSlotTypeVersion]
$creadListPrec :: ReadPrec [CreateSlotTypeVersion]
readPrec :: ReadPrec CreateSlotTypeVersion
$creadPrec :: ReadPrec CreateSlotTypeVersion
readList :: ReadS [CreateSlotTypeVersion]
$creadList :: ReadS [CreateSlotTypeVersion]
readsPrec :: Int -> ReadS CreateSlotTypeVersion
$creadsPrec :: Int -> ReadS CreateSlotTypeVersion
Prelude.Read, Int -> CreateSlotTypeVersion -> ShowS
[CreateSlotTypeVersion] -> ShowS
CreateSlotTypeVersion -> String
(Int -> CreateSlotTypeVersion -> ShowS)
-> (CreateSlotTypeVersion -> String)
-> ([CreateSlotTypeVersion] -> ShowS)
-> Show CreateSlotTypeVersion
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateSlotTypeVersion] -> ShowS
$cshowList :: [CreateSlotTypeVersion] -> ShowS
show :: CreateSlotTypeVersion -> String
$cshow :: CreateSlotTypeVersion -> String
showsPrec :: Int -> CreateSlotTypeVersion -> ShowS
$cshowsPrec :: Int -> CreateSlotTypeVersion -> ShowS
Prelude.Show, (forall x. CreateSlotTypeVersion -> Rep CreateSlotTypeVersion x)
-> (forall x. Rep CreateSlotTypeVersion x -> CreateSlotTypeVersion)
-> Generic CreateSlotTypeVersion
forall x. Rep CreateSlotTypeVersion x -> CreateSlotTypeVersion
forall x. CreateSlotTypeVersion -> Rep CreateSlotTypeVersion x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CreateSlotTypeVersion x -> CreateSlotTypeVersion
$cfrom :: forall x. CreateSlotTypeVersion -> Rep CreateSlotTypeVersion x
Prelude.Generic)
newCreateSlotTypeVersion ::
Prelude.Text ->
CreateSlotTypeVersion
newCreateSlotTypeVersion :: Text -> CreateSlotTypeVersion
newCreateSlotTypeVersion Text
pName_ =
CreateSlotTypeVersion' :: Maybe Text -> Text -> CreateSlotTypeVersion
CreateSlotTypeVersion'
{ $sel:checksum:CreateSlotTypeVersion' :: Maybe Text
checksum = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:name:CreateSlotTypeVersion' :: Text
name = Text
pName_
}
createSlotTypeVersion_checksum :: Lens.Lens' CreateSlotTypeVersion (Prelude.Maybe Prelude.Text)
createSlotTypeVersion_checksum :: (Maybe Text -> f (Maybe Text))
-> CreateSlotTypeVersion -> f CreateSlotTypeVersion
createSlotTypeVersion_checksum = (CreateSlotTypeVersion -> Maybe Text)
-> (CreateSlotTypeVersion -> Maybe Text -> CreateSlotTypeVersion)
-> Lens
CreateSlotTypeVersion
CreateSlotTypeVersion
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersion' {Maybe Text
checksum :: Maybe Text
$sel:checksum:CreateSlotTypeVersion' :: CreateSlotTypeVersion -> Maybe Text
checksum} -> Maybe Text
checksum) (\s :: CreateSlotTypeVersion
s@CreateSlotTypeVersion' {} Maybe Text
a -> CreateSlotTypeVersion
s {$sel:checksum:CreateSlotTypeVersion' :: Maybe Text
checksum = Maybe Text
a} :: CreateSlotTypeVersion)
createSlotTypeVersion_name :: Lens.Lens' CreateSlotTypeVersion Prelude.Text
createSlotTypeVersion_name :: (Text -> f Text)
-> CreateSlotTypeVersion -> f CreateSlotTypeVersion
createSlotTypeVersion_name = (CreateSlotTypeVersion -> Text)
-> (CreateSlotTypeVersion -> Text -> CreateSlotTypeVersion)
-> Lens CreateSlotTypeVersion CreateSlotTypeVersion Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersion' {Text
name :: Text
$sel:name:CreateSlotTypeVersion' :: CreateSlotTypeVersion -> Text
name} -> Text
name) (\s :: CreateSlotTypeVersion
s@CreateSlotTypeVersion' {} Text
a -> CreateSlotTypeVersion
s {$sel:name:CreateSlotTypeVersion' :: Text
name = Text
a} :: CreateSlotTypeVersion)
instance Core.AWSRequest CreateSlotTypeVersion where
type
AWSResponse CreateSlotTypeVersion =
CreateSlotTypeVersionResponse
request :: CreateSlotTypeVersion -> Request CreateSlotTypeVersion
request = Service -> CreateSlotTypeVersion -> Request CreateSlotTypeVersion
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy CreateSlotTypeVersion
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateSlotTypeVersion)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse CreateSlotTypeVersion))
-> Logger
-> Service
-> Proxy CreateSlotTypeVersion
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateSlotTypeVersion)))
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 Text
-> Maybe [SlotTypeConfiguration]
-> Maybe Text
-> Maybe SlotValueSelectionStrategy
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse
CreateSlotTypeVersionResponse'
(Maybe Text
-> Maybe [SlotTypeConfiguration]
-> Maybe Text
-> Maybe SlotValueSelectionStrategy
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [SlotTypeConfiguration]
-> Maybe Text
-> Maybe SlotValueSelectionStrategy
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"parentSlotTypeSignature")
Either
String
(Maybe [SlotTypeConfiguration]
-> Maybe Text
-> Maybe SlotValueSelectionStrategy
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
-> Either String (Maybe [SlotTypeConfiguration])
-> Either
String
(Maybe Text
-> Maybe SlotValueSelectionStrategy
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text -> Either String (Maybe (Maybe [SlotTypeConfiguration]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"slotTypeConfigurations"
Either String (Maybe (Maybe [SlotTypeConfiguration]))
-> Maybe [SlotTypeConfiguration]
-> Either String (Maybe [SlotTypeConfiguration])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [SlotTypeConfiguration]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe Text
-> Maybe SlotValueSelectionStrategy
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe SlotValueSelectionStrategy
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"checksum")
Either
String
(Maybe SlotValueSelectionStrategy
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
-> Either String (Maybe SlotValueSelectionStrategy)
-> Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe SlotValueSelectionStrategy)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"valueSelectionStrategy")
Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"createdDate")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"name")
Either
String
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"version")
Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"lastUpdatedDate")
Either
String
(Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [EnumerationValue] -> Int -> CreateSlotTypeVersionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"description")
Either
String
(Maybe [EnumerationValue] -> Int -> CreateSlotTypeVersionResponse)
-> Either String (Maybe [EnumerationValue])
-> Either String (Int -> CreateSlotTypeVersionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [EnumerationValue]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"enumerationValues"
Either String (Maybe (Maybe [EnumerationValue]))
-> Maybe [EnumerationValue]
-> Either String (Maybe [EnumerationValue])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [EnumerationValue]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Int -> CreateSlotTypeVersionResponse)
-> Either String Int -> Either String CreateSlotTypeVersionResponse
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 CreateSlotTypeVersion
instance Prelude.NFData CreateSlotTypeVersion
instance Core.ToHeaders CreateSlotTypeVersion where
toHeaders :: CreateSlotTypeVersion -> ResponseHeaders
toHeaders =
ResponseHeaders -> CreateSlotTypeVersion -> 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 CreateSlotTypeVersion where
toJSON :: CreateSlotTypeVersion -> Value
toJSON CreateSlotTypeVersion' {Maybe Text
Text
name :: Text
checksum :: Maybe Text
$sel:name:CreateSlotTypeVersion' :: CreateSlotTypeVersion -> Text
$sel:checksum:CreateSlotTypeVersion' :: CreateSlotTypeVersion -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[(Text
"checksum" 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
checksum]
)
instance Core.ToPath CreateSlotTypeVersion where
toPath :: CreateSlotTypeVersion -> ByteString
toPath CreateSlotTypeVersion' {Maybe Text
Text
name :: Text
checksum :: Maybe Text
$sel:name:CreateSlotTypeVersion' :: CreateSlotTypeVersion -> Text
$sel:checksum:CreateSlotTypeVersion' :: CreateSlotTypeVersion -> Maybe Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"/slottypes/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
name, ByteString
"/versions"]
instance Core.ToQuery CreateSlotTypeVersion where
toQuery :: CreateSlotTypeVersion -> QueryString
toQuery = QueryString -> CreateSlotTypeVersion -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data CreateSlotTypeVersionResponse = CreateSlotTypeVersionResponse'
{
CreateSlotTypeVersionResponse -> Maybe Text
parentSlotTypeSignature :: Prelude.Maybe Prelude.Text,
CreateSlotTypeVersionResponse -> Maybe [SlotTypeConfiguration]
slotTypeConfigurations :: Prelude.Maybe [SlotTypeConfiguration],
CreateSlotTypeVersionResponse -> Maybe Text
checksum :: Prelude.Maybe Prelude.Text,
CreateSlotTypeVersionResponse -> Maybe SlotValueSelectionStrategy
valueSelectionStrategy :: Prelude.Maybe SlotValueSelectionStrategy,
CreateSlotTypeVersionResponse -> Maybe POSIX
createdDate :: Prelude.Maybe Core.POSIX,
CreateSlotTypeVersionResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
CreateSlotTypeVersionResponse -> Maybe Text
version :: Prelude.Maybe Prelude.Text,
CreateSlotTypeVersionResponse -> Maybe POSIX
lastUpdatedDate :: Prelude.Maybe Core.POSIX,
CreateSlotTypeVersionResponse -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
CreateSlotTypeVersionResponse -> Maybe [EnumerationValue]
enumerationValues :: Prelude.Maybe [EnumerationValue],
CreateSlotTypeVersionResponse -> Int
httpStatus :: Prelude.Int
}
deriving (CreateSlotTypeVersionResponse
-> CreateSlotTypeVersionResponse -> Bool
(CreateSlotTypeVersionResponse
-> CreateSlotTypeVersionResponse -> Bool)
-> (CreateSlotTypeVersionResponse
-> CreateSlotTypeVersionResponse -> Bool)
-> Eq CreateSlotTypeVersionResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateSlotTypeVersionResponse
-> CreateSlotTypeVersionResponse -> Bool
$c/= :: CreateSlotTypeVersionResponse
-> CreateSlotTypeVersionResponse -> Bool
== :: CreateSlotTypeVersionResponse
-> CreateSlotTypeVersionResponse -> Bool
$c== :: CreateSlotTypeVersionResponse
-> CreateSlotTypeVersionResponse -> Bool
Prelude.Eq, ReadPrec [CreateSlotTypeVersionResponse]
ReadPrec CreateSlotTypeVersionResponse
Int -> ReadS CreateSlotTypeVersionResponse
ReadS [CreateSlotTypeVersionResponse]
(Int -> ReadS CreateSlotTypeVersionResponse)
-> ReadS [CreateSlotTypeVersionResponse]
-> ReadPrec CreateSlotTypeVersionResponse
-> ReadPrec [CreateSlotTypeVersionResponse]
-> Read CreateSlotTypeVersionResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateSlotTypeVersionResponse]
$creadListPrec :: ReadPrec [CreateSlotTypeVersionResponse]
readPrec :: ReadPrec CreateSlotTypeVersionResponse
$creadPrec :: ReadPrec CreateSlotTypeVersionResponse
readList :: ReadS [CreateSlotTypeVersionResponse]
$creadList :: ReadS [CreateSlotTypeVersionResponse]
readsPrec :: Int -> ReadS CreateSlotTypeVersionResponse
$creadsPrec :: Int -> ReadS CreateSlotTypeVersionResponse
Prelude.Read, Int -> CreateSlotTypeVersionResponse -> ShowS
[CreateSlotTypeVersionResponse] -> ShowS
CreateSlotTypeVersionResponse -> String
(Int -> CreateSlotTypeVersionResponse -> ShowS)
-> (CreateSlotTypeVersionResponse -> String)
-> ([CreateSlotTypeVersionResponse] -> ShowS)
-> Show CreateSlotTypeVersionResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateSlotTypeVersionResponse] -> ShowS
$cshowList :: [CreateSlotTypeVersionResponse] -> ShowS
show :: CreateSlotTypeVersionResponse -> String
$cshow :: CreateSlotTypeVersionResponse -> String
showsPrec :: Int -> CreateSlotTypeVersionResponse -> ShowS
$cshowsPrec :: Int -> CreateSlotTypeVersionResponse -> ShowS
Prelude.Show, (forall x.
CreateSlotTypeVersionResponse
-> Rep CreateSlotTypeVersionResponse x)
-> (forall x.
Rep CreateSlotTypeVersionResponse x
-> CreateSlotTypeVersionResponse)
-> Generic CreateSlotTypeVersionResponse
forall x.
Rep CreateSlotTypeVersionResponse x
-> CreateSlotTypeVersionResponse
forall x.
CreateSlotTypeVersionResponse
-> Rep CreateSlotTypeVersionResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateSlotTypeVersionResponse x
-> CreateSlotTypeVersionResponse
$cfrom :: forall x.
CreateSlotTypeVersionResponse
-> Rep CreateSlotTypeVersionResponse x
Prelude.Generic)
newCreateSlotTypeVersionResponse ::
Prelude.Int ->
CreateSlotTypeVersionResponse
newCreateSlotTypeVersionResponse :: Int -> CreateSlotTypeVersionResponse
newCreateSlotTypeVersionResponse Int
pHttpStatus_ =
CreateSlotTypeVersionResponse' :: Maybe Text
-> Maybe [SlotTypeConfiguration]
-> Maybe Text
-> Maybe SlotValueSelectionStrategy
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe [EnumerationValue]
-> Int
-> CreateSlotTypeVersionResponse
CreateSlotTypeVersionResponse'
{ $sel:parentSlotTypeSignature:CreateSlotTypeVersionResponse' :: Maybe Text
parentSlotTypeSignature =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:slotTypeConfigurations:CreateSlotTypeVersionResponse' :: Maybe [SlotTypeConfiguration]
slotTypeConfigurations = Maybe [SlotTypeConfiguration]
forall a. Maybe a
Prelude.Nothing,
$sel:checksum:CreateSlotTypeVersionResponse' :: Maybe Text
checksum = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:valueSelectionStrategy:CreateSlotTypeVersionResponse' :: Maybe SlotValueSelectionStrategy
valueSelectionStrategy = Maybe SlotValueSelectionStrategy
forall a. Maybe a
Prelude.Nothing,
$sel:createdDate:CreateSlotTypeVersionResponse' :: Maybe POSIX
createdDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:name:CreateSlotTypeVersionResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:version:CreateSlotTypeVersionResponse' :: Maybe Text
version = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lastUpdatedDate:CreateSlotTypeVersionResponse' :: Maybe POSIX
lastUpdatedDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:description:CreateSlotTypeVersionResponse' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:enumerationValues:CreateSlotTypeVersionResponse' :: Maybe [EnumerationValue]
enumerationValues = Maybe [EnumerationValue]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:CreateSlotTypeVersionResponse' :: Int
httpStatus = Int
pHttpStatus_
}
createSlotTypeVersionResponse_parentSlotTypeSignature :: Lens.Lens' CreateSlotTypeVersionResponse (Prelude.Maybe Prelude.Text)
createSlotTypeVersionResponse_parentSlotTypeSignature :: (Maybe Text -> f (Maybe Text))
-> CreateSlotTypeVersionResponse -> f CreateSlotTypeVersionResponse
createSlotTypeVersionResponse_parentSlotTypeSignature = (CreateSlotTypeVersionResponse -> Maybe Text)
-> (CreateSlotTypeVersionResponse
-> Maybe Text -> CreateSlotTypeVersionResponse)
-> Lens
CreateSlotTypeVersionResponse
CreateSlotTypeVersionResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersionResponse' {Maybe Text
parentSlotTypeSignature :: Maybe Text
$sel:parentSlotTypeSignature:CreateSlotTypeVersionResponse' :: CreateSlotTypeVersionResponse -> Maybe Text
parentSlotTypeSignature} -> Maybe Text
parentSlotTypeSignature) (\s :: CreateSlotTypeVersionResponse
s@CreateSlotTypeVersionResponse' {} Maybe Text
a -> CreateSlotTypeVersionResponse
s {$sel:parentSlotTypeSignature:CreateSlotTypeVersionResponse' :: Maybe Text
parentSlotTypeSignature = Maybe Text
a} :: CreateSlotTypeVersionResponse)
createSlotTypeVersionResponse_slotTypeConfigurations :: Lens.Lens' CreateSlotTypeVersionResponse (Prelude.Maybe [SlotTypeConfiguration])
createSlotTypeVersionResponse_slotTypeConfigurations :: (Maybe [SlotTypeConfiguration]
-> f (Maybe [SlotTypeConfiguration]))
-> CreateSlotTypeVersionResponse -> f CreateSlotTypeVersionResponse
createSlotTypeVersionResponse_slotTypeConfigurations = (CreateSlotTypeVersionResponse -> Maybe [SlotTypeConfiguration])
-> (CreateSlotTypeVersionResponse
-> Maybe [SlotTypeConfiguration] -> CreateSlotTypeVersionResponse)
-> Lens
CreateSlotTypeVersionResponse
CreateSlotTypeVersionResponse
(Maybe [SlotTypeConfiguration])
(Maybe [SlotTypeConfiguration])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersionResponse' {Maybe [SlotTypeConfiguration]
slotTypeConfigurations :: Maybe [SlotTypeConfiguration]
$sel:slotTypeConfigurations:CreateSlotTypeVersionResponse' :: CreateSlotTypeVersionResponse -> Maybe [SlotTypeConfiguration]
slotTypeConfigurations} -> Maybe [SlotTypeConfiguration]
slotTypeConfigurations) (\s :: CreateSlotTypeVersionResponse
s@CreateSlotTypeVersionResponse' {} Maybe [SlotTypeConfiguration]
a -> CreateSlotTypeVersionResponse
s {$sel:slotTypeConfigurations:CreateSlotTypeVersionResponse' :: Maybe [SlotTypeConfiguration]
slotTypeConfigurations = Maybe [SlotTypeConfiguration]
a} :: CreateSlotTypeVersionResponse) ((Maybe [SlotTypeConfiguration]
-> f (Maybe [SlotTypeConfiguration]))
-> CreateSlotTypeVersionResponse
-> f CreateSlotTypeVersionResponse)
-> ((Maybe [SlotTypeConfiguration]
-> f (Maybe [SlotTypeConfiguration]))
-> Maybe [SlotTypeConfiguration]
-> f (Maybe [SlotTypeConfiguration]))
-> (Maybe [SlotTypeConfiguration]
-> f (Maybe [SlotTypeConfiguration]))
-> CreateSlotTypeVersionResponse
-> f CreateSlotTypeVersionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[SlotTypeConfiguration]
[SlotTypeConfiguration]
[SlotTypeConfiguration]
[SlotTypeConfiguration]
-> Iso
(Maybe [SlotTypeConfiguration])
(Maybe [SlotTypeConfiguration])
(Maybe [SlotTypeConfiguration])
(Maybe [SlotTypeConfiguration])
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
[SlotTypeConfiguration]
[SlotTypeConfiguration]
[SlotTypeConfiguration]
[SlotTypeConfiguration]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createSlotTypeVersionResponse_checksum :: Lens.Lens' CreateSlotTypeVersionResponse (Prelude.Maybe Prelude.Text)
createSlotTypeVersionResponse_checksum :: (Maybe Text -> f (Maybe Text))
-> CreateSlotTypeVersionResponse -> f CreateSlotTypeVersionResponse
createSlotTypeVersionResponse_checksum = (CreateSlotTypeVersionResponse -> Maybe Text)
-> (CreateSlotTypeVersionResponse
-> Maybe Text -> CreateSlotTypeVersionResponse)
-> Lens
CreateSlotTypeVersionResponse
CreateSlotTypeVersionResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersionResponse' {Maybe Text
checksum :: Maybe Text
$sel:checksum:CreateSlotTypeVersionResponse' :: CreateSlotTypeVersionResponse -> Maybe Text
checksum} -> Maybe Text
checksum) (\s :: CreateSlotTypeVersionResponse
s@CreateSlotTypeVersionResponse' {} Maybe Text
a -> CreateSlotTypeVersionResponse
s {$sel:checksum:CreateSlotTypeVersionResponse' :: Maybe Text
checksum = Maybe Text
a} :: CreateSlotTypeVersionResponse)
createSlotTypeVersionResponse_valueSelectionStrategy :: Lens.Lens' CreateSlotTypeVersionResponse (Prelude.Maybe SlotValueSelectionStrategy)
createSlotTypeVersionResponse_valueSelectionStrategy :: (Maybe SlotValueSelectionStrategy
-> f (Maybe SlotValueSelectionStrategy))
-> CreateSlotTypeVersionResponse -> f CreateSlotTypeVersionResponse
createSlotTypeVersionResponse_valueSelectionStrategy = (CreateSlotTypeVersionResponse -> Maybe SlotValueSelectionStrategy)
-> (CreateSlotTypeVersionResponse
-> Maybe SlotValueSelectionStrategy
-> CreateSlotTypeVersionResponse)
-> Lens
CreateSlotTypeVersionResponse
CreateSlotTypeVersionResponse
(Maybe SlotValueSelectionStrategy)
(Maybe SlotValueSelectionStrategy)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersionResponse' {Maybe SlotValueSelectionStrategy
valueSelectionStrategy :: Maybe SlotValueSelectionStrategy
$sel:valueSelectionStrategy:CreateSlotTypeVersionResponse' :: CreateSlotTypeVersionResponse -> Maybe SlotValueSelectionStrategy
valueSelectionStrategy} -> Maybe SlotValueSelectionStrategy
valueSelectionStrategy) (\s :: CreateSlotTypeVersionResponse
s@CreateSlotTypeVersionResponse' {} Maybe SlotValueSelectionStrategy
a -> CreateSlotTypeVersionResponse
s {$sel:valueSelectionStrategy:CreateSlotTypeVersionResponse' :: Maybe SlotValueSelectionStrategy
valueSelectionStrategy = Maybe SlotValueSelectionStrategy
a} :: CreateSlotTypeVersionResponse)
createSlotTypeVersionResponse_createdDate :: Lens.Lens' CreateSlotTypeVersionResponse (Prelude.Maybe Prelude.UTCTime)
createSlotTypeVersionResponse_createdDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> CreateSlotTypeVersionResponse -> f CreateSlotTypeVersionResponse
createSlotTypeVersionResponse_createdDate = (CreateSlotTypeVersionResponse -> Maybe POSIX)
-> (CreateSlotTypeVersionResponse
-> Maybe POSIX -> CreateSlotTypeVersionResponse)
-> Lens
CreateSlotTypeVersionResponse
CreateSlotTypeVersionResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersionResponse' {Maybe POSIX
createdDate :: Maybe POSIX
$sel:createdDate:CreateSlotTypeVersionResponse' :: CreateSlotTypeVersionResponse -> Maybe POSIX
createdDate} -> Maybe POSIX
createdDate) (\s :: CreateSlotTypeVersionResponse
s@CreateSlotTypeVersionResponse' {} Maybe POSIX
a -> CreateSlotTypeVersionResponse
s {$sel:createdDate:CreateSlotTypeVersionResponse' :: Maybe POSIX
createdDate = Maybe POSIX
a} :: CreateSlotTypeVersionResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> CreateSlotTypeVersionResponse
-> f CreateSlotTypeVersionResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> CreateSlotTypeVersionResponse
-> f CreateSlotTypeVersionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
createSlotTypeVersionResponse_name :: Lens.Lens' CreateSlotTypeVersionResponse (Prelude.Maybe Prelude.Text)
createSlotTypeVersionResponse_name :: (Maybe Text -> f (Maybe Text))
-> CreateSlotTypeVersionResponse -> f CreateSlotTypeVersionResponse
createSlotTypeVersionResponse_name = (CreateSlotTypeVersionResponse -> Maybe Text)
-> (CreateSlotTypeVersionResponse
-> Maybe Text -> CreateSlotTypeVersionResponse)
-> Lens
CreateSlotTypeVersionResponse
CreateSlotTypeVersionResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersionResponse' {Maybe Text
name :: Maybe Text
$sel:name:CreateSlotTypeVersionResponse' :: CreateSlotTypeVersionResponse -> Maybe Text
name} -> Maybe Text
name) (\s :: CreateSlotTypeVersionResponse
s@CreateSlotTypeVersionResponse' {} Maybe Text
a -> CreateSlotTypeVersionResponse
s {$sel:name:CreateSlotTypeVersionResponse' :: Maybe Text
name = Maybe Text
a} :: CreateSlotTypeVersionResponse)
createSlotTypeVersionResponse_version :: Lens.Lens' CreateSlotTypeVersionResponse (Prelude.Maybe Prelude.Text)
createSlotTypeVersionResponse_version :: (Maybe Text -> f (Maybe Text))
-> CreateSlotTypeVersionResponse -> f CreateSlotTypeVersionResponse
createSlotTypeVersionResponse_version = (CreateSlotTypeVersionResponse -> Maybe Text)
-> (CreateSlotTypeVersionResponse
-> Maybe Text -> CreateSlotTypeVersionResponse)
-> Lens
CreateSlotTypeVersionResponse
CreateSlotTypeVersionResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersionResponse' {Maybe Text
version :: Maybe Text
$sel:version:CreateSlotTypeVersionResponse' :: CreateSlotTypeVersionResponse -> Maybe Text
version} -> Maybe Text
version) (\s :: CreateSlotTypeVersionResponse
s@CreateSlotTypeVersionResponse' {} Maybe Text
a -> CreateSlotTypeVersionResponse
s {$sel:version:CreateSlotTypeVersionResponse' :: Maybe Text
version = Maybe Text
a} :: CreateSlotTypeVersionResponse)
createSlotTypeVersionResponse_lastUpdatedDate :: Lens.Lens' CreateSlotTypeVersionResponse (Prelude.Maybe Prelude.UTCTime)
createSlotTypeVersionResponse_lastUpdatedDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> CreateSlotTypeVersionResponse -> f CreateSlotTypeVersionResponse
createSlotTypeVersionResponse_lastUpdatedDate = (CreateSlotTypeVersionResponse -> Maybe POSIX)
-> (CreateSlotTypeVersionResponse
-> Maybe POSIX -> CreateSlotTypeVersionResponse)
-> Lens
CreateSlotTypeVersionResponse
CreateSlotTypeVersionResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersionResponse' {Maybe POSIX
lastUpdatedDate :: Maybe POSIX
$sel:lastUpdatedDate:CreateSlotTypeVersionResponse' :: CreateSlotTypeVersionResponse -> Maybe POSIX
lastUpdatedDate} -> Maybe POSIX
lastUpdatedDate) (\s :: CreateSlotTypeVersionResponse
s@CreateSlotTypeVersionResponse' {} Maybe POSIX
a -> CreateSlotTypeVersionResponse
s {$sel:lastUpdatedDate:CreateSlotTypeVersionResponse' :: Maybe POSIX
lastUpdatedDate = Maybe POSIX
a} :: CreateSlotTypeVersionResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> CreateSlotTypeVersionResponse
-> f CreateSlotTypeVersionResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> CreateSlotTypeVersionResponse
-> f CreateSlotTypeVersionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
createSlotTypeVersionResponse_description :: Lens.Lens' CreateSlotTypeVersionResponse (Prelude.Maybe Prelude.Text)
createSlotTypeVersionResponse_description :: (Maybe Text -> f (Maybe Text))
-> CreateSlotTypeVersionResponse -> f CreateSlotTypeVersionResponse
createSlotTypeVersionResponse_description = (CreateSlotTypeVersionResponse -> Maybe Text)
-> (CreateSlotTypeVersionResponse
-> Maybe Text -> CreateSlotTypeVersionResponse)
-> Lens
CreateSlotTypeVersionResponse
CreateSlotTypeVersionResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersionResponse' {Maybe Text
description :: Maybe Text
$sel:description:CreateSlotTypeVersionResponse' :: CreateSlotTypeVersionResponse -> Maybe Text
description} -> Maybe Text
description) (\s :: CreateSlotTypeVersionResponse
s@CreateSlotTypeVersionResponse' {} Maybe Text
a -> CreateSlotTypeVersionResponse
s {$sel:description:CreateSlotTypeVersionResponse' :: Maybe Text
description = Maybe Text
a} :: CreateSlotTypeVersionResponse)
createSlotTypeVersionResponse_enumerationValues :: Lens.Lens' CreateSlotTypeVersionResponse (Prelude.Maybe [EnumerationValue])
createSlotTypeVersionResponse_enumerationValues :: (Maybe [EnumerationValue] -> f (Maybe [EnumerationValue]))
-> CreateSlotTypeVersionResponse -> f CreateSlotTypeVersionResponse
createSlotTypeVersionResponse_enumerationValues = (CreateSlotTypeVersionResponse -> Maybe [EnumerationValue])
-> (CreateSlotTypeVersionResponse
-> Maybe [EnumerationValue] -> CreateSlotTypeVersionResponse)
-> Lens
CreateSlotTypeVersionResponse
CreateSlotTypeVersionResponse
(Maybe [EnumerationValue])
(Maybe [EnumerationValue])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersionResponse' {Maybe [EnumerationValue]
enumerationValues :: Maybe [EnumerationValue]
$sel:enumerationValues:CreateSlotTypeVersionResponse' :: CreateSlotTypeVersionResponse -> Maybe [EnumerationValue]
enumerationValues} -> Maybe [EnumerationValue]
enumerationValues) (\s :: CreateSlotTypeVersionResponse
s@CreateSlotTypeVersionResponse' {} Maybe [EnumerationValue]
a -> CreateSlotTypeVersionResponse
s {$sel:enumerationValues:CreateSlotTypeVersionResponse' :: Maybe [EnumerationValue]
enumerationValues = Maybe [EnumerationValue]
a} :: CreateSlotTypeVersionResponse) ((Maybe [EnumerationValue] -> f (Maybe [EnumerationValue]))
-> CreateSlotTypeVersionResponse
-> f CreateSlotTypeVersionResponse)
-> ((Maybe [EnumerationValue] -> f (Maybe [EnumerationValue]))
-> Maybe [EnumerationValue] -> f (Maybe [EnumerationValue]))
-> (Maybe [EnumerationValue] -> f (Maybe [EnumerationValue]))
-> CreateSlotTypeVersionResponse
-> f CreateSlotTypeVersionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[EnumerationValue]
[EnumerationValue]
[EnumerationValue]
[EnumerationValue]
-> Iso
(Maybe [EnumerationValue])
(Maybe [EnumerationValue])
(Maybe [EnumerationValue])
(Maybe [EnumerationValue])
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
[EnumerationValue]
[EnumerationValue]
[EnumerationValue]
[EnumerationValue]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createSlotTypeVersionResponse_httpStatus :: Lens.Lens' CreateSlotTypeVersionResponse Prelude.Int
createSlotTypeVersionResponse_httpStatus :: (Int -> f Int)
-> CreateSlotTypeVersionResponse -> f CreateSlotTypeVersionResponse
createSlotTypeVersionResponse_httpStatus = (CreateSlotTypeVersionResponse -> Int)
-> (CreateSlotTypeVersionResponse
-> Int -> CreateSlotTypeVersionResponse)
-> Lens
CreateSlotTypeVersionResponse CreateSlotTypeVersionResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateSlotTypeVersionResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateSlotTypeVersionResponse' :: CreateSlotTypeVersionResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: CreateSlotTypeVersionResponse
s@CreateSlotTypeVersionResponse' {} Int
a -> CreateSlotTypeVersionResponse
s {$sel:httpStatus:CreateSlotTypeVersionResponse' :: Int
httpStatus = Int
a} :: CreateSlotTypeVersionResponse)
instance Prelude.NFData CreateSlotTypeVersionResponse