Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.DynamoDB
Contents
- Service Configuration
- Errors
- BackupNotFoundException
- TableInUseException
- ContinuousBackupsUnavailableException
- ProvisionedThroughputExceededException
- GlobalTableNotFoundException
- ConditionalCheckFailedException
- GlobalTableAlreadyExistsException
- ReplicaNotFoundException
- TableAlreadyExistsException
- ItemCollectionSizeLimitExceededException
- InternalServerError
- TableNotFoundException
- IndexNotFoundException
- BackupInUseException
- PointInTimeRecoveryUnavailableException
- InvalidRestoreTimeException
- ResourceNotFoundException
- ReplicaAlreadyExistsException
- LimitExceededException
- ResourceInUseException
- Waiters
- Operations
- PutItem
- DeleteItem
- UpdateItem
- ListGlobalTables
- UpdateGlobalTable
- DeleteTable
- UpdateTable
- BatchGetItem
- ListBackups (Paginated)
- DeleteBackup
- CreateBackup
- DescribeGlobalTableSettings
- ListTagsOfResource
- DescribeGlobalTable
- DescribeTable
- DescribeLimits
- GetItem
- DescribeBackup
- UpdateGlobalTableSettings
- BatchWriteItem
- ListTables (Paginated)
- Scan (Paginated)
- Query (Paginated)
- CreateTable
- DescribeTimeToLive
- DescribeContinuousBackups
- TagResource
- UntagResource
- RestoreTableToPointInTime
- RestoreTableFromBackup
- UpdateTimeToLive
- CreateGlobalTable
- UpdateContinuousBackups
- Types
- AttributeAction
- BackupStatus
- ComparisonOperator
- ConditionalOperator
- ContinuousBackupsStatus
- GlobalTableStatus
- IndexStatus
- KeyType
- PointInTimeRecoveryStatus
- ProjectionType
- ReplicaStatus
- ReturnConsumedCapacity
- ReturnItemCollectionMetrics
- ReturnValue
- SSEStatus
- ScalarAttributeType
- Select
- StreamViewType
- TableStatus
- TimeToLiveStatus
- AttributeDefinition
- AttributeValue
- AttributeValueUpdate
- BackupDescription
- BackupDetails
- BackupSummary
- Capacity
- Condition
- ConsumedCapacity
- ContinuousBackupsDescription
- CreateGlobalSecondaryIndexAction
- CreateReplicaAction
- DeleteGlobalSecondaryIndexAction
- DeleteReplicaAction
- DeleteRequest
- ExpectedAttributeValue
- GlobalSecondaryIndex
- GlobalSecondaryIndexDescription
- GlobalSecondaryIndexInfo
- GlobalSecondaryIndexUpdate
- GlobalTable
- GlobalTableDescription
- GlobalTableGlobalSecondaryIndexSettingsUpdate
- ItemCollectionMetrics
- KeySchemaElement
- KeysAndAttributes
- LocalSecondaryIndex
- LocalSecondaryIndexDescription
- LocalSecondaryIndexInfo
- PointInTimeRecoveryDescription
- PointInTimeRecoverySpecification
- Projection
- ProvisionedThroughput
- ProvisionedThroughputDescription
- PutRequest
- Replica
- ReplicaDescription
- ReplicaGlobalSecondaryIndexSettingsDescription
- ReplicaGlobalSecondaryIndexSettingsUpdate
- ReplicaSettingsDescription
- ReplicaSettingsUpdate
- ReplicaUpdate
- RestoreSummary
- SSEDescription
- SSESpecification
- SourceTableDetails
- SourceTableFeatureDetails
- StreamSpecification
- TableDescription
- Tag
- TimeToLiveDescription
- TimeToLiveSpecification
- UpdateGlobalSecondaryIndexAction
- WriteRequest
Description
Amazon DynamoDB
Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB lets you offload the administrative burdens of operating and scaling a distributed database, so that you don't have to worry about hardware provisioning, setup and configuration, replication, software patching, or cluster scaling.
With DynamoDB, you can create database tables that can store and retrieve any amount of data, and serve any level of request traffic. You can scale up or scale down your tables' throughput capacity without downtime or performance degradation, and use the AWS Management Console to monitor resource utilization and performance metrics.
DynamoDB automatically spreads the data and traffic for your tables over a sufficient number of servers to handle your throughput and storage requirements, while maintaining consistent and fast performance. All of your data is stored on solid state disks (SSDs) and automatically replicated across multiple Availability Zones in an AWS region, providing built-in high availability and data durability.
Synopsis
- dynamoDB :: Service
- _BackupNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _TableInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- _ContinuousBackupsUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _ProvisionedThroughputExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _GlobalTableNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConditionalCheckFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- _GlobalTableAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _ReplicaNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _TableAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _ItemCollectionSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError
- _TableNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _IndexNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _BackupInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- _PointInTimeRecoveryUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRestoreTimeException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ReplicaAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- tableNotExists :: Wait DescribeTable
- tableExists :: Wait DescribeTable
- module Network.AWS.DynamoDB.PutItem
- module Network.AWS.DynamoDB.DeleteItem
- module Network.AWS.DynamoDB.UpdateItem
- module Network.AWS.DynamoDB.ListGlobalTables
- module Network.AWS.DynamoDB.UpdateGlobalTable
- module Network.AWS.DynamoDB.DeleteTable
- module Network.AWS.DynamoDB.UpdateTable
- module Network.AWS.DynamoDB.BatchGetItem
- module Network.AWS.DynamoDB.ListBackups
- module Network.AWS.DynamoDB.DeleteBackup
- module Network.AWS.DynamoDB.CreateBackup
- module Network.AWS.DynamoDB.DescribeGlobalTableSettings
- module Network.AWS.DynamoDB.ListTagsOfResource
- module Network.AWS.DynamoDB.DescribeGlobalTable
- module Network.AWS.DynamoDB.DescribeTable
- module Network.AWS.DynamoDB.DescribeLimits
- module Network.AWS.DynamoDB.GetItem
- module Network.AWS.DynamoDB.DescribeBackup
- module Network.AWS.DynamoDB.UpdateGlobalTableSettings
- module Network.AWS.DynamoDB.BatchWriteItem
- module Network.AWS.DynamoDB.ListTables
- module Network.AWS.DynamoDB.Scan
- module Network.AWS.DynamoDB.Query
- module Network.AWS.DynamoDB.CreateTable
- module Network.AWS.DynamoDB.DescribeTimeToLive
- module Network.AWS.DynamoDB.DescribeContinuousBackups
- module Network.AWS.DynamoDB.TagResource
- module Network.AWS.DynamoDB.UntagResource
- module Network.AWS.DynamoDB.RestoreTableToPointInTime
- module Network.AWS.DynamoDB.RestoreTableFromBackup
- module Network.AWS.DynamoDB.UpdateTimeToLive
- module Network.AWS.DynamoDB.CreateGlobalTable
- module Network.AWS.DynamoDB.UpdateContinuousBackups
- data AttributeAction
- data BackupStatus
- data ComparisonOperator
- data ConditionalOperator
- data ContinuousBackupsStatus
- data GlobalTableStatus
- data IndexStatus
- data KeyType
- data PointInTimeRecoveryStatus
- data ProjectionType
- = PTAll
- | PTInclude
- | PTKeysOnly
- data ReplicaStatus
- data ReturnConsumedCapacity
- data ReturnItemCollectionMetrics
- data ReturnValue
- = AllNew
- | AllOld
- | None
- | UpdatedNew
- | UpdatedOld
- data SSEStatus
- data ScalarAttributeType
- data Select
- data StreamViewType
- data TableStatus
- data TimeToLiveStatus
- data AttributeDefinition
- attributeDefinition :: Text -> ScalarAttributeType -> AttributeDefinition
- adAttributeName :: Lens' AttributeDefinition Text
- adAttributeType :: Lens' AttributeDefinition ScalarAttributeType
- data AttributeValue
- attributeValue :: AttributeValue
- avL :: Lens' AttributeValue [AttributeValue]
- avNS :: Lens' AttributeValue [Text]
- avM :: Lens' AttributeValue (HashMap Text AttributeValue)
- avNULL :: Lens' AttributeValue (Maybe Bool)
- avN :: Lens' AttributeValue (Maybe Text)
- avBS :: Lens' AttributeValue [ByteString]
- avB :: Lens' AttributeValue (Maybe ByteString)
- avSS :: Lens' AttributeValue [Text]
- avS :: Lens' AttributeValue (Maybe Text)
- avBOOL :: Lens' AttributeValue (Maybe Bool)
- data AttributeValueUpdate
- attributeValueUpdate :: AttributeValueUpdate
- avuValue :: Lens' AttributeValueUpdate (Maybe AttributeValue)
- avuAction :: Lens' AttributeValueUpdate (Maybe AttributeAction)
- data BackupDescription
- backupDescription :: BackupDescription
- bdBackupDetails :: Lens' BackupDescription (Maybe BackupDetails)
- bdSourceTableDetails :: Lens' BackupDescription (Maybe SourceTableDetails)
- bdSourceTableFeatureDetails :: Lens' BackupDescription (Maybe SourceTableFeatureDetails)
- data BackupDetails
- backupDetails :: Text -> Text -> BackupStatus -> UTCTime -> BackupDetails
- bdBackupSizeBytes :: Lens' BackupDetails (Maybe Natural)
- bdBackupARN :: Lens' BackupDetails Text
- bdBackupName :: Lens' BackupDetails Text
- bdBackupStatus :: Lens' BackupDetails BackupStatus
- bdBackupCreationDateTime :: Lens' BackupDetails UTCTime
- data BackupSummary
- backupSummary :: BackupSummary
- bsTableARN :: Lens' BackupSummary (Maybe Text)
- bsBackupName :: Lens' BackupSummary (Maybe Text)
- bsBackupStatus :: Lens' BackupSummary (Maybe BackupStatus)
- bsBackupSizeBytes :: Lens' BackupSummary (Maybe Natural)
- bsBackupARN :: Lens' BackupSummary (Maybe Text)
- bsTableId :: Lens' BackupSummary (Maybe Text)
- bsBackupCreationDateTime :: Lens' BackupSummary (Maybe UTCTime)
- bsTableName :: Lens' BackupSummary (Maybe Text)
- data Capacity
- capacity :: Capacity
- cCapacityUnits :: Lens' Capacity (Maybe Double)
- data Condition
- condition :: ComparisonOperator -> Condition
- cAttributeValueList :: Lens' Condition [AttributeValue]
- cComparisonOperator :: Lens' Condition ComparisonOperator
- data ConsumedCapacity
- consumedCapacity :: ConsumedCapacity
- ccGlobalSecondaryIndexes :: Lens' ConsumedCapacity (HashMap Text Capacity)
- ccCapacityUnits :: Lens' ConsumedCapacity (Maybe Double)
- ccLocalSecondaryIndexes :: Lens' ConsumedCapacity (HashMap Text Capacity)
- ccTable :: Lens' ConsumedCapacity (Maybe Capacity)
- ccTableName :: Lens' ConsumedCapacity (Maybe Text)
- data ContinuousBackupsDescription
- continuousBackupsDescription :: ContinuousBackupsStatus -> ContinuousBackupsDescription
- cbdPointInTimeRecoveryDescription :: Lens' ContinuousBackupsDescription (Maybe PointInTimeRecoveryDescription)
- cbdContinuousBackupsStatus :: Lens' ContinuousBackupsDescription ContinuousBackupsStatus
- data CreateGlobalSecondaryIndexAction
- createGlobalSecondaryIndexAction :: Text -> NonEmpty KeySchemaElement -> Projection -> ProvisionedThroughput -> CreateGlobalSecondaryIndexAction
- cgsiaIndexName :: Lens' CreateGlobalSecondaryIndexAction Text
- cgsiaKeySchema :: Lens' CreateGlobalSecondaryIndexAction (NonEmpty KeySchemaElement)
- cgsiaProjection :: Lens' CreateGlobalSecondaryIndexAction Projection
- cgsiaProvisionedThroughput :: Lens' CreateGlobalSecondaryIndexAction ProvisionedThroughput
- data CreateReplicaAction
- createReplicaAction :: Text -> CreateReplicaAction
- craRegionName :: Lens' CreateReplicaAction Text
- data DeleteGlobalSecondaryIndexAction
- deleteGlobalSecondaryIndexAction :: Text -> DeleteGlobalSecondaryIndexAction
- dgsiaIndexName :: Lens' DeleteGlobalSecondaryIndexAction Text
- data DeleteReplicaAction
- deleteReplicaAction :: Text -> DeleteReplicaAction
- draRegionName :: Lens' DeleteReplicaAction Text
- data DeleteRequest
- deleteRequest :: DeleteRequest
- drKey :: Lens' DeleteRequest (HashMap Text AttributeValue)
- data ExpectedAttributeValue
- expectedAttributeValue :: ExpectedAttributeValue
- eavAttributeValueList :: Lens' ExpectedAttributeValue [AttributeValue]
- eavExists :: Lens' ExpectedAttributeValue (Maybe Bool)
- eavValue :: Lens' ExpectedAttributeValue (Maybe AttributeValue)
- eavComparisonOperator :: Lens' ExpectedAttributeValue (Maybe ComparisonOperator)
- data GlobalSecondaryIndex
- globalSecondaryIndex :: Text -> NonEmpty KeySchemaElement -> Projection -> ProvisionedThroughput -> GlobalSecondaryIndex
- gsiIndexName :: Lens' GlobalSecondaryIndex Text
- gsiKeySchema :: Lens' GlobalSecondaryIndex (NonEmpty KeySchemaElement)
- gsiProjection :: Lens' GlobalSecondaryIndex Projection
- gsiProvisionedThroughput :: Lens' GlobalSecondaryIndex ProvisionedThroughput
- data GlobalSecondaryIndexDescription
- globalSecondaryIndexDescription :: GlobalSecondaryIndexDescription
- gsidBackfilling :: Lens' GlobalSecondaryIndexDescription (Maybe Bool)
- gsidIndexSizeBytes :: Lens' GlobalSecondaryIndexDescription (Maybe Integer)
- gsidIndexStatus :: Lens' GlobalSecondaryIndexDescription (Maybe IndexStatus)
- gsidProvisionedThroughput :: Lens' GlobalSecondaryIndexDescription (Maybe ProvisionedThroughputDescription)
- gsidIndexARN :: Lens' GlobalSecondaryIndexDescription (Maybe Text)
- gsidKeySchema :: Lens' GlobalSecondaryIndexDescription (Maybe (NonEmpty KeySchemaElement))
- gsidProjection :: Lens' GlobalSecondaryIndexDescription (Maybe Projection)
- gsidItemCount :: Lens' GlobalSecondaryIndexDescription (Maybe Integer)
- gsidIndexName :: Lens' GlobalSecondaryIndexDescription (Maybe Text)
- data GlobalSecondaryIndexInfo
- globalSecondaryIndexInfo :: GlobalSecondaryIndexInfo
- gsiiProvisionedThroughput :: Lens' GlobalSecondaryIndexInfo (Maybe ProvisionedThroughput)
- gsiiKeySchema :: Lens' GlobalSecondaryIndexInfo (Maybe (NonEmpty KeySchemaElement))
- gsiiProjection :: Lens' GlobalSecondaryIndexInfo (Maybe Projection)
- gsiiIndexName :: Lens' GlobalSecondaryIndexInfo (Maybe Text)
- data GlobalSecondaryIndexUpdate
- globalSecondaryIndexUpdate :: GlobalSecondaryIndexUpdate
- gsiuCreate :: Lens' GlobalSecondaryIndexUpdate (Maybe CreateGlobalSecondaryIndexAction)
- gsiuDelete :: Lens' GlobalSecondaryIndexUpdate (Maybe DeleteGlobalSecondaryIndexAction)
- gsiuUpdate :: Lens' GlobalSecondaryIndexUpdate (Maybe UpdateGlobalSecondaryIndexAction)
- data GlobalTable
- globalTable :: GlobalTable
- gtGlobalTableName :: Lens' GlobalTable (Maybe Text)
- gtReplicationGroup :: Lens' GlobalTable [Replica]
- data GlobalTableDescription
- globalTableDescription :: GlobalTableDescription
- gtdGlobalTableStatus :: Lens' GlobalTableDescription (Maybe GlobalTableStatus)
- gtdGlobalTableName :: Lens' GlobalTableDescription (Maybe Text)
- gtdGlobalTableARN :: Lens' GlobalTableDescription (Maybe Text)
- gtdCreationDateTime :: Lens' GlobalTableDescription (Maybe UTCTime)
- gtdReplicationGroup :: Lens' GlobalTableDescription [ReplicaDescription]
- data GlobalTableGlobalSecondaryIndexSettingsUpdate
- globalTableGlobalSecondaryIndexSettingsUpdate :: Text -> GlobalTableGlobalSecondaryIndexSettingsUpdate
- gtgsisuProvisionedWriteCapacityUnits :: Lens' GlobalTableGlobalSecondaryIndexSettingsUpdate (Maybe Natural)
- gtgsisuIndexName :: Lens' GlobalTableGlobalSecondaryIndexSettingsUpdate Text
- data ItemCollectionMetrics
- itemCollectionMetrics :: ItemCollectionMetrics
- icmItemCollectionKey :: Lens' ItemCollectionMetrics (HashMap Text AttributeValue)
- icmSizeEstimateRangeGB :: Lens' ItemCollectionMetrics [Double]
- data KeySchemaElement
- keySchemaElement :: Text -> KeyType -> KeySchemaElement
- kseAttributeName :: Lens' KeySchemaElement Text
- kseKeyType :: Lens' KeySchemaElement KeyType
- data KeysAndAttributes
- keysAndAttributes :: NonEmpty (HashMap Text AttributeValue) -> KeysAndAttributes
- kaaProjectionExpression :: Lens' KeysAndAttributes (Maybe Text)
- kaaAttributesToGet :: Lens' KeysAndAttributes (Maybe (NonEmpty Text))
- kaaExpressionAttributeNames :: Lens' KeysAndAttributes (HashMap Text Text)
- kaaConsistentRead :: Lens' KeysAndAttributes (Maybe Bool)
- kaaKeys :: Lens' KeysAndAttributes (NonEmpty (HashMap Text AttributeValue))
- data LocalSecondaryIndex
- localSecondaryIndex :: Text -> NonEmpty KeySchemaElement -> Projection -> LocalSecondaryIndex
- lsiIndexName :: Lens' LocalSecondaryIndex Text
- lsiKeySchema :: Lens' LocalSecondaryIndex (NonEmpty KeySchemaElement)
- lsiProjection :: Lens' LocalSecondaryIndex Projection
- data LocalSecondaryIndexDescription
- localSecondaryIndexDescription :: LocalSecondaryIndexDescription
- lsidIndexSizeBytes :: Lens' LocalSecondaryIndexDescription (Maybe Integer)
- lsidIndexARN :: Lens' LocalSecondaryIndexDescription (Maybe Text)
- lsidKeySchema :: Lens' LocalSecondaryIndexDescription (Maybe (NonEmpty KeySchemaElement))
- lsidProjection :: Lens' LocalSecondaryIndexDescription (Maybe Projection)
- lsidItemCount :: Lens' LocalSecondaryIndexDescription (Maybe Integer)
- lsidIndexName :: Lens' LocalSecondaryIndexDescription (Maybe Text)
- data LocalSecondaryIndexInfo
- localSecondaryIndexInfo :: LocalSecondaryIndexInfo
- lsiiKeySchema :: Lens' LocalSecondaryIndexInfo (Maybe (NonEmpty KeySchemaElement))
- lsiiProjection :: Lens' LocalSecondaryIndexInfo (Maybe Projection)
- lsiiIndexName :: Lens' LocalSecondaryIndexInfo (Maybe Text)
- data PointInTimeRecoveryDescription
- pointInTimeRecoveryDescription :: PointInTimeRecoveryDescription
- pitrdPointInTimeRecoveryStatus :: Lens' PointInTimeRecoveryDescription (Maybe PointInTimeRecoveryStatus)
- pitrdEarliestRestorableDateTime :: Lens' PointInTimeRecoveryDescription (Maybe UTCTime)
- pitrdLatestRestorableDateTime :: Lens' PointInTimeRecoveryDescription (Maybe UTCTime)
- data PointInTimeRecoverySpecification
- pointInTimeRecoverySpecification :: Bool -> PointInTimeRecoverySpecification
- pitrsPointInTimeRecoveryEnabled :: Lens' PointInTimeRecoverySpecification Bool
- data Projection
- projection :: Projection
- pProjectionType :: Lens' Projection (Maybe ProjectionType)
- pNonKeyAttributes :: Lens' Projection (Maybe (NonEmpty Text))
- data ProvisionedThroughput
- provisionedThroughput :: Natural -> Natural -> ProvisionedThroughput
- ptReadCapacityUnits :: Lens' ProvisionedThroughput Natural
- ptWriteCapacityUnits :: Lens' ProvisionedThroughput Natural
- data ProvisionedThroughputDescription
- provisionedThroughputDescription :: ProvisionedThroughputDescription
- ptdReadCapacityUnits :: Lens' ProvisionedThroughputDescription (Maybe Natural)
- ptdLastDecreaseDateTime :: Lens' ProvisionedThroughputDescription (Maybe UTCTime)
- ptdWriteCapacityUnits :: Lens' ProvisionedThroughputDescription (Maybe Natural)
- ptdNumberOfDecreasesToday :: Lens' ProvisionedThroughputDescription (Maybe Natural)
- ptdLastIncreaseDateTime :: Lens' ProvisionedThroughputDescription (Maybe UTCTime)
- data PutRequest
- putRequest :: PutRequest
- prItem :: Lens' PutRequest (HashMap Text AttributeValue)
- data Replica
- replica :: Replica
- rRegionName :: Lens' Replica (Maybe Text)
- data ReplicaDescription
- replicaDescription :: ReplicaDescription
- rdRegionName :: Lens' ReplicaDescription (Maybe Text)
- data ReplicaGlobalSecondaryIndexSettingsDescription
- replicaGlobalSecondaryIndexSettingsDescription :: Text -> ReplicaGlobalSecondaryIndexSettingsDescription
- rgsisdIndexStatus :: Lens' ReplicaGlobalSecondaryIndexSettingsDescription (Maybe IndexStatus)
- rgsisdProvisionedReadCapacityUnits :: Lens' ReplicaGlobalSecondaryIndexSettingsDescription (Maybe Natural)
- rgsisdProvisionedWriteCapacityUnits :: Lens' ReplicaGlobalSecondaryIndexSettingsDescription (Maybe Natural)
- rgsisdIndexName :: Lens' ReplicaGlobalSecondaryIndexSettingsDescription Text
- data ReplicaGlobalSecondaryIndexSettingsUpdate
- replicaGlobalSecondaryIndexSettingsUpdate :: Text -> ReplicaGlobalSecondaryIndexSettingsUpdate
- rgsisuProvisionedReadCapacityUnits :: Lens' ReplicaGlobalSecondaryIndexSettingsUpdate (Maybe Natural)
- rgsisuIndexName :: Lens' ReplicaGlobalSecondaryIndexSettingsUpdate Text
- data ReplicaSettingsDescription
- replicaSettingsDescription :: Text -> ReplicaSettingsDescription
- rsdReplicaStatus :: Lens' ReplicaSettingsDescription (Maybe ReplicaStatus)
- rsdReplicaProvisionedReadCapacityUnits :: Lens' ReplicaSettingsDescription (Maybe Natural)
- rsdReplicaProvisionedWriteCapacityUnits :: Lens' ReplicaSettingsDescription (Maybe Natural)
- rsdReplicaGlobalSecondaryIndexSettings :: Lens' ReplicaSettingsDescription [ReplicaGlobalSecondaryIndexSettingsDescription]
- rsdRegionName :: Lens' ReplicaSettingsDescription Text
- data ReplicaSettingsUpdate
- replicaSettingsUpdate :: Text -> ReplicaSettingsUpdate
- rsuReplicaProvisionedReadCapacityUnits :: Lens' ReplicaSettingsUpdate (Maybe Natural)
- rsuReplicaGlobalSecondaryIndexSettingsUpdate :: Lens' ReplicaSettingsUpdate (Maybe (NonEmpty ReplicaGlobalSecondaryIndexSettingsUpdate))
- rsuRegionName :: Lens' ReplicaSettingsUpdate Text
- data ReplicaUpdate
- replicaUpdate :: ReplicaUpdate
- ruCreate :: Lens' ReplicaUpdate (Maybe CreateReplicaAction)
- ruDelete :: Lens' ReplicaUpdate (Maybe DeleteReplicaAction)
- data RestoreSummary
- restoreSummary :: UTCTime -> Bool -> RestoreSummary
- rsSourceTableARN :: Lens' RestoreSummary (Maybe Text)
- rsSourceBackupARN :: Lens' RestoreSummary (Maybe Text)
- rsRestoreDateTime :: Lens' RestoreSummary UTCTime
- rsRestoreInProgress :: Lens' RestoreSummary Bool
- data SSEDescription
- sSEDescription :: SSEDescription
- ssedStatus :: Lens' SSEDescription (Maybe SSEStatus)
- data SSESpecification
- sSESpecification :: Bool -> SSESpecification
- ssesEnabled :: Lens' SSESpecification Bool
- data SourceTableDetails
- sourceTableDetails :: Text -> Text -> NonEmpty KeySchemaElement -> UTCTime -> ProvisionedThroughput -> SourceTableDetails
- stdTableSizeBytes :: Lens' SourceTableDetails (Maybe Integer)
- stdTableARN :: Lens' SourceTableDetails (Maybe Text)
- stdItemCount :: Lens' SourceTableDetails (Maybe Natural)
- stdTableName :: Lens' SourceTableDetails Text
- stdTableId :: Lens' SourceTableDetails Text
- stdKeySchema :: Lens' SourceTableDetails (NonEmpty KeySchemaElement)
- stdTableCreationDateTime :: Lens' SourceTableDetails UTCTime
- stdProvisionedThroughput :: Lens' SourceTableDetails ProvisionedThroughput
- data SourceTableFeatureDetails
- sourceTableFeatureDetails :: SourceTableFeatureDetails
- stfdStreamDescription :: Lens' SourceTableFeatureDetails (Maybe StreamSpecification)
- stfdGlobalSecondaryIndexes :: Lens' SourceTableFeatureDetails [GlobalSecondaryIndexInfo]
- stfdLocalSecondaryIndexes :: Lens' SourceTableFeatureDetails [LocalSecondaryIndexInfo]
- stfdSSEDescription :: Lens' SourceTableFeatureDetails (Maybe SSEDescription)
- stfdTimeToLiveDescription :: Lens' SourceTableFeatureDetails (Maybe TimeToLiveDescription)
- data StreamSpecification
- streamSpecification :: StreamSpecification
- ssStreamViewType :: Lens' StreamSpecification (Maybe StreamViewType)
- ssStreamEnabled :: Lens' StreamSpecification (Maybe Bool)
- data TableDescription
- tableDescription :: TableDescription
- tdRestoreSummary :: Lens' TableDescription (Maybe RestoreSummary)
- tdTableSizeBytes :: Lens' TableDescription (Maybe Integer)
- tdAttributeDefinitions :: Lens' TableDescription [AttributeDefinition]
- tdLatestStreamARN :: Lens' TableDescription (Maybe Text)
- tdProvisionedThroughput :: Lens' TableDescription (Maybe ProvisionedThroughputDescription)
- tdTableStatus :: Lens' TableDescription (Maybe TableStatus)
- tdTableARN :: Lens' TableDescription (Maybe Text)
- tdKeySchema :: Lens' TableDescription (Maybe (NonEmpty KeySchemaElement))
- tdGlobalSecondaryIndexes :: Lens' TableDescription [GlobalSecondaryIndexDescription]
- tdLatestStreamLabel :: Lens' TableDescription (Maybe Text)
- tdLocalSecondaryIndexes :: Lens' TableDescription [LocalSecondaryIndexDescription]
- tdCreationDateTime :: Lens' TableDescription (Maybe UTCTime)
- tdSSEDescription :: Lens' TableDescription (Maybe SSEDescription)
- tdTableId :: Lens' TableDescription (Maybe Text)
- tdItemCount :: Lens' TableDescription (Maybe Integer)
- tdTableName :: Lens' TableDescription (Maybe Text)
- tdStreamSpecification :: Lens' TableDescription (Maybe StreamSpecification)
- data Tag
- tag :: Text -> Text -> Tag
- tagKey :: Lens' Tag Text
- tagValue :: Lens' Tag Text
- data TimeToLiveDescription
- timeToLiveDescription :: TimeToLiveDescription
- ttldTimeToLiveStatus :: Lens' TimeToLiveDescription (Maybe TimeToLiveStatus)
- ttldAttributeName :: Lens' TimeToLiveDescription (Maybe Text)
- data TimeToLiveSpecification
- timeToLiveSpecification :: Bool -> Text -> TimeToLiveSpecification
- ttlsEnabled :: Lens' TimeToLiveSpecification Bool
- ttlsAttributeName :: Lens' TimeToLiveSpecification Text
- data UpdateGlobalSecondaryIndexAction
- updateGlobalSecondaryIndexAction :: Text -> ProvisionedThroughput -> UpdateGlobalSecondaryIndexAction
- ugsiaIndexName :: Lens' UpdateGlobalSecondaryIndexAction Text
- ugsiaProvisionedThroughput :: Lens' UpdateGlobalSecondaryIndexAction ProvisionedThroughput
- data WriteRequest
- writeRequest :: WriteRequest
- wrDeleteRequest :: Lens' WriteRequest (Maybe DeleteRequest)
- wrPutRequest :: Lens' WriteRequest (Maybe PutRequest)
Service Configuration
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by DynamoDB
.
BackupNotFoundException
_BackupNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Backup not found for the given BackupARN.
TableInUseException
_TableInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A target table with the specified name is either being created or deleted.
ContinuousBackupsUnavailableException
_ContinuousBackupsUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Backups have not yet been enabled for this table.
ProvisionedThroughputExceededException
_ProvisionedThroughputExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request rate is too high. The AWS SDKs for DynamoDB automatically retry requests that receive this exception. Your request is eventually successful, unless your retry queue is too large to finish. Reduce the frequency of requests and use exponential backoff. For more information, go to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide .
GlobalTableNotFoundException
_GlobalTableNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified global table does not exist.
ConditionalCheckFailedException
_ConditionalCheckFailedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A condition specified in the operation could not be evaluated.
GlobalTableAlreadyExistsException
_GlobalTableAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified global table already exists.
ReplicaNotFoundException
_ReplicaNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified replica is no longer part of the global table.
TableAlreadyExistsException
_TableAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A target table with the specified name already exists.
ItemCollectionSizeLimitExceededException
_ItemCollectionSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An item collection is too large. This exception is only returned for tables that have one or more local secondary indexes.
InternalServerError
_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #
An error occurred on the server side.
TableNotFoundException
_TableNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A source table with the name TableName
does not currently exist within the subscriber's account.
IndexNotFoundException
_IndexNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation tried to access a nonexistent index.
BackupInUseException
_BackupInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #
There is another ongoing conflicting backup control plane operation on the table. The backups is either being created, deleted or restored to a table.
PointInTimeRecoveryUnavailableException
_PointInTimeRecoveryUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Point in time recovery has not yet been enabled for this source table.
InvalidRestoreTimeException
_InvalidRestoreTimeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An invalid restore time was specified. RestoreDateTime must be between EarliestRestorableDateTime and LatestRestorableDateTime.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation tried to access a nonexistent table or index. The resource might not be specified correctly, or its status might not be ACTIVE
.
ReplicaAlreadyExistsException
_ReplicaAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified replica is already part of the global table.
LimitExceededException
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Up to 50 CreateBackup
operations are allowed per second, per account. There is no limit to the number of daily on-demand backups that can be taken.
Up to 10 simultaneous table operations are allowed per account. These operations include CreateTable
, UpdateTable
, DeleteTable
,UpdateTimeToLive
, RestoreTableFromBackup
, and RestoreTableToPointInTime
.
For tables with secondary indexes, only one of those tables can be in the CREATING
state at any point in time. Do not attempt to create more than one such table simultaneously.
The total limit of tables in the ACTIVE
state is 250.
ResourceInUseException
_ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation conflicts with the resource's availability. For example, you attempted to recreate an existing table, or tried to delete a table currently in the CREATING
state.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
TableNotExists
tableNotExists :: Wait DescribeTable Source #
Polls DescribeTable
every 20 seconds until a successful state is reached. An error is returned after 25 failed checks.
TableExists
tableExists :: Wait DescribeTable Source #
Polls DescribeTable
every 20 seconds until a successful state is reached. An error is returned after 25 failed checks.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
PutItem
module Network.AWS.DynamoDB.PutItem
DeleteItem
UpdateItem
ListGlobalTables
UpdateGlobalTable
DeleteTable
UpdateTable
BatchGetItem
ListBackups (Paginated)
DeleteBackup
CreateBackup
DescribeGlobalTableSettings
ListTagsOfResource
DescribeGlobalTable
DescribeTable
DescribeLimits
GetItem
module Network.AWS.DynamoDB.GetItem
DescribeBackup
UpdateGlobalTableSettings
BatchWriteItem
ListTables (Paginated)
Scan (Paginated)
module Network.AWS.DynamoDB.Scan
Query (Paginated)
module Network.AWS.DynamoDB.Query
CreateTable
DescribeTimeToLive
DescribeContinuousBackups
TagResource
UntagResource
RestoreTableToPointInTime
RestoreTableFromBackup
UpdateTimeToLive
CreateGlobalTable
UpdateContinuousBackups
Types
AttributeAction
data AttributeAction Source #
Instances
BackupStatus
data BackupStatus Source #
Instances
ComparisonOperator
data ComparisonOperator Source #
Instances
ConditionalOperator
data ConditionalOperator Source #
Instances
ContinuousBackupsStatus
data ContinuousBackupsStatus Source #
Constructors
CBSDisabled | |
CBSEnabled |
Instances
GlobalTableStatus
data GlobalTableStatus Source #
Constructors
GTSActive | |
GTSCreating | |
GTSDeleting | |
GTSUpdating |
Instances
IndexStatus
data IndexStatus Source #
Constructors
ISActive | |
ISCreating | |
ISDeleting | |
ISUpdating |
Instances
KeyType
Instances
PointInTimeRecoveryStatus
data PointInTimeRecoveryStatus Source #
Constructors
PITRSDisabled | |
PITRSEnabled |
Instances
ProjectionType
data ProjectionType Source #
Constructors
PTAll | |
PTInclude | |
PTKeysOnly |
Instances
ReplicaStatus
data ReplicaStatus Source #
Constructors
RSActive | |
RSCreating | |
RSDeleting | |
RSUpdating |
Instances
ReturnConsumedCapacity
data ReturnConsumedCapacity Source #
Determines the level of detail about provisioned throughput consumption that is returned in the response:
INDEXES
- The response includes the aggregateConsumedCapacity
for the operation, together withConsumedCapacity
for each table and secondary index that was accessed.
Note that some operations, such as GetItem
and BatchGetItem
, do not access any indexes at all. In these cases, specifying INDEXES
will only return ConsumedCapacity
information for table(s).
TOTAL
- The response includes only the aggregateConsumedCapacity
for the operation.NONE
- NoConsumedCapacity
details are included in the response.
Constructors
RCCIndexes | |
RCCNone | |
RCCTotal |
Instances
ReturnItemCollectionMetrics
data ReturnItemCollectionMetrics Source #
Instances
ReturnValue
data ReturnValue Source #
Constructors
AllNew | |
AllOld | |
None | |
UpdatedNew | |
UpdatedOld |
Instances
SSEStatus
Constructors
SSESDisabled | |
SSESDisabling | |
SSESEnabled | |
SSESEnabling |
Instances
ScalarAttributeType
data ScalarAttributeType Source #
Instances
Select
Constructors
AllAttributes | |
AllProjectedAttributes | |
Count | |
SpecificAttributes |
Instances
StreamViewType
data StreamViewType Source #
Constructors
KeysOnly | |
NewAndOldImages | |
NewImage | |
OldImage |
Instances
TableStatus
data TableStatus Source #
Constructors
TSActive | |
TSCreating | |
TSDeleting | |
TSUpdating |
Instances
TimeToLiveStatus
data TimeToLiveStatus Source #
Instances
AttributeDefinition
data AttributeDefinition Source #
Represents an attribute for describing the key schema for the table and indexes.
See: attributeDefinition
smart constructor.
Instances
Arguments
:: Text | |
-> ScalarAttributeType | |
-> AttributeDefinition |
Creates a value of AttributeDefinition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adAttributeName
- A name for the attribute.adAttributeType
- The data type for the attribute, where: *S
- the attribute is of type String *N
- the attribute is of type Number *B
- the attribute is of type Binary
adAttributeName :: Lens' AttributeDefinition Text Source #
A name for the attribute.
adAttributeType :: Lens' AttributeDefinition ScalarAttributeType Source #
The data type for the attribute, where: * S
- the attribute is of type String * N
- the attribute is of type Number * B
- the attribute is of type Binary
AttributeValue
data AttributeValue Source #
Represents the data for an attribute.
Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.
For more information, see Data Types in the Amazon DynamoDB Developer Guide .
See: attributeValue
smart constructor.
Instances
Eq AttributeValue Source # | |
Defined in Network.AWS.DynamoDB.Types.Product Methods (==) :: AttributeValue -> AttributeValue -> Bool # (/=) :: AttributeValue -> AttributeValue -> Bool # | |
Data AttributeValue Source # | |
Defined in Network.AWS.DynamoDB.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AttributeValue -> c AttributeValue # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AttributeValue # toConstr :: AttributeValue -> Constr # dataTypeOf :: AttributeValue -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AttributeValue) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> |