You are on page 1of 2

C:\>aws configure

AWS Access Key ID [****************SFFR]: AKIATYXZ2ONBRU4WSFFR


AWS Secret Access Key [****************dh/i]:
xCCVV6TOudoih6S4IhIpG4+DsxpFKkrktzwodh/i
Default region name [mumbai]: mumbai
Default output format [None]:

C:\>aws s3 ls

Could not connect to the endpoint URL: "https://s3.mumbai.amazonaws.com/"

C:\>aws s3 ls

Could not connect to the endpoint URL: "https://s3.mumbai.amazonaws.com/"

C:\>aws configure
AWS Access Key ID [****************SFFR]: AKIATYXZ2ONBRU4WSFFR
AWS Secret Access Key [****************dh/i]:
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
Default region name [mumbai]: ap-south-1
Default output format [None]:

C:\>aws s3 ls
2019-04-08 12:45:19 myversionsweta
2019-03-25 10:37:55 sweta.jolly
2019-03-25 11:35:11 sweta.ranjan.jolly
2019-04-08 12:40:47 swetajolly-sydney

C:\>aws s3 cp--recursive s3://mversionsweta s3://swetjolly-sydney


usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

aws help
aws <command> help
aws <command> <subcommand> help
aws: error: argument subcommand: Invalid choice, valid choices are:

ls | website
cp | mv
rm | sync
mb | rb
presign

C:\>aws s3 cp --recursive s3://myversionsweta s3://swetjolly-sydney


copy failed: s3://myversionsweta/snapdeal.txt to s3://swetjolly-sydney/snapdeal.txt
An error occurred (NoSuchBucket) when calling the CopyObject operation: The
specified bucket does not exist
copy failed: s3://myversionsweta/versionaws.txt to s3://swetjolly-
sydney/versionaws.txt An error occurred (NoSuchBucket) when calling the CopyObject
operation: The specified bucket does not exist
copy failed: s3://myversionsweta/IMG-20180808-WA0004.jpg to s3://swetjolly-
sydney/IMG-20180808-WA0004.jpg An error occurred (NoSuchBucket) when calling the
CopyObject operation: The specified bucket does not exist

C:\>aws s3 cp --recursive s3://myversionsweta s3://swetajolly-sydney


copy: s3://myversionsweta/versionaws.txt to s3://swetajolly-sydney/versionaws.txt
copy: s3://myversionsweta/snapdeal.txt to s3://swetajolly-sydney/snapdeal.txt
copy: s3://myversionsweta/IMG-20180808-WA0004.jpg to s3://swetajolly-sydney/IMG-
20180808-WA0004.jpg

C:\>

You might also like