1
00:00:00,120 --> 00:00:07,950
In this video, we are going to create and use Amazon S3 buckets with using the SDK command classes.

2
00:00:08,100 --> 00:00:11,640
So in this example we have created Node.js.

3
00:00:11,640 --> 00:00:16,190
Modules are used to obtain a list of existing Amazon S3 buckets.

4
00:00:16,200 --> 00:00:21,320
We can create bucket list, bucket upload file to the specified bucket.

5
00:00:21,330 --> 00:00:28,380
So these Node.js modules use the SDK for JavaScript to get information from and the upload files and

6
00:00:28,380 --> 00:00:31,370
Amazon S3 bucket using these command objects.

7
00:00:31,380 --> 00:00:37,730
So basically let me show how we can get this command object and understand how we can perform this.

8
00:00:37,740 --> 00:00:42,780
In order to do that, we have to look at the reference documentation.

9
00:00:42,780 --> 00:00:48,240
This is the client S3 package and we will use, for example, list bucket command.

10
00:00:48,240 --> 00:00:54,150
And if you come to this bucket command page, you can see the example implementation that we can use

11
00:00:54,150 --> 00:01:00,450
this command into the client S3 and pasting this command object into the client side method.

12
00:01:00,450 --> 00:01:03,900
And this is the available method that responds back to us.

13
00:01:03,930 --> 00:01:09,210
S3 interaction for listing the buckets and is the same way we have a create bucket command.

14
00:01:09,210 --> 00:01:14,640
If you scroll down you can see that there is lots of options that we can perform in the parameters,

15
00:01:14,640 --> 00:01:16,410
but the idea is the same.

16
00:01:16,410 --> 00:01:22,870
We are adding the command object into the import statement of the client S3 and sent this command with

17
00:01:22,870 --> 00:01:25,620
the required parameters to the client object.

18
00:01:25,620 --> 00:01:32,100
So we will follow these steps in the next few videos to perform some of the commands.

19
00:01:32,100 --> 00:01:40,020
And I'm not going to apply all the commands since you got the idea how we can use local Node.js application

20
00:01:40,020 --> 00:01:46,500
using the SDK package and interact Amazon S3, you can perform the rest of the command in your computer,

21
00:01:46,500 --> 00:01:51,180
but now let's start a few commands to implement in our local Node.js application.
