@nocobase/plugin-file-manager 0.17.0-alpha.7 → 0.18.0-alpha.2
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/dist/externalVersion.js +11 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +10 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +59 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +58 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +10 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +50 -32
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +18 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +29 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +226 -97
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +5 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +20 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +22 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +11 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +55 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +54 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +8 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +45 -27
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +25 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +218 -93
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +2 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +5 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +20 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +18 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +14 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +14 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +37 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +98 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +108 -164
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +116 -69
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +146 -222
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +145 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +35 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +6 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +48 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +83 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +109 -34
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +6 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +7 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +6 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +6 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +7 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +10 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +6 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +54 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +113 -73
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +127 -136
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +23 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +8 -4
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +53 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +95 -80
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +98 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +117 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +4 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +52 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +47 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +46 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +6 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +8 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +9 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +23 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +33 -26
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +22 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +54 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +29 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +23 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +11 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +6 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +46 -40
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +150 -119
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +7 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +5 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +24 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +4 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +99 -94
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +51 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +104 -71
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +108 -99
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +9 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +3714 -1386
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1639 -111
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +18 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +9 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +45 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +9 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +34 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +17 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +35 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +5 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +8 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +4 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +42 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +6 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +5 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +7 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +235 -303
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +201 -41
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +24 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +72 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +18 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
- package/dist/node_modules/mime-match/package.json +1 -1
- package/dist/node_modules/mkdirp/package.json +1 -1
- package/dist/node_modules/multer-aliyun-oss/index.js +14 -106
- package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
- package/dist/node_modules/multer-cos/index.js +4 -4
- package/dist/node_modules/multer-cos/package.json +1 -1
- package/dist/node_modules/multer-s3/index.js +4 -4
- package/dist/node_modules/multer-s3/package.json +1 -1
- package/dist/server/migrations/20231120142523-fix-storage.js +1 -0
- package/package.json +2 -2
- package/dist/node_modules/multer-aliyun-oss/bridge.js +0 -1010
- package/dist/node_modules/multer-aliyun-oss/events.js +0 -977
- package/dist/node_modules/multer-aliyun-oss/setup-node-sandbox.js +0 -461
- package/dist/node_modules/multer-aliyun-oss/setup-sandbox.js +0 -545
|
@@ -52,9 +52,6 @@ export const se_CompleteMultipartUploadCommand = async (input, context) => {
|
|
|
52
52
|
uploadId: [, __expectNonNull(input.UploadId, `UploadId`)],
|
|
53
53
|
});
|
|
54
54
|
let body;
|
|
55
|
-
if (input.MultipartUpload !== undefined) {
|
|
56
|
-
body = se_CompletedMultipartUpload(input.MultipartUpload, context);
|
|
57
|
-
}
|
|
58
55
|
let contents;
|
|
59
56
|
if (input.MultipartUpload !== undefined) {
|
|
60
57
|
contents = se_CompletedMultipartUpload(input.MultipartUpload, context);
|
|
@@ -170,9 +167,6 @@ export const se_CreateBucketCommand = async (input, context) => {
|
|
|
170
167
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/";
|
|
171
168
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
172
169
|
let body;
|
|
173
|
-
if (input.CreateBucketConfiguration !== undefined) {
|
|
174
|
-
body = se_CreateBucketConfiguration(input.CreateBucketConfiguration, context);
|
|
175
|
-
}
|
|
176
170
|
let contents;
|
|
177
171
|
if (input.CreateBucketConfiguration !== undefined) {
|
|
178
172
|
contents = se_CreateBucketConfiguration(input.CreateBucketConfiguration, context);
|
|
@@ -251,6 +245,28 @@ export const se_CreateMultipartUploadCommand = async (input, context) => {
|
|
|
251
245
|
body,
|
|
252
246
|
});
|
|
253
247
|
};
|
|
248
|
+
export const se_CreateSessionCommand = async (input, context) => {
|
|
249
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
250
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
251
|
+
"x-amz-create-session-mode": input.SessionMode,
|
|
252
|
+
});
|
|
253
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/";
|
|
254
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
255
|
+
const query = map({
|
|
256
|
+
session: [, ""],
|
|
257
|
+
});
|
|
258
|
+
let body;
|
|
259
|
+
return new __HttpRequest({
|
|
260
|
+
protocol,
|
|
261
|
+
hostname,
|
|
262
|
+
port,
|
|
263
|
+
method: "GET",
|
|
264
|
+
headers,
|
|
265
|
+
path: resolvedPath,
|
|
266
|
+
query,
|
|
267
|
+
body,
|
|
268
|
+
});
|
|
269
|
+
};
|
|
254
270
|
export const se_DeleteBucketCommand = async (input, context) => {
|
|
255
271
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
256
272
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -585,9 +601,6 @@ export const se_DeleteObjectsCommand = async (input, context) => {
|
|
|
585
601
|
"x-id": [, "DeleteObjects"],
|
|
586
602
|
});
|
|
587
603
|
let body;
|
|
588
|
-
if (input.Delete !== undefined) {
|
|
589
|
-
body = se_Delete(input.Delete, context);
|
|
590
|
-
}
|
|
591
604
|
let contents;
|
|
592
605
|
if (input.Delete !== undefined) {
|
|
593
606
|
contents = se_Delete(input.Delete, context);
|
|
@@ -1509,6 +1522,9 @@ export const se_ListBucketsCommand = async (input, context) => {
|
|
|
1509
1522
|
"content-type": "application/xml",
|
|
1510
1523
|
};
|
|
1511
1524
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/";
|
|
1525
|
+
const query = map({
|
|
1526
|
+
"x-id": [, "ListBuckets"],
|
|
1527
|
+
});
|
|
1512
1528
|
let body;
|
|
1513
1529
|
body = "";
|
|
1514
1530
|
return new __HttpRequest({
|
|
@@ -1518,6 +1534,28 @@ export const se_ListBucketsCommand = async (input, context) => {
|
|
|
1518
1534
|
method: "GET",
|
|
1519
1535
|
headers,
|
|
1520
1536
|
path: resolvedPath,
|
|
1537
|
+
query,
|
|
1538
|
+
body,
|
|
1539
|
+
});
|
|
1540
|
+
};
|
|
1541
|
+
export const se_ListDirectoryBucketsCommand = async (input, context) => {
|
|
1542
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1543
|
+
const headers = {};
|
|
1544
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/";
|
|
1545
|
+
const query = map({
|
|
1546
|
+
"x-id": [, "ListDirectoryBuckets"],
|
|
1547
|
+
"continuation-token": [, input.ContinuationToken],
|
|
1548
|
+
"max-directory-buckets": [() => input.MaxDirectoryBuckets !== void 0, () => input.MaxDirectoryBuckets.toString()],
|
|
1549
|
+
});
|
|
1550
|
+
let body;
|
|
1551
|
+
return new __HttpRequest({
|
|
1552
|
+
protocol,
|
|
1553
|
+
hostname,
|
|
1554
|
+
port,
|
|
1555
|
+
method: "GET",
|
|
1556
|
+
headers,
|
|
1557
|
+
path: resolvedPath,
|
|
1558
|
+
query,
|
|
1521
1559
|
body,
|
|
1522
1560
|
});
|
|
1523
1561
|
};
|
|
@@ -1691,9 +1729,6 @@ export const se_PutBucketAccelerateConfigurationCommand = async (input, context)
|
|
|
1691
1729
|
accelerate: [, ""],
|
|
1692
1730
|
});
|
|
1693
1731
|
let body;
|
|
1694
|
-
if (input.AccelerateConfiguration !== undefined) {
|
|
1695
|
-
body = se_AccelerateConfiguration(input.AccelerateConfiguration, context);
|
|
1696
|
-
}
|
|
1697
1732
|
let contents;
|
|
1698
1733
|
if (input.AccelerateConfiguration !== undefined) {
|
|
1699
1734
|
contents = se_AccelerateConfiguration(input.AccelerateConfiguration, context);
|
|
@@ -1732,9 +1767,6 @@ export const se_PutBucketAclCommand = async (input, context) => {
|
|
|
1732
1767
|
acl: [, ""],
|
|
1733
1768
|
});
|
|
1734
1769
|
let body;
|
|
1735
|
-
if (input.AccessControlPolicy !== undefined) {
|
|
1736
|
-
body = se_AccessControlPolicy(input.AccessControlPolicy, context);
|
|
1737
|
-
}
|
|
1738
1770
|
let contents;
|
|
1739
1771
|
if (input.AccessControlPolicy !== undefined) {
|
|
1740
1772
|
contents = se_AccessControlPolicy(input.AccessControlPolicy, context);
|
|
@@ -1766,9 +1798,6 @@ export const se_PutBucketAnalyticsConfigurationCommand = async (input, context)
|
|
|
1766
1798
|
id: [, __expectNonNull(input.Id, `Id`)],
|
|
1767
1799
|
});
|
|
1768
1800
|
let body;
|
|
1769
|
-
if (input.AnalyticsConfiguration !== undefined) {
|
|
1770
|
-
body = se_AnalyticsConfiguration(input.AnalyticsConfiguration, context);
|
|
1771
|
-
}
|
|
1772
1801
|
let contents;
|
|
1773
1802
|
if (input.AnalyticsConfiguration !== undefined) {
|
|
1774
1803
|
contents = se_AnalyticsConfiguration(input.AnalyticsConfiguration, context);
|
|
@@ -1801,9 +1830,6 @@ export const se_PutBucketCorsCommand = async (input, context) => {
|
|
|
1801
1830
|
cors: [, ""],
|
|
1802
1831
|
});
|
|
1803
1832
|
let body;
|
|
1804
|
-
if (input.CORSConfiguration !== undefined) {
|
|
1805
|
-
body = se_CORSConfiguration(input.CORSConfiguration, context);
|
|
1806
|
-
}
|
|
1807
1833
|
let contents;
|
|
1808
1834
|
if (input.CORSConfiguration !== undefined) {
|
|
1809
1835
|
contents = se_CORSConfiguration(input.CORSConfiguration, context);
|
|
@@ -1836,9 +1862,6 @@ export const se_PutBucketEncryptionCommand = async (input, context) => {
|
|
|
1836
1862
|
encryption: [, ""],
|
|
1837
1863
|
});
|
|
1838
1864
|
let body;
|
|
1839
|
-
if (input.ServerSideEncryptionConfiguration !== undefined) {
|
|
1840
|
-
body = se_ServerSideEncryptionConfiguration(input.ServerSideEncryptionConfiguration, context);
|
|
1841
|
-
}
|
|
1842
1865
|
let contents;
|
|
1843
1866
|
if (input.ServerSideEncryptionConfiguration !== undefined) {
|
|
1844
1867
|
contents = se_ServerSideEncryptionConfiguration(input.ServerSideEncryptionConfiguration, context);
|
|
@@ -1869,9 +1892,6 @@ export const se_PutBucketIntelligentTieringConfigurationCommand = async (input,
|
|
|
1869
1892
|
id: [, __expectNonNull(input.Id, `Id`)],
|
|
1870
1893
|
});
|
|
1871
1894
|
let body;
|
|
1872
|
-
if (input.IntelligentTieringConfiguration !== undefined) {
|
|
1873
|
-
body = se_IntelligentTieringConfiguration(input.IntelligentTieringConfiguration, context);
|
|
1874
|
-
}
|
|
1875
1895
|
let contents;
|
|
1876
1896
|
if (input.IntelligentTieringConfiguration !== undefined) {
|
|
1877
1897
|
contents = se_IntelligentTieringConfiguration(input.IntelligentTieringConfiguration, context);
|
|
@@ -1903,9 +1923,6 @@ export const se_PutBucketInventoryConfigurationCommand = async (input, context)
|
|
|
1903
1923
|
id: [, __expectNonNull(input.Id, `Id`)],
|
|
1904
1924
|
});
|
|
1905
1925
|
let body;
|
|
1906
|
-
if (input.InventoryConfiguration !== undefined) {
|
|
1907
|
-
body = se_InventoryConfiguration(input.InventoryConfiguration, context);
|
|
1908
|
-
}
|
|
1909
1926
|
let contents;
|
|
1910
1927
|
if (input.InventoryConfiguration !== undefined) {
|
|
1911
1928
|
contents = se_InventoryConfiguration(input.InventoryConfiguration, context);
|
|
@@ -1937,9 +1954,6 @@ export const se_PutBucketLifecycleConfigurationCommand = async (input, context)
|
|
|
1937
1954
|
lifecycle: [, ""],
|
|
1938
1955
|
});
|
|
1939
1956
|
let body;
|
|
1940
|
-
if (input.LifecycleConfiguration !== undefined) {
|
|
1941
|
-
body = se_BucketLifecycleConfiguration(input.LifecycleConfiguration, context);
|
|
1942
|
-
}
|
|
1943
1957
|
let contents;
|
|
1944
1958
|
if (input.LifecycleConfiguration !== undefined) {
|
|
1945
1959
|
contents = se_BucketLifecycleConfiguration(input.LifecycleConfiguration, context);
|
|
@@ -1973,9 +1987,6 @@ export const se_PutBucketLoggingCommand = async (input, context) => {
|
|
|
1973
1987
|
logging: [, ""],
|
|
1974
1988
|
});
|
|
1975
1989
|
let body;
|
|
1976
|
-
if (input.BucketLoggingStatus !== undefined) {
|
|
1977
|
-
body = se_BucketLoggingStatus(input.BucketLoggingStatus, context);
|
|
1978
|
-
}
|
|
1979
1990
|
let contents;
|
|
1980
1991
|
if (input.BucketLoggingStatus !== undefined) {
|
|
1981
1992
|
contents = se_BucketLoggingStatus(input.BucketLoggingStatus, context);
|
|
@@ -2007,9 +2018,6 @@ export const se_PutBucketMetricsConfigurationCommand = async (input, context) =>
|
|
|
2007
2018
|
id: [, __expectNonNull(input.Id, `Id`)],
|
|
2008
2019
|
});
|
|
2009
2020
|
let body;
|
|
2010
|
-
if (input.MetricsConfiguration !== undefined) {
|
|
2011
|
-
body = se_MetricsConfiguration(input.MetricsConfiguration, context);
|
|
2012
|
-
}
|
|
2013
2021
|
let contents;
|
|
2014
2022
|
if (input.MetricsConfiguration !== undefined) {
|
|
2015
2023
|
contents = se_MetricsConfiguration(input.MetricsConfiguration, context);
|
|
@@ -2044,9 +2052,6 @@ export const se_PutBucketNotificationConfigurationCommand = async (input, contex
|
|
|
2044
2052
|
notification: [, ""],
|
|
2045
2053
|
});
|
|
2046
2054
|
let body;
|
|
2047
|
-
if (input.NotificationConfiguration !== undefined) {
|
|
2048
|
-
body = se_NotificationConfiguration(input.NotificationConfiguration, context);
|
|
2049
|
-
}
|
|
2050
2055
|
let contents;
|
|
2051
2056
|
if (input.NotificationConfiguration !== undefined) {
|
|
2052
2057
|
contents = se_NotificationConfiguration(input.NotificationConfiguration, context);
|
|
@@ -2078,9 +2083,6 @@ export const se_PutBucketOwnershipControlsCommand = async (input, context) => {
|
|
|
2078
2083
|
ownershipControls: [, ""],
|
|
2079
2084
|
});
|
|
2080
2085
|
let body;
|
|
2081
|
-
if (input.OwnershipControls !== undefined) {
|
|
2082
|
-
body = se_OwnershipControls(input.OwnershipControls, context);
|
|
2083
|
-
}
|
|
2084
2086
|
let contents;
|
|
2085
2087
|
if (input.OwnershipControls !== undefined) {
|
|
2086
2088
|
contents = se_OwnershipControls(input.OwnershipControls, context);
|
|
@@ -2117,9 +2119,6 @@ export const se_PutBucketPolicyCommand = async (input, context) => {
|
|
|
2117
2119
|
policy: [, ""],
|
|
2118
2120
|
});
|
|
2119
2121
|
let body;
|
|
2120
|
-
if (input.Policy !== undefined) {
|
|
2121
|
-
body = input.Policy;
|
|
2122
|
-
}
|
|
2123
2122
|
let contents;
|
|
2124
2123
|
if (input.Policy !== undefined) {
|
|
2125
2124
|
contents = input.Policy;
|
|
@@ -2151,9 +2150,6 @@ export const se_PutBucketReplicationCommand = async (input, context) => {
|
|
|
2151
2150
|
replication: [, ""],
|
|
2152
2151
|
});
|
|
2153
2152
|
let body;
|
|
2154
|
-
if (input.ReplicationConfiguration !== undefined) {
|
|
2155
|
-
body = se_ReplicationConfiguration(input.ReplicationConfiguration, context);
|
|
2156
|
-
}
|
|
2157
2153
|
let contents;
|
|
2158
2154
|
if (input.ReplicationConfiguration !== undefined) {
|
|
2159
2155
|
contents = se_ReplicationConfiguration(input.ReplicationConfiguration, context);
|
|
@@ -2186,9 +2182,6 @@ export const se_PutBucketRequestPaymentCommand = async (input, context) => {
|
|
|
2186
2182
|
requestPayment: [, ""],
|
|
2187
2183
|
});
|
|
2188
2184
|
let body;
|
|
2189
|
-
if (input.RequestPaymentConfiguration !== undefined) {
|
|
2190
|
-
body = se_RequestPaymentConfiguration(input.RequestPaymentConfiguration, context);
|
|
2191
|
-
}
|
|
2192
2185
|
let contents;
|
|
2193
2186
|
if (input.RequestPaymentConfiguration !== undefined) {
|
|
2194
2187
|
contents = se_RequestPaymentConfiguration(input.RequestPaymentConfiguration, context);
|
|
@@ -2221,9 +2214,6 @@ export const se_PutBucketTaggingCommand = async (input, context) => {
|
|
|
2221
2214
|
tagging: [, ""],
|
|
2222
2215
|
});
|
|
2223
2216
|
let body;
|
|
2224
|
-
if (input.Tagging !== undefined) {
|
|
2225
|
-
body = se_Tagging(input.Tagging, context);
|
|
2226
|
-
}
|
|
2227
2217
|
let contents;
|
|
2228
2218
|
if (input.Tagging !== undefined) {
|
|
2229
2219
|
contents = se_Tagging(input.Tagging, context);
|
|
@@ -2257,9 +2247,6 @@ export const se_PutBucketVersioningCommand = async (input, context) => {
|
|
|
2257
2247
|
versioning: [, ""],
|
|
2258
2248
|
});
|
|
2259
2249
|
let body;
|
|
2260
|
-
if (input.VersioningConfiguration !== undefined) {
|
|
2261
|
-
body = se_VersioningConfiguration(input.VersioningConfiguration, context);
|
|
2262
|
-
}
|
|
2263
2250
|
let contents;
|
|
2264
2251
|
if (input.VersioningConfiguration !== undefined) {
|
|
2265
2252
|
contents = se_VersioningConfiguration(input.VersioningConfiguration, context);
|
|
@@ -2292,9 +2279,6 @@ export const se_PutBucketWebsiteCommand = async (input, context) => {
|
|
|
2292
2279
|
website: [, ""],
|
|
2293
2280
|
});
|
|
2294
2281
|
let body;
|
|
2295
|
-
if (input.WebsiteConfiguration !== undefined) {
|
|
2296
|
-
body = se_WebsiteConfiguration(input.WebsiteConfiguration, context);
|
|
2297
|
-
}
|
|
2298
2282
|
let contents;
|
|
2299
2283
|
if (input.WebsiteConfiguration !== undefined) {
|
|
2300
2284
|
contents = se_WebsiteConfiguration(input.WebsiteConfiguration, context);
|
|
@@ -2368,9 +2352,6 @@ export const se_PutObjectCommand = async (input, context) => {
|
|
|
2368
2352
|
"x-id": [, "PutObject"],
|
|
2369
2353
|
});
|
|
2370
2354
|
let body;
|
|
2371
|
-
if (input.Body !== undefined) {
|
|
2372
|
-
body = input.Body;
|
|
2373
|
-
}
|
|
2374
2355
|
let contents;
|
|
2375
2356
|
if (input.Body !== undefined) {
|
|
2376
2357
|
contents = input.Body;
|
|
@@ -2410,9 +2391,6 @@ export const se_PutObjectAclCommand = async (input, context) => {
|
|
|
2410
2391
|
versionId: [, input.VersionId],
|
|
2411
2392
|
});
|
|
2412
2393
|
let body;
|
|
2413
|
-
if (input.AccessControlPolicy !== undefined) {
|
|
2414
|
-
body = se_AccessControlPolicy(input.AccessControlPolicy, context);
|
|
2415
|
-
}
|
|
2416
2394
|
let contents;
|
|
2417
2395
|
if (input.AccessControlPolicy !== undefined) {
|
|
2418
2396
|
contents = se_AccessControlPolicy(input.AccessControlPolicy, context);
|
|
@@ -2448,9 +2426,6 @@ export const se_PutObjectLegalHoldCommand = async (input, context) => {
|
|
|
2448
2426
|
versionId: [, input.VersionId],
|
|
2449
2427
|
});
|
|
2450
2428
|
let body;
|
|
2451
|
-
if (input.LegalHold !== undefined) {
|
|
2452
|
-
body = se_ObjectLockLegalHold(input.LegalHold, context);
|
|
2453
|
-
}
|
|
2454
2429
|
let contents;
|
|
2455
2430
|
if (input.LegalHold !== undefined) {
|
|
2456
2431
|
contents = se_ObjectLockLegalHold(input.LegalHold, context);
|
|
@@ -2486,9 +2461,6 @@ export const se_PutObjectLockConfigurationCommand = async (input, context) => {
|
|
|
2486
2461
|
"object-lock": [, ""],
|
|
2487
2462
|
});
|
|
2488
2463
|
let body;
|
|
2489
|
-
if (input.ObjectLockConfiguration !== undefined) {
|
|
2490
|
-
body = se_ObjectLockConfiguration(input.ObjectLockConfiguration, context);
|
|
2491
|
-
}
|
|
2492
2464
|
let contents;
|
|
2493
2465
|
if (input.ObjectLockConfiguration !== undefined) {
|
|
2494
2466
|
contents = se_ObjectLockConfiguration(input.ObjectLockConfiguration, context);
|
|
@@ -2528,9 +2500,6 @@ export const se_PutObjectRetentionCommand = async (input, context) => {
|
|
|
2528
2500
|
versionId: [, input.VersionId],
|
|
2529
2501
|
});
|
|
2530
2502
|
let body;
|
|
2531
|
-
if (input.Retention !== undefined) {
|
|
2532
|
-
body = se_ObjectLockRetention(input.Retention, context);
|
|
2533
|
-
}
|
|
2534
2503
|
let contents;
|
|
2535
2504
|
if (input.Retention !== undefined) {
|
|
2536
2505
|
contents = se_ObjectLockRetention(input.Retention, context);
|
|
@@ -2567,9 +2536,6 @@ export const se_PutObjectTaggingCommand = async (input, context) => {
|
|
|
2567
2536
|
versionId: [, input.VersionId],
|
|
2568
2537
|
});
|
|
2569
2538
|
let body;
|
|
2570
|
-
if (input.Tagging !== undefined) {
|
|
2571
|
-
body = se_Tagging(input.Tagging, context);
|
|
2572
|
-
}
|
|
2573
2539
|
let contents;
|
|
2574
2540
|
if (input.Tagging !== undefined) {
|
|
2575
2541
|
contents = se_Tagging(input.Tagging, context);
|
|
@@ -2602,9 +2568,6 @@ export const se_PutPublicAccessBlockCommand = async (input, context) => {
|
|
|
2602
2568
|
publicAccessBlock: [, ""],
|
|
2603
2569
|
});
|
|
2604
2570
|
let body;
|
|
2605
|
-
if (input.PublicAccessBlockConfiguration !== undefined) {
|
|
2606
|
-
body = se_PublicAccessBlockConfiguration(input.PublicAccessBlockConfiguration, context);
|
|
2607
|
-
}
|
|
2608
2571
|
let contents;
|
|
2609
2572
|
if (input.PublicAccessBlockConfiguration !== undefined) {
|
|
2610
2573
|
contents = se_PublicAccessBlockConfiguration(input.PublicAccessBlockConfiguration, context);
|
|
@@ -2640,9 +2603,6 @@ export const se_RestoreObjectCommand = async (input, context) => {
|
|
|
2640
2603
|
versionId: [, input.VersionId],
|
|
2641
2604
|
});
|
|
2642
2605
|
let body;
|
|
2643
|
-
if (input.RestoreRequest !== undefined) {
|
|
2644
|
-
body = se_RestoreRequest(input.RestoreRequest, context);
|
|
2645
|
-
}
|
|
2646
2606
|
let contents;
|
|
2647
2607
|
if (input.RestoreRequest !== undefined) {
|
|
2648
2608
|
contents = se_RestoreRequest(input.RestoreRequest, context);
|
|
@@ -2744,9 +2704,6 @@ export const se_UploadPartCommand = async (input, context) => {
|
|
|
2744
2704
|
uploadId: [, __expectNonNull(input.UploadId, `UploadId`)],
|
|
2745
2705
|
});
|
|
2746
2706
|
let body;
|
|
2747
|
-
if (input.Body !== undefined) {
|
|
2748
|
-
body = input.Body;
|
|
2749
|
-
}
|
|
2750
2707
|
let contents;
|
|
2751
2708
|
if (input.Body !== undefined) {
|
|
2752
2709
|
contents = input.Body;
|
|
@@ -2886,9 +2843,6 @@ export const se_WriteGetObjectResponseCommand = async (input, context) => {
|
|
|
2886
2843
|
"x-id": [, "WriteGetObjectResponse"],
|
|
2887
2844
|
});
|
|
2888
2845
|
let body;
|
|
2889
|
-
if (input.Body !== undefined) {
|
|
2890
|
-
body = input.Body;
|
|
2891
|
-
}
|
|
2892
2846
|
let contents;
|
|
2893
2847
|
if (input.Body !== undefined) {
|
|
2894
2848
|
contents = input.Body;
|
|
@@ -3126,6 +3080,38 @@ const de_CreateMultipartUploadCommandError = async (output, context) => {
|
|
|
3126
3080
|
errorCode,
|
|
3127
3081
|
});
|
|
3128
3082
|
};
|
|
3083
|
+
export const de_CreateSessionCommand = async (output, context) => {
|
|
3084
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3085
|
+
return de_CreateSessionCommandError(output, context);
|
|
3086
|
+
}
|
|
3087
|
+
const contents = map({
|
|
3088
|
+
$metadata: deserializeMetadata(output),
|
|
3089
|
+
});
|
|
3090
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3091
|
+
if (data["Credentials"] !== undefined) {
|
|
3092
|
+
contents.Credentials = de_SessionCredentials(data["Credentials"], context);
|
|
3093
|
+
}
|
|
3094
|
+
return contents;
|
|
3095
|
+
};
|
|
3096
|
+
const de_CreateSessionCommandError = async (output, context) => {
|
|
3097
|
+
const parsedOutput = {
|
|
3098
|
+
...output,
|
|
3099
|
+
body: await parseErrorBody(output.body, context),
|
|
3100
|
+
};
|
|
3101
|
+
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3102
|
+
switch (errorCode) {
|
|
3103
|
+
case "NoSuchBucket":
|
|
3104
|
+
case "com.amazonaws.s3#NoSuchBucket":
|
|
3105
|
+
throw await de_NoSuchBucketRes(parsedOutput, context);
|
|
3106
|
+
default:
|
|
3107
|
+
const parsedBody = parsedOutput.body;
|
|
3108
|
+
return throwDefaultError({
|
|
3109
|
+
output,
|
|
3110
|
+
parsedBody,
|
|
3111
|
+
errorCode,
|
|
3112
|
+
});
|
|
3113
|
+
}
|
|
3114
|
+
};
|
|
3129
3115
|
export const de_DeleteBucketCommand = async (output, context) => {
|
|
3130
3116
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3131
3117
|
return de_DeleteBucketCommandError(output, context);
|
|
@@ -4443,6 +4429,13 @@ export const de_HeadBucketCommand = async (output, context) => {
|
|
|
4443
4429
|
}
|
|
4444
4430
|
const contents = map({
|
|
4445
4431
|
$metadata: deserializeMetadata(output),
|
|
4432
|
+
BucketLocationType: [, output.headers["x-amz-bucket-location-type"]],
|
|
4433
|
+
BucketLocationName: [, output.headers["x-amz-bucket-location-name"]],
|
|
4434
|
+
BucketRegion: [, output.headers["x-amz-bucket-region"]],
|
|
4435
|
+
AccessPointAlias: [
|
|
4436
|
+
() => void 0 !== output.headers["x-amz-access-point-alias"],
|
|
4437
|
+
() => __parseBoolean(output.headers["x-amz-access-point-alias"]),
|
|
4438
|
+
],
|
|
4446
4439
|
});
|
|
4447
4440
|
await collectBody(output.body, context);
|
|
4448
4441
|
return contents;
|
|
@@ -4745,6 +4738,38 @@ const de_ListBucketsCommandError = async (output, context) => {
|
|
|
4745
4738
|
errorCode,
|
|
4746
4739
|
});
|
|
4747
4740
|
};
|
|
4741
|
+
export const de_ListDirectoryBucketsCommand = async (output, context) => {
|
|
4742
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4743
|
+
return de_ListDirectoryBucketsCommandError(output, context);
|
|
4744
|
+
}
|
|
4745
|
+
const contents = map({
|
|
4746
|
+
$metadata: deserializeMetadata(output),
|
|
4747
|
+
});
|
|
4748
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4749
|
+
if (data.Buckets === "") {
|
|
4750
|
+
contents.Buckets = [];
|
|
4751
|
+
}
|
|
4752
|
+
else if (data["Buckets"] !== undefined && data["Buckets"]["Bucket"] !== undefined) {
|
|
4753
|
+
contents.Buckets = de_Buckets(__getArrayIfSingleItem(data["Buckets"]["Bucket"]), context);
|
|
4754
|
+
}
|
|
4755
|
+
if (data["ContinuationToken"] !== undefined) {
|
|
4756
|
+
contents.ContinuationToken = __expectString(data["ContinuationToken"]);
|
|
4757
|
+
}
|
|
4758
|
+
return contents;
|
|
4759
|
+
};
|
|
4760
|
+
const de_ListDirectoryBucketsCommandError = async (output, context) => {
|
|
4761
|
+
const parsedOutput = {
|
|
4762
|
+
...output,
|
|
4763
|
+
body: await parseErrorBody(output.body, context),
|
|
4764
|
+
};
|
|
4765
|
+
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4766
|
+
const parsedBody = parsedOutput.body;
|
|
4767
|
+
return throwDefaultError({
|
|
4768
|
+
output,
|
|
4769
|
+
parsedBody,
|
|
4770
|
+
errorCode,
|
|
4771
|
+
});
|
|
4772
|
+
};
|
|
4748
4773
|
export const de_ListMultipartUploadsCommand = async (output, context) => {
|
|
4749
4774
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4750
4775
|
return de_ListMultipartUploadsCommandError(output, context);
|
|
@@ -6135,6 +6160,18 @@ const se_AnalyticsS3BucketDestination = (input, context) => {
|
|
|
6135
6160
|
}
|
|
6136
6161
|
return bodyNode;
|
|
6137
6162
|
};
|
|
6163
|
+
const se_BucketInfo = (input, context) => {
|
|
6164
|
+
const bodyNode = new __XmlNode("BucketInfo");
|
|
6165
|
+
if (input.DataRedundancy != null) {
|
|
6166
|
+
const node = __XmlNode.of("DataRedundancy", input.DataRedundancy).withName("DataRedundancy");
|
|
6167
|
+
bodyNode.addChildNode(node);
|
|
6168
|
+
}
|
|
6169
|
+
if (input.Type != null) {
|
|
6170
|
+
const node = __XmlNode.of("BucketType", input.Type).withName("Type");
|
|
6171
|
+
bodyNode.addChildNode(node);
|
|
6172
|
+
}
|
|
6173
|
+
return bodyNode;
|
|
6174
|
+
};
|
|
6138
6175
|
const se_BucketLifecycleConfiguration = (input, context) => {
|
|
6139
6176
|
const bodyNode = new __XmlNode("BucketLifecycleConfiguration");
|
|
6140
6177
|
if (input.Rules != null) {
|
|
@@ -6280,6 +6317,14 @@ const se_CreateBucketConfiguration = (input, context) => {
|
|
|
6280
6317
|
const node = __XmlNode.of("BucketLocationConstraint", input.LocationConstraint).withName("LocationConstraint");
|
|
6281
6318
|
bodyNode.addChildNode(node);
|
|
6282
6319
|
}
|
|
6320
|
+
if (input.Location != null) {
|
|
6321
|
+
const node = se_LocationInfo(input.Location, context).withName("Location");
|
|
6322
|
+
bodyNode.addChildNode(node);
|
|
6323
|
+
}
|
|
6324
|
+
if (input.Bucket != null) {
|
|
6325
|
+
const node = se_BucketInfo(input.Bucket, context).withName("Bucket");
|
|
6326
|
+
bodyNode.addChildNode(node);
|
|
6327
|
+
}
|
|
6283
6328
|
return bodyNode;
|
|
6284
6329
|
};
|
|
6285
6330
|
const se_CSVInput = (input, context) => {
|
|
@@ -6909,6 +6954,18 @@ const se_LifecycleRules = (input, context) => {
|
|
|
6909
6954
|
return node.withName("member");
|
|
6910
6955
|
});
|
|
6911
6956
|
};
|
|
6957
|
+
const se_LocationInfo = (input, context) => {
|
|
6958
|
+
const bodyNode = new __XmlNode("LocationInfo");
|
|
6959
|
+
if (input.Type != null) {
|
|
6960
|
+
const node = __XmlNode.of("LocationType", input.Type).withName("Type");
|
|
6961
|
+
bodyNode.addChildNode(node);
|
|
6962
|
+
}
|
|
6963
|
+
if (input.Name != null) {
|
|
6964
|
+
const node = __XmlNode.of("LocationNameAsString", input.Name).withName("Name");
|
|
6965
|
+
bodyNode.addChildNode(node);
|
|
6966
|
+
}
|
|
6967
|
+
return bodyNode;
|
|
6968
|
+
};
|
|
6912
6969
|
const se_LoggingEnabled = (input, context) => {
|
|
6913
6970
|
const bodyNode = new __XmlNode("LoggingEnabled");
|
|
6914
6971
|
if (input.TargetBucket != null) {
|
|
@@ -6927,6 +6984,10 @@ const se_LoggingEnabled = (input, context) => {
|
|
|
6927
6984
|
const node = __XmlNode.of("TargetPrefix", input.TargetPrefix).withName("TargetPrefix");
|
|
6928
6985
|
bodyNode.addChildNode(node);
|
|
6929
6986
|
}
|
|
6987
|
+
if (input.TargetObjectKeyFormat != null) {
|
|
6988
|
+
const node = se_TargetObjectKeyFormat(input.TargetObjectKeyFormat, context).withName("TargetObjectKeyFormat");
|
|
6989
|
+
bodyNode.addChildNode(node);
|
|
6990
|
+
}
|
|
6930
6991
|
return bodyNode;
|
|
6931
6992
|
};
|
|
6932
6993
|
const se_MetadataEntry = (input, context) => {
|
|
@@ -7214,6 +7275,14 @@ const se_ParquetInput = (input, context) => {
|
|
|
7214
7275
|
const bodyNode = new __XmlNode("ParquetInput");
|
|
7215
7276
|
return bodyNode;
|
|
7216
7277
|
};
|
|
7278
|
+
const se_PartitionedPrefix = (input, context) => {
|
|
7279
|
+
const bodyNode = new __XmlNode("PartitionedPrefix");
|
|
7280
|
+
if (input.PartitionDateSource != null) {
|
|
7281
|
+
const node = __XmlNode.of("PartitionDateSource", input.PartitionDateSource).withName("PartitionDateSource");
|
|
7282
|
+
bodyNode.addChildNode(node);
|
|
7283
|
+
}
|
|
7284
|
+
return bodyNode;
|
|
7285
|
+
};
|
|
7217
7286
|
const se_PublicAccessBlockConfiguration = (input, context) => {
|
|
7218
7287
|
const bodyNode = new __XmlNode("PublicAccessBlockConfiguration");
|
|
7219
7288
|
if (input.BlockPublicAcls != null) {
|
|
@@ -7629,6 +7698,10 @@ const se_ServerSideEncryptionRules = (input, context) => {
|
|
|
7629
7698
|
return node.withName("member");
|
|
7630
7699
|
});
|
|
7631
7700
|
};
|
|
7701
|
+
const se_SimplePrefix = (input, context) => {
|
|
7702
|
+
const bodyNode = new __XmlNode("SimplePrefix");
|
|
7703
|
+
return bodyNode;
|
|
7704
|
+
};
|
|
7632
7705
|
const se_SourceSelectionCriteria = (input, context) => {
|
|
7633
7706
|
const bodyNode = new __XmlNode("SourceSelectionCriteria");
|
|
7634
7707
|
if (input.SseKmsEncryptedObjects != null) {
|
|
@@ -7736,6 +7809,18 @@ const se_TargetGrants = (input, context) => {
|
|
|
7736
7809
|
return node.withName("Grant");
|
|
7737
7810
|
});
|
|
7738
7811
|
};
|
|
7812
|
+
const se_TargetObjectKeyFormat = (input, context) => {
|
|
7813
|
+
const bodyNode = new __XmlNode("TargetObjectKeyFormat");
|
|
7814
|
+
if (input.SimplePrefix != null) {
|
|
7815
|
+
const node = se_SimplePrefix(input.SimplePrefix, context).withName("SimplePrefix");
|
|
7816
|
+
bodyNode.addChildNode(node);
|
|
7817
|
+
}
|
|
7818
|
+
if (input.PartitionedPrefix != null) {
|
|
7819
|
+
const node = se_PartitionedPrefix(input.PartitionedPrefix, context).withName("PartitionedPrefix");
|
|
7820
|
+
bodyNode.addChildNode(node);
|
|
7821
|
+
}
|
|
7822
|
+
return bodyNode;
|
|
7823
|
+
};
|
|
7739
7824
|
const se_Tiering = (input, context) => {
|
|
7740
7825
|
const bodyNode = new __XmlNode("Tiering");
|
|
7741
7826
|
if (input.Days != null) {
|
|
@@ -8664,6 +8749,9 @@ const de_LoggingEnabled = (output, context) => {
|
|
|
8664
8749
|
if (output["TargetPrefix"] !== undefined) {
|
|
8665
8750
|
contents.TargetPrefix = __expectString(output["TargetPrefix"]);
|
|
8666
8751
|
}
|
|
8752
|
+
if (output["TargetObjectKeyFormat"] !== undefined) {
|
|
8753
|
+
contents.TargetObjectKeyFormat = de_TargetObjectKeyFormat(output["TargetObjectKeyFormat"], context);
|
|
8754
|
+
}
|
|
8667
8755
|
return contents;
|
|
8668
8756
|
};
|
|
8669
8757
|
const de_Metrics = (output, context) => {
|
|
@@ -9003,6 +9091,13 @@ const de_Part = (output, context) => {
|
|
|
9003
9091
|
}
|
|
9004
9092
|
return contents;
|
|
9005
9093
|
};
|
|
9094
|
+
const de_PartitionedPrefix = (output, context) => {
|
|
9095
|
+
const contents = {};
|
|
9096
|
+
if (output["PartitionDateSource"] !== undefined) {
|
|
9097
|
+
contents.PartitionDateSource = __expectString(output["PartitionDateSource"]);
|
|
9098
|
+
}
|
|
9099
|
+
return contents;
|
|
9100
|
+
};
|
|
9006
9101
|
const de_Parts = (output, context) => {
|
|
9007
9102
|
return (output || [])
|
|
9008
9103
|
.filter((e) => e != null)
|
|
@@ -9290,6 +9385,26 @@ const de_ServerSideEncryptionRules = (output, context) => {
|
|
|
9290
9385
|
return de_ServerSideEncryptionRule(entry, context);
|
|
9291
9386
|
});
|
|
9292
9387
|
};
|
|
9388
|
+
const de_SessionCredentials = (output, context) => {
|
|
9389
|
+
const contents = {};
|
|
9390
|
+
if (output["AccessKeyId"] !== undefined) {
|
|
9391
|
+
contents.AccessKeyId = __expectString(output["AccessKeyId"]);
|
|
9392
|
+
}
|
|
9393
|
+
if (output["SecretAccessKey"] !== undefined) {
|
|
9394
|
+
contents.SecretAccessKey = __expectString(output["SecretAccessKey"]);
|
|
9395
|
+
}
|
|
9396
|
+
if (output["SessionToken"] !== undefined) {
|
|
9397
|
+
contents.SessionToken = __expectString(output["SessionToken"]);
|
|
9398
|
+
}
|
|
9399
|
+
if (output["Expiration"] !== undefined) {
|
|
9400
|
+
contents.Expiration = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["Expiration"]));
|
|
9401
|
+
}
|
|
9402
|
+
return contents;
|
|
9403
|
+
};
|
|
9404
|
+
const de_SimplePrefix = (output, context) => {
|
|
9405
|
+
const contents = {};
|
|
9406
|
+
return contents;
|
|
9407
|
+
};
|
|
9293
9408
|
const de_SourceSelectionCriteria = (output, context) => {
|
|
9294
9409
|
const contents = {};
|
|
9295
9410
|
if (output["SseKmsEncryptedObjects"] !== undefined) {
|
|
@@ -9382,6 +9497,16 @@ const de_TargetGrants = (output, context) => {
|
|
|
9382
9497
|
return de_TargetGrant(entry, context);
|
|
9383
9498
|
});
|
|
9384
9499
|
};
|
|
9500
|
+
const de_TargetObjectKeyFormat = (output, context) => {
|
|
9501
|
+
const contents = {};
|
|
9502
|
+
if (output["SimplePrefix"] !== undefined) {
|
|
9503
|
+
contents.SimplePrefix = de_SimplePrefix(output["SimplePrefix"], context);
|
|
9504
|
+
}
|
|
9505
|
+
if (output["PartitionedPrefix"] !== undefined) {
|
|
9506
|
+
contents.PartitionedPrefix = de_PartitionedPrefix(output["PartitionedPrefix"], context);
|
|
9507
|
+
}
|
|
9508
|
+
return contents;
|
|
9509
|
+
};
|
|
9385
9510
|
const de_Tiering = (output, context) => {
|
|
9386
9511
|
const contents = {};
|
|
9387
9512
|
if (output["Days"] !== undefined) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha1 } from "@aws-crypto/sha1-browser";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
-
import { blobHasher as streamHasher } from "@aws-sdk/hash-blob-browser";
|
|
5
|
-
import { Md5 } from "@aws-sdk/md5-js";
|
|
6
4
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
7
5
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
8
6
|
import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-browser";
|
|
9
7
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
8
|
+
import { blobHasher as streamHasher } from "@smithy/hash-blob-browser";
|
|
10
9
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
10
|
+
import { Md5 } from "@smithy/md5-js";
|
|
11
11
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
12
12
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
13
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import { readableStreamHasher as streamHasher } from "@aws-sdk/hash-stream-node";
|
|
5
5
|
import { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-bucket-endpoint";
|
|
6
|
+
import { NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS } from "@aws-sdk/middleware-sdk-s3";
|
|
6
7
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
7
8
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
8
9
|
import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-node";
|
|
9
10
|
import { Hash } from "@smithy/hash-node";
|
|
11
|
+
import { readableStreamHasher as streamHasher } from "@smithy/hash-stream-node";
|
|
10
12
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
11
13
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
12
14
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
@@ -21,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
21
23
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
22
24
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
23
25
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
26
|
+
awsCheckVersion(process.version);
|
|
24
27
|
return {
|
|
25
28
|
...clientSharedValues,
|
|
26
29
|
...config,
|
|
@@ -30,6 +33,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
33
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
34
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
35
|
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
36
|
+
disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? loadNodeConfig(NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS),
|
|
33
37
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
|
|
34
38
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
35
39
|
md5: config?.md5 ?? Hash.bind(null, "md5"),
|