mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -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
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"_source": {
|
||||
"generator": "tools/aws/regen_dynamodb_shapes.py",
|
||||
"botocore": "botocore 1.43.98 (installed package)"
|
||||
"botocore": "botocore 1.43.111 (installed package)"
|
||||
},
|
||||
"operations": {
|
||||
"BatchExecuteStatement": "BatchExecuteStatementInput",
|
||||
@@ -591,7 +591,8 @@
|
||||
"S3SseKmsKeyId": "S3SseKmsKeyId",
|
||||
"ExportFormat": "ExportFormat",
|
||||
"ExportType": "ExportType",
|
||||
"IncrementalExportSpecification": "IncrementalExportSpecification"
|
||||
"IncrementalExportSpecification": "IncrementalExportSpecification",
|
||||
"FilterSpecification": "FilterSpecification"
|
||||
}
|
||||
},
|
||||
"ExportTime": {
|
||||
@@ -618,6 +619,16 @@
|
||||
"type": "map",
|
||||
"value": "Condition"
|
||||
},
|
||||
"FilterSpecification": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"FilterExpression": "ConditionExpression",
|
||||
"ProjectionExpression": "ProjectionExpression",
|
||||
"KeyConditionExpression": "KeyExpression",
|
||||
"ExpressionAttributeNames": "ExpressionAttributeNameMap",
|
||||
"ExpressionAttributeValues": "ExpressionAttributeValueMap"
|
||||
}
|
||||
},
|
||||
"Get": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"_source": {
|
||||
"generator": "tools/aws/regen_partitions.py",
|
||||
"botocore": "botocore 1.43.98 (local/aws/botocore)",
|
||||
"botocore": "botocore 1.43.111 (installed package)",
|
||||
"partitionsJsonVersion": "1.1",
|
||||
"endpointsJsonVersion": 3,
|
||||
"regionFlags": "aws-cdk region-info/lib/aws-entities.ts rules"
|
||||
"regionFlags": "carried over from the previous file (no aws-cdk checkout)"
|
||||
},
|
||||
"signingNames": {
|
||||
"IoTSecuredTunneling": [
|
||||
@@ -51,6 +51,9 @@
|
||||
"cloudsearch": [
|
||||
"cloudsearchdomain"
|
||||
],
|
||||
"cloudwatch": [
|
||||
"cloudwatch-omni"
|
||||
],
|
||||
"connect": [
|
||||
"contact-lens"
|
||||
],
|
||||
@@ -66,6 +69,9 @@
|
||||
"ecr-public": [
|
||||
"api.ecr-public"
|
||||
],
|
||||
"events": [
|
||||
"eventsv2"
|
||||
],
|
||||
"forecast": [
|
||||
"forecastquery"
|
||||
],
|
||||
@@ -501,6 +507,7 @@
|
||||
"entitlement.marketplace",
|
||||
"es",
|
||||
"events",
|
||||
"eventsv2",
|
||||
"finspace",
|
||||
"finspace-api",
|
||||
"firehose",
|
||||
@@ -1641,6 +1648,7 @@
|
||||
"route53",
|
||||
"route53profiles",
|
||||
"route53resolver",
|
||||
"runtime.sagemaker",
|
||||
"s3",
|
||||
"savingsplans",
|
||||
"scheduler",
|
||||
@@ -1925,6 +1933,7 @@
|
||||
"databrew",
|
||||
"datasync",
|
||||
"datazone",
|
||||
"dax",
|
||||
"directconnect",
|
||||
"dlm",
|
||||
"dms",
|
||||
|
||||
+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");
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
botocore==1.43.98
|
||||
botocore==1.43.111
|
||||
pytest>=7.0
|
||||
Reference in new issue
Block a user