@aws-sdk/client-s3 3.1126.0 → 3.1128.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 (28) hide show
  1. package/dist-cjs/index.js +38 -15
  2. package/dist-es/models/enums.js +7 -0
  3. package/dist-es/schemas/schemas_0.js +28 -14
  4. package/dist-types/commands/CopyObjectCommand.d.ts +3 -0
  5. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +3 -0
  6. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
  7. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
  8. package/dist-types/commands/GetObjectCommand.d.ts +3 -0
  9. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -0
  10. package/dist-types/commands/GetObjectRetentionCommand.d.ts +5 -0
  11. package/dist-types/commands/HeadObjectCommand.d.ts +3 -0
  12. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
  13. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  14. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
  15. package/dist-types/commands/PutObjectCommand.d.ts +3 -0
  16. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +4 -0
  17. package/dist-types/commands/PutObjectRetentionCommand.d.ts +5 -0
  18. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  19. package/dist-types/models/enums.d.ts +15 -0
  20. package/dist-types/models/models_0.d.ts +168 -45
  21. package/dist-types/models/models_1.d.ts +43 -1
  22. package/dist-types/schemas/schemas_0.d.ts +1 -0
  23. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/models/enums.d.ts +8 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +23 -7
  26. package/dist-types/ts3.4/models/models_1.d.ts +14 -1
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  28. package/package.json +2 -2
package/dist-cjs/index.js CHANGED
@@ -1527,6 +1527,7 @@ const _DBTR = "DeleteBucketTaggingRequest";
1527
1527
  const _DBW = "DeleteBucketWebsite";
1528
1528
  const _DBWR = "DeleteBucketWebsiteRequest";
1529
1529
  const _DE = "DataExport";
1530
+ const _DEH = "DefaultEventHold";
1530
1531
  const _DIM = "DestinationIfMatch";
1531
1532
  const _DIMS = "DestinationIfModifiedSince";
1532
1533
  const _DINM = "DestinationIfNoneMatch";
@@ -1574,6 +1575,8 @@ const _ED = "ErrorDetails";
1574
1575
  const _EDr = "ErrorDocument";
1575
1576
  const _EE = "EndEvent";
1576
1577
  const _EH = "ExposeHeaders";
1578
+ const _EHD = "EventHoldDuration";
1579
+ const _EHv = "EventHold";
1577
1580
  const _EHx = "ExposeHeader";
1578
1581
  const _EM = "ErrorMessage";
1579
1582
  const _EODM = "ExpiredObjectDeleteMarker";
@@ -1918,6 +1921,9 @@ const _OL = "OutputLocation";
1918
1921
  const _OLC = "ObjectLockConfiguration";
1919
1922
  const _OLE = "ObjectLockEnabled";
1920
1923
  const _OLEFB = "ObjectLockEnabledForBucket";
1924
+ const _OLEH = "ObjectLockEventHold";
1925
+ const _OLEHDD = "ObjectLockEventHoldDurationDays";
1926
+ const _OLEHDY = "ObjectLockEventHoldDurationYears";
1921
1927
  const _OLLH = "ObjectLockLegalHold";
1922
1928
  const _OLLHS = "ObjectLockLegalHoldStatus";
1923
1929
  const _OLM = "ObjectLockMode";
@@ -2361,6 +2367,9 @@ const _xampc = "x-amz-mp-parts-count";
2361
2367
  const _xaoa = "x-amz-object-attributes";
2362
2368
  const _xaoad = "x-amz-object-annotation-directive";
2363
2369
  const _xaoim = "x-amz-object-if-match";
2370
+ const _xaoleh = "x-amz-object-lock-event-hold";
2371
+ const _xaolehdd = "x-amz-object-lock-event-hold-duration-days";
2372
+ const _xaolehdy = "x-amz-object-lock-event-hold-duration-years";
2364
2373
  const _xaollh = "x-amz-object-lock-legal-hold";
2365
2374
  const _xaolm = "x-amz-object-lock-mode";
2366
2375
  const _xaolrud = "x-amz-object-lock-retain-until-date";
@@ -2689,8 +2698,8 @@ var CopyObjectOutput$ = [3, n0, _COO,
2689
2698
  ];
2690
2699
  var CopyObjectRequest$ = [3, n0, _CORo,
2691
2700
  0,
2692
- [_B, _CSo, _K, _ACL_, _CC, _CA, _CDo, _CEo, _CL, _CTo, _CSIM, _CSIMS, _CSINM, _CSIUS, _Exp, _GFC, _GR, _GRACP, _GWACP, _IM, _INM, _M, _MD, _TD, _ADn, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _CSSSECA, _CSSSECK, _CSSSECKMD, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO, _ESBO],
2693
- [[0, 1], [0, { [_hH]: _xacs___ }], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _xaca }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xacsim }], [4, { [_hH]: _xacsims }], [0, { [_hH]: _xacsinm }], [4, { [_hH]: _xacsius }], [4, { [_hH]: _Exp }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xamd }], [0, { [_hH]: _xatd }], [0, { [_hH]: _xaoad }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xacssseca }], [() => CopySourceSSECustomerKey, { [_hH]: _xacssseck }], [0, { [_hH]: _xacssseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasebo }]], 3
2701
+ [_B, _CSo, _K, _ACL_, _CC, _CA, _CDo, _CEo, _CL, _CTo, _CSIM, _CSIMS, _CSINM, _CSIUS, _Exp, _GFC, _GR, _GRACP, _GWACP, _IM, _INM, _M, _MD, _TD, _ADn, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _CSSSECA, _CSSSECK, _CSSSECKMD, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY, _EBO, _ESBO],
2702
+ [[0, 1], [0, { [_hH]: _xacs___ }], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _xaca }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xacsim }], [4, { [_hH]: _xacsims }], [0, { [_hH]: _xacsinm }], [4, { [_hH]: _xacsius }], [4, { [_hH]: _Exp }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xamd }], [0, { [_hH]: _xatd }], [0, { [_hH]: _xaoad }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xacssseca }], [() => CopySourceSSECustomerKey, { [_hH]: _xacssseck }], [0, { [_hH]: _xacssseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasebo }]], 3
2694
2703
  ];
2695
2704
  var CopyObjectResult$ = [3, n0, _COR,
2696
2705
  0,
@@ -2744,8 +2753,8 @@ var CreateMultipartUploadOutput$ = [3, n0, _CMUOr,
2744
2753
  ];
2745
2754
  var CreateMultipartUploadRequest$ = [3, n0, _CMURr,
2746
2755
  0,
2747
- [_B, _K, _ACL_, _CC, _CDo, _CEo, _CL, _CTo, _Exp, _GFC, _GR, _GRACP, _GWACP, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO, _CA, _CT],
2748
- [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xaca }], [0, { [_hH]: _xact }]], 2
2756
+ [_B, _K, _ACL_, _CC, _CDo, _CEo, _CL, _CTo, _Exp, _GFC, _GR, _GRACP, _GWACP, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY, _EBO, _CA, _CT],
2757
+ [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xaca }], [0, { [_hH]: _xact }]], 2
2749
2758
  ];
2750
2759
  var CreateSessionOutput$ = [3, n0, _CSO,
2751
2760
  { [_xN]: _CSR },
@@ -2769,8 +2778,8 @@ var CSVOutput$ = [3, n0, _CSVO,
2769
2778
  ];
2770
2779
  var DefaultRetention$ = [3, n0, _DRe,
2771
2780
  0,
2772
- [_Mo, _D, _Y],
2773
- [0, 1, 1]
2781
+ [_Mo, _D, _Y, _DEH],
2782
+ [0, 1, 1, () => EventHoldDuration$]
2774
2783
  ];
2775
2784
  var Delete$ = [3, n0, _De,
2776
2785
  0,
@@ -2957,6 +2966,11 @@ var EventBridgeConfiguration$ = [3, n0, _EBC,
2957
2966
  [],
2958
2967
  []
2959
2968
  ];
2969
+ var EventHoldDuration$ = [3, n0, _EHD,
2970
+ 0,
2971
+ [_D, _Y],
2972
+ [1, 1]
2973
+ ];
2960
2974
  var ExistingObjectReplication$ = [3, n0, _EOR,
2961
2975
  0,
2962
2976
  [_S],
@@ -3259,8 +3273,8 @@ var GetObjectLockConfigurationRequest$ = [3, n0, _GOLCR,
3259
3273
  ];
3260
3274
  var GetObjectOutput$ = [3, n0, _GOO,
3261
3275
  0,
3262
- [_Bo, _DM, _AR, _Ex, _Re, _LM, _CLo, _ET, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _CT, _MM, _VI, _CC, _CDo, _CEo, _CL, _CR, _CTo, _Exp, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS],
3263
- [[() => StreamingBlob, 16], [2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _ET }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [0, { [_hH]: _xact }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CR_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }]]
3276
+ [_Bo, _DM, _AR, _Ex, _Re, _LM, _CLo, _ET, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _CT, _MM, _VI, _CC, _CDo, _CEo, _CL, _CR, _CTo, _Exp, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY],
3277
+ [[() => StreamingBlob, 16], [2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _ET }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [0, { [_hH]: _xact }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CR_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }]]
3264
3278
  ];
3265
3279
  var GetObjectRequest$ = [3, n0, _GOR,
3266
3280
  0,
@@ -3334,8 +3348,8 @@ var HeadBucketRequest$ = [3, n0, _HBR,
3334
3348
  ];
3335
3349
  var HeadObjectOutput$ = [3, n0, _HOO,
3336
3350
  0,
3337
- [_DM, _AR, _Ex, _Re, _ASr, _LM, _CLo, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _CT, _ET, _MM, _VI, _CC, _CDo, _CEo, _CL, _CTo, _CR, _Exp, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS],
3338
- [[2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [0, { [_hH]: _xaas }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [0, { [_hH]: _xact }], [0, { [_hH]: _ET }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CR_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }]]
3351
+ [_DM, _AR, _Ex, _Re, _ASr, _LM, _CLo, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _CT, _ET, _MM, _VI, _CC, _CDo, _CEo, _CL, _CTo, _CR, _Exp, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY],
3352
+ [[2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [0, { [_hH]: _xaas }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [0, { [_hH]: _xact }], [0, { [_hH]: _ET }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CR_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }]]
3339
3353
  ];
3340
3354
  var HeadObjectRequest$ = [3, n0, _HOR,
3341
3355
  0,
@@ -3689,8 +3703,8 @@ var ObjectLockLegalHold$ = [3, n0, _OLLH,
3689
3703
  ];
3690
3704
  var ObjectLockRetention$ = [3, n0, _OLR,
3691
3705
  0,
3692
- [_Mo, _RUD],
3693
- [0, 5]
3706
+ [_Mo, _RUD, _EHv, _EHD],
3707
+ [0, 5, 0, () => EventHoldDuration$]
3694
3708
  ];
3695
3709
  var ObjectLockRule$ = [3, n0, _OLRb,
3696
3710
  0,
@@ -3914,8 +3928,8 @@ var PutObjectOutput$ = [3, n0, _POO,
3914
3928
  ];
3915
3929
  var PutObjectRequest$ = [3, n0, _POR,
3916
3930
  0,
3917
- [_B, _K, _ACL_, _Bo, _CC, _CDo, _CEo, _CL, _CLo, _CMDo, _CTo, _CA, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _Exp, _IM, _INM, _GFC, _GR, _GRACP, _GWACP, _WOB, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO],
3918
- [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [() => StreamingBlob, 16], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _CM }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [1, { [_hH]: _xawob }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }]], 2
3931
+ [_B, _K, _ACL_, _Bo, _CC, _CDo, _CEo, _CL, _CLo, _CMDo, _CTo, _CA, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _Exp, _IM, _INM, _GFC, _GR, _GRACP, _GWACP, _WOB, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY, _EBO],
3932
+ [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [() => StreamingBlob, 16], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _CM }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [1, { [_hH]: _xawob }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }], [0, { [_hH]: _xaebo }]], 2
3919
3933
  ];
3920
3934
  var PutObjectRetentionOutput$ = [3, n0, _PORO,
3921
3935
  0,
@@ -4743,7 +4757,7 @@ var WriteGetObjectResponse$ = [9, n0, _WGOR,
4743
4757
  class CreateSessionCommand extends command(_ep4, _mw0, "CreateSession", CreateSession$) {
4744
4758
  }
4745
4759
 
4746
- var version = "3.1125.0";
4760
+ var version = "3.1127.0";
4747
4761
  var packageInfo = {
4748
4762
  version: version};
4749
4763
 
@@ -5563,6 +5577,10 @@ const MetadataDirective = {
5563
5577
  COPY: "COPY",
5564
5578
  REPLACE: "REPLACE",
5565
5579
  };
5580
+ const ObjectLockEventHold = {
5581
+ OFF: "OFF",
5582
+ ON: "ON",
5583
+ };
5566
5584
  const ObjectLockLegalHoldStatus = {
5567
5585
  OFF: "OFF",
5568
5586
  ON: "ON",
@@ -5715,6 +5733,8 @@ const InventoryOptionalField = {
5715
5733
  LastModifiedDate: "LastModifiedDate",
5716
5734
  LifecycleExpirationDate: "LifecycleExpirationDate",
5717
5735
  ObjectAccessControlList: "ObjectAccessControlList",
5736
+ ObjectLockEventHoldDuration: "ObjectLockEventHoldDuration",
5737
+ ObjectLockEventHoldStatus: "ObjectLockEventHoldStatus",
5718
5738
  ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus",
5719
5739
  ObjectLockMode: "ObjectLockMode",
5720
5740
  ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate",
@@ -5778,6 +5798,7 @@ const Event = {
5778
5798
  s3_ObjectRestore_Completed: "s3:ObjectRestore:Completed",
5779
5799
  s3_ObjectRestore_Delete: "s3:ObjectRestore:Delete",
5780
5800
  s3_ObjectRestore_Post: "s3:ObjectRestore:Post",
5801
+ s3_ObjectRetention_Put: "s3:ObjectRetention:Put",
5781
5802
  s3_ObjectTagging_: "s3:ObjectTagging:*",
5782
5803
  s3_ObjectTagging_Delete: "s3:ObjectTagging:Delete",
5783
5804
  s3_ObjectTagging_Put: "s3:ObjectTagging:Put",
@@ -6096,6 +6117,7 @@ exports.ErrorDetails$ = ErrorDetails$;
6096
6117
  exports.ErrorDocument$ = ErrorDocument$;
6097
6118
  exports.Event = Event;
6098
6119
  exports.EventBridgeConfiguration$ = EventBridgeConfiguration$;
6120
+ exports.EventHoldDuration$ = EventHoldDuration$;
6099
6121
  exports.ExistingObjectReplication$ = ExistingObjectReplication$;
6100
6122
  exports.ExistingObjectReplicationStatus = ExistingObjectReplicationStatus;
6101
6123
  exports.ExpirationState = ExpirationState;
@@ -6382,6 +6404,7 @@ exports.ObjectEncryption$ = ObjectEncryption$;
6382
6404
  exports.ObjectIdentifier$ = ObjectIdentifier$;
6383
6405
  exports.ObjectLockConfiguration$ = ObjectLockConfiguration$;
6384
6406
  exports.ObjectLockEnabled = ObjectLockEnabled;
6407
+ exports.ObjectLockEventHold = ObjectLockEventHold;
6385
6408
  exports.ObjectLockLegalHold$ = ObjectLockLegalHold$;
6386
6409
  exports.ObjectLockLegalHoldStatus = ObjectLockLegalHoldStatus;
6387
6410
  exports.ObjectLockMode = ObjectLockMode;
@@ -67,6 +67,10 @@ export const MetadataDirective = {
67
67
  COPY: "COPY",
68
68
  REPLACE: "REPLACE",
69
69
  };
70
+ export const ObjectLockEventHold = {
71
+ OFF: "OFF",
72
+ ON: "ON",
73
+ };
70
74
  export const ObjectLockLegalHoldStatus = {
71
75
  OFF: "OFF",
72
76
  ON: "ON",
@@ -219,6 +223,8 @@ export const InventoryOptionalField = {
219
223
  LastModifiedDate: "LastModifiedDate",
220
224
  LifecycleExpirationDate: "LifecycleExpirationDate",
221
225
  ObjectAccessControlList: "ObjectAccessControlList",
226
+ ObjectLockEventHoldDuration: "ObjectLockEventHoldDuration",
227
+ ObjectLockEventHoldStatus: "ObjectLockEventHoldStatus",
222
228
  ObjectLockLegalHoldStatus: "ObjectLockLegalHoldStatus",
223
229
  ObjectLockMode: "ObjectLockMode",
224
230
  ObjectLockRetainUntilDate: "ObjectLockRetainUntilDate",
@@ -282,6 +288,7 @@ export const Event = {
282
288
  s3_ObjectRestore_Completed: "s3:ObjectRestore:Completed",
283
289
  s3_ObjectRestore_Delete: "s3:ObjectRestore:Delete",
284
290
  s3_ObjectRestore_Post: "s3:ObjectRestore:Post",
291
+ s3_ObjectRetention_Put: "s3:ObjectRetention:Put",
285
292
  s3_ObjectTagging_: "s3:ObjectTagging:*",
286
293
  s3_ObjectTagging_Delete: "s3:ObjectTagging:Delete",
287
294
  s3_ObjectTagging_Put: "s3:ObjectTagging:Put",
@@ -195,6 +195,7 @@ const _DBTR = "DeleteBucketTaggingRequest";
195
195
  const _DBW = "DeleteBucketWebsite";
196
196
  const _DBWR = "DeleteBucketWebsiteRequest";
197
197
  const _DE = "DataExport";
198
+ const _DEH = "DefaultEventHold";
198
199
  const _DIM = "DestinationIfMatch";
199
200
  const _DIMS = "DestinationIfModifiedSince";
200
201
  const _DINM = "DestinationIfNoneMatch";
@@ -242,6 +243,8 @@ const _ED = "ErrorDetails";
242
243
  const _EDr = "ErrorDocument";
243
244
  const _EE = "EndEvent";
244
245
  const _EH = "ExposeHeaders";
246
+ const _EHD = "EventHoldDuration";
247
+ const _EHv = "EventHold";
245
248
  const _EHx = "ExposeHeader";
246
249
  const _EM = "ErrorMessage";
247
250
  const _EODM = "ExpiredObjectDeleteMarker";
@@ -586,6 +589,9 @@ const _OL = "OutputLocation";
586
589
  const _OLC = "ObjectLockConfiguration";
587
590
  const _OLE = "ObjectLockEnabled";
588
591
  const _OLEFB = "ObjectLockEnabledForBucket";
592
+ const _OLEH = "ObjectLockEventHold";
593
+ const _OLEHDD = "ObjectLockEventHoldDurationDays";
594
+ const _OLEHDY = "ObjectLockEventHoldDurationYears";
589
595
  const _OLLH = "ObjectLockLegalHold";
590
596
  const _OLLHS = "ObjectLockLegalHoldStatus";
591
597
  const _OLM = "ObjectLockMode";
@@ -1029,6 +1035,9 @@ const _xampc = "x-amz-mp-parts-count";
1029
1035
  const _xaoa = "x-amz-object-attributes";
1030
1036
  const _xaoad = "x-amz-object-annotation-directive";
1031
1037
  const _xaoim = "x-amz-object-if-match";
1038
+ const _xaoleh = "x-amz-object-lock-event-hold";
1039
+ const _xaolehdd = "x-amz-object-lock-event-hold-duration-days";
1040
+ const _xaolehdy = "x-amz-object-lock-event-hold-duration-years";
1032
1041
  const _xaollh = "x-amz-object-lock-legal-hold";
1033
1042
  const _xaolm = "x-amz-object-lock-mode";
1034
1043
  const _xaolrud = "x-amz-object-lock-retain-until-date";
@@ -1360,8 +1369,8 @@ export var CopyObjectOutput$ = [3, n0, _COO,
1360
1369
  ];
1361
1370
  export var CopyObjectRequest$ = [3, n0, _CORo,
1362
1371
  0,
1363
- [_B, _CSo, _K, _ACL_, _CC, _CA, _CDo, _CEo, _CL, _CTo, _CSIM, _CSIMS, _CSINM, _CSIUS, _Exp, _GFC, _GR, _GRACP, _GWACP, _IM, _INM, _M, _MD, _TD, _ADn, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _CSSSECA, _CSSSECK, _CSSSECKMD, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO, _ESBO],
1364
- [[0, 1], [0, { [_hH]: _xacs___ }], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _xaca }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xacsim }], [4, { [_hH]: _xacsims }], [0, { [_hH]: _xacsinm }], [4, { [_hH]: _xacsius }], [4, { [_hH]: _Exp }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xamd }], [0, { [_hH]: _xatd }], [0, { [_hH]: _xaoad }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xacssseca }], [() => CopySourceSSECustomerKey, { [_hH]: _xacssseck }], [0, { [_hH]: _xacssseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasebo }]], 3
1372
+ [_B, _CSo, _K, _ACL_, _CC, _CA, _CDo, _CEo, _CL, _CTo, _CSIM, _CSIMS, _CSINM, _CSIUS, _Exp, _GFC, _GR, _GRACP, _GWACP, _IM, _INM, _M, _MD, _TD, _ADn, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _CSSSECA, _CSSSECK, _CSSSECKMD, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY, _EBO, _ESBO],
1373
+ [[0, 1], [0, { [_hH]: _xacs___ }], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _xaca }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xacsim }], [4, { [_hH]: _xacsims }], [0, { [_hH]: _xacsinm }], [4, { [_hH]: _xacsius }], [4, { [_hH]: _Exp }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xamd }], [0, { [_hH]: _xatd }], [0, { [_hH]: _xaoad }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xacssseca }], [() => CopySourceSSECustomerKey, { [_hH]: _xacssseck }], [0, { [_hH]: _xacssseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasebo }]], 3
1365
1374
  ];
1366
1375
  export var CopyObjectResult$ = [3, n0, _COR,
1367
1376
  0,
@@ -1415,8 +1424,8 @@ export var CreateMultipartUploadOutput$ = [3, n0, _CMUOr,
1415
1424
  ];
1416
1425
  export var CreateMultipartUploadRequest$ = [3, n0, _CMURr,
1417
1426
  0,
1418
- [_B, _K, _ACL_, _CC, _CDo, _CEo, _CL, _CTo, _Exp, _GFC, _GR, _GRACP, _GWACP, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO, _CA, _CT],
1419
- [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xaca }], [0, { [_hH]: _xact }]], 2
1427
+ [_B, _K, _ACL_, _CC, _CDo, _CEo, _CL, _CTo, _Exp, _GFC, _GR, _GRACP, _GWACP, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY, _EBO, _CA, _CT],
1428
+ [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xaca }], [0, { [_hH]: _xact }]], 2
1420
1429
  ];
1421
1430
  export var CreateSessionOutput$ = [3, n0, _CSO,
1422
1431
  { [_xN]: _CSR },
@@ -1440,8 +1449,8 @@ export var CSVOutput$ = [3, n0, _CSVO,
1440
1449
  ];
1441
1450
  export var DefaultRetention$ = [3, n0, _DRe,
1442
1451
  0,
1443
- [_Mo, _D, _Y],
1444
- [0, 1, 1]
1452
+ [_Mo, _D, _Y, _DEH],
1453
+ [0, 1, 1, () => EventHoldDuration$]
1445
1454
  ];
1446
1455
  export var Delete$ = [3, n0, _De,
1447
1456
  0,
@@ -1628,6 +1637,11 @@ export var EventBridgeConfiguration$ = [3, n0, _EBC,
1628
1637
  [],
1629
1638
  []
1630
1639
  ];
1640
+ export var EventHoldDuration$ = [3, n0, _EHD,
1641
+ 0,
1642
+ [_D, _Y],
1643
+ [1, 1]
1644
+ ];
1631
1645
  export var ExistingObjectReplication$ = [3, n0, _EOR,
1632
1646
  0,
1633
1647
  [_S],
@@ -1930,8 +1944,8 @@ export var GetObjectLockConfigurationRequest$ = [3, n0, _GOLCR,
1930
1944
  ];
1931
1945
  export var GetObjectOutput$ = [3, n0, _GOO,
1932
1946
  0,
1933
- [_Bo, _DM, _AR, _Ex, _Re, _LM, _CLo, _ET, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _CT, _MM, _VI, _CC, _CDo, _CEo, _CL, _CR, _CTo, _Exp, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS],
1934
- [[() => StreamingBlob, 16], [2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _ET }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [0, { [_hH]: _xact }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CR_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }]]
1947
+ [_Bo, _DM, _AR, _Ex, _Re, _LM, _CLo, _ET, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _CT, _MM, _VI, _CC, _CDo, _CEo, _CL, _CR, _CTo, _Exp, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY],
1948
+ [[() => StreamingBlob, 16], [2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _ET }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [0, { [_hH]: _xact }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CR_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }]]
1935
1949
  ];
1936
1950
  export var GetObjectRequest$ = [3, n0, _GOR,
1937
1951
  0,
@@ -2005,8 +2019,8 @@ export var HeadBucketRequest$ = [3, n0, _HBR,
2005
2019
  ];
2006
2020
  export var HeadObjectOutput$ = [3, n0, _HOO,
2007
2021
  0,
2008
- [_DM, _AR, _Ex, _Re, _ASr, _LM, _CLo, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _CT, _ET, _MM, _VI, _CC, _CDo, _CEo, _CL, _CTo, _CR, _Exp, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS],
2009
- [[2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [0, { [_hH]: _xaas }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [0, { [_hH]: _xact }], [0, { [_hH]: _ET }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CR_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }]]
2022
+ [_DM, _AR, _Ex, _Re, _ASr, _LM, _CLo, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _CT, _ET, _MM, _VI, _CC, _CDo, _CEo, _CL, _CTo, _CR, _Exp, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY],
2023
+ [[2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [0, { [_hH]: _xaas }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [0, { [_hH]: _xact }], [0, { [_hH]: _ET }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CR_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }]]
2010
2024
  ];
2011
2025
  export var HeadObjectRequest$ = [3, n0, _HOR,
2012
2026
  0,
@@ -2360,8 +2374,8 @@ export var ObjectLockLegalHold$ = [3, n0, _OLLH,
2360
2374
  ];
2361
2375
  export var ObjectLockRetention$ = [3, n0, _OLR,
2362
2376
  0,
2363
- [_Mo, _RUD],
2364
- [0, 5]
2377
+ [_Mo, _RUD, _EHv, _EHD],
2378
+ [0, 5, 0, () => EventHoldDuration$]
2365
2379
  ];
2366
2380
  export var ObjectLockRule$ = [3, n0, _OLRb,
2367
2381
  0,
@@ -2585,8 +2599,8 @@ export var PutObjectOutput$ = [3, n0, _POO,
2585
2599
  ];
2586
2600
  export var PutObjectRequest$ = [3, n0, _POR,
2587
2601
  0,
2588
- [_B, _K, _ACL_, _Bo, _CC, _CDo, _CEo, _CL, _CLo, _CMDo, _CTo, _CA, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _Exp, _IM, _INM, _GFC, _GR, _GRACP, _GWACP, _WOB, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO],
2589
- [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [() => StreamingBlob, 16], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _CM }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [1, { [_hH]: _xawob }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }]], 2
2602
+ [_B, _K, _ACL_, _Bo, _CC, _CDo, _CEo, _CL, _CLo, _CMDo, _CTo, _CA, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _Exp, _IM, _INM, _GFC, _GR, _GRACP, _GWACP, _WOB, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY, _EBO],
2603
+ [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [() => StreamingBlob, 16], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _CM }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [1, { [_hH]: _xawob }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }], [0, { [_hH]: _xaebo }]], 2
2590
2604
  ];
2591
2605
  export var PutObjectRetentionOutput$ = [3, n0, _PORO,
2592
2606
  0,
@@ -279,6 +279,9 @@ declare const CopyObjectCommand_base: {
279
279
  * ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
280
280
  * ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
281
281
  * ObjectLockLegalHoldStatus: "ON" || "OFF",
282
+ * ObjectLockEventHold: "ON" || "OFF",
283
+ * ObjectLockEventHoldDurationDays: Number("int"),
284
+ * ObjectLockEventHoldDurationYears: Number("int"),
282
285
  * ExpectedBucketOwner: "STRING_VALUE",
283
286
  * ExpectedSourceBucketOwner: "STRING_VALUE",
284
287
  * };
@@ -313,6 +313,9 @@ declare const CreateMultipartUploadCommand_base: {
313
313
  * ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
314
314
  * ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
315
315
  * ObjectLockLegalHoldStatus: "ON" || "OFF",
316
+ * ObjectLockEventHold: "ON" || "OFF",
317
+ * ObjectLockEventHoldDurationDays: Number("int"),
318
+ * ObjectLockEventHoldDurationYears: Number("int"),
316
319
  * ExpectedBucketOwner: "STRING_VALUE",
317
320
  * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME" || "SHA512" || "MD5" || "XXHASH64" || "XXHASH3" || "XXHASH128",
318
321
  * ChecksumType: "COMPOSITE" || "FULL_OBJECT",
@@ -124,7 +124,7 @@ declare const GetBucketInventoryConfigurationCommand_base: {
124
124
  * // Id: "STRING_VALUE", // required
125
125
  * // IncludedObjectVersions: "All" || "Current", // required
126
126
  * // OptionalFields: [ // InventoryOptionalFields
127
- * // "Size" || "LastModifiedDate" || "StorageClass" || "ETag" || "IsMultipartUploaded" || "ReplicationStatus" || "EncryptionStatus" || "ObjectLockRetainUntilDate" || "ObjectLockMode" || "ObjectLockLegalHoldStatus" || "IntelligentTieringAccessTier" || "BucketKeyStatus" || "ChecksumAlgorithm" || "ObjectAccessControlList" || "ObjectOwner" || "LifecycleExpirationDate",
127
+ * // "Size" || "LastModifiedDate" || "StorageClass" || "ETag" || "IsMultipartUploaded" || "ReplicationStatus" || "EncryptionStatus" || "ObjectLockRetainUntilDate" || "ObjectLockMode" || "ObjectLockLegalHoldStatus" || "ObjectLockEventHoldStatus" || "ObjectLockEventHoldDuration" || "IntelligentTieringAccessTier" || "BucketKeyStatus" || "ChecksumAlgorithm" || "ObjectAccessControlList" || "ObjectOwner" || "LifecycleExpirationDate",
128
128
  * // ],
129
129
  * // Schedule: { // InventorySchedule
130
130
  * // Frequency: "Daily" || "Weekly", // required
@@ -72,7 +72,7 @@ declare const GetBucketNotificationConfigurationCommand_base: {
72
72
  * // Id: "STRING_VALUE",
73
73
  * // TopicArn: "STRING_VALUE", // required
74
74
  * // Events: [ // EventList // required
75
- * // "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",
75
+ * // "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",
76
76
  * // ],
77
77
  * // Filter: { // NotificationConfigurationFilter
78
78
  * // Key: { // S3KeyFilter
@@ -91,7 +91,7 @@ declare const GetBucketNotificationConfigurationCommand_base: {
91
91
  * // Id: "STRING_VALUE",
92
92
  * // QueueArn: "STRING_VALUE", // required
93
93
  * // Events: [ // required
94
- * // "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",
94
+ * // "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",
95
95
  * // ],
96
96
  * // Filter: {
97
97
  * // Key: {
@@ -110,7 +110,7 @@ declare const GetBucketNotificationConfigurationCommand_base: {
110
110
  * // Id: "STRING_VALUE",
111
111
  * // LambdaFunctionArn: "STRING_VALUE", // required
112
112
  * // Events: [ // required
113
- * // "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",
113
+ * // "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",
114
114
  * // ],
115
115
  * // Filter: {
116
116
  * // Key: {
@@ -275,6 +275,9 @@ declare const GetObjectCommand_base: {
275
275
  * // ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
276
276
  * // ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
277
277
  * // ObjectLockLegalHoldStatus: "ON" || "OFF",
278
+ * // ObjectLockEventHold: "ON" || "OFF",
279
+ * // ObjectLockEventHoldDurationDays: Number("int"),
280
+ * // ObjectLockEventHoldDurationYears: Number("int"),
278
281
  * // };
279
282
  *
280
283
  * ```
@@ -63,6 +63,10 @@ declare const GetObjectLockConfigurationCommand_base: {
63
63
  * // Mode: "GOVERNANCE" || "COMPLIANCE",
64
64
  * // Days: Number("int"),
65
65
  * // Years: Number("int"),
66
+ * // DefaultEventHold: { // EventHoldDuration
67
+ * // Days: Number("int"),
68
+ * // Years: Number("int"),
69
+ * // },
66
70
  * // },
67
71
  * // },
68
72
  * // },
@@ -61,6 +61,11 @@ declare const GetObjectRetentionCommand_base: {
61
61
  * // Retention: { // ObjectLockRetention
62
62
  * // Mode: "GOVERNANCE" || "COMPLIANCE",
63
63
  * // RetainUntilDate: new Date("TIMESTAMP"),
64
+ * // EventHold: "ON" || "OFF",
65
+ * // EventHoldDuration: { // EventHoldDuration
66
+ * // Days: Number("int"),
67
+ * // Years: Number("int"),
68
+ * // },
64
69
  * // },
65
70
  * // };
66
71
  *
@@ -258,6 +258,9 @@ declare const HeadObjectCommand_base: {
258
258
  * // ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
259
259
  * // ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
260
260
  * // ObjectLockLegalHoldStatus: "ON" || "OFF",
261
+ * // ObjectLockEventHold: "ON" || "OFF",
262
+ * // ObjectLockEventHoldDurationDays: Number("int"),
263
+ * // ObjectLockEventHoldDurationYears: Number("int"),
261
264
  * // };
262
265
  *
263
266
  * ```
@@ -133,7 +133,7 @@ declare const ListBucketInventoryConfigurationsCommand_base: {
133
133
  * // Id: "STRING_VALUE", // required
134
134
  * // IncludedObjectVersions: "All" || "Current", // required
135
135
  * // OptionalFields: [ // InventoryOptionalFields
136
- * // "Size" || "LastModifiedDate" || "StorageClass" || "ETag" || "IsMultipartUploaded" || "ReplicationStatus" || "EncryptionStatus" || "ObjectLockRetainUntilDate" || "ObjectLockMode" || "ObjectLockLegalHoldStatus" || "IntelligentTieringAccessTier" || "BucketKeyStatus" || "ChecksumAlgorithm" || "ObjectAccessControlList" || "ObjectOwner" || "LifecycleExpirationDate",
136
+ * // "Size" || "LastModifiedDate" || "StorageClass" || "ETag" || "IsMultipartUploaded" || "ReplicationStatus" || "EncryptionStatus" || "ObjectLockRetainUntilDate" || "ObjectLockMode" || "ObjectLockLegalHoldStatus" || "ObjectLockEventHoldStatus" || "ObjectLockEventHoldDuration" || "IntelligentTieringAccessTier" || "BucketKeyStatus" || "ChecksumAlgorithm" || "ObjectAccessControlList" || "ObjectOwner" || "LifecycleExpirationDate",
137
137
  * // ],
138
138
  * // Schedule: { // InventorySchedule
139
139
  * // Frequency: "Daily" || "Weekly", // required
@@ -169,7 +169,7 @@ declare const PutBucketInventoryConfigurationCommand_base: {
169
169
  * Id: "STRING_VALUE", // required
170
170
  * IncludedObjectVersions: "All" || "Current", // required
171
171
  * OptionalFields: [ // InventoryOptionalFields
172
- * "Size" || "LastModifiedDate" || "StorageClass" || "ETag" || "IsMultipartUploaded" || "ReplicationStatus" || "EncryptionStatus" || "ObjectLockRetainUntilDate" || "ObjectLockMode" || "ObjectLockLegalHoldStatus" || "IntelligentTieringAccessTier" || "BucketKeyStatus" || "ChecksumAlgorithm" || "ObjectAccessControlList" || "ObjectOwner" || "LifecycleExpirationDate",
172
+ * "Size" || "LastModifiedDate" || "StorageClass" || "ETag" || "IsMultipartUploaded" || "ReplicationStatus" || "EncryptionStatus" || "ObjectLockRetainUntilDate" || "ObjectLockMode" || "ObjectLockLegalHoldStatus" || "ObjectLockEventHoldStatus" || "ObjectLockEventHoldDuration" || "IntelligentTieringAccessTier" || "BucketKeyStatus" || "ChecksumAlgorithm" || "ObjectAccessControlList" || "ObjectOwner" || "LifecycleExpirationDate",
173
173
  * ],
174
174
  * Schedule: { // InventorySchedule
175
175
  * Frequency: "Daily" || "Weekly", // required
@@ -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,31 @@ 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.</p>
1665
+ * <note>
1666
+ * <p>This functionality is not supported for directory buckets.</p>
1667
+ * </note>
1668
+ * @public
1669
+ */
1670
+ ObjectLockEventHoldDurationDays?: number | undefined;
1671
+ /**
1672
+ * <p>The event hold duration in years to apply to the object copy.</p>
1673
+ * <note>
1674
+ * <p>This functionality is not supported for directory buckets.</p>
1675
+ * </note>
1676
+ * @public
1677
+ */
1678
+ ObjectLockEventHoldDurationYears?: number | undefined;
1654
1679
  /**
1655
1680
  * <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
1681
  * @public
@@ -2869,6 +2894,31 @@ export interface CreateMultipartUploadRequest {
2869
2894
  * @public
2870
2895
  */
2871
2896
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
2897
+ /**
2898
+ * <p>Specifies the event hold status to apply to the uploaded object. Set to <code>ON</code> to enable
2899
+ * or <code>OFF</code> to disable.</p>
2900
+ * <note>
2901
+ * <p>This functionality is not supported for directory buckets.</p>
2902
+ * </note>
2903
+ * @public
2904
+ */
2905
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
2906
+ /**
2907
+ * <p>Specifies the event hold duration in days to apply to the uploaded object.</p>
2908
+ * <note>
2909
+ * <p>This functionality is not supported for directory buckets.</p>
2910
+ * </note>
2911
+ * @public
2912
+ */
2913
+ ObjectLockEventHoldDurationDays?: number | undefined;
2914
+ /**
2915
+ * <p>Specifies the event hold duration in years to apply to the uploaded object.</p>
2916
+ * <note>
2917
+ * <p>This functionality is not supported for directory buckets.</p>
2918
+ * </note>
2919
+ * @public
2920
+ */
2921
+ ObjectLockEventHoldDurationYears?: number | undefined;
2872
2922
  /**
2873
2923
  * <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
2924
  * @public
@@ -9302,7 +9352,7 @@ export interface GetObjectOutput {
9302
9352
  */
9303
9353
  ETag?: string | undefined;
9304
9354
  /**
9305
- * <p>The Base64 encoded, 32-bit <code>CRC32</code> checksum of the object. This checksum is only present if the object was uploaded
9355
+ * <p>The Base64 encoded, 32-bit <code>CRC32</code> checksum of the object. This checksum is only present if the checksum was uploaded
9306
9356
  * with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">
9307
9357
  * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
9308
9358
  * @public
@@ -9567,6 +9617,33 @@ export interface GetObjectOutput {
9567
9617
  * @public
9568
9618
  */
9569
9619
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
9620
+ /**
9621
+ * <p>The event hold status for this object. This header is only returned if the requester has the
9622
+ * <code>s3:GetObjectRetention</code> permission.</p>
9623
+ * <note>
9624
+ * <p>This functionality is not supported for directory buckets.</p>
9625
+ * </note>
9626
+ * @public
9627
+ */
9628
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
9629
+ /**
9630
+ * <p>The event hold duration in days for this object. Only returned when the event hold is
9631
+ * enabled.</p>
9632
+ * <note>
9633
+ * <p>This functionality is not supported for directory buckets.</p>
9634
+ * </note>
9635
+ * @public
9636
+ */
9637
+ ObjectLockEventHoldDurationDays?: number | undefined;
9638
+ /**
9639
+ * <p>The event hold duration in years for this object. Only returned when the event hold is
9640
+ * enabled.</p>
9641
+ * <note>
9642
+ * <p>This functionality is not supported for directory buckets.</p>
9643
+ * </note>
9644
+ * @public
9645
+ */
9646
+ ObjectLockEventHoldDurationYears?: number | undefined;
9570
9647
  }
9571
9648
  /**
9572
9649
  * @public
@@ -10550,6 +10627,24 @@ export interface GetObjectLegalHoldRequest {
10550
10627
  */
10551
10628
  ExpectedBucketOwner?: string | undefined;
10552
10629
  }
10630
+ /**
10631
+ * <p>Contains the event hold duration configuration, specified in either days or years.</p>
10632
+ * @public
10633
+ */
10634
+ export interface EventHoldDuration {
10635
+ /**
10636
+ * <p>The number of days for the event hold duration. The minimum value is 1 and the maximum value is
10637
+ * 36,500.</p>
10638
+ * @public
10639
+ */
10640
+ Days?: number | undefined;
10641
+ /**
10642
+ * <p>The number of years for the event hold duration. The minimum value is 1 and the maximum value is
10643
+ * 100.</p>
10644
+ * @public
10645
+ */
10646
+ Years?: number | undefined;
10647
+ }
10553
10648
  /**
10554
10649
  * <p>The container element for optionally specifying the default Object Lock retention settings for new
10555
10650
  * objects placed in the specified bucket.</p>
@@ -10586,6 +10681,12 @@ export interface DefaultRetention {
10586
10681
  * @public
10587
10682
  */
10588
10683
  Years?: number | undefined;
10684
+ /**
10685
+ * <p>The default event hold duration to be applied to new objects placed in the specified bucket. When
10686
+ * configured, new objects will automatically have an event hold enabled with this duration.</p>
10687
+ * @public
10688
+ */
10689
+ DefaultEventHold?: EventHoldDuration | undefined;
10589
10690
  }
10590
10691
  /**
10591
10692
  * <p>The container element for an Object Lock rule.</p>
@@ -10666,6 +10767,18 @@ export interface ObjectLockRetention {
10666
10767
  * @public
10667
10768
  */
10668
10769
  RetainUntilDate?: Date | undefined;
10770
+ /**
10771
+ * <p>The event hold status for the object. Set to <code>ON</code> to enable an event hold or
10772
+ * <code>OFF</code> to disable it.</p>
10773
+ * @public
10774
+ */
10775
+ EventHold?: ObjectLockEventHold | undefined;
10776
+ /**
10777
+ * <p>The event hold duration for the object. Specifies how long the object remains protected after the
10778
+ * event hold is released.</p>
10779
+ * @public
10780
+ */
10781
+ EventHoldDuration?: EventHoldDuration | undefined;
10669
10782
  }
10670
10783
  /**
10671
10784
  * @public
@@ -11383,6 +11496,33 @@ export interface HeadObjectOutput {
11383
11496
  * @public
11384
11497
  */
11385
11498
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
11499
+ /**
11500
+ * <p>The event hold status for this object. This header is only returned if the requester has the
11501
+ * <code>s3:GetObjectRetention</code> permission.</p>
11502
+ * <note>
11503
+ * <p>This functionality is not supported for directory buckets.</p>
11504
+ * </note>
11505
+ * @public
11506
+ */
11507
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
11508
+ /**
11509
+ * <p>The event hold duration in days for this object. Only returned when the event hold is
11510
+ * enabled.</p>
11511
+ * <note>
11512
+ * <p>This functionality is not supported for directory buckets.</p>
11513
+ * </note>
11514
+ * @public
11515
+ */
11516
+ ObjectLockEventHoldDurationDays?: number | undefined;
11517
+ /**
11518
+ * <p>The event hold duration in years for this object. Only returned when the event hold is
11519
+ * enabled.</p>
11520
+ * <note>
11521
+ * <p>This functionality is not supported for directory buckets.</p>
11522
+ * </note>
11523
+ * @public
11524
+ */
11525
+ ObjectLockEventHoldDurationYears?: number | undefined;
11386
11526
  }
11387
11527
  /**
11388
11528
  * @public
@@ -15500,6 +15640,31 @@ export interface PutObjectRequest {
15500
15640
  * @public
15501
15641
  */
15502
15642
  ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
15643
+ /**
15644
+ * <p>Specifies the event hold status to apply to this object. Set to <code>ON</code> to enable or
15645
+ * <code>OFF</code> to disable.</p>
15646
+ * <note>
15647
+ * <p>This functionality is not supported for directory buckets.</p>
15648
+ * </note>
15649
+ * @public
15650
+ */
15651
+ ObjectLockEventHold?: ObjectLockEventHold | undefined;
15652
+ /**
15653
+ * <p>Specifies the event hold duration in days to apply to this object.</p>
15654
+ * <note>
15655
+ * <p>This functionality is not supported for directory buckets.</p>
15656
+ * </note>
15657
+ * @public
15658
+ */
15659
+ ObjectLockEventHoldDurationDays?: number | undefined;
15660
+ /**
15661
+ * <p>Specifies the event hold duration in years to apply to this object.</p>
15662
+ * <note>
15663
+ * <p>This functionality is not supported for directory buckets.</p>
15664
+ * </note>
15665
+ * @public
15666
+ */
15667
+ ObjectLockEventHoldDurationYears?: number | undefined;
15503
15668
  /**
15504
15669
  * <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
15670
  * @public
@@ -16146,45 +16311,3 @@ export interface PutObjectTaggingRequest {
16146
16311
  */
16147
16312
  RequestPayer?: RequestPayer | undefined;
16148
16313
  }
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;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
- "version": "3.1126.0",
3
+ "version": "3.1128.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.1126.0",
70
+ "@aws-sdk/signature-v4-crt": "3.1128.0",
71
71
  "@smithy/snapshot-testing": "^2.3.2",
72
72
  "@tsconfig/node20": "20.1.8",
73
73
  "@types/node": "^20.14.8",