module Stratosphere.Wisdom.KnowledgeBase (
        module Exports, KnowledgeBase(..), mkKnowledgeBase
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Wisdom.KnowledgeBase.RenderingConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Wisdom.KnowledgeBase.ServerSideEncryptionConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Wisdom.KnowledgeBase.SourceConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Wisdom.KnowledgeBase.VectorIngestionConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data KnowledgeBase
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html>
    KnowledgeBase {KnowledgeBase -> ()
haddock_workaround_ :: (),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-description>
                   KnowledgeBase -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-knowledgebasetype>
                   KnowledgeBase -> Value Text
knowledgeBaseType :: (Value Prelude.Text),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-name>
                   KnowledgeBase -> Value Text
name :: (Value Prelude.Text),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-renderingconfiguration>
                   KnowledgeBase -> Maybe RenderingConfigurationProperty
renderingConfiguration :: (Prelude.Maybe RenderingConfigurationProperty),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-serversideencryptionconfiguration>
                   KnowledgeBase -> Maybe ServerSideEncryptionConfigurationProperty
serverSideEncryptionConfiguration :: (Prelude.Maybe ServerSideEncryptionConfigurationProperty),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-sourceconfiguration>
                   KnowledgeBase -> Maybe SourceConfigurationProperty
sourceConfiguration :: (Prelude.Maybe SourceConfigurationProperty),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-tags>
                   KnowledgeBase -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-vectoringestionconfiguration>
                   KnowledgeBase -> Maybe VectorIngestionConfigurationProperty
vectorIngestionConfiguration :: (Prelude.Maybe VectorIngestionConfigurationProperty)}
  deriving stock (KnowledgeBase -> KnowledgeBase -> Bool
(KnowledgeBase -> KnowledgeBase -> Bool)
-> (KnowledgeBase -> KnowledgeBase -> Bool) -> Eq KnowledgeBase
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: KnowledgeBase -> KnowledgeBase -> Bool
== :: KnowledgeBase -> KnowledgeBase -> Bool
$c/= :: KnowledgeBase -> KnowledgeBase -> Bool
/= :: KnowledgeBase -> KnowledgeBase -> Bool
Prelude.Eq, Int -> KnowledgeBase -> ShowS
[KnowledgeBase] -> ShowS
KnowledgeBase -> String
(Int -> KnowledgeBase -> ShowS)
-> (KnowledgeBase -> String)
-> ([KnowledgeBase] -> ShowS)
-> Show KnowledgeBase
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> KnowledgeBase -> ShowS
showsPrec :: Int -> KnowledgeBase -> ShowS
$cshow :: KnowledgeBase -> String
show :: KnowledgeBase -> String
$cshowList :: [KnowledgeBase] -> ShowS
showList :: [KnowledgeBase] -> ShowS
Prelude.Show)
mkKnowledgeBase ::
  Value Prelude.Text -> Value Prelude.Text -> KnowledgeBase
mkKnowledgeBase :: Value Text -> Value Text -> KnowledgeBase
mkKnowledgeBase Value Text
knowledgeBaseType Value Text
name
  = KnowledgeBase
      {haddock_workaround_ :: ()
haddock_workaround_ = (), knowledgeBaseType :: Value Text
knowledgeBaseType = Value Text
knowledgeBaseType,
       name :: Value Text
name = Value Text
name, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       renderingConfiguration :: Maybe RenderingConfigurationProperty
renderingConfiguration = Maybe RenderingConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
serverSideEncryptionConfiguration = Maybe ServerSideEncryptionConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       sourceConfiguration :: Maybe SourceConfigurationProperty
sourceConfiguration = Maybe SourceConfigurationProperty
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
       vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
vectorIngestionConfiguration = Maybe VectorIngestionConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties KnowledgeBase where
  toResourceProperties :: KnowledgeBase -> ResourceProperties
toResourceProperties KnowledgeBase {Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseType :: KnowledgeBase -> Value Text
name :: KnowledgeBase -> Value Text
renderingConfiguration :: KnowledgeBase -> Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: KnowledgeBase -> Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: KnowledgeBase -> Maybe SourceConfigurationProperty
tags :: KnowledgeBase -> Maybe [Tag]
vectorIngestionConfiguration :: KnowledgeBase -> Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Wisdom::KnowledgeBase",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         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
"KnowledgeBaseType" 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
knowledgeBaseType,
                            Key
"Name" 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
name]
                           ([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
"Description" (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)
description,
                               Key -> RenderingConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RenderingConfiguration"
                                 (RenderingConfigurationProperty -> (Key, Value))
-> Maybe RenderingConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RenderingConfigurationProperty
renderingConfiguration,
                               Key -> ServerSideEncryptionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ServerSideEncryptionConfiguration"
                                 (ServerSideEncryptionConfigurationProperty -> (Key, Value))
-> Maybe ServerSideEncryptionConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ServerSideEncryptionConfigurationProperty
serverSideEncryptionConfiguration,
                               Key -> SourceConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SourceConfiguration" (SourceConfigurationProperty -> (Key, Value))
-> Maybe SourceConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SourceConfigurationProperty
sourceConfiguration,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                               Key -> VectorIngestionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VectorIngestionConfiguration"
                                 (VectorIngestionConfigurationProperty -> (Key, Value))
-> Maybe VectorIngestionConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VectorIngestionConfigurationProperty
vectorIngestionConfiguration]))}
instance JSON.ToJSON KnowledgeBase where
  toJSON :: KnowledgeBase -> Value
toJSON KnowledgeBase {Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseType :: KnowledgeBase -> Value Text
name :: KnowledgeBase -> Value Text
renderingConfiguration :: KnowledgeBase -> Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: KnowledgeBase -> Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: KnowledgeBase -> Maybe SourceConfigurationProperty
tags :: KnowledgeBase -> Maybe [Tag]
vectorIngestionConfiguration :: KnowledgeBase -> Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
    = [(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
"KnowledgeBaseType" 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
knowledgeBaseType,
               Key
"Name" 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
name]
              ([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
"Description" (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)
description,
                  Key -> RenderingConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RenderingConfiguration"
                    (RenderingConfigurationProperty -> (Key, Value))
-> Maybe RenderingConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RenderingConfigurationProperty
renderingConfiguration,
                  Key -> ServerSideEncryptionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ServerSideEncryptionConfiguration"
                    (ServerSideEncryptionConfigurationProperty -> (Key, Value))
-> Maybe ServerSideEncryptionConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ServerSideEncryptionConfigurationProperty
serverSideEncryptionConfiguration,
                  Key -> SourceConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SourceConfiguration" (SourceConfigurationProperty -> (Key, Value))
-> Maybe SourceConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SourceConfigurationProperty
sourceConfiguration,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                  Key -> VectorIngestionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VectorIngestionConfiguration"
                    (VectorIngestionConfigurationProperty -> (Key, Value))
-> Maybe VectorIngestionConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VectorIngestionConfigurationProperty
vectorIngestionConfiguration])))
instance Property "Description" KnowledgeBase where
  type PropertyType "Description" KnowledgeBase = Value Prelude.Text
  set :: PropertyType "Description" KnowledgeBase
-> KnowledgeBase -> KnowledgeBase
set PropertyType "Description" KnowledgeBase
newValue KnowledgeBase {Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseType :: KnowledgeBase -> Value Text
name :: KnowledgeBase -> Value Text
renderingConfiguration :: KnowledgeBase -> Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: KnowledgeBase -> Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: KnowledgeBase -> Maybe SourceConfigurationProperty
tags :: KnowledgeBase -> Maybe [Tag]
vectorIngestionConfiguration :: KnowledgeBase -> Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
    = KnowledgeBase {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" KnowledgeBase
Value Text
newValue, Maybe [Tag]
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
instance Property "KnowledgeBaseType" KnowledgeBase where
  type PropertyType "KnowledgeBaseType" KnowledgeBase = Value Prelude.Text
  set :: PropertyType "KnowledgeBaseType" KnowledgeBase
-> KnowledgeBase -> KnowledgeBase
set PropertyType "KnowledgeBaseType" KnowledgeBase
newValue KnowledgeBase {Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseType :: KnowledgeBase -> Value Text
name :: KnowledgeBase -> Value Text
renderingConfiguration :: KnowledgeBase -> Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: KnowledgeBase -> Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: KnowledgeBase -> Maybe SourceConfigurationProperty
tags :: KnowledgeBase -> Maybe [Tag]
vectorIngestionConfiguration :: KnowledgeBase -> Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
    = KnowledgeBase {knowledgeBaseType :: Value Text
knowledgeBaseType = PropertyType "KnowledgeBaseType" KnowledgeBase
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
instance Property "Name" KnowledgeBase where
  type PropertyType "Name" KnowledgeBase = Value Prelude.Text
  set :: PropertyType "Name" KnowledgeBase -> KnowledgeBase -> KnowledgeBase
set PropertyType "Name" KnowledgeBase
newValue KnowledgeBase {Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseType :: KnowledgeBase -> Value Text
name :: KnowledgeBase -> Value Text
renderingConfiguration :: KnowledgeBase -> Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: KnowledgeBase -> Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: KnowledgeBase -> Maybe SourceConfigurationProperty
tags :: KnowledgeBase -> Maybe [Tag]
vectorIngestionConfiguration :: KnowledgeBase -> Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
    = KnowledgeBase {name :: Value Text
name = PropertyType "Name" KnowledgeBase
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
instance Property "RenderingConfiguration" KnowledgeBase where
  type PropertyType "RenderingConfiguration" KnowledgeBase = RenderingConfigurationProperty
  set :: PropertyType "RenderingConfiguration" KnowledgeBase
-> KnowledgeBase -> KnowledgeBase
set PropertyType "RenderingConfiguration" KnowledgeBase
newValue KnowledgeBase {Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseType :: KnowledgeBase -> Value Text
name :: KnowledgeBase -> Value Text
renderingConfiguration :: KnowledgeBase -> Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: KnowledgeBase -> Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: KnowledgeBase -> Maybe SourceConfigurationProperty
tags :: KnowledgeBase -> Maybe [Tag]
vectorIngestionConfiguration :: KnowledgeBase -> Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
    = KnowledgeBase
        {renderingConfiguration :: Maybe RenderingConfigurationProperty
renderingConfiguration = RenderingConfigurationProperty
-> Maybe RenderingConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RenderingConfiguration" KnowledgeBase
RenderingConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
instance Property "ServerSideEncryptionConfiguration" KnowledgeBase where
  type PropertyType "ServerSideEncryptionConfiguration" KnowledgeBase = ServerSideEncryptionConfigurationProperty
  set :: PropertyType "ServerSideEncryptionConfiguration" KnowledgeBase
-> KnowledgeBase -> KnowledgeBase
set PropertyType "ServerSideEncryptionConfiguration" KnowledgeBase
newValue KnowledgeBase {Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseType :: KnowledgeBase -> Value Text
name :: KnowledgeBase -> Value Text
renderingConfiguration :: KnowledgeBase -> Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: KnowledgeBase -> Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: KnowledgeBase -> Maybe SourceConfigurationProperty
tags :: KnowledgeBase -> Maybe [Tag]
vectorIngestionConfiguration :: KnowledgeBase -> Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
    = KnowledgeBase
        {serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
serverSideEncryptionConfiguration = ServerSideEncryptionConfigurationProperty
-> Maybe ServerSideEncryptionConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ServerSideEncryptionConfiguration" KnowledgeBase
ServerSideEncryptionConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
instance Property "SourceConfiguration" KnowledgeBase where
  type PropertyType "SourceConfiguration" KnowledgeBase = SourceConfigurationProperty
  set :: PropertyType "SourceConfiguration" KnowledgeBase
-> KnowledgeBase -> KnowledgeBase
set PropertyType "SourceConfiguration" KnowledgeBase
newValue KnowledgeBase {Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseType :: KnowledgeBase -> Value Text
name :: KnowledgeBase -> Value Text
renderingConfiguration :: KnowledgeBase -> Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: KnowledgeBase -> Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: KnowledgeBase -> Maybe SourceConfigurationProperty
tags :: KnowledgeBase -> Maybe [Tag]
vectorIngestionConfiguration :: KnowledgeBase -> Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
    = KnowledgeBase {sourceConfiguration :: Maybe SourceConfigurationProperty
sourceConfiguration = SourceConfigurationProperty -> Maybe SourceConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SourceConfiguration" KnowledgeBase
SourceConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
instance Property "Tags" KnowledgeBase where
  type PropertyType "Tags" KnowledgeBase = [Tag]
  set :: PropertyType "Tags" KnowledgeBase -> KnowledgeBase -> KnowledgeBase
set PropertyType "Tags" KnowledgeBase
newValue KnowledgeBase {Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseType :: KnowledgeBase -> Value Text
name :: KnowledgeBase -> Value Text
renderingConfiguration :: KnowledgeBase -> Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: KnowledgeBase -> Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: KnowledgeBase -> Maybe SourceConfigurationProperty
tags :: KnowledgeBase -> Maybe [Tag]
vectorIngestionConfiguration :: KnowledgeBase -> Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
    = KnowledgeBase {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" KnowledgeBase
newValue, Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
instance Property "VectorIngestionConfiguration" KnowledgeBase where
  type PropertyType "VectorIngestionConfiguration" KnowledgeBase = VectorIngestionConfigurationProperty
  set :: PropertyType "VectorIngestionConfiguration" KnowledgeBase
-> KnowledgeBase -> KnowledgeBase
set PropertyType "VectorIngestionConfiguration" KnowledgeBase
newValue KnowledgeBase {Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe VectorIngestionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseType :: KnowledgeBase -> Value Text
name :: KnowledgeBase -> Value Text
renderingConfiguration :: KnowledgeBase -> Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: KnowledgeBase -> Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: KnowledgeBase -> Maybe SourceConfigurationProperty
tags :: KnowledgeBase -> Maybe [Tag]
vectorIngestionConfiguration :: KnowledgeBase -> Maybe VectorIngestionConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
..}
    = KnowledgeBase
        {vectorIngestionConfiguration :: Maybe VectorIngestionConfigurationProperty
vectorIngestionConfiguration = VectorIngestionConfigurationProperty
-> Maybe VectorIngestionConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VectorIngestionConfiguration" KnowledgeBase
VectorIngestionConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RenderingConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
Maybe SourceConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseType :: Value Text
name :: Value Text
renderingConfiguration :: Maybe RenderingConfigurationProperty
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
sourceConfiguration :: Maybe SourceConfigurationProperty
tags :: Maybe [Tag]
..}