Amazon web services AWS API网关将$context.identity.accountId记录为-&引用;如果身份验证失败?

Amazon web services AWS API网关将$context.identity.accountId记录为-&引用;如果身份验证失败?,amazon-web-services,aws-api-gateway,Amazon Web Services,Aws Api Gateway,我已经设置了一个启用访问日志的Rest API,但是API网关日志无法验证的事件(通过sigv4)不会记录accountId-$context.identity.accountId。我发现这很奇怪,日志用户不想知道什么accountId无法进行身份验证吗?格式化的访问日志,例如: { "accountId": "-", "path": "/questions", "method": &

我已经设置了一个启用访问日志的Rest API,但是API网关日志无法验证的事件(通过sigv4)不会记录accountId-
$context.identity.accountId
。我发现这很奇怪,日志用户不想知道什么accountId无法进行身份验证吗?格式化的访问日志,例如:

{
  "accountId": "-",
  "path": "/questions",
  "method": "GET"
  ..
}