aws-0.20: Amazon Web Services (AWS) for Haskell

Safe HaskellNone
LanguageHaskell2010

Aws.DynamoDb.Commands.Table

Contents

Synopsis

Commands

data CreateTable Source #

Instances

Show CreateTable Source # 
Generic CreateTable Source # 

Associated Types

type Rep CreateTable :: * -> * #

ToJSON CreateTable Source # 
SignQuery CreateTable Source #

ServiceConfiguration: DdbConfiguration

Transaction CreateTable CreateTableResult Source # 
type Rep CreateTable Source # 
type ServiceConfiguration CreateTable Source # 

data UpdateTable Source #

Instances

Show UpdateTable Source # 
Generic UpdateTable Source # 

Associated Types

type Rep UpdateTable :: * -> * #

ToJSON UpdateTable Source # 
SignQuery UpdateTable Source #

ServiceConfiguration: DdbConfiguration

Transaction UpdateTable UpdateTableResult Source # 
type Rep UpdateTable Source # 
type Rep UpdateTable = D1 * (MetaData "UpdateTable" "Aws.DynamoDb.Commands.Table" "aws-0.20-BzFbN6JM1S5F39HVVUVvq3" False) (C1 * (MetaCons "UpdateTable" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "updateTableName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "updateProvisionedThroughput") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ProvisionedThroughput)) (S1 * (MetaSel (Just Symbol "updateGlobalSecondaryIndexUpdates") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [GlobalSecondaryIndexUpdate])))))
type ServiceConfiguration UpdateTable Source # 

newtype ListTablesResult Source #

Constructors

ListTablesResult 

Fields

Instances

Show ListTablesResult Source # 
Generic ListTablesResult Source # 
FromJSON ListTablesResult Source # 
AsMemoryResponse ListTablesResult Source # 
Transaction ListTables ListTablesResult Source # 
ResponseConsumer r ListTablesResult Source # 
type Rep ListTablesResult Source # 
type Rep ListTablesResult = D1 * (MetaData "ListTablesResult" "Aws.DynamoDb.Commands.Table" "aws-0.20-BzFbN6JM1S5F39HVVUVvq3" True) (C1 * (MetaCons "ListTablesResult" PrefixI True) (S1 * (MetaSel (Just Symbol "tableNames") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [Text])))
type MemoryResponse ListTablesResult Source # 
type ResponseMetadata ListTablesResult Source # 

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

Bounded AttributeType Source # 
Enum AttributeType Source # 
Eq AttributeType Source # 
Ord AttributeType Source # 
Read AttributeType Source # 
Show AttributeType Source # 
Generic AttributeType Source # 

Associated Types

type Rep AttributeType :: * -> * #

ToJSON AttributeType Source # 
FromJSON AttributeType Source # 
type Rep AttributeType Source # 
type Rep AttributeType = D1 * (MetaData "AttributeType" "Aws.DynamoDb.Commands.Table" "aws-0.20-BzFbN6JM1S5F39HVVUVvq3" False) ((:+:) * (C1 * (MetaCons "AttrString" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "AttrNumber" PrefixI False) (U1 *)) (C1 * (MetaCons "AttrBinary" PrefixI False) (U1 *))))

data AttributeDefinition Source #

A key attribute that appears in the table key or as a key in one of the indices.

Instances

Eq AttributeDefinition Source # 
Ord AttributeDefinition Source # 
Read AttributeDefinition Source # 
Show AttributeDefinition Source # 
Generic AttributeDefinition Source # 
ToJSON AttributeDefinition Source # 
FromJSON AttributeDefinition Source # 
type Rep AttributeDefinition Source # 
type Rep AttributeDefinition = D1 * (MetaData "AttributeDefinition" "Aws.DynamoDb.Commands.Table" "aws-0.20-BzFbN6JM1S5F39HVVUVvq3" False) (C1 * (MetaCons "AttributeDefinition" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "attributeName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "attributeType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * AttributeType))))

data KeySchema Source #

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 # 
Read KeySchema Source # 
Show KeySchema Source # 
Generic KeySchema Source # 

Associated Types

type Rep KeySchema :: * -> * #

ToJSON KeySchema Source # 
FromJSON KeySchema Source # 
type Rep KeySchema Source # 

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.

data LocalSecondaryIndexStatus Source #

This is returned by AWS to describe the local secondary index.

Instances

Show LocalSecondaryIndexStatus Source # 
Generic LocalSecondaryIndexStatus Source # 
FromJSON LocalSecondaryIndexStatus Source # 
type Rep LocalSecondaryIndexStatus Source # 
type Rep LocalSecondaryIndexStatus = D1 * (MetaData "LocalSecondaryIndexStatus" "Aws.DynamoDb.Commands.Table" "aws-0.20-BzFbN6JM1S5F39HVVUVvq3" False) (C1 * (MetaCons "LocalSecondaryIndexStatus" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "locStatusIndexName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "locStatusIndexSizeBytes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer))) ((:*:) * (S1 * (MetaSel (Just Symbol "locStatusItemCount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer)) ((:*:) * (S1 * (MetaSel (Just Symbol "locStatusKeySchema") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * KeySchema)) (S1 * (MetaSel (Just Symbol "locStatusProjection") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Projection))))))

data ProvisionedThroughput Source #

The target provisioned throughput you are requesting for the table or global secondary index.

data ProvisionedThroughputStatus Source #

This is returned by AWS as the status of the throughput for a table or global secondary index.

Instances

Show ProvisionedThroughputStatus Source # 
Generic ProvisionedThroughputStatus Source # 
FromJSON ProvisionedThroughputStatus Source # 
type Rep ProvisionedThroughputStatus Source # 
type Rep ProvisionedThroughputStatus = D1 * (MetaData "ProvisionedThroughputStatus" "Aws.DynamoDb.Commands.Table" "aws-0.20-BzFbN6JM1S5F39HVVUVvq3" False) (C1 * (MetaCons "ProvisionedThroughputStatus" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "statusLastDecreaseDateTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * UTCTime)) (S1 * (MetaSel (Just Symbol "statusLastIncreaseDateTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * UTCTime))) ((:*:) * (S1 * (MetaSel (Just Symbol "statusNumberOfDecreasesToday") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)) ((:*:) * (S1 * (MetaSel (Just Symbol "statusReadCapacityUnits") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "statusWriteCapacityUnits") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int))))))

data GlobalSecondaryIndex Source #

Describes a global secondary index.

Instances

Show GlobalSecondaryIndex Source # 
Generic GlobalSecondaryIndex Source # 
ToJSON GlobalSecondaryIndex Source # 
FromJSON GlobalSecondaryIndex Source # 
type Rep GlobalSecondaryIndex Source # 
type Rep GlobalSecondaryIndex = D1 * (MetaData "GlobalSecondaryIndex" "Aws.DynamoDb.Commands.Table" "aws-0.20-BzFbN6JM1S5F39HVVUVvq3" False) (C1 * (MetaCons "GlobalSecondaryIndex" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "globalIndexName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "globalKeySchema") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * KeySchema))) ((:*:) * (S1 * (MetaSel (Just Symbol "globalProjection") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Projection)) (S1 * (MetaSel (Just Symbol "globalProvisionedThroughput") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ProvisionedThroughput)))))

data GlobalSecondaryIndexStatus Source #

This is returned by AWS to describe the status of a global secondary index.

Instances

Show GlobalSecondaryIndexStatus Source # 
Generic GlobalSecondaryIndexStatus Source # 
FromJSON GlobalSecondaryIndexStatus Source # 
type Rep GlobalSecondaryIndexStatus Source # 

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.

data TableDescription Source #

This describes the table and is the return value from AWS for all the table-related commands.

Instances

Show TableDescription Source # 
Generic TableDescription Source # 
FromJSON TableDescription Source # 
type Rep TableDescription Source # 
type Rep TableDescription = D1 * (MetaData "TableDescription" "Aws.DynamoDb.Commands.Table" "aws-0.20-BzFbN6JM1S5F39HVVUVvq3" False) (C1 * (MetaCons "TableDescription" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "rTableName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "rTableSizeBytes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer))) ((:*:) * (S1 * (MetaSel (Just Symbol "rTableStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "rCreationDateTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe UTCTime))) (S1 * (MetaSel (Just Symbol "rItemCount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Integer))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "rAttributeDefinitions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [AttributeDefinition])) (S1 * (MetaSel (Just Symbol "rKeySchema") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe KeySchema)))) ((:*:) * (S1 * (MetaSel (Just Symbol "rProvisionedThroughput") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ProvisionedThroughputStatus)) ((:*:) * (S1 * (MetaSel (Just Symbol "rLocalSecondaryIndexes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [LocalSecondaryIndexStatus])) (S1 * (MetaSel (Just Symbol "rGlobalSecondaryIndexes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [GlobalSecondaryIndexStatus])))))))