boto-s3-router icon indicating copy to clipboard operation
boto-s3-router copied to clipboard

Support boto resource

Open eden-ohana opened this issue 2 years ago • 0 comments

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')

eden-ohana avatar Dec 05 '21 15:12 eden-ohana