Customize API Gateway response for different cases of MissingAuthenticationTokenException
0
Given "MissingAuthenticationTokenException" can be returned for:
Missing authentication token
Resource path does not exist.
Is there a way to customize API Gateway response for different MISSING_AUTHENTICATION_TOKEN? For example preserve the 403 statusCode for missing authentication token but querying valid resource paths, but return 404 for resource path does not exist.