module Stratosphere.Kendra.DataSource.ServiceNowConfigurationProperty (
        module Exports, ServiceNowConfigurationProperty(..),
        mkServiceNowConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Kendra.DataSource.ServiceNowKnowledgeArticleConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Kendra.DataSource.ServiceNowServiceCatalogConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ServiceNowConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html>
    ServiceNowConfigurationProperty {ServiceNowConfigurationProperty -> ()
haddock_workaround_ :: (),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html#cfn-kendra-datasource-servicenowconfiguration-authenticationtype>
                                     ServiceNowConfigurationProperty -> Maybe (Value Text)
authenticationType :: (Prelude.Maybe (Value Prelude.Text)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html#cfn-kendra-datasource-servicenowconfiguration-hosturl>
                                     ServiceNowConfigurationProperty -> Value Text
hostUrl :: (Value Prelude.Text),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html#cfn-kendra-datasource-servicenowconfiguration-knowledgearticleconfiguration>
                                     ServiceNowConfigurationProperty
-> Maybe ServiceNowKnowledgeArticleConfigurationProperty
knowledgeArticleConfiguration :: (Prelude.Maybe ServiceNowKnowledgeArticleConfigurationProperty),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html#cfn-kendra-datasource-servicenowconfiguration-secretarn>
                                     ServiceNowConfigurationProperty -> Value Text
secretArn :: (Value Prelude.Text),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html#cfn-kendra-datasource-servicenowconfiguration-servicecatalogconfiguration>
                                     ServiceNowConfigurationProperty
-> Maybe ServiceNowServiceCatalogConfigurationProperty
serviceCatalogConfiguration :: (Prelude.Maybe ServiceNowServiceCatalogConfigurationProperty),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html#cfn-kendra-datasource-servicenowconfiguration-servicenowbuildversion>
                                     ServiceNowConfigurationProperty -> Value Text
serviceNowBuildVersion :: (Value Prelude.Text)}
  deriving stock (ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty -> Bool
(ServiceNowConfigurationProperty
 -> ServiceNowConfigurationProperty -> Bool)
-> (ServiceNowConfigurationProperty
    -> ServiceNowConfigurationProperty -> Bool)
-> Eq ServiceNowConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty -> Bool
== :: ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty -> Bool
$c/= :: ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty -> Bool
/= :: ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty -> Bool
Prelude.Eq, Int -> ServiceNowConfigurationProperty -> ShowS
[ServiceNowConfigurationProperty] -> ShowS
ServiceNowConfigurationProperty -> String
(Int -> ServiceNowConfigurationProperty -> ShowS)
-> (ServiceNowConfigurationProperty -> String)
-> ([ServiceNowConfigurationProperty] -> ShowS)
-> Show ServiceNowConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ServiceNowConfigurationProperty -> ShowS
showsPrec :: Int -> ServiceNowConfigurationProperty -> ShowS
$cshow :: ServiceNowConfigurationProperty -> String
show :: ServiceNowConfigurationProperty -> String
$cshowList :: [ServiceNowConfigurationProperty] -> ShowS
showList :: [ServiceNowConfigurationProperty] -> ShowS
Prelude.Show)
mkServiceNowConfigurationProperty ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text -> ServiceNowConfigurationProperty
mkServiceNowConfigurationProperty :: Value Text
-> Value Text -> Value Text -> ServiceNowConfigurationProperty
mkServiceNowConfigurationProperty
  Value Text
hostUrl
  Value Text
secretArn
  Value Text
serviceNowBuildVersion
  = ServiceNowConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), hostUrl :: Value Text
hostUrl = Value Text
hostUrl,
       secretArn :: Value Text
secretArn = Value Text
secretArn,
       serviceNowBuildVersion :: Value Text
serviceNowBuildVersion = Value Text
serviceNowBuildVersion,
       authenticationType :: Maybe (Value Text)
authenticationType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
knowledgeArticleConfiguration = Maybe ServiceNowKnowledgeArticleConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceCatalogConfiguration = Maybe ServiceNowServiceCatalogConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ServiceNowConfigurationProperty where
  toResourceProperties :: ServiceNowConfigurationProperty -> ResourceProperties
toResourceProperties ServiceNowConfigurationProperty {Maybe (Value Text)
Maybe ServiceNowKnowledgeArticleConfigurationProperty
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceNowConfigurationProperty -> ()
authenticationType :: ServiceNowConfigurationProperty -> Maybe (Value Text)
hostUrl :: ServiceNowConfigurationProperty -> Value Text
knowledgeArticleConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: ServiceNowConfigurationProperty -> Value Text
serviceCatalogConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: ServiceNowConfigurationProperty -> Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Kendra::DataSource.ServiceNowConfiguration",
         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
"HostUrl" 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
hostUrl, Key
"SecretArn" 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
secretArn,
                            Key
"ServiceNowBuildVersion" 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
serviceNowBuildVersion]
                           ([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
"AuthenticationType" (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)
authenticationType,
                               Key
-> ServiceNowKnowledgeArticleConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"KnowledgeArticleConfiguration"
                                 (ServiceNowKnowledgeArticleConfigurationProperty -> (Key, Value))
-> Maybe ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ServiceNowKnowledgeArticleConfigurationProperty
knowledgeArticleConfiguration,
                               Key
-> ServiceNowServiceCatalogConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ServiceCatalogConfiguration"
                                 (ServiceNowServiceCatalogConfigurationProperty -> (Key, Value))
-> Maybe ServiceNowServiceCatalogConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ServiceNowServiceCatalogConfigurationProperty
serviceCatalogConfiguration]))}
instance JSON.ToJSON ServiceNowConfigurationProperty where
  toJSON :: ServiceNowConfigurationProperty -> Value
toJSON ServiceNowConfigurationProperty {Maybe (Value Text)
Maybe ServiceNowKnowledgeArticleConfigurationProperty
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceNowConfigurationProperty -> ()
authenticationType :: ServiceNowConfigurationProperty -> Maybe (Value Text)
hostUrl :: ServiceNowConfigurationProperty -> Value Text
knowledgeArticleConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: ServiceNowConfigurationProperty -> Value Text
serviceCatalogConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: ServiceNowConfigurationProperty -> Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: 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
"HostUrl" 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
hostUrl, Key
"SecretArn" 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
secretArn,
               Key
"ServiceNowBuildVersion" 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
serviceNowBuildVersion]
              ([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
"AuthenticationType" (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)
authenticationType,
                  Key
-> ServiceNowKnowledgeArticleConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"KnowledgeArticleConfiguration"
                    (ServiceNowKnowledgeArticleConfigurationProperty -> (Key, Value))
-> Maybe ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ServiceNowKnowledgeArticleConfigurationProperty
knowledgeArticleConfiguration,
                  Key
-> ServiceNowServiceCatalogConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ServiceCatalogConfiguration"
                    (ServiceNowServiceCatalogConfigurationProperty -> (Key, Value))
-> Maybe ServiceNowServiceCatalogConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ServiceNowServiceCatalogConfigurationProperty
serviceCatalogConfiguration])))
instance Property "AuthenticationType" ServiceNowConfigurationProperty where
  type PropertyType "AuthenticationType" ServiceNowConfigurationProperty = Value Prelude.Text
  set :: PropertyType "AuthenticationType" ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty
set PropertyType "AuthenticationType" ServiceNowConfigurationProperty
newValue ServiceNowConfigurationProperty {Maybe (Value Text)
Maybe ServiceNowKnowledgeArticleConfigurationProperty
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceNowConfigurationProperty -> ()
authenticationType :: ServiceNowConfigurationProperty -> Maybe (Value Text)
hostUrl :: ServiceNowConfigurationProperty -> Value Text
knowledgeArticleConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: ServiceNowConfigurationProperty -> Value Text
serviceCatalogConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: ServiceNowConfigurationProperty -> Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
..}
    = ServiceNowConfigurationProperty
        {authenticationType :: Maybe (Value Text)
authenticationType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthenticationType" ServiceNowConfigurationProperty
Value Text
newValue, Maybe ServiceNowKnowledgeArticleConfigurationProperty
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
haddock_workaround_ :: ()
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
..}
instance Property "HostUrl" ServiceNowConfigurationProperty where
  type PropertyType "HostUrl" ServiceNowConfigurationProperty = Value Prelude.Text
  set :: PropertyType "HostUrl" ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty
set PropertyType "HostUrl" ServiceNowConfigurationProperty
newValue ServiceNowConfigurationProperty {Maybe (Value Text)
Maybe ServiceNowKnowledgeArticleConfigurationProperty
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceNowConfigurationProperty -> ()
authenticationType :: ServiceNowConfigurationProperty -> Maybe (Value Text)
hostUrl :: ServiceNowConfigurationProperty -> Value Text
knowledgeArticleConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: ServiceNowConfigurationProperty -> Value Text
serviceCatalogConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: ServiceNowConfigurationProperty -> Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
..}
    = ServiceNowConfigurationProperty {hostUrl :: Value Text
hostUrl = PropertyType "HostUrl" ServiceNowConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe ServiceNowKnowledgeArticleConfigurationProperty
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
..}
instance Property "KnowledgeArticleConfiguration" ServiceNowConfigurationProperty where
  type PropertyType "KnowledgeArticleConfiguration" ServiceNowConfigurationProperty = ServiceNowKnowledgeArticleConfigurationProperty
  set :: PropertyType
  "KnowledgeArticleConfiguration" ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty
set PropertyType
  "KnowledgeArticleConfiguration" ServiceNowConfigurationProperty
newValue ServiceNowConfigurationProperty {Maybe (Value Text)
Maybe ServiceNowKnowledgeArticleConfigurationProperty
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceNowConfigurationProperty -> ()
authenticationType :: ServiceNowConfigurationProperty -> Maybe (Value Text)
hostUrl :: ServiceNowConfigurationProperty -> Value Text
knowledgeArticleConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: ServiceNowConfigurationProperty -> Value Text
serviceCatalogConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: ServiceNowConfigurationProperty -> Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
..}
    = ServiceNowConfigurationProperty
        {knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
knowledgeArticleConfiguration = ServiceNowKnowledgeArticleConfigurationProperty
-> Maybe ServiceNowKnowledgeArticleConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "KnowledgeArticleConfiguration" ServiceNowConfigurationProperty
ServiceNowKnowledgeArticleConfigurationProperty
newValue, Maybe (Value Text)
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
..}
instance Property "SecretArn" ServiceNowConfigurationProperty where
  type PropertyType "SecretArn" ServiceNowConfigurationProperty = Value Prelude.Text
  set :: PropertyType "SecretArn" ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty
set PropertyType "SecretArn" ServiceNowConfigurationProperty
newValue ServiceNowConfigurationProperty {Maybe (Value Text)
Maybe ServiceNowKnowledgeArticleConfigurationProperty
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceNowConfigurationProperty -> ()
authenticationType :: ServiceNowConfigurationProperty -> Maybe (Value Text)
hostUrl :: ServiceNowConfigurationProperty -> Value Text
knowledgeArticleConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: ServiceNowConfigurationProperty -> Value Text
serviceCatalogConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: ServiceNowConfigurationProperty -> Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
..}
    = ServiceNowConfigurationProperty {secretArn :: Value Text
secretArn = PropertyType "SecretArn" ServiceNowConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe ServiceNowKnowledgeArticleConfigurationProperty
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
..}
instance Property "ServiceCatalogConfiguration" ServiceNowConfigurationProperty where
  type PropertyType "ServiceCatalogConfiguration" ServiceNowConfigurationProperty = ServiceNowServiceCatalogConfigurationProperty
  set :: PropertyType
  "ServiceCatalogConfiguration" ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty
set PropertyType
  "ServiceCatalogConfiguration" ServiceNowConfigurationProperty
newValue ServiceNowConfigurationProperty {Maybe (Value Text)
Maybe ServiceNowKnowledgeArticleConfigurationProperty
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceNowConfigurationProperty -> ()
authenticationType :: ServiceNowConfigurationProperty -> Maybe (Value Text)
hostUrl :: ServiceNowConfigurationProperty -> Value Text
knowledgeArticleConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: ServiceNowConfigurationProperty -> Value Text
serviceCatalogConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: ServiceNowConfigurationProperty -> Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
..}
    = ServiceNowConfigurationProperty
        {serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceCatalogConfiguration = ServiceNowServiceCatalogConfigurationProperty
-> Maybe ServiceNowServiceCatalogConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "ServiceCatalogConfiguration" ServiceNowConfigurationProperty
ServiceNowServiceCatalogConfigurationProperty
newValue, Maybe (Value Text)
Maybe ServiceNowKnowledgeArticleConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceNowBuildVersion :: Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceNowBuildVersion :: Value Text
..}
instance Property "ServiceNowBuildVersion" ServiceNowConfigurationProperty where
  type PropertyType "ServiceNowBuildVersion" ServiceNowConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "ServiceNowBuildVersion" ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty
-> ServiceNowConfigurationProperty
set PropertyType
  "ServiceNowBuildVersion" ServiceNowConfigurationProperty
newValue ServiceNowConfigurationProperty {Maybe (Value Text)
Maybe ServiceNowKnowledgeArticleConfigurationProperty
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ServiceNowConfigurationProperty -> ()
authenticationType :: ServiceNowConfigurationProperty -> Maybe (Value Text)
hostUrl :: ServiceNowConfigurationProperty -> Value Text
knowledgeArticleConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: ServiceNowConfigurationProperty -> Value Text
serviceCatalogConfiguration :: ServiceNowConfigurationProperty
-> Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: ServiceNowConfigurationProperty -> Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
serviceNowBuildVersion :: Value Text
..}
    = ServiceNowConfigurationProperty
        {serviceNowBuildVersion :: Value Text
serviceNowBuildVersion = PropertyType
  "ServiceNowBuildVersion" ServiceNowConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe ServiceNowKnowledgeArticleConfigurationProperty
Maybe ServiceNowServiceCatalogConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
haddock_workaround_ :: ()
authenticationType :: Maybe (Value Text)
hostUrl :: Value Text
knowledgeArticleConfiguration :: Maybe ServiceNowKnowledgeArticleConfigurationProperty
secretArn :: Value Text
serviceCatalogConfiguration :: Maybe ServiceNowServiceCatalogConfigurationProperty
..}