mirror of
https://github.com/sprockets/sprockets.clients.dynamodb.git
synced 2024-11-23 19:29:51 +00:00
23 lines
705 B
Python
23 lines
705 B
Python
try:
|
|
from .connector import DynamoDB
|
|
except ImportError as error:
|
|
def DynamoDB(*args, **kwargs):
|
|
raise error
|
|
|
|
version_info = (0, 0, 0)
|
|
__version__ = '.'.join(str(v) for v in version_info)
|
|
|
|
# Response constants
|
|
TABLE_ACTIVE = 'ACTIVE'
|
|
TABLE_CREATING = 'CREATING'
|
|
TABLE_DELETING = 'DELETING'
|
|
TABLE_DISABLED = 'DISABLED'
|
|
TABLE_UPDATING = 'UPDATING'
|
|
|
|
# Table stream view type constants
|
|
STREAM_VIEW_NEW_IMAGE = 'NEW_IMAGE'
|
|
STREAM_VIEW_OLD_IMAGE = 'OLD_IMAGE'
|
|
STREAM_VIEW_NEW_AND_OLD_IMAGES = 'NEW_AND_OLD_IMAGES'
|
|
STREAM_VIEW_KEYS_ONLY = 'KEYS_ONLY'
|
|
_STREAM_VIEW_TYPES = (STREAM_VIEW_NEW_IMAGE, STREAM_VIEW_OLD_IMAGE,
|
|
STREAM_VIEW_NEW_AND_OLD_IMAGES, STREAM_VIEW_KEYS_ONLY)
|