1
0
Alan Yeung 3 өдөр өмнө
parent
commit
aa96f00cee
3 өөрчлөгдсөн 30 нэмэгдсэн , 0 устгасан
  1. BIN
      aws/data/bolt.db
  2. 15 0
      aws/td.bat
  3. 15 0
      aws/w.bat

BIN
aws/data/bolt.db


+ 15 - 0
aws/td.bat

@@ -0,0 +1,15 @@
+aws sts get-caller-identity --endpoint-url http://localhost:8080 --debug
+aws s3 ls --endpoint-url http://localhost:8080 --debug
+aws s3 mb s3://my-test-bucket --endpoint-url http://localhost:8080 --debug
+echo "Hello, S3!" > test.txt
+aws s3 cp test.txt s3://my-test-bucket/test.txt --endpoint-url http://localhost:8080 --debug
+aws s3 cp "DSC01472 copy.jpg" "s3://my-test-bucket/DSC01472 copy.jpg" --endpoint-url http://localhost:8080 --debug
+aws s3 cp s3://my-test-bucket/test.txt downloaded.txt --endpoint-url http://localhost:8080 --debug
+aws s3 ls --endpoint-url http://localhost:8080 --debug
+aws s3 ls s3://my-test-bucket/ --endpoint-url http://localhost:8080 --debug
+aws s3 rm s3://my-test-bucket/test.txt --endpoint-url http://localhost:8080 --debug
+aws s3 rm "s3://my-test-bucket/DSC01472 copy.jpg" --endpoint-url http://localhost:8080 --debug
+aws sts get-caller-identity --endpoint-url http://localhost:8080 --debug
+aws s3 rb s3://my-test-bucket --endpoint-url=http://localhost:8080 --debug
+aws s3 ls --endpoint-url http://localhost:8080 --debug
+

+ 15 - 0
aws/w.bat

@@ -0,0 +1,15 @@
+aws sts get-caller-identity --endpoint-url https://s3.alanyeung.co
+aws s3 ls --endpoint-url https://s3.alanyeung.co
+aws s3 mb s3://my-test-bucket --endpoint-url https://s3.alanyeung.co
+echo "Hello, S3!" > test.txt
+aws s3 cp test.txt s3://my-test-bucket/test.txt --endpoint-url https://s3.alanyeung.co
+aws s3 cp "DSC01472 copy.jpg" "s3://my-test-bucket/DSC01472 copy.jpg" --endpoint-url https://s3.alanyeung.co
+aws s3 cp s3://my-test-bucket/test.txt downloaded.txt --endpoint-url https://s3.alanyeung.co
+aws s3 ls --endpoint-url https://s3.alanyeung.co
+aws s3 ls s3://my-test-bucket/ --endpoint-url https://s3.alanyeung.co
+aws s3 rm s3://my-test-bucket/test.txt --endpoint-url https://s3.alanyeung.co
+aws s3 rm "s3://my-test-bucket/DSC01472 copy.jpg" --endpoint-url https://s3.alanyeung.co
+aws sts get-caller-identity --endpoint-url https://s3.alanyeung.co
+aws s3 rb s3://my-test-bucket --endpoint-url=https://s3.alanyeung.co
+aws s3 ls --endpoint-url https://s3.alanyeung.co
+