Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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
CreateTable | |
|
Show CreateTable | |
Generic CreateTable | |
ToJSON CreateTable | |
SignQuery CreateTable | ServiceConfiguration: |
Transaction CreateTable CreateTableResult | |
type Rep CreateTable | |
type ServiceConfiguration CreateTable = DdbConfiguration |
:: Text | Table name |
-> [AttributeDefinition] | |
-> KeySchema | |
-> ProvisionedThroughput | |
-> CreateTable |
newtype CreateTableResult Source
data DescribeTable Source
newtype DescribeTableResult Source
data UpdateTable Source
Show UpdateTable | |
Generic UpdateTable | |
ToJSON UpdateTable | |
SignQuery UpdateTable | ServiceConfiguration: |
Transaction UpdateTable UpdateTableResult | |
type Rep UpdateTable | |
type ServiceConfiguration UpdateTable = DdbConfiguration |
newtype UpdateTableResult Source
data DeleteTable Source
Show DeleteTable | |
Generic DeleteTable | |
ToJSON DeleteTable | |
SignQuery DeleteTable | ServiceConfiguration: |
Transaction DeleteTable DeleteTableResult | |
type Rep DeleteTable | |
type ServiceConfiguration DeleteTable = DdbConfiguration |
newtype DeleteTableResult Source
data ListTables Source
TODO: currently this does not support restarting a cutoff query because of size.
Show ListTables | |
ToJSON ListTables | |
SignQuery ListTables | ServiceConfiguration: |
Transaction ListTables ListTablesResult | |
type ServiceConfiguration ListTables = DdbConfiguration |
newtype ListTablesResult Source
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.
data AttributeDefinition Source
A key attribute that appears in the table key or as a key in one of the indices.
The key schema can either be a hash of a single attribute name or a hash attribute name and a range attribute name.
data Projection Source
This determines which attributes are projected into a secondary index.
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.
data LocalSecondaryIndexStatus Source
This is returned by AWS to describe the local secondary index.
data ProvisionedThroughput Source
The target provisioned throughput you are requesting for the table or global secondary index.
data ProvisionedThroughputStatus Source
This is returned by AWS as the status of the throughput for a table or global secondary index.
data GlobalSecondaryIndexStatus Source
This is returned by AWS to describe the status of a global secondary index.
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.
data TableDescription Source
This describes the table and is the return value from AWS for all the table-related commands.
TableDescription | |
|