module Stratosphere.Bedrock.KnowledgeBase (
        module Exports, KnowledgeBase(..), mkKnowledgeBase
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Bedrock.KnowledgeBase.KnowledgeBaseConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Bedrock.KnowledgeBase.StorageConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data KnowledgeBase
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html>
    KnowledgeBase {KnowledgeBase -> ()
haddock_workaround_ :: (),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-description>
                   KnowledgeBase -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-knowledgebaseconfiguration>
                   KnowledgeBase -> KnowledgeBaseConfigurationProperty
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty,
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-name>
                   KnowledgeBase -> Value Text
name :: (Value Prelude.Text),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-rolearn>
                   KnowledgeBase -> Value Text
roleArn :: (Value Prelude.Text),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-storageconfiguration>
                   KnowledgeBase -> Maybe StorageConfigurationProperty
storageConfiguration :: (Prelude.Maybe StorageConfigurationProperty),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-tags>
                   KnowledgeBase -> Maybe (Map Text (Value Text))
tags :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text)))}
  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 ::
  KnowledgeBaseConfigurationProperty
  -> Value Prelude.Text -> Value Prelude.Text -> KnowledgeBase
mkKnowledgeBase :: KnowledgeBaseConfigurationProperty
-> Value Text -> Value Text -> KnowledgeBase
mkKnowledgeBase KnowledgeBaseConfigurationProperty
knowledgeBaseConfiguration Value Text
name Value Text
roleArn
  = KnowledgeBase
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
knowledgeBaseConfiguration = KnowledgeBaseConfigurationProperty
knowledgeBaseConfiguration,
       name :: Value Text
name = Value Text
name, roleArn :: Value Text
roleArn = Value Text
roleArn, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       storageConfiguration :: Maybe StorageConfigurationProperty
storageConfiguration = Maybe StorageConfigurationProperty
forall a. Maybe a
Prelude.Nothing, tags :: Maybe (Map Text (Value Text))
tags = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties KnowledgeBase where
  toResourceProperties :: KnowledgeBase -> ResourceProperties
toResourceProperties KnowledgeBase {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe StorageConfigurationProperty
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBase -> KnowledgeBaseConfigurationProperty
name :: KnowledgeBase -> Value Text
roleArn :: KnowledgeBase -> Value Text
storageConfiguration :: KnowledgeBase -> Maybe StorageConfigurationProperty
tags :: KnowledgeBase -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Bedrock::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
"KnowledgeBaseConfiguration" Key -> KnowledgeBaseConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= KnowledgeBaseConfigurationProperty
knowledgeBaseConfiguration,
                            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, Key
"RoleArn" 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
roleArn]
                           ([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 -> StorageConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StorageConfiguration" (StorageConfigurationProperty -> (Key, Value))
-> Maybe StorageConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe StorageConfigurationProperty
storageConfiguration,
                               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
"Tags" (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))
tags]))}
instance JSON.ToJSON KnowledgeBase where
  toJSON :: KnowledgeBase -> Value
toJSON KnowledgeBase {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe StorageConfigurationProperty
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBase -> KnowledgeBaseConfigurationProperty
name :: KnowledgeBase -> Value Text
roleArn :: KnowledgeBase -> Value Text
storageConfiguration :: KnowledgeBase -> Maybe StorageConfigurationProperty
tags :: KnowledgeBase -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (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
"KnowledgeBaseConfiguration" Key -> KnowledgeBaseConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= KnowledgeBaseConfigurationProperty
knowledgeBaseConfiguration,
               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, Key
"RoleArn" 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
roleArn]
              ([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 -> StorageConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StorageConfiguration" (StorageConfigurationProperty -> (Key, Value))
-> Maybe StorageConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe StorageConfigurationProperty
storageConfiguration,
                  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
"Tags" (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))
tags])))
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 (Map Text (Value Text))
Maybe (Value Text)
Maybe StorageConfigurationProperty
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBase -> KnowledgeBaseConfigurationProperty
name :: KnowledgeBase -> Value Text
roleArn :: KnowledgeBase -> Value Text
storageConfiguration :: KnowledgeBase -> Maybe StorageConfigurationProperty
tags :: KnowledgeBase -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
..}
    = 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 (Map Text (Value Text))
Maybe StorageConfigurationProperty
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: ()
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
..}
instance Property "KnowledgeBaseConfiguration" KnowledgeBase where
  type PropertyType "KnowledgeBaseConfiguration" KnowledgeBase = KnowledgeBaseConfigurationProperty
  set :: PropertyType "KnowledgeBaseConfiguration" KnowledgeBase
-> KnowledgeBase -> KnowledgeBase
set PropertyType "KnowledgeBaseConfiguration" KnowledgeBase
newValue KnowledgeBase {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe StorageConfigurationProperty
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBase -> KnowledgeBaseConfigurationProperty
name :: KnowledgeBase -> Value Text
roleArn :: KnowledgeBase -> Value Text
storageConfiguration :: KnowledgeBase -> Maybe StorageConfigurationProperty
tags :: KnowledgeBase -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
..}
    = KnowledgeBase {knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
knowledgeBaseConfiguration = PropertyType "KnowledgeBaseConfiguration" KnowledgeBase
KnowledgeBaseConfigurationProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe StorageConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
description :: Maybe (Value Text)
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
..}
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 (Map Text (Value Text))
Maybe (Value Text)
Maybe StorageConfigurationProperty
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBase -> KnowledgeBaseConfigurationProperty
name :: KnowledgeBase -> Value Text
roleArn :: KnowledgeBase -> Value Text
storageConfiguration :: KnowledgeBase -> Maybe StorageConfigurationProperty
tags :: KnowledgeBase -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
..}
    = KnowledgeBase {name :: Value Text
name = PropertyType "Name" KnowledgeBase
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe StorageConfigurationProperty
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
..}
instance Property "RoleArn" KnowledgeBase where
  type PropertyType "RoleArn" KnowledgeBase = Value Prelude.Text
  set :: PropertyType "RoleArn" KnowledgeBase
-> KnowledgeBase -> KnowledgeBase
set PropertyType "RoleArn" KnowledgeBase
newValue KnowledgeBase {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe StorageConfigurationProperty
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBase -> KnowledgeBaseConfigurationProperty
name :: KnowledgeBase -> Value Text
roleArn :: KnowledgeBase -> Value Text
storageConfiguration :: KnowledgeBase -> Maybe StorageConfigurationProperty
tags :: KnowledgeBase -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
..}
    = KnowledgeBase {roleArn :: Value Text
roleArn = PropertyType "RoleArn" KnowledgeBase
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe StorageConfigurationProperty
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
..}
instance Property "StorageConfiguration" KnowledgeBase where
  type PropertyType "StorageConfiguration" KnowledgeBase = StorageConfigurationProperty
  set :: PropertyType "StorageConfiguration" KnowledgeBase
-> KnowledgeBase -> KnowledgeBase
set PropertyType "StorageConfiguration" KnowledgeBase
newValue KnowledgeBase {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe StorageConfigurationProperty
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBase -> KnowledgeBaseConfigurationProperty
name :: KnowledgeBase -> Value Text
roleArn :: KnowledgeBase -> Value Text
storageConfiguration :: KnowledgeBase -> Maybe StorageConfigurationProperty
tags :: KnowledgeBase -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
..}
    = KnowledgeBase {storageConfiguration :: Maybe StorageConfigurationProperty
storageConfiguration = StorageConfigurationProperty -> Maybe StorageConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StorageConfiguration" KnowledgeBase
StorageConfigurationProperty
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
tags :: Maybe (Map Text (Value Text))
..}
instance Property "Tags" KnowledgeBase where
  type PropertyType "Tags" KnowledgeBase = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType "Tags" KnowledgeBase -> KnowledgeBase -> KnowledgeBase
set PropertyType "Tags" KnowledgeBase
newValue KnowledgeBase {Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe StorageConfigurationProperty
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: KnowledgeBase -> ()
description :: KnowledgeBase -> Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBase -> KnowledgeBaseConfigurationProperty
name :: KnowledgeBase -> Value Text
roleArn :: KnowledgeBase -> Value Text
storageConfiguration :: KnowledgeBase -> Maybe StorageConfigurationProperty
tags :: KnowledgeBase -> Maybe (Map Text (Value Text))
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
tags :: Maybe (Map Text (Value Text))
..}
    = KnowledgeBase {tags :: Maybe (Map Text (Value Text))
tags = 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 "Tags" KnowledgeBase
newValue, Maybe (Value Text)
Maybe StorageConfigurationProperty
()
Value Text
KnowledgeBaseConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
knowledgeBaseConfiguration :: KnowledgeBaseConfigurationProperty
name :: Value Text
roleArn :: Value Text
storageConfiguration :: Maybe StorageConfigurationProperty
..}