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