Skip to content

Instantly share code, notes, and snippets.

@pgchamberlin
Created June 30, 2014 14:18
Show Gist options
  • Save pgchamberlin/299bf5c4c014eead155e to your computer and use it in GitHub Desktop.
Save pgchamberlin/299bf5c4c014eead155e to your computer and use it in GitHub Desktop.
Dev on AWS: Lab 2.1 code
import boto
from boto.s3.key import Key
class Ilabcode:
def create_bucket(self, s3_client, bucket_name, region):
pass
def put_object(self, s3_client, bucket_name, source_file_name, object_key):
pass
def list_objects(s3_client, bucket_name):
pass
def make_object_public(s3_client, bucket_name, key):
pass
def generate_pre_signed_url(s3_client, bucket_name, key):
pass
@pgchamberlin
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment