Skip to content

Commit

Permalink
Added s3 api commands
Browse files Browse the repository at this point in the history
  • Loading branch information
qtsathish committed Jun 1, 2021
1 parent 7ef1094 commit a55806a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions s3/May21/s3apisample.sh
@@ -0,0 +1,7 @@
#!/bin/bash

aws s3api create-bucket --acl 'public-read' --bucket 'qts3apidemo' --region 'us-east-1'

aws s3api put-object --bucket 'qts3apidemo' --key 'videos/one.mp4' --body './contents/one.mp4'

# Create the similar structure like what we have done with basic s3 commands
2 changes: 2 additions & 0 deletions s3/May21/s3sample.sh
Expand Up @@ -56,3 +56,5 @@ aws s3 ls s3://qts3inclass --recursive --human-readable





0 comments on commit a55806a

Please sign in to comment.