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