@distilled.cloud/aws 0.16.9 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/s3.d.ts +104 -93
- package/lib/services/s3.d.ts.map +1 -1
- package/lib/services/s3.js +136 -76
- package/lib/services/s3.js.map +1 -1
- package/package.json +2 -3
- package/src/services/s3.ts +235 -77
package/lib/services/s3.js
CHANGED
|
@@ -4807,6 +4807,8 @@ export class NoSuchUpload extends S.TaggedErrorClass()("NoSuchUpload", {}).pipe(
|
|
|
4807
4807
|
}
|
|
4808
4808
|
export class RequestLimitExceeded extends S.TaggedErrorClass()("RequestLimitExceeded", {}).pipe(C.withThrottlingError) {
|
|
4809
4809
|
}
|
|
4810
|
+
export class SlowDown extends S.TaggedErrorClass()("SlowDown", {}).pipe(C.withThrottlingError, C.withRetryableError) {
|
|
4811
|
+
}
|
|
4810
4812
|
export class NoSuchBucket extends S.TaggedErrorClass()("NoSuchBucket", { Message: S.optional(S.String), BucketName: S.optional(S.String) }) {
|
|
4811
4813
|
}
|
|
4812
4814
|
export class NotFound extends S.TaggedErrorClass()("NotFound", {}) {
|
|
@@ -4946,7 +4948,13 @@ export class ObjectAlreadyInActiveTierError extends S.TaggedErrorClass()("Object
|
|
|
4946
4948
|
export const abortMultipartUpload = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4947
4949
|
input: AbortMultipartUploadRequest,
|
|
4948
4950
|
output: AbortMultipartUploadOutput,
|
|
4949
|
-
errors: [
|
|
4951
|
+
errors: [
|
|
4952
|
+
NoSuchUpload,
|
|
4953
|
+
RequestLimitExceeded,
|
|
4954
|
+
SlowDown,
|
|
4955
|
+
NoSuchBucket,
|
|
4956
|
+
NotFound,
|
|
4957
|
+
],
|
|
4950
4958
|
}));
|
|
4951
4959
|
/**
|
|
4952
4960
|
* Completes a multipart upload by assembling previously uploaded parts.
|
|
@@ -5233,6 +5241,7 @@ export const copyObject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
5233
5241
|
errors: [
|
|
5234
5242
|
ObjectNotInActiveTierError,
|
|
5235
5243
|
RequestLimitExceeded,
|
|
5244
|
+
SlowDown,
|
|
5236
5245
|
NoSuchBucket,
|
|
5237
5246
|
PermanentRedirect,
|
|
5238
5247
|
],
|
|
@@ -5358,6 +5367,7 @@ export const createBucket = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
5358
5367
|
BucketAlreadyExists,
|
|
5359
5368
|
BucketAlreadyOwnedByYou,
|
|
5360
5369
|
RequestLimitExceeded,
|
|
5370
|
+
SlowDown,
|
|
5361
5371
|
IllegalLocationConstraintException,
|
|
5362
5372
|
InvalidArgument,
|
|
5363
5373
|
InvalidBucketName,
|
|
@@ -5655,7 +5665,7 @@ export const createBucketMetadataTableConfiguration = /*@__PURE__*/ /*#__PURE__*
|
|
|
5655
5665
|
export const createMultipartUpload = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
5656
5666
|
input: CreateMultipartUploadRequest,
|
|
5657
5667
|
output: CreateMultipartUploadOutput,
|
|
5658
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
5668
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
5659
5669
|
}));
|
|
5660
5670
|
/**
|
|
5661
5671
|
* Creates a session that establishes temporary security credentials to support fast authentication and
|
|
@@ -5797,6 +5807,7 @@ export const deleteBucket = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
5797
5807
|
output: DeleteBucketResponse,
|
|
5798
5808
|
errors: [
|
|
5799
5809
|
RequestLimitExceeded,
|
|
5810
|
+
SlowDown,
|
|
5800
5811
|
BucketNotEmpty,
|
|
5801
5812
|
NoSuchBucket,
|
|
5802
5813
|
PermanentRedirect,
|
|
@@ -5829,7 +5840,7 @@ export const deleteBucket = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
5829
5840
|
export const deleteBucketAnalyticsConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
5830
5841
|
input: DeleteBucketAnalyticsConfigurationRequest,
|
|
5831
5842
|
output: DeleteBucketAnalyticsConfigurationResponse,
|
|
5832
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
5843
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
5833
5844
|
}));
|
|
5834
5845
|
/**
|
|
5835
5846
|
* This operation is not supported for directory buckets.
|
|
@@ -5853,7 +5864,7 @@ export const deleteBucketAnalyticsConfiguration = /*@__PURE__*/ /*#__PURE__*/ AP
|
|
|
5853
5864
|
export const deleteBucketCors = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
5854
5865
|
input: DeleteBucketCorsRequest,
|
|
5855
5866
|
output: DeleteBucketCorsResponse,
|
|
5856
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
5867
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
5857
5868
|
}));
|
|
5858
5869
|
/**
|
|
5859
5870
|
* This implementation of the DELETE action resets the default encryption for the bucket as server-side
|
|
@@ -5896,7 +5907,7 @@ export const deleteBucketCors = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
5896
5907
|
export const deleteBucketEncryption = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
5897
5908
|
input: DeleteBucketEncryptionRequest,
|
|
5898
5909
|
output: DeleteBucketEncryptionResponse,
|
|
5899
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
5910
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
5900
5911
|
}));
|
|
5901
5912
|
/**
|
|
5902
5913
|
* This operation is not supported for directory buckets.
|
|
@@ -5922,7 +5933,7 @@ export const deleteBucketEncryption = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
5922
5933
|
export const deleteBucketIntelligentTieringConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
5923
5934
|
input: DeleteBucketIntelligentTieringConfigurationRequest,
|
|
5924
5935
|
output: DeleteBucketIntelligentTieringConfigurationResponse,
|
|
5925
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
5936
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
5926
5937
|
}));
|
|
5927
5938
|
/**
|
|
5928
5939
|
* This operation is not supported for directory buckets.
|
|
@@ -5952,7 +5963,7 @@ export const deleteBucketIntelligentTieringConfiguration = /*@__PURE__*/ /*#__PU
|
|
|
5952
5963
|
export const deleteBucketInventoryConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
5953
5964
|
input: DeleteBucketInventoryConfigurationRequest,
|
|
5954
5965
|
output: DeleteBucketInventoryConfigurationResponse,
|
|
5955
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
5966
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
5956
5967
|
}));
|
|
5957
5968
|
/**
|
|
5958
5969
|
* Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the lifecycle
|
|
@@ -6006,7 +6017,7 @@ export const deleteBucketInventoryConfiguration = /*@__PURE__*/ /*#__PURE__*/ AP
|
|
|
6006
6017
|
export const deleteBucketLifecycle = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6007
6018
|
input: DeleteBucketLifecycleRequest,
|
|
6008
6019
|
output: DeleteBucketLifecycleResponse,
|
|
6009
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
6020
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6010
6021
|
}));
|
|
6011
6022
|
/**
|
|
6012
6023
|
* Deletes an S3 Metadata configuration from a general purpose bucket. For more information, see
|
|
@@ -6042,7 +6053,7 @@ export const deleteBucketLifecycle = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
6042
6053
|
export const deleteBucketMetadataConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6043
6054
|
input: DeleteBucketMetadataConfigurationRequest,
|
|
6044
6055
|
output: DeleteBucketMetadataConfigurationResponse,
|
|
6045
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
6056
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6046
6057
|
}));
|
|
6047
6058
|
/**
|
|
6048
6059
|
* We recommend that you delete your S3 Metadata configurations by using the V2
|
|
@@ -6084,7 +6095,7 @@ export const deleteBucketMetadataConfiguration = /*@__PURE__*/ /*#__PURE__*/ API
|
|
|
6084
6095
|
export const deleteBucketMetadataTableConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6085
6096
|
input: DeleteBucketMetadataTableConfigurationRequest,
|
|
6086
6097
|
output: DeleteBucketMetadataTableConfigurationResponse,
|
|
6087
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
6098
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6088
6099
|
}));
|
|
6089
6100
|
/**
|
|
6090
6101
|
* Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the metrics
|
|
@@ -6135,7 +6146,7 @@ export const deleteBucketMetadataTableConfiguration = /*@__PURE__*/ /*#__PURE__*
|
|
|
6135
6146
|
export const deleteBucketMetricsConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6136
6147
|
input: DeleteBucketMetricsConfigurationRequest,
|
|
6137
6148
|
output: DeleteBucketMetricsConfigurationResponse,
|
|
6138
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
6149
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6139
6150
|
}));
|
|
6140
6151
|
/**
|
|
6141
6152
|
* This operation is not supported for directory buckets.
|
|
@@ -6158,7 +6169,7 @@ export const deleteBucketMetricsConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
|
6158
6169
|
export const deleteBucketOwnershipControls = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6159
6170
|
input: DeleteBucketOwnershipControlsRequest,
|
|
6160
6171
|
output: DeleteBucketOwnershipControlsResponse,
|
|
6161
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
6172
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6162
6173
|
}));
|
|
6163
6174
|
/**
|
|
6164
6175
|
* Deletes the policy of a specified bucket.
|
|
@@ -6214,6 +6225,7 @@ export const deleteBucketPolicy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6214
6225
|
output: DeleteBucketPolicyResponse,
|
|
6215
6226
|
errors: [
|
|
6216
6227
|
RequestLimitExceeded,
|
|
6228
|
+
SlowDown,
|
|
6217
6229
|
NoSuchBucket,
|
|
6218
6230
|
PermanentRedirect,
|
|
6219
6231
|
SignatureDoesNotMatch,
|
|
@@ -6245,7 +6257,7 @@ export const deleteBucketPolicy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6245
6257
|
export const deleteBucketReplication = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6246
6258
|
input: DeleteBucketReplicationRequest,
|
|
6247
6259
|
output: DeleteBucketReplicationResponse,
|
|
6248
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
6260
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6249
6261
|
}));
|
|
6250
6262
|
/**
|
|
6251
6263
|
* This operation is not supported for directory buckets.
|
|
@@ -6266,7 +6278,7 @@ export const deleteBucketReplication = /*@__PURE__*/ /*#__PURE__*/ API.make(() =
|
|
|
6266
6278
|
export const deleteBucketTagging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6267
6279
|
input: DeleteBucketTaggingRequest,
|
|
6268
6280
|
output: DeleteBucketTaggingResponse,
|
|
6269
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
6281
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6270
6282
|
}));
|
|
6271
6283
|
/**
|
|
6272
6284
|
* This operation is not supported for directory buckets.
|
|
@@ -6295,7 +6307,7 @@ export const deleteBucketTagging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6295
6307
|
export const deleteBucketWebsite = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6296
6308
|
input: DeleteBucketWebsiteRequest,
|
|
6297
6309
|
output: DeleteBucketWebsiteResponse,
|
|
6298
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
6310
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6299
6311
|
}));
|
|
6300
6312
|
/**
|
|
6301
6313
|
* Removes an object from a bucket. The behavior depends on the bucket's versioning state:
|
|
@@ -6390,7 +6402,13 @@ export const deleteBucketWebsite = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6390
6402
|
export const deleteObject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6391
6403
|
input: DeleteObjectRequest,
|
|
6392
6404
|
output: DeleteObjectOutput,
|
|
6393
|
-
errors: [
|
|
6405
|
+
errors: [
|
|
6406
|
+
RequestLimitExceeded,
|
|
6407
|
+
SlowDown,
|
|
6408
|
+
NoSuchBucket,
|
|
6409
|
+
PermanentRedirect,
|
|
6410
|
+
NotFound,
|
|
6411
|
+
],
|
|
6394
6412
|
}));
|
|
6395
6413
|
/**
|
|
6396
6414
|
* This operation enables you to delete multiple objects from a bucket using a single HTTP request. If
|
|
@@ -6487,7 +6505,7 @@ export const deleteObject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6487
6505
|
export const deleteObjects = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6488
6506
|
input: DeleteObjectsRequest,
|
|
6489
6507
|
output: DeleteObjectsOutput,
|
|
6490
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
6508
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
6491
6509
|
}));
|
|
6492
6510
|
/**
|
|
6493
6511
|
* This operation is not supported for directory buckets.
|
|
@@ -6513,7 +6531,7 @@ export const deleteObjects = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6513
6531
|
export const deleteObjectTagging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6514
6532
|
input: DeleteObjectTaggingRequest,
|
|
6515
6533
|
output: DeleteObjectTaggingOutput,
|
|
6516
|
-
errors: [RequestLimitExceeded, NoSuchKey, PermanentRedirect],
|
|
6534
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchKey, PermanentRedirect],
|
|
6517
6535
|
}));
|
|
6518
6536
|
/**
|
|
6519
6537
|
* This operation is not supported for directory buckets.
|
|
@@ -6541,7 +6559,7 @@ export const deleteObjectTagging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6541
6559
|
export const deletePublicAccessBlock = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6542
6560
|
input: DeletePublicAccessBlockRequest,
|
|
6543
6561
|
output: DeletePublicAccessBlockResponse,
|
|
6544
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
6562
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6545
6563
|
}));
|
|
6546
6564
|
/**
|
|
6547
6565
|
* Returns the attribute-based access control (ABAC) property of the general purpose bucket. If ABAC is enabled on your bucket, you can use tags on the bucket for access control. For more information, see Enabling ABAC in general purpose buckets.
|
|
@@ -6549,7 +6567,7 @@ export const deletePublicAccessBlock = /*@__PURE__*/ /*#__PURE__*/ API.make(() =
|
|
|
6549
6567
|
export const getBucketAbac = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6550
6568
|
input: GetBucketAbacRequest,
|
|
6551
6569
|
output: GetBucketAbacOutput,
|
|
6552
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
6570
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6553
6571
|
}));
|
|
6554
6572
|
/**
|
|
6555
6573
|
* This operation is not supported for directory buckets.
|
|
@@ -6583,7 +6601,7 @@ export const getBucketAbac = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6583
6601
|
export const getBucketAccelerateConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6584
6602
|
input: GetBucketAccelerateConfigurationRequest,
|
|
6585
6603
|
output: GetBucketAccelerateConfigurationOutput,
|
|
6586
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
6604
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
6587
6605
|
}));
|
|
6588
6606
|
/**
|
|
6589
6607
|
* This operation is not supported for directory buckets.
|
|
@@ -6615,7 +6633,7 @@ export const getBucketAccelerateConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
|
6615
6633
|
export const getBucketAcl = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6616
6634
|
input: GetBucketAclRequest,
|
|
6617
6635
|
output: GetBucketAclOutput,
|
|
6618
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
6636
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
6619
6637
|
}));
|
|
6620
6638
|
/**
|
|
6621
6639
|
* This operation is not supported for directory buckets.
|
|
@@ -6644,7 +6662,7 @@ export const getBucketAcl = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6644
6662
|
export const getBucketAnalyticsConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6645
6663
|
input: GetBucketAnalyticsConfigurationRequest,
|
|
6646
6664
|
output: GetBucketAnalyticsConfigurationOutput,
|
|
6647
|
-
errors: [RequestLimitExceeded, NoSuchBucket, NoSuchConfiguration],
|
|
6665
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, NoSuchConfiguration],
|
|
6648
6666
|
}));
|
|
6649
6667
|
/**
|
|
6650
6668
|
* This operation is not supported for directory buckets.
|
|
@@ -6677,6 +6695,7 @@ export const getBucketCors = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6677
6695
|
output: GetBucketCorsOutput,
|
|
6678
6696
|
errors: [
|
|
6679
6697
|
RequestLimitExceeded,
|
|
6698
|
+
SlowDown,
|
|
6680
6699
|
NoSuchBucket,
|
|
6681
6700
|
NoSuchCORSConfiguration,
|
|
6682
6701
|
PermanentRedirect,
|
|
@@ -6723,7 +6742,13 @@ export const getBucketCors = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6723
6742
|
export const getBucketEncryption = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6724
6743
|
input: GetBucketEncryptionRequest,
|
|
6725
6744
|
output: GetBucketEncryptionOutput,
|
|
6726
|
-
errors: [
|
|
6745
|
+
errors: [
|
|
6746
|
+
RequestLimitExceeded,
|
|
6747
|
+
SlowDown,
|
|
6748
|
+
NoSuchBucket,
|
|
6749
|
+
ParseError,
|
|
6750
|
+
PermanentRedirect,
|
|
6751
|
+
],
|
|
6727
6752
|
}));
|
|
6728
6753
|
/**
|
|
6729
6754
|
* This operation is not supported for directory buckets.
|
|
@@ -6749,7 +6774,7 @@ export const getBucketEncryption = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6749
6774
|
export const getBucketIntelligentTieringConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6750
6775
|
input: GetBucketIntelligentTieringConfigurationRequest,
|
|
6751
6776
|
output: GetBucketIntelligentTieringConfigurationOutput,
|
|
6752
|
-
errors: [RequestLimitExceeded, NoSuchBucket, NoSuchConfiguration],
|
|
6777
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, NoSuchConfiguration],
|
|
6753
6778
|
}));
|
|
6754
6779
|
/**
|
|
6755
6780
|
* This operation is not supported for directory buckets.
|
|
@@ -6777,7 +6802,7 @@ export const getBucketIntelligentTieringConfiguration = /*@__PURE__*/ /*#__PURE_
|
|
|
6777
6802
|
export const getBucketInventoryConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6778
6803
|
input: GetBucketInventoryConfigurationRequest,
|
|
6779
6804
|
output: GetBucketInventoryConfigurationOutput,
|
|
6780
|
-
errors: [RequestLimitExceeded, NoSuchBucket, NoSuchConfiguration],
|
|
6805
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, NoSuchConfiguration],
|
|
6781
6806
|
}));
|
|
6782
6807
|
/**
|
|
6783
6808
|
* Returns the lifecycle configuration information set on the bucket. For information about lifecycle
|
|
@@ -6850,6 +6875,7 @@ export const getBucketLifecycleConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.m
|
|
|
6850
6875
|
output: GetBucketLifecycleConfigurationOutput,
|
|
6851
6876
|
errors: [
|
|
6852
6877
|
RequestLimitExceeded,
|
|
6878
|
+
SlowDown,
|
|
6853
6879
|
NoSuchBucket,
|
|
6854
6880
|
NoSuchLifecycleConfiguration,
|
|
6855
6881
|
PermanentRedirect,
|
|
@@ -6893,7 +6919,7 @@ export const getBucketLifecycleConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.m
|
|
|
6893
6919
|
export const getBucketLocation = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6894
6920
|
input: GetBucketLocationRequest,
|
|
6895
6921
|
output: GetBucketLocationOutput,
|
|
6896
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
6922
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6897
6923
|
}));
|
|
6898
6924
|
/**
|
|
6899
6925
|
* This operation is not supported for directory buckets.
|
|
@@ -6912,7 +6938,7 @@ export const getBucketLocation = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6912
6938
|
export const getBucketLogging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6913
6939
|
input: GetBucketLoggingRequest,
|
|
6914
6940
|
output: GetBucketLoggingOutput,
|
|
6915
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
6941
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
6916
6942
|
}));
|
|
6917
6943
|
/**
|
|
6918
6944
|
* Retrieves the S3 Metadata configuration for a general purpose bucket. For more information, see
|
|
@@ -6947,7 +6973,7 @@ export const getBucketLogging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
6947
6973
|
export const getBucketMetadataConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6948
6974
|
input: GetBucketMetadataConfigurationRequest,
|
|
6949
6975
|
output: GetBucketMetadataConfigurationOutput,
|
|
6950
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
6976
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6951
6977
|
}));
|
|
6952
6978
|
/**
|
|
6953
6979
|
* We recommend that you retrieve your S3 Metadata configurations by using the V2
|
|
@@ -6988,7 +7014,7 @@ export const getBucketMetadataConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.ma
|
|
|
6988
7014
|
export const getBucketMetadataTableConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6989
7015
|
input: GetBucketMetadataTableConfigurationRequest,
|
|
6990
7016
|
output: GetBucketMetadataTableConfigurationOutput,
|
|
6991
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
7017
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
6992
7018
|
}));
|
|
6993
7019
|
/**
|
|
6994
7020
|
* Gets a metrics configuration (specified by the metrics configuration ID) from the bucket. Note that
|
|
@@ -7040,7 +7066,7 @@ export const getBucketMetadataTableConfiguration = /*@__PURE__*/ /*#__PURE__*/ A
|
|
|
7040
7066
|
export const getBucketMetricsConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7041
7067
|
input: GetBucketMetricsConfigurationRequest,
|
|
7042
7068
|
output: GetBucketMetricsConfigurationOutput,
|
|
7043
|
-
errors: [RequestLimitExceeded, NoSuchBucket, NoSuchConfiguration],
|
|
7069
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, NoSuchConfiguration],
|
|
7044
7070
|
}));
|
|
7045
7071
|
/**
|
|
7046
7072
|
* This operation is not supported for directory buckets.
|
|
@@ -7074,7 +7100,7 @@ export const getBucketMetricsConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.mak
|
|
|
7074
7100
|
export const getBucketNotificationConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7075
7101
|
input: GetBucketNotificationConfigurationRequest,
|
|
7076
7102
|
output: NotificationConfiguration,
|
|
7077
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
7103
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
7078
7104
|
}));
|
|
7079
7105
|
/**
|
|
7080
7106
|
* This operation is not supported for directory buckets.
|
|
@@ -7107,7 +7133,12 @@ export const getBucketNotificationConfiguration = /*@__PURE__*/ /*#__PURE__*/ AP
|
|
|
7107
7133
|
export const getBucketOwnershipControls = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7108
7134
|
input: GetBucketOwnershipControlsRequest,
|
|
7109
7135
|
output: GetBucketOwnershipControlsOutput,
|
|
7110
|
-
errors: [
|
|
7136
|
+
errors: [
|
|
7137
|
+
RequestLimitExceeded,
|
|
7138
|
+
SlowDown,
|
|
7139
|
+
NoSuchBucket,
|
|
7140
|
+
OwnershipControlsNotFoundError,
|
|
7141
|
+
],
|
|
7111
7142
|
}));
|
|
7112
7143
|
/**
|
|
7113
7144
|
* Returns the policy of a specified bucket.
|
|
@@ -7169,6 +7200,7 @@ export const getBucketPolicy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
7169
7200
|
output: GetBucketPolicyOutput,
|
|
7170
7201
|
errors: [
|
|
7171
7202
|
RequestLimitExceeded,
|
|
7203
|
+
SlowDown,
|
|
7172
7204
|
NoSuchBucket,
|
|
7173
7205
|
NoSuchBucketPolicy,
|
|
7174
7206
|
PermanentRedirect,
|
|
@@ -7200,7 +7232,7 @@ export const getBucketPolicy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
7200
7232
|
export const getBucketPolicyStatus = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7201
7233
|
input: GetBucketPolicyStatusRequest,
|
|
7202
7234
|
output: GetBucketPolicyStatusOutput,
|
|
7203
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
7235
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
7204
7236
|
}));
|
|
7205
7237
|
/**
|
|
7206
7238
|
* This operation is not supported for directory buckets.
|
|
@@ -7237,6 +7269,7 @@ export const getBucketReplication = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
7237
7269
|
output: GetBucketReplicationOutput,
|
|
7238
7270
|
errors: [
|
|
7239
7271
|
RequestLimitExceeded,
|
|
7272
|
+
SlowDown,
|
|
7240
7273
|
NoSuchBucket,
|
|
7241
7274
|
ReplicationConfigurationNotFoundError,
|
|
7242
7275
|
],
|
|
@@ -7256,7 +7289,7 @@ export const getBucketReplication = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
7256
7289
|
export const getBucketRequestPayment = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7257
7290
|
input: GetBucketRequestPaymentRequest,
|
|
7258
7291
|
output: GetBucketRequestPaymentOutput,
|
|
7259
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
7292
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
7260
7293
|
}));
|
|
7261
7294
|
/**
|
|
7262
7295
|
* This operation is not supported for directory buckets.
|
|
@@ -7283,7 +7316,13 @@ export const getBucketRequestPayment = /*@__PURE__*/ /*#__PURE__*/ API.make(() =
|
|
|
7283
7316
|
export const getBucketTagging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7284
7317
|
input: GetBucketTaggingRequest,
|
|
7285
7318
|
output: GetBucketTaggingOutput,
|
|
7286
|
-
errors: [
|
|
7319
|
+
errors: [
|
|
7320
|
+
RequestLimitExceeded,
|
|
7321
|
+
SlowDown,
|
|
7322
|
+
NoSuchBucket,
|
|
7323
|
+
NoSuchTagSet,
|
|
7324
|
+
PermanentRedirect,
|
|
7325
|
+
],
|
|
7287
7326
|
}));
|
|
7288
7327
|
/**
|
|
7289
7328
|
* This operation is not supported for directory buckets.
|
|
@@ -7309,7 +7348,7 @@ export const getBucketTagging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
7309
7348
|
export const getBucketVersioning = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7310
7349
|
input: GetBucketVersioningRequest,
|
|
7311
7350
|
output: GetBucketVersioningOutput,
|
|
7312
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
7351
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
7313
7352
|
}));
|
|
7314
7353
|
/**
|
|
7315
7354
|
* This operation is not supported for directory buckets.
|
|
@@ -7335,6 +7374,7 @@ export const getBucketWebsite = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
7335
7374
|
output: GetBucketWebsiteOutput,
|
|
7336
7375
|
errors: [
|
|
7337
7376
|
RequestLimitExceeded,
|
|
7377
|
+
SlowDown,
|
|
7338
7378
|
NoSuchBucket,
|
|
7339
7379
|
NoSuchWebsiteConfiguration,
|
|
7340
7380
|
PermanentRedirect,
|
|
@@ -7479,6 +7519,7 @@ export const getObject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
7479
7519
|
InvalidObjectState,
|
|
7480
7520
|
NoSuchKey,
|
|
7481
7521
|
RequestLimitExceeded,
|
|
7522
|
+
SlowDown,
|
|
7482
7523
|
NoSuchBucket,
|
|
7483
7524
|
PermanentRedirect,
|
|
7484
7525
|
],
|
|
@@ -7516,7 +7557,13 @@ export const getObject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
7516
7557
|
export const getObjectAcl = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7517
7558
|
input: GetObjectAclRequest,
|
|
7518
7559
|
output: GetObjectAclOutput,
|
|
7519
|
-
errors: [
|
|
7560
|
+
errors: [
|
|
7561
|
+
NoSuchKey,
|
|
7562
|
+
RequestLimitExceeded,
|
|
7563
|
+
SlowDown,
|
|
7564
|
+
NoSuchBucket,
|
|
7565
|
+
PermanentRedirect,
|
|
7566
|
+
],
|
|
7520
7567
|
}));
|
|
7521
7568
|
/**
|
|
7522
7569
|
* Retrieves all of the metadata from an object without returning the object itself. This operation is
|
|
@@ -7679,7 +7726,7 @@ export const getObjectAttributes = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
7679
7726
|
export const getObjectLegalHold = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7680
7727
|
input: GetObjectLegalHoldRequest,
|
|
7681
7728
|
output: GetObjectLegalHoldOutput,
|
|
7682
|
-
errors: [RequestLimitExceeded, InvalidRequest],
|
|
7729
|
+
errors: [RequestLimitExceeded, SlowDown, InvalidRequest],
|
|
7683
7730
|
}));
|
|
7684
7731
|
/**
|
|
7685
7732
|
* This operation is not supported for directory buckets.
|
|
@@ -7699,6 +7746,7 @@ export const getObjectLockConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make((
|
|
|
7699
7746
|
output: GetObjectLockConfigurationOutput,
|
|
7700
7747
|
errors: [
|
|
7701
7748
|
RequestLimitExceeded,
|
|
7749
|
+
SlowDown,
|
|
7702
7750
|
NoSuchBucket,
|
|
7703
7751
|
ObjectLockConfigurationNotFoundError,
|
|
7704
7752
|
PermanentRedirect,
|
|
@@ -7720,7 +7768,7 @@ export const getObjectLockConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make((
|
|
|
7720
7768
|
export const getObjectRetention = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7721
7769
|
input: GetObjectRetentionRequest,
|
|
7722
7770
|
output: GetObjectRetentionOutput,
|
|
7723
|
-
errors: [RequestLimitExceeded, InvalidRequest],
|
|
7771
|
+
errors: [RequestLimitExceeded, SlowDown, InvalidRequest],
|
|
7724
7772
|
}));
|
|
7725
7773
|
/**
|
|
7726
7774
|
* This operation is not supported for directory buckets.
|
|
@@ -7751,7 +7799,13 @@ export const getObjectRetention = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
7751
7799
|
export const getObjectTagging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7752
7800
|
input: GetObjectTaggingRequest,
|
|
7753
7801
|
output: GetObjectTaggingOutput,
|
|
7754
|
-
errors: [
|
|
7802
|
+
errors: [
|
|
7803
|
+
RequestLimitExceeded,
|
|
7804
|
+
SlowDown,
|
|
7805
|
+
NoSuchBucket,
|
|
7806
|
+
NoSuchKey,
|
|
7807
|
+
PermanentRedirect,
|
|
7808
|
+
],
|
|
7755
7809
|
}));
|
|
7756
7810
|
/**
|
|
7757
7811
|
* This operation is not supported for directory buckets.
|
|
@@ -7815,6 +7869,7 @@ export const getPublicAccessBlock = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
7815
7869
|
output: GetPublicAccessBlockOutput,
|
|
7816
7870
|
errors: [
|
|
7817
7871
|
RequestLimitExceeded,
|
|
7872
|
+
SlowDown,
|
|
7818
7873
|
NoSuchBucket,
|
|
7819
7874
|
NoSuchPublicAccessBlockConfiguration,
|
|
7820
7875
|
PermanentRedirect,
|
|
@@ -7886,7 +7941,7 @@ export const getPublicAccessBlock = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
7886
7941
|
export const headBucket = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
7887
7942
|
input: HeadBucketRequest,
|
|
7888
7943
|
output: HeadBucketOutput,
|
|
7889
|
-
errors: [NotFound, RequestLimitExceeded, ParseError, NoSuchBucket],
|
|
7944
|
+
errors: [NotFound, RequestLimitExceeded, SlowDown, ParseError, NoSuchBucket],
|
|
7890
7945
|
}));
|
|
7891
7946
|
/**
|
|
7892
7947
|
* The `HEAD` operation retrieves metadata from an object without returning the object
|
|
@@ -7999,7 +8054,7 @@ export const headBucket = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
7999
8054
|
export const headObject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8000
8055
|
input: HeadObjectRequest,
|
|
8001
8056
|
output: HeadObjectOutput,
|
|
8002
|
-
errors: [NotFound, RequestLimitExceeded, ParseError, NoSuchBucket],
|
|
8057
|
+
errors: [NotFound, RequestLimitExceeded, SlowDown, ParseError, NoSuchBucket],
|
|
8003
8058
|
}));
|
|
8004
8059
|
/**
|
|
8005
8060
|
* This operation is not supported for directory buckets.
|
|
@@ -8036,7 +8091,7 @@ export const headObject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
8036
8091
|
export const listBucketAnalyticsConfigurations = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8037
8092
|
input: ListBucketAnalyticsConfigurationsRequest,
|
|
8038
8093
|
output: ListBucketAnalyticsConfigurationsOutput,
|
|
8039
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
8094
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
8040
8095
|
}));
|
|
8041
8096
|
/**
|
|
8042
8097
|
* This operation is not supported for directory buckets.
|
|
@@ -8062,7 +8117,7 @@ export const listBucketAnalyticsConfigurations = /*@__PURE__*/ /*#__PURE__*/ API
|
|
|
8062
8117
|
export const listBucketIntelligentTieringConfigurations = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8063
8118
|
input: ListBucketIntelligentTieringConfigurationsRequest,
|
|
8064
8119
|
output: ListBucketIntelligentTieringConfigurationsOutput,
|
|
8065
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
8120
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
8066
8121
|
}));
|
|
8067
8122
|
/**
|
|
8068
8123
|
* This operation is not supported for directory buckets.
|
|
@@ -8097,7 +8152,7 @@ export const listBucketIntelligentTieringConfigurations = /*@__PURE__*/ /*#__PUR
|
|
|
8097
8152
|
export const listBucketInventoryConfigurations = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8098
8153
|
input: ListBucketInventoryConfigurationsRequest,
|
|
8099
8154
|
output: ListBucketInventoryConfigurationsOutput,
|
|
8100
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
8155
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
8101
8156
|
}));
|
|
8102
8157
|
/**
|
|
8103
8158
|
* Lists the metrics configurations for the bucket. The metrics configurations are only for the request
|
|
@@ -8154,7 +8209,7 @@ export const listBucketInventoryConfigurations = /*@__PURE__*/ /*#__PURE__*/ API
|
|
|
8154
8209
|
export const listBucketMetricsConfigurations = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8155
8210
|
input: ListBucketMetricsConfigurationsRequest,
|
|
8156
8211
|
output: ListBucketMetricsConfigurationsOutput,
|
|
8157
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
8212
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
8158
8213
|
}));
|
|
8159
8214
|
/**
|
|
8160
8215
|
* This operation is not supported for directory buckets.
|
|
@@ -8177,7 +8232,7 @@ export const listBucketMetricsConfigurations = /*@__PURE__*/ /*#__PURE__*/ API.m
|
|
|
8177
8232
|
export const listBuckets = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
8178
8233
|
input: ListBucketsRequest,
|
|
8179
8234
|
output: ListBucketsOutput,
|
|
8180
|
-
errors: [RequestLimitExceeded, RequestError],
|
|
8235
|
+
errors: [RequestLimitExceeded, SlowDown, RequestError],
|
|
8181
8236
|
pagination: {
|
|
8182
8237
|
inputToken: "ContinuationToken",
|
|
8183
8238
|
outputToken: "ContinuationToken",
|
|
@@ -8313,7 +8368,7 @@ export const listDirectoryBuckets = /*@__PURE__*/ /*#__PURE__*/ API.makePaginate
|
|
|
8313
8368
|
export const listMultipartUploads = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8314
8369
|
input: ListMultipartUploadsRequest,
|
|
8315
8370
|
output: ListMultipartUploadsOutput,
|
|
8316
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
8371
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
8317
8372
|
}));
|
|
8318
8373
|
/**
|
|
8319
8374
|
* This operation is not supported for directory buckets.
|
|
@@ -8344,7 +8399,7 @@ export const listMultipartUploads = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
8344
8399
|
export const listObjects = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8345
8400
|
input: ListObjectsRequest,
|
|
8346
8401
|
output: ListObjectsOutput,
|
|
8347
|
-
errors: [NoSuchBucket, RequestLimitExceeded, PermanentRedirect],
|
|
8402
|
+
errors: [NoSuchBucket, RequestLimitExceeded, SlowDown, PermanentRedirect],
|
|
8348
8403
|
}));
|
|
8349
8404
|
/**
|
|
8350
8405
|
* Returns some or all (up to 1,000) of the objects in a bucket with each request. You can use the
|
|
@@ -8415,7 +8470,7 @@ export const listObjects = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
8415
8470
|
export const listObjectsV2 = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
8416
8471
|
input: ListObjectsV2Request,
|
|
8417
8472
|
output: ListObjectsV2Output,
|
|
8418
|
-
errors: [NoSuchBucket, RequestLimitExceeded, PermanentRedirect],
|
|
8473
|
+
errors: [NoSuchBucket, RequestLimitExceeded, SlowDown, PermanentRedirect],
|
|
8419
8474
|
pagination: {
|
|
8420
8475
|
inputToken: "ContinuationToken",
|
|
8421
8476
|
outputToken: "NextContinuationToken",
|
|
@@ -8451,7 +8506,7 @@ export const listObjectsV2 = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
|
|
|
8451
8506
|
export const listObjectVersions = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8452
8507
|
input: ListObjectVersionsRequest,
|
|
8453
8508
|
output: ListObjectVersionsOutput,
|
|
8454
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
8509
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
8455
8510
|
}));
|
|
8456
8511
|
/**
|
|
8457
8512
|
* Lists the parts that have been uploaded for a specific multipart upload.
|
|
@@ -8518,7 +8573,7 @@ export const listObjectVersions = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
8518
8573
|
export const listParts = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
8519
8574
|
input: ListPartsRequest,
|
|
8520
8575
|
output: ListPartsOutput,
|
|
8521
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
8576
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
8522
8577
|
pagination: {
|
|
8523
8578
|
inputToken: "PartNumberMarker",
|
|
8524
8579
|
outputToken: "NextPartNumberMarker",
|
|
@@ -8573,7 +8628,7 @@ export const putBucketAbac = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
8573
8628
|
export const putBucketAccelerateConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8574
8629
|
input: PutBucketAccelerateConfigurationRequest,
|
|
8575
8630
|
output: PutBucketAccelerateConfigurationResponse,
|
|
8576
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
8631
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
8577
8632
|
}));
|
|
8578
8633
|
/**
|
|
8579
8634
|
* End of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs). If you attempt to use an Email Grantee ACL in a request after October 1, 2025,
|
|
@@ -8723,7 +8778,7 @@ export const putBucketAccelerateConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
|
8723
8778
|
export const putBucketAcl = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8724
8779
|
input: PutBucketAclRequest,
|
|
8725
8780
|
output: PutBucketAclResponse,
|
|
8726
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
8781
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
8727
8782
|
}));
|
|
8728
8783
|
/**
|
|
8729
8784
|
* This operation is not supported for directory buckets.
|
|
@@ -8842,7 +8897,7 @@ export const putBucketAnalyticsConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.m
|
|
|
8842
8897
|
export const putBucketCors = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8843
8898
|
input: PutBucketCorsRequest,
|
|
8844
8899
|
output: PutBucketCorsResponse,
|
|
8845
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
8900
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
8846
8901
|
}));
|
|
8847
8902
|
/**
|
|
8848
8903
|
* This operation configures default encryption and Amazon S3 Bucket Keys for an existing bucket. You can also block encryption types using this operation.
|
|
@@ -8932,7 +8987,7 @@ export const putBucketCors = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
8932
8987
|
export const putBucketEncryption = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8933
8988
|
input: PutBucketEncryptionRequest,
|
|
8934
8989
|
output: PutBucketEncryptionResponse,
|
|
8935
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
8990
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
8936
8991
|
}));
|
|
8937
8992
|
/**
|
|
8938
8993
|
* This operation is not supported for directory buckets.
|
|
@@ -8984,7 +9039,7 @@ export const putBucketEncryption = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
8984
9039
|
export const putBucketIntelligentTieringConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8985
9040
|
input: PutBucketIntelligentTieringConfigurationRequest,
|
|
8986
9041
|
output: PutBucketIntelligentTieringConfigurationResponse,
|
|
8987
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
9042
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
8988
9043
|
}));
|
|
8989
9044
|
/**
|
|
8990
9045
|
* This operation is not supported for directory buckets.
|
|
@@ -9061,7 +9116,7 @@ export const putBucketIntelligentTieringConfiguration = /*@__PURE__*/ /*#__PURE_
|
|
|
9061
9116
|
export const putBucketInventoryConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
9062
9117
|
input: PutBucketInventoryConfigurationRequest,
|
|
9063
9118
|
output: PutBucketInventoryConfigurationResponse,
|
|
9064
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
9119
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
9065
9120
|
}));
|
|
9066
9121
|
/**
|
|
9067
9122
|
* Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle
|
|
@@ -9164,6 +9219,7 @@ export const putBucketLifecycleConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.m
|
|
|
9164
9219
|
output: PutBucketLifecycleConfigurationOutput,
|
|
9165
9220
|
errors: [
|
|
9166
9221
|
RequestLimitExceeded,
|
|
9222
|
+
SlowDown,
|
|
9167
9223
|
InvalidRequest,
|
|
9168
9224
|
MalformedXML,
|
|
9169
9225
|
NoSuchBucket,
|
|
@@ -9241,7 +9297,7 @@ export const putBucketLifecycleConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.m
|
|
|
9241
9297
|
export const putBucketLogging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
9242
9298
|
input: PutBucketLoggingRequest,
|
|
9243
9299
|
output: PutBucketLoggingResponse,
|
|
9244
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
9300
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
9245
9301
|
}));
|
|
9246
9302
|
/**
|
|
9247
9303
|
* Sets a metrics configuration (specified by the metrics configuration ID) for the bucket. You can
|
|
@@ -9301,7 +9357,7 @@ export const putBucketLogging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
9301
9357
|
export const putBucketMetricsConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
9302
9358
|
input: PutBucketMetricsConfigurationRequest,
|
|
9303
9359
|
output: PutBucketMetricsConfigurationResponse,
|
|
9304
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
9360
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
9305
9361
|
}));
|
|
9306
9362
|
/**
|
|
9307
9363
|
* This operation is not supported for directory buckets.
|
|
@@ -9359,7 +9415,7 @@ export const putBucketMetricsConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.mak
|
|
|
9359
9415
|
export const putBucketNotificationConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
9360
9416
|
input: PutBucketNotificationConfigurationRequest,
|
|
9361
9417
|
output: PutBucketNotificationConfigurationResponse,
|
|
9362
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
9418
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
9363
9419
|
}));
|
|
9364
9420
|
/**
|
|
9365
9421
|
* This operation is not supported for directory buckets.
|
|
@@ -9381,7 +9437,7 @@ export const putBucketNotificationConfiguration = /*@__PURE__*/ /*#__PURE__*/ AP
|
|
|
9381
9437
|
export const putBucketOwnershipControls = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
9382
9438
|
input: PutBucketOwnershipControlsRequest,
|
|
9383
9439
|
output: PutBucketOwnershipControlsResponse,
|
|
9384
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
9440
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
9385
9441
|
}));
|
|
9386
9442
|
/**
|
|
9387
9443
|
* Applies an Amazon S3 bucket policy to an Amazon S3 bucket.
|
|
@@ -9445,6 +9501,7 @@ export const putBucketPolicy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
9445
9501
|
output: PutBucketPolicyResponse,
|
|
9446
9502
|
errors: [
|
|
9447
9503
|
RequestLimitExceeded,
|
|
9504
|
+
SlowDown,
|
|
9448
9505
|
AccessDenied,
|
|
9449
9506
|
InvalidBucketName,
|
|
9450
9507
|
InvalidDigest,
|
|
@@ -9519,7 +9576,7 @@ export const putBucketPolicy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
9519
9576
|
export const putBucketReplication = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
9520
9577
|
input: PutBucketReplicationRequest,
|
|
9521
9578
|
output: PutBucketReplicationResponse,
|
|
9522
|
-
errors: [RequestLimitExceeded, InvalidRequest, NoSuchBucket],
|
|
9579
|
+
errors: [RequestLimitExceeded, SlowDown, InvalidRequest, NoSuchBucket],
|
|
9523
9580
|
}));
|
|
9524
9581
|
/**
|
|
9525
9582
|
* This operation is not supported for directory buckets.
|
|
@@ -9540,7 +9597,7 @@ export const putBucketReplication = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
9540
9597
|
export const putBucketRequestPayment = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
9541
9598
|
input: PutBucketRequestPaymentRequest,
|
|
9542
9599
|
output: PutBucketRequestPaymentResponse,
|
|
9543
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
9600
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
9544
9601
|
}));
|
|
9545
9602
|
/**
|
|
9546
9603
|
* This operation is not supported for directory buckets.
|
|
@@ -9587,7 +9644,7 @@ export const putBucketRequestPayment = /*@__PURE__*/ /*#__PURE__*/ API.make(() =
|
|
|
9587
9644
|
export const putBucketTagging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
9588
9645
|
input: PutBucketTaggingRequest,
|
|
9589
9646
|
output: PutBucketTaggingResponse,
|
|
9590
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
9647
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
9591
9648
|
}));
|
|
9592
9649
|
/**
|
|
9593
9650
|
* This operation is not supported for directory buckets.
|
|
@@ -9635,7 +9692,7 @@ export const putBucketTagging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
9635
9692
|
export const putBucketVersioning = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
9636
9693
|
input: PutBucketVersioningRequest,
|
|
9637
9694
|
output: PutBucketVersioningResponse,
|
|
9638
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
9695
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
9639
9696
|
}));
|
|
9640
9697
|
/**
|
|
9641
9698
|
* This operation is not supported for directory buckets.
|
|
@@ -9711,7 +9768,7 @@ export const putBucketVersioning = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
9711
9768
|
export const putBucketWebsite = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
9712
9769
|
input: PutBucketWebsiteRequest,
|
|
9713
9770
|
output: PutBucketWebsiteResponse,
|
|
9714
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
9771
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
9715
9772
|
}));
|
|
9716
9773
|
/**
|
|
9717
9774
|
* End of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs). If you attempt to use an Email Grantee ACL in a request after October 1, 2025,
|
|
@@ -9845,6 +9902,7 @@ export const putObject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
9845
9902
|
InvalidWriteOffset,
|
|
9846
9903
|
TooManyParts,
|
|
9847
9904
|
RequestLimitExceeded,
|
|
9905
|
+
SlowDown,
|
|
9848
9906
|
NoSuchBucket,
|
|
9849
9907
|
PermanentRedirect,
|
|
9850
9908
|
],
|
|
@@ -9995,7 +10053,7 @@ export const putObject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
9995
10053
|
export const putObjectAcl = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
9996
10054
|
input: PutObjectAclRequest,
|
|
9997
10055
|
output: PutObjectAclOutput,
|
|
9998
|
-
errors: [NoSuchKey, RequestLimitExceeded, PermanentRedirect],
|
|
10056
|
+
errors: [NoSuchKey, RequestLimitExceeded, SlowDown, PermanentRedirect],
|
|
9999
10057
|
}));
|
|
10000
10058
|
/**
|
|
10001
10059
|
* This operation is not supported for directory buckets.
|
|
@@ -10009,7 +10067,7 @@ export const putObjectAcl = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
10009
10067
|
export const putObjectLegalHold = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
10010
10068
|
input: PutObjectLegalHoldRequest,
|
|
10011
10069
|
output: PutObjectLegalHoldOutput,
|
|
10012
|
-
errors: [RequestLimitExceeded, MalformedXML],
|
|
10070
|
+
errors: [RequestLimitExceeded, SlowDown, MalformedXML],
|
|
10013
10071
|
}));
|
|
10014
10072
|
/**
|
|
10015
10073
|
* This operation is not supported for directory buckets.
|
|
@@ -10035,6 +10093,7 @@ export const putObjectLockConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make((
|
|
|
10035
10093
|
output: PutObjectLockConfigurationOutput,
|
|
10036
10094
|
errors: [
|
|
10037
10095
|
RequestLimitExceeded,
|
|
10096
|
+
SlowDown,
|
|
10038
10097
|
InvalidBucketState,
|
|
10039
10098
|
NoSuchBucket,
|
|
10040
10099
|
PermanentRedirect,
|
|
@@ -10055,7 +10114,7 @@ export const putObjectLockConfiguration = /*@__PURE__*/ /*#__PURE__*/ API.make((
|
|
|
10055
10114
|
export const putObjectRetention = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
10056
10115
|
input: PutObjectRetentionRequest,
|
|
10057
10116
|
output: PutObjectRetentionOutput,
|
|
10058
|
-
errors: [RequestLimitExceeded, InvalidRequest],
|
|
10117
|
+
errors: [RequestLimitExceeded, SlowDown, InvalidRequest],
|
|
10059
10118
|
}));
|
|
10060
10119
|
/**
|
|
10061
10120
|
* This operation is not supported for directory buckets.
|
|
@@ -10100,7 +10159,7 @@ export const putObjectRetention = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
10100
10159
|
export const putObjectTagging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
10101
10160
|
input: PutObjectTaggingRequest,
|
|
10102
10161
|
output: PutObjectTaggingOutput,
|
|
10103
|
-
errors: [RequestLimitExceeded, NoSuchKey, PermanentRedirect],
|
|
10162
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchKey, PermanentRedirect],
|
|
10104
10163
|
}));
|
|
10105
10164
|
/**
|
|
10106
10165
|
* This operation is not supported for directory buckets.
|
|
@@ -10135,7 +10194,7 @@ export const putObjectTagging = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
10135
10194
|
export const putPublicAccessBlock = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
10136
10195
|
input: PutPublicAccessBlockRequest,
|
|
10137
10196
|
output: PutPublicAccessBlockResponse,
|
|
10138
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
10197
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
10139
10198
|
}));
|
|
10140
10199
|
/**
|
|
10141
10200
|
* Renames an existing object in a directory bucket that uses the S3 Express One Zone storage class.
|
|
@@ -10333,6 +10392,7 @@ export const restoreObject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
10333
10392
|
errors: [
|
|
10334
10393
|
ObjectAlreadyInActiveTierError,
|
|
10335
10394
|
RequestLimitExceeded,
|
|
10395
|
+
SlowDown,
|
|
10336
10396
|
NoSuchKey,
|
|
10337
10397
|
PermanentRedirect,
|
|
10338
10398
|
],
|
|
@@ -10431,7 +10491,7 @@ export const restoreObject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
10431
10491
|
export const selectObjectContent = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
10432
10492
|
input: SelectObjectContentRequest,
|
|
10433
10493
|
output: SelectObjectContentOutput,
|
|
10434
|
-
errors: [RequestLimitExceeded, PermanentRedirect],
|
|
10494
|
+
errors: [RequestLimitExceeded, SlowDown, PermanentRedirect],
|
|
10435
10495
|
}));
|
|
10436
10496
|
/**
|
|
10437
10497
|
* Enables or disables a live inventory table for an S3 Metadata configuration on a general
|
|
@@ -10772,7 +10832,7 @@ export const updateObjectEncryption = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
10772
10832
|
export const uploadPart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
10773
10833
|
input: UploadPartRequest,
|
|
10774
10834
|
output: UploadPartOutput,
|
|
10775
|
-
errors: [RequestLimitExceeded, NoSuchBucket, PermanentRedirect],
|
|
10835
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket, PermanentRedirect],
|
|
10776
10836
|
}));
|
|
10777
10837
|
/**
|
|
10778
10838
|
* Uploads a part by copying data from an existing object as data source. To specify the data source,
|
|
@@ -10938,7 +10998,7 @@ export const uploadPart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
10938
10998
|
export const uploadPartCopy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
10939
10999
|
input: UploadPartCopyRequest,
|
|
10940
11000
|
output: UploadPartCopyOutput,
|
|
10941
|
-
errors: [RequestLimitExceeded, NoSuchBucket],
|
|
11001
|
+
errors: [RequestLimitExceeded, SlowDown, NoSuchBucket],
|
|
10942
11002
|
}));
|
|
10943
11003
|
/**
|
|
10944
11004
|
* This operation is not supported for directory buckets.
|