| 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 #
Constructors
| CreateTable | |
Fields
| |
Instances
Arguments
| :: Text | Table name |
| -> [AttributeDefinition] | |
| -> KeySchema | |
| -> ProvisionedThroughput | |
| -> CreateTable |
newtype CreateTableResult #
Constructors
| CreateTableResult | |
Fields | |
Instances
data DescribeTable #
Constructors
| DescribeTable | |
Fields
| |
Instances
newtype DescribeTableResult #
Constructors
| DescribeTableResult | |
Fields | |
Instances
data UpdateTable #
Constructors
| UpdateTable | |
Instances
newtype UpdateTableResult #
Constructors
| UpdateTableResult | |
Fields | |
Instances
data DeleteTable #
Constructors
| DeleteTable | |
Fields | |
Instances
newtype DeleteTableResult #
Constructors
| DeleteTableResult | |
Fields | |
Instances
data ListTables #
TODO: currently this does not support restarting a cutoff query because of size.
Constructors
| ListTables |
Instances
| Show ListTables # | |
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> ListTables -> ShowS # show :: ListTables -> String # showList :: [ListTables] -> ShowS # | |
| ToJSON ListTables # | |
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: ListTables -> Value # toEncoding :: ListTables -> Encoding # toJSONList :: [ListTables] -> Value # toEncodingList :: [ListTables] -> Encoding # | |
| SignQuery ListTables # | ServiceConfiguration: |
Defined in Aws.DynamoDb.Commands.Table Associated Types type ServiceConfiguration ListTables :: * -> * # Methods signQuery :: ListTables -> ServiceConfiguration ListTables queryType -> SignatureData -> SignedQuery # | |
| Transaction ListTables ListTablesResult # | |
Defined in Aws.DynamoDb.Commands.Table | |
| type ServiceConfiguration ListTables # | |
Defined in Aws.DynamoDb.Commands.Table | |
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 |
Instances
data AttributeDefinition #
A key attribute that appears in the table key or as a key in one of the indices.
Constructors
| AttributeDefinition | |
Fields | |
Instances
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
| Eq KeySchema # | |
| Ord KeySchema # | |
| Read KeySchema # | |
| Show KeySchema # | |
| Generic KeySchema # | |
| ToJSON KeySchema # | |
Defined in Aws.DynamoDb.Commands.Table | |
| FromJSON KeySchema # | |
| type Rep KeySchema # | |
Defined in Aws.DynamoDb.Commands.Table type Rep KeySchema = D1 (MetaData "KeySchema" "Aws.DynamoDb.Commands.Table" "aws-0.20-6BE78WPgWrPIfAUnI69Mzo" 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 #
This determines which attributes are projected into a secondary index.
Constructors
| ProjectKeysOnly | |
| ProjectAll | |
| ProjectInclude [Text] |
Instances
| Show Projection # | |
Defined in Aws.DynamoDb.Commands.Table Methods showsPrec :: Int -> Projection -> ShowS # show :: Projection -> String # showList :: [Projection] -> ShowS # | |
| ToJSON Projection # | |
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: Projection -> Value # toEncoding :: Projection -> Encoding # toJSONList :: [Projection] -> Value # toEncodingList :: [Projection] -> Encoding # | |
| FromJSON Projection # | |
Defined in Aws.DynamoDb.Commands.Table | |
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 | |
Instances
data LocalSecondaryIndexStatus #
This is returned by AWS to describe the local secondary index.
Constructors
| LocalSecondaryIndexStatus | |
Instances
data ProvisionedThroughput #
The target provisioned throughput you are requesting for the table or global secondary index.
Constructors
| ProvisionedThroughput | |
Fields | |
Instances
data ProvisionedThroughputStatus #
This is returned by AWS as the status of the throughput for a table or global secondary index.
Constructors
| ProvisionedThroughputStatus | |
Instances
data GlobalSecondaryIndex #
Describes a global secondary index.
Constructors
| GlobalSecondaryIndex | |
Instances
data GlobalSecondaryIndexStatus #
This is returned by AWS to describe the status of a global secondary index.
Constructors
| GlobalSecondaryIndexStatus | |
Instances
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 | |
Instances
data TableDescription #
This describes the table and is the return value from AWS for all the table-related commands.
Constructors
| TableDescription | |
Fields
| |