@aws-sdk/client-s3 3.1129.0 → 3.1131.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.
- package/dist-cjs/index.js +1 -1
- package/dist-types/models/models_0.d.ts +24 -10
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -4757,7 +4757,7 @@ var WriteGetObjectResponse$ = [9, n0, _WGOR,
|
|
|
4757
4757
|
class CreateSessionCommand extends command(_ep4, _mw0, "CreateSession", CreateSession$) {
|
|
4758
4758
|
}
|
|
4759
4759
|
|
|
4760
|
-
var version = "3.
|
|
4760
|
+
var version = "3.1130.0";
|
|
4761
4761
|
var packageInfo = {
|
|
4762
4762
|
version: version};
|
|
4763
4763
|
|
|
@@ -1661,7 +1661,8 @@ export interface CopyObjectRequest {
|
|
|
1661
1661
|
*/
|
|
1662
1662
|
ObjectLockEventHold?: ObjectLockEventHold | undefined;
|
|
1663
1663
|
/**
|
|
1664
|
-
* <p>The event hold duration in days to apply to the object copy
|
|
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>
|
|
1665
1666
|
* <note>
|
|
1666
1667
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1667
1668
|
* </note>
|
|
@@ -1669,7 +1670,8 @@ export interface CopyObjectRequest {
|
|
|
1669
1670
|
*/
|
|
1670
1671
|
ObjectLockEventHoldDurationDays?: number | undefined;
|
|
1671
1672
|
/**
|
|
1672
|
-
* <p>The event hold duration in years to apply to the object copy
|
|
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>
|
|
1673
1675
|
* <note>
|
|
1674
1676
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1675
1677
|
* </note>
|
|
@@ -2904,7 +2906,8 @@ export interface CreateMultipartUploadRequest {
|
|
|
2904
2906
|
*/
|
|
2905
2907
|
ObjectLockEventHold?: ObjectLockEventHold | undefined;
|
|
2906
2908
|
/**
|
|
2907
|
-
* <p>Specifies the event hold duration in days to apply to the uploaded object
|
|
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>
|
|
2908
2911
|
* <note>
|
|
2909
2912
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2910
2913
|
* </note>
|
|
@@ -2912,7 +2915,8 @@ export interface CreateMultipartUploadRequest {
|
|
|
2912
2915
|
*/
|
|
2913
2916
|
ObjectLockEventHoldDurationDays?: number | undefined;
|
|
2914
2917
|
/**
|
|
2915
|
-
* <p>Specifies the event hold duration in years to apply to the uploaded object
|
|
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>
|
|
2916
2920
|
* <note>
|
|
2917
2921
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2918
2922
|
* </note>
|
|
@@ -10694,10 +10698,18 @@ export interface DefaultRetention {
|
|
|
10694
10698
|
*/
|
|
10695
10699
|
export interface ObjectLockRule {
|
|
10696
10700
|
/**
|
|
10697
|
-
* <p>The default Object Lock retention
|
|
10698
|
-
*
|
|
10699
|
-
*
|
|
10700
|
-
*
|
|
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>
|
|
10701
10713
|
* @public
|
|
10702
10714
|
*/
|
|
10703
10715
|
DefaultRetention?: DefaultRetention | undefined;
|
|
@@ -15650,7 +15662,8 @@ export interface PutObjectRequest {
|
|
|
15650
15662
|
*/
|
|
15651
15663
|
ObjectLockEventHold?: ObjectLockEventHold | undefined;
|
|
15652
15664
|
/**
|
|
15653
|
-
* <p>Specifies the event hold duration in days to apply to this object
|
|
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>
|
|
15654
15667
|
* <note>
|
|
15655
15668
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
15656
15669
|
* </note>
|
|
@@ -15658,7 +15671,8 @@ export interface PutObjectRequest {
|
|
|
15658
15671
|
*/
|
|
15659
15672
|
ObjectLockEventHoldDurationDays?: number | undefined;
|
|
15660
15673
|
/**
|
|
15661
|
-
* <p>Specifies the event hold duration in years to apply to this object
|
|
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>
|
|
15662
15676
|
* <note>
|
|
15663
15677
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
15664
15678
|
* </note>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1131.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
70
|
+
"@aws-sdk/signature-v4-crt": "3.1131.0",
|
|
71
71
|
"@smithy/snapshot-testing": "^2.3.2",
|
|
72
72
|
"@tsconfig/node20": "20.1.8",
|
|
73
73
|
"@types/node": "^20.14.8",
|