@aws-sdk/client-s3 3.42.0 → 3.46.0

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist-cjs/endpoints.js +13 -0
  3. package/dist-cjs/models/models_0.js +18 -10
  4. package/dist-cjs/models/models_1.js +7 -1
  5. package/dist-cjs/protocols/Aws_restXml.js +82 -0
  6. package/dist-cjs/runtimeConfig.js +0 -2
  7. package/dist-es/endpoints.js +13 -0
  8. package/dist-es/models/models_0.js +12 -4
  9. package/dist-es/models/models_1.js +4 -0
  10. package/dist-es/protocols/Aws_restXml.js +83 -3
  11. package/dist-es/runtimeConfig.js +0 -2
  12. package/dist-types/S3.d.ts +126 -39
  13. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +4 -0
  14. package/dist-types/commands/CopyObjectCommand.d.ts +11 -1
  15. package/dist-types/commands/CreateBucketCommand.d.ts +39 -11
  16. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -2
  17. package/dist-types/commands/GetBucketAclCommand.d.ts +7 -0
  18. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -2
  19. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +3 -3
  20. package/dist-types/commands/GetObjectAclCommand.d.ts +7 -1
  21. package/dist-types/commands/GetObjectCommand.d.ts +7 -4
  22. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -2
  23. package/dist-types/commands/PutBucketAclCommand.d.ts +7 -1
  24. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +2 -2
  25. package/dist-types/commands/PutBucketLoggingCommand.d.ts +8 -3
  26. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +2 -2
  27. package/dist-types/commands/PutObjectAclCommand.d.ts +7 -2
  28. package/dist-types/commands/PutObjectCommand.d.ts +14 -2
  29. package/dist-types/commands/SelectObjectContentCommand.d.ts +2 -1
  30. package/dist-types/models/models_0.d.ts +118 -35
  31. package/dist-types/models/models_1.d.ts +16 -1
  32. package/dist-types/ts3.4/models/models_0.d.ts +55 -15
  33. package/dist-types/ts3.4/models/models_1.d.ts +10 -1
  34. package/package.json +49 -55
package/CHANGELOG.md CHANGED
@@ -3,6 +3,57 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
12
+
13
+
14
+ ### Features
15
+
16
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
17
+ * **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
18
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
19
+
20
+
21
+
22
+
23
+
24
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
25
+
26
+
27
+ ### Features
28
+
29
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
30
+
31
+
32
+
33
+
34
+
35
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
36
+
37
+
38
+ ### Features
39
+
40
+ * **clients:** update clients as of 2021/11/30 ([#3077](https://github.com/aws/aws-sdk-js-v3/issues/3077)) ([2bdba30](https://github.com/aws/aws-sdk-js-v3/commit/2bdba30963e550728ba2903d57daa1e666a29d71))
41
+
42
+
43
+
44
+
45
+
46
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
47
+
48
+
49
+ ### Features
50
+
51
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
52
+
53
+
54
+
55
+
56
+
6
57
  # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
7
58
 
8
59
 
@@ -99,6 +99,18 @@ const regionHash = {
99
99
  },
100
100
  ],
101
101
  },
102
+ "ap-southeast-3": {
103
+ variants: [
104
+ {
105
+ hostname: "s3.ap-southeast-3.amazonaws.com",
106
+ tags: [],
107
+ },
108
+ {
109
+ hostname: "s3.dualstack.ap-southeast-3.amazonaws.com",
110
+ tags: ["dualstack"],
111
+ },
112
+ ],
113
+ },
102
114
  "aws-global": {
103
115
  variants: [
104
116
  {
@@ -381,6 +393,7 @@ const partitionHash = {
381
393
  "ap-south-1",
382
394
  "ap-southeast-1",
383
395
  "ap-southeast-2",
396
+ "ap-southeast-3",
384
397
  "aws-global",
385
398
  "ca-central-1",
386
399
  "eu-central-1",
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetBucketAccelerateConfigurationOutput = exports.DeletePublicAccessBlockRequest = exports.DeleteObjectTaggingRequest = exports.DeleteObjectTaggingOutput = exports.DeleteObjectsRequest = exports.Delete = exports.ObjectIdentifier = exports.DeleteObjectsOutput = exports._Error = exports.DeletedObject = exports.DeleteObjectRequest = exports.DeleteObjectOutput = exports.DeleteBucketWebsiteRequest = exports.DeleteBucketTaggingRequest = exports.DeleteBucketReplicationRequest = exports.DeleteBucketPolicyRequest = exports.DeleteBucketOwnershipControlsRequest = exports.DeleteBucketMetricsConfigurationRequest = exports.DeleteBucketLifecycleRequest = exports.DeleteBucketInventoryConfigurationRequest = exports.DeleteBucketIntelligentTieringConfigurationRequest = exports.DeleteBucketEncryptionRequest = exports.DeleteBucketCorsRequest = exports.DeleteBucketAnalyticsConfigurationRequest = exports.DeleteBucketRequest = exports.CreateMultipartUploadRequest = exports.CreateMultipartUploadOutput = exports.CreateBucketRequest = exports.CreateBucketConfiguration = exports.CreateBucketOutput = exports.BucketAlreadyOwnedByYou = exports.BucketAlreadyExists = exports.ObjectNotInActiveTierError = exports.CopyObjectRequest = exports.CopyObjectOutput = exports.CopyObjectResult = exports.CompleteMultipartUploadRequest = exports.CompletedMultipartUpload = exports.CompletedPart = exports.CompleteMultipartUploadOutput = exports.AccessControlTranslation = exports.AccessControlPolicy = exports.Owner = exports.Grant = exports.Grantee = exports.AccelerateConfiguration = exports.NoSuchUpload = exports.AbortMultipartUploadRequest = exports.AbortMultipartUploadOutput = exports.AbortIncompleteMultipartUpload = void 0;
4
4
  exports.LoggingEnabled = exports.TargetGrant = exports.GetBucketLocationRequest = exports.GetBucketLocationOutput = exports.GetBucketLifecycleConfigurationRequest = exports.GetBucketLifecycleConfigurationOutput = exports.LifecycleRule = exports.Transition = exports.NoncurrentVersionTransition = exports.NoncurrentVersionExpiration = exports.LifecycleRuleFilter = exports.LifecycleRuleAndOperator = exports.LifecycleExpiration = exports.GetBucketInventoryConfigurationRequest = exports.GetBucketInventoryConfigurationOutput = exports.InventoryConfiguration = exports.InventorySchedule = exports.InventoryFilter = exports.InventoryDestination = exports.InventoryS3BucketDestination = exports.InventoryEncryption = exports.SSES3 = exports.SSEKMS = exports.GetBucketIntelligentTieringConfigurationRequest = exports.GetBucketIntelligentTieringConfigurationOutput = exports.IntelligentTieringConfiguration = exports.Tiering = exports.IntelligentTieringFilter = exports.IntelligentTieringAndOperator = exports.GetBucketEncryptionRequest = exports.GetBucketEncryptionOutput = exports.ServerSideEncryptionConfiguration = exports.ServerSideEncryptionRule = exports.ServerSideEncryptionByDefault = exports.GetBucketCorsRequest = exports.GetBucketCorsOutput = exports.CORSRule = exports.GetBucketAnalyticsConfigurationRequest = exports.GetBucketAnalyticsConfigurationOutput = exports.AnalyticsConfiguration = exports.StorageClassAnalysis = exports.StorageClassAnalysisDataExport = exports.AnalyticsExportDestination = exports.AnalyticsS3BucketDestination = exports.AnalyticsFilter = exports.AnalyticsAndOperator = exports.Tag = exports.GetBucketAclRequest = exports.GetBucketAclOutput = exports.GetBucketAccelerateConfigurationRequest = void 0;
5
- exports.Condition = exports.RedirectAllRequestsTo = exports.IndexDocument = exports.ErrorDocument = exports.GetBucketVersioningRequest = exports.GetBucketVersioningOutput = exports.GetBucketTaggingRequest = exports.GetBucketTaggingOutput = exports.GetBucketRequestPaymentRequest = exports.GetBucketRequestPaymentOutput = exports.GetBucketReplicationRequest = exports.GetBucketReplicationOutput = exports.ReplicationConfiguration = exports.ReplicationRule = exports.SourceSelectionCriteria = exports.SseKmsEncryptedObjects = exports.ReplicaModifications = exports.ReplicationRuleFilter = exports.ReplicationRuleAndOperator = exports.ExistingObjectReplication = exports.Destination = exports.ReplicationTime = exports.Metrics = exports.ReplicationTimeValue = exports.EncryptionConfiguration = exports.DeleteMarkerReplication = exports.GetBucketPolicyStatusRequest = exports.GetBucketPolicyStatusOutput = exports.PolicyStatus = exports.GetBucketPolicyRequest = exports.GetBucketPolicyOutput = exports.GetBucketOwnershipControlsRequest = exports.GetBucketOwnershipControlsOutput = exports.OwnershipControls = exports.OwnershipControlsRule = exports.NotificationConfiguration = exports.TopicConfiguration = exports.QueueConfiguration = exports.LambdaFunctionConfiguration = exports.NotificationConfigurationFilter = exports.S3KeyFilter = exports.FilterRule = exports.GetBucketNotificationConfigurationRequest = exports.GetBucketMetricsConfigurationRequest = exports.GetBucketMetricsConfigurationOutput = exports.MetricsConfiguration = exports.MetricsFilter = exports.MetricsAndOperator = exports.GetBucketLoggingRequest = exports.GetBucketLoggingOutput = void 0;
6
- exports.ListObjectsRequest = exports.ListObjectsOutput = exports._Object = exports.ListMultipartUploadsRequest = exports.ListMultipartUploadsOutput = exports.MultipartUpload = exports.Initiator = exports.CommonPrefix = exports.ListBucketsOutput = exports.Bucket = exports.ListBucketMetricsConfigurationsRequest = exports.ListBucketMetricsConfigurationsOutput = exports.ListBucketInventoryConfigurationsRequest = exports.ListBucketInventoryConfigurationsOutput = exports.ListBucketIntelligentTieringConfigurationsRequest = exports.ListBucketIntelligentTieringConfigurationsOutput = exports.ListBucketAnalyticsConfigurationsRequest = exports.ListBucketAnalyticsConfigurationsOutput = exports.HeadObjectRequest = exports.HeadObjectOutput = exports.NotFound = exports.HeadBucketRequest = exports.GetPublicAccessBlockRequest = exports.GetPublicAccessBlockOutput = exports.PublicAccessBlockConfiguration = exports.GetObjectTorrentRequest = exports.GetObjectTorrentOutput = exports.GetObjectTaggingRequest = exports.GetObjectTaggingOutput = exports.GetObjectRetentionRequest = exports.GetObjectRetentionOutput = exports.ObjectLockRetention = exports.GetObjectLockConfigurationRequest = exports.GetObjectLockConfigurationOutput = exports.ObjectLockConfiguration = exports.ObjectLockRule = exports.DefaultRetention = exports.GetObjectLegalHoldRequest = exports.GetObjectLegalHoldOutput = exports.ObjectLockLegalHold = exports.GetObjectAclRequest = exports.GetObjectAclOutput = exports.NoSuchKey = exports.InvalidObjectState = exports.GetObjectRequest = exports.GetObjectOutput = exports.GetBucketWebsiteRequest = exports.GetBucketWebsiteOutput = exports.RoutingRule = exports.Redirect = void 0;
7
- exports.RestoreObjectOutput = exports.ObjectAlreadyInActiveTierError = exports.PutPublicAccessBlockRequest = exports.PutObjectTaggingRequest = exports.PutObjectTaggingOutput = exports.PutObjectRetentionRequest = exports.PutObjectRetentionOutput = exports.PutObjectLockConfigurationRequest = exports.PutObjectLockConfigurationOutput = exports.PutObjectLegalHoldRequest = exports.PutObjectLegalHoldOutput = exports.PutObjectAclRequest = exports.PutObjectAclOutput = exports.PutObjectRequest = exports.PutObjectOutput = exports.PutBucketWebsiteRequest = exports.WebsiteConfiguration = exports.PutBucketVersioningRequest = exports.VersioningConfiguration = exports.PutBucketTaggingRequest = exports.Tagging = exports.PutBucketRequestPaymentRequest = exports.RequestPaymentConfiguration = exports.PutBucketReplicationRequest = exports.PutBucketPolicyRequest = exports.PutBucketOwnershipControlsRequest = exports.PutBucketNotificationConfigurationRequest = exports.PutBucketMetricsConfigurationRequest = exports.PutBucketLoggingRequest = exports.BucketLoggingStatus = exports.PutBucketLifecycleConfigurationRequest = exports.BucketLifecycleConfiguration = exports.PutBucketInventoryConfigurationRequest = exports.PutBucketIntelligentTieringConfigurationRequest = exports.PutBucketEncryptionRequest = exports.PutBucketCorsRequest = exports.CORSConfiguration = exports.PutBucketAnalyticsConfigurationRequest = exports.PutBucketAclRequest = exports.PutBucketAccelerateConfigurationRequest = exports.ListPartsRequest = exports.ListPartsOutput = exports.Part = exports.ListObjectVersionsRequest = exports.ListObjectVersionsOutput = exports.ObjectVersion = exports.DeleteMarkerEntry = exports.ListObjectsV2Request = exports.ListObjectsV2Output = exports.NoSuchBucket = void 0;
8
- exports.GlacierJobParameters = void 0;
5
+ exports.RedirectAllRequestsTo = exports.IndexDocument = exports.ErrorDocument = exports.GetBucketVersioningRequest = exports.GetBucketVersioningOutput = exports.GetBucketTaggingRequest = exports.GetBucketTaggingOutput = exports.GetBucketRequestPaymentRequest = exports.GetBucketRequestPaymentOutput = exports.GetBucketReplicationRequest = exports.GetBucketReplicationOutput = exports.ReplicationConfiguration = exports.ReplicationRule = exports.SourceSelectionCriteria = exports.SseKmsEncryptedObjects = exports.ReplicaModifications = exports.ReplicationRuleFilter = exports.ReplicationRuleAndOperator = exports.ExistingObjectReplication = exports.Destination = exports.ReplicationTime = exports.Metrics = exports.ReplicationTimeValue = exports.EncryptionConfiguration = exports.DeleteMarkerReplication = exports.GetBucketPolicyStatusRequest = exports.GetBucketPolicyStatusOutput = exports.PolicyStatus = exports.GetBucketPolicyRequest = exports.GetBucketPolicyOutput = exports.GetBucketOwnershipControlsRequest = exports.GetBucketOwnershipControlsOutput = exports.OwnershipControls = exports.OwnershipControlsRule = exports.NotificationConfiguration = exports.TopicConfiguration = exports.QueueConfiguration = exports.LambdaFunctionConfiguration = exports.NotificationConfigurationFilter = exports.S3KeyFilter = exports.FilterRule = exports.EventBridgeConfiguration = exports.GetBucketNotificationConfigurationRequest = exports.GetBucketMetricsConfigurationRequest = exports.GetBucketMetricsConfigurationOutput = exports.MetricsConfiguration = exports.MetricsFilter = exports.MetricsAndOperator = exports.GetBucketLoggingRequest = exports.GetBucketLoggingOutput = void 0;
6
+ exports.ListObjectsOutput = exports._Object = exports.ListMultipartUploadsRequest = exports.ListMultipartUploadsOutput = exports.MultipartUpload = exports.Initiator = exports.CommonPrefix = exports.ListBucketsOutput = exports.Bucket = exports.ListBucketMetricsConfigurationsRequest = exports.ListBucketMetricsConfigurationsOutput = exports.ListBucketInventoryConfigurationsRequest = exports.ListBucketInventoryConfigurationsOutput = exports.ListBucketIntelligentTieringConfigurationsRequest = exports.ListBucketIntelligentTieringConfigurationsOutput = exports.ListBucketAnalyticsConfigurationsRequest = exports.ListBucketAnalyticsConfigurationsOutput = exports.HeadObjectRequest = exports.HeadObjectOutput = exports.NotFound = exports.HeadBucketRequest = exports.GetPublicAccessBlockRequest = exports.GetPublicAccessBlockOutput = exports.PublicAccessBlockConfiguration = exports.GetObjectTorrentRequest = exports.GetObjectTorrentOutput = exports.GetObjectTaggingRequest = exports.GetObjectTaggingOutput = exports.GetObjectRetentionRequest = exports.GetObjectRetentionOutput = exports.ObjectLockRetention = exports.GetObjectLockConfigurationRequest = exports.GetObjectLockConfigurationOutput = exports.ObjectLockConfiguration = exports.ObjectLockRule = exports.DefaultRetention = exports.GetObjectLegalHoldRequest = exports.GetObjectLegalHoldOutput = exports.ObjectLockLegalHold = exports.GetObjectAclRequest = exports.GetObjectAclOutput = exports.NoSuchKey = exports.InvalidObjectState = exports.GetObjectRequest = exports.GetObjectOutput = exports.GetBucketWebsiteRequest = exports.GetBucketWebsiteOutput = exports.RoutingRule = exports.Redirect = exports.Condition = void 0;
7
+ exports.ObjectAlreadyInActiveTierError = exports.PutPublicAccessBlockRequest = exports.PutObjectTaggingRequest = exports.PutObjectTaggingOutput = exports.PutObjectRetentionRequest = exports.PutObjectRetentionOutput = exports.PutObjectLockConfigurationRequest = exports.PutObjectLockConfigurationOutput = exports.PutObjectLegalHoldRequest = exports.PutObjectLegalHoldOutput = exports.PutObjectAclRequest = exports.PutObjectAclOutput = exports.PutObjectRequest = exports.PutObjectOutput = exports.PutBucketWebsiteRequest = exports.WebsiteConfiguration = exports.PutBucketVersioningRequest = exports.VersioningConfiguration = exports.PutBucketTaggingRequest = exports.Tagging = exports.PutBucketRequestPaymentRequest = exports.RequestPaymentConfiguration = exports.PutBucketReplicationRequest = exports.PutBucketPolicyRequest = exports.PutBucketOwnershipControlsRequest = exports.PutBucketNotificationConfigurationRequest = exports.PutBucketMetricsConfigurationRequest = exports.PutBucketLoggingRequest = exports.BucketLoggingStatus = exports.PutBucketLifecycleConfigurationRequest = exports.BucketLifecycleConfiguration = exports.PutBucketInventoryConfigurationRequest = exports.PutBucketIntelligentTieringConfigurationRequest = exports.PutBucketEncryptionRequest = exports.PutBucketCorsRequest = exports.CORSConfiguration = exports.PutBucketAnalyticsConfigurationRequest = exports.PutBucketAclRequest = exports.PutBucketAccelerateConfigurationRequest = exports.ListPartsRequest = exports.ListPartsOutput = exports.Part = exports.ListObjectVersionsRequest = exports.ListObjectVersionsOutput = exports.ObjectVersion = exports.DeleteMarkerEntry = exports.ListObjectsV2Request = exports.ListObjectsV2Output = exports.NoSuchBucket = exports.ListObjectsRequest = void 0;
8
+ exports.RestoreObjectOutput = void 0;
9
9
  const smithy_client_1 = require("@aws-sdk/smithy-client");
10
10
  var AbortIncompleteMultipartUpload;
11
11
  (function (AbortIncompleteMultipartUpload) {
@@ -598,6 +598,10 @@ var LifecycleRuleFilter;
598
598
  return visitor.Prefix(value.Prefix);
599
599
  if (value.Tag !== undefined)
600
600
  return visitor.Tag(value.Tag);
601
+ if (value.ObjectSizeGreaterThan !== undefined)
602
+ return visitor.ObjectSizeGreaterThan(value.ObjectSizeGreaterThan);
603
+ if (value.ObjectSizeLessThan !== undefined)
604
+ return visitor.ObjectSizeLessThan(value.ObjectSizeLessThan);
601
605
  if (value.And !== undefined)
602
606
  return visitor.And(value.And);
603
607
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -607,6 +611,10 @@ var LifecycleRuleFilter;
607
611
  return { Prefix: obj.Prefix };
608
612
  if (obj.Tag !== undefined)
609
613
  return { Tag: Tag.filterSensitiveLog(obj.Tag) };
614
+ if (obj.ObjectSizeGreaterThan !== undefined)
615
+ return { ObjectSizeGreaterThan: obj.ObjectSizeGreaterThan };
616
+ if (obj.ObjectSizeLessThan !== undefined)
617
+ return { ObjectSizeLessThan: obj.ObjectSizeLessThan };
610
618
  if (obj.And !== undefined)
611
619
  return { And: LifecycleRuleAndOperator.filterSensitiveLog(obj.And) };
612
620
  if (obj.$unknown !== undefined)
@@ -747,6 +755,12 @@ var GetBucketNotificationConfigurationRequest;
747
755
  ...obj,
748
756
  });
749
757
  })(GetBucketNotificationConfigurationRequest = exports.GetBucketNotificationConfigurationRequest || (exports.GetBucketNotificationConfigurationRequest = {}));
758
+ var EventBridgeConfiguration;
759
+ (function (EventBridgeConfiguration) {
760
+ EventBridgeConfiguration.filterSensitiveLog = (obj) => ({
761
+ ...obj,
762
+ });
763
+ })(EventBridgeConfiguration = exports.EventBridgeConfiguration || (exports.EventBridgeConfiguration = {}));
750
764
  var FilterRule;
751
765
  (function (FilterRule) {
752
766
  FilterRule.filterSensitiveLog = (obj) => ({
@@ -1657,9 +1671,3 @@ var RestoreObjectOutput;
1657
1671
  ...obj,
1658
1672
  });
1659
1673
  })(RestoreObjectOutput = exports.RestoreObjectOutput || (exports.RestoreObjectOutput = {}));
1660
- var GlacierJobParameters;
1661
- (function (GlacierJobParameters) {
1662
- GlacierJobParameters.filterSensitiveLog = (obj) => ({
1663
- ...obj,
1664
- });
1665
- })(GlacierJobParameters = exports.GlacierJobParameters || (exports.GlacierJobParameters = {}));
@@ -1,7 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WriteGetObjectResponseRequest = exports.UploadPartCopyRequest = exports.UploadPartCopyOutput = exports.CopyPartResult = exports.UploadPartRequest = exports.UploadPartOutput = exports.SelectObjectContentRequest = exports.ScanRange = exports.RequestProgress = exports.SelectObjectContentOutput = exports.SelectObjectContentEventStream = exports.StatsEvent = exports.Stats = exports.RecordsEvent = exports.ProgressEvent = exports.Progress = exports.EndEvent = exports.ContinuationEvent = exports.RestoreObjectRequest = exports.RestoreRequest = exports.RestoreRequestType = exports.SelectParameters = exports.OutputSerialization = exports.JSONOutput = exports.CSVOutput = exports.QuoteFields = exports.InputSerialization = exports.ParquetInput = exports.JSONInput = exports.JSONType = exports.CSVInput = exports.FileHeaderInfo = exports.OutputLocation = exports.S3Location = exports.MetadataEntry = exports.Encryption = void 0;
3
+ exports.WriteGetObjectResponseRequest = exports.UploadPartCopyRequest = exports.UploadPartCopyOutput = exports.CopyPartResult = exports.UploadPartRequest = exports.UploadPartOutput = exports.SelectObjectContentRequest = exports.ScanRange = exports.RequestProgress = exports.SelectObjectContentOutput = exports.SelectObjectContentEventStream = exports.StatsEvent = exports.Stats = exports.RecordsEvent = exports.ProgressEvent = exports.Progress = exports.EndEvent = exports.ContinuationEvent = exports.RestoreObjectRequest = exports.RestoreRequest = exports.RestoreRequestType = exports.SelectParameters = exports.OutputSerialization = exports.JSONOutput = exports.CSVOutput = exports.QuoteFields = exports.InputSerialization = exports.ParquetInput = exports.JSONInput = exports.JSONType = exports.CSVInput = exports.FileHeaderInfo = exports.OutputLocation = exports.S3Location = exports.MetadataEntry = exports.Encryption = exports.GlacierJobParameters = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ var GlacierJobParameters;
6
+ (function (GlacierJobParameters) {
7
+ GlacierJobParameters.filterSensitiveLog = (obj) => ({
8
+ ...obj,
9
+ });
10
+ })(GlacierJobParameters = exports.GlacierJobParameters || (exports.GlacierJobParameters = {}));
5
11
  var Encryption;
6
12
  (function (Encryption) {
7
13
  Encryption.filterSensitiveLog = (obj) => ({
@@ -257,6 +257,7 @@ const serializeAws_restXmlCreateBucketCommand = async (input, context) => {
257
257
  ...(isSerializableHeaderValue(input.ObjectLockEnabledForBucket) && {
258
258
  "x-amz-bucket-object-lock-enabled": input.ObjectLockEnabledForBucket.toString(),
259
259
  }),
260
+ ...(isSerializableHeaderValue(input.ObjectOwnership) && { "x-amz-object-ownership": input.ObjectOwnership }),
260
261
  };
261
262
  let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/{Bucket}";
262
263
  if (input.Bucket !== undefined) {
@@ -3024,6 +3025,9 @@ const serializeAws_restXmlPutBucketNotificationConfigurationCommand = async (inp
3024
3025
  ...(isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3025
3026
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3026
3027
  }),
3028
+ ...(isSerializableHeaderValue(input.SkipDestinationValidation) && {
3029
+ "x-amz-skip-destination-validation": input.SkipDestinationValidation.toString(),
3030
+ }),
3027
3031
  };
3028
3032
  let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/{Bucket}";
3029
3033
  if (input.Bucket !== undefined) {
@@ -5715,11 +5719,15 @@ const deserializeAws_restXmlGetBucketNotificationConfigurationCommand = async (o
5715
5719
  }
5716
5720
  const contents = {
5717
5721
  $metadata: deserializeMetadata(output),
5722
+ EventBridgeConfiguration: undefined,
5718
5723
  LambdaFunctionConfigurations: undefined,
5719
5724
  QueueConfigurations: undefined,
5720
5725
  TopicConfigurations: undefined,
5721
5726
  };
5722
5727
  const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5728
+ if (data["EventBridgeConfiguration"] !== undefined) {
5729
+ contents.EventBridgeConfiguration = deserializeAws_restXmlEventBridgeConfiguration(data["EventBridgeConfiguration"], context);
5730
+ }
5723
5731
  if (data.CloudFunctionConfiguration === "") {
5724
5732
  contents.LambdaFunctionConfigurations = [];
5725
5733
  }
@@ -9403,6 +9411,10 @@ const serializeAws_restXmlErrorDocument = (input, context) => {
9403
9411
  }
9404
9412
  return bodyNode;
9405
9413
  };
9414
+ const serializeAws_restXmlEventBridgeConfiguration = (input, context) => {
9415
+ const bodyNode = new xml_builder_1.XmlNode("EventBridgeConfiguration");
9416
+ return bodyNode;
9417
+ };
9406
9418
  const serializeAws_restXmlEventList = (input, context) => {
9407
9419
  return input
9408
9420
  .filter((e) => e != null)
@@ -9839,6 +9851,18 @@ const serializeAws_restXmlLifecycleRuleAndOperator = (input, context) => {
9839
9851
  bodyNode.addChildNode(node);
9840
9852
  });
9841
9853
  }
9854
+ if (input.ObjectSizeGreaterThan !== undefined && input.ObjectSizeGreaterThan !== null) {
9855
+ const node = new xml_builder_1.XmlNode("ObjectSizeGreaterThanBytes")
9856
+ .addChildNode(new xml_builder_1.XmlText(String(input.ObjectSizeGreaterThan)))
9857
+ .withName("ObjectSizeGreaterThan");
9858
+ bodyNode.addChildNode(node);
9859
+ }
9860
+ if (input.ObjectSizeLessThan !== undefined && input.ObjectSizeLessThan !== null) {
9861
+ const node = new xml_builder_1.XmlNode("ObjectSizeLessThanBytes")
9862
+ .addChildNode(new xml_builder_1.XmlText(String(input.ObjectSizeLessThan)))
9863
+ .withName("ObjectSizeLessThan");
9864
+ bodyNode.addChildNode(node);
9865
+ }
9842
9866
  return bodyNode;
9843
9867
  };
9844
9868
  const serializeAws_restXmlLifecycleRuleFilter = (input, context) => {
@@ -9852,6 +9876,18 @@ const serializeAws_restXmlLifecycleRuleFilter = (input, context) => {
9852
9876
  const node = serializeAws_restXmlTag(value, context).withName("Tag");
9853
9877
  bodyNode.addChildNode(node);
9854
9878
  },
9879
+ ObjectSizeGreaterThan: (value) => {
9880
+ const node = new xml_builder_1.XmlNode("ObjectSizeGreaterThanBytes")
9881
+ .addChildNode(new xml_builder_1.XmlText(String(value)))
9882
+ .withName("ObjectSizeGreaterThan");
9883
+ bodyNode.addChildNode(node);
9884
+ },
9885
+ ObjectSizeLessThan: (value) => {
9886
+ const node = new xml_builder_1.XmlNode("ObjectSizeLessThanBytes")
9887
+ .addChildNode(new xml_builder_1.XmlText(String(value)))
9888
+ .withName("ObjectSizeLessThan");
9889
+ bodyNode.addChildNode(node);
9890
+ },
9855
9891
  And: (value) => {
9856
9892
  const node = serializeAws_restXmlLifecycleRuleAndOperator(value, context).withName("And");
9857
9893
  bodyNode.addChildNode(node);
@@ -9989,6 +10025,12 @@ const serializeAws_restXmlNoncurrentVersionExpiration = (input, context) => {
9989
10025
  .withName("NoncurrentDays");
9990
10026
  bodyNode.addChildNode(node);
9991
10027
  }
10028
+ if (input.NewerNoncurrentVersions !== undefined && input.NewerNoncurrentVersions !== null) {
10029
+ const node = new xml_builder_1.XmlNode("VersionCount")
10030
+ .addChildNode(new xml_builder_1.XmlText(String(input.NewerNoncurrentVersions)))
10031
+ .withName("NewerNoncurrentVersions");
10032
+ bodyNode.addChildNode(node);
10033
+ }
9992
10034
  return bodyNode;
9993
10035
  };
9994
10036
  const serializeAws_restXmlNoncurrentVersionTransition = (input, context) => {
@@ -10005,6 +10047,12 @@ const serializeAws_restXmlNoncurrentVersionTransition = (input, context) => {
10005
10047
  .withName("StorageClass");
10006
10048
  bodyNode.addChildNode(node);
10007
10049
  }
10050
+ if (input.NewerNoncurrentVersions !== undefined && input.NewerNoncurrentVersions !== null) {
10051
+ const node = new xml_builder_1.XmlNode("VersionCount")
10052
+ .addChildNode(new xml_builder_1.XmlText(String(input.NewerNoncurrentVersions)))
10053
+ .withName("NewerNoncurrentVersions");
10054
+ bodyNode.addChildNode(node);
10055
+ }
10008
10056
  return bodyNode;
10009
10057
  };
10010
10058
  const serializeAws_restXmlNoncurrentVersionTransitionList = (input, context) => {
@@ -10041,6 +10089,10 @@ const serializeAws_restXmlNotificationConfiguration = (input, context) => {
10041
10089
  bodyNode.addChildNode(node);
10042
10090
  });
10043
10091
  }
10092
+ if (input.EventBridgeConfiguration !== undefined && input.EventBridgeConfiguration !== null) {
10093
+ const node = serializeAws_restXmlEventBridgeConfiguration(input.EventBridgeConfiguration, context).withName("EventBridgeConfiguration");
10094
+ bodyNode.addChildNode(node);
10095
+ }
10044
10096
  return bodyNode;
10045
10097
  };
10046
10098
  const serializeAws_restXmlNotificationConfigurationFilter = (input, context) => {
@@ -11350,6 +11402,10 @@ const deserializeAws_restXmlErrors = (output, context) => {
11350
11402
  return deserializeAws_restXml_Error(entry, context);
11351
11403
  });
11352
11404
  };
11405
+ const deserializeAws_restXmlEventBridgeConfiguration = (output, context) => {
11406
+ const contents = {};
11407
+ return contents;
11408
+ };
11353
11409
  const deserializeAws_restXmlEventList = (output, context) => {
11354
11410
  return (output || [])
11355
11411
  .filter((e) => e != null)
@@ -11762,6 +11818,8 @@ const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
11762
11818
  const contents = {
11763
11819
  Prefix: undefined,
11764
11820
  Tags: undefined,
11821
+ ObjectSizeGreaterThan: undefined,
11822
+ ObjectSizeLessThan: undefined,
11765
11823
  };
11766
11824
  if (output["Prefix"] !== undefined) {
11767
11825
  contents.Prefix = smithy_client_1.expectString(output["Prefix"]);
@@ -11772,6 +11830,12 @@ const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
11772
11830
  if (output["Tag"] !== undefined) {
11773
11831
  contents.Tags = deserializeAws_restXmlTagSet(smithy_client_1.getArrayIfSingleItem(output["Tag"]), context);
11774
11832
  }
11833
+ if (output["ObjectSizeGreaterThan"] !== undefined) {
11834
+ contents.ObjectSizeGreaterThan = smithy_client_1.strictParseLong(output["ObjectSizeGreaterThan"]);
11835
+ }
11836
+ if (output["ObjectSizeLessThan"] !== undefined) {
11837
+ contents.ObjectSizeLessThan = smithy_client_1.strictParseLong(output["ObjectSizeLessThan"]);
11838
+ }
11775
11839
  return contents;
11776
11840
  };
11777
11841
  const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
@@ -11785,6 +11849,16 @@ const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
11785
11849
  Tag: deserializeAws_restXmlTag(output["Tag"], context),
11786
11850
  };
11787
11851
  }
11852
+ if (output["ObjectSizeGreaterThan"] !== undefined) {
11853
+ return {
11854
+ ObjectSizeGreaterThan: smithy_client_1.strictParseLong(output["ObjectSizeGreaterThan"]),
11855
+ };
11856
+ }
11857
+ if (output["ObjectSizeLessThan"] !== undefined) {
11858
+ return {
11859
+ ObjectSizeLessThan: smithy_client_1.strictParseLong(output["ObjectSizeLessThan"]),
11860
+ };
11861
+ }
11788
11862
  if (output["And"] !== undefined) {
11789
11863
  return {
11790
11864
  And: deserializeAws_restXmlLifecycleRuleAndOperator(output["And"], context),
@@ -11943,16 +12017,21 @@ const deserializeAws_restXmlMultipartUploadList = (output, context) => {
11943
12017
  const deserializeAws_restXmlNoncurrentVersionExpiration = (output, context) => {
11944
12018
  const contents = {
11945
12019
  NoncurrentDays: undefined,
12020
+ NewerNoncurrentVersions: undefined,
11946
12021
  };
11947
12022
  if (output["NoncurrentDays"] !== undefined) {
11948
12023
  contents.NoncurrentDays = smithy_client_1.strictParseInt32(output["NoncurrentDays"]);
11949
12024
  }
12025
+ if (output["NewerNoncurrentVersions"] !== undefined) {
12026
+ contents.NewerNoncurrentVersions = smithy_client_1.strictParseInt32(output["NewerNoncurrentVersions"]);
12027
+ }
11950
12028
  return contents;
11951
12029
  };
11952
12030
  const deserializeAws_restXmlNoncurrentVersionTransition = (output, context) => {
11953
12031
  const contents = {
11954
12032
  NoncurrentDays: undefined,
11955
12033
  StorageClass: undefined,
12034
+ NewerNoncurrentVersions: undefined,
11956
12035
  };
11957
12036
  if (output["NoncurrentDays"] !== undefined) {
11958
12037
  contents.NoncurrentDays = smithy_client_1.strictParseInt32(output["NoncurrentDays"]);
@@ -11960,6 +12039,9 @@ const deserializeAws_restXmlNoncurrentVersionTransition = (output, context) => {
11960
12039
  if (output["StorageClass"] !== undefined) {
11961
12040
  contents.StorageClass = smithy_client_1.expectString(output["StorageClass"]);
11962
12041
  }
12042
+ if (output["NewerNoncurrentVersions"] !== undefined) {
12043
+ contents.NewerNoncurrentVersions = smithy_client_1.strictParseInt32(output["NewerNoncurrentVersions"]);
12044
+ }
11963
12045
  return contents;
11964
12046
  };
11965
12047
  const deserializeAws_restXmlNoncurrentVersionTransitionList = (output, context) => {
@@ -18,10 +18,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
18
18
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
19
19
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
20
20
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
21
- const smithy_client_1 = require("@aws-sdk/smithy-client");
22
21
  const getRuntimeConfig = (config) => {
23
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
24
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
25
23
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
26
24
  return {
27
25
  ...clientSharedValues,
@@ -97,6 +97,18 @@ var regionHash = {
97
97
  },
98
98
  ],
99
99
  },
100
+ "ap-southeast-3": {
101
+ variants: [
102
+ {
103
+ hostname: "s3.ap-southeast-3.amazonaws.com",
104
+ tags: [],
105
+ },
106
+ {
107
+ hostname: "s3.dualstack.ap-southeast-3.amazonaws.com",
108
+ tags: ["dualstack"],
109
+ },
110
+ ],
111
+ },
100
112
  "aws-global": {
101
113
  variants: [
102
114
  {
@@ -379,6 +391,7 @@ var partitionHash = {
379
391
  "ap-south-1",
380
392
  "ap-southeast-1",
381
393
  "ap-southeast-2",
394
+ "ap-southeast-3",
382
395
  "aws-global",
383
396
  "ca-central-1",
384
397
  "eu-central-1",
@@ -392,6 +392,10 @@ export var LifecycleRuleFilter;
392
392
  return visitor.Prefix(value.Prefix);
393
393
  if (value.Tag !== undefined)
394
394
  return visitor.Tag(value.Tag);
395
+ if (value.ObjectSizeGreaterThan !== undefined)
396
+ return visitor.ObjectSizeGreaterThan(value.ObjectSizeGreaterThan);
397
+ if (value.ObjectSizeLessThan !== undefined)
398
+ return visitor.ObjectSizeLessThan(value.ObjectSizeLessThan);
395
399
  if (value.And !== undefined)
396
400
  return visitor.And(value.And);
397
401
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -402,6 +406,10 @@ export var LifecycleRuleFilter;
402
406
  return { Prefix: obj.Prefix };
403
407
  if (obj.Tag !== undefined)
404
408
  return { Tag: Tag.filterSensitiveLog(obj.Tag) };
409
+ if (obj.ObjectSizeGreaterThan !== undefined)
410
+ return { ObjectSizeGreaterThan: obj.ObjectSizeGreaterThan };
411
+ if (obj.ObjectSizeLessThan !== undefined)
412
+ return { ObjectSizeLessThan: obj.ObjectSizeLessThan };
405
413
  if (obj.And !== undefined)
406
414
  return { And: LifecycleRuleAndOperator.filterSensitiveLog(obj.And) };
407
415
  if (obj.$unknown !== undefined)
@@ -505,6 +513,10 @@ export var GetBucketNotificationConfigurationRequest;
505
513
  (function (GetBucketNotificationConfigurationRequest) {
506
514
  GetBucketNotificationConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
507
515
  })(GetBucketNotificationConfigurationRequest || (GetBucketNotificationConfigurationRequest = {}));
516
+ export var EventBridgeConfiguration;
517
+ (function (EventBridgeConfiguration) {
518
+ EventBridgeConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
519
+ })(EventBridgeConfiguration || (EventBridgeConfiguration = {}));
508
520
  export var FilterRule;
509
521
  (function (FilterRule) {
510
522
  FilterRule.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1118,7 +1130,3 @@ export var RestoreObjectOutput;
1118
1130
  (function (RestoreObjectOutput) {
1119
1131
  RestoreObjectOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1120
1132
  })(RestoreObjectOutput || (RestoreObjectOutput = {}));
1121
- export var GlacierJobParameters;
1122
- (function (GlacierJobParameters) {
1123
- GlacierJobParameters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1124
- })(GlacierJobParameters || (GlacierJobParameters = {}));
@@ -1,5 +1,9 @@
1
1
  import { __assign } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ export var GlacierJobParameters;
4
+ (function (GlacierJobParameters) {
5
+ GlacierJobParameters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
+ })(GlacierJobParameters || (GlacierJobParameters = {}));
3
7
  export var Encryption;
4
8
  (function (Encryption) {
5
9
  Encryption.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.KMSKeyId && { KMSKeyId: SENSITIVE_STRING }))); };