@aws-sdk/client-s3 3.40.1 → 3.44.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 (107) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist-cjs/endpoints.js +24 -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-es/endpoints.js +24 -0
  7. package/dist-es/models/models_0.js +12 -4
  8. package/dist-es/models/models_1.js +4 -0
  9. package/dist-es/protocols/Aws_restXml.js +83 -3
  10. package/dist-types/S3.d.ts +124 -38
  11. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +1 -1
  12. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +5 -1
  13. package/dist-types/commands/CopyObjectCommand.d.ts +12 -2
  14. package/dist-types/commands/CreateBucketCommand.d.ts +40 -12
  15. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteBucketCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +3 -3
  21. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteObjectCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteObjectsCommand.d.ts +1 -1
  32. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -1
  33. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -1
  34. package/dist-types/commands/GetBucketAclCommand.d.ts +8 -1
  35. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -1
  36. package/dist-types/commands/GetBucketCorsCommand.d.ts +1 -1
  37. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
  38. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +3 -3
  39. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
  40. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -1
  41. package/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
  42. package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
  43. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -1
  44. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -1
  45. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +4 -4
  46. package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -1
  47. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
  48. package/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
  49. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +1 -1
  50. package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
  51. package/dist-types/commands/GetBucketVersioningCommand.d.ts +1 -1
  52. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +1 -1
  53. package/dist-types/commands/GetObjectAclCommand.d.ts +8 -2
  54. package/dist-types/commands/GetObjectCommand.d.ts +8 -5
  55. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -1
  56. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -1
  57. package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -1
  58. package/dist-types/commands/GetObjectTaggingCommand.d.ts +1 -1
  59. package/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
  60. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
  61. package/dist-types/commands/HeadBucketCommand.d.ts +1 -1
  62. package/dist-types/commands/HeadObjectCommand.d.ts +1 -1
  63. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -1
  64. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +3 -3
  65. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
  66. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -1
  67. package/dist-types/commands/ListBucketsCommand.d.ts +1 -1
  68. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +1 -1
  69. package/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
  70. package/dist-types/commands/ListObjectsCommand.d.ts +1 -1
  71. package/dist-types/commands/ListObjectsV2Command.d.ts +1 -1
  72. package/dist-types/commands/ListPartsCommand.d.ts +1 -1
  73. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  74. package/dist-types/commands/PutBucketAclCommand.d.ts +8 -2
  75. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  76. package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
  77. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -1
  78. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +3 -3
  79. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  80. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  81. package/dist-types/commands/PutBucketLoggingCommand.d.ts +9 -4
  82. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  83. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
  84. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +3 -3
  85. package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
  86. package/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
  87. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  88. package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
  89. package/dist-types/commands/PutBucketVersioningCommand.d.ts +1 -1
  90. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
  91. package/dist-types/commands/PutObjectAclCommand.d.ts +8 -3
  92. package/dist-types/commands/PutObjectCommand.d.ts +15 -3
  93. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  94. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
  95. package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
  96. package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
  97. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  98. package/dist-types/commands/RestoreObjectCommand.d.ts +1 -1
  99. package/dist-types/commands/SelectObjectContentCommand.d.ts +1 -1
  100. package/dist-types/commands/UploadPartCommand.d.ts +1 -1
  101. package/dist-types/commands/UploadPartCopyCommand.d.ts +1 -1
  102. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
  103. package/dist-types/models/models_0.d.ts +110 -25
  104. package/dist-types/models/models_1.d.ts +16 -1
  105. package/dist-types/ts3.4/models/models_0.d.ts +55 -15
  106. package/dist-types/ts3.4/models/models_1.d.ts +10 -1
  107. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
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.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
18
+
19
+
20
+ ### Features
21
+
22
+ * **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))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **clients:** merge default variants by comparing tags ([#3044](https://github.com/aws/aws-sdk-js-v3/issues/3044)) ([d65a310](https://github.com/aws/aws-sdk-js-v3/commit/d65a310ed5a471e72633a18ae6f3c98390e20783))
34
+
35
+
36
+
37
+
38
+
39
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
40
+
41
+
42
+ ### Features
43
+
44
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
45
+
46
+
47
+
48
+
49
+
6
50
  ## [3.40.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.0...v3.40.1) (2021-11-08)
7
51
 
8
52
  **Note:** Version bump only for package @aws-sdk/client-s3
@@ -408,6 +408,10 @@ const partitionHash = {
408
408
  hostname: "s3.{region}.amazonaws.com",
409
409
  tags: [],
410
410
  },
411
+ {
412
+ hostname: "s3-fips.{region}.amazonaws.com",
413
+ tags: ["fips"],
414
+ },
411
415
  {
412
416
  hostname: "s3-fips.dualstack.{region}.amazonaws.com",
413
417
  tags: ["dualstack", "fips"],
@@ -426,6 +430,14 @@ const partitionHash = {
426
430
  hostname: "s3.{region}.amazonaws.com.cn",
427
431
  tags: [],
428
432
  },
433
+ {
434
+ hostname: "s3-fips.{region}.amazonaws.com.cn",
435
+ tags: ["fips"],
436
+ },
437
+ {
438
+ hostname: "s3-fips.{region}.api.amazonwebservices.com.cn",
439
+ tags: ["dualstack", "fips"],
440
+ },
429
441
  {
430
442
  hostname: "s3.dualstack.{region}.amazonaws.com.cn",
431
443
  tags: ["dualstack"],
@@ -440,6 +452,10 @@ const partitionHash = {
440
452
  hostname: "s3.{region}.c2s.ic.gov",
441
453
  tags: [],
442
454
  },
455
+ {
456
+ hostname: "s3-fips.{region}.c2s.ic.gov",
457
+ tags: ["fips"],
458
+ },
443
459
  ],
444
460
  },
445
461
  "aws-iso-b": {
@@ -450,6 +466,10 @@ const partitionHash = {
450
466
  hostname: "s3.{region}.sc2s.sgov.gov",
451
467
  tags: [],
452
468
  },
469
+ {
470
+ hostname: "s3-fips.{region}.sc2s.sgov.gov",
471
+ tags: ["fips"],
472
+ },
453
473
  ],
454
474
  },
455
475
  "aws-us-gov": {
@@ -460,6 +480,10 @@ const partitionHash = {
460
480
  hostname: "s3.{region}.amazonaws.com",
461
481
  tags: [],
462
482
  },
483
+ {
484
+ hostname: "s3-fips.{region}.amazonaws.com",
485
+ tags: ["fips"],
486
+ },
463
487
  {
464
488
  hostname: "s3-fips.dualstack.{region}.amazonaws.com",
465
489
  tags: ["dualstack", "fips"],
@@ -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) => {
@@ -406,6 +406,10 @@ var partitionHash = {
406
406
  hostname: "s3.{region}.amazonaws.com",
407
407
  tags: [],
408
408
  },
409
+ {
410
+ hostname: "s3-fips.{region}.amazonaws.com",
411
+ tags: ["fips"],
412
+ },
409
413
  {
410
414
  hostname: "s3-fips.dualstack.{region}.amazonaws.com",
411
415
  tags: ["dualstack", "fips"],
@@ -424,6 +428,14 @@ var partitionHash = {
424
428
  hostname: "s3.{region}.amazonaws.com.cn",
425
429
  tags: [],
426
430
  },
431
+ {
432
+ hostname: "s3-fips.{region}.amazonaws.com.cn",
433
+ tags: ["fips"],
434
+ },
435
+ {
436
+ hostname: "s3-fips.{region}.api.amazonwebservices.com.cn",
437
+ tags: ["dualstack", "fips"],
438
+ },
427
439
  {
428
440
  hostname: "s3.dualstack.{region}.amazonaws.com.cn",
429
441
  tags: ["dualstack"],
@@ -438,6 +450,10 @@ var partitionHash = {
438
450
  hostname: "s3.{region}.c2s.ic.gov",
439
451
  tags: [],
440
452
  },
453
+ {
454
+ hostname: "s3-fips.{region}.c2s.ic.gov",
455
+ tags: ["fips"],
456
+ },
441
457
  ],
442
458
  },
443
459
  "aws-iso-b": {
@@ -448,6 +464,10 @@ var partitionHash = {
448
464
  hostname: "s3.{region}.sc2s.sgov.gov",
449
465
  tags: [],
450
466
  },
467
+ {
468
+ hostname: "s3-fips.{region}.sc2s.sgov.gov",
469
+ tags: ["fips"],
470
+ },
451
471
  ],
452
472
  },
453
473
  "aws-us-gov": {
@@ -458,6 +478,10 @@ var partitionHash = {
458
478
  hostname: "s3.{region}.amazonaws.com",
459
479
  tags: [],
460
480
  },
481
+ {
482
+ hostname: "s3-fips.{region}.amazonaws.com",
483
+ tags: ["fips"],
484
+ },
461
485
  {
462
486
  hostname: "s3-fips.dualstack.{region}.amazonaws.com",
463
487
  tags: ["dualstack", "fips"],
@@ -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 }))); };