Safe Haskell | None |
---|---|
Language | Haskell2010 |
Aws.DynamoDb.Commands.Table
Synopsis
- data CreateTable = CreateTable {}
- createTable :: Text -> [AttributeDefinition] -> KeySchema -> ProvisionedThroughput -> CreateTable
- newtype CreateTableResult = CreateTableResult {}
- data DescribeTable = DescribeTable {
- dTableName :: Text
- newtype DescribeTableResult = DescribeTableResult {}
- data UpdateTable = UpdateTable {}
- newtype UpdateTableResult = UpdateTableResult {}
- data DeleteTable = DeleteTable {}
- newtype DeleteTableResult = DeleteTableResult {}
- data ListTables = ListTables
- newtype ListTablesResult = ListTablesResult {
- tableNames :: [Text]
- data AttributeType
- data AttributeDefinition = AttributeDefinition {}
- data KeySchema
- data Projection
- data LocalSecondaryIndex = LocalSecondaryIndex {}
- data LocalSecondaryIndexStatus = LocalSecondaryIndexStatus {}
- data ProvisionedThroughput = ProvisionedThroughput {}
- data ProvisionedThroughputStatus = ProvisionedThroughputStatus {}
- data GlobalSecondaryIndex = GlobalSecondaryIndex {}
- data GlobalSecondaryIndexStatus = GlobalSecondaryIndexStatus {}
- data GlobalSecondaryIndexUpdate = GlobalSecondaryIndexUpdate {}
- data TableDescription = TableDescription {
- rTableName :: Text
- rTableSizeBytes :: Integer
- rTableStatus :: Text
- rCreationDateTime :: Maybe UTCTime
- rItemCount :: Integer
- rAttributeDefinitions :: [AttributeDefinition]
- rKeySchema :: Maybe KeySchema
- rProvisionedThroughput :: ProvisionedThroughputStatus
- rLocalSecondaryIndexes :: [LocalSecondaryIndexStatus]
- rGlobalSecondaryIndexes :: [GlobalSecondaryIndexStatus]
Commands
data CreateTable Source #
Constructors
CreateTable | |
Fields
|
Instances
Arguments
:: Text | Table name |
-> [AttributeDefinition] | |
-> KeySchema | |
-> ProvisionedThroughput | |
-> CreateTable |
newtype CreateTableResult Source #
Constructors
CreateTableResult | |
Fields |
Instances
FromJSON CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser CreateTableResult # parseJSONList :: Value -> Parser [CreateTableResult] # | |||||
AsMemoryResponse CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods loadToMemory :: CreateTableResult -> ResourceT IO (MemoryResponse CreateTableResult) Source # | |||||
Show CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> CreateTableResult -> ShowS # show :: CreateTableResult -> String # showList :: [CreateTableResult] -> ShowS # | |||||
ResponseConsumer r CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods responseConsumer :: Request -> r -> IORef (ResponseMetadata CreateTableResult) -> HTTPResponseConsumer CreateTableResult Source # | |||||
Transaction CreateTable CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type MemoryResponse CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type ResponseMetadata CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table |
data DescribeTable Source #
Constructors
DescribeTable | |
Fields
|
Instances
ToJSON DescribeTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: DescribeTable -> Value # toEncoding :: DescribeTable -> Encoding # toJSONList :: [DescribeTable] -> Value # toEncodingList :: [DescribeTable] -> Encoding # omitField :: DescribeTable -> Bool # | |||||
SignQuery DescribeTable Source # | ServiceConfiguration: | ||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods signQuery :: DescribeTable -> ServiceConfiguration DescribeTable queryType -> SignatureData -> SignedQuery Source # | |||||
Generic DescribeTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
| |||||
Show DescribeTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> DescribeTable -> ShowS # show :: DescribeTable -> String # showList :: [DescribeTable] -> ShowS # | |||||
Transaction DescribeTable DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type ServiceConfiguration DescribeTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type Rep DescribeTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep DescribeTable = D1 ('MetaData "DescribeTable" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "DescribeTable" 'PrefixI 'True) (S1 ('MetaSel ('Just "dTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
newtype DescribeTableResult Source #
Constructors
DescribeTableResult | |
Fields |
Instances
FromJSON DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser DescribeTableResult # parseJSONList :: Value -> Parser [DescribeTableResult] # | |||||
AsMemoryResponse DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods loadToMemory :: DescribeTableResult -> ResourceT IO (MemoryResponse DescribeTableResult) Source # | |||||
Show DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> DescribeTableResult -> ShowS # show :: DescribeTableResult -> String # showList :: [DescribeTableResult] -> ShowS # | |||||
ResponseConsumer r DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods responseConsumer :: Request -> r -> IORef (ResponseMetadata DescribeTableResult) -> HTTPResponseConsumer DescribeTableResult Source # | |||||
Transaction DescribeTable DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type MemoryResponse DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type ResponseMetadata DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table |
data UpdateTable Source #
Constructors
UpdateTable | |
Instances
ToJSON UpdateTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: UpdateTable -> Value # toEncoding :: UpdateTable -> Encoding # toJSONList :: [UpdateTable] -> Value # toEncodingList :: [UpdateTable] -> Encoding # omitField :: UpdateTable -> Bool # | |||||
SignQuery UpdateTable Source # | ServiceConfiguration: | ||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods signQuery :: UpdateTable -> ServiceConfiguration UpdateTable queryType -> SignatureData -> SignedQuery Source # | |||||
Generic UpdateTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
| |||||
Show UpdateTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> UpdateTable -> ShowS # show :: UpdateTable -> String # showList :: [UpdateTable] -> ShowS # | |||||
Transaction UpdateTable UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type ServiceConfiguration UpdateTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type Rep UpdateTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep UpdateTable = D1 ('MetaData "UpdateTable" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "UpdateTable" 'PrefixI 'True) (S1 ('MetaSel ('Just "updateTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "updateProvisionedThroughput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProvisionedThroughput) :*: S1 ('MetaSel ('Just "updateGlobalSecondaryIndexUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GlobalSecondaryIndexUpdate])))) |
newtype UpdateTableResult Source #
Constructors
UpdateTableResult | |
Fields |
Instances
FromJSON UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser UpdateTableResult # parseJSONList :: Value -> Parser [UpdateTableResult] # | |||||
AsMemoryResponse UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods loadToMemory :: UpdateTableResult -> ResourceT IO (MemoryResponse UpdateTableResult) Source # | |||||
Show UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> UpdateTableResult -> ShowS # show :: UpdateTableResult -> String # showList :: [UpdateTableResult] -> ShowS # | |||||
ResponseConsumer r UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods responseConsumer :: Request -> r -> IORef (ResponseMetadata UpdateTableResult) -> HTTPResponseConsumer UpdateTableResult Source # | |||||
Transaction UpdateTable UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type MemoryResponse UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type ResponseMetadata UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table |
data DeleteTable Source #
Constructors
DeleteTable | |
Fields |
Instances
ToJSON DeleteTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: DeleteTable -> Value # toEncoding :: DeleteTable -> Encoding # toJSONList :: [DeleteTable] -> Value # toEncodingList :: [DeleteTable] -> Encoding # omitField :: DeleteTable -> Bool # | |||||
SignQuery DeleteTable Source # | ServiceConfiguration: | ||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods signQuery :: DeleteTable -> ServiceConfiguration DeleteTable queryType -> SignatureData -> SignedQuery Source # | |||||
Generic DeleteTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
| |||||
Show DeleteTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> DeleteTable -> ShowS # show :: DeleteTable -> String # showList :: [DeleteTable] -> ShowS # | |||||
Transaction DeleteTable DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type ServiceConfiguration DeleteTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type Rep DeleteTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep DeleteTable = D1 ('MetaData "DeleteTable" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "DeleteTable" 'PrefixI 'True) (S1 ('MetaSel ('Just "deleteTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
newtype DeleteTableResult Source #
Constructors
DeleteTableResult | |
Fields |
Instances
FromJSON DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser DeleteTableResult # parseJSONList :: Value -> Parser [DeleteTableResult] # | |||||
AsMemoryResponse DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods loadToMemory :: DeleteTableResult -> ResourceT IO (MemoryResponse DeleteTableResult) Source # | |||||
Show DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> DeleteTableResult -> ShowS # show :: DeleteTableResult -> String # showList :: [DeleteTableResult] -> ShowS # | |||||
ResponseConsumer r DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods responseConsumer :: Request -> r -> IORef (ResponseMetadata DeleteTableResult) -> HTTPResponseConsumer DeleteTableResult Source # | |||||
Transaction DeleteTable DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type MemoryResponse DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type ResponseMetadata DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table |
data ListTables Source #
TODO: currently this does not support restarting a cutoff query because of size.
Constructors
ListTables |
Instances
ToJSON ListTables Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: ListTables -> Value # toEncoding :: ListTables -> Encoding # toJSONList :: [ListTables] -> Value # toEncodingList :: [ListTables] -> Encoding # omitField :: ListTables -> Bool # | |||||
SignQuery ListTables Source # | ServiceConfiguration: | ||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods signQuery :: ListTables -> ServiceConfiguration ListTables queryType -> SignatureData -> SignedQuery Source # | |||||
Show ListTables Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> ListTables -> ShowS # show :: ListTables -> String # showList :: [ListTables] -> ShowS # | |||||
Transaction ListTables ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type ServiceConfiguration ListTables Source # | |||||
Defined in Aws.DynamoDb.Commands.Table |
newtype ListTablesResult Source #
Constructors
ListTablesResult | |
Fields
|
Instances
FromJSON ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser ListTablesResult # parseJSONList :: Value -> Parser [ListTablesResult] # | |||||
AsMemoryResponse ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods loadToMemory :: ListTablesResult -> ResourceT IO (MemoryResponse ListTablesResult) Source # | |||||
Generic ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: ListTablesResult -> Rep ListTablesResult x # to :: Rep ListTablesResult x -> ListTablesResult # | |||||
Show ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> ListTablesResult -> ShowS # show :: ListTablesResult -> String # showList :: [ListTablesResult] -> ShowS # | |||||
ResponseConsumer r ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods responseConsumer :: Request -> r -> IORef (ResponseMetadata ListTablesResult) -> HTTPResponseConsumer ListTablesResult Source # | |||||
Transaction ListTables ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type MemoryResponse ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type ResponseMetadata ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
type Rep ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep ListTablesResult = D1 ('MetaData "ListTablesResult" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'True) (C1 ('MetaCons "ListTablesResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]))) |
Data passed in the commands
data AttributeType Source #
The type of a key attribute that appears in the table key or as a key in one of the indices.
Constructors
AttrString | |
AttrNumber | |
AttrBinary |
Instances
FromJSON AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser AttributeType # parseJSONList :: Value -> Parser [AttributeType] # | |||||
ToJSON AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: AttributeType -> Value # toEncoding :: AttributeType -> Encoding # toJSONList :: [AttributeType] -> Value # toEncodingList :: [AttributeType] -> Encoding # omitField :: AttributeType -> Bool # | |||||
Bounded AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
Enum AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods succ :: AttributeType -> AttributeType # pred :: AttributeType -> AttributeType # toEnum :: Int -> AttributeType # fromEnum :: AttributeType -> Int # enumFrom :: AttributeType -> [AttributeType] # enumFromThen :: AttributeType -> AttributeType -> [AttributeType] # enumFromTo :: AttributeType -> AttributeType -> [AttributeType] # enumFromThenTo :: AttributeType -> AttributeType -> AttributeType -> [AttributeType] # | |||||
Generic AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
| |||||
Read AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods readsPrec :: Int -> ReadS AttributeType # readList :: ReadS [AttributeType] # | |||||
Show AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> AttributeType -> ShowS # show :: AttributeType -> String # showList :: [AttributeType] -> ShowS # | |||||
Eq AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods (==) :: AttributeType -> AttributeType -> Bool # (/=) :: AttributeType -> AttributeType -> Bool # | |||||
Ord AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods compare :: AttributeType -> AttributeType -> Ordering # (<) :: AttributeType -> AttributeType -> Bool # (<=) :: AttributeType -> AttributeType -> Bool # (>) :: AttributeType -> AttributeType -> Bool # (>=) :: AttributeType -> AttributeType -> Bool # max :: AttributeType -> AttributeType -> AttributeType # min :: AttributeType -> AttributeType -> AttributeType # | |||||
type Rep AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep AttributeType = D1 ('MetaData "AttributeType" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "AttrString" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AttrNumber" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AttrBinary" 'PrefixI 'False) (U1 :: Type -> Type))) |
data AttributeDefinition Source #
A key attribute that appears in the table key or as a key in one of the indices.
Constructors
AttributeDefinition | |
Fields |
Instances
FromJSON AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser AttributeDefinition # parseJSONList :: Value -> Parser [AttributeDefinition] # | |||||
ToJSON AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: AttributeDefinition -> Value # toEncoding :: AttributeDefinition -> Encoding # toJSONList :: [AttributeDefinition] -> Value # toEncodingList :: [AttributeDefinition] -> Encoding # omitField :: AttributeDefinition -> Bool # | |||||
Generic AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: AttributeDefinition -> Rep AttributeDefinition x # to :: Rep AttributeDefinition x -> AttributeDefinition # | |||||
Read AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods readsPrec :: Int -> ReadS AttributeDefinition # readList :: ReadS [AttributeDefinition] # | |||||
Show AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> AttributeDefinition -> ShowS # show :: AttributeDefinition -> String # showList :: [AttributeDefinition] -> ShowS # | |||||
Eq AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods (==) :: AttributeDefinition -> AttributeDefinition -> Bool # (/=) :: AttributeDefinition -> AttributeDefinition -> Bool # | |||||
Ord AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods compare :: AttributeDefinition -> AttributeDefinition -> Ordering # (<) :: AttributeDefinition -> AttributeDefinition -> Bool # (<=) :: AttributeDefinition -> AttributeDefinition -> Bool # (>) :: AttributeDefinition -> AttributeDefinition -> Bool # (>=) :: AttributeDefinition -> AttributeDefinition -> Bool # max :: AttributeDefinition -> AttributeDefinition -> AttributeDefinition # min :: AttributeDefinition -> AttributeDefinition -> AttributeDefinition # | |||||
type Rep AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep AttributeDefinition = D1 ('MetaData "AttributeDefinition" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "AttributeDefinition" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AttributeType))) |
The key schema can either be a hash of a single attribute name or a hash attribute name and a range attribute name.
Constructors
HashOnly Text | |
HashAndRange Text Text |
Instances
FromJSON KeySchema Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
ToJSON KeySchema Source # | |||||
Generic KeySchema Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
| |||||
Read KeySchema Source # | |||||
Show KeySchema Source # | |||||
Eq KeySchema Source # | |||||
Ord KeySchema Source # | |||||
type Rep KeySchema Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep KeySchema = D1 ('MetaData "KeySchema" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "HashOnly" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "HashAndRange" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
data Projection Source #
This determines which attributes are projected into a secondary index.
Constructors
ProjectKeysOnly | |
ProjectAll | |
ProjectInclude [Text] |
Instances
FromJSON Projection Source # | |
Defined in Aws.DynamoDb.Commands.Table | |
ToJSON Projection Source # | |
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: Projection -> Value # toEncoding :: Projection -> Encoding # toJSONList :: [Projection] -> Value # toEncodingList :: [Projection] -> Encoding # omitField :: Projection -> Bool # | |
Show Projection Source # | |
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> Projection -> ShowS # show :: Projection -> String # showList :: [Projection] -> ShowS # |
data LocalSecondaryIndex Source #
Describes a single local secondary index. The KeySchema MUST share the same hash key attribute as the parent table, only the range key can differ.
Constructors
LocalSecondaryIndex | |
Fields |
Instances
FromJSON LocalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser LocalSecondaryIndex # parseJSONList :: Value -> Parser [LocalSecondaryIndex] # | |||||
ToJSON LocalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: LocalSecondaryIndex -> Value # toEncoding :: LocalSecondaryIndex -> Encoding # toJSONList :: [LocalSecondaryIndex] -> Value # toEncodingList :: [LocalSecondaryIndex] -> Encoding # omitField :: LocalSecondaryIndex -> Bool # | |||||
Generic LocalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: LocalSecondaryIndex -> Rep LocalSecondaryIndex x # to :: Rep LocalSecondaryIndex x -> LocalSecondaryIndex # | |||||
Show LocalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> LocalSecondaryIndex -> ShowS # show :: LocalSecondaryIndex -> String # showList :: [LocalSecondaryIndex] -> ShowS # | |||||
type Rep LocalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep LocalSecondaryIndex = D1 ('MetaData "LocalSecondaryIndex" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "LocalSecondaryIndex" 'PrefixI 'True) (S1 ('MetaSel ('Just "localIndexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "localKeySchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 KeySchema) :*: S1 ('MetaSel ('Just "localProjection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Projection)))) |
data LocalSecondaryIndexStatus Source #
This is returned by AWS to describe the local secondary index.
Constructors
LocalSecondaryIndexStatus | |
Instances
FromJSON LocalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser LocalSecondaryIndexStatus # parseJSONList :: Value -> Parser [LocalSecondaryIndexStatus] # | |||||
Generic LocalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: LocalSecondaryIndexStatus -> Rep LocalSecondaryIndexStatus x # to :: Rep LocalSecondaryIndexStatus x -> LocalSecondaryIndexStatus # | |||||
Show LocalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> LocalSecondaryIndexStatus -> ShowS # show :: LocalSecondaryIndexStatus -> String # showList :: [LocalSecondaryIndexStatus] -> ShowS # | |||||
type Rep LocalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep LocalSecondaryIndexStatus = D1 ('MetaData "LocalSecondaryIndexStatus" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "LocalSecondaryIndexStatus" 'PrefixI 'True) ((S1 ('MetaSel ('Just "locStatusIndexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "locStatusIndexSizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "locStatusItemCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "locStatusKeySchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 KeySchema) :*: S1 ('MetaSel ('Just "locStatusProjection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Projection))))) |
data ProvisionedThroughput Source #
The target provisioned throughput you are requesting for the table or global secondary index.
Constructors
ProvisionedThroughput | |
Fields |
Instances
FromJSON ProvisionedThroughput Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser ProvisionedThroughput # parseJSONList :: Value -> Parser [ProvisionedThroughput] # | |||||
ToJSON ProvisionedThroughput Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: ProvisionedThroughput -> Value # toEncoding :: ProvisionedThroughput -> Encoding # toJSONList :: [ProvisionedThroughput] -> Value # toEncodingList :: [ProvisionedThroughput] -> Encoding # omitField :: ProvisionedThroughput -> Bool # | |||||
Generic ProvisionedThroughput Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: ProvisionedThroughput -> Rep ProvisionedThroughput x # to :: Rep ProvisionedThroughput x -> ProvisionedThroughput # | |||||
Show ProvisionedThroughput Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> ProvisionedThroughput -> ShowS # show :: ProvisionedThroughput -> String # showList :: [ProvisionedThroughput] -> ShowS # | |||||
type Rep ProvisionedThroughput Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep ProvisionedThroughput = D1 ('MetaData "ProvisionedThroughput" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "ProvisionedThroughput" 'PrefixI 'True) (S1 ('MetaSel ('Just "readCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "writeCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) |
data ProvisionedThroughputStatus Source #
This is returned by AWS as the status of the throughput for a table or global secondary index.
Constructors
ProvisionedThroughputStatus | |
Instances
FromJSON ProvisionedThroughputStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
Generic ProvisionedThroughputStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: ProvisionedThroughputStatus -> Rep ProvisionedThroughputStatus x # to :: Rep ProvisionedThroughputStatus x -> ProvisionedThroughputStatus # | |||||
Show ProvisionedThroughputStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> ProvisionedThroughputStatus -> ShowS # show :: ProvisionedThroughputStatus -> String # showList :: [ProvisionedThroughputStatus] -> ShowS # | |||||
type Rep ProvisionedThroughputStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep ProvisionedThroughputStatus = D1 ('MetaData "ProvisionedThroughputStatus" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "ProvisionedThroughputStatus" 'PrefixI 'True) ((S1 ('MetaSel ('Just "statusLastDecreaseDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "statusLastIncreaseDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime)) :*: (S1 ('MetaSel ('Just "statusNumberOfDecreasesToday") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "statusReadCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "statusWriteCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))) |
data GlobalSecondaryIndex Source #
Describes a global secondary index.
Constructors
GlobalSecondaryIndex | |
Instances
FromJSON GlobalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser GlobalSecondaryIndex # parseJSONList :: Value -> Parser [GlobalSecondaryIndex] # | |||||
ToJSON GlobalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: GlobalSecondaryIndex -> Value # toEncoding :: GlobalSecondaryIndex -> Encoding # toJSONList :: [GlobalSecondaryIndex] -> Value # toEncodingList :: [GlobalSecondaryIndex] -> Encoding # omitField :: GlobalSecondaryIndex -> Bool # | |||||
Generic GlobalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: GlobalSecondaryIndex -> Rep GlobalSecondaryIndex x # to :: Rep GlobalSecondaryIndex x -> GlobalSecondaryIndex # | |||||
Show GlobalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> GlobalSecondaryIndex -> ShowS # show :: GlobalSecondaryIndex -> String # showList :: [GlobalSecondaryIndex] -> ShowS # | |||||
type Rep GlobalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep GlobalSecondaryIndex = D1 ('MetaData "GlobalSecondaryIndex" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "GlobalSecondaryIndex" 'PrefixI 'True) ((S1 ('MetaSel ('Just "globalIndexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "globalKeySchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 KeySchema)) :*: (S1 ('MetaSel ('Just "globalProjection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Projection) :*: S1 ('MetaSel ('Just "globalProvisionedThroughput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProvisionedThroughput)))) |
data GlobalSecondaryIndexStatus Source #
This is returned by AWS to describe the status of a global secondary index.
Constructors
GlobalSecondaryIndexStatus | |
Instances
FromJSON GlobalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
Generic GlobalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: GlobalSecondaryIndexStatus -> Rep GlobalSecondaryIndexStatus x # to :: Rep GlobalSecondaryIndexStatus x -> GlobalSecondaryIndexStatus # | |||||
Show GlobalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> GlobalSecondaryIndexStatus -> ShowS # show :: GlobalSecondaryIndexStatus -> String # showList :: [GlobalSecondaryIndexStatus] -> ShowS # | |||||
type Rep GlobalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep GlobalSecondaryIndexStatus = D1 ('MetaData "GlobalSecondaryIndexStatus" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "GlobalSecondaryIndexStatus" 'PrefixI 'True) ((S1 ('MetaSel ('Just "gStatusIndexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "gStatusIndexSizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "gStatusIndexStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "gStatusItemCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "gStatusKeySchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 KeySchema)) :*: (S1 ('MetaSel ('Just "gStatusProjection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Projection) :*: S1 ('MetaSel ('Just "gStatusProvisionedThroughput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProvisionedThroughputStatus))))) |
data GlobalSecondaryIndexUpdate Source #
This is used to request a change in the provisioned throughput of
a global secondary index as part of an UpdateTable
operation.
Constructors
GlobalSecondaryIndexUpdate | |
Instances
ToJSON GlobalSecondaryIndexUpdate Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: GlobalSecondaryIndexUpdate -> Value # toEncoding :: GlobalSecondaryIndexUpdate -> Encoding # toJSONList :: [GlobalSecondaryIndexUpdate] -> Value # toEncodingList :: [GlobalSecondaryIndexUpdate] -> Encoding # | |||||
Generic GlobalSecondaryIndexUpdate Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: GlobalSecondaryIndexUpdate -> Rep GlobalSecondaryIndexUpdate x # to :: Rep GlobalSecondaryIndexUpdate x -> GlobalSecondaryIndexUpdate # | |||||
Show GlobalSecondaryIndexUpdate Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> GlobalSecondaryIndexUpdate -> ShowS # show :: GlobalSecondaryIndexUpdate -> String # showList :: [GlobalSecondaryIndexUpdate] -> ShowS # | |||||
type Rep GlobalSecondaryIndexUpdate Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep GlobalSecondaryIndexUpdate = D1 ('MetaData "GlobalSecondaryIndexUpdate" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "GlobalSecondaryIndexUpdate" 'PrefixI 'True) (S1 ('MetaSel ('Just "gUpdateIndexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "gUpdateProvisionedThroughput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProvisionedThroughput))) |
data TableDescription Source #
This describes the table and is the return value from AWS for all the table-related commands.
Constructors
TableDescription | |
Fields
|
Instances
FromJSON TableDescription Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser TableDescription # parseJSONList :: Value -> Parser [TableDescription] # | |||||
Generic TableDescription Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: TableDescription -> Rep TableDescription x # to :: Rep TableDescription x -> TableDescription # | |||||
Show TableDescription Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> TableDescription -> ShowS # show :: TableDescription -> String # showList :: [TableDescription] -> ShowS # | |||||
type Rep TableDescription Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep TableDescription = D1 ('MetaData "TableDescription" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-BnbYIaZUvRh7BxHwVFwtK7" 'False) (C1 ('MetaCons "TableDescription" 'PrefixI 'True) (((S1 ('MetaSel ('Just "rTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "rTableSizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "rTableStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "rCreationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UTCTime)) :*: S1 ('MetaSel ('Just "rItemCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))) :*: ((S1 ('MetaSel ('Just "rAttributeDefinitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [AttributeDefinition]) :*: S1 ('MetaSel ('Just "rKeySchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe KeySchema))) :*: (S1 ('MetaSel ('Just "rProvisionedThroughput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProvisionedThroughputStatus) :*: (S1 ('MetaSel ('Just "rLocalSecondaryIndexes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LocalSecondaryIndexStatus]) :*: S1 ('MetaSel ('Just "rGlobalSecondaryIndexes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GlobalSecondaryIndexStatus])))))) |