| 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
| FromJSON CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser CreateTableResult Source # parseJSONList :: Value -> Parser [CreateTableResult] Source # | |||||
| AsMemoryResponse CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods loadToMemory :: CreateTableResult -> ResourceT IO (MemoryResponse CreateTableResult) Source # | |||||
| Show CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| ResponseConsumer r CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods responseConsumer :: Request -> r -> IORef (ResponseMetadata CreateTableResult) -> HTTPResponseConsumer CreateTableResult Source # | |||||
| Transaction CreateTable CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type MemoryResponse CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type ResponseMetadata CreateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
data DescribeTable Source #
Constructors
| DescribeTable | |
Fields
| |
Instances
| ToJSON DescribeTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: DescribeTable -> Value Source # toEncoding :: DescribeTable -> Encoding Source # toJSONList :: [DescribeTable] -> Value Source # toEncodingList :: [DescribeTable] -> Encoding Source # omitField :: DescribeTable -> Bool Source # | |||||
| SignQuery DescribeTable Source # | ServiceConfiguration: | ||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods signQuery :: DescribeTable -> ServiceConfiguration DescribeTable queryType -> SignatureData -> SignedQuery Source # | |||||
| Generic DescribeTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: DescribeTable -> Rep DescribeTable x Source # to :: Rep DescribeTable x -> DescribeTable Source # | |||||
| Show DescribeTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| Transaction DescribeTable DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type ServiceConfiguration DescribeTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type Rep DescribeTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep DescribeTable = D1 ('MetaData "DescribeTable" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" 'False) (C1 ('MetaCons "DescribeTable" 'PrefixI 'True) (S1 ('MetaSel ('Just "dTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
newtype DescribeTableResult Source #
Constructors
| DescribeTableResult | |
Fields | |
Instances
| FromJSON DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser DescribeTableResult Source # parseJSONList :: Value -> Parser [DescribeTableResult] Source # | |||||
| AsMemoryResponse DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods loadToMemory :: DescribeTableResult -> ResourceT IO (MemoryResponse DescribeTableResult) Source # | |||||
| Show DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| ResponseConsumer r DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods responseConsumer :: Request -> r -> IORef (ResponseMetadata DescribeTableResult) -> HTTPResponseConsumer DescribeTableResult Source # | |||||
| Transaction DescribeTable DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type MemoryResponse DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type ResponseMetadata DescribeTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
data UpdateTable Source #
Constructors
| UpdateTable | |
Instances
| ToJSON UpdateTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: UpdateTable -> Value Source # toEncoding :: UpdateTable -> Encoding Source # toJSONList :: [UpdateTable] -> Value Source # toEncodingList :: [UpdateTable] -> Encoding Source # omitField :: UpdateTable -> Bool Source # | |||||
| SignQuery UpdateTable Source # | ServiceConfiguration: | ||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods signQuery :: UpdateTable -> ServiceConfiguration UpdateTable queryType -> SignatureData -> SignedQuery Source # | |||||
| Generic UpdateTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: UpdateTable -> Rep UpdateTable x Source # to :: Rep UpdateTable x -> UpdateTable Source # | |||||
| Show UpdateTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| Transaction UpdateTable UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type ServiceConfiguration UpdateTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type Rep UpdateTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep UpdateTable = D1 ('MetaData "UpdateTable" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" '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])))) | |||||
newtype UpdateTableResult Source #
Constructors
| UpdateTableResult | |
Fields | |
Instances
| FromJSON UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser UpdateTableResult Source # parseJSONList :: Value -> Parser [UpdateTableResult] Source # | |||||
| AsMemoryResponse UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods loadToMemory :: UpdateTableResult -> ResourceT IO (MemoryResponse UpdateTableResult) Source # | |||||
| Show UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| ResponseConsumer r UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods responseConsumer :: Request -> r -> IORef (ResponseMetadata UpdateTableResult) -> HTTPResponseConsumer UpdateTableResult Source # | |||||
| Transaction UpdateTable UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type MemoryResponse UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type ResponseMetadata UpdateTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
data DeleteTable Source #
Constructors
| DeleteTable | |
Fields | |
Instances
| ToJSON DeleteTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: DeleteTable -> Value Source # toEncoding :: DeleteTable -> Encoding Source # toJSONList :: [DeleteTable] -> Value Source # toEncodingList :: [DeleteTable] -> Encoding Source # omitField :: DeleteTable -> Bool Source # | |||||
| SignQuery DeleteTable Source # | ServiceConfiguration: | ||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods signQuery :: DeleteTable -> ServiceConfiguration DeleteTable queryType -> SignatureData -> SignedQuery Source # | |||||
| Generic DeleteTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: DeleteTable -> Rep DeleteTable x Source # to :: Rep DeleteTable x -> DeleteTable Source # | |||||
| Show DeleteTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| Transaction DeleteTable DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type ServiceConfiguration DeleteTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type Rep DeleteTable Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep DeleteTable = D1 ('MetaData "DeleteTable" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" 'False) (C1 ('MetaCons "DeleteTable" 'PrefixI 'True) (S1 ('MetaSel ('Just "deleteTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
newtype DeleteTableResult Source #
Constructors
| DeleteTableResult | |
Fields | |
Instances
| FromJSON DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser DeleteTableResult Source # parseJSONList :: Value -> Parser [DeleteTableResult] Source # | |||||
| AsMemoryResponse DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods loadToMemory :: DeleteTableResult -> ResourceT IO (MemoryResponse DeleteTableResult) Source # | |||||
| Show DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| ResponseConsumer r DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods responseConsumer :: Request -> r -> IORef (ResponseMetadata DeleteTableResult) -> HTTPResponseConsumer DeleteTableResult Source # | |||||
| Transaction DeleteTable DeleteTableResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| 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.
Constructors
| ListTables |
Instances
| ToJSON ListTables Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: ListTables -> Value Source # toEncoding :: ListTables -> Encoding Source # toJSONList :: [ListTables] -> Value Source # toEncodingList :: [ListTables] -> Encoding Source # omitField :: ListTables -> Bool Source # | |||||
| SignQuery ListTables Source # | ServiceConfiguration: | ||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods signQuery :: ListTables -> ServiceConfiguration ListTables queryType -> SignatureData -> SignedQuery Source # | |||||
| Show ListTables Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| 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
| FromJSON ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser ListTablesResult Source # parseJSONList :: Value -> Parser [ListTablesResult] Source # | |||||
| AsMemoryResponse ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods loadToMemory :: ListTablesResult -> ResourceT IO (MemoryResponse ListTablesResult) Source # | |||||
| Generic ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: ListTablesResult -> Rep ListTablesResult x Source # to :: Rep ListTablesResult x -> ListTablesResult Source # | |||||
| Show ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| ResponseConsumer r ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods responseConsumer :: Request -> r -> IORef (ResponseMetadata ListTablesResult) -> HTTPResponseConsumer ListTablesResult Source # | |||||
| Transaction ListTables ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type MemoryResponse ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type ResponseMetadata ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type Rep ListTablesResult Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep ListTablesResult = D1 ('MetaData "ListTablesResult" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" 'True) (C1 ('MetaCons "ListTablesResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]))) | |||||
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
| FromJSON AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser AttributeType Source # parseJSONList :: Value -> Parser [AttributeType] Source # | |||||
| ToJSON AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: AttributeType -> Value Source # toEncoding :: AttributeType -> Encoding Source # toJSONList :: [AttributeType] -> Value Source # toEncodingList :: [AttributeType] -> Encoding Source # omitField :: AttributeType -> Bool Source # | |||||
| Bounded AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| Enum AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods succ :: AttributeType -> AttributeType Source # pred :: AttributeType -> AttributeType Source # toEnum :: Int -> AttributeType Source # fromEnum :: AttributeType -> Int Source # enumFrom :: AttributeType -> [AttributeType] Source # enumFromThen :: AttributeType -> AttributeType -> [AttributeType] Source # enumFromTo :: AttributeType -> AttributeType -> [AttributeType] Source # enumFromThenTo :: AttributeType -> AttributeType -> AttributeType -> [AttributeType] Source # | |||||
| Generic AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: AttributeType -> Rep AttributeType x Source # to :: Rep AttributeType x -> AttributeType Source # | |||||
| Read AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| Show AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| Eq AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods (==) :: AttributeType -> AttributeType -> Bool Source # (/=) :: AttributeType -> AttributeType -> Bool Source # | |||||
| Ord AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods compare :: AttributeType -> AttributeType -> Ordering Source # (<) :: AttributeType -> AttributeType -> Bool Source # (<=) :: AttributeType -> AttributeType -> Bool Source # (>) :: AttributeType -> AttributeType -> Bool Source # (>=) :: AttributeType -> AttributeType -> Bool Source # max :: AttributeType -> AttributeType -> AttributeType Source # min :: AttributeType -> AttributeType -> AttributeType Source # | |||||
| type Rep AttributeType Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep AttributeType = D1 ('MetaData "AttributeType" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" '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.
Constructors
| AttributeDefinition | |
Fields | |
Instances
| FromJSON AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser AttributeDefinition Source # parseJSONList :: Value -> Parser [AttributeDefinition] Source # | |||||
| ToJSON AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: AttributeDefinition -> Value Source # toEncoding :: AttributeDefinition -> Encoding Source # toJSONList :: [AttributeDefinition] -> Value Source # toEncodingList :: [AttributeDefinition] -> Encoding Source # omitField :: AttributeDefinition -> Bool Source # | |||||
| Generic AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: AttributeDefinition -> Rep AttributeDefinition x Source # to :: Rep AttributeDefinition x -> AttributeDefinition Source # | |||||
| Read AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| Show AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| Eq AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods (==) :: AttributeDefinition -> AttributeDefinition -> Bool Source # (/=) :: AttributeDefinition -> AttributeDefinition -> Bool Source # | |||||
| Ord AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods compare :: AttributeDefinition -> AttributeDefinition -> Ordering Source # (<) :: AttributeDefinition -> AttributeDefinition -> Bool Source # (<=) :: AttributeDefinition -> AttributeDefinition -> Bool Source # (>) :: AttributeDefinition -> AttributeDefinition -> Bool Source # (>=) :: AttributeDefinition -> AttributeDefinition -> Bool Source # max :: AttributeDefinition -> AttributeDefinition -> AttributeDefinition Source # min :: AttributeDefinition -> AttributeDefinition -> AttributeDefinition Source # | |||||
| type Rep AttributeDefinition Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep AttributeDefinition = D1 ('MetaData "AttributeDefinition" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" 'False) (C1 ('MetaCons "AttributeDefinition" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AttributeType))) | |||||
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
| FromJSON KeySchema Source # | |||||
| ToJSON KeySchema Source # | |||||
| Generic KeySchema Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
| |||||
| Read KeySchema Source # | |||||
| Show KeySchema Source # | |||||
| Eq KeySchema Source # | |||||
| Ord KeySchema Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type Rep KeySchema Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep KeySchema = D1 ('MetaData "KeySchema" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" '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
| FromJSON Projection Source # | |
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser Projection Source # parseJSONList :: Value -> Parser [Projection] Source # | |
| ToJSON Projection Source # | |
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: Projection -> Value Source # toEncoding :: Projection -> Encoding Source # toJSONList :: [Projection] -> Value Source # toEncodingList :: [Projection] -> Encoding Source # omitField :: Projection -> Bool Source # | |
| Show 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
| FromJSON LocalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser LocalSecondaryIndex Source # parseJSONList :: Value -> Parser [LocalSecondaryIndex] Source # | |||||
| ToJSON LocalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: LocalSecondaryIndex -> Value Source # toEncoding :: LocalSecondaryIndex -> Encoding Source # toJSONList :: [LocalSecondaryIndex] -> Value Source # toEncodingList :: [LocalSecondaryIndex] -> Encoding Source # omitField :: LocalSecondaryIndex -> Bool Source # | |||||
| Generic LocalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: LocalSecondaryIndex -> Rep LocalSecondaryIndex x Source # to :: Rep LocalSecondaryIndex x -> LocalSecondaryIndex Source # | |||||
| Show LocalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type Rep LocalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep LocalSecondaryIndex = D1 ('MetaData "LocalSecondaryIndex" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" '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.
Constructors
| LocalSecondaryIndexStatus | |
Instances
| FromJSON LocalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| Generic LocalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: LocalSecondaryIndexStatus -> Rep LocalSecondaryIndexStatus x Source # to :: Rep LocalSecondaryIndexStatus x -> LocalSecondaryIndexStatus Source # | |||||
| Show LocalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type Rep LocalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep LocalSecondaryIndexStatus = D1 ('MetaData "LocalSecondaryIndexStatus" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" '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.
Constructors
| ProvisionedThroughput | |
Fields | |
Instances
| FromJSON ProvisionedThroughput Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser ProvisionedThroughput Source # parseJSONList :: Value -> Parser [ProvisionedThroughput] Source # | |||||
| ToJSON ProvisionedThroughput Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: ProvisionedThroughput -> Value Source # toEncoding :: ProvisionedThroughput -> Encoding Source # toJSONList :: [ProvisionedThroughput] -> Value Source # toEncodingList :: [ProvisionedThroughput] -> Encoding Source # | |||||
| Generic ProvisionedThroughput Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: ProvisionedThroughput -> Rep ProvisionedThroughput x Source # to :: Rep ProvisionedThroughput x -> ProvisionedThroughput Source # | |||||
| Show ProvisionedThroughput Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type Rep ProvisionedThroughput Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep ProvisionedThroughput = D1 ('MetaData "ProvisionedThroughput" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" '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.
Constructors
| ProvisionedThroughputStatus | |
Instances
| FromJSON ProvisionedThroughputStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| Generic ProvisionedThroughputStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
| |||||
| Show ProvisionedThroughputStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type Rep ProvisionedThroughputStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep ProvisionedThroughputStatus = D1 ('MetaData "ProvisionedThroughputStatus" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" '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.
Constructors
| GlobalSecondaryIndex | |
Instances
| FromJSON GlobalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser GlobalSecondaryIndex Source # parseJSONList :: Value -> Parser [GlobalSecondaryIndex] Source # | |||||
| ToJSON GlobalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: GlobalSecondaryIndex -> Value Source # toEncoding :: GlobalSecondaryIndex -> Encoding Source # toJSONList :: [GlobalSecondaryIndex] -> Value Source # toEncodingList :: [GlobalSecondaryIndex] -> Encoding Source # omitField :: GlobalSecondaryIndex -> Bool Source # | |||||
| Generic GlobalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: GlobalSecondaryIndex -> Rep GlobalSecondaryIndex x Source # to :: Rep GlobalSecondaryIndex x -> GlobalSecondaryIndex Source # | |||||
| Show GlobalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type Rep GlobalSecondaryIndex Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep GlobalSecondaryIndex = D1 ('MetaData "GlobalSecondaryIndex" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" '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.
Constructors
| GlobalSecondaryIndexStatus | |
Instances
| FromJSON GlobalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| Generic GlobalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: GlobalSecondaryIndexStatus -> Rep GlobalSecondaryIndexStatus x Source # to :: Rep GlobalSecondaryIndexStatus x -> GlobalSecondaryIndexStatus Source # | |||||
| Show GlobalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type Rep GlobalSecondaryIndexStatus Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep GlobalSecondaryIndexStatus = D1 ('MetaData "GlobalSecondaryIndexStatus" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" '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.
Constructors
| GlobalSecondaryIndexUpdate | |
Instances
| ToJSON GlobalSecondaryIndexUpdate Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods toJSON :: GlobalSecondaryIndexUpdate -> Value Source # toEncoding :: GlobalSecondaryIndexUpdate -> Encoding Source # toJSONList :: [GlobalSecondaryIndexUpdate] -> Value Source # toEncodingList :: [GlobalSecondaryIndexUpdate] -> Encoding Source # | |||||
| Generic GlobalSecondaryIndexUpdate Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: GlobalSecondaryIndexUpdate -> Rep GlobalSecondaryIndexUpdate x Source # to :: Rep GlobalSecondaryIndexUpdate x -> GlobalSecondaryIndexUpdate Source # | |||||
| Show 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.24.4-2zyC6zfQaOp4d0DZ6tHD2V" '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.
Constructors
| TableDescription | |
Fields
| |
Instances
| FromJSON TableDescription Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Methods parseJSON :: Value -> Parser TableDescription Source # parseJSONList :: Value -> Parser [TableDescription] Source # | |||||
| Generic TableDescription Source # | |||||
Defined in Aws.DynamoDb.Commands.Table Associated Types
Methods from :: TableDescription -> Rep TableDescription x Source # to :: Rep TableDescription x -> TableDescription Source # | |||||
| Show TableDescription Source # | |||||
Defined in Aws.DynamoDb.Commands.Table | |||||
| type Rep TableDescription Source # | |||||
Defined in Aws.DynamoDb.Commands.Table type Rep TableDescription = D1 ('MetaData "TableDescription" "Aws.DynamoDb.Commands.Table" "aws-0.24.4-2zyC6zfQaOp4d0DZ6tHD2V" 'False) (C1 ('MetaCons "TableDescription" 'PrefixI 'True) (((S1 ('MetaSel ('Just "rTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "rTableSizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "rTableStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "rCreationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UTCTime)) :*: S1 ('MetaSel ('Just "rItemCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))) :*: ((S1 ('MetaSel ('Just "rAttributeDefinitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [AttributeDefinition]) :*: S1 ('MetaSel ('Just "rKeySchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe KeySchema))) :*: (S1 ('MetaSel ('Just "rProvisionedThroughput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProvisionedThroughputStatus) :*: (S1 ('MetaSel ('Just "rLocalSecondaryIndexes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LocalSecondaryIndexStatus]) :*: S1 ('MetaSel ('Just "rGlobalSecondaryIndexes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GlobalSecondaryIndexStatus])))))) | |||||