Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support boto resource #3

Open
eden-ohana opened this issue Dec 5, 2021 · 0 comments
Open

Support boto resource #3

eden-ohana opened this issue Dec 5, 2021 · 0 comments

Comments

@eden-ohana
Copy link
Contributor

eden-ohana commented Dec 5, 2021

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')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants