{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.DMS.Types.PostgreSQLSettings where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import Amazonka.DMS.Types.PluginNameValue
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
data PostgreSQLSettings = PostgreSQLSettings'
{
PostgreSQLSettings -> Maybe Text
afterConnectScript :: Prelude.Maybe Prelude.Text,
PostgreSQLSettings -> Maybe Bool
captureDdls :: Prelude.Maybe Prelude.Bool,
PostgreSQLSettings -> Maybe Text
databaseName :: Prelude.Maybe Prelude.Text,
PostgreSQLSettings -> Maybe Text
ddlArtifactsSchema :: Prelude.Maybe Prelude.Text,
PostgreSQLSettings -> Maybe Int
executeTimeout :: Prelude.Maybe Prelude.Int,
PostgreSQLSettings -> Maybe Bool
failTasksOnLobTruncation :: Prelude.Maybe Prelude.Bool,
PostgreSQLSettings -> Maybe Bool
heartbeatEnable :: Prelude.Maybe Prelude.Bool,
PostgreSQLSettings -> Maybe Int
heartbeatFrequency :: Prelude.Maybe Prelude.Int,
PostgreSQLSettings -> Maybe Text
heartbeatSchema :: Prelude.Maybe Prelude.Text,
PostgreSQLSettings -> Maybe Int
maxFileSize :: Prelude.Maybe Prelude.Int,
PostgreSQLSettings -> Maybe (Sensitive Text)
password :: Prelude.Maybe (Data.Sensitive Prelude.Text),
PostgreSQLSettings -> Maybe PluginNameValue
pluginName :: Prelude.Maybe PluginNameValue,
PostgreSQLSettings -> Maybe Int
port :: Prelude.Maybe Prelude.Int,
PostgreSQLSettings -> Maybe Text
secretsManagerAccessRoleArn :: Prelude.Maybe Prelude.Text,
PostgreSQLSettings -> Maybe Text
secretsManagerSecretId :: Prelude.Maybe Prelude.Text,
PostgreSQLSettings -> Maybe Text
serverName :: Prelude.Maybe Prelude.Text,
PostgreSQLSettings -> Maybe Text
slotName :: Prelude.Maybe Prelude.Text,
PostgreSQLSettings -> Maybe Bool
trimSpaceInChar :: Prelude.Maybe Prelude.Bool,
PostgreSQLSettings -> Maybe Text
username :: Prelude.Maybe Prelude.Text
}
deriving (PostgreSQLSettings -> PostgreSQLSettings -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PostgreSQLSettings -> PostgreSQLSettings -> Bool
$c/= :: PostgreSQLSettings -> PostgreSQLSettings -> Bool
== :: PostgreSQLSettings -> PostgreSQLSettings -> Bool
$c== :: PostgreSQLSettings -> PostgreSQLSettings -> Bool
Prelude.Eq, Int -> PostgreSQLSettings -> ShowS
[PostgreSQLSettings] -> ShowS
PostgreSQLSettings -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PostgreSQLSettings] -> ShowS
$cshowList :: [PostgreSQLSettings] -> ShowS
show :: PostgreSQLSettings -> String
$cshow :: PostgreSQLSettings -> String
showsPrec :: Int -> PostgreSQLSettings -> ShowS
$cshowsPrec :: Int -> PostgreSQLSettings -> ShowS
Prelude.Show, forall x. Rep PostgreSQLSettings x -> PostgreSQLSettings
forall x. PostgreSQLSettings -> Rep PostgreSQLSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PostgreSQLSettings x -> PostgreSQLSettings
$cfrom :: forall x. PostgreSQLSettings -> Rep PostgreSQLSettings x
Prelude.Generic)
newPostgreSQLSettings ::
PostgreSQLSettings
newPostgreSQLSettings :: PostgreSQLSettings
newPostgreSQLSettings =
PostgreSQLSettings'
{ $sel:afterConnectScript:PostgreSQLSettings' :: Maybe Text
afterConnectScript =
forall a. Maybe a
Prelude.Nothing,
$sel:captureDdls:PostgreSQLSettings' :: Maybe Bool
captureDdls = forall a. Maybe a
Prelude.Nothing,
$sel:databaseName:PostgreSQLSettings' :: Maybe Text
databaseName = forall a. Maybe a
Prelude.Nothing,
$sel:ddlArtifactsSchema:PostgreSQLSettings' :: Maybe Text
ddlArtifactsSchema = forall a. Maybe a
Prelude.Nothing,
$sel:executeTimeout:PostgreSQLSettings' :: Maybe Int
executeTimeout = forall a. Maybe a
Prelude.Nothing,
$sel:failTasksOnLobTruncation:PostgreSQLSettings' :: Maybe Bool
failTasksOnLobTruncation = forall a. Maybe a
Prelude.Nothing,
$sel:heartbeatEnable:PostgreSQLSettings' :: Maybe Bool
heartbeatEnable = forall a. Maybe a
Prelude.Nothing,
$sel:heartbeatFrequency:PostgreSQLSettings' :: Maybe Int
heartbeatFrequency = forall a. Maybe a
Prelude.Nothing,
$sel:heartbeatSchema:PostgreSQLSettings' :: Maybe Text
heartbeatSchema = forall a. Maybe a
Prelude.Nothing,
$sel:maxFileSize:PostgreSQLSettings' :: Maybe Int
maxFileSize = forall a. Maybe a
Prelude.Nothing,
$sel:password:PostgreSQLSettings' :: Maybe (Sensitive Text)
password = forall a. Maybe a
Prelude.Nothing,
$sel:pluginName:PostgreSQLSettings' :: Maybe PluginNameValue
pluginName = forall a. Maybe a
Prelude.Nothing,
$sel:port:PostgreSQLSettings' :: Maybe Int
port = forall a. Maybe a
Prelude.Nothing,
$sel:secretsManagerAccessRoleArn:PostgreSQLSettings' :: Maybe Text
secretsManagerAccessRoleArn = forall a. Maybe a
Prelude.Nothing,
$sel:secretsManagerSecretId:PostgreSQLSettings' :: Maybe Text
secretsManagerSecretId = forall a. Maybe a
Prelude.Nothing,
$sel:serverName:PostgreSQLSettings' :: Maybe Text
serverName = forall a. Maybe a
Prelude.Nothing,
$sel:slotName:PostgreSQLSettings' :: Maybe Text
slotName = forall a. Maybe a
Prelude.Nothing,
$sel:trimSpaceInChar:PostgreSQLSettings' :: Maybe Bool
trimSpaceInChar = forall a. Maybe a
Prelude.Nothing,
$sel:username:PostgreSQLSettings' :: Maybe Text
username = forall a. Maybe a
Prelude.Nothing
}
postgreSQLSettings_afterConnectScript :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Text)
postgreSQLSettings_afterConnectScript :: Lens' PostgreSQLSettings (Maybe Text)
postgreSQLSettings_afterConnectScript = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Text
afterConnectScript :: Maybe Text
$sel:afterConnectScript:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
afterConnectScript} -> Maybe Text
afterConnectScript) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Text
a -> PostgreSQLSettings
s {$sel:afterConnectScript:PostgreSQLSettings' :: Maybe Text
afterConnectScript = Maybe Text
a} :: PostgreSQLSettings)
postgreSQLSettings_captureDdls :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Bool)
postgreSQLSettings_captureDdls :: Lens' PostgreSQLSettings (Maybe Bool)
postgreSQLSettings_captureDdls = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Bool
captureDdls :: Maybe Bool
$sel:captureDdls:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
captureDdls} -> Maybe Bool
captureDdls) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Bool
a -> PostgreSQLSettings
s {$sel:captureDdls:PostgreSQLSettings' :: Maybe Bool
captureDdls = Maybe Bool
a} :: PostgreSQLSettings)
postgreSQLSettings_databaseName :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Text)
postgreSQLSettings_databaseName :: Lens' PostgreSQLSettings (Maybe Text)
postgreSQLSettings_databaseName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Text
databaseName :: Maybe Text
$sel:databaseName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
databaseName} -> Maybe Text
databaseName) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Text
a -> PostgreSQLSettings
s {$sel:databaseName:PostgreSQLSettings' :: Maybe Text
databaseName = Maybe Text
a} :: PostgreSQLSettings)
postgreSQLSettings_ddlArtifactsSchema :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Text)
postgreSQLSettings_ddlArtifactsSchema :: Lens' PostgreSQLSettings (Maybe Text)
postgreSQLSettings_ddlArtifactsSchema = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Text
ddlArtifactsSchema :: Maybe Text
$sel:ddlArtifactsSchema:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
ddlArtifactsSchema} -> Maybe Text
ddlArtifactsSchema) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Text
a -> PostgreSQLSettings
s {$sel:ddlArtifactsSchema:PostgreSQLSettings' :: Maybe Text
ddlArtifactsSchema = Maybe Text
a} :: PostgreSQLSettings)
postgreSQLSettings_executeTimeout :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Int)
postgreSQLSettings_executeTimeout :: Lens' PostgreSQLSettings (Maybe Int)
postgreSQLSettings_executeTimeout = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Int
executeTimeout :: Maybe Int
$sel:executeTimeout:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
executeTimeout} -> Maybe Int
executeTimeout) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Int
a -> PostgreSQLSettings
s {$sel:executeTimeout:PostgreSQLSettings' :: Maybe Int
executeTimeout = Maybe Int
a} :: PostgreSQLSettings)
postgreSQLSettings_failTasksOnLobTruncation :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Bool)
postgreSQLSettings_failTasksOnLobTruncation :: Lens' PostgreSQLSettings (Maybe Bool)
postgreSQLSettings_failTasksOnLobTruncation = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Bool
failTasksOnLobTruncation :: Maybe Bool
$sel:failTasksOnLobTruncation:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
failTasksOnLobTruncation} -> Maybe Bool
failTasksOnLobTruncation) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Bool
a -> PostgreSQLSettings
s {$sel:failTasksOnLobTruncation:PostgreSQLSettings' :: Maybe Bool
failTasksOnLobTruncation = Maybe Bool
a} :: PostgreSQLSettings)
postgreSQLSettings_heartbeatEnable :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Bool)
postgreSQLSettings_heartbeatEnable :: Lens' PostgreSQLSettings (Maybe Bool)
postgreSQLSettings_heartbeatEnable = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Bool
heartbeatEnable :: Maybe Bool
$sel:heartbeatEnable:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
heartbeatEnable} -> Maybe Bool
heartbeatEnable) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Bool
a -> PostgreSQLSettings
s {$sel:heartbeatEnable:PostgreSQLSettings' :: Maybe Bool
heartbeatEnable = Maybe Bool
a} :: PostgreSQLSettings)
postgreSQLSettings_heartbeatFrequency :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Int)
postgreSQLSettings_heartbeatFrequency :: Lens' PostgreSQLSettings (Maybe Int)
postgreSQLSettings_heartbeatFrequency = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Int
heartbeatFrequency :: Maybe Int
$sel:heartbeatFrequency:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
heartbeatFrequency} -> Maybe Int
heartbeatFrequency) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Int
a -> PostgreSQLSettings
s {$sel:heartbeatFrequency:PostgreSQLSettings' :: Maybe Int
heartbeatFrequency = Maybe Int
a} :: PostgreSQLSettings)
postgreSQLSettings_heartbeatSchema :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Text)
postgreSQLSettings_heartbeatSchema :: Lens' PostgreSQLSettings (Maybe Text)
postgreSQLSettings_heartbeatSchema = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Text
heartbeatSchema :: Maybe Text
$sel:heartbeatSchema:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
heartbeatSchema} -> Maybe Text
heartbeatSchema) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Text
a -> PostgreSQLSettings
s {$sel:heartbeatSchema:PostgreSQLSettings' :: Maybe Text
heartbeatSchema = Maybe Text
a} :: PostgreSQLSettings)
postgreSQLSettings_maxFileSize :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Int)
postgreSQLSettings_maxFileSize :: Lens' PostgreSQLSettings (Maybe Int)
postgreSQLSettings_maxFileSize = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Int
maxFileSize :: Maybe Int
$sel:maxFileSize:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
maxFileSize} -> Maybe Int
maxFileSize) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Int
a -> PostgreSQLSettings
s {$sel:maxFileSize:PostgreSQLSettings' :: Maybe Int
maxFileSize = Maybe Int
a} :: PostgreSQLSettings)
postgreSQLSettings_password :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Text)
postgreSQLSettings_password :: Lens' PostgreSQLSettings (Maybe Text)
postgreSQLSettings_password = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe (Sensitive Text)
password :: Maybe (Sensitive Text)
$sel:password:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe (Sensitive Text)
password} -> Maybe (Sensitive Text)
password) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe (Sensitive Text)
a -> PostgreSQLSettings
s {$sel:password:PostgreSQLSettings' :: Maybe (Sensitive Text)
password = Maybe (Sensitive Text)
a} :: PostgreSQLSettings) 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. Iso' (Sensitive a) a
Data._Sensitive
postgreSQLSettings_pluginName :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe PluginNameValue)
postgreSQLSettings_pluginName :: Lens' PostgreSQLSettings (Maybe PluginNameValue)
postgreSQLSettings_pluginName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe PluginNameValue
pluginName :: Maybe PluginNameValue
$sel:pluginName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe PluginNameValue
pluginName} -> Maybe PluginNameValue
pluginName) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe PluginNameValue
a -> PostgreSQLSettings
s {$sel:pluginName:PostgreSQLSettings' :: Maybe PluginNameValue
pluginName = Maybe PluginNameValue
a} :: PostgreSQLSettings)
postgreSQLSettings_port :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Int)
postgreSQLSettings_port :: Lens' PostgreSQLSettings (Maybe Int)
postgreSQLSettings_port = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Int
port :: Maybe Int
$sel:port:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
port} -> Maybe Int
port) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Int
a -> PostgreSQLSettings
s {$sel:port:PostgreSQLSettings' :: Maybe Int
port = Maybe Int
a} :: PostgreSQLSettings)
postgreSQLSettings_secretsManagerAccessRoleArn :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Text)
postgreSQLSettings_secretsManagerAccessRoleArn :: Lens' PostgreSQLSettings (Maybe Text)
postgreSQLSettings_secretsManagerAccessRoleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Text
secretsManagerAccessRoleArn :: Maybe Text
$sel:secretsManagerAccessRoleArn:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
secretsManagerAccessRoleArn} -> Maybe Text
secretsManagerAccessRoleArn) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Text
a -> PostgreSQLSettings
s {$sel:secretsManagerAccessRoleArn:PostgreSQLSettings' :: Maybe Text
secretsManagerAccessRoleArn = Maybe Text
a} :: PostgreSQLSettings)
postgreSQLSettings_secretsManagerSecretId :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Text)
postgreSQLSettings_secretsManagerSecretId :: Lens' PostgreSQLSettings (Maybe Text)
postgreSQLSettings_secretsManagerSecretId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Text
secretsManagerSecretId :: Maybe Text
$sel:secretsManagerSecretId:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
secretsManagerSecretId} -> Maybe Text
secretsManagerSecretId) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Text
a -> PostgreSQLSettings
s {$sel:secretsManagerSecretId:PostgreSQLSettings' :: Maybe Text
secretsManagerSecretId = Maybe Text
a} :: PostgreSQLSettings)
postgreSQLSettings_serverName :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Text)
postgreSQLSettings_serverName :: Lens' PostgreSQLSettings (Maybe Text)
postgreSQLSettings_serverName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Text
serverName :: Maybe Text
$sel:serverName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
serverName} -> Maybe Text
serverName) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Text
a -> PostgreSQLSettings
s {$sel:serverName:PostgreSQLSettings' :: Maybe Text
serverName = Maybe Text
a} :: PostgreSQLSettings)
postgreSQLSettings_slotName :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Text)
postgreSQLSettings_slotName :: Lens' PostgreSQLSettings (Maybe Text)
postgreSQLSettings_slotName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Text
slotName :: Maybe Text
$sel:slotName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
slotName} -> Maybe Text
slotName) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Text
a -> PostgreSQLSettings
s {$sel:slotName:PostgreSQLSettings' :: Maybe Text
slotName = Maybe Text
a} :: PostgreSQLSettings)
postgreSQLSettings_trimSpaceInChar :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Bool)
postgreSQLSettings_trimSpaceInChar :: Lens' PostgreSQLSettings (Maybe Bool)
postgreSQLSettings_trimSpaceInChar = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Bool
trimSpaceInChar :: Maybe Bool
$sel:trimSpaceInChar:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
trimSpaceInChar} -> Maybe Bool
trimSpaceInChar) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Bool
a -> PostgreSQLSettings
s {$sel:trimSpaceInChar:PostgreSQLSettings' :: Maybe Bool
trimSpaceInChar = Maybe Bool
a} :: PostgreSQLSettings)
postgreSQLSettings_username :: Lens.Lens' PostgreSQLSettings (Prelude.Maybe Prelude.Text)
postgreSQLSettings_username :: Lens' PostgreSQLSettings (Maybe Text)
postgreSQLSettings_username = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PostgreSQLSettings' {Maybe Text
username :: Maybe Text
$sel:username:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
username} -> Maybe Text
username) (\s :: PostgreSQLSettings
s@PostgreSQLSettings' {} Maybe Text
a -> PostgreSQLSettings
s {$sel:username:PostgreSQLSettings' :: Maybe Text
username = Maybe Text
a} :: PostgreSQLSettings)
instance Data.FromJSON PostgreSQLSettings where
parseJSON :: Value -> Parser PostgreSQLSettings
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"PostgreSQLSettings"
( \Object
x ->
Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Bool
-> Maybe Bool
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe (Sensitive Text)
-> Maybe PluginNameValue
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> PostgreSQLSettings
PostgreSQLSettings'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"AfterConnectScript")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CaptureDdls")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"DatabaseName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"DdlArtifactsSchema")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ExecuteTimeout")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"FailTasksOnLobTruncation")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"HeartbeatEnable")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"HeartbeatFrequency")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"HeartbeatSchema")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"MaxFileSize")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Password")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"PluginName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Port")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"SecretsManagerAccessRoleArn")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"SecretsManagerSecretId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ServerName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"SlotName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"TrimSpaceInChar")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Username")
)
instance Prelude.Hashable PostgreSQLSettings where
hashWithSalt :: Int -> PostgreSQLSettings -> Int
hashWithSalt Int
_salt PostgreSQLSettings' {Maybe Bool
Maybe Int
Maybe Text
Maybe (Sensitive Text)
Maybe PluginNameValue
username :: Maybe Text
trimSpaceInChar :: Maybe Bool
slotName :: Maybe Text
serverName :: Maybe Text
secretsManagerSecretId :: Maybe Text
secretsManagerAccessRoleArn :: Maybe Text
port :: Maybe Int
pluginName :: Maybe PluginNameValue
password :: Maybe (Sensitive Text)
maxFileSize :: Maybe Int
heartbeatSchema :: Maybe Text
heartbeatFrequency :: Maybe Int
heartbeatEnable :: Maybe Bool
failTasksOnLobTruncation :: Maybe Bool
executeTimeout :: Maybe Int
ddlArtifactsSchema :: Maybe Text
databaseName :: Maybe Text
captureDdls :: Maybe Bool
afterConnectScript :: Maybe Text
$sel:username:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:trimSpaceInChar:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
$sel:slotName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:serverName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:secretsManagerSecretId:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:secretsManagerAccessRoleArn:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:port:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
$sel:pluginName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe PluginNameValue
$sel:password:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe (Sensitive Text)
$sel:maxFileSize:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
$sel:heartbeatSchema:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:heartbeatFrequency:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
$sel:heartbeatEnable:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
$sel:failTasksOnLobTruncation:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
$sel:executeTimeout:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
$sel:ddlArtifactsSchema:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:databaseName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:captureDdls:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
$sel:afterConnectScript:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
afterConnectScript
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
captureDdls
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
databaseName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
ddlArtifactsSchema
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
executeTimeout
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
failTasksOnLobTruncation
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
heartbeatEnable
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
heartbeatFrequency
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
heartbeatSchema
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
maxFileSize
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (Sensitive Text)
password
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe PluginNameValue
pluginName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
port
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
secretsManagerAccessRoleArn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
secretsManagerSecretId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
serverName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
slotName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
trimSpaceInChar
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
username
instance Prelude.NFData PostgreSQLSettings where
rnf :: PostgreSQLSettings -> ()
rnf PostgreSQLSettings' {Maybe Bool
Maybe Int
Maybe Text
Maybe (Sensitive Text)
Maybe PluginNameValue
username :: Maybe Text
trimSpaceInChar :: Maybe Bool
slotName :: Maybe Text
serverName :: Maybe Text
secretsManagerSecretId :: Maybe Text
secretsManagerAccessRoleArn :: Maybe Text
port :: Maybe Int
pluginName :: Maybe PluginNameValue
password :: Maybe (Sensitive Text)
maxFileSize :: Maybe Int
heartbeatSchema :: Maybe Text
heartbeatFrequency :: Maybe Int
heartbeatEnable :: Maybe Bool
failTasksOnLobTruncation :: Maybe Bool
executeTimeout :: Maybe Int
ddlArtifactsSchema :: Maybe Text
databaseName :: Maybe Text
captureDdls :: Maybe Bool
afterConnectScript :: Maybe Text
$sel:username:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:trimSpaceInChar:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
$sel:slotName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:serverName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:secretsManagerSecretId:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:secretsManagerAccessRoleArn:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:port:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
$sel:pluginName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe PluginNameValue
$sel:password:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe (Sensitive Text)
$sel:maxFileSize:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
$sel:heartbeatSchema:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:heartbeatFrequency:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
$sel:heartbeatEnable:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
$sel:failTasksOnLobTruncation:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
$sel:executeTimeout:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
$sel:ddlArtifactsSchema:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:databaseName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:captureDdls:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
$sel:afterConnectScript:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
afterConnectScript
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
captureDdls
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
databaseName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
ddlArtifactsSchema
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
executeTimeout
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
failTasksOnLobTruncation
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
heartbeatEnable
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
heartbeatFrequency
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
heartbeatSchema
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
maxFileSize
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (Sensitive Text)
password
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe PluginNameValue
pluginName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
port
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
secretsManagerAccessRoleArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
secretsManagerSecretId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
serverName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
slotName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
trimSpaceInChar
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
username
instance Data.ToJSON PostgreSQLSettings where
toJSON :: PostgreSQLSettings -> Value
toJSON PostgreSQLSettings' {Maybe Bool
Maybe Int
Maybe Text
Maybe (Sensitive Text)
Maybe PluginNameValue
username :: Maybe Text
trimSpaceInChar :: Maybe Bool
slotName :: Maybe Text
serverName :: Maybe Text
secretsManagerSecretId :: Maybe Text
secretsManagerAccessRoleArn :: Maybe Text
port :: Maybe Int
pluginName :: Maybe PluginNameValue
password :: Maybe (Sensitive Text)
maxFileSize :: Maybe Int
heartbeatSchema :: Maybe Text
heartbeatFrequency :: Maybe Int
heartbeatEnable :: Maybe Bool
failTasksOnLobTruncation :: Maybe Bool
executeTimeout :: Maybe Int
ddlArtifactsSchema :: Maybe Text
databaseName :: Maybe Text
captureDdls :: Maybe Bool
afterConnectScript :: Maybe Text
$sel:username:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:trimSpaceInChar:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
$sel:slotName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:serverName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:secretsManagerSecretId:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:secretsManagerAccessRoleArn:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:port:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
$sel:pluginName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe PluginNameValue
$sel:password:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe (Sensitive Text)
$sel:maxFileSize:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
$sel:heartbeatSchema:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:heartbeatFrequency:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
$sel:heartbeatEnable:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
$sel:failTasksOnLobTruncation:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
$sel:executeTimeout:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Int
$sel:ddlArtifactsSchema:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:databaseName:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
$sel:captureDdls:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Bool
$sel:afterConnectScript:PostgreSQLSettings' :: PostgreSQLSettings -> Maybe Text
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"AfterConnectScript" 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
afterConnectScript,
(Key
"CaptureDdls" 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 Bool
captureDdls,
(Key
"DatabaseName" 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
databaseName,
(Key
"DdlArtifactsSchema" 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
ddlArtifactsSchema,
(Key
"ExecuteTimeout" 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 Int
executeTimeout,
(Key
"FailTasksOnLobTruncation" 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 Bool
failTasksOnLobTruncation,
(Key
"HeartbeatEnable" 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 Bool
heartbeatEnable,
(Key
"HeartbeatFrequency" 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 Int
heartbeatFrequency,
(Key
"HeartbeatSchema" 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
heartbeatSchema,
(Key
"MaxFileSize" 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 Int
maxFileSize,
(Key
"Password" 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 (Sensitive Text)
password,
(Key
"PluginName" 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 PluginNameValue
pluginName,
(Key
"Port" 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 Int
port,
(Key
"SecretsManagerAccessRoleArn" 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
secretsManagerAccessRoleArn,
(Key
"SecretsManagerSecretId" 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
secretsManagerSecretId,
(Key
"ServerName" 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
serverName,
(Key
"SlotName" 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
slotName,
(Key
"TrimSpaceInChar" 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 Bool
trimSpaceInChar,
(Key
"Username" 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
username
]
)