- Newest
- Most votes
- Most comments
Hi!
I believe the code that you are running - as per the screen capture:
aws apigateway get-resource --rest-api-id gyox2qyani --resource-id bmw2m5 --profile test-lab --region us-east-1
On further investigating, I found a link: AWS CLI Command Reference for get-resource
I was able to look into the Global Options, and was curious about the particular option as chosen by you, namely:
--profile test-lab
I find that to be of interest, as the syntax points to:
--profile (string) Use a specific profile from your credential file. - thereby pointing to a user profile if you will. So my question to you is - does test-lab form an entry in your credentials file? If not, can you please amend the query and run it again?
I hope this helps.
If you find that I have answered your query, please mark it with an Accepted Answer
Can you post your get_method() syntax here? I suspect you are missing the HTTP Method (get/post/put etc) from the request, or haven't specified one recognized by your api.
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 12 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago