module Stratosphere.QBusiness.Index (
module Exports, Index(..), mkIndex
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QBusiness.Index.DocumentAttributeConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QBusiness.Index.IndexCapacityConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Index
=
Index {Index -> ()
haddock_workaround_ :: (),
Index -> Value Text
applicationId :: (Value Prelude.Text),
Index -> Maybe IndexCapacityConfigurationProperty
capacityConfiguration :: (Prelude.Maybe IndexCapacityConfigurationProperty),
Index -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
Index -> Value Text
displayName :: (Value Prelude.Text),
Index -> Maybe [DocumentAttributeConfigurationProperty]
documentAttributeConfigurations :: (Prelude.Maybe [DocumentAttributeConfigurationProperty]),
Index -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
Index -> Maybe (Value Text)
type' :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (Index -> Index -> Bool
(Index -> Index -> Bool) -> (Index -> Index -> Bool) -> Eq Index
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Index -> Index -> Bool
== :: Index -> Index -> Bool
$c/= :: Index -> Index -> Bool
/= :: Index -> Index -> Bool
Prelude.Eq, Int -> Index -> ShowS
[Index] -> ShowS
Index -> String
(Int -> Index -> ShowS)
-> (Index -> String) -> ([Index] -> ShowS) -> Show Index
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Index -> ShowS
showsPrec :: Int -> Index -> ShowS
$cshow :: Index -> String
show :: Index -> String
$cshowList :: [Index] -> ShowS
showList :: [Index] -> ShowS
Prelude.Show)
mkIndex :: Value Prelude.Text -> Value Prelude.Text -> Index
mkIndex :: Value Text -> Value Text -> Index
mkIndex Value Text
applicationId Value Text
displayName
= Index
{haddock_workaround_ :: ()
haddock_workaround_ = (), applicationId :: Value Text
applicationId = Value Text
applicationId,
displayName :: Value Text
displayName = Value Text
displayName, capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
capacityConfiguration = Maybe IndexCapacityConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
documentAttributeConfigurations = Maybe [DocumentAttributeConfigurationProperty]
forall a. Maybe a
Prelude.Nothing,
tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing, type' :: Maybe (Value Text)
type' = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Index where
toResourceProperties :: Index -> ResourceProperties
toResourceProperties Index {Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
applicationId :: Index -> Value Text
capacityConfiguration :: Index -> Maybe IndexCapacityConfigurationProperty
description :: Index -> Maybe (Value Text)
displayName :: Index -> Value Text
documentAttributeConfigurations :: Index -> Maybe [DocumentAttributeConfigurationProperty]
tags :: Index -> Maybe [Tag]
type' :: Index -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QBusiness::Index", 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
"ApplicationId" 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
applicationId,
Key
"DisplayName" 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
displayName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> IndexCapacityConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CapacityConfiguration"
(IndexCapacityConfigurationProperty -> (Key, Value))
-> Maybe IndexCapacityConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe IndexCapacityConfigurationProperty
capacityConfiguration,
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 -> [DocumentAttributeConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DocumentAttributeConfigurations"
([DocumentAttributeConfigurationProperty] -> (Key, Value))
-> Maybe [DocumentAttributeConfigurationProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DocumentAttributeConfigurationProperty]
documentAttributeConfigurations,
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 -> 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
"Type" (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)
type']))}
instance JSON.ToJSON Index where
toJSON :: Index -> Value
toJSON Index {Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
applicationId :: Index -> Value Text
capacityConfiguration :: Index -> Maybe IndexCapacityConfigurationProperty
description :: Index -> Maybe (Value Text)
displayName :: Index -> Value Text
documentAttributeConfigurations :: Index -> Maybe [DocumentAttributeConfigurationProperty]
tags :: Index -> Maybe [Tag]
type' :: Index -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: 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
"ApplicationId" 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
applicationId,
Key
"DisplayName" 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
displayName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> IndexCapacityConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CapacityConfiguration"
(IndexCapacityConfigurationProperty -> (Key, Value))
-> Maybe IndexCapacityConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe IndexCapacityConfigurationProperty
capacityConfiguration,
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 -> [DocumentAttributeConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DocumentAttributeConfigurations"
([DocumentAttributeConfigurationProperty] -> (Key, Value))
-> Maybe [DocumentAttributeConfigurationProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DocumentAttributeConfigurationProperty]
documentAttributeConfigurations,
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 -> 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
"Type" (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)
type'])))
instance Property "ApplicationId" Index where
type PropertyType "ApplicationId" Index = Value Prelude.Text
set :: PropertyType "ApplicationId" Index -> Index -> Index
set PropertyType "ApplicationId" Index
newValue Index {Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
applicationId :: Index -> Value Text
capacityConfiguration :: Index -> Maybe IndexCapacityConfigurationProperty
description :: Index -> Maybe (Value Text)
displayName :: Index -> Value Text
documentAttributeConfigurations :: Index -> Maybe [DocumentAttributeConfigurationProperty]
tags :: Index -> Maybe [Tag]
type' :: Index -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..} = Index {applicationId :: Value Text
applicationId = PropertyType "ApplicationId" Index
Value Text
newValue, Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..}
instance Property "CapacityConfiguration" Index where
type PropertyType "CapacityConfiguration" Index = IndexCapacityConfigurationProperty
set :: PropertyType "CapacityConfiguration" Index -> Index -> Index
set PropertyType "CapacityConfiguration" Index
newValue Index {Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
applicationId :: Index -> Value Text
capacityConfiguration :: Index -> Maybe IndexCapacityConfigurationProperty
description :: Index -> Maybe (Value Text)
displayName :: Index -> Value Text
documentAttributeConfigurations :: Index -> Maybe [DocumentAttributeConfigurationProperty]
tags :: Index -> Maybe [Tag]
type' :: Index -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..}
= Index {capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
capacityConfiguration = IndexCapacityConfigurationProperty
-> Maybe IndexCapacityConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CapacityConfiguration" Index
IndexCapacityConfigurationProperty
newValue, Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..}
instance Property "Description" Index where
type PropertyType "Description" Index = Value Prelude.Text
set :: PropertyType "Description" Index -> Index -> Index
set PropertyType "Description" Index
newValue Index {Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
applicationId :: Index -> Value Text
capacityConfiguration :: Index -> Maybe IndexCapacityConfigurationProperty
description :: Index -> Maybe (Value Text)
displayName :: Index -> Value Text
documentAttributeConfigurations :: Index -> Maybe [DocumentAttributeConfigurationProperty]
tags :: Index -> Maybe [Tag]
type' :: Index -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..}
= Index {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" Index
Value Text
newValue, Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..}
instance Property "DisplayName" Index where
type PropertyType "DisplayName" Index = Value Prelude.Text
set :: PropertyType "DisplayName" Index -> Index -> Index
set PropertyType "DisplayName" Index
newValue Index {Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
applicationId :: Index -> Value Text
capacityConfiguration :: Index -> Maybe IndexCapacityConfigurationProperty
description :: Index -> Maybe (Value Text)
displayName :: Index -> Value Text
documentAttributeConfigurations :: Index -> Maybe [DocumentAttributeConfigurationProperty]
tags :: Index -> Maybe [Tag]
type' :: Index -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..} = Index {displayName :: Value Text
displayName = PropertyType "DisplayName" Index
Value Text
newValue, Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..}
instance Property "DocumentAttributeConfigurations" Index where
type PropertyType "DocumentAttributeConfigurations" Index = [DocumentAttributeConfigurationProperty]
set :: PropertyType "DocumentAttributeConfigurations" Index
-> Index -> Index
set PropertyType "DocumentAttributeConfigurations" Index
newValue Index {Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
applicationId :: Index -> Value Text
capacityConfiguration :: Index -> Maybe IndexCapacityConfigurationProperty
description :: Index -> Maybe (Value Text)
displayName :: Index -> Value Text
documentAttributeConfigurations :: Index -> Maybe [DocumentAttributeConfigurationProperty]
tags :: Index -> Maybe [Tag]
type' :: Index -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..}
= Index
{documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
documentAttributeConfigurations = [DocumentAttributeConfigurationProperty]
-> Maybe [DocumentAttributeConfigurationProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [DocumentAttributeConfigurationProperty]
PropertyType "DocumentAttributeConfigurations" Index
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..}
instance Property "Tags" Index where
type PropertyType "Tags" Index = [Tag]
set :: PropertyType "Tags" Index -> Index -> Index
set PropertyType "Tags" Index
newValue Index {Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
applicationId :: Index -> Value Text
capacityConfiguration :: Index -> Maybe IndexCapacityConfigurationProperty
description :: Index -> Maybe (Value Text)
displayName :: Index -> Value Text
documentAttributeConfigurations :: Index -> Maybe [DocumentAttributeConfigurationProperty]
tags :: Index -> Maybe [Tag]
type' :: Index -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..} = Index {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" Index
newValue, Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
type' :: Maybe (Value Text)
..}
instance Property "Type" Index where
type PropertyType "Type" Index = Value Prelude.Text
set :: PropertyType "Type" Index -> Index -> Index
set PropertyType "Type" Index
newValue Index {Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
applicationId :: Index -> Value Text
capacityConfiguration :: Index -> Maybe IndexCapacityConfigurationProperty
description :: Index -> Maybe (Value Text)
displayName :: Index -> Value Text
documentAttributeConfigurations :: Index -> Maybe [DocumentAttributeConfigurationProperty]
tags :: Index -> Maybe [Tag]
type' :: Index -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
type' :: Maybe (Value Text)
..} = Index {type' :: Maybe (Value Text)
type' = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Type" Index
Value Text
newValue, Maybe [Tag]
Maybe [DocumentAttributeConfigurationProperty]
Maybe (Value Text)
Maybe IndexCapacityConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
applicationId :: Value Text
capacityConfiguration :: Maybe IndexCapacityConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
documentAttributeConfigurations :: Maybe [DocumentAttributeConfigurationProperty]
tags :: Maybe [Tag]
..}