I want to copy a file from one s3 bucket to another. I get the following error:
s3.meta.client.copy(source,dest) TypeError: copy() takes at leas
This is the syntax from docs:
import boto3 s3 = boto3.resource('s3') copy_source = { 'Bucket': 'mybucket', 'Key': 'mykey' } s3.meta.client.copy(copy_source, 'otherbucket', 'otherkey')