module Stratosphere.DynamoDB.GlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty (
        module Exports,
        ReplicaGlobalSecondaryIndexSpecificationProperty(..),
        mkReplicaGlobalSecondaryIndexSpecificationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.DynamoDB.GlobalTable.ContributorInsightsSpecificationProperty as Exports
import {-# SOURCE #-} Stratosphere.DynamoDB.GlobalTable.ReadOnDemandThroughputSettingsProperty as Exports
import {-# SOURCE #-} Stratosphere.DynamoDB.GlobalTable.ReadProvisionedThroughputSettingsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ReplicaGlobalSecondaryIndexSpecificationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html>
    ReplicaGlobalSecondaryIndexSpecificationProperty {ReplicaGlobalSecondaryIndexSpecificationProperty -> ()
haddock_workaround_ :: (),
                                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html#cfn-dynamodb-globaltable-replicaglobalsecondaryindexspecification-contributorinsightsspecification>
                                                      ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ContributorInsightsSpecificationProperty
contributorInsightsSpecification :: (Prelude.Maybe ContributorInsightsSpecificationProperty),
                                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html#cfn-dynamodb-globaltable-replicaglobalsecondaryindexspecification-indexname>
                                                      ReplicaGlobalSecondaryIndexSpecificationProperty -> Value Text
indexName :: (Value Prelude.Text),
                                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html#cfn-dynamodb-globaltable-replicaglobalsecondaryindexspecification-readondemandthroughputsettings>
                                                      ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadOnDemandThroughputSettingsProperty
readOnDemandThroughputSettings :: (Prelude.Maybe ReadOnDemandThroughputSettingsProperty),
                                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html#cfn-dynamodb-globaltable-replicaglobalsecondaryindexspecification-readprovisionedthroughputsettings>
                                                      ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadProvisionedThroughputSettingsProperty
readProvisionedThroughputSettings :: (Prelude.Maybe ReadProvisionedThroughputSettingsProperty)}
  deriving stock (ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty -> Bool
(ReplicaGlobalSecondaryIndexSpecificationProperty
 -> ReplicaGlobalSecondaryIndexSpecificationProperty -> Bool)
-> (ReplicaGlobalSecondaryIndexSpecificationProperty
    -> ReplicaGlobalSecondaryIndexSpecificationProperty -> Bool)
-> Eq ReplicaGlobalSecondaryIndexSpecificationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty -> Bool
== :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty -> Bool
$c/= :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty -> Bool
/= :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty -> Bool
Prelude.Eq, Int -> ReplicaGlobalSecondaryIndexSpecificationProperty -> ShowS
[ReplicaGlobalSecondaryIndexSpecificationProperty] -> ShowS
ReplicaGlobalSecondaryIndexSpecificationProperty -> String
(Int -> ReplicaGlobalSecondaryIndexSpecificationProperty -> ShowS)
-> (ReplicaGlobalSecondaryIndexSpecificationProperty -> String)
-> ([ReplicaGlobalSecondaryIndexSpecificationProperty] -> ShowS)
-> Show ReplicaGlobalSecondaryIndexSpecificationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ReplicaGlobalSecondaryIndexSpecificationProperty -> ShowS
showsPrec :: Int -> ReplicaGlobalSecondaryIndexSpecificationProperty -> ShowS
$cshow :: ReplicaGlobalSecondaryIndexSpecificationProperty -> String
show :: ReplicaGlobalSecondaryIndexSpecificationProperty -> String
$cshowList :: [ReplicaGlobalSecondaryIndexSpecificationProperty] -> ShowS
showList :: [ReplicaGlobalSecondaryIndexSpecificationProperty] -> ShowS
Prelude.Show)
mkReplicaGlobalSecondaryIndexSpecificationProperty ::
  Value Prelude.Text
  -> ReplicaGlobalSecondaryIndexSpecificationProperty
mkReplicaGlobalSecondaryIndexSpecificationProperty :: Value Text -> ReplicaGlobalSecondaryIndexSpecificationProperty
mkReplicaGlobalSecondaryIndexSpecificationProperty Value Text
indexName
  = ReplicaGlobalSecondaryIndexSpecificationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), indexName :: Value Text
indexName = Value Text
indexName,
       contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
contributorInsightsSpecification = Maybe ContributorInsightsSpecificationProperty
forall a. Maybe a
Prelude.Nothing,
       readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
readOnDemandThroughputSettings = Maybe ReadOnDemandThroughputSettingsProperty
forall a. Maybe a
Prelude.Nothing,
       readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
readProvisionedThroughputSettings = Maybe ReadProvisionedThroughputSettingsProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ReplicaGlobalSecondaryIndexSpecificationProperty where
  toResourceProperties :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> ResourceProperties
toResourceProperties
    ReplicaGlobalSecondaryIndexSpecificationProperty {Maybe ContributorInsightsSpecificationProperty
Maybe ReadOnDemandThroughputSettingsProperty
Maybe ReadProvisionedThroughputSettingsProperty
()
Value Text
haddock_workaround_ :: ReplicaGlobalSecondaryIndexSpecificationProperty -> ()
contributorInsightsSpecification :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ContributorInsightsSpecificationProperty
indexName :: ReplicaGlobalSecondaryIndexSpecificationProperty -> Value Text
readOnDemandThroughputSettings :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadProvisionedThroughputSettingsProperty
haddock_workaround_ :: ()
contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
indexName :: Value Text
readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::DynamoDB::GlobalTable.ReplicaGlobalSecondaryIndexSpecification",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"IndexName" 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
indexName]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> ContributorInsightsSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContributorInsightsSpecification"
                                 (ContributorInsightsSpecificationProperty -> (Key, Value))
-> Maybe ContributorInsightsSpecificationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ContributorInsightsSpecificationProperty
contributorInsightsSpecification,
                               Key -> ReadOnDemandThroughputSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ReadOnDemandThroughputSettings"
                                 (ReadOnDemandThroughputSettingsProperty -> (Key, Value))
-> Maybe ReadOnDemandThroughputSettingsProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ReadOnDemandThroughputSettingsProperty
readOnDemandThroughputSettings,
                               Key -> ReadProvisionedThroughputSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ReadProvisionedThroughputSettings"
                                 (ReadProvisionedThroughputSettingsProperty -> (Key, Value))
-> Maybe ReadProvisionedThroughputSettingsProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ReadProvisionedThroughputSettingsProperty
readProvisionedThroughputSettings]))}
instance JSON.ToJSON ReplicaGlobalSecondaryIndexSpecificationProperty where
  toJSON :: ReplicaGlobalSecondaryIndexSpecificationProperty -> Value
toJSON ReplicaGlobalSecondaryIndexSpecificationProperty {Maybe ContributorInsightsSpecificationProperty
Maybe ReadOnDemandThroughputSettingsProperty
Maybe ReadProvisionedThroughputSettingsProperty
()
Value Text
haddock_workaround_ :: ReplicaGlobalSecondaryIndexSpecificationProperty -> ()
contributorInsightsSpecification :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ContributorInsightsSpecificationProperty
indexName :: ReplicaGlobalSecondaryIndexSpecificationProperty -> Value Text
readOnDemandThroughputSettings :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadProvisionedThroughputSettingsProperty
haddock_workaround_ :: ()
contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
indexName :: Value Text
readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
..}
    = [(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
"IndexName" 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
indexName]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> ContributorInsightsSpecificationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContributorInsightsSpecification"
                    (ContributorInsightsSpecificationProperty -> (Key, Value))
-> Maybe ContributorInsightsSpecificationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ContributorInsightsSpecificationProperty
contributorInsightsSpecification,
                  Key -> ReadOnDemandThroughputSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ReadOnDemandThroughputSettings"
                    (ReadOnDemandThroughputSettingsProperty -> (Key, Value))
-> Maybe ReadOnDemandThroughputSettingsProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ReadOnDemandThroughputSettingsProperty
readOnDemandThroughputSettings,
                  Key -> ReadProvisionedThroughputSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ReadProvisionedThroughputSettings"
                    (ReadProvisionedThroughputSettingsProperty -> (Key, Value))
-> Maybe ReadProvisionedThroughputSettingsProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ReadProvisionedThroughputSettingsProperty
readProvisionedThroughputSettings])))
instance Property "ContributorInsightsSpecification" ReplicaGlobalSecondaryIndexSpecificationProperty where
  type PropertyType "ContributorInsightsSpecification" ReplicaGlobalSecondaryIndexSpecificationProperty = ContributorInsightsSpecificationProperty
  set :: PropertyType
  "ContributorInsightsSpecification"
  ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty
set PropertyType
  "ContributorInsightsSpecification"
  ReplicaGlobalSecondaryIndexSpecificationProperty
newValue ReplicaGlobalSecondaryIndexSpecificationProperty {Maybe ContributorInsightsSpecificationProperty
Maybe ReadOnDemandThroughputSettingsProperty
Maybe ReadProvisionedThroughputSettingsProperty
()
Value Text
haddock_workaround_ :: ReplicaGlobalSecondaryIndexSpecificationProperty -> ()
contributorInsightsSpecification :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ContributorInsightsSpecificationProperty
indexName :: ReplicaGlobalSecondaryIndexSpecificationProperty -> Value Text
readOnDemandThroughputSettings :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadProvisionedThroughputSettingsProperty
haddock_workaround_ :: ()
contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
indexName :: Value Text
readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
..}
    = ReplicaGlobalSecondaryIndexSpecificationProperty
        {contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
contributorInsightsSpecification = ContributorInsightsSpecificationProperty
-> Maybe ContributorInsightsSpecificationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "ContributorInsightsSpecification"
  ReplicaGlobalSecondaryIndexSpecificationProperty
ContributorInsightsSpecificationProperty
newValue, Maybe ReadOnDemandThroughputSettingsProperty
Maybe ReadProvisionedThroughputSettingsProperty
()
Value Text
haddock_workaround_ :: ()
indexName :: Value Text
readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
haddock_workaround_ :: ()
indexName :: Value Text
readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
..}
instance Property "IndexName" ReplicaGlobalSecondaryIndexSpecificationProperty where
  type PropertyType "IndexName" ReplicaGlobalSecondaryIndexSpecificationProperty = Value Prelude.Text
  set :: PropertyType
  "IndexName" ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty
set PropertyType
  "IndexName" ReplicaGlobalSecondaryIndexSpecificationProperty
newValue ReplicaGlobalSecondaryIndexSpecificationProperty {Maybe ContributorInsightsSpecificationProperty
Maybe ReadOnDemandThroughputSettingsProperty
Maybe ReadProvisionedThroughputSettingsProperty
()
Value Text
haddock_workaround_ :: ReplicaGlobalSecondaryIndexSpecificationProperty -> ()
contributorInsightsSpecification :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ContributorInsightsSpecificationProperty
indexName :: ReplicaGlobalSecondaryIndexSpecificationProperty -> Value Text
readOnDemandThroughputSettings :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadProvisionedThroughputSettingsProperty
haddock_workaround_ :: ()
contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
indexName :: Value Text
readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
..}
    = ReplicaGlobalSecondaryIndexSpecificationProperty
        {indexName :: Value Text
indexName = PropertyType
  "IndexName" ReplicaGlobalSecondaryIndexSpecificationProperty
Value Text
newValue, Maybe ContributorInsightsSpecificationProperty
Maybe ReadOnDemandThroughputSettingsProperty
Maybe ReadProvisionedThroughputSettingsProperty
()
haddock_workaround_ :: ()
contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
haddock_workaround_ :: ()
contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
..}
instance Property "ReadOnDemandThroughputSettings" ReplicaGlobalSecondaryIndexSpecificationProperty where
  type PropertyType "ReadOnDemandThroughputSettings" ReplicaGlobalSecondaryIndexSpecificationProperty = ReadOnDemandThroughputSettingsProperty
  set :: PropertyType
  "ReadOnDemandThroughputSettings"
  ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty
set PropertyType
  "ReadOnDemandThroughputSettings"
  ReplicaGlobalSecondaryIndexSpecificationProperty
newValue ReplicaGlobalSecondaryIndexSpecificationProperty {Maybe ContributorInsightsSpecificationProperty
Maybe ReadOnDemandThroughputSettingsProperty
Maybe ReadProvisionedThroughputSettingsProperty
()
Value Text
haddock_workaround_ :: ReplicaGlobalSecondaryIndexSpecificationProperty -> ()
contributorInsightsSpecification :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ContributorInsightsSpecificationProperty
indexName :: ReplicaGlobalSecondaryIndexSpecificationProperty -> Value Text
readOnDemandThroughputSettings :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadProvisionedThroughputSettingsProperty
haddock_workaround_ :: ()
contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
indexName :: Value Text
readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
..}
    = ReplicaGlobalSecondaryIndexSpecificationProperty
        {readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
readOnDemandThroughputSettings = ReadOnDemandThroughputSettingsProperty
-> Maybe ReadOnDemandThroughputSettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "ReadOnDemandThroughputSettings"
  ReplicaGlobalSecondaryIndexSpecificationProperty
ReadOnDemandThroughputSettingsProperty
newValue, Maybe ContributorInsightsSpecificationProperty
Maybe ReadProvisionedThroughputSettingsProperty
()
Value Text
haddock_workaround_ :: ()
contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
indexName :: Value Text
readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
haddock_workaround_ :: ()
contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
indexName :: Value Text
readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
..}
instance Property "ReadProvisionedThroughputSettings" ReplicaGlobalSecondaryIndexSpecificationProperty where
  type PropertyType "ReadProvisionedThroughputSettings" ReplicaGlobalSecondaryIndexSpecificationProperty = ReadProvisionedThroughputSettingsProperty
  set :: PropertyType
  "ReadProvisionedThroughputSettings"
  ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty
-> ReplicaGlobalSecondaryIndexSpecificationProperty
set PropertyType
  "ReadProvisionedThroughputSettings"
  ReplicaGlobalSecondaryIndexSpecificationProperty
newValue ReplicaGlobalSecondaryIndexSpecificationProperty {Maybe ContributorInsightsSpecificationProperty
Maybe ReadOnDemandThroughputSettingsProperty
Maybe ReadProvisionedThroughputSettingsProperty
()
Value Text
haddock_workaround_ :: ReplicaGlobalSecondaryIndexSpecificationProperty -> ()
contributorInsightsSpecification :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ContributorInsightsSpecificationProperty
indexName :: ReplicaGlobalSecondaryIndexSpecificationProperty -> Value Text
readOnDemandThroughputSettings :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: ReplicaGlobalSecondaryIndexSpecificationProperty
-> Maybe ReadProvisionedThroughputSettingsProperty
haddock_workaround_ :: ()
contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
indexName :: Value Text
readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
..}
    = ReplicaGlobalSecondaryIndexSpecificationProperty
        {readProvisionedThroughputSettings :: Maybe ReadProvisionedThroughputSettingsProperty
readProvisionedThroughputSettings = ReadProvisionedThroughputSettingsProperty
-> Maybe ReadProvisionedThroughputSettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "ReadProvisionedThroughputSettings"
  ReplicaGlobalSecondaryIndexSpecificationProperty
ReadProvisionedThroughputSettingsProperty
newValue, Maybe ContributorInsightsSpecificationProperty
Maybe ReadOnDemandThroughputSettingsProperty
()
Value Text
haddock_workaround_ :: ()
contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
indexName :: Value Text
readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
haddock_workaround_ :: ()
contributorInsightsSpecification :: Maybe ContributorInsightsSpecificationProperty
indexName :: Value Text
readOnDemandThroughputSettings :: Maybe ReadOnDemandThroughputSettingsProperty
..}