Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 #
CreateTable | |
|
Instances
:: Text | Table name |
-> [AttributeDefinition] | |
-> KeySchema | |
-> ProvisionedThroughput | |
-> CreateTable |
newtype CreateTableResult Source #
Instances
Show CreateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table showsPrec :: Int -> CreateTableResult -> ShowS # show :: CreateTableResult -> String # showList :: [CreateTableResult] -> ShowS # | |
FromJSON CreateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table parseJSON :: Value -> Parser CreateTableResult # parseJSONList :: Value -> Parser [CreateTableResult] # | |
AsMemoryResponse CreateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table type MemoryResponse CreateTableResult :: Type Source # | |
Transaction CreateTable CreateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table | |
ResponseConsumer r CreateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table type ResponseMetadata CreateTableResult :: Type Source # | |
type MemoryResponse CreateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table | |
type ResponseMetadata CreateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table |
data DescribeTable Source #
Instances
newtype DescribeTableResult Source #
Instances
Show DescribeTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table showsPrec :: Int -> DescribeTableResult -> ShowS # show :: DescribeTableResult -> String # showList :: [DescribeTableResult] -> ShowS # | |
FromJSON DescribeTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table parseJSON :: Value -> Parser DescribeTableResult # parseJSONList :: Value -> Parser [DescribeTableResult] # | |
AsMemoryResponse DescribeTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table type MemoryResponse DescribeTableResult :: Type Source # | |
Transaction DescribeTable DescribeTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table | |
ResponseConsumer r DescribeTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table type ResponseMetadata DescribeTableResult :: Type Source # | |
type MemoryResponse DescribeTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table | |
type ResponseMetadata DescribeTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table |
data UpdateTable Source #
Instances
newtype UpdateTableResult Source #
Instances
Show UpdateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table showsPrec :: Int -> UpdateTableResult -> ShowS # show :: UpdateTableResult -> String # showList :: [UpdateTableResult] -> ShowS # | |
FromJSON UpdateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table parseJSON :: Value -> Parser UpdateTableResult # parseJSONList :: Value -> Parser [UpdateTableResult] # | |
AsMemoryResponse UpdateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table type MemoryResponse UpdateTableResult :: Type Source # | |
Transaction UpdateTable UpdateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table | |
ResponseConsumer r UpdateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table type ResponseMetadata UpdateTableResult :: Type Source # | |
type MemoryResponse UpdateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table | |
type ResponseMetadata UpdateTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table |
data DeleteTable Source #
Instances
newtype DeleteTableResult Source #
Instances
Show DeleteTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table showsPrec :: Int -> DeleteTableResult -> ShowS # show :: DeleteTableResult -> String # showList :: [DeleteTableResult] -> ShowS # | |
FromJSON DeleteTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table parseJSON :: Value -> Parser DeleteTableResult # parseJSONList :: Value -> Parser [DeleteTableResult] # | |
AsMemoryResponse DeleteTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table type MemoryResponse DeleteTableResult :: Type Source # | |
Transaction DeleteTable DeleteTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table | |
ResponseConsumer r DeleteTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table type ResponseMetadata DeleteTableResult :: Type Source # | |
type MemoryResponse DeleteTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table | |
type ResponseMetadata DeleteTableResult Source # | |
Defined in Aws.DynamoDb.Commands.Table |
data ListTables Source #
TODO: currently this does not support restarting a cutoff query because of size.
Instances
Show ListTables Source # | |
Defined in Aws.DynamoDb.Commands.Table showsPrec :: Int -> ListTables -> ShowS # show :: ListTables -> String # showList :: [ListTables] -> ShowS # | |
ToJSON ListTables Source # | |
Defined in Aws.DynamoDb.Commands.Table toJSON :: ListTables -> Value # toEncoding :: ListTables -> Encoding # toJSONList :: [ListTables] -> Value # toEncodingList :: [ListTables] -> Encoding # | |
SignQuery ListTables Source # | ServiceConfiguration: |
Defined in Aws.DynamoDb.Commands.Table type ServiceConfiguration ListTables :: Type -> Type Source # 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 #
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.
Instances
data AttributeDefinition Source #
A key attribute that appears in the table key or as a key in one of the indices.
Instances
The key schema can either be a hash of a single attribute name or a hash attribute name and a range attribute name.
Instances
Eq KeySchema Source # | |
Ord KeySchema Source # | |
Defined in Aws.DynamoDb.Commands.Table | |
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.21.1-1PpQu0p5lcTFQkQGPz4RvQ" 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.
Instances
Show Projection Source # | |
Defined in Aws.DynamoDb.Commands.Table showsPrec :: Int -> Projection -> ShowS # show :: Projection -> String # showList :: [Projection] -> ShowS # | |
ToJSON Projection Source # | |
Defined in Aws.DynamoDb.Commands.Table toJSON :: Projection -> Value # toEncoding :: Projection -> Encoding # toJSONList :: [Projection] -> Value # toEncodingList :: [Projection] -> Encoding # | |
FromJSON Projection Source # | |
Defined in Aws.DynamoDb.Commands.Table parseJSON :: Value -> Parser Projection # parseJSONList :: Value -> Parser [Projection] # |
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.
Instances
data LocalSecondaryIndexStatus Source #
This is returned by AWS to describe the local secondary index.
Instances
data ProvisionedThroughput Source #
The target provisioned throughput you are requesting for the table or global secondary index.
Instances
data ProvisionedThroughputStatus Source #
This is returned by AWS as the status of the throughput for a table or global secondary index.
Instances
data GlobalSecondaryIndex Source #
Describes a global secondary index.
Instances
data GlobalSecondaryIndexStatus Source #
This is returned by AWS to describe the status of a global secondary index.
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.
Instances
Show GlobalSecondaryIndexUpdate Source # | |
Defined in Aws.DynamoDb.Commands.Table showsPrec :: Int -> GlobalSecondaryIndexUpdate -> ShowS # show :: GlobalSecondaryIndexUpdate -> String # showList :: [GlobalSecondaryIndexUpdate] -> ShowS # | |
Generic GlobalSecondaryIndexUpdate Source # | |
Defined in Aws.DynamoDb.Commands.Table type Rep GlobalSecondaryIndexUpdate :: Type -> Type # | |
ToJSON GlobalSecondaryIndexUpdate Source # | |
Defined in Aws.DynamoDb.Commands.Table | |
type Rep GlobalSecondaryIndexUpdate Source # | |
Defined in Aws.DynamoDb.Commands.Table type Rep GlobalSecondaryIndexUpdate = D1 (MetaData "GlobalSecondaryIndexUpdate" "Aws.DynamoDb.Commands.Table" "aws-0.21.1-1PpQu0p5lcTFQkQGPz4RvQ" False) (C1 (MetaCons "GlobalSecondaryIndexUpdate" PrefixI True) (S1 (MetaSel (Just "gUpdateIndexName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "gUpdateProvisionedThroughput") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ProvisionedThroughput))) |
data TableDescription Source #
This describes the table and is the return value from AWS for all the table-related commands.
TableDescription | |
|