How to backup DynamoDB using boto3.resource

时间:2019-03-19 14:57:57

标签: python amazon-dynamodb boto3 database-backups

How I can modify following code using boto3.resource()

client = boto3.client('dynamodb', region_name='us-west-2')
response = client.create_backup(
    TableName='test',
    BackupName='backup_test'
)

I don't want to use 'boto3.client' here. same I also want to restore my table using boto3.resource()

1 个答案:

答案 0 :(得分:0)