@mavogel/awscdk-rootmail 0.1.3 → 0.1.5

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 (179) hide show
  1. package/.jsii +2 -2
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/checksums/package.json +2 -2
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +1 -1
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +3 -3
  7. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
  8. package/node_modules/@aws-sdk/client-route-53/package.json +3 -3
  9. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +38 -15
  10. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +7 -0
  11. package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +28 -14
  12. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +3 -0
  13. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +3 -0
  14. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
  15. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
  16. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +3 -0
  17. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -0
  18. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +5 -0
  19. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +3 -0
  20. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
  21. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  22. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
  23. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +3 -0
  24. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +4 -0
  25. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +5 -0
  26. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +15 -0
  28. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +186 -49
  29. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +43 -1
  30. package/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts +1 -0
  31. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  32. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +8 -0
  33. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +23 -7
  34. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +14 -1
  35. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  36. package/node_modules/@aws-sdk/client-s3/package.json +6 -6
  37. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
  38. package/node_modules/@aws-sdk/client-ses/package.json +3 -3
  39. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
  40. package/node_modules/@aws-sdk/client-ssm/package.json +3 -3
  41. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +5 -0
  42. package/node_modules/@aws-sdk/core/dist-es/submodules/util/hasOwn.js +3 -0
  43. package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +1 -0
  44. package/node_modules/@aws-sdk/core/dist-types/submodules/util/hasOwn.d.ts +4 -0
  45. package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -0
  46. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/hasOwn.d.ts +1 -0
  47. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -0
  48. package/node_modules/@aws-sdk/core/package.json +1 -1
  49. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  50. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  51. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  52. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  53. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  54. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  55. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  56. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  57. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
  58. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  59. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  60. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  61. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  62. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  63. package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  64. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  65. package/node_modules/mailparser/.release-please-manifest.json +1 -1
  66. package/node_modules/mailparser/CHANGELOG.md +28 -0
  67. package/node_modules/mailparser/package.json +2 -2
  68. package/node_modules/nodemailer/CHANGELOG.md +74 -0
  69. package/node_modules/nodemailer/dist/cjs/addressparser/index.d.ts +1 -3
  70. package/node_modules/nodemailer/dist/cjs/addressparser/index.js +176 -13
  71. package/node_modules/nodemailer/dist/cjs/base64/index.d.ts +2 -6
  72. package/node_modules/nodemailer/dist/cjs/base64/index.js +2 -0
  73. package/node_modules/nodemailer/dist/cjs/dkim/index.d.ts +4 -4
  74. package/node_modules/nodemailer/dist/cjs/dkim/message-parser.d.ts +1 -3
  75. package/node_modules/nodemailer/dist/cjs/dkim/message-parser.js +2 -0
  76. package/node_modules/nodemailer/dist/cjs/dkim/relaxed-body.d.ts +3 -22
  77. package/node_modules/nodemailer/dist/cjs/dkim/relaxed-body.js +5 -0
  78. package/node_modules/nodemailer/dist/cjs/dkim/sign.d.ts +5 -5
  79. package/node_modules/nodemailer/dist/cjs/errors.d.ts +8 -8
  80. package/node_modules/nodemailer/dist/cjs/fetch/cookies.d.ts +12 -10
  81. package/node_modules/nodemailer/dist/cjs/fetch/cookies.js +28 -14
  82. package/node_modules/nodemailer/dist/cjs/fetch/index.d.ts +15 -15
  83. package/node_modules/nodemailer/dist/cjs/json-transport/index.d.ts +2 -2
  84. package/node_modules/nodemailer/dist/cjs/mail-composer/index.d.ts +49 -104
  85. package/node_modules/nodemailer/dist/cjs/mail-composer/index.js +11 -2
  86. package/node_modules/nodemailer/dist/cjs/mailer/index.d.ts +21 -28
  87. package/node_modules/nodemailer/dist/cjs/mailer/index.js +19 -5
  88. package/node_modules/nodemailer/dist/cjs/mailer/mail-message.d.ts +8 -12
  89. package/node_modules/nodemailer/dist/cjs/mailer/mail-message.js +2 -0
  90. package/node_modules/nodemailer/dist/cjs/mime-funcs/index.d.ts +1 -1
  91. package/node_modules/nodemailer/dist/cjs/mime-funcs/index.js +4 -1
  92. package/node_modules/nodemailer/dist/cjs/mime-node/index.d.ts +37 -191
  93. package/node_modules/nodemailer/dist/cjs/mime-node/index.js +82 -12
  94. package/node_modules/nodemailer/dist/cjs/mime-node/last-newline.d.ts +1 -3
  95. package/node_modules/nodemailer/dist/cjs/mime-node/last-newline.js +2 -0
  96. package/node_modules/nodemailer/dist/cjs/mime-node/le-unix.d.ts +1 -5
  97. package/node_modules/nodemailer/dist/cjs/mime-node/le-unix.js +1 -0
  98. package/node_modules/nodemailer/dist/cjs/mime-node/le-windows.d.ts +1 -5
  99. package/node_modules/nodemailer/dist/cjs/mime-node/le-windows.js +1 -0
  100. package/node_modules/nodemailer/dist/cjs/nodemailer.d.ts +2 -2
  101. package/node_modules/nodemailer/dist/cjs/package-info.d.ts +1 -1
  102. package/node_modules/nodemailer/dist/cjs/package-info.js +1 -1
  103. package/node_modules/nodemailer/dist/cjs/qp/index.d.ts +2 -5
  104. package/node_modules/nodemailer/dist/cjs/qp/index.js +2 -0
  105. package/node_modules/nodemailer/dist/cjs/sendmail-transport/index.d.ts +4 -6
  106. package/node_modules/nodemailer/dist/cjs/ses-transport/index.d.ts +2 -2
  107. package/node_modules/nodemailer/dist/cjs/ses-transport/index.js +5 -1
  108. package/node_modules/nodemailer/dist/cjs/shared/index.d.ts +31 -37
  109. package/node_modules/nodemailer/dist/cjs/shared/index.js +19 -7
  110. package/node_modules/nodemailer/dist/cjs/smtp-connection/data-stream.d.ts +1 -9
  111. package/node_modules/nodemailer/dist/cjs/smtp-connection/data-stream.js +2 -0
  112. package/node_modules/nodemailer/dist/cjs/smtp-connection/http-proxy-client.d.ts +1 -1
  113. package/node_modules/nodemailer/dist/cjs/smtp-connection/index.d.ts +62 -403
  114. package/node_modules/nodemailer/dist/cjs/smtp-connection/index.js +37 -1
  115. package/node_modules/nodemailer/dist/cjs/smtp-pool/index.d.ts +8 -46
  116. package/node_modules/nodemailer/dist/cjs/smtp-pool/index.js +13 -2
  117. package/node_modules/nodemailer/dist/cjs/smtp-pool/pool-resource.d.ts +2 -4
  118. package/node_modules/nodemailer/dist/cjs/smtp-transport/index.d.ts +16 -16
  119. package/node_modules/nodemailer/dist/cjs/stream-transport/index.d.ts +3 -3
  120. package/node_modules/nodemailer/dist/cjs/well-known/index.d.ts +9 -9
  121. package/node_modules/nodemailer/dist/cjs/well-known/services.js +2 -0
  122. package/node_modules/nodemailer/dist/cjs/xoauth2/index.d.ts +18 -18
  123. package/node_modules/nodemailer/dist/esm/addressparser/index.d.ts +1 -3
  124. package/node_modules/nodemailer/dist/esm/addressparser/index.js +176 -13
  125. package/node_modules/nodemailer/dist/esm/base64/index.d.ts +2 -6
  126. package/node_modules/nodemailer/dist/esm/base64/index.js +2 -0
  127. package/node_modules/nodemailer/dist/esm/dkim/index.d.ts +4 -4
  128. package/node_modules/nodemailer/dist/esm/dkim/message-parser.d.ts +1 -3
  129. package/node_modules/nodemailer/dist/esm/dkim/message-parser.js +2 -0
  130. package/node_modules/nodemailer/dist/esm/dkim/relaxed-body.d.ts +3 -22
  131. package/node_modules/nodemailer/dist/esm/dkim/relaxed-body.js +5 -0
  132. package/node_modules/nodemailer/dist/esm/dkim/sign.d.ts +5 -5
  133. package/node_modules/nodemailer/dist/esm/errors.d.ts +8 -8
  134. package/node_modules/nodemailer/dist/esm/fetch/cookies.d.ts +12 -10
  135. package/node_modules/nodemailer/dist/esm/fetch/cookies.js +25 -14
  136. package/node_modules/nodemailer/dist/esm/fetch/index.d.ts +15 -15
  137. package/node_modules/nodemailer/dist/esm/json-transport/index.d.ts +2 -2
  138. package/node_modules/nodemailer/dist/esm/mail-composer/index.d.ts +49 -104
  139. package/node_modules/nodemailer/dist/esm/mail-composer/index.js +11 -2
  140. package/node_modules/nodemailer/dist/esm/mailer/index.d.ts +21 -28
  141. package/node_modules/nodemailer/dist/esm/mailer/index.js +19 -5
  142. package/node_modules/nodemailer/dist/esm/mailer/mail-message.d.ts +8 -12
  143. package/node_modules/nodemailer/dist/esm/mailer/mail-message.js +2 -0
  144. package/node_modules/nodemailer/dist/esm/mime-funcs/index.d.ts +1 -1
  145. package/node_modules/nodemailer/dist/esm/mime-funcs/index.js +4 -1
  146. package/node_modules/nodemailer/dist/esm/mime-node/index.d.ts +37 -191
  147. package/node_modules/nodemailer/dist/esm/mime-node/index.js +82 -12
  148. package/node_modules/nodemailer/dist/esm/mime-node/last-newline.d.ts +1 -3
  149. package/node_modules/nodemailer/dist/esm/mime-node/last-newline.js +2 -0
  150. package/node_modules/nodemailer/dist/esm/mime-node/le-unix.d.ts +1 -5
  151. package/node_modules/nodemailer/dist/esm/mime-node/le-unix.js +1 -0
  152. package/node_modules/nodemailer/dist/esm/mime-node/le-windows.d.ts +1 -5
  153. package/node_modules/nodemailer/dist/esm/mime-node/le-windows.js +1 -0
  154. package/node_modules/nodemailer/dist/esm/nodemailer.d.ts +2 -2
  155. package/node_modules/nodemailer/dist/esm/package-info.d.ts +1 -1
  156. package/node_modules/nodemailer/dist/esm/package-info.js +1 -1
  157. package/node_modules/nodemailer/dist/esm/qp/index.d.ts +2 -5
  158. package/node_modules/nodemailer/dist/esm/qp/index.js +2 -0
  159. package/node_modules/nodemailer/dist/esm/sendmail-transport/index.d.ts +4 -6
  160. package/node_modules/nodemailer/dist/esm/ses-transport/index.d.ts +2 -2
  161. package/node_modules/nodemailer/dist/esm/ses-transport/index.js +5 -1
  162. package/node_modules/nodemailer/dist/esm/shared/index.d.ts +31 -37
  163. package/node_modules/nodemailer/dist/esm/shared/index.js +19 -7
  164. package/node_modules/nodemailer/dist/esm/smtp-connection/data-stream.d.ts +1 -9
  165. package/node_modules/nodemailer/dist/esm/smtp-connection/data-stream.js +2 -0
  166. package/node_modules/nodemailer/dist/esm/smtp-connection/http-proxy-client.d.ts +1 -1
  167. package/node_modules/nodemailer/dist/esm/smtp-connection/index.d.ts +62 -403
  168. package/node_modules/nodemailer/dist/esm/smtp-connection/index.js +37 -1
  169. package/node_modules/nodemailer/dist/esm/smtp-pool/index.d.ts +8 -46
  170. package/node_modules/nodemailer/dist/esm/smtp-pool/index.js +13 -2
  171. package/node_modules/nodemailer/dist/esm/smtp-pool/pool-resource.d.ts +2 -4
  172. package/node_modules/nodemailer/dist/esm/smtp-transport/index.d.ts +16 -16
  173. package/node_modules/nodemailer/dist/esm/stream-transport/index.d.ts +3 -3
  174. package/node_modules/nodemailer/dist/esm/well-known/index.d.ts +9 -9
  175. package/node_modules/nodemailer/dist/esm/well-known/services.js +2 -0
  176. package/node_modules/nodemailer/dist/esm/xoauth2/index.d.ts +18 -18
  177. package/node_modules/nodemailer/dist/well-known/services.json +2 -2
  178. package/node_modules/nodemailer/package.json +6 -6
  179. package/package.json +1 -1
@@ -92,7 +92,7 @@ declare const PutBucketNotificationConfigurationCommand_base: {
92
92
  * Id: "STRING_VALUE",
93
93
  * TopicArn: "STRING_VALUE", // required
94
94
  * Events: [ // EventList // required
95
- * "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete" || "s3:ObjectAnnotation:*" || "s3:ObjectAnnotation:Put" || "s3:ObjectAnnotation:Delete",
95
+ * "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete" || "s3:ObjectAnnotation:*" || "s3:ObjectAnnotation:Put" || "s3:ObjectAnnotation:Delete" || "s3:ObjectRetention:Put",
96
96
  * ],
97
97
  * Filter: { // NotificationConfigurationFilter
98
98
  * Key: { // S3KeyFilter
@@ -111,7 +111,7 @@ declare const PutBucketNotificationConfigurationCommand_base: {
111
111
  * Id: "STRING_VALUE",
112
112
  * QueueArn: "STRING_VALUE", // required
113
113
  * Events: [ // required
114
- * "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete" || "s3:ObjectAnnotation:*" || "s3:ObjectAnnotation:Put" || "s3:ObjectAnnotation:Delete",
114
+ * "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete" || "s3:ObjectAnnotation:*" || "s3:ObjectAnnotation:Put" || "s3:ObjectAnnotation:Delete" || "s3:ObjectRetention:Put",
115
115
  * ],
116
116
  * Filter: {
117
117
  * Key: {
@@ -130,7 +130,7 @@ declare const PutBucketNotificationConfigurationCommand_base: {
130
130
  * Id: "STRING_VALUE",
131
131
  * LambdaFunctionArn: "STRING_VALUE", // required
132
132
  * Events: [ // required
133
- * "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete" || "s3:ObjectAnnotation:*" || "s3:ObjectAnnotation:Put" || "s3:ObjectAnnotation:Delete",
133
+ * "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete" || "s3:ObjectAnnotation:*" || "s3:ObjectAnnotation:Put" || "s3:ObjectAnnotation:Delete" || "s3:ObjectRetention:Put",
134
134
  * ],
135
135
  * Filter: {
136
136
  * Key: {
@@ -261,6 +261,9 @@ declare const PutObjectCommand_base: {
261
261
  * ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
262
262
  * ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
263
263
  * ObjectLockLegalHoldStatus: "ON" || "OFF",
264
+ * ObjectLockEventHold: "ON" || "OFF",
265
+ * ObjectLockEventHoldDurationDays: Number("int"),
266
+ * ObjectLockEventHoldDurationYears: Number("int"),
264
267
  * ExpectedBucketOwner: "STRING_VALUE",
265
268
  * };
266
269
  * const command = new PutObjectCommand(input);
@@ -67,6 +67,10 @@ declare const PutObjectLockConfigurationCommand_base: {
67
67
  * Mode: "GOVERNANCE" || "COMPLIANCE",
68
68
  * Days: Number("int"),
69
69
  * Years: Number("int"),
70
+ * DefaultEventHold: { // EventHoldDuration
71
+ * Days: Number("int"),
72
+ * Years: Number("int"),
73
+ * },
70
74
  * },
71
75
  * },
72
76
  * },
@@ -49,6 +49,11 @@ declare const PutObjectRetentionCommand_base: {
49
49
  * Retention: { // ObjectLockRetention
50
50
  * Mode: "GOVERNANCE" || "COMPLIANCE",
51
51
  * RetainUntilDate: new Date("TIMESTAMP"),
52
+ * EventHold: "ON" || "OFF",
53
+ * EventHoldDuration: { // EventHoldDuration
54
+ * Days: Number("int"),
55
+ * Years: Number("int"),
56
+ * },
52
57
  * },
53
58
  * RequestPayer: "requester",
54
59
  * VersionId: "STRING_VALUE",
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { PutPublicAccessBlockRequest } from "../models/models_0";
2
+ import type { PutPublicAccessBlockRequest } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -171,6 +171,18 @@ export declare const MetadataDirective: {
171
171
  * @public
172
172
  */
173
173
  export type MetadataDirective = (typeof MetadataDirective)[keyof typeof MetadataDirective];
174
+ /**
175
+ * @public
176
+ * @enum
177
+ */
178
+ export declare const ObjectLockEventHold: {
179
+ readonly OFF: "OFF";
180
+ readonly ON: "ON";
181
+ };
182
+ /**
183
+ * @public
184
+ */
185
+ export type ObjectLockEventHold = (typeof ObjectLockEventHold)[keyof typeof ObjectLockEventHold];
174
186
  /**
175
187
  * @public
176
188
  * @enum
@@ -511,6 +523,8 @@ export declare const InventoryOptionalField: {
511
523
  readonly LastModifiedDate: "LastModifiedDate";
512
524
  readonly LifecycleExpirationDate: "LifecycleExpirationDate";
513
525
  readonly ObjectAccessControlList: "ObjectAccessControlList";
526
+ readonly ObjectLockEventHoldDuration: "ObjectLockEventHoldDuration";
527
+ readonly ObjectLockEventHoldStatus: "ObjectLockEventHoldStatus";
514
528
  readonly ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus";
515
529
  readonly ObjectLockMode: "ObjectLockMode";
516
530
  readonly ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate";
@@ -638,6 +652,7 @@ export declare const Event: {
638
652
  readonly s3_ObjectRestore_Completed: "s3:ObjectRestore:Completed";
639
653
  readonly s3_ObjectRestore_Delete: "s3:ObjectRestore:Delete";
640
654
  readonly s3_ObjectRestore_Post: "s3:ObjectRestore:Post";
655
+ readonly s3_ObjectRetention_Put: "s3:ObjectRetention:Put";
641
656
  readonly s3_ObjectTagging_: "s3:ObjectTagging:*";
642
657
  readonly s3_ObjectTagging_Delete: "s3:ObjectTagging:Delete";
643
658
  readonly s3_ObjectTagging_Put: "s3:ObjectTagging:Put";
@@ -1,5 +1,5 @@
1
1
  import type { StreamingBlobTypes } from "@smithy/types";
2
- import type { AnalyticsS3ExportFileFormat, AnnotationConfigurationState, AnnotationDirective, ArchiveStatus, BucketAbacStatus, BucketAccelerateStatus, BucketCannedACL, BucketLocationConstraint, BucketLogsPermission, BucketNamespace, BucketType, BucketVersioningStatus, ChecksumAlgorithm, ChecksumMode, ChecksumType, DataRedundancy, DeleteMarkerReplicationStatus, EncodingType, EncryptionType, Event, ExistingObjectReplicationStatus, ExpirationState, ExpirationStatus, FilterRuleName, IntelligentTieringAccessTier, IntelligentTieringStatus, InventoryConfigurationState, InventoryFormat, InventoryFrequency, InventoryIncludedObjectVersions, InventoryOptionalField, LocationType, MetadataDirective, MetricsStatus, MFADelete, MFADeleteStatus, ObjectAttributes, ObjectCannedACL, ObjectLockEnabled, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetentionMode, ObjectOwnership, ObjectStorageClass, ObjectVersionStorageClass, OptionalObjectAttributes, OwnerOverride, PartitionDateSource, Payer, Permission, Protocol, ReplicaModificationsStatus, ReplicationRuleStatus, ReplicationStatus, ReplicationTimeStatus, RequestCharged, RequestPayer, S3TablesBucketType, ServerSideEncryption, SessionMode, SseKmsEncryptedObjectsStatus, StorageClass, StorageClassAnalysisSchemaVersion, TableSseAlgorithm, TaggingDirective, TransitionDefaultMinimumObjectSize, TransitionStorageClass, Type } from "./enums";
2
+ import type { AnalyticsS3ExportFileFormat, AnnotationConfigurationState, AnnotationDirective, ArchiveStatus, BucketAbacStatus, BucketAccelerateStatus, BucketCannedACL, BucketLocationConstraint, BucketLogsPermission, BucketNamespace, BucketType, BucketVersioningStatus, ChecksumAlgorithm, ChecksumMode, ChecksumType, DataRedundancy, DeleteMarkerReplicationStatus, EncodingType, EncryptionType, Event, ExistingObjectReplicationStatus, ExpirationState, ExpirationStatus, FilterRuleName, IntelligentTieringAccessTier, IntelligentTieringStatus, InventoryConfigurationState, InventoryFormat, InventoryFrequency, InventoryIncludedObjectVersions, InventoryOptionalField, LocationType, MetadataDirective, MetricsStatus, MFADelete, MFADeleteStatus, ObjectAttributes, ObjectCannedACL, ObjectLockEnabled, ObjectLockEventHold, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetentionMode, ObjectOwnership, ObjectStorageClass, ObjectVersionStorageClass, OptionalObjectAttributes, OwnerOverride, PartitionDateSource, Payer, Permission, Protocol, ReplicaModificationsStatus, ReplicationRuleStatus, ReplicationStatus, ReplicationTimeStatus, RequestCharged, RequestPayer, S3TablesBucketType, ServerSideEncryption, SessionMode, SseKmsEncryptedObjectsStatus, StorageClass, StorageClassAnalysisSchemaVersion, TableSseAlgorithm, TaggingDirective, TransitionDefaultMinimumObjectSize, TransitionStorageClass, Type } from "./enums";
3
3
  /**
4
4
  * <p>The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html">Using tags with S3 general purpose buckets</a>. </p>
5
5
  * @public
@@ -747,7 +747,7 @@ export interface CopyObjectResult {
747
747
  */
748
748
  ChecksumType?: ChecksumType | undefined;
749
749
  /**
750
- * <p>The Base64 encoded, 32-bit <code>CRC32</code> checksum of the object. This checksum is only present if the object was uploaded
750
+ * <p>The Base64 encoded, 32-bit <code>CRC32</code> checksum of the object. This checksum is only present if the checksum was uploaded
751
751
  * with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">
752
752
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
753
753
  * @public
@@ -1651,6 +1651,33 @@ export interface CopyObjectRequest {
1651
1651
  * @public
1652
1652
  */
1653
1653
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
1654
+ /**
1655
+ * <p>The event hold status to apply to the object copy. Set to <code>ON</code> to enable or
1656
+ * <code>OFF</code> to disable.</p>
1657
+ * <note>
1658
+ * <p>This functionality is not supported for directory buckets.</p>
1659
+ * </note>
1660
+ * @public
1661
+ */
1662
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
1663
+ /**
1664
+ * <p>The event hold duration in days to apply to the object copy. You cannot specify a duration
1665
+ * in both days and years.</p>
1666
+ * <note>
1667
+ * <p>This functionality is not supported for directory buckets.</p>
1668
+ * </note>
1669
+ * @public
1670
+ */
1671
+ ObjectLockEventHoldDurationDays?: number | undefined;
1672
+ /**
1673
+ * <p>The event hold duration in years to apply to the object copy. You cannot specify a
1674
+ * duration in both days and years.</p>
1675
+ * <note>
1676
+ * <p>This functionality is not supported for directory buckets.</p>
1677
+ * </note>
1678
+ * @public
1679
+ */
1680
+ ObjectLockEventHoldDurationYears?: number | undefined;
1654
1681
  /**
1655
1682
  * <p>The account ID of the expected destination bucket owner. If the account ID that you provide does not match the actual owner of the destination bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
1656
1683
  * @public
@@ -2869,6 +2896,33 @@ export interface CreateMultipartUploadRequest {
2869
2896
  * @public
2870
2897
  */
2871
2898
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
2899
+ /**
2900
+ * <p>Specifies the event hold status to apply to the uploaded object. Set to <code>ON</code> to enable
2901
+ * or <code>OFF</code> to disable.</p>
2902
+ * <note>
2903
+ * <p>This functionality is not supported for directory buckets.</p>
2904
+ * </note>
2905
+ * @public
2906
+ */
2907
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
2908
+ /**
2909
+ * <p>Specifies the event hold duration in days to apply to the uploaded object. You cannot
2910
+ * specify a duration in both days and years.</p>
2911
+ * <note>
2912
+ * <p>This functionality is not supported for directory buckets.</p>
2913
+ * </note>
2914
+ * @public
2915
+ */
2916
+ ObjectLockEventHoldDurationDays?: number | undefined;
2917
+ /**
2918
+ * <p>Specifies the event hold duration in years to apply to the uploaded object. You cannot
2919
+ * specify a duration in both days and years.</p>
2920
+ * <note>
2921
+ * <p>This functionality is not supported for directory buckets.</p>
2922
+ * </note>
2923
+ * @public
2924
+ */
2925
+ ObjectLockEventHoldDurationYears?: number | undefined;
2872
2926
  /**
2873
2927
  * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
2874
2928
  * @public
@@ -9302,7 +9356,7 @@ export interface GetObjectOutput {
9302
9356
  */
9303
9357
  ETag?: string | undefined;
9304
9358
  /**
9305
- * <p>The Base64 encoded, 32-bit <code>CRC32</code> checksum of the object. This checksum is only present if the object was uploaded
9359
+ * <p>The Base64 encoded, 32-bit <code>CRC32</code> checksum of the object. This checksum is only present if the checksum was uploaded
9306
9360
  * with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">
9307
9361
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
9308
9362
  * @public
@@ -9567,6 +9621,33 @@ export interface GetObjectOutput {
9567
9621
  * @public
9568
9622
  */
9569
9623
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
9624
+ /**
9625
+ * <p>The event hold status for this object. This header is only returned if the requester has the
9626
+ * <code>s3:GetObjectRetention</code> permission.</p>
9627
+ * <note>
9628
+ * <p>This functionality is not supported for directory buckets.</p>
9629
+ * </note>
9630
+ * @public
9631
+ */
9632
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
9633
+ /**
9634
+ * <p>The event hold duration in days for this object. Only returned when the event hold is
9635
+ * enabled.</p>
9636
+ * <note>
9637
+ * <p>This functionality is not supported for directory buckets.</p>
9638
+ * </note>
9639
+ * @public
9640
+ */
9641
+ ObjectLockEventHoldDurationDays?: number | undefined;
9642
+ /**
9643
+ * <p>The event hold duration in years for this object. Only returned when the event hold is
9644
+ * enabled.</p>
9645
+ * <note>
9646
+ * <p>This functionality is not supported for directory buckets.</p>
9647
+ * </note>
9648
+ * @public
9649
+ */
9650
+ ObjectLockEventHoldDurationYears?: number | undefined;
9570
9651
  }
9571
9652
  /**
9572
9653
  * @public
@@ -10550,6 +10631,24 @@ export interface GetObjectLegalHoldRequest {
10550
10631
  */
10551
10632
  ExpectedBucketOwner?: string | undefined;
10552
10633
  }
10634
+ /**
10635
+ * <p>Contains the event hold duration configuration, specified in either days or years.</p>
10636
+ * @public
10637
+ */
10638
+ export interface EventHoldDuration {
10639
+ /**
10640
+ * <p>The number of days for the event hold duration. The minimum value is 1 and the maximum value is
10641
+ * 36,500.</p>
10642
+ * @public
10643
+ */
10644
+ Days?: number | undefined;
10645
+ /**
10646
+ * <p>The number of years for the event hold duration. The minimum value is 1 and the maximum value is
10647
+ * 100.</p>
10648
+ * @public
10649
+ */
10650
+ Years?: number | undefined;
10651
+ }
10553
10652
  /**
10554
10653
  * <p>The container element for optionally specifying the default Object Lock retention settings for new
10555
10654
  * objects placed in the specified bucket.</p>
@@ -10586,6 +10685,12 @@ export interface DefaultRetention {
10586
10685
  * @public
10587
10686
  */
10588
10687
  Years?: number | undefined;
10688
+ /**
10689
+ * <p>The default event hold duration to be applied to new objects placed in the specified bucket. When
10690
+ * configured, new objects will automatically have an event hold enabled with this duration.</p>
10691
+ * @public
10692
+ */
10693
+ DefaultEventHold?: EventHoldDuration | undefined;
10589
10694
  }
10590
10695
  /**
10591
10696
  * <p>The container element for an Object Lock rule.</p>
@@ -10593,10 +10698,18 @@ export interface DefaultRetention {
10593
10698
  */
10594
10699
  export interface ObjectLockRule {
10595
10700
  /**
10596
- * <p>The default Object Lock retention mode and period that you want to apply to new objects placed in
10597
- * the specified bucket. Bucket settings require both a mode and a period. The period can be either
10598
- * <code>Days</code> or <code>Years</code> but you must select one. You cannot specify <code>Days</code>
10599
- * and <code>Years</code> at the same time.</p>
10701
+ * <p>The default Object Lock retention settings for new objects in this bucket. You can
10702
+ * specify:</p>
10703
+ * <ul>
10704
+ * <li>
10705
+ * <p>A default retention period, by using <code>Days</code> or <code>Years</code>.</p>
10706
+ * </li>
10707
+ * <li>
10708
+ * <p>A default event hold duration, by using <code>DefaultEventHold</code>. This setting also
10709
+ * uses days or years.</p>
10710
+ * </li>
10711
+ * </ul>
10712
+ * <p>You can set one or both. You cannot use days and years in the same setting.</p>
10600
10713
  * @public
10601
10714
  */
10602
10715
  DefaultRetention?: DefaultRetention | undefined;
@@ -10666,6 +10779,18 @@ export interface ObjectLockRetention {
10666
10779
  * @public
10667
10780
  */
10668
10781
  RetainUntilDate?: Date | undefined;
10782
+ /**
10783
+ * <p>The event hold status for the object. Set to <code>ON</code> to enable an event hold or
10784
+ * <code>OFF</code> to disable it.</p>
10785
+ * @public
10786
+ */
10787
+ EventHold?: ObjectLockEventHold | undefined;
10788
+ /**
10789
+ * <p>The event hold duration for the object. Specifies how long the object remains protected after the
10790
+ * event hold is released.</p>
10791
+ * @public
10792
+ */
10793
+ EventHoldDuration?: EventHoldDuration | undefined;
10669
10794
  }
10670
10795
  /**
10671
10796
  * @public
@@ -11383,6 +11508,33 @@ export interface HeadObjectOutput {
11383
11508
  * @public
11384
11509
  */
11385
11510
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
11511
+ /**
11512
+ * <p>The event hold status for this object. This header is only returned if the requester has the
11513
+ * <code>s3:GetObjectRetention</code> permission.</p>
11514
+ * <note>
11515
+ * <p>This functionality is not supported for directory buckets.</p>
11516
+ * </note>
11517
+ * @public
11518
+ */
11519
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
11520
+ /**
11521
+ * <p>The event hold duration in days for this object. Only returned when the event hold is
11522
+ * enabled.</p>
11523
+ * <note>
11524
+ * <p>This functionality is not supported for directory buckets.</p>
11525
+ * </note>
11526
+ * @public
11527
+ */
11528
+ ObjectLockEventHoldDurationDays?: number | undefined;
11529
+ /**
11530
+ * <p>The event hold duration in years for this object. Only returned when the event hold is
11531
+ * enabled.</p>
11532
+ * <note>
11533
+ * <p>This functionality is not supported for directory buckets.</p>
11534
+ * </note>
11535
+ * @public
11536
+ */
11537
+ ObjectLockEventHoldDurationYears?: number | undefined;
11386
11538
  }
11387
11539
  /**
11388
11540
  * @public
@@ -15500,6 +15652,33 @@ export interface PutObjectRequest {
15500
15652
  * @public
15501
15653
  */
15502
15654
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
15655
+ /**
15656
+ * <p>Specifies the event hold status to apply to this object. Set to <code>ON</code> to enable or
15657
+ * <code>OFF</code> to disable.</p>
15658
+ * <note>
15659
+ * <p>This functionality is not supported for directory buckets.</p>
15660
+ * </note>
15661
+ * @public
15662
+ */
15663
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
15664
+ /**
15665
+ * <p>Specifies the event hold duration in days to apply to this object. You cannot specify a
15666
+ * duration in both days and years.</p>
15667
+ * <note>
15668
+ * <p>This functionality is not supported for directory buckets.</p>
15669
+ * </note>
15670
+ * @public
15671
+ */
15672
+ ObjectLockEventHoldDurationDays?: number | undefined;
15673
+ /**
15674
+ * <p>Specifies the event hold duration in years to apply to this object. You cannot specify a
15675
+ * duration in both days and years.</p>
15676
+ * <note>
15677
+ * <p>This functionality is not supported for directory buckets.</p>
15678
+ * </note>
15679
+ * @public
15680
+ */
15681
+ ObjectLockEventHoldDurationYears?: number | undefined;
15503
15682
  /**
15504
15683
  * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
15505
15684
  * @public
@@ -16146,45 +16325,3 @@ export interface PutObjectTaggingRequest {
16146
16325
  */
16147
16326
  RequestPayer?: RequestPayer | undefined;
16148
16327
  }
16149
- /**
16150
- * @public
16151
- */
16152
- export interface PutPublicAccessBlockRequest {
16153
- /**
16154
- * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you want to
16155
- * set.</p>
16156
- * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
16157
- * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
16158
- * @public
16159
- */
16160
- Bucket: string | undefined;
16161
- /**
16162
- * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p>
16163
- * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
16164
- * @public
16165
- */
16166
- ContentMD5?: string | undefined;
16167
- /**
16168
- * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
16169
- * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
16170
- * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
16171
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
16172
- * the <i>Amazon S3 User Guide</i>.</p>
16173
- * <p>If you provide an individual checksum, Amazon S3 ignores any provided <code>ChecksumAlgorithm</code>
16174
- * parameter.</p>
16175
- * @public
16176
- */
16177
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
16178
- /**
16179
- * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
16180
- * bucket. You can enable the configuration options in any combination. For more information
16181
- * about when Amazon S3 considers a bucket or object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a> in the <i>Amazon S3 User Guide</i>.</p>
16182
- * @public
16183
- */
16184
- PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
16185
- /**
16186
- * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
16187
- * @public
16188
- */
16189
- ExpectedBucketOwner?: string | undefined;
16190
- }
@@ -1,6 +1,48 @@
1
1
  import type { StreamingBlobTypes } from "@smithy/types";
2
2
  import type { AnnotationConfigurationState, ChecksumAlgorithm, CompressionType, ExpressionType, FileHeaderInfo, InventoryConfigurationState, JSONType, ObjectCannedACL, ObjectLockLegalHoldStatus, ObjectLockMode, QuoteFields, ReplicationStatus, RequestCharged, RequestPayer, RestoreRequestType, ServerSideEncryption, StorageClass, Tier } from "./enums";
3
- import type { Grant, MetadataTableEncryptionConfiguration, RecordExpiration, Tagging } from "./models_0";
3
+ import type { Grant, MetadataTableEncryptionConfiguration, PublicAccessBlockConfiguration, RecordExpiration, Tagging } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface PutPublicAccessBlockRequest {
8
+ /**
9
+ * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you want to
10
+ * set.</p>
11
+ * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
12
+ * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
13
+ * @public
14
+ */
15
+ Bucket: string | undefined;
16
+ /**
17
+ * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p>
18
+ * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
19
+ * @public
20
+ */
21
+ ContentMD5?: string | undefined;
22
+ /**
23
+ * <p>Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any
24
+ * additional functionality if you don't use the SDK. When you send this header, there must be a corresponding <code>x-amz-checksum</code> or
25
+ * <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
26
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
27
+ * the <i>Amazon S3 User Guide</i>.</p>
28
+ * <p>If you provide an individual checksum, Amazon S3 ignores any provided <code>ChecksumAlgorithm</code>
29
+ * parameter.</p>
30
+ * @public
31
+ */
32
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
33
+ /**
34
+ * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
35
+ * bucket. You can enable the configuration options in any combination. For more information
36
+ * about when Amazon S3 considers a bucket or object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a> in the <i>Amazon S3 User Guide</i>.</p>
37
+ * @public
38
+ */
39
+ PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
40
+ /**
41
+ * <p>The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
42
+ * @public
43
+ */
44
+ ExpectedBucketOwner?: string | undefined;
45
+ }
4
46
  /**
5
47
  * @public
6
48
  */
@@ -111,6 +111,7 @@ export declare var _Error$: StaticStructureSchema;
111
111
  export declare var ErrorDetails$: StaticStructureSchema;
112
112
  export declare var ErrorDocument$: StaticStructureSchema;
113
113
  export declare var EventBridgeConfiguration$: StaticStructureSchema;
114
+ export declare var EventHoldDuration$: StaticStructureSchema;
114
115
  export declare var ExistingObjectReplication$: StaticStructureSchema;
115
116
  export declare var FilterRule$: StaticStructureSchema;
116
117
  export declare var GetBucketAbacOutput$: StaticStructureSchema;
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { PutPublicAccessBlockRequest } from "../models/models_0";
2
+ import { PutPublicAccessBlockRequest } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface PutPublicAccessBlockCommandInput extends PutPublicAccessBlockRequest {}
5
5
  export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {}
@@ -81,6 +81,11 @@ export declare const MetadataDirective: {
81
81
  readonly REPLACE: "REPLACE";
82
82
  };
83
83
  export type MetadataDirective = (typeof MetadataDirective)[keyof typeof MetadataDirective];
84
+ export declare const ObjectLockEventHold: {
85
+ readonly OFF: "OFF";
86
+ readonly ON: "ON";
87
+ };
88
+ export type ObjectLockEventHold = (typeof ObjectLockEventHold)[keyof typeof ObjectLockEventHold];
84
89
  export declare const ObjectLockLegalHoldStatus: {
85
90
  readonly OFF: "OFF";
86
91
  readonly ON: "ON";
@@ -265,6 +270,8 @@ export declare const InventoryOptionalField: {
265
270
  readonly LastModifiedDate: "LastModifiedDate";
266
271
  readonly LifecycleExpirationDate: "LifecycleExpirationDate";
267
272
  readonly ObjectAccessControlList: "ObjectAccessControlList";
273
+ readonly ObjectLockEventHoldDuration: "ObjectLockEventHoldDuration";
274
+ readonly ObjectLockEventHoldStatus: "ObjectLockEventHoldStatus";
268
275
  readonly ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus";
269
276
  readonly ObjectLockMode: "ObjectLockMode";
270
277
  readonly ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate";
@@ -339,6 +346,7 @@ export declare const Event: {
339
346
  readonly s3_ObjectRestore_Completed: "s3:ObjectRestore:Completed";
340
347
  readonly s3_ObjectRestore_Delete: "s3:ObjectRestore:Delete";
341
348
  readonly s3_ObjectRestore_Post: "s3:ObjectRestore:Post";
349
+ readonly s3_ObjectRetention_Put: "s3:ObjectRetention:Put";
342
350
  readonly s3_ObjectTagging_: "s3:ObjectTagging:*";
343
351
  readonly s3_ObjectTagging_Delete: "s3:ObjectTagging:Delete";
344
352
  readonly s3_ObjectTagging_Put: "s3:ObjectTagging:Put";
@@ -39,6 +39,7 @@ import {
39
39
  ObjectAttributes,
40
40
  ObjectCannedACL,
41
41
  ObjectLockEnabled,
42
+ ObjectLockEventHold,
42
43
  ObjectLockLegalHoldStatus,
43
44
  ObjectLockMode,
44
45
  ObjectLockRetentionMode,
@@ -247,6 +248,9 @@ export interface CopyObjectRequest {
247
248
  ObjectLockMode?: ObjectLockMode | undefined;
248
249
  ObjectLockRetainUntilDate?: Date | undefined;
249
250
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
251
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
252
+ ObjectLockEventHoldDurationDays?: number | undefined;
253
+ ObjectLockEventHoldDurationYears?: number | undefined;
250
254
  ExpectedBucketOwner?: string | undefined;
251
255
  ExpectedSourceBucketOwner?: string | undefined;
252
256
  }
@@ -377,6 +381,9 @@ export interface CreateMultipartUploadRequest {
377
381
  ObjectLockMode?: ObjectLockMode | undefined;
378
382
  ObjectLockRetainUntilDate?: Date | undefined;
379
383
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
384
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
385
+ ObjectLockEventHoldDurationDays?: number | undefined;
386
+ ObjectLockEventHoldDurationYears?: number | undefined;
380
387
  ExpectedBucketOwner?: string | undefined;
381
388
  ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
382
389
  ChecksumType?: ChecksumType | undefined;
@@ -1204,6 +1211,9 @@ export interface GetObjectOutput {
1204
1211
  ObjectLockMode?: ObjectLockMode | undefined;
1205
1212
  ObjectLockRetainUntilDate?: Date | undefined;
1206
1213
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
1214
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
1215
+ ObjectLockEventHoldDurationDays?: number | undefined;
1216
+ ObjectLockEventHoldDurationYears?: number | undefined;
1207
1217
  }
1208
1218
  export interface GetObjectRequest {
1209
1219
  Bucket: string | undefined;
@@ -1342,10 +1352,15 @@ export interface GetObjectLegalHoldRequest {
1342
1352
  RequestPayer?: RequestPayer | undefined;
1343
1353
  ExpectedBucketOwner?: string | undefined;
1344
1354
  }
1355
+ export interface EventHoldDuration {
1356
+ Days?: number | undefined;
1357
+ Years?: number | undefined;
1358
+ }
1345
1359
  export interface DefaultRetention {
1346
1360
  Mode?: ObjectLockRetentionMode | undefined;
1347
1361
  Days?: number | undefined;
1348
1362
  Years?: number | undefined;
1363
+ DefaultEventHold?: EventHoldDuration | undefined;
1349
1364
  }
1350
1365
  export interface ObjectLockRule {
1351
1366
  DefaultRetention?: DefaultRetention | undefined;
@@ -1364,6 +1379,8 @@ export interface GetObjectLockConfigurationRequest {
1364
1379
  export interface ObjectLockRetention {
1365
1380
  Mode?: ObjectLockRetentionMode | undefined;
1366
1381
  RetainUntilDate?: Date | undefined;
1382
+ EventHold?: ObjectLockEventHold | undefined;
1383
+ EventHoldDuration?: EventHoldDuration | undefined;
1367
1384
  }
1368
1385
  export interface GetObjectRetentionOutput {
1369
1386
  Retention?: ObjectLockRetention | undefined;
@@ -1465,6 +1482,9 @@ export interface HeadObjectOutput {
1465
1482
  ObjectLockMode?: ObjectLockMode | undefined;
1466
1483
  ObjectLockRetainUntilDate?: Date | undefined;
1467
1484
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
1485
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
1486
+ ObjectLockEventHoldDurationDays?: number | undefined;
1487
+ ObjectLockEventHoldDurationYears?: number | undefined;
1468
1488
  }
1469
1489
  export interface HeadObjectRequest {
1470
1490
  Bucket: string | undefined;
@@ -2027,6 +2047,9 @@ export interface PutObjectRequest {
2027
2047
  ObjectLockMode?: ObjectLockMode | undefined;
2028
2048
  ObjectLockRetainUntilDate?: Date | undefined;
2029
2049
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
2050
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
2051
+ ObjectLockEventHoldDurationDays?: number | undefined;
2052
+ ObjectLockEventHoldDurationYears?: number | undefined;
2030
2053
  ExpectedBucketOwner?: string | undefined;
2031
2054
  }
2032
2055
  export interface PutObjectAclOutput {
@@ -2141,10 +2164,3 @@ export interface PutObjectTaggingRequest {
2141
2164
  ExpectedBucketOwner?: string | undefined;
2142
2165
  RequestPayer?: RequestPayer | undefined;
2143
2166
  }
2144
- export interface PutPublicAccessBlockRequest {
2145
- Bucket: string | undefined;
2146
- ContentMD5?: string | undefined;
2147
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
2148
- PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
2149
- ExpectedBucketOwner?: string | undefined;
2150
- }
@@ -19,7 +19,20 @@ import {
19
19
  StorageClass,
20
20
  Tier,
21
21
  } from "./enums";
22
- import { Grant, MetadataTableEncryptionConfiguration, RecordExpiration, Tagging } from "./models_0";
22
+ import {
23
+ Grant,
24
+ MetadataTableEncryptionConfiguration,
25
+ PublicAccessBlockConfiguration,
26
+ RecordExpiration,
27
+ Tagging,
28
+ } from "./models_0";
29
+ export interface PutPublicAccessBlockRequest {
30
+ Bucket: string | undefined;
31
+ ContentMD5?: string | undefined;
32
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
33
+ PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
34
+ ExpectedBucketOwner?: string | undefined;
35
+ }
23
36
  export interface RenameObjectOutput {}
24
37
  export interface RenameObjectRequest {
25
38
  Bucket: string | undefined;