31397/invalid-bucket-name-testdm-bucket-name-must-match-the-regex
I tried to view the content of my bucket but I am getting this error:
C:\Users\jino>aws s3 ls s3:\\testdm Parameter validation failed: Invalid bucket name "s3:\\testdm": Bucket name must match the regex "^[a-zA-Z0-9.\-_]{1,255}$"
This is a regular expression error, you are getting this error because you are using the wrong syntax.
Your statement should be as follows:
C:\Users\jino>aws s3 ls s3://testdm/
This will work well.
Instead of backslashes, use forward slashes
C:\Users\jino>aws s3 ls s3://testdm
AWS provides naming standards when naming an ...READ MORE
You can use the below command $ aws ...READ MORE
The different properties that are associated with ...READ MORE
Hi, You can rename your S3 bucket name. ...READ MORE
You need to mention the path completely. ...READ MORE
This is not the correct form of ...READ MORE
You are getting the error because the ...READ MORE
You have not mentioned the file you ...READ MORE
There are three ways in which you ...READ MORE
You can use the boto3 library for ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.