module Stratosphere.AppFlow.ConnectorProfile (
        module Exports, ConnectorProfile(..), mkConnectorProfile
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.AppFlow.ConnectorProfile.ConnectorProfileConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ConnectorProfile
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html>
    ConnectorProfile {ConnectorProfile -> ()
haddock_workaround_ :: (),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html#cfn-appflow-connectorprofile-connectionmode>
                      ConnectorProfile -> Value Text
connectionMode :: (Value Prelude.Text),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html#cfn-appflow-connectorprofile-connectorlabel>
                      ConnectorProfile -> Maybe (Value Text)
connectorLabel :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html#cfn-appflow-connectorprofile-connectorprofileconfig>
                      ConnectorProfile -> Maybe ConnectorProfileConfigProperty
connectorProfileConfig :: (Prelude.Maybe ConnectorProfileConfigProperty),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html#cfn-appflow-connectorprofile-connectorprofilename>
                      ConnectorProfile -> Value Text
connectorProfileName :: (Value Prelude.Text),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html#cfn-appflow-connectorprofile-connectortype>
                      ConnectorProfile -> Value Text
connectorType :: (Value Prelude.Text),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html#cfn-appflow-connectorprofile-kmsarn>
                      ConnectorProfile -> Maybe (Value Text)
kMSArn :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (ConnectorProfile -> ConnectorProfile -> Bool
(ConnectorProfile -> ConnectorProfile -> Bool)
-> (ConnectorProfile -> ConnectorProfile -> Bool)
-> Eq ConnectorProfile
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ConnectorProfile -> ConnectorProfile -> Bool
== :: ConnectorProfile -> ConnectorProfile -> Bool
$c/= :: ConnectorProfile -> ConnectorProfile -> Bool
/= :: ConnectorProfile -> ConnectorProfile -> Bool
Prelude.Eq, Int -> ConnectorProfile -> ShowS
[ConnectorProfile] -> ShowS
ConnectorProfile -> String
(Int -> ConnectorProfile -> ShowS)
-> (ConnectorProfile -> String)
-> ([ConnectorProfile] -> ShowS)
-> Show ConnectorProfile
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ConnectorProfile -> ShowS
showsPrec :: Int -> ConnectorProfile -> ShowS
$cshow :: ConnectorProfile -> String
show :: ConnectorProfile -> String
$cshowList :: [ConnectorProfile] -> ShowS
showList :: [ConnectorProfile] -> ShowS
Prelude.Show)
mkConnectorProfile ::
  Value Prelude.Text
  -> Value Prelude.Text -> Value Prelude.Text -> ConnectorProfile
mkConnectorProfile :: Value Text -> Value Text -> Value Text -> ConnectorProfile
mkConnectorProfile
  Value Text
connectionMode
  Value Text
connectorProfileName
  Value Text
connectorType
  = ConnectorProfile
      {haddock_workaround_ :: ()
haddock_workaround_ = (), connectionMode :: Value Text
connectionMode = Value Text
connectionMode,
       connectorProfileName :: Value Text
connectorProfileName = Value Text
connectorProfileName,
       connectorType :: Value Text
connectorType = Value Text
connectorType, connectorLabel :: Maybe (Value Text)
connectorLabel = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileConfig = Maybe ConnectorProfileConfigProperty
forall a. Maybe a
Prelude.Nothing, kMSArn :: Maybe (Value Text)
kMSArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ConnectorProfile where
  toResourceProperties :: ConnectorProfile -> ResourceProperties
toResourceProperties ConnectorProfile {Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ConnectorProfile -> ()
connectionMode :: ConnectorProfile -> Value Text
connectorLabel :: ConnectorProfile -> Maybe (Value Text)
connectorProfileConfig :: ConnectorProfile -> Maybe ConnectorProfileConfigProperty
connectorProfileName :: ConnectorProfile -> Value Text
connectorType :: ConnectorProfile -> Value Text
kMSArn :: ConnectorProfile -> Maybe (Value Text)
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AppFlow::ConnectorProfile",
         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
"ConnectionMode" 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
connectionMode,
                            Key
"ConnectorProfileName" 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
connectorProfileName,
                            Key
"ConnectorType" 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
connectorType]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"ConnectorLabel" (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)
connectorLabel,
                               Key -> ConnectorProfileConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConnectorProfileConfig"
                                 (ConnectorProfileConfigProperty -> (Key, Value))
-> Maybe ConnectorProfileConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ConnectorProfileConfigProperty
connectorProfileConfig,
                               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
"KMSArn" (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)
kMSArn]))}
instance JSON.ToJSON ConnectorProfile where
  toJSON :: ConnectorProfile -> Value
toJSON ConnectorProfile {Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ConnectorProfile -> ()
connectionMode :: ConnectorProfile -> Value Text
connectorLabel :: ConnectorProfile -> Maybe (Value Text)
connectorProfileConfig :: ConnectorProfile -> Maybe ConnectorProfileConfigProperty
connectorProfileName :: ConnectorProfile -> Value Text
connectorType :: ConnectorProfile -> Value Text
kMSArn :: ConnectorProfile -> Maybe (Value Text)
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: 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
"ConnectionMode" 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
connectionMode,
               Key
"ConnectorProfileName" 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
connectorProfileName,
               Key
"ConnectorType" 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
connectorType]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"ConnectorLabel" (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)
connectorLabel,
                  Key -> ConnectorProfileConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConnectorProfileConfig"
                    (ConnectorProfileConfigProperty -> (Key, Value))
-> Maybe ConnectorProfileConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ConnectorProfileConfigProperty
connectorProfileConfig,
                  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
"KMSArn" (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)
kMSArn])))
instance Property "ConnectionMode" ConnectorProfile where
  type PropertyType "ConnectionMode" ConnectorProfile = Value Prelude.Text
  set :: PropertyType "ConnectionMode" ConnectorProfile
-> ConnectorProfile -> ConnectorProfile
set PropertyType "ConnectionMode" ConnectorProfile
newValue ConnectorProfile {Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ConnectorProfile -> ()
connectionMode :: ConnectorProfile -> Value Text
connectorLabel :: ConnectorProfile -> Maybe (Value Text)
connectorProfileConfig :: ConnectorProfile -> Maybe ConnectorProfileConfigProperty
connectorProfileName :: ConnectorProfile -> Value Text
connectorType :: ConnectorProfile -> Value Text
kMSArn :: ConnectorProfile -> Maybe (Value Text)
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
..}
    = ConnectorProfile {connectionMode :: Value Text
connectionMode = PropertyType "ConnectionMode" ConnectorProfile
Value Text
newValue, Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ()
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
haddock_workaround_ :: ()
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
..}
instance Property "ConnectorLabel" ConnectorProfile where
  type PropertyType "ConnectorLabel" ConnectorProfile = Value Prelude.Text
  set :: PropertyType "ConnectorLabel" ConnectorProfile
-> ConnectorProfile -> ConnectorProfile
set PropertyType "ConnectorLabel" ConnectorProfile
newValue ConnectorProfile {Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ConnectorProfile -> ()
connectionMode :: ConnectorProfile -> Value Text
connectorLabel :: ConnectorProfile -> Maybe (Value Text)
connectorProfileConfig :: ConnectorProfile -> Maybe ConnectorProfileConfigProperty
connectorProfileName :: ConnectorProfile -> Value Text
connectorType :: ConnectorProfile -> Value Text
kMSArn :: ConnectorProfile -> Maybe (Value Text)
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
..}
    = ConnectorProfile {connectorLabel :: Maybe (Value Text)
connectorLabel = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ConnectorLabel" ConnectorProfile
Value Text
newValue, Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
..}
instance Property "ConnectorProfileConfig" ConnectorProfile where
  type PropertyType "ConnectorProfileConfig" ConnectorProfile = ConnectorProfileConfigProperty
  set :: PropertyType "ConnectorProfileConfig" ConnectorProfile
-> ConnectorProfile -> ConnectorProfile
set PropertyType "ConnectorProfileConfig" ConnectorProfile
newValue ConnectorProfile {Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ConnectorProfile -> ()
connectionMode :: ConnectorProfile -> Value Text
connectorLabel :: ConnectorProfile -> Maybe (Value Text)
connectorProfileConfig :: ConnectorProfile -> Maybe ConnectorProfileConfigProperty
connectorProfileName :: ConnectorProfile -> Value Text
connectorType :: ConnectorProfile -> Value Text
kMSArn :: ConnectorProfile -> Maybe (Value Text)
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
..}
    = ConnectorProfile
        {connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileConfig = ConnectorProfileConfigProperty
-> Maybe ConnectorProfileConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ConnectorProfileConfig" ConnectorProfile
ConnectorProfileConfigProperty
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
..}
instance Property "ConnectorProfileName" ConnectorProfile where
  type PropertyType "ConnectorProfileName" ConnectorProfile = Value Prelude.Text
  set :: PropertyType "ConnectorProfileName" ConnectorProfile
-> ConnectorProfile -> ConnectorProfile
set PropertyType "ConnectorProfileName" ConnectorProfile
newValue ConnectorProfile {Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ConnectorProfile -> ()
connectionMode :: ConnectorProfile -> Value Text
connectorLabel :: ConnectorProfile -> Maybe (Value Text)
connectorProfileConfig :: ConnectorProfile -> Maybe ConnectorProfileConfigProperty
connectorProfileName :: ConnectorProfile -> Value Text
connectorType :: ConnectorProfile -> Value Text
kMSArn :: ConnectorProfile -> Maybe (Value Text)
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
..}
    = ConnectorProfile {connectorProfileName :: Value Text
connectorProfileName = PropertyType "ConnectorProfileName" ConnectorProfile
Value Text
newValue, Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
..}
instance Property "ConnectorType" ConnectorProfile where
  type PropertyType "ConnectorType" ConnectorProfile = Value Prelude.Text
  set :: PropertyType "ConnectorType" ConnectorProfile
-> ConnectorProfile -> ConnectorProfile
set PropertyType "ConnectorType" ConnectorProfile
newValue ConnectorProfile {Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ConnectorProfile -> ()
connectionMode :: ConnectorProfile -> Value Text
connectorLabel :: ConnectorProfile -> Maybe (Value Text)
connectorProfileConfig :: ConnectorProfile -> Maybe ConnectorProfileConfigProperty
connectorProfileName :: ConnectorProfile -> Value Text
connectorType :: ConnectorProfile -> Value Text
kMSArn :: ConnectorProfile -> Maybe (Value Text)
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
..}
    = ConnectorProfile {connectorType :: Value Text
connectorType = PropertyType "ConnectorType" ConnectorProfile
Value Text
newValue, Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
kMSArn :: Maybe (Value Text)
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
kMSArn :: Maybe (Value Text)
..}
instance Property "KMSArn" ConnectorProfile where
  type PropertyType "KMSArn" ConnectorProfile = Value Prelude.Text
  set :: PropertyType "KMSArn" ConnectorProfile
-> ConnectorProfile -> ConnectorProfile
set PropertyType "KMSArn" ConnectorProfile
newValue ConnectorProfile {Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ConnectorProfile -> ()
connectionMode :: ConnectorProfile -> Value Text
connectorLabel :: ConnectorProfile -> Maybe (Value Text)
connectorProfileConfig :: ConnectorProfile -> Maybe ConnectorProfileConfigProperty
connectorProfileName :: ConnectorProfile -> Value Text
connectorType :: ConnectorProfile -> Value Text
kMSArn :: ConnectorProfile -> Maybe (Value Text)
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
kMSArn :: Maybe (Value Text)
..}
    = ConnectorProfile {kMSArn :: Maybe (Value Text)
kMSArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KMSArn" ConnectorProfile
Value Text
newValue, Maybe (Value Text)
Maybe ConnectorProfileConfigProperty
()
Value Text
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
haddock_workaround_ :: ()
connectionMode :: Value Text
connectorLabel :: Maybe (Value Text)
connectorProfileConfig :: Maybe ConnectorProfileConfigProperty
connectorProfileName :: Value Text
connectorType :: Value Text
..}