module Stratosphere.Kendra.Index (
        module Exports, Index(..), mkIndex
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Kendra.Index.CapacityUnitsConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Kendra.Index.DocumentMetadataConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Kendra.Index.ServerSideEncryptionConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Kendra.Index.UserTokenConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Index
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html>
    Index {Index -> ()
haddock_workaround_ :: (),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-capacityunits>
           Index -> Maybe CapacityUnitsConfigurationProperty
capacityUnits :: (Prelude.Maybe CapacityUnitsConfigurationProperty),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-description>
           Index -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-documentmetadataconfigurations>
           Index -> Maybe [DocumentMetadataConfigurationProperty]
documentMetadataConfigurations :: (Prelude.Maybe [DocumentMetadataConfigurationProperty]),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-edition>
           Index -> Value Text
edition :: (Value Prelude.Text),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-name>
           Index -> Value Text
name :: (Value Prelude.Text),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-rolearn>
           Index -> Value Text
roleArn :: (Value Prelude.Text),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-serversideencryptionconfiguration>
           Index -> Maybe ServerSideEncryptionConfigurationProperty
serverSideEncryptionConfiguration :: (Prelude.Maybe ServerSideEncryptionConfigurationProperty),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-tags>
           Index -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-usercontextpolicy>
           Index -> Maybe (Value Text)
userContextPolicy :: (Prelude.Maybe (Value Prelude.Text)),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-usertokenconfigurations>
           Index -> Maybe [UserTokenConfigurationProperty]
userTokenConfigurations :: (Prelude.Maybe [UserTokenConfigurationProperty])}
  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 -> Value Prelude.Text -> Index
mkIndex :: Value Text -> Value Text -> Value Text -> Index
mkIndex Value Text
edition Value Text
name Value Text
roleArn
  = Index
      {haddock_workaround_ :: ()
haddock_workaround_ = (), edition :: Value Text
edition = Value Text
edition, name :: Value Text
name = Value Text
name,
       roleArn :: Value Text
roleArn = Value Text
roleArn, capacityUnits :: Maybe CapacityUnitsConfigurationProperty
capacityUnits = Maybe CapacityUnitsConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
documentMetadataConfigurations = Maybe [DocumentMetadataConfigurationProperty]
forall a. Maybe a
Prelude.Nothing,
       serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
serverSideEncryptionConfiguration = Maybe ServerSideEncryptionConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing, userContextPolicy :: Maybe (Value Text)
userContextPolicy = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
userTokenConfigurations = Maybe [UserTokenConfigurationProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Index where
  toResourceProperties :: Index -> ResourceProperties
toResourceProperties Index {Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
capacityUnits :: Index -> Maybe CapacityUnitsConfigurationProperty
description :: Index -> Maybe (Value Text)
documentMetadataConfigurations :: Index -> Maybe [DocumentMetadataConfigurationProperty]
edition :: Index -> Value Text
name :: Index -> Value Text
roleArn :: Index -> Value Text
serverSideEncryptionConfiguration :: Index -> Maybe ServerSideEncryptionConfigurationProperty
tags :: Index -> Maybe [Tag]
userContextPolicy :: Index -> Maybe (Value Text)
userTokenConfigurations :: Index -> Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Kendra::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
"Edition" 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
edition, 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 -> CapacityUnitsConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CapacityUnits" (CapacityUnitsConfigurationProperty -> (Key, Value))
-> Maybe CapacityUnitsConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CapacityUnitsConfigurationProperty
capacityUnits,
                               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 -> [DocumentMetadataConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DocumentMetadataConfigurations"
                                 ([DocumentMetadataConfigurationProperty] -> (Key, Value))
-> Maybe [DocumentMetadataConfigurationProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DocumentMetadataConfigurationProperty]
documentMetadataConfigurations,
                               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 -> [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
"UserContextPolicy" (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)
userContextPolicy,
                               Key -> [UserTokenConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"UserTokenConfigurations"
                                 ([UserTokenConfigurationProperty] -> (Key, Value))
-> Maybe [UserTokenConfigurationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [UserTokenConfigurationProperty]
userTokenConfigurations]))}
instance JSON.ToJSON Index where
  toJSON :: Index -> Value
toJSON Index {Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
capacityUnits :: Index -> Maybe CapacityUnitsConfigurationProperty
description :: Index -> Maybe (Value Text)
documentMetadataConfigurations :: Index -> Maybe [DocumentMetadataConfigurationProperty]
edition :: Index -> Value Text
name :: Index -> Value Text
roleArn :: Index -> Value Text
serverSideEncryptionConfiguration :: Index -> Maybe ServerSideEncryptionConfigurationProperty
tags :: Index -> Maybe [Tag]
userContextPolicy :: Index -> Maybe (Value Text)
userTokenConfigurations :: Index -> Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
    = [(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
"Edition" 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
edition, 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 -> CapacityUnitsConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CapacityUnits" (CapacityUnitsConfigurationProperty -> (Key, Value))
-> Maybe CapacityUnitsConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CapacityUnitsConfigurationProperty
capacityUnits,
                  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 -> [DocumentMetadataConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DocumentMetadataConfigurations"
                    ([DocumentMetadataConfigurationProperty] -> (Key, Value))
-> Maybe [DocumentMetadataConfigurationProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DocumentMetadataConfigurationProperty]
documentMetadataConfigurations,
                  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 -> [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
"UserContextPolicy" (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)
userContextPolicy,
                  Key -> [UserTokenConfigurationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"UserTokenConfigurations"
                    ([UserTokenConfigurationProperty] -> (Key, Value))
-> Maybe [UserTokenConfigurationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [UserTokenConfigurationProperty]
userTokenConfigurations])))
instance Property "CapacityUnits" Index where
  type PropertyType "CapacityUnits" Index = CapacityUnitsConfigurationProperty
  set :: PropertyType "CapacityUnits" Index -> Index -> Index
set PropertyType "CapacityUnits" Index
newValue Index {Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
capacityUnits :: Index -> Maybe CapacityUnitsConfigurationProperty
description :: Index -> Maybe (Value Text)
documentMetadataConfigurations :: Index -> Maybe [DocumentMetadataConfigurationProperty]
edition :: Index -> Value Text
name :: Index -> Value Text
roleArn :: Index -> Value Text
serverSideEncryptionConfiguration :: Index -> Maybe ServerSideEncryptionConfigurationProperty
tags :: Index -> Maybe [Tag]
userContextPolicy :: Index -> Maybe (Value Text)
userTokenConfigurations :: Index -> Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
    = Index {capacityUnits :: Maybe CapacityUnitsConfigurationProperty
capacityUnits = CapacityUnitsConfigurationProperty
-> Maybe CapacityUnitsConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CapacityUnits" Index
CapacityUnitsConfigurationProperty
newValue, Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
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 [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
capacityUnits :: Index -> Maybe CapacityUnitsConfigurationProperty
description :: Index -> Maybe (Value Text)
documentMetadataConfigurations :: Index -> Maybe [DocumentMetadataConfigurationProperty]
edition :: Index -> Value Text
name :: Index -> Value Text
roleArn :: Index -> Value Text
serverSideEncryptionConfiguration :: Index -> Maybe ServerSideEncryptionConfigurationProperty
tags :: Index -> Maybe [Tag]
userContextPolicy :: Index -> Maybe (Value Text)
userTokenConfigurations :: Index -> Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
    = 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 [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
instance Property "DocumentMetadataConfigurations" Index where
  type PropertyType "DocumentMetadataConfigurations" Index = [DocumentMetadataConfigurationProperty]
  set :: PropertyType "DocumentMetadataConfigurations" Index
-> Index -> Index
set PropertyType "DocumentMetadataConfigurations" Index
newValue Index {Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
capacityUnits :: Index -> Maybe CapacityUnitsConfigurationProperty
description :: Index -> Maybe (Value Text)
documentMetadataConfigurations :: Index -> Maybe [DocumentMetadataConfigurationProperty]
edition :: Index -> Value Text
name :: Index -> Value Text
roleArn :: Index -> Value Text
serverSideEncryptionConfiguration :: Index -> Maybe ServerSideEncryptionConfigurationProperty
tags :: Index -> Maybe [Tag]
userContextPolicy :: Index -> Maybe (Value Text)
userTokenConfigurations :: Index -> Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
    = Index
        {documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
documentMetadataConfigurations = [DocumentMetadataConfigurationProperty]
-> Maybe [DocumentMetadataConfigurationProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [DocumentMetadataConfigurationProperty]
PropertyType "DocumentMetadataConfigurations" Index
newValue, Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
instance Property "Edition" Index where
  type PropertyType "Edition" Index = Value Prelude.Text
  set :: PropertyType "Edition" Index -> Index -> Index
set PropertyType "Edition" Index
newValue Index {Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
capacityUnits :: Index -> Maybe CapacityUnitsConfigurationProperty
description :: Index -> Maybe (Value Text)
documentMetadataConfigurations :: Index -> Maybe [DocumentMetadataConfigurationProperty]
edition :: Index -> Value Text
name :: Index -> Value Text
roleArn :: Index -> Value Text
serverSideEncryptionConfiguration :: Index -> Maybe ServerSideEncryptionConfigurationProperty
tags :: Index -> Maybe [Tag]
userContextPolicy :: Index -> Maybe (Value Text)
userTokenConfigurations :: Index -> Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..} = Index {edition :: Value Text
edition = PropertyType "Edition" Index
Value Text
newValue, Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
instance Property "Name" Index where
  type PropertyType "Name" Index = Value Prelude.Text
  set :: PropertyType "Name" Index -> Index -> Index
set PropertyType "Name" Index
newValue Index {Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
capacityUnits :: Index -> Maybe CapacityUnitsConfigurationProperty
description :: Index -> Maybe (Value Text)
documentMetadataConfigurations :: Index -> Maybe [DocumentMetadataConfigurationProperty]
edition :: Index -> Value Text
name :: Index -> Value Text
roleArn :: Index -> Value Text
serverSideEncryptionConfiguration :: Index -> Maybe ServerSideEncryptionConfigurationProperty
tags :: Index -> Maybe [Tag]
userContextPolicy :: Index -> Maybe (Value Text)
userTokenConfigurations :: Index -> Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..} = Index {name :: Value Text
name = PropertyType "Name" Index
Value Text
newValue, Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
instance Property "RoleArn" Index where
  type PropertyType "RoleArn" Index = Value Prelude.Text
  set :: PropertyType "RoleArn" Index -> Index -> Index
set PropertyType "RoleArn" Index
newValue Index {Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
capacityUnits :: Index -> Maybe CapacityUnitsConfigurationProperty
description :: Index -> Maybe (Value Text)
documentMetadataConfigurations :: Index -> Maybe [DocumentMetadataConfigurationProperty]
edition :: Index -> Value Text
name :: Index -> Value Text
roleArn :: Index -> Value Text
serverSideEncryptionConfiguration :: Index -> Maybe ServerSideEncryptionConfigurationProperty
tags :: Index -> Maybe [Tag]
userContextPolicy :: Index -> Maybe (Value Text)
userTokenConfigurations :: Index -> Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..} = Index {roleArn :: Value Text
roleArn = PropertyType "RoleArn" Index
Value Text
newValue, Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
instance Property "ServerSideEncryptionConfiguration" Index where
  type PropertyType "ServerSideEncryptionConfiguration" Index = ServerSideEncryptionConfigurationProperty
  set :: PropertyType "ServerSideEncryptionConfiguration" Index
-> Index -> Index
set PropertyType "ServerSideEncryptionConfiguration" Index
newValue Index {Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
capacityUnits :: Index -> Maybe CapacityUnitsConfigurationProperty
description :: Index -> Maybe (Value Text)
documentMetadataConfigurations :: Index -> Maybe [DocumentMetadataConfigurationProperty]
edition :: Index -> Value Text
name :: Index -> Value Text
roleArn :: Index -> Value Text
serverSideEncryptionConfiguration :: Index -> Maybe ServerSideEncryptionConfigurationProperty
tags :: Index -> Maybe [Tag]
userContextPolicy :: Index -> Maybe (Value Text)
userTokenConfigurations :: Index -> Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
    = Index
        {serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
serverSideEncryptionConfiguration = ServerSideEncryptionConfigurationProperty
-> Maybe ServerSideEncryptionConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ServerSideEncryptionConfiguration" Index
ServerSideEncryptionConfigurationProperty
newValue, Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
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 [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
capacityUnits :: Index -> Maybe CapacityUnitsConfigurationProperty
description :: Index -> Maybe (Value Text)
documentMetadataConfigurations :: Index -> Maybe [DocumentMetadataConfigurationProperty]
edition :: Index -> Value Text
name :: Index -> Value Text
roleArn :: Index -> Value Text
serverSideEncryptionConfiguration :: Index -> Maybe ServerSideEncryptionConfigurationProperty
tags :: Index -> Maybe [Tag]
userContextPolicy :: Index -> Maybe (Value Text)
userTokenConfigurations :: Index -> Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..} = 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 [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
instance Property "UserContextPolicy" Index where
  type PropertyType "UserContextPolicy" Index = Value Prelude.Text
  set :: PropertyType "UserContextPolicy" Index -> Index -> Index
set PropertyType "UserContextPolicy" Index
newValue Index {Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
capacityUnits :: Index -> Maybe CapacityUnitsConfigurationProperty
description :: Index -> Maybe (Value Text)
documentMetadataConfigurations :: Index -> Maybe [DocumentMetadataConfigurationProperty]
edition :: Index -> Value Text
name :: Index -> Value Text
roleArn :: Index -> Value Text
serverSideEncryptionConfiguration :: Index -> Maybe ServerSideEncryptionConfigurationProperty
tags :: Index -> Maybe [Tag]
userContextPolicy :: Index -> Maybe (Value Text)
userTokenConfigurations :: Index -> Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
    = Index {userContextPolicy :: Maybe (Value Text)
userContextPolicy = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "UserContextPolicy" Index
Value Text
newValue, Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
instance Property "UserTokenConfigurations" Index where
  type PropertyType "UserTokenConfigurations" Index = [UserTokenConfigurationProperty]
  set :: PropertyType "UserTokenConfigurations" Index -> Index -> Index
set PropertyType "UserTokenConfigurations" Index
newValue Index {Maybe [Tag]
Maybe [UserTokenConfigurationProperty]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: Index -> ()
capacityUnits :: Index -> Maybe CapacityUnitsConfigurationProperty
description :: Index -> Maybe (Value Text)
documentMetadataConfigurations :: Index -> Maybe [DocumentMetadataConfigurationProperty]
edition :: Index -> Value Text
name :: Index -> Value Text
roleArn :: Index -> Value Text
serverSideEncryptionConfiguration :: Index -> Maybe ServerSideEncryptionConfigurationProperty
tags :: Index -> Maybe [Tag]
userContextPolicy :: Index -> Maybe (Value Text)
userTokenConfigurations :: Index -> Maybe [UserTokenConfigurationProperty]
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
..}
    = Index {userTokenConfigurations :: Maybe [UserTokenConfigurationProperty]
userTokenConfigurations = [UserTokenConfigurationProperty]
-> Maybe [UserTokenConfigurationProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [UserTokenConfigurationProperty]
PropertyType "UserTokenConfigurations" Index
newValue, Maybe [Tag]
Maybe [DocumentMetadataConfigurationProperty]
Maybe (Value Text)
Maybe CapacityUnitsConfigurationProperty
Maybe ServerSideEncryptionConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
haddock_workaround_ :: ()
capacityUnits :: Maybe CapacityUnitsConfigurationProperty
description :: Maybe (Value Text)
documentMetadataConfigurations :: Maybe [DocumentMetadataConfigurationProperty]
edition :: Value Text
name :: Value Text
roleArn :: Value Text
serverSideEncryptionConfiguration :: Maybe ServerSideEncryptionConfigurationProperty
tags :: Maybe [Tag]
userContextPolicy :: Maybe (Value Text)
..}