2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Make sure that the IAM role associated with your API Gateway has permissions to write to CloudWatch Logs (e.g., the logs:CreateLogGroup, logs:CreateLogStream, and logs:PutLogEvents actions
0
Thanks, When I check through IAM, I see that I have the necessary permissions. Logs are below. Only principalId field always "-".
{
"requestId": "U_wSVhG4l*******",
"ip": "85.***.**.**",
"requestTime": "21/Mar/2024:20:09:50 +0000",
"httpMethod": "GET",
"routeKey": "ANY /{proxy+}",
"status": "200",
"protocol": "HTTP/1.1",
"responseLength": "87",
"path": "/***/***/***",
"reqLatency": "107 ms",
"resLatency": "109 ms",
"userAgent": "***",
"principalId": "-"
}
répondu il y a 2 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans