DynamoDB#
Client#
- class DynamoDB.Client#
A low-level client representing 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 Amazon Web Services 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 Amazon Web Services Region, providing built-in high availability and data durability.
client = session.create_client('dynamodb')
These are the available methods:
- batch_execute_statement
- batch_get_item
- batch_write_item
- can_paginate
- close
- create_backup
- create_global_table
- create_table
- delete_backup
- delete_item
- delete_resource_policy
- delete_table
- describe_backup
- describe_continuous_backups
- describe_contributor_insights
- describe_endpoints
- describe_export
- describe_global_table
- describe_global_table_settings
- describe_import
- describe_kinesis_streaming_destination
- describe_limits
- describe_table
- describe_table_replica_auto_scaling
- describe_time_to_live
- disable_kinesis_streaming_destination
- enable_kinesis_streaming_destination
- execute_statement
- execute_transaction
- export_table_to_point_in_time
- get_item
- get_paginator
- get_resource_policy
- get_waiter
- import_table
- list_backups
- list_contributor_insights
- list_exports
- list_global_tables
- list_imports
- list_tables
- list_tags_of_resource
- put_item
- put_resource_policy
- query
- restore_table_from_backup
- restore_table_to_point_in_time
- scan
- tag_resource
- transact_get_items
- transact_write_items
- untag_resource
- update_continuous_backups
- update_contributor_insights
- update_global_table
- update_global_table_settings
- update_item
- update_kinesis_streaming_destination
- update_table
- update_table_replica_auto_scaling
- update_time_to_live
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
- BackupInUseException
- BackupNotFoundException
- ConditionalCheckFailedException
- ContinuousBackupsUnavailableException
- DuplicateItemException
- ExportConflictException
- ExportNotFoundException
- GlobalTableAlreadyExistsException
- GlobalTableNotFoundException
- IdempotentParameterMismatchException
- ImportConflictException
- ImportNotFoundException
- IndexNotFoundException
- InternalServerError
- InvalidExportTimeException
- InvalidRestoreTimeException
- ItemCollectionSizeLimitExceededException
- LimitExceededException
- PointInTimeRecoveryUnavailableException
- PolicyNotFoundException
- ProvisionedThroughputExceededException
- ReplicaAlreadyExistsException
- ReplicaNotFoundException
- RequestLimitExceeded
- ResourceInUseException
- ResourceNotFoundException
- TableAlreadyExistsException
- TableInUseException
- TableNotFoundException
- TransactionCanceledException
- TransactionConflictException
- TransactionInProgressException
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are:
Waiters#
Waiters are available on a client instance via the get_waiter
method. For more detailed instructions and examples on the usage or waiters, see the waiters user guide.
The available waiters are: