boto-s3-router
boto-s3-router copied to clipboard
Support boto resource
Boto resource
Provides high-level, object-oriented API. It exposes sub-resources and collections of AWS resources and has actions (operations on resources). API
Usage
import boto3
s3 = boto3.resource('s3')
# S3 Object (bucket_name and key are identifiers)
obj = s3.Object(bucket_name='boto3', key='test.py')
print(obj.bucket_name)
print(obj.key)
Wrap boto resource
import boto
import botwo
s3 = boto3.resource('s3')
botwo.resource('s3')