mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
fix(deps): bump botocore to 1.43.111 and regenerate the vendored AWS data (#5498)
Regenerate partitions.json and dynamodb-request-shapes.json from the installed botocore 1.43.111 package. DynamoDB's request type check now covers ExportTableToPointInTime FilterSpecification. The partition data also lists eventsv2 (aws), runtime.sagemaker (aws-iso-e), dax (aws-us-gov) and the cloudwatch-omni / eventsv2 signing-name mappings. None of these change a service Floci serves: dax and eventsv2 are not implemented, and the sagemaker, events and cloudwatch signing names resolve as before. local/aws was not checked out, so the provenance label names the installed package and regionFlags are carried over from the previous file; the data is otherwise identical to a local/aws generation.
This commit is contained in:
1 parent
05e1bebe1e
commit
94a801e05f
4 files changed
+37
-5
No files matched your search
+12
@@ -80,6 +80,18 @@ class DynamoDbRequestShapesTest {
|
||||
"NUMBER_VALUE cannot be converted to String");
|
||||
}
|
||||
|
||||
@Test
|
||||
void exportFilterSpecificationIsChecked() {
|
||||
String prefix = "{\"TableArn\":\"t\",\"S3Bucket\":\"b\",\"FilterSpecification\":";
|
||||
assertAccepted("ExportTableToPointInTime", prefix + "{\"FilterExpression\":\"#a = :v\","
|
||||
+ "\"ExpressionAttributeNames\":{\"#a\":\"a\"},\"ExpressionAttributeValues\":{\":v\":{\"S\":\"x\"}}}}");
|
||||
assertRejected("ExportTableToPointInTime", prefix + "\"a\"}", "Unexpected field type");
|
||||
assertRejected("ExportTableToPointInTime", prefix + "{\"FilterExpression\":5}}",
|
||||
"NUMBER_VALUE cannot be converted to String");
|
||||
assertRejected("ExportTableToPointInTime", prefix + "{\"ExpressionAttributeValues\":{\":v\":{\"S\":5}}}}",
|
||||
"NUMBER_VALUE cannot be converted to String");
|
||||
}
|
||||
|
||||
@Test
|
||||
void firstBadMemberInBodyOrderWins() {
|
||||
assertRejected("Scan", "{\"TableName\":\"t\",\"Limit\":\"5\",\"IndexName\":5}", "STRING_VALUE cannot be converted to Integer");
|
||||
|
||||
Reference in new issue
Block a user