我有这个更新表达式:
{
"UpdateExpression": "SET #location = :location, #edited = :edited, #coordinates = :coordinates, #city = :city, #country = :country, #zipCode = :zipCode, #street = :street, coordinates = :coordinates",
"ExpressionAttributeValues": {
":location": "Reston, VA",
":edited": true,
":coordinates": {
"lat": 38.9586307,
"lng": -77.35700279999999
},
":city": "Reston",
":country": "US",
":zipCode": "20190",
":street": "11910 Market St"
},
"ExpressionAttributeNames": {
"#location": "location",
"#edited": "edited",
"#coordinates": "coordinates",
"#city": "city",
"#country": "country",
"#zipCode": "zipCode",
"#street": "street"
}
}
Run Code Online (Sandbox Code Playgroud)
我收到了这个奇怪的错误
ERROR: ValidationException: Invalid UpdateExpression: Two document paths overlap …
Run Code Online (Sandbox Code Playgroud) 如果出现错误或异常,Java AWS Lambda 最多会尝试重新调用该函数 3 次。有没有办法跟踪当前的调用计数,即知道它是第一次、第二次还是第三次调用?谢谢
我在S3上托管了一个angular 6网站,并启用了S3网站托管。另外,我前面有一个CloudFront发行版。我配置了云前端,以便将任何内容重定向到index.html并使用200进行响应。
但是,只能使用CloudFront访问“ /”。其他网址(例如“ / *”)未加载。角度加载改为“ /”。好像角度只看到“ /”。
我添加了一些代码来记录传递给angular的url,结果始终是“ /”。
另外,有时“ / *” URL甚至不会加载“ /”,并且我在控制台“未捕获的SyntaxError:意外的令牌<”上看到此错误。
你们知道是什么原因造成的吗?
云前端行为: