API Gateway - Gateway response - HTTP API

0

With HTTP APIs, is there a way to customise the response sent back in errors from the API GW itself - i.e. is there an equivalent to Gateway Responses in REST APIs?

AWS
Owen
demandé il y a 3 ans1217 vues
1 réponse
0
Réponse acceptée

Changing API Gateway errors is currently not supported. You can use response parameters to transform the HTTP response from a backend integration before returning the response to clients. You can modify headers or the status code of a response before API Gateway returns the response to clients.

profile pictureAWS
EXPERT
Uri
répondu il y a 3 ans
AWS
EXPERT
vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions