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 | |
Generic CreateTable | |
ToJSON CreateTable | |
SignQuery CreateTable | ServiceConfiguration: |
Transaction CreateTable CreateTableResult | |
type Rep CreateTable | |
type ServiceConfiguration CreateTable = DdbConfiguration |
Arguments
:: Text | Table name |
-> [AttributeDefinition] | |
-> KeySchema | |
-> ProvisionedThroughput | |
-> CreateTable |
newtype CreateTableResult Source
Constructors
CreateTableResult | |
Fields |
newtype DescribeTableResult Source
Constructors
DescribeTableResult | |
Fields |
data UpdateTable Source
Constructors
UpdateTable | |
Instances
Show UpdateTable | |
Generic UpdateTable | |
ToJSON UpdateTable | |
SignQuery UpdateTable | ServiceConfiguration: |
Transaction UpdateTable UpdateTableResult | |
type Rep UpdateTable | |
type ServiceConfiguration UpdateTable = DdbConfiguration |
newtype UpdateTableResult Source
Constructors
UpdateTableResult | |
Fields |
data DeleteTable Source
Constructors
DeleteTable | |
Fields |
Instances
Show DeleteTable | |
Generic DeleteTable | |
ToJSON DeleteTable | |
SignQuery DeleteTable | ServiceConfiguration: |
Transaction DeleteTable DeleteTableResult | |
type Rep DeleteTable | |
type ServiceConfiguration DeleteTable = DdbConfiguration |
newtype DeleteTableResult Source
Constructors
DeleteTableResult | |
Fields |
data ListTables Source
TODO: currently this does not support restarting a cutoff query because of size.
Constructors
ListTables |
Instances
Show ListTables | |
ToJSON ListTables | |
SignQuery ListTables | ServiceConfiguration: |
Transaction ListTables ListTablesResult | |
type ServiceConfiguration ListTables = DdbConfiguration |
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 |
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 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
|