'What is wrong with this api gateway ARN?

When I try to use boto3 to update a tag value on an api gateway endpoint, I get the following error:

BadRequestException: An error occurred (BadRequestException) when calling the TagResource operation: Invalid ARN specified in the request

Here is the ARN I am passing to the script: arn:aws:execute-api:us-east-1:111111111111:5yojn7poz0/*/GET/test

Can you help me spot the problem?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source