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 #
Constructors
CreateTable | |
Fields
|
Instances
Show CreateTable # | |
Generic CreateTable # | |
ToJSON CreateTable # | |
SignQuery CreateTable # | ServiceConfiguration: |
Transaction CreateTable CreateTableResult # | |
type Rep CreateTable # | |
type ServiceConfiguration CreateTable # | |
Arguments
:: Text | Table name |
-> [AttributeDefinition] | |
-> KeySchema | |
-> ProvisionedThroughput | |
-> CreateTable |
newtype CreateTableResult #
Constructors
CreateTableResult | |
Fields |
data DescribeTable #
Constructors
DescribeTable | |
Fields
|
Instances
Show DescribeTable # | |
Generic DescribeTable # | |
ToJSON DescribeTable # | |
SignQuery DescribeTable # | ServiceConfiguration: |
Transaction DescribeTable DescribeTableResult # | |
type Rep DescribeTable # | |
type ServiceConfiguration DescribeTable # | |
newtype DescribeTableResult #
Constructors
DescribeTableResult | |
Fields |
data UpdateTable #
Constructors
UpdateTable | |
Instances
Show UpdateTable # | |
Generic UpdateTable # | |
ToJSON UpdateTable # | |
SignQuery UpdateTable # | ServiceConfiguration: |
Transaction UpdateTable UpdateTableResult # | |
type Rep UpdateTable # | |
type ServiceConfiguration UpdateTable # | |
newtype UpdateTableResult #
Constructors
UpdateTableResult | |
Fields |
data DeleteTable #
Constructors
DeleteTable | |
Fields |
Instances
Show DeleteTable # | |
Generic DeleteTable # | |
ToJSON DeleteTable # | |
SignQuery DeleteTable # | ServiceConfiguration: |
Transaction DeleteTable DeleteTableResult # | |
type Rep DeleteTable # | |
type ServiceConfiguration DeleteTable # | |
newtype DeleteTableResult #
Constructors
DeleteTableResult | |
Fields |
data ListTables #
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 # | |
newtype ListTablesResult #
Constructors
ListTablesResult | |
Fields
|
Instances
Data passed in the commands
data AttributeType #
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 #
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 #
This determines which attributes are projected into a secondary index.
Constructors
ProjectKeysOnly | |
ProjectAll | |
ProjectInclude [Text] |
Instances
data LocalSecondaryIndex #
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 #
This is returned by AWS to describe the local secondary index.
Constructors
LocalSecondaryIndexStatus | |
data ProvisionedThroughput #
The target provisioned throughput you are requesting for the table or global secondary index.
Constructors
ProvisionedThroughput | |
Fields |
data ProvisionedThroughputStatus #
This is returned by AWS as the status of the throughput for a table or global secondary index.
Constructors
ProvisionedThroughputStatus | |
data GlobalSecondaryIndexStatus #
This is returned by AWS to describe the status of a global secondary index.
Constructors
GlobalSecondaryIndexStatus | |
data GlobalSecondaryIndexUpdate #
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 #
This describes the table and is the return value from AWS for all the table-related commands.
Constructors
TableDescription | |
Fields
|
Instances