From the course: AWS for Developers: S3
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Bucket manipulation - Amazon Web Services (AWS) Tutorial
From the course: AWS for Developers: S3
Bucket manipulation
- [Narrator] Will now go through a few of the more common ways of interacting with buckets themselves. Again, this is just a snapshot of the SDK. So, back on our Python file, let's create a few more methods. The first one that we're going to create is to list the objects in our bucket. To do that we simply need to know, which bucket we want to list. We will do a try once again. And this time we're going to do a response. And we're going to jump into the actual low level client instead of using the resource, we're going to jump into this client just to show you how this works. And we will call list objects on that client and we'll pass it the bucket that we want. Now, we will create an objects list and we'll unpack this response. So, for content in response and this is a dictionary. So in the response, there's an element called contents, we're going to get each element in there. And we will simply do an…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Setting up an basic Python script2m 49s
-
(Locked)
Installing the SDK Boto31m 34s
-
(Locked)
Creating a bucket6m 10s
-
(Locked)
Binary object manipulation6m 50s
-
(Locked)
Bucket manipulation4m 59s
-
(Locked)
Bucket security5m 25s
-
(Locked)
Presigning URLs2m 54s
-
(Locked)
Deleting a bucket2m 3s
-
(Locked)
Challenge: Python SDK operations39s
-
(Locked)
Solution: Python SDK operations2m 51s
-
(Locked)
-
-