module Stratosphere.AppFlow.Flow.CustomConnectorDestinationPropertiesProperty (
        module Exports, CustomConnectorDestinationPropertiesProperty(..),
        mkCustomConnectorDestinationPropertiesProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.AppFlow.Flow.ErrorHandlingConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data CustomConnectorDestinationPropertiesProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-customconnectordestinationproperties.html>
    CustomConnectorDestinationPropertiesProperty {CustomConnectorDestinationPropertiesProperty -> ()
haddock_workaround_ :: (),
                                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-customconnectordestinationproperties.html#cfn-appflow-flow-customconnectordestinationproperties-customproperties>
                                                  CustomConnectorDestinationPropertiesProperty
-> Maybe (Map Text (Value Text))
customProperties :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
                                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-customconnectordestinationproperties.html#cfn-appflow-flow-customconnectordestinationproperties-entityname>
                                                  CustomConnectorDestinationPropertiesProperty -> Value Text
entityName :: (Value Prelude.Text),
                                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-customconnectordestinationproperties.html#cfn-appflow-flow-customconnectordestinationproperties-errorhandlingconfig>
                                                  CustomConnectorDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
errorHandlingConfig :: (Prelude.Maybe ErrorHandlingConfigProperty),
                                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-customconnectordestinationproperties.html#cfn-appflow-flow-customconnectordestinationproperties-idfieldnames>
                                                  CustomConnectorDestinationPropertiesProperty
-> Maybe (ValueList Text)
idFieldNames :: (Prelude.Maybe (ValueList Prelude.Text)),
                                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-customconnectordestinationproperties.html#cfn-appflow-flow-customconnectordestinationproperties-writeoperationtype>
                                                  CustomConnectorDestinationPropertiesProperty -> Maybe (Value Text)
writeOperationType :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty -> Bool
(CustomConnectorDestinationPropertiesProperty
 -> CustomConnectorDestinationPropertiesProperty -> Bool)
-> (CustomConnectorDestinationPropertiesProperty
    -> CustomConnectorDestinationPropertiesProperty -> Bool)
-> Eq CustomConnectorDestinationPropertiesProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty -> Bool
== :: CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty -> Bool
$c/= :: CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty -> Bool
/= :: CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty -> Bool
Prelude.Eq, Int -> CustomConnectorDestinationPropertiesProperty -> ShowS
[CustomConnectorDestinationPropertiesProperty] -> ShowS
CustomConnectorDestinationPropertiesProperty -> String
(Int -> CustomConnectorDestinationPropertiesProperty -> ShowS)
-> (CustomConnectorDestinationPropertiesProperty -> String)
-> ([CustomConnectorDestinationPropertiesProperty] -> ShowS)
-> Show CustomConnectorDestinationPropertiesProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> CustomConnectorDestinationPropertiesProperty -> ShowS
showsPrec :: Int -> CustomConnectorDestinationPropertiesProperty -> ShowS
$cshow :: CustomConnectorDestinationPropertiesProperty -> String
show :: CustomConnectorDestinationPropertiesProperty -> String
$cshowList :: [CustomConnectorDestinationPropertiesProperty] -> ShowS
showList :: [CustomConnectorDestinationPropertiesProperty] -> ShowS
Prelude.Show)
mkCustomConnectorDestinationPropertiesProperty ::
  Value Prelude.Text -> CustomConnectorDestinationPropertiesProperty
mkCustomConnectorDestinationPropertiesProperty :: Value Text -> CustomConnectorDestinationPropertiesProperty
mkCustomConnectorDestinationPropertiesProperty Value Text
entityName
  = CustomConnectorDestinationPropertiesProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), entityName :: Value Text
entityName = Value Text
entityName,
       customProperties :: Maybe (Map Text (Value Text))
customProperties = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing,
       errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
errorHandlingConfig = Maybe ErrorHandlingConfigProperty
forall a. Maybe a
Prelude.Nothing,
       idFieldNames :: Maybe (ValueList Text)
idFieldNames = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       writeOperationType :: Maybe (Value Text)
writeOperationType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties CustomConnectorDestinationPropertiesProperty where
  toResourceProperties :: CustomConnectorDestinationPropertiesProperty -> ResourceProperties
toResourceProperties
    CustomConnectorDestinationPropertiesProperty {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
()
Value Text
haddock_workaround_ :: CustomConnectorDestinationPropertiesProperty -> ()
customProperties :: CustomConnectorDestinationPropertiesProperty
-> Maybe (Map Text (Value Text))
entityName :: CustomConnectorDestinationPropertiesProperty -> Value Text
errorHandlingConfig :: CustomConnectorDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: CustomConnectorDestinationPropertiesProperty
-> Maybe (ValueList Text)
writeOperationType :: CustomConnectorDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AppFlow::Flow.CustomConnectorDestinationProperties",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"EntityName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
entityName]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Map Text (Value Text) -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomProperties" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
customProperties,
                               Key -> ErrorHandlingConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ErrorHandlingConfig" (ErrorHandlingConfigProperty -> (Key, Value))
-> Maybe ErrorHandlingConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ErrorHandlingConfigProperty
errorHandlingConfig,
                               Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IdFieldNames" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
idFieldNames,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"WriteOperationType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
writeOperationType]))}
instance JSON.ToJSON CustomConnectorDestinationPropertiesProperty where
  toJSON :: CustomConnectorDestinationPropertiesProperty -> Value
toJSON CustomConnectorDestinationPropertiesProperty {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
()
Value Text
haddock_workaround_ :: CustomConnectorDestinationPropertiesProperty -> ()
customProperties :: CustomConnectorDestinationPropertiesProperty
-> Maybe (Map Text (Value Text))
entityName :: CustomConnectorDestinationPropertiesProperty -> Value Text
errorHandlingConfig :: CustomConnectorDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: CustomConnectorDestinationPropertiesProperty
-> Maybe (ValueList Text)
writeOperationType :: CustomConnectorDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"EntityName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
entityName]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Map Text (Value Text) -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomProperties" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
customProperties,
                  Key -> ErrorHandlingConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ErrorHandlingConfig" (ErrorHandlingConfigProperty -> (Key, Value))
-> Maybe ErrorHandlingConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ErrorHandlingConfigProperty
errorHandlingConfig,
                  Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IdFieldNames" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
idFieldNames,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"WriteOperationType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
writeOperationType])))
instance Property "CustomProperties" CustomConnectorDestinationPropertiesProperty where
  type PropertyType "CustomProperties" CustomConnectorDestinationPropertiesProperty = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType
  "CustomProperties" CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty
set PropertyType
  "CustomProperties" CustomConnectorDestinationPropertiesProperty
newValue CustomConnectorDestinationPropertiesProperty {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
()
Value Text
haddock_workaround_ :: CustomConnectorDestinationPropertiesProperty -> ()
customProperties :: CustomConnectorDestinationPropertiesProperty
-> Maybe (Map Text (Value Text))
entityName :: CustomConnectorDestinationPropertiesProperty -> Value Text
errorHandlingConfig :: CustomConnectorDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: CustomConnectorDestinationPropertiesProperty
-> Maybe (ValueList Text)
writeOperationType :: CustomConnectorDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
..}
    = CustomConnectorDestinationPropertiesProperty
        {customProperties :: Maybe (Map Text (Value Text))
customProperties = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType
  "CustomProperties" CustomConnectorDestinationPropertiesProperty
newValue, Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
()
Value Text
haddock_workaround_ :: ()
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
haddock_workaround_ :: ()
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
..}
instance Property "EntityName" CustomConnectorDestinationPropertiesProperty where
  type PropertyType "EntityName" CustomConnectorDestinationPropertiesProperty = Value Prelude.Text
  set :: PropertyType
  "EntityName" CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty
set PropertyType
  "EntityName" CustomConnectorDestinationPropertiesProperty
newValue CustomConnectorDestinationPropertiesProperty {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
()
Value Text
haddock_workaround_ :: CustomConnectorDestinationPropertiesProperty -> ()
customProperties :: CustomConnectorDestinationPropertiesProperty
-> Maybe (Map Text (Value Text))
entityName :: CustomConnectorDestinationPropertiesProperty -> Value Text
errorHandlingConfig :: CustomConnectorDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: CustomConnectorDestinationPropertiesProperty
-> Maybe (ValueList Text)
writeOperationType :: CustomConnectorDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
..}
    = CustomConnectorDestinationPropertiesProperty
        {entityName :: Value Text
entityName = PropertyType
  "EntityName" CustomConnectorDestinationPropertiesProperty
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
()
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
..}
instance Property "ErrorHandlingConfig" CustomConnectorDestinationPropertiesProperty where
  type PropertyType "ErrorHandlingConfig" CustomConnectorDestinationPropertiesProperty = ErrorHandlingConfigProperty
  set :: PropertyType
  "ErrorHandlingConfig" CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty
set PropertyType
  "ErrorHandlingConfig" CustomConnectorDestinationPropertiesProperty
newValue CustomConnectorDestinationPropertiesProperty {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
()
Value Text
haddock_workaround_ :: CustomConnectorDestinationPropertiesProperty -> ()
customProperties :: CustomConnectorDestinationPropertiesProperty
-> Maybe (Map Text (Value Text))
entityName :: CustomConnectorDestinationPropertiesProperty -> Value Text
errorHandlingConfig :: CustomConnectorDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: CustomConnectorDestinationPropertiesProperty
-> Maybe (ValueList Text)
writeOperationType :: CustomConnectorDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
..}
    = CustomConnectorDestinationPropertiesProperty
        {errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
errorHandlingConfig = ErrorHandlingConfigProperty -> Maybe ErrorHandlingConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "ErrorHandlingConfig" CustomConnectorDestinationPropertiesProperty
ErrorHandlingConfigProperty
newValue, Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
..}
instance Property "IdFieldNames" CustomConnectorDestinationPropertiesProperty where
  type PropertyType "IdFieldNames" CustomConnectorDestinationPropertiesProperty = ValueList Prelude.Text
  set :: PropertyType
  "IdFieldNames" CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty
set PropertyType
  "IdFieldNames" CustomConnectorDestinationPropertiesProperty
newValue CustomConnectorDestinationPropertiesProperty {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
()
Value Text
haddock_workaround_ :: CustomConnectorDestinationPropertiesProperty -> ()
customProperties :: CustomConnectorDestinationPropertiesProperty
-> Maybe (Map Text (Value Text))
entityName :: CustomConnectorDestinationPropertiesProperty -> Value Text
errorHandlingConfig :: CustomConnectorDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: CustomConnectorDestinationPropertiesProperty
-> Maybe (ValueList Text)
writeOperationType :: CustomConnectorDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
..}
    = CustomConnectorDestinationPropertiesProperty
        {idFieldNames :: Maybe (ValueList Text)
idFieldNames = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "IdFieldNames" CustomConnectorDestinationPropertiesProperty
ValueList Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
()
Value Text
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
writeOperationType :: Maybe (Value Text)
..}
instance Property "WriteOperationType" CustomConnectorDestinationPropertiesProperty where
  type PropertyType "WriteOperationType" CustomConnectorDestinationPropertiesProperty = Value Prelude.Text
  set :: PropertyType
  "WriteOperationType" CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty
-> CustomConnectorDestinationPropertiesProperty
set PropertyType
  "WriteOperationType" CustomConnectorDestinationPropertiesProperty
newValue CustomConnectorDestinationPropertiesProperty {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
Maybe ErrorHandlingConfigProperty
()
Value Text
haddock_workaround_ :: CustomConnectorDestinationPropertiesProperty -> ()
customProperties :: CustomConnectorDestinationPropertiesProperty
-> Maybe (Map Text (Value Text))
entityName :: CustomConnectorDestinationPropertiesProperty -> Value Text
errorHandlingConfig :: CustomConnectorDestinationPropertiesProperty
-> Maybe ErrorHandlingConfigProperty
idFieldNames :: CustomConnectorDestinationPropertiesProperty
-> Maybe (ValueList Text)
writeOperationType :: CustomConnectorDestinationPropertiesProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
writeOperationType :: Maybe (Value Text)
..}
    = CustomConnectorDestinationPropertiesProperty
        {writeOperationType :: Maybe (Value Text)
writeOperationType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "WriteOperationType" CustomConnectorDestinationPropertiesProperty
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe ErrorHandlingConfigProperty
()
Value Text
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
haddock_workaround_ :: ()
customProperties :: Maybe (Map Text (Value Text))
entityName :: Value Text
errorHandlingConfig :: Maybe ErrorHandlingConfigProperty
idFieldNames :: Maybe (ValueList Text)
..}