@gemeentenijmegen/webapp 1.1.9 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +12 -12
- package/assets/webapp/auth/auth.lambda/index.js +47 -66
- package/assets/webapp/login/login.lambda/index.js +2 -21
- package/assets/webapp/logout/logout.lambda/index.js +2 -2
- package/lib/webapp/Criticality.js +1 -1
- package/lib/webapp/Webapp.js +1 -1
- package/lib/webapp/Webpage.js +1 -1
- package/lib/webapp/util/Files.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +98 -22
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/index.js +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js +44 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_1.js +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js +18 -4
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts +8 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchGetItemCommand.d.ts +14 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchWriteItemCommand.d.ts +18 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateBackupCommand.d.ts +14 -11
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts +16 -13
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts +26 -16
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteBackupCommand.d.ts +12 -10
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteItemCommand.d.ts +16 -8
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteResourcePolicyCommand.d.ts +18 -13
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts +26 -20
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContributorInsightsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeExportCommand.d.ts +12 -10
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeImportCommand.d.ts +1 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts +10 -8
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -6
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +16 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +16 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts +14 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts +42 -42
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +14 -11
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetItemCommand.d.ts +14 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetResourcePolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ImportTableCommand.d.ts +19 -17
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListContributorInsightsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListExportsCommand.d.ts +12 -10
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListImportsCommand.d.ts +12 -10
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts +16 -8
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutResourcePolicyCommand.d.ts +18 -13
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/QueryCommand.d.ts +14 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts +22 -14
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +24 -15
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ScanCommand.d.ts +14 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TagResourceCommand.d.ts +16 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactGetItemsCommand.d.ts +21 -15
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactWriteItemsCommand.d.ts +44 -43
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UntagResourceCommand.d.ts +16 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContributorInsightsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +17 -13
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateItemCommand.d.ts +16 -8
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +16 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts +36 -20
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +18 -18
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTimeToLiveCommand.d.ts +16 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +391 -191
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_1.d.ts +73 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts +61 -16
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_1.d.ts +11 -0
- package/node_modules/@aws-sdk/client-dynamodb/package.json +35 -35
- package/node_modules/@aws-sdk/client-s3/README.md +48 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +739 -139
- package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +12 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +31 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +26 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +31 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +31 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +18 -23
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +36 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +422 -20
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +42 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +8 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -22
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +47 -58
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +107 -110
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +93 -83
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +182 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +25 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +99 -116
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +47 -52
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +7 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +10 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +16 -18
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +23 -28
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +114 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +26 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +5 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +20 -23
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +5 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +9 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +37 -23
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +7 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +37 -44
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +14 -17
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +17 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +8 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +17 -20
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +28 -37
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +10 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +146 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +25 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +10 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +7 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +19 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +24 -29
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +5 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +12 -13
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +9 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +56 -71
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +68 -83
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +10 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +34 -35
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +53 -64
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +14 -17
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -15
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -18
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +19 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +10 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +49 -50
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +15 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +17 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +29 -32
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +30 -26
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +14 -18
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +60 -60
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +23 -25
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +23 -27
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +41 -49
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +12 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +33 -37
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -60
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +35 -31
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -14
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +29 -35
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +24 -29
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +32 -39
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +21 -27
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +20 -23
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +19 -18
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +53 -58
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +68 -70
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +10 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +18 -24
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +10 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +138 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +78 -87
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +50 -59
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +161 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +113 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +65 -75
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +81 -97
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +31 -35
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +2789 -3602
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +2226 -711
- package/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +54 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +126 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +36 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +107 -209
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +261 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +72 -0
- package/node_modules/@aws-sdk/client-s3/package.json +53 -51
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +33 -33
- package/node_modules/@aws-sdk/client-ssm/README.md +3 -2
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +15 -7
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +8 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAccessTokenCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAccessRequestCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +39 -28
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +95 -21
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +17 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +5 -7
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +11 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +12 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +81 -34
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js +7 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +5 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +5 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +4 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +5 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +11 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +6 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +6 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +7 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +11 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +6 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +6 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/s3-request-presigner/package.json +10 -10
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +6 -3
- package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +5 -2
- package/node_modules/@aws-sdk/token-providers/package.json +10 -8
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +7 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +10 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +5 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +30 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +6 -4
- package/node_modules/@aws-sdk/util-format-url/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/.jsii +83 -5
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/README.adoc +213 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/README.md +1 -126
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/lib/index.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/.jsii +110 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/bedrock-inference-helper.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-defaults.d.ts +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-defaults.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.d.ts +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.d.ts +2 -19
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.js +18 -7
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-helper.d.ts +2 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-helper.js +5 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/kendra-helper.js +4 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/waf-helper.js +5 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/TwoLogGroups.json +365 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.js +2 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/dynamo-table.test.js +181 -11
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/lambda/index.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/step-function-helper.test.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.d.ts +6 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.js +84 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/waf-helper.test.js +35 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/package.json +8 -7
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +6 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +1 -136
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +475 -10
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +6 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +1 -136
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +475 -10
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js +2 -1
- package/node_modules/@gemeentenijmegen/apiclient/node_modules/@gemeentenijmegen/utils/package.json +9 -9
- package/node_modules/@gemeentenijmegen/apiclient/package.json +10 -10
- package/node_modules/@gemeentenijmegen/apigateway-http/package.json +6 -6
- package/node_modules/@gemeentenijmegen/session/package.json +5 -5
- package/node_modules/@gemeentenijmegen/utils/package.json +9 -9
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +142 -44
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +108 -105
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +92 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +45 -54
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +77 -41
- package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +39 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +33 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +115 -20
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +7 -95
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +19 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -53
- package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +36 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +10 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +10 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +3 -1
- package/node_modules/@smithy/core/package.json +20 -17
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +4 -4
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/hash-stream-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/md5-js/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +22 -3
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointRequiredConfig.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +3 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +2 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +5 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +5 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -9
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +4 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +7 -6
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/service-error-classification/dist-es/constants.js +1 -0
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +2 -1
- package/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts +4 -0
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +4 -0
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +1 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +27 -8
- package/node_modules/@smithy/util-waiter/dist-es/createWaiter.js +27 -8
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/handler.d.ts +1 -0
- package/node_modules/@types/aws-lambda/package.json +2 -2
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts +2 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation-v3.d.ts +50 -0
- package/node_modules/aproba/index.js +1 -1
- package/node_modules/aproba/package.json +1 -1
- package/node_modules/axios/CHANGELOG.md +17 -0
- package/node_modules/axios/README.md +1 -4
- package/node_modules/axios/dist/axios.js +39 -5
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +46 -9
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +46 -9
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +46 -9
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +13 -2
- package/node_modules/axios/lib/core/Axios.js +2 -2
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/throttle.js +1 -1
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
- package/node_modules/axios/lib/utils.js +36 -0
- package/node_modules/axios/package.json +5 -5
- package/node_modules/bowser/CHANGELOG.md +1 -1
- package/node_modules/bowser/README.md +2 -4
- package/node_modules/bowser/bundled.js +1 -1
- package/node_modules/bowser/es5.js +1 -1
- package/node_modules/bowser/index.d.ts +72 -7
- package/node_modules/bowser/package.json +4 -3
- package/node_modules/bowser/src/constants.js +3 -0
- package/node_modules/bowser/src/parser-browsers.js +15 -0
- package/node_modules/bowser/src/parser-platforms.js +17 -1
- package/node_modules/bowser/src/parser.js +20 -5
- package/node_modules/bowser/src/utils.js +2 -2
- package/node_modules/dotenv/CHANGELOG.md +17 -1
- package/node_modules/dotenv/README-es.md +0 -19
- package/node_modules/dotenv/README.md +7 -14
- package/node_modules/dotenv/SECURITY.md +1 -0
- package/node_modules/dotenv/lib/cli-options.js +8 -2
- package/node_modules/dotenv/lib/env-options.js +4 -0
- package/node_modules/dotenv/lib/main.d.ts +12 -3
- package/node_modules/dotenv/lib/main.js +31 -5
- package/node_modules/dotenv/package.json +2 -2
- package/node_modules/fast-xml-parser/CHANGELOG.md +77 -0
- package/node_modules/fast-xml-parser/README.md +39 -52
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +458 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
- package/node_modules/fast-xml-parser/package.json +36 -20
- package/node_modules/fast-xml-parser/src/cli/cli.js +16 -12
- package/node_modules/fast-xml-parser/src/cli/man.js +6 -1
- package/node_modules/fast-xml-parser/src/cli/read.js +30 -79
- package/node_modules/fast-xml-parser/src/fxp.d.ts +52 -9
- package/node_modules/fast-xml-parser/src/fxp.js +11 -8
- package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-parser/src/util.js +14 -18
- package/node_modules/fast-xml-parser/src/{v5 → v6}/CharsSymbol.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5/valueParsers → v6}/EntitiesParser.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OptionsBuilder.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/BaseOutputBuilder.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsArrBuilder.js +3 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsMinArrBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsObjBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/ParserOptionsBuilder.js +6 -11
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPath.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPathMatcher.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XMLParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/Xml2JsParser.js +8 -10
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlPartReader.js +24 -26
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlSpecialTagsReader.js +5 -12
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/BufferSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/StringSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6/valueParsers}/EntitiesParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParser.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParserExt.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/currency.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/join.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/number.js +2 -4
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/trim.js +1 -3
- package/node_modules/fast-xml-parser/src/validator.js +5 -5
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +17 -13
- package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +1 -2
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +288 -71
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +28 -23
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -8
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +8 -2
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +22 -7
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/form-data/CHANGELOG.md +601 -0
- package/node_modules/form-data/{README.md.bak → README.md} +4 -4
- package/node_modules/form-data/lib/form_data.js +2 -6
- package/node_modules/form-data/package.json +22 -6
- package/node_modules/oidc-token-hash/README.md +1 -0
- package/node_modules/oidc-token-hash/lib/index.js +0 -10
- package/node_modules/oidc-token-hash/package.json +1 -1
- package/node_modules/strnum/.github/SECURITY.md +5 -0
- package/node_modules/strnum/CHANGELOG.md +11 -0
- package/node_modules/strnum/algo.stflow +84 -0
- package/node_modules/strnum/package.json +2 -1
- package/node_modules/strnum/strnum.js +53 -35
- package/node_modules/strnum/strnum.test.js +9 -1
- package/node_modules/strnum/test.js +9 -0
- package/package.json +20 -20
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +0 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +0 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/form-data/Readme.md +0 -355
- package/node_modules/oidc-token-hash/lib/shake256.js +0 -7
- /package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/{architecture.png → aws-lambda-dynamodb.png} +0 -0
- /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
|
|
2
|
+
import { splitEvery, splitHeader } from "@smithy/core/serde";
|
|
2
3
|
import { HttpRequest } from "@smithy/protocol-http";
|
|
4
|
+
import { sdkStreamMixin } from "@smithy/util-stream";
|
|
3
5
|
import { collectBody } from "./collect-stream-body";
|
|
4
6
|
import { extendedEncodeURIComponent } from "./extended-encode-uri-component";
|
|
5
7
|
import { HttpProtocol } from "./HttpProtocol";
|
|
6
8
|
export class HttpBindingProtocol extends HttpProtocol {
|
|
7
|
-
async serializeRequest(operationSchema,
|
|
9
|
+
async serializeRequest(operationSchema, _input, context) {
|
|
10
|
+
const input = {
|
|
11
|
+
...(_input ?? {}),
|
|
12
|
+
};
|
|
8
13
|
const serializer = this.serializer;
|
|
9
14
|
const query = {};
|
|
10
15
|
const headers = {};
|
|
@@ -40,16 +45,12 @@ export class HttpBindingProtocol extends HttpProtocol {
|
|
|
40
45
|
Object.assign(query, Object.fromEntries(traitSearchParams));
|
|
41
46
|
}
|
|
42
47
|
}
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
const memberNs = ns.getMemberSchema(memberName);
|
|
48
|
-
if (memberNs === undefined) {
|
|
48
|
+
for (const [memberName, memberNs] of ns.structIterator()) {
|
|
49
|
+
const memberTraits = memberNs.getMergedTraits() ?? {};
|
|
50
|
+
const inputMemberValue = input[memberName];
|
|
51
|
+
if (inputMemberValue == null) {
|
|
49
52
|
continue;
|
|
50
53
|
}
|
|
51
|
-
const memberTraits = memberNs.getMergedTraits();
|
|
52
|
-
const inputMember = _input[memberName];
|
|
53
54
|
if (memberTraits.httpPayload) {
|
|
54
55
|
const isStreaming = memberNs.isStreaming();
|
|
55
56
|
if (isStreaming) {
|
|
@@ -58,16 +59,17 @@ export class HttpBindingProtocol extends HttpProtocol {
|
|
|
58
59
|
throw new Error("serialization of event streams is not yet implemented");
|
|
59
60
|
}
|
|
60
61
|
else {
|
|
61
|
-
payload =
|
|
62
|
+
payload = inputMemberValue;
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
else {
|
|
65
|
-
serializer.write(memberNs,
|
|
66
|
+
serializer.write(memberNs, inputMemberValue);
|
|
66
67
|
payload = serializer.flush();
|
|
67
68
|
}
|
|
69
|
+
delete input[memberName];
|
|
68
70
|
}
|
|
69
71
|
else if (memberTraits.httpLabel) {
|
|
70
|
-
serializer.write(memberNs,
|
|
72
|
+
serializer.write(memberNs, inputMemberValue);
|
|
71
73
|
const replacement = serializer.flush();
|
|
72
74
|
if (request.path.includes(`{${memberName}+}`)) {
|
|
73
75
|
request.path = request.path.replace(`{${memberName}+}`, replacement.split("/").map(extendedEncodeURIComponent).join("/"));
|
|
@@ -75,31 +77,31 @@ export class HttpBindingProtocol extends HttpProtocol {
|
|
|
75
77
|
else if (request.path.includes(`{${memberName}}`)) {
|
|
76
78
|
request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement));
|
|
77
79
|
}
|
|
78
|
-
delete
|
|
80
|
+
delete input[memberName];
|
|
79
81
|
}
|
|
80
82
|
else if (memberTraits.httpHeader) {
|
|
81
|
-
serializer.write(memberNs,
|
|
83
|
+
serializer.write(memberNs, inputMemberValue);
|
|
82
84
|
headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush());
|
|
83
|
-
delete
|
|
85
|
+
delete input[memberName];
|
|
84
86
|
}
|
|
85
87
|
else if (typeof memberTraits.httpPrefixHeaders === "string") {
|
|
86
|
-
for (const [key, val] of Object.entries(
|
|
88
|
+
for (const [key, val] of Object.entries(inputMemberValue)) {
|
|
87
89
|
const amalgam = memberTraits.httpPrefixHeaders + key;
|
|
88
90
|
serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
|
|
89
91
|
headers[amalgam.toLowerCase()] = serializer.flush();
|
|
90
92
|
}
|
|
91
|
-
delete
|
|
93
|
+
delete input[memberName];
|
|
92
94
|
}
|
|
93
95
|
else if (memberTraits.httpQuery || memberTraits.httpQueryParams) {
|
|
94
|
-
this.serializeQuery(memberNs,
|
|
95
|
-
delete
|
|
96
|
+
this.serializeQuery(memberNs, inputMemberValue, query);
|
|
97
|
+
delete input[memberName];
|
|
96
98
|
}
|
|
97
99
|
else {
|
|
98
100
|
hasNonHttpBindingMember = true;
|
|
99
101
|
}
|
|
100
102
|
}
|
|
101
103
|
if (hasNonHttpBindingMember && input) {
|
|
102
|
-
serializer.write(schema,
|
|
104
|
+
serializer.write(schema, input);
|
|
103
105
|
payload = serializer.flush();
|
|
104
106
|
}
|
|
105
107
|
request.headers = headers;
|
|
@@ -175,4 +177,97 @@ export class HttpBindingProtocol extends HttpProtocol {
|
|
|
175
177
|
};
|
|
176
178
|
return output;
|
|
177
179
|
}
|
|
180
|
+
async deserializeHttpMessage(schema, context, response, arg4, arg5) {
|
|
181
|
+
let dataObject;
|
|
182
|
+
if (arg4 instanceof Set) {
|
|
183
|
+
dataObject = arg5;
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
dataObject = arg4;
|
|
187
|
+
}
|
|
188
|
+
const deserializer = this.deserializer;
|
|
189
|
+
const ns = NormalizedSchema.of(schema);
|
|
190
|
+
const nonHttpBindingMembers = [];
|
|
191
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
192
|
+
const memberTraits = memberSchema.getMemberTraits();
|
|
193
|
+
if (memberTraits.httpPayload) {
|
|
194
|
+
const isStreaming = memberSchema.isStreaming();
|
|
195
|
+
if (isStreaming) {
|
|
196
|
+
const isEventStream = memberSchema.isStructSchema();
|
|
197
|
+
if (isEventStream) {
|
|
198
|
+
const context = this.serdeContext;
|
|
199
|
+
if (!context.eventStreamMarshaller) {
|
|
200
|
+
throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");
|
|
201
|
+
}
|
|
202
|
+
const memberSchemas = memberSchema.getMemberSchemas();
|
|
203
|
+
dataObject[memberName] = context.eventStreamMarshaller.deserialize(response.body, async (event) => {
|
|
204
|
+
const unionMember = Object.keys(event).find((key) => {
|
|
205
|
+
return key !== "__type";
|
|
206
|
+
}) ?? "";
|
|
207
|
+
if (unionMember in memberSchemas) {
|
|
208
|
+
const eventStreamSchema = memberSchemas[unionMember];
|
|
209
|
+
return {
|
|
210
|
+
[unionMember]: await deserializer.read(eventStreamSchema, event[unionMember].body),
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
else {
|
|
214
|
+
return {
|
|
215
|
+
$unknown: event,
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
else {
|
|
221
|
+
dataObject[memberName] = sdkStreamMixin(response.body);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
else if (response.body) {
|
|
225
|
+
const bytes = await collectBody(response.body, context);
|
|
226
|
+
if (bytes.byteLength > 0) {
|
|
227
|
+
dataObject[memberName] = await deserializer.read(memberSchema, bytes);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
else if (memberTraits.httpHeader) {
|
|
232
|
+
const key = String(memberTraits.httpHeader).toLowerCase();
|
|
233
|
+
const value = response.headers[key];
|
|
234
|
+
if (null != value) {
|
|
235
|
+
if (memberSchema.isListSchema()) {
|
|
236
|
+
const headerListValueSchema = memberSchema.getValueSchema();
|
|
237
|
+
let sections;
|
|
238
|
+
if (headerListValueSchema.isTimestampSchema() &&
|
|
239
|
+
headerListValueSchema.getSchema() === SCHEMA.TIMESTAMP_DEFAULT) {
|
|
240
|
+
sections = splitEvery(value, ",", 2);
|
|
241
|
+
}
|
|
242
|
+
else {
|
|
243
|
+
sections = splitHeader(value);
|
|
244
|
+
}
|
|
245
|
+
const list = [];
|
|
246
|
+
for (const section of sections) {
|
|
247
|
+
list.push(await deserializer.read([headerListValueSchema, { httpHeader: key }], section.trim()));
|
|
248
|
+
}
|
|
249
|
+
dataObject[memberName] = list;
|
|
250
|
+
}
|
|
251
|
+
else {
|
|
252
|
+
dataObject[memberName] = await deserializer.read(memberSchema, value);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
else if (memberTraits.httpPrefixHeaders !== undefined) {
|
|
257
|
+
dataObject[memberName] = {};
|
|
258
|
+
for (const [header, value] of Object.entries(response.headers)) {
|
|
259
|
+
if (header.startsWith(memberTraits.httpPrefixHeaders)) {
|
|
260
|
+
dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read([memberSchema.getValueSchema(), { httpHeader: header }], value);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
else if (memberTraits.httpResponseCode) {
|
|
265
|
+
dataObject[memberName] = response.statusCode;
|
|
266
|
+
}
|
|
267
|
+
else {
|
|
268
|
+
nonHttpBindingMembers.push(memberName);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
return nonHttpBindingMembers;
|
|
272
|
+
}
|
|
178
273
|
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { NormalizedSchema
|
|
2
|
-
import { splitEvery, splitHeader } from "@smithy/core/serde";
|
|
1
|
+
import { NormalizedSchema } from "@smithy/core/schema";
|
|
3
2
|
import { HttpRequest, HttpResponse } from "@smithy/protocol-http";
|
|
4
|
-
import { sdkStreamMixin } from "@smithy/util-stream";
|
|
5
|
-
import { collectBody } from "./collect-stream-body";
|
|
6
3
|
export class HttpProtocol {
|
|
7
4
|
constructor(options) {
|
|
8
5
|
this.options = options;
|
|
@@ -76,96 +73,11 @@ export class HttpProtocol {
|
|
|
76
73
|
};
|
|
77
74
|
}
|
|
78
75
|
async deserializeHttpMessage(schema, context, response, arg4, arg5) {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
const deserializer = this.deserializer;
|
|
87
|
-
const ns = NormalizedSchema.of(schema);
|
|
88
|
-
const nonHttpBindingMembers = [];
|
|
89
|
-
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
90
|
-
const memberTraits = memberSchema.getMemberTraits();
|
|
91
|
-
if (memberTraits.httpPayload) {
|
|
92
|
-
const isStreaming = memberSchema.isStreaming();
|
|
93
|
-
if (isStreaming) {
|
|
94
|
-
const isEventStream = memberSchema.isStructSchema();
|
|
95
|
-
if (isEventStream) {
|
|
96
|
-
const context = this.serdeContext;
|
|
97
|
-
if (!context.eventStreamMarshaller) {
|
|
98
|
-
throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");
|
|
99
|
-
}
|
|
100
|
-
const memberSchemas = memberSchema.getMemberSchemas();
|
|
101
|
-
dataObject[memberName] = context.eventStreamMarshaller.deserialize(response.body, async (event) => {
|
|
102
|
-
const unionMember = Object.keys(event).find((key) => {
|
|
103
|
-
return key !== "__type";
|
|
104
|
-
}) ?? "";
|
|
105
|
-
if (unionMember in memberSchemas) {
|
|
106
|
-
const eventStreamSchema = memberSchemas[unionMember];
|
|
107
|
-
return {
|
|
108
|
-
[unionMember]: await deserializer.read(eventStreamSchema, event[unionMember].body),
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
return {
|
|
113
|
-
$unknown: event,
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
dataObject[memberName] = sdkStreamMixin(response.body);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
else if (response.body) {
|
|
123
|
-
const bytes = await collectBody(response.body, context);
|
|
124
|
-
if (bytes.byteLength > 0) {
|
|
125
|
-
dataObject[memberName] = await deserializer.read(memberSchema, bytes);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
else if (memberTraits.httpHeader) {
|
|
130
|
-
const key = String(memberTraits.httpHeader).toLowerCase();
|
|
131
|
-
const value = response.headers[key];
|
|
132
|
-
if (null != value) {
|
|
133
|
-
if (memberSchema.isListSchema()) {
|
|
134
|
-
const headerListValueSchema = memberSchema.getValueSchema();
|
|
135
|
-
let sections;
|
|
136
|
-
if (headerListValueSchema.isTimestampSchema() &&
|
|
137
|
-
headerListValueSchema.getSchema() === SCHEMA.TIMESTAMP_DEFAULT) {
|
|
138
|
-
sections = splitEvery(value, ",", 2);
|
|
139
|
-
}
|
|
140
|
-
else {
|
|
141
|
-
sections = splitHeader(value);
|
|
142
|
-
}
|
|
143
|
-
const list = [];
|
|
144
|
-
for (const section of sections) {
|
|
145
|
-
list.push(await deserializer.read([headerListValueSchema, { httpHeader: key }], section.trim()));
|
|
146
|
-
}
|
|
147
|
-
dataObject[memberName] = list;
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
dataObject[memberName] = await deserializer.read(memberSchema, value);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
else if (memberTraits.httpPrefixHeaders !== undefined) {
|
|
155
|
-
dataObject[memberName] = {};
|
|
156
|
-
for (const [header, value] of Object.entries(response.headers)) {
|
|
157
|
-
if (header.startsWith(memberTraits.httpPrefixHeaders)) {
|
|
158
|
-
dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read([memberSchema.getValueSchema(), { httpHeader: header }], value);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
else if (memberTraits.httpResponseCode) {
|
|
163
|
-
dataObject[memberName] = response.statusCode;
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
nonHttpBindingMembers.push(memberName);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
return nonHttpBindingMembers;
|
|
76
|
+
void schema;
|
|
77
|
+
void context;
|
|
78
|
+
void response;
|
|
79
|
+
void arg4;
|
|
80
|
+
void arg5;
|
|
81
|
+
return [];
|
|
170
82
|
}
|
|
171
83
|
}
|
|
@@ -8,8 +8,18 @@ export class ErrorSchema extends StructureSchema {
|
|
|
8
8
|
this.memberNames = memberNames;
|
|
9
9
|
this.memberList = memberList;
|
|
10
10
|
this.ctor = ctor;
|
|
11
|
+
this.symbol = ErrorSchema.symbol;
|
|
12
|
+
}
|
|
13
|
+
static [Symbol.hasInstance](lhs) {
|
|
14
|
+
const isPrototype = ErrorSchema.prototype.isPrototypeOf(lhs);
|
|
15
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
16
|
+
const err = lhs;
|
|
17
|
+
return err.symbol === ErrorSchema.symbol;
|
|
18
|
+
}
|
|
19
|
+
return isPrototype;
|
|
11
20
|
}
|
|
12
21
|
}
|
|
22
|
+
ErrorSchema.symbol = Symbol.for("@smithy/core/schema::ErrorSchema");
|
|
13
23
|
export function error(namespace, name, traits = {}, memberNames, memberList, ctor) {
|
|
14
24
|
const schema = new ErrorSchema(namespace + "#" + name, traits, memberNames, memberList, ctor);
|
|
15
25
|
TypeRegistry.for(namespace).register(name, schema);
|
|
@@ -6,8 +6,18 @@ export class ListSchema extends Schema {
|
|
|
6
6
|
this.name = name;
|
|
7
7
|
this.traits = traits;
|
|
8
8
|
this.valueSchema = valueSchema;
|
|
9
|
+
this.symbol = ListSchema.symbol;
|
|
10
|
+
}
|
|
11
|
+
static [Symbol.hasInstance](lhs) {
|
|
12
|
+
const isPrototype = ListSchema.prototype.isPrototypeOf(lhs);
|
|
13
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
14
|
+
const list = lhs;
|
|
15
|
+
return list.symbol === ListSchema.symbol;
|
|
16
|
+
}
|
|
17
|
+
return isPrototype;
|
|
9
18
|
}
|
|
10
19
|
}
|
|
20
|
+
ListSchema.symbol = Symbol.for("@smithy/core/schema::ListSchema");
|
|
11
21
|
export function list(namespace, name, traits = {}, valueSchema) {
|
|
12
22
|
const schema = new ListSchema(namespace + "#" + name, traits, typeof valueSchema === "function" ? valueSchema() : valueSchema);
|
|
13
23
|
TypeRegistry.for(namespace).register(name, schema);
|
|
@@ -7,8 +7,18 @@ export class MapSchema extends Schema {
|
|
|
7
7
|
this.traits = traits;
|
|
8
8
|
this.keySchema = keySchema;
|
|
9
9
|
this.valueSchema = valueSchema;
|
|
10
|
+
this.symbol = MapSchema.symbol;
|
|
11
|
+
}
|
|
12
|
+
static [Symbol.hasInstance](lhs) {
|
|
13
|
+
const isPrototype = MapSchema.prototype.isPrototypeOf(lhs);
|
|
14
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
15
|
+
const map = lhs;
|
|
16
|
+
return map.symbol === MapSchema.symbol;
|
|
17
|
+
}
|
|
18
|
+
return isPrototype;
|
|
10
19
|
}
|
|
11
20
|
}
|
|
21
|
+
MapSchema.symbol = Symbol.for("@smithy/core/schema::MapSchema");
|
|
12
22
|
export function map(namespace, name, traits = {}, keySchema, valueSchema) {
|
|
13
23
|
const schema = new MapSchema(namespace + "#" + name, traits, keySchema, typeof valueSchema === "function" ? valueSchema() : valueSchema);
|
|
14
24
|
TypeRegistry.for(namespace).register(name, schema);
|
|
@@ -8,6 +8,7 @@ export class NormalizedSchema {
|
|
|
8
8
|
constructor(ref, memberName) {
|
|
9
9
|
this.ref = ref;
|
|
10
10
|
this.memberName = memberName;
|
|
11
|
+
this.symbol = NormalizedSchema.symbol;
|
|
11
12
|
const traitStack = [];
|
|
12
13
|
let _ref = ref;
|
|
13
14
|
let schema = ref;
|
|
@@ -52,6 +53,14 @@ export class NormalizedSchema {
|
|
|
52
53
|
throw new Error(`@smithy/core/schema - NormalizedSchema member schema ${this.getName(true)} must initialize with memberName argument.`);
|
|
53
54
|
}
|
|
54
55
|
}
|
|
56
|
+
static [Symbol.hasInstance](lhs) {
|
|
57
|
+
const isPrototype = NormalizedSchema.prototype.isPrototypeOf(lhs);
|
|
58
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
59
|
+
const ns = lhs;
|
|
60
|
+
return ns.symbol === NormalizedSchema.symbol;
|
|
61
|
+
}
|
|
62
|
+
return isPrototype;
|
|
63
|
+
}
|
|
55
64
|
static of(ref, memberName) {
|
|
56
65
|
if (ref instanceof NormalizedSchema) {
|
|
57
66
|
return ref;
|
|
@@ -174,6 +183,15 @@ export class NormalizedSchema {
|
|
|
174
183
|
}
|
|
175
184
|
return this.getSchema() === SCHEMA.STREAMING_BLOB;
|
|
176
185
|
}
|
|
186
|
+
isIdempotencyToken() {
|
|
187
|
+
if (typeof this.traits === "number") {
|
|
188
|
+
return (this.traits & 0b0100) === 0b0100;
|
|
189
|
+
}
|
|
190
|
+
else if (typeof this.traits === "object") {
|
|
191
|
+
return !!this.traits.idempotencyToken;
|
|
192
|
+
}
|
|
193
|
+
return false;
|
|
194
|
+
}
|
|
177
195
|
getMergedTraits() {
|
|
178
196
|
if (this.normalizedTraits) {
|
|
179
197
|
return this.normalizedTraits;
|
|
@@ -292,3 +310,4 @@ export class NormalizedSchema {
|
|
|
292
310
|
return "Unknown";
|
|
293
311
|
}
|
|
294
312
|
}
|
|
313
|
+
NormalizedSchema.symbol = Symbol.for("@smithy/core/schema::NormalizedSchema");
|
|
@@ -6,8 +6,18 @@ export class SimpleSchema extends Schema {
|
|
|
6
6
|
this.name = name;
|
|
7
7
|
this.schemaRef = schemaRef;
|
|
8
8
|
this.traits = traits;
|
|
9
|
+
this.symbol = SimpleSchema.symbol;
|
|
10
|
+
}
|
|
11
|
+
static [Symbol.hasInstance](lhs) {
|
|
12
|
+
const isPrototype = SimpleSchema.prototype.isPrototypeOf(lhs);
|
|
13
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
14
|
+
const sim = lhs;
|
|
15
|
+
return sim.symbol === SimpleSchema.symbol;
|
|
16
|
+
}
|
|
17
|
+
return isPrototype;
|
|
9
18
|
}
|
|
10
19
|
}
|
|
20
|
+
SimpleSchema.symbol = Symbol.for("@smithy/core/schema::SimpleSchema");
|
|
11
21
|
export function sim(namespace, name, schemaRef, traits) {
|
|
12
22
|
const schema = new SimpleSchema(namespace + "#" + name, schemaRef, traits);
|
|
13
23
|
TypeRegistry.for(namespace).register(name, schema);
|
|
@@ -7,6 +7,7 @@ export class StructureSchema extends Schema {
|
|
|
7
7
|
this.traits = traits;
|
|
8
8
|
this.memberNames = memberNames;
|
|
9
9
|
this.memberList = memberList;
|
|
10
|
+
this.symbol = StructureSchema.symbol;
|
|
10
11
|
this.members = {};
|
|
11
12
|
for (let i = 0; i < memberNames.length; ++i) {
|
|
12
13
|
this.members[memberNames[i]] = Array.isArray(memberList[i])
|
|
@@ -14,7 +15,16 @@ export class StructureSchema extends Schema {
|
|
|
14
15
|
: [memberList[i], 0];
|
|
15
16
|
}
|
|
16
17
|
}
|
|
18
|
+
static [Symbol.hasInstance](lhs) {
|
|
19
|
+
const isPrototype = StructureSchema.prototype.isPrototypeOf(lhs);
|
|
20
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
21
|
+
const struct = lhs;
|
|
22
|
+
return struct.symbol === StructureSchema.symbol;
|
|
23
|
+
}
|
|
24
|
+
return isPrototype;
|
|
25
|
+
}
|
|
17
26
|
}
|
|
27
|
+
StructureSchema.symbol = Symbol.for("@smithy/core/schema::StructureSchema");
|
|
18
28
|
export function struct(namespace, name, traits, memberNames, memberList) {
|
|
19
29
|
const schema = new StructureSchema(namespace + "#" + name, traits, memberNames, memberList);
|
|
20
30
|
TypeRegistry.for(namespace).register(name, schema);
|
|
@@ -1,53 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => {
|
|
3
|
-
const ns = NormalizedSchema.of(schemaRef);
|
|
4
|
-
switch (typeof source) {
|
|
5
|
-
case "undefined":
|
|
6
|
-
case "boolean":
|
|
7
|
-
case "number":
|
|
8
|
-
case "string":
|
|
9
|
-
case "bigint":
|
|
10
|
-
case "symbol":
|
|
11
|
-
return transform(source, ns);
|
|
12
|
-
case "function":
|
|
13
|
-
case "object":
|
|
14
|
-
if (source === null) {
|
|
15
|
-
return transform(null, ns);
|
|
16
|
-
}
|
|
17
|
-
if (Array.isArray(source)) {
|
|
18
|
-
const newArray = new Array(source.length);
|
|
19
|
-
let i = 0;
|
|
20
|
-
for (const item of source) {
|
|
21
|
-
newArray[i++] = copyDocumentWithTransform(item, ns.getValueSchema(), transform);
|
|
22
|
-
}
|
|
23
|
-
return transform(newArray, ns);
|
|
24
|
-
}
|
|
25
|
-
if ("byteLength" in source) {
|
|
26
|
-
const newBytes = new Uint8Array(source.byteLength);
|
|
27
|
-
newBytes.set(source, 0);
|
|
28
|
-
return transform(newBytes, ns);
|
|
29
|
-
}
|
|
30
|
-
if (source instanceof Date) {
|
|
31
|
-
return transform(source, ns);
|
|
32
|
-
}
|
|
33
|
-
const newObject = {};
|
|
34
|
-
if (ns.isMapSchema()) {
|
|
35
|
-
for (const key of Object.keys(source)) {
|
|
36
|
-
newObject[key] = copyDocumentWithTransform(source[key], ns.getValueSchema(), transform);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
else if (ns.isStructSchema()) {
|
|
40
|
-
for (const [key, memberSchema] of ns.structIterator()) {
|
|
41
|
-
newObject[key] = copyDocumentWithTransform(source[key], memberSchema, transform);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
else if (ns.isDocumentSchema()) {
|
|
45
|
-
for (const key of Object.keys(source)) {
|
|
46
|
-
newObject[key] = copyDocumentWithTransform(source[key], ns.getValueSchema(), transform);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return transform(newObject, ns);
|
|
50
|
-
default:
|
|
51
|
-
return transform(source, ns);
|
|
52
|
-
}
|
|
53
|
-
};
|
|
1
|
+
export const copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source;
|
|
@@ -2,8 +2,42 @@ export class NumericValue {
|
|
|
2
2
|
constructor(string, type) {
|
|
3
3
|
this.string = string;
|
|
4
4
|
this.type = type;
|
|
5
|
+
let dot = 0;
|
|
6
|
+
for (let i = 0; i < string.length; ++i) {
|
|
7
|
+
const char = string.charCodeAt(i);
|
|
8
|
+
if (i === 0 && char === 45) {
|
|
9
|
+
continue;
|
|
10
|
+
}
|
|
11
|
+
if (char === 46) {
|
|
12
|
+
if (dot) {
|
|
13
|
+
throw new Error("@smithy/core/serde - NumericValue must contain at most one decimal point.");
|
|
14
|
+
}
|
|
15
|
+
dot = 1;
|
|
16
|
+
continue;
|
|
17
|
+
}
|
|
18
|
+
if (char < 48 || char > 57) {
|
|
19
|
+
throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
toString() {
|
|
24
|
+
return this.string;
|
|
25
|
+
}
|
|
26
|
+
static [Symbol.hasInstance](object) {
|
|
27
|
+
if (!object || typeof object !== "object") {
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
const _nv = object;
|
|
31
|
+
const prototypeMatch = NumericValue.prototype.isPrototypeOf(object.constructor?.prototype);
|
|
32
|
+
if (prototypeMatch) {
|
|
33
|
+
return prototypeMatch;
|
|
34
|
+
}
|
|
35
|
+
if (typeof _nv.string === "string" && typeof _nv.type === "string" && _nv.constructor?.name === "NumericValue") {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
return prototypeMatch;
|
|
5
39
|
}
|
|
6
40
|
}
|
|
7
|
-
export function nv(
|
|
8
|
-
return new NumericValue(
|
|
41
|
+
export function nv(input) {
|
|
42
|
+
return new NumericValue(String(input), "bigDecimal");
|
|
9
43
|
}
|
|
@@ -16,6 +16,11 @@ export declare class CborShapeSerializer implements ShapeSerializer {
|
|
|
16
16
|
private value;
|
|
17
17
|
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
18
18
|
write(schema: Schema, value: unknown): void;
|
|
19
|
+
/**
|
|
20
|
+
* Recursive serializer transform that copies and prepares the user input object
|
|
21
|
+
* for CBOR serialization.
|
|
22
|
+
*/
|
|
23
|
+
serialize(schema: Schema, source: unknown): any;
|
|
19
24
|
flush(): Uint8Array;
|
|
20
25
|
}
|
|
21
26
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
2
|
import { HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, SerdeFunctions } from "@smithy/types";
|
|
3
|
+
import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, Schema, SerdeFunctions } from "@smithy/types";
|
|
4
4
|
import { HttpProtocol } from "./HttpProtocol";
|
|
5
5
|
/**
|
|
6
6
|
* Base for HTTP-binding protocols. Downstream examples
|
|
@@ -9,7 +9,15 @@ import { HttpProtocol } from "./HttpProtocol";
|
|
|
9
9
|
* @alpha
|
|
10
10
|
*/
|
|
11
11
|
export declare abstract class HttpBindingProtocol extends HttpProtocol {
|
|
12
|
-
serializeRequest<Input extends object>(operationSchema: OperationSchema,
|
|
12
|
+
serializeRequest<Input extends object>(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
|
|
13
13
|
protected serializeQuery(ns: NormalizedSchema, data: any, query: HttpRequest["query"]): void;
|
|
14
14
|
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
|
|
15
|
+
/**
|
|
16
|
+
* The base method ignores HTTP bindings.
|
|
17
|
+
*
|
|
18
|
+
* @deprecated (only this signature) use signature without headerBindings.
|
|
19
|
+
* @override
|
|
20
|
+
*/
|
|
21
|
+
protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, headerBindings: Set<string>, dataObject: any): Promise<string[]>;
|
|
22
|
+
protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any): Promise<string[]>;
|
|
15
23
|
}
|
|
@@ -26,7 +26,9 @@ export declare abstract class HttpProtocol implements ClientProtocol<IHttpReques
|
|
|
26
26
|
protected abstract handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
|
|
27
27
|
protected deserializeMetadata(output: IHttpResponse): ResponseMetadata;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* For HTTP binding protocols, this method is overridden in {@link HttpBindingProtocol}.
|
|
30
|
+
*
|
|
31
|
+
* @deprecated only use this for HTTP binding protocols.
|
|
30
32
|
*/
|
|
31
33
|
protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, headerBindings: Set<string>, dataObject: any): Promise<string[]>;
|
|
32
34
|
protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any): Promise<string[]>;
|
|
@@ -17,11 +17,14 @@ export declare class ErrorSchema extends StructureSchema {
|
|
|
17
17
|
* Constructor for a modeled service exception class that extends Error.
|
|
18
18
|
*/
|
|
19
19
|
ctor: any;
|
|
20
|
+
static symbol: symbol;
|
|
21
|
+
protected symbol: symbol;
|
|
20
22
|
constructor(name: string, traits: SchemaTraits, memberNames: string[], memberList: SchemaRef[],
|
|
21
23
|
/**
|
|
22
24
|
* Constructor for a modeled service exception class that extends Error.
|
|
23
25
|
*/
|
|
24
26
|
ctor: any);
|
|
27
|
+
static [Symbol.hasInstance](lhs: unknown): lhs is ErrorSchema;
|
|
25
28
|
}
|
|
26
29
|
/**
|
|
27
30
|
* Factory for ErrorSchema, to reduce codegen output and register the schema.
|
|
@@ -10,7 +10,10 @@ export declare class ListSchema extends Schema implements IListSchema {
|
|
|
10
10
|
name: string;
|
|
11
11
|
traits: SchemaTraits;
|
|
12
12
|
valueSchema: SchemaRef;
|
|
13
|
+
static symbol: symbol;
|
|
14
|
+
protected symbol: symbol;
|
|
13
15
|
constructor(name: string, traits: SchemaTraits, valueSchema: SchemaRef);
|
|
16
|
+
static [Symbol.hasInstance](lhs: unknown): lhs is ListSchema;
|
|
14
17
|
}
|
|
15
18
|
/**
|
|
16
19
|
* Factory for ListSchema.
|