Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

boto3 client python

import boto3

# Let's use Amazon S3
client = boto3.client('s3',
  aws_access_key_id='Your_Access_Key_ID',
  aws_secret_access_key='You_Secret access_key',
  region_name='Region_Name'
)
    
# Upload a new file
client.upload_file('test.jpg', 'bucket_name', 'test.jpg')
 
PREVIOUS NEXT
Tagged: #client #python
ADD COMMENT
Topic
Name
6+5 =