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

Safe HaskellNone
LanguageHaskell2010

Aws.DynamoDb.Commands.Table

Contents

Synopsis

Commands

data CreateTable Source #

Instances
Show CreateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic CreateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep CreateTable :: Type -> Type #

ToJSON CreateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

SignQuery CreateTable Source #

ServiceConfiguration: DdbConfiguration

Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ServiceConfiguration CreateTable :: Type -> Type Source #

Transaction CreateTable CreateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep CreateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep CreateTable = D1 (MetaData "CreateTable" "Aws.DynamoDb.Commands.Table" "aws-0.21-4uwmzfz0Gm7UzkBabXixW" False) (C1 (MetaCons "CreateTable" PrefixI True) ((S1 (MetaSel (Just "createTableName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "createAttributeDefinitions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [AttributeDefinition]) :*: S1 (MetaSel (Just "createKeySchema") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 KeySchema))) :*: (S1 (MetaSel (Just "createProvisionedThroughput") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ProvisionedThroughput) :*: (S1 (MetaSel (Just "createLocalSecondaryIndexes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [LocalSecondaryIndex]) :*: S1 (MetaSel (Just "createGlobalSecondaryIndexes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [GlobalSecondaryIndex])))))
type ServiceConfiguration CreateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

newtype CreateTableResult Source #

data DescribeTable Source #

Constructors

DescribeTable 

Fields

Instances
Show DescribeTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic DescribeTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep DescribeTable :: Type -> Type #

ToJSON DescribeTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

SignQuery DescribeTable Source #

ServiceConfiguration: DdbConfiguration

Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ServiceConfiguration DescribeTable :: Type -> Type Source #

Transaction DescribeTable DescribeTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep DescribeTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep DescribeTable = D1 (MetaData "DescribeTable" "Aws.DynamoDb.Commands.Table" "aws-0.21-4uwmzfz0Gm7UzkBabXixW" False) (C1 (MetaCons "DescribeTable" PrefixI True) (S1 (MetaSel (Just "dTableName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type ServiceConfiguration DescribeTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

newtype DescribeTableResult Source #

data UpdateTable Source #

Instances
Show UpdateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic UpdateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep UpdateTable :: Type -> Type #

ToJSON UpdateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

SignQuery UpdateTable Source #

ServiceConfiguration: DdbConfiguration

Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ServiceConfiguration UpdateTable :: Type -> Type Source #

Transaction UpdateTable UpdateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep UpdateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

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

Defined in Aws.DynamoDb.Commands.Table

newtype UpdateTableResult Source #

data DeleteTable Source #

Constructors

DeleteTable 
Instances
Show DeleteTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic DeleteTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep DeleteTable :: Type -> Type #

ToJSON DeleteTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

SignQuery DeleteTable Source #

ServiceConfiguration: DdbConfiguration

Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ServiceConfiguration DeleteTable :: Type -> Type Source #

Transaction DeleteTable DeleteTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep DeleteTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep DeleteTable = D1 (MetaData "DeleteTable" "Aws.DynamoDb.Commands.Table" "aws-0.21-4uwmzfz0Gm7UzkBabXixW" False) (C1 (MetaCons "DeleteTable" PrefixI True) (S1 (MetaSel (Just "deleteTableName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type ServiceConfiguration DeleteTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

newtype DeleteTableResult Source #

data ListTables Source #

TODO: currently this does not support restarting a cutoff query because of size.

Constructors

ListTables 

newtype ListTablesResult Source #

Constructors

ListTablesResult 

Fields

Instances
Show ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep ListTablesResult :: Type -> Type #

FromJSON ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

AsMemoryResponse ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type MemoryResponse ListTablesResult :: Type Source #

Transaction ListTables ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

ResponseConsumer r ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep ListTablesResult = D1 (MetaData "ListTablesResult" "Aws.DynamoDb.Commands.Table" "aws-0.21-4uwmzfz0Gm7UzkBabXixW" True) (C1 (MetaCons "ListTablesResult" PrefixI True) (S1 (MetaSel (Just "tableNames") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text])))
type MemoryResponse ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

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 # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Enum AttributeType Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Eq AttributeType Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Ord AttributeType Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Read AttributeType Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Show AttributeType Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic AttributeType Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep AttributeType :: Type -> Type #

ToJSON AttributeType Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

FromJSON AttributeType Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep AttributeType Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep AttributeType = D1 (MetaData "AttributeType" "Aws.DynamoDb.Commands.Table" "aws-0.21-4uwmzfz0Gm7UzkBabXixW" False) (C1 (MetaCons "AttrString" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AttrNumber" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AttrBinary" PrefixI False) (U1 :: Type -> Type)))

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 # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Ord AttributeDefinition Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Read AttributeDefinition Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Show AttributeDefinition Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic AttributeDefinition Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep AttributeDefinition :: Type -> Type #

ToJSON AttributeDefinition Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

FromJSON AttributeDefinition Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep AttributeDefinition Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep AttributeDefinition = D1 (MetaData "AttributeDefinition" "Aws.DynamoDb.Commands.Table" "aws-0.21-4uwmzfz0Gm7UzkBabXixW" False) (C1 (MetaCons "AttributeDefinition" PrefixI True) (S1 (MetaSel (Just "attributeName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "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 # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Ord KeySchema Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Read KeySchema Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Show KeySchema Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic KeySchema Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep KeySchema :: Type -> Type #

ToJSON KeySchema Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

FromJSON KeySchema Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep KeySchema Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

data Projection Source #

This determines which attributes are projected into a secondary index.

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
Show LocalSecondaryIndex Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic LocalSecondaryIndex Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep LocalSecondaryIndex :: Type -> Type #

ToJSON LocalSecondaryIndex Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

FromJSON LocalSecondaryIndex Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep LocalSecondaryIndex Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep LocalSecondaryIndex = D1 (MetaData "LocalSecondaryIndex" "Aws.DynamoDb.Commands.Table" "aws-0.21-4uwmzfz0Gm7UzkBabXixW" False) (C1 (MetaCons "LocalSecondaryIndex" PrefixI True) (S1 (MetaSel (Just "localIndexName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "localKeySchema") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 KeySchema) :*: S1 (MetaSel (Just "localProjection") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Projection))))

data LocalSecondaryIndexStatus Source #

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

Instances
Show LocalSecondaryIndexStatus Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic LocalSecondaryIndexStatus Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep LocalSecondaryIndexStatus :: Type -> Type #

FromJSON LocalSecondaryIndexStatus Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep LocalSecondaryIndexStatus Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep LocalSecondaryIndexStatus = D1 (MetaData "LocalSecondaryIndexStatus" "Aws.DynamoDb.Commands.Table" "aws-0.21-4uwmzfz0Gm7UzkBabXixW" False) (C1 (MetaCons "LocalSecondaryIndexStatus" PrefixI True) ((S1 (MetaSel (Just "locStatusIndexName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "locStatusIndexSizeBytes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)) :*: (S1 (MetaSel (Just "locStatusItemCount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer) :*: (S1 (MetaSel (Just "locStatusKeySchema") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 KeySchema) :*: S1 (MetaSel (Just "locStatusProjection") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Projection)))))

data ProvisionedThroughput Source #

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

Instances
Show ProvisionedThroughput Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic ProvisionedThroughput Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep ProvisionedThroughput :: Type -> Type #

ToJSON ProvisionedThroughput Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

FromJSON ProvisionedThroughput Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep ProvisionedThroughput Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep ProvisionedThroughput = D1 (MetaData "ProvisionedThroughput" "Aws.DynamoDb.Commands.Table" "aws-0.21-4uwmzfz0Gm7UzkBabXixW" False) (C1 (MetaCons "ProvisionedThroughput" PrefixI True) (S1 (MetaSel (Just "readCapacityUnits") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "writeCapacityUnits") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

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 # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic ProvisionedThroughputStatus Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep ProvisionedThroughputStatus :: Type -> Type #

FromJSON ProvisionedThroughputStatus Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep ProvisionedThroughputStatus Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep ProvisionedThroughputStatus = D1 (MetaData "ProvisionedThroughputStatus" "Aws.DynamoDb.Commands.Table" "aws-0.21-4uwmzfz0Gm7UzkBabXixW" False) (C1 (MetaCons "ProvisionedThroughputStatus" PrefixI True) ((S1 (MetaSel (Just "statusLastDecreaseDateTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UTCTime) :*: S1 (MetaSel (Just "statusLastIncreaseDateTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UTCTime)) :*: (S1 (MetaSel (Just "statusNumberOfDecreasesToday") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: (S1 (MetaSel (Just "statusReadCapacityUnits") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "statusWriteCapacityUnits") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))))

data GlobalSecondaryIndex Source #

Describes a global secondary index.

Instances
Show GlobalSecondaryIndex Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic GlobalSecondaryIndex Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep GlobalSecondaryIndex :: Type -> Type #

ToJSON GlobalSecondaryIndex Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

FromJSON GlobalSecondaryIndex Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep GlobalSecondaryIndex Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep GlobalSecondaryIndex = D1 (MetaData "GlobalSecondaryIndex" "Aws.DynamoDb.Commands.Table" "aws-0.21-4uwmzfz0Gm7UzkBabXixW" False) (C1 (MetaCons "GlobalSecondaryIndex" PrefixI True) ((S1 (MetaSel (Just "globalIndexName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "globalKeySchema") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 KeySchema)) :*: (S1 (MetaSel (Just "globalProjection") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Projection) :*: S1 (MetaSel (Just "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 # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic GlobalSecondaryIndexStatus Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep GlobalSecondaryIndexStatus :: Type -> Type #

FromJSON GlobalSecondaryIndexStatus Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep GlobalSecondaryIndexStatus Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep GlobalSecondaryIndexStatus = D1 (MetaData "GlobalSecondaryIndexStatus" "Aws.DynamoDb.Commands.Table" "aws-0.21-4uwmzfz0Gm7UzkBabXixW" False) (C1 (MetaCons "GlobalSecondaryIndexStatus" PrefixI True) ((S1 (MetaSel (Just "gStatusIndexName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "gStatusIndexSizeBytes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer) :*: S1 (MetaSel (Just "gStatusIndexStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) :*: ((S1 (MetaSel (Just "gStatusItemCount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer) :*: S1 (MetaSel (Just "gStatusKeySchema") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 KeySchema)) :*: (S1 (MetaSel (Just "gStatusProjection") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Projection) :*: S1 (MetaSel (Just "gStatusProvisionedThroughput") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ProvisionedThroughputStatus)))))

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 # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Generic TableDescription Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type Rep TableDescription :: Type -> Type #

FromJSON TableDescription Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type Rep TableDescription Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table