distilled-aws 0.0.13 → 0.0.16
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/client/api.d.ts.map +1 -1
- package/lib/client/api.js +14 -3
- package/lib/client/api.js.map +1 -1
- package/lib/client/response-parser.d.ts.map +1 -1
- package/lib/client/response-parser.js +14 -2
- package/lib/client/response-parser.js.map +1 -1
- package/lib/debug/error-recorder.d.ts +22 -0
- package/lib/debug/error-recorder.d.ts.map +1 -0
- package/lib/debug/error-recorder.js +106 -0
- package/lib/debug/error-recorder.js.map +1 -0
- package/lib/patch/spec-schema.d.ts +65 -0
- package/lib/patch/spec-schema.d.ts.map +1 -1
- package/lib/patch/spec-schema.js +31 -0
- package/lib/patch/spec-schema.js.map +1 -1
- package/lib/services/bedrock-agentcore-control.d.ts +3 -0
- package/lib/services/bedrock-agentcore-control.d.ts.map +1 -1
- package/lib/services/bedrock-agentcore-control.js +5 -1
- package/lib/services/bedrock-agentcore-control.js.map +1 -1
- package/lib/services/cloudfront.d.ts +83 -83
- package/lib/services/cloudfront.d.ts.map +1 -1
- package/lib/services/cloudfront.js +160 -157
- package/lib/services/cloudfront.js.map +1 -1
- package/lib/services/ec2.d.ts +1539 -924
- package/lib/services/ec2.d.ts.map +1 -1
- package/lib/services/ec2.js +1321 -623
- package/lib/services/ec2.js.map +1 -1
- package/lib/services/glue.d.ts +587 -478
- package/lib/services/glue.d.ts.map +1 -1
- package/lib/services/glue.js +1644 -1509
- package/lib/services/glue.js.map +1 -1
- package/lib/services/iam.d.ts +6 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +3 -1
- package/lib/services/iam.js.map +1 -1
- package/lib/services/medialive.d.ts +33 -0
- package/lib/services/medialive.d.ts.map +1 -1
- package/lib/services/medialive.js +11 -0
- package/lib/services/medialive.js.map +1 -1
- package/lib/services/s3.d.ts +74 -59
- package/lib/services/s3.d.ts.map +1 -1
- package/lib/services/s3.js +76 -53
- package/lib/services/s3.js.map +1 -1
- package/lib/services/sqs.d.ts +1 -1
- package/lib/services/sqs.d.ts.map +1 -1
- package/lib/services/sqs.js +1 -0
- package/lib/services/sqs.js.map +1 -1
- package/package.json +6 -4
- package/src/client/api.ts +22 -2
- package/src/client/response-parser.ts +15 -2
- package/src/debug/error-recorder.ts +143 -0
- package/src/patch/spec-schema.ts +35 -0
- package/src/services/bedrock-agentcore-control.ts +7 -1
- package/src/services/cloudfront.ts +300 -294
- package/src/services/ec2.ts +2891 -1486
- package/src/services/glue.ts +3550 -3250
- package/src/services/iam.ts +9 -2
- package/src/services/medialive.ts +53 -0
- package/src/services/s3.ts +159 -108
- package/src/services/sqs.ts +2 -0
package/src/services/s3.ts
CHANGED
|
@@ -11785,6 +11785,17 @@ export class NoSuchBucket extends S.TaggedError<NoSuchBucket>()(
|
|
|
11785
11785
|
"NoSuchBucket",
|
|
11786
11786
|
{},
|
|
11787
11787
|
) {}
|
|
11788
|
+
export class PermanentRedirect extends S.TaggedError<PermanentRedirect>()(
|
|
11789
|
+
"PermanentRedirect",
|
|
11790
|
+
{
|
|
11791
|
+
BucketRegion: S.optional(S.String).pipe(
|
|
11792
|
+
T.HttpHeader("x-amz-bucket-region"),
|
|
11793
|
+
),
|
|
11794
|
+
Endpoint: S.optional(S.String),
|
|
11795
|
+
Bucket: S.optional(S.String),
|
|
11796
|
+
Message: S.optional(S.String),
|
|
11797
|
+
},
|
|
11798
|
+
) {}
|
|
11788
11799
|
export class SignatureDoesNotMatch extends S.TaggedError<SignatureDoesNotMatch>()(
|
|
11789
11800
|
"SignatureDoesNotMatch",
|
|
11790
11801
|
{},
|
|
@@ -11809,10 +11820,6 @@ export class MalformedPolicy extends S.TaggedError<MalformedPolicy>()(
|
|
|
11809
11820
|
"MalformedPolicy",
|
|
11810
11821
|
{},
|
|
11811
11822
|
) {}
|
|
11812
|
-
export class PermanentRedirect extends S.TaggedError<PermanentRedirect>()(
|
|
11813
|
-
"PermanentRedirect",
|
|
11814
|
-
{},
|
|
11815
|
-
) {}
|
|
11816
11823
|
export class IdempotencyParameterMismatch extends S.TaggedError<IdempotencyParameterMismatch>()(
|
|
11817
11824
|
"IdempotencyParameterMismatch",
|
|
11818
11825
|
{},
|
|
@@ -11835,6 +11842,10 @@ export class NoSuchLifecycleConfiguration extends S.TaggedError<NoSuchLifecycleC
|
|
|
11835
11842
|
"NoSuchLifecycleConfiguration",
|
|
11836
11843
|
{},
|
|
11837
11844
|
) {}
|
|
11845
|
+
export class OwnershipControlsNotFoundError extends S.TaggedError<OwnershipControlsNotFoundError>()(
|
|
11846
|
+
"OwnershipControlsNotFoundError",
|
|
11847
|
+
{},
|
|
11848
|
+
) {}
|
|
11838
11849
|
export class NoSuchBucketPolicy extends S.TaggedError<NoSuchBucketPolicy>()(
|
|
11839
11850
|
"NoSuchBucketPolicy",
|
|
11840
11851
|
{},
|
|
@@ -11855,6 +11866,10 @@ export class ObjectLockConfigurationNotFoundError extends S.TaggedError<ObjectLo
|
|
|
11855
11866
|
"ObjectLockConfigurationNotFoundError",
|
|
11856
11867
|
{},
|
|
11857
11868
|
) {}
|
|
11869
|
+
export class NoSuchPublicAccessBlockConfiguration extends S.TaggedError<NoSuchPublicAccessBlockConfiguration>()(
|
|
11870
|
+
"NoSuchPublicAccessBlockConfiguration",
|
|
11871
|
+
{},
|
|
11872
|
+
) {}
|
|
11858
11873
|
export class NotFound extends S.TaggedError<NotFound>()("NotFound", {}) {}
|
|
11859
11874
|
export class EncryptionTypeMismatch extends S.TaggedError<EncryptionTypeMismatch>()(
|
|
11860
11875
|
"EncryptionTypeMismatch",
|
|
@@ -11956,12 +11971,12 @@ export const deleteBucket: (
|
|
|
11956
11971
|
input: DeleteBucketRequest,
|
|
11957
11972
|
) => effect.Effect<
|
|
11958
11973
|
DeleteBucketResponse,
|
|
11959
|
-
BucketNotEmpty | NoSuchBucket | CommonErrors,
|
|
11974
|
+
BucketNotEmpty | NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
11960
11975
|
Credentials | Rgn | HttpClient.HttpClient
|
|
11961
11976
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
11962
11977
|
input: DeleteBucketRequest,
|
|
11963
11978
|
output: DeleteBucketResponse,
|
|
11964
|
-
errors: [BucketNotEmpty, NoSuchBucket],
|
|
11979
|
+
errors: [BucketNotEmpty, NoSuchBucket, PermanentRedirect],
|
|
11965
11980
|
}));
|
|
11966
11981
|
/**
|
|
11967
11982
|
* This operation is not supported for directory buckets.
|
|
@@ -12195,12 +12210,12 @@ export const deleteBucketLifecycle: (
|
|
|
12195
12210
|
input: DeleteBucketLifecycleRequest,
|
|
12196
12211
|
) => effect.Effect<
|
|
12197
12212
|
DeleteBucketLifecycleResponse,
|
|
12198
|
-
CommonErrors,
|
|
12213
|
+
NoSuchBucket | CommonErrors,
|
|
12199
12214
|
Credentials | Rgn | HttpClient.HttpClient
|
|
12200
12215
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
12201
12216
|
input: DeleteBucketLifecycleRequest,
|
|
12202
12217
|
output: DeleteBucketLifecycleResponse,
|
|
12203
|
-
errors: [],
|
|
12218
|
+
errors: [NoSuchBucket],
|
|
12204
12219
|
}));
|
|
12205
12220
|
/**
|
|
12206
12221
|
* Deletes an S3 Metadata configuration from a general purpose bucket. For more information, see
|
|
@@ -12237,12 +12252,12 @@ export const deleteBucketMetadataConfiguration: (
|
|
|
12237
12252
|
input: DeleteBucketMetadataConfigurationRequest,
|
|
12238
12253
|
) => effect.Effect<
|
|
12239
12254
|
DeleteBucketMetadataConfigurationResponse,
|
|
12240
|
-
CommonErrors,
|
|
12255
|
+
NoSuchBucket | CommonErrors,
|
|
12241
12256
|
Credentials | Rgn | HttpClient.HttpClient
|
|
12242
12257
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
12243
12258
|
input: DeleteBucketMetadataConfigurationRequest,
|
|
12244
12259
|
output: DeleteBucketMetadataConfigurationResponse,
|
|
12245
|
-
errors: [],
|
|
12260
|
+
errors: [NoSuchBucket],
|
|
12246
12261
|
}));
|
|
12247
12262
|
/**
|
|
12248
12263
|
* We recommend that you delete your S3 Metadata configurations by using the V2
|
|
@@ -12285,12 +12300,12 @@ export const deleteBucketMetadataTableConfiguration: (
|
|
|
12285
12300
|
input: DeleteBucketMetadataTableConfigurationRequest,
|
|
12286
12301
|
) => effect.Effect<
|
|
12287
12302
|
DeleteBucketMetadataTableConfigurationResponse,
|
|
12288
|
-
CommonErrors,
|
|
12303
|
+
NoSuchBucket | CommonErrors,
|
|
12289
12304
|
Credentials | Rgn | HttpClient.HttpClient
|
|
12290
12305
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
12291
12306
|
input: DeleteBucketMetadataTableConfigurationRequest,
|
|
12292
12307
|
output: DeleteBucketMetadataTableConfigurationResponse,
|
|
12293
|
-
errors: [],
|
|
12308
|
+
errors: [NoSuchBucket],
|
|
12294
12309
|
}));
|
|
12295
12310
|
/**
|
|
12296
12311
|
* This operation is not supported for directory buckets.
|
|
@@ -12411,12 +12426,12 @@ export const deleteBucketPolicy: (
|
|
|
12411
12426
|
input: DeleteBucketPolicyRequest,
|
|
12412
12427
|
) => effect.Effect<
|
|
12413
12428
|
DeleteBucketPolicyResponse,
|
|
12414
|
-
NoSuchBucket | SignatureDoesNotMatch | CommonErrors,
|
|
12429
|
+
NoSuchBucket | PermanentRedirect | SignatureDoesNotMatch | CommonErrors,
|
|
12415
12430
|
Credentials | Rgn | HttpClient.HttpClient
|
|
12416
12431
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
12417
12432
|
input: DeleteBucketPolicyRequest,
|
|
12418
12433
|
output: DeleteBucketPolicyResponse,
|
|
12419
|
-
errors: [NoSuchBucket, SignatureDoesNotMatch],
|
|
12434
|
+
errors: [NoSuchBucket, PermanentRedirect, SignatureDoesNotMatch],
|
|
12420
12435
|
}));
|
|
12421
12436
|
/**
|
|
12422
12437
|
* This operation is not supported for directory buckets.
|
|
@@ -13028,12 +13043,12 @@ export const createMultipartUpload: (
|
|
|
13028
13043
|
input: CreateMultipartUploadRequest,
|
|
13029
13044
|
) => effect.Effect<
|
|
13030
13045
|
CreateMultipartUploadOutput,
|
|
13031
|
-
NoSuchBucket | CommonErrors,
|
|
13046
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
13032
13047
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13033
13048
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13034
13049
|
input: CreateMultipartUploadRequest,
|
|
13035
13050
|
output: CreateMultipartUploadOutput,
|
|
13036
|
-
errors: [NoSuchBucket],
|
|
13051
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
13037
13052
|
}));
|
|
13038
13053
|
/**
|
|
13039
13054
|
* Removes an object from a bucket. The behavior depends on the bucket's versioning state:
|
|
@@ -13129,12 +13144,12 @@ export const deleteObject: (
|
|
|
13129
13144
|
input: DeleteObjectRequest,
|
|
13130
13145
|
) => effect.Effect<
|
|
13131
13146
|
DeleteObjectOutput,
|
|
13132
|
-
NoSuchBucket | CommonErrors,
|
|
13147
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
13133
13148
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13134
13149
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13135
13150
|
input: DeleteObjectRequest,
|
|
13136
13151
|
output: DeleteObjectOutput,
|
|
13137
|
-
errors: [NoSuchBucket],
|
|
13152
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
13138
13153
|
}));
|
|
13139
13154
|
/**
|
|
13140
13155
|
* This operation is not supported for directory buckets.
|
|
@@ -13161,12 +13176,12 @@ export const deleteObjectTagging: (
|
|
|
13161
13176
|
input: DeleteObjectTaggingRequest,
|
|
13162
13177
|
) => effect.Effect<
|
|
13163
13178
|
DeleteObjectTaggingOutput,
|
|
13164
|
-
NoSuchKey | CommonErrors,
|
|
13179
|
+
NoSuchKey | PermanentRedirect | CommonErrors,
|
|
13165
13180
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13166
13181
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13167
13182
|
input: DeleteObjectTaggingRequest,
|
|
13168
13183
|
output: DeleteObjectTaggingOutput,
|
|
13169
|
-
errors: [NoSuchKey],
|
|
13184
|
+
errors: [NoSuchKey, PermanentRedirect],
|
|
13170
13185
|
}));
|
|
13171
13186
|
/**
|
|
13172
13187
|
* 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.
|
|
@@ -13175,12 +13190,12 @@ export const getBucketAbac: (
|
|
|
13175
13190
|
input: GetBucketAbacRequest,
|
|
13176
13191
|
) => effect.Effect<
|
|
13177
13192
|
GetBucketAbacOutput,
|
|
13178
|
-
CommonErrors,
|
|
13193
|
+
NoSuchBucket | CommonErrors,
|
|
13179
13194
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13180
13195
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13181
13196
|
input: GetBucketAbacRequest,
|
|
13182
13197
|
output: GetBucketAbacOutput,
|
|
13183
|
-
errors: [],
|
|
13198
|
+
errors: [NoSuchBucket],
|
|
13184
13199
|
}));
|
|
13185
13200
|
/**
|
|
13186
13201
|
* This operation is not supported for directory buckets.
|
|
@@ -13215,12 +13230,12 @@ export const getBucketAccelerateConfiguration: (
|
|
|
13215
13230
|
input: GetBucketAccelerateConfigurationRequest,
|
|
13216
13231
|
) => effect.Effect<
|
|
13217
13232
|
GetBucketAccelerateConfigurationOutput,
|
|
13218
|
-
NoSuchBucket | CommonErrors,
|
|
13233
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
13219
13234
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13220
13235
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13221
13236
|
input: GetBucketAccelerateConfigurationRequest,
|
|
13222
13237
|
output: GetBucketAccelerateConfigurationOutput,
|
|
13223
|
-
errors: [NoSuchBucket],
|
|
13238
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
13224
13239
|
}));
|
|
13225
13240
|
/**
|
|
13226
13241
|
* This operation is not supported for directory buckets.
|
|
@@ -13253,12 +13268,12 @@ export const getBucketAcl: (
|
|
|
13253
13268
|
input: GetBucketAclRequest,
|
|
13254
13269
|
) => effect.Effect<
|
|
13255
13270
|
GetBucketAclOutput,
|
|
13256
|
-
NoSuchBucket | CommonErrors,
|
|
13271
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
13257
13272
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13258
13273
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13259
13274
|
input: GetBucketAclRequest,
|
|
13260
13275
|
output: GetBucketAclOutput,
|
|
13261
|
-
errors: [NoSuchBucket],
|
|
13276
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
13262
13277
|
}));
|
|
13263
13278
|
/**
|
|
13264
13279
|
* This operation is not supported for directory buckets.
|
|
@@ -13325,12 +13340,12 @@ export const getBucketCors: (
|
|
|
13325
13340
|
input: GetBucketCorsRequest,
|
|
13326
13341
|
) => effect.Effect<
|
|
13327
13342
|
GetBucketCorsOutput,
|
|
13328
|
-
NoSuchBucket | NoSuchCORSConfiguration | CommonErrors,
|
|
13343
|
+
NoSuchBucket | NoSuchCORSConfiguration | PermanentRedirect | CommonErrors,
|
|
13329
13344
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13330
13345
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13331
13346
|
input: GetBucketCorsRequest,
|
|
13332
13347
|
output: GetBucketCorsOutput,
|
|
13333
|
-
errors: [NoSuchBucket, NoSuchCORSConfiguration],
|
|
13348
|
+
errors: [NoSuchBucket, NoSuchCORSConfiguration, PermanentRedirect],
|
|
13334
13349
|
}));
|
|
13335
13350
|
/**
|
|
13336
13351
|
* Returns the default encryption configuration for an Amazon S3 bucket. By default, all buckets have a
|
|
@@ -13374,12 +13389,12 @@ export const getBucketEncryption: (
|
|
|
13374
13389
|
input: GetBucketEncryptionRequest,
|
|
13375
13390
|
) => effect.Effect<
|
|
13376
13391
|
GetBucketEncryptionOutput,
|
|
13377
|
-
NoSuchBucket | ParseError | CommonErrors,
|
|
13392
|
+
NoSuchBucket | ParseError | PermanentRedirect | CommonErrors,
|
|
13378
13393
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13379
13394
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13380
13395
|
input: GetBucketEncryptionRequest,
|
|
13381
13396
|
output: GetBucketEncryptionOutput,
|
|
13382
|
-
errors: [NoSuchBucket, ParseError],
|
|
13397
|
+
errors: [NoSuchBucket, ParseError, PermanentRedirect],
|
|
13383
13398
|
}));
|
|
13384
13399
|
/**
|
|
13385
13400
|
* This operation is not supported for directory buckets.
|
|
@@ -13517,12 +13532,15 @@ export const getBucketLifecycleConfiguration: (
|
|
|
13517
13532
|
input: GetBucketLifecycleConfigurationRequest,
|
|
13518
13533
|
) => effect.Effect<
|
|
13519
13534
|
GetBucketLifecycleConfigurationOutput,
|
|
13520
|
-
|
|
13535
|
+
| NoSuchBucket
|
|
13536
|
+
| NoSuchLifecycleConfiguration
|
|
13537
|
+
| PermanentRedirect
|
|
13538
|
+
| CommonErrors,
|
|
13521
13539
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13522
13540
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13523
13541
|
input: GetBucketLifecycleConfigurationRequest,
|
|
13524
13542
|
output: GetBucketLifecycleConfigurationOutput,
|
|
13525
|
-
errors: [NoSuchBucket, NoSuchLifecycleConfiguration],
|
|
13543
|
+
errors: [NoSuchBucket, NoSuchLifecycleConfiguration, PermanentRedirect],
|
|
13526
13544
|
}));
|
|
13527
13545
|
/**
|
|
13528
13546
|
* Using the `GetBucketLocation` operation is no longer a best practice. To return the
|
|
@@ -13588,12 +13606,12 @@ export const getBucketLogging: (
|
|
|
13588
13606
|
input: GetBucketLoggingRequest,
|
|
13589
13607
|
) => effect.Effect<
|
|
13590
13608
|
GetBucketLoggingOutput,
|
|
13591
|
-
NoSuchBucket | CommonErrors,
|
|
13609
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
13592
13610
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13593
13611
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13594
13612
|
input: GetBucketLoggingRequest,
|
|
13595
13613
|
output: GetBucketLoggingOutput,
|
|
13596
|
-
errors: [NoSuchBucket],
|
|
13614
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
13597
13615
|
}));
|
|
13598
13616
|
/**
|
|
13599
13617
|
* This operation is not supported for directory buckets.
|
|
@@ -13665,12 +13683,12 @@ export const getBucketOwnershipControls: (
|
|
|
13665
13683
|
input: GetBucketOwnershipControlsRequest,
|
|
13666
13684
|
) => effect.Effect<
|
|
13667
13685
|
GetBucketOwnershipControlsOutput,
|
|
13668
|
-
NoSuchBucket | CommonErrors,
|
|
13686
|
+
NoSuchBucket | OwnershipControlsNotFoundError | CommonErrors,
|
|
13669
13687
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13670
13688
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13671
13689
|
input: GetBucketOwnershipControlsRequest,
|
|
13672
13690
|
output: GetBucketOwnershipControlsOutput,
|
|
13673
|
-
errors: [NoSuchBucket],
|
|
13691
|
+
errors: [NoSuchBucket, OwnershipControlsNotFoundError],
|
|
13674
13692
|
}));
|
|
13675
13693
|
/**
|
|
13676
13694
|
* Returns the policy of a specified bucket.
|
|
@@ -13731,12 +13749,21 @@ export const getBucketPolicy: (
|
|
|
13731
13749
|
input: GetBucketPolicyRequest,
|
|
13732
13750
|
) => effect.Effect<
|
|
13733
13751
|
GetBucketPolicyOutput,
|
|
13734
|
-
|
|
13752
|
+
| NoSuchBucket
|
|
13753
|
+
| NoSuchBucketPolicy
|
|
13754
|
+
| PermanentRedirect
|
|
13755
|
+
| SignatureDoesNotMatch
|
|
13756
|
+
| CommonErrors,
|
|
13735
13757
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13736
13758
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13737
13759
|
input: GetBucketPolicyRequest,
|
|
13738
13760
|
output: GetBucketPolicyOutput,
|
|
13739
|
-
errors: [
|
|
13761
|
+
errors: [
|
|
13762
|
+
NoSuchBucket,
|
|
13763
|
+
NoSuchBucketPolicy,
|
|
13764
|
+
PermanentRedirect,
|
|
13765
|
+
SignatureDoesNotMatch,
|
|
13766
|
+
],
|
|
13740
13767
|
}));
|
|
13741
13768
|
/**
|
|
13742
13769
|
* This operation is not supported for directory buckets.
|
|
@@ -13795,12 +13822,12 @@ export const getBucketRequestPayment: (
|
|
|
13795
13822
|
input: GetBucketRequestPaymentRequest,
|
|
13796
13823
|
) => effect.Effect<
|
|
13797
13824
|
GetBucketRequestPaymentOutput,
|
|
13798
|
-
NoSuchBucket | CommonErrors,
|
|
13825
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
13799
13826
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13800
13827
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13801
13828
|
input: GetBucketRequestPaymentRequest,
|
|
13802
13829
|
output: GetBucketRequestPaymentOutput,
|
|
13803
|
-
errors: [NoSuchBucket],
|
|
13830
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
13804
13831
|
}));
|
|
13805
13832
|
/**
|
|
13806
13833
|
* This operation is not supported for directory buckets.
|
|
@@ -13830,12 +13857,12 @@ export const getBucketTagging: (
|
|
|
13830
13857
|
input: GetBucketTaggingRequest,
|
|
13831
13858
|
) => effect.Effect<
|
|
13832
13859
|
GetBucketTaggingOutput,
|
|
13833
|
-
NoSuchBucket | NoSuchTagSet | CommonErrors,
|
|
13860
|
+
NoSuchBucket | NoSuchTagSet | PermanentRedirect | CommonErrors,
|
|
13834
13861
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13835
13862
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13836
13863
|
input: GetBucketTaggingRequest,
|
|
13837
13864
|
output: GetBucketTaggingOutput,
|
|
13838
|
-
errors: [NoSuchBucket, NoSuchTagSet],
|
|
13865
|
+
errors: [NoSuchBucket, NoSuchTagSet, PermanentRedirect],
|
|
13839
13866
|
}));
|
|
13840
13867
|
/**
|
|
13841
13868
|
* This operation is not supported for directory buckets.
|
|
@@ -13862,12 +13889,12 @@ export const getBucketVersioning: (
|
|
|
13862
13889
|
input: GetBucketVersioningRequest,
|
|
13863
13890
|
) => effect.Effect<
|
|
13864
13891
|
GetBucketVersioningOutput,
|
|
13865
|
-
NoSuchBucket | CommonErrors,
|
|
13892
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
13866
13893
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13867
13894
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13868
13895
|
input: GetBucketVersioningRequest,
|
|
13869
13896
|
output: GetBucketVersioningOutput,
|
|
13870
|
-
errors: [NoSuchBucket],
|
|
13897
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
13871
13898
|
}));
|
|
13872
13899
|
/**
|
|
13873
13900
|
* This operation is not supported for directory buckets.
|
|
@@ -13892,12 +13919,12 @@ export const getBucketWebsite: (
|
|
|
13892
13919
|
input: GetBucketWebsiteRequest,
|
|
13893
13920
|
) => effect.Effect<
|
|
13894
13921
|
GetBucketWebsiteOutput,
|
|
13895
|
-
NoSuchBucket | NoSuchWebsiteConfiguration | CommonErrors,
|
|
13922
|
+
NoSuchBucket | NoSuchWebsiteConfiguration | PermanentRedirect | CommonErrors,
|
|
13896
13923
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13897
13924
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13898
13925
|
input: GetBucketWebsiteRequest,
|
|
13899
13926
|
output: GetBucketWebsiteOutput,
|
|
13900
|
-
errors: [NoSuchBucket, NoSuchWebsiteConfiguration],
|
|
13927
|
+
errors: [NoSuchBucket, NoSuchWebsiteConfiguration, PermanentRedirect],
|
|
13901
13928
|
}));
|
|
13902
13929
|
/**
|
|
13903
13930
|
* This operation is not supported for directory buckets.
|
|
@@ -13933,12 +13960,12 @@ export const getObjectAcl: (
|
|
|
13933
13960
|
input: GetObjectAclRequest,
|
|
13934
13961
|
) => effect.Effect<
|
|
13935
13962
|
GetObjectAclOutput,
|
|
13936
|
-
NoSuchKey | NoSuchBucket | CommonErrors,
|
|
13963
|
+
NoSuchKey | NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
13937
13964
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13938
13965
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13939
13966
|
input: GetObjectAclRequest,
|
|
13940
13967
|
output: GetObjectAclOutput,
|
|
13941
|
-
errors: [NoSuchKey, NoSuchBucket],
|
|
13968
|
+
errors: [NoSuchKey, NoSuchBucket, PermanentRedirect],
|
|
13942
13969
|
}));
|
|
13943
13970
|
/**
|
|
13944
13971
|
* This operation is not supported for directory buckets.
|
|
@@ -13981,12 +14008,19 @@ export const getObjectLockConfiguration: (
|
|
|
13981
14008
|
input: GetObjectLockConfigurationRequest,
|
|
13982
14009
|
) => effect.Effect<
|
|
13983
14010
|
GetObjectLockConfigurationOutput,
|
|
13984
|
-
|
|
14011
|
+
| NoSuchBucket
|
|
14012
|
+
| ObjectLockConfigurationNotFoundError
|
|
14013
|
+
| PermanentRedirect
|
|
14014
|
+
| CommonErrors,
|
|
13985
14015
|
Credentials | Rgn | HttpClient.HttpClient
|
|
13986
14016
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
13987
14017
|
input: GetObjectLockConfigurationRequest,
|
|
13988
14018
|
output: GetObjectLockConfigurationOutput,
|
|
13989
|
-
errors: [
|
|
14019
|
+
errors: [
|
|
14020
|
+
NoSuchBucket,
|
|
14021
|
+
ObjectLockConfigurationNotFoundError,
|
|
14022
|
+
PermanentRedirect,
|
|
14023
|
+
],
|
|
13990
14024
|
}));
|
|
13991
14025
|
/**
|
|
13992
14026
|
* This operation is not supported for directory buckets.
|
|
@@ -14042,12 +14076,12 @@ export const getObjectTagging: (
|
|
|
14042
14076
|
input: GetObjectTaggingRequest,
|
|
14043
14077
|
) => effect.Effect<
|
|
14044
14078
|
GetObjectTaggingOutput,
|
|
14045
|
-
NoSuchBucket | NoSuchKey | CommonErrors,
|
|
14079
|
+
NoSuchBucket | NoSuchKey | PermanentRedirect | CommonErrors,
|
|
14046
14080
|
Credentials | Rgn | HttpClient.HttpClient
|
|
14047
14081
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
14048
14082
|
input: GetObjectTaggingRequest,
|
|
14049
14083
|
output: GetObjectTaggingOutput,
|
|
14050
|
-
errors: [NoSuchBucket, NoSuchKey],
|
|
14084
|
+
errors: [NoSuchBucket, NoSuchKey, PermanentRedirect],
|
|
14051
14085
|
}));
|
|
14052
14086
|
/**
|
|
14053
14087
|
* This operation is not supported for directory buckets.
|
|
@@ -14116,12 +14150,19 @@ export const getPublicAccessBlock: (
|
|
|
14116
14150
|
input: GetPublicAccessBlockRequest,
|
|
14117
14151
|
) => effect.Effect<
|
|
14118
14152
|
GetPublicAccessBlockOutput,
|
|
14119
|
-
|
|
14153
|
+
| NoSuchBucket
|
|
14154
|
+
| NoSuchPublicAccessBlockConfiguration
|
|
14155
|
+
| PermanentRedirect
|
|
14156
|
+
| CommonErrors,
|
|
14120
14157
|
Credentials | Rgn | HttpClient.HttpClient
|
|
14121
14158
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
14122
14159
|
input: GetPublicAccessBlockRequest,
|
|
14123
14160
|
output: GetPublicAccessBlockOutput,
|
|
14124
|
-
errors: [
|
|
14161
|
+
errors: [
|
|
14162
|
+
NoSuchBucket,
|
|
14163
|
+
NoSuchPublicAccessBlockConfiguration,
|
|
14164
|
+
PermanentRedirect,
|
|
14165
|
+
],
|
|
14125
14166
|
}));
|
|
14126
14167
|
/**
|
|
14127
14168
|
* You can use this operation to determine if a bucket exists and if you have permission to access it.
|
|
@@ -14605,27 +14646,27 @@ export const listObjectsV2: {
|
|
|
14605
14646
|
input: ListObjectsV2Request,
|
|
14606
14647
|
): effect.Effect<
|
|
14607
14648
|
ListObjectsV2Output,
|
|
14608
|
-
NoSuchBucket | CommonErrors,
|
|
14649
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
14609
14650
|
Credentials | Rgn | HttpClient.HttpClient
|
|
14610
14651
|
>;
|
|
14611
14652
|
pages: (
|
|
14612
14653
|
input: ListObjectsV2Request,
|
|
14613
14654
|
) => stream.Stream<
|
|
14614
14655
|
ListObjectsV2Output,
|
|
14615
|
-
NoSuchBucket | CommonErrors,
|
|
14656
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
14616
14657
|
Credentials | Rgn | HttpClient.HttpClient
|
|
14617
14658
|
>;
|
|
14618
14659
|
items: (
|
|
14619
14660
|
input: ListObjectsV2Request,
|
|
14620
14661
|
) => stream.Stream<
|
|
14621
14662
|
unknown,
|
|
14622
|
-
NoSuchBucket | CommonErrors,
|
|
14663
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
14623
14664
|
Credentials | Rgn | HttpClient.HttpClient
|
|
14624
14665
|
>;
|
|
14625
14666
|
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
14626
14667
|
input: ListObjectsV2Request,
|
|
14627
14668
|
output: ListObjectsV2Output,
|
|
14628
|
-
errors: [NoSuchBucket],
|
|
14669
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
14629
14670
|
pagination: {
|
|
14630
14671
|
inputToken: "ContinuationToken",
|
|
14631
14672
|
outputToken: "NextContinuationToken",
|
|
@@ -14686,12 +14727,12 @@ export const putBucketAccelerateConfiguration: (
|
|
|
14686
14727
|
input: PutBucketAccelerateConfigurationRequest,
|
|
14687
14728
|
) => effect.Effect<
|
|
14688
14729
|
PutBucketAccelerateConfigurationResponse,
|
|
14689
|
-
NoSuchBucket | CommonErrors,
|
|
14730
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
14690
14731
|
Credentials | Rgn | HttpClient.HttpClient
|
|
14691
14732
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
14692
14733
|
input: PutBucketAccelerateConfigurationRequest,
|
|
14693
14734
|
output: PutBucketAccelerateConfigurationResponse,
|
|
14694
|
-
errors: [NoSuchBucket],
|
|
14735
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
14695
14736
|
}));
|
|
14696
14737
|
/**
|
|
14697
14738
|
* This operation is not supported for directory buckets.
|
|
@@ -14713,12 +14754,12 @@ export const putBucketRequestPayment: (
|
|
|
14713
14754
|
input: PutBucketRequestPaymentRequest,
|
|
14714
14755
|
) => effect.Effect<
|
|
14715
14756
|
PutBucketRequestPaymentResponse,
|
|
14716
|
-
NoSuchBucket | CommonErrors,
|
|
14757
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
14717
14758
|
Credentials | Rgn | HttpClient.HttpClient
|
|
14718
14759
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
14719
14760
|
input: PutBucketRequestPaymentRequest,
|
|
14720
14761
|
output: PutBucketRequestPaymentResponse,
|
|
14721
|
-
errors: [NoSuchBucket],
|
|
14762
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
14722
14763
|
}));
|
|
14723
14764
|
/**
|
|
14724
14765
|
* This operation is not supported for directory buckets.
|
|
@@ -14766,12 +14807,12 @@ export const putBucketTagging: (
|
|
|
14766
14807
|
input: PutBucketTaggingRequest,
|
|
14767
14808
|
) => effect.Effect<
|
|
14768
14809
|
PutBucketTaggingResponse,
|
|
14769
|
-
NoSuchBucket | CommonErrors,
|
|
14810
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
14770
14811
|
Credentials | Rgn | HttpClient.HttpClient
|
|
14771
14812
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
14772
14813
|
input: PutBucketTaggingRequest,
|
|
14773
14814
|
output: PutBucketTaggingResponse,
|
|
14774
|
-
errors: [NoSuchBucket],
|
|
14815
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
14775
14816
|
}));
|
|
14776
14817
|
/**
|
|
14777
14818
|
* This operation is not supported for directory buckets.
|
|
@@ -14820,12 +14861,12 @@ export const putBucketVersioning: (
|
|
|
14820
14861
|
input: PutBucketVersioningRequest,
|
|
14821
14862
|
) => effect.Effect<
|
|
14822
14863
|
PutBucketVersioningResponse,
|
|
14823
|
-
NoSuchBucket | CommonErrors,
|
|
14864
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
14824
14865
|
Credentials | Rgn | HttpClient.HttpClient
|
|
14825
14866
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
14826
14867
|
input: PutBucketVersioningRequest,
|
|
14827
14868
|
output: PutBucketVersioningResponse,
|
|
14828
|
-
errors: [NoSuchBucket],
|
|
14869
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
14829
14870
|
}));
|
|
14830
14871
|
/**
|
|
14831
14872
|
* 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,
|
|
@@ -14947,6 +14988,7 @@ export const putObject: (
|
|
|
14947
14988
|
| InvalidWriteOffset
|
|
14948
14989
|
| TooManyParts
|
|
14949
14990
|
| NoSuchBucket
|
|
14991
|
+
| PermanentRedirect
|
|
14950
14992
|
| CommonErrors,
|
|
14951
14993
|
Credentials | Rgn | HttpClient.HttpClient
|
|
14952
14994
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -14958,6 +15000,7 @@ export const putObject: (
|
|
|
14958
15000
|
InvalidWriteOffset,
|
|
14959
15001
|
TooManyParts,
|
|
14960
15002
|
NoSuchBucket,
|
|
15003
|
+
PermanentRedirect,
|
|
14961
15004
|
],
|
|
14962
15005
|
}));
|
|
14963
15006
|
/**
|
|
@@ -15107,12 +15150,12 @@ export const putObjectAcl: (
|
|
|
15107
15150
|
input: PutObjectAclRequest,
|
|
15108
15151
|
) => effect.Effect<
|
|
15109
15152
|
PutObjectAclOutput,
|
|
15110
|
-
NoSuchKey | CommonErrors,
|
|
15153
|
+
NoSuchKey | PermanentRedirect | CommonErrors,
|
|
15111
15154
|
Credentials | Rgn | HttpClient.HttpClient
|
|
15112
15155
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
15113
15156
|
input: PutObjectAclRequest,
|
|
15114
15157
|
output: PutObjectAclOutput,
|
|
15115
|
-
errors: [NoSuchKey],
|
|
15158
|
+
errors: [NoSuchKey, PermanentRedirect],
|
|
15116
15159
|
}));
|
|
15117
15160
|
/**
|
|
15118
15161
|
* This operation is not supported for directory buckets.
|
|
@@ -15158,12 +15201,12 @@ export const putObjectTagging: (
|
|
|
15158
15201
|
input: PutObjectTaggingRequest,
|
|
15159
15202
|
) => effect.Effect<
|
|
15160
15203
|
PutObjectTaggingOutput,
|
|
15161
|
-
NoSuchKey | CommonErrors,
|
|
15204
|
+
NoSuchKey | PermanentRedirect | CommonErrors,
|
|
15162
15205
|
Credentials | Rgn | HttpClient.HttpClient
|
|
15163
15206
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
15164
15207
|
input: PutObjectTaggingRequest,
|
|
15165
15208
|
output: PutObjectTaggingOutput,
|
|
15166
|
-
errors: [NoSuchKey],
|
|
15209
|
+
errors: [NoSuchKey, PermanentRedirect],
|
|
15167
15210
|
}));
|
|
15168
15211
|
/**
|
|
15169
15212
|
* This operation is not supported for directory buckets.
|
|
@@ -15199,12 +15242,12 @@ export const putPublicAccessBlock: (
|
|
|
15199
15242
|
input: PutPublicAccessBlockRequest,
|
|
15200
15243
|
) => effect.Effect<
|
|
15201
15244
|
PutPublicAccessBlockResponse,
|
|
15202
|
-
NoSuchBucket | CommonErrors,
|
|
15245
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
15203
15246
|
Credentials | Rgn | HttpClient.HttpClient
|
|
15204
15247
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
15205
15248
|
input: PutPublicAccessBlockRequest,
|
|
15206
15249
|
output: PutPublicAccessBlockResponse,
|
|
15207
|
-
errors: [NoSuchBucket],
|
|
15250
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
15208
15251
|
}));
|
|
15209
15252
|
/**
|
|
15210
15253
|
* Uploads a part in a multipart upload.
|
|
@@ -15350,12 +15393,12 @@ export const uploadPart: (
|
|
|
15350
15393
|
input: UploadPartRequest,
|
|
15351
15394
|
) => effect.Effect<
|
|
15352
15395
|
UploadPartOutput,
|
|
15353
|
-
NoSuchBucket | CommonErrors,
|
|
15396
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
15354
15397
|
Credentials | Rgn | HttpClient.HttpClient
|
|
15355
15398
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
15356
15399
|
input: UploadPartRequest,
|
|
15357
15400
|
output: UploadPartOutput,
|
|
15358
|
-
errors: [NoSuchBucket],
|
|
15401
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
15359
15402
|
}));
|
|
15360
15403
|
/**
|
|
15361
15404
|
* Creates an S3 Metadata V2 metadata configuration for a general purpose bucket. For more information, see
|
|
@@ -15758,12 +15801,16 @@ export const getObject: (
|
|
|
15758
15801
|
input: GetObjectRequest,
|
|
15759
15802
|
) => effect.Effect<
|
|
15760
15803
|
GetObjectOutput,
|
|
15761
|
-
|
|
15804
|
+
| InvalidObjectState
|
|
15805
|
+
| NoSuchKey
|
|
15806
|
+
| NoSuchBucket
|
|
15807
|
+
| PermanentRedirect
|
|
15808
|
+
| CommonErrors,
|
|
15762
15809
|
Credentials | Rgn | HttpClient.HttpClient
|
|
15763
15810
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
15764
15811
|
input: GetObjectRequest,
|
|
15765
15812
|
output: GetObjectOutput,
|
|
15766
|
-
errors: [InvalidObjectState, NoSuchKey, NoSuchBucket],
|
|
15813
|
+
errors: [InvalidObjectState, NoSuchKey, NoSuchBucket, PermanentRedirect],
|
|
15767
15814
|
}));
|
|
15768
15815
|
/**
|
|
15769
15816
|
* This operation is not supported for directory buckets.
|
|
@@ -15907,12 +15954,12 @@ export const listMultipartUploads: (
|
|
|
15907
15954
|
input: ListMultipartUploadsRequest,
|
|
15908
15955
|
) => effect.Effect<
|
|
15909
15956
|
ListMultipartUploadsOutput,
|
|
15910
|
-
NoSuchBucket | CommonErrors,
|
|
15957
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
15911
15958
|
Credentials | Rgn | HttpClient.HttpClient
|
|
15912
15959
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
15913
15960
|
input: ListMultipartUploadsRequest,
|
|
15914
15961
|
output: ListMultipartUploadsOutput,
|
|
15915
|
-
errors: [NoSuchBucket],
|
|
15962
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
15916
15963
|
}));
|
|
15917
15964
|
/**
|
|
15918
15965
|
* This operation is not supported for directory buckets.
|
|
@@ -15944,12 +15991,12 @@ export const listObjectVersions: (
|
|
|
15944
15991
|
input: ListObjectVersionsRequest,
|
|
15945
15992
|
) => effect.Effect<
|
|
15946
15993
|
ListObjectVersionsOutput,
|
|
15947
|
-
NoSuchBucket | CommonErrors,
|
|
15994
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
15948
15995
|
Credentials | Rgn | HttpClient.HttpClient
|
|
15949
15996
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
15950
15997
|
input: ListObjectVersionsRequest,
|
|
15951
15998
|
output: ListObjectVersionsOutput,
|
|
15952
|
-
errors: [NoSuchBucket],
|
|
15999
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
15953
16000
|
}));
|
|
15954
16001
|
/**
|
|
15955
16002
|
* Lists the parts that have been uploaded for a specific multipart upload.
|
|
@@ -16096,12 +16143,12 @@ export const putBucketCors: (
|
|
|
16096
16143
|
input: PutBucketCorsRequest,
|
|
16097
16144
|
) => effect.Effect<
|
|
16098
16145
|
PutBucketCorsResponse,
|
|
16099
|
-
NoSuchBucket | CommonErrors,
|
|
16146
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
16100
16147
|
Credentials | Rgn | HttpClient.HttpClient
|
|
16101
16148
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
16102
16149
|
input: PutBucketCorsRequest,
|
|
16103
16150
|
output: PutBucketCorsResponse,
|
|
16104
|
-
errors: [NoSuchBucket],
|
|
16151
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
16105
16152
|
}));
|
|
16106
16153
|
/**
|
|
16107
16154
|
* This operation is not supported for directory buckets.
|
|
@@ -16725,12 +16772,12 @@ export const copyObject: (
|
|
|
16725
16772
|
input: CopyObjectRequest,
|
|
16726
16773
|
) => effect.Effect<
|
|
16727
16774
|
CopyObjectOutput,
|
|
16728
|
-
ObjectNotInActiveTierError | NoSuchBucket | CommonErrors,
|
|
16775
|
+
ObjectNotInActiveTierError | NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
16729
16776
|
Credentials | Rgn | HttpClient.HttpClient
|
|
16730
16777
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
16731
16778
|
input: CopyObjectRequest,
|
|
16732
16779
|
output: CopyObjectOutput,
|
|
16733
|
-
errors: [ObjectNotInActiveTierError, NoSuchBucket],
|
|
16780
|
+
errors: [ObjectNotInActiveTierError, NoSuchBucket, PermanentRedirect],
|
|
16734
16781
|
}));
|
|
16735
16782
|
/**
|
|
16736
16783
|
* This action creates an Amazon S3 bucket. To create an Amazon S3 on Outposts bucket, see
|
|
@@ -17042,12 +17089,12 @@ export const listObjects: (
|
|
|
17042
17089
|
input: ListObjectsRequest,
|
|
17043
17090
|
) => effect.Effect<
|
|
17044
17091
|
ListObjectsOutput,
|
|
17045
|
-
NoSuchBucket | CommonErrors,
|
|
17092
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
17046
17093
|
Credentials | Rgn | HttpClient.HttpClient
|
|
17047
17094
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
17048
17095
|
input: ListObjectsRequest,
|
|
17049
17096
|
output: ListObjectsOutput,
|
|
17050
|
-
errors: [NoSuchBucket],
|
|
17097
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
17051
17098
|
}));
|
|
17052
17099
|
/**
|
|
17053
17100
|
* 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,
|
|
@@ -17198,12 +17245,12 @@ export const putBucketAcl: (
|
|
|
17198
17245
|
input: PutBucketAclRequest,
|
|
17199
17246
|
) => effect.Effect<
|
|
17200
17247
|
PutBucketAclResponse,
|
|
17201
|
-
NoSuchBucket | CommonErrors,
|
|
17248
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
17202
17249
|
Credentials | Rgn | HttpClient.HttpClient
|
|
17203
17250
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
17204
17251
|
input: PutBucketAclRequest,
|
|
17205
17252
|
output: PutBucketAclResponse,
|
|
17206
|
-
errors: [NoSuchBucket],
|
|
17253
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
17207
17254
|
}));
|
|
17208
17255
|
/**
|
|
17209
17256
|
* This operation configures default encryption and Amazon S3 Bucket Keys for an existing bucket. You can also block encryption types using this operation.
|
|
@@ -17294,12 +17341,12 @@ export const putBucketEncryption: (
|
|
|
17294
17341
|
input: PutBucketEncryptionRequest,
|
|
17295
17342
|
) => effect.Effect<
|
|
17296
17343
|
PutBucketEncryptionResponse,
|
|
17297
|
-
NoSuchBucket | CommonErrors,
|
|
17344
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
17298
17345
|
Credentials | Rgn | HttpClient.HttpClient
|
|
17299
17346
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
17300
17347
|
input: PutBucketEncryptionRequest,
|
|
17301
17348
|
output: PutBucketEncryptionResponse,
|
|
17302
|
-
errors: [NoSuchBucket],
|
|
17349
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
17303
17350
|
}));
|
|
17304
17351
|
/**
|
|
17305
17352
|
* This operation is not supported for directory buckets.
|
|
@@ -17480,12 +17527,12 @@ export const putBucketWebsite: (
|
|
|
17480
17527
|
input: PutBucketWebsiteRequest,
|
|
17481
17528
|
) => effect.Effect<
|
|
17482
17529
|
PutBucketWebsiteResponse,
|
|
17483
|
-
NoSuchBucket | CommonErrors,
|
|
17530
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
17484
17531
|
Credentials | Rgn | HttpClient.HttpClient
|
|
17485
17532
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
17486
17533
|
input: PutBucketWebsiteRequest,
|
|
17487
17534
|
output: PutBucketWebsiteResponse,
|
|
17488
|
-
errors: [NoSuchBucket],
|
|
17535
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
17489
17536
|
}));
|
|
17490
17537
|
/**
|
|
17491
17538
|
* This operation enables you to delete multiple objects from a bucket using a single HTTP request. If
|
|
@@ -17583,12 +17630,12 @@ export const deleteObjects: (
|
|
|
17583
17630
|
input: DeleteObjectsRequest,
|
|
17584
17631
|
) => effect.Effect<
|
|
17585
17632
|
DeleteObjectsOutput,
|
|
17586
|
-
NoSuchBucket | CommonErrors,
|
|
17633
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
17587
17634
|
Credentials | Rgn | HttpClient.HttpClient
|
|
17588
17635
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
17589
17636
|
input: DeleteObjectsRequest,
|
|
17590
17637
|
output: DeleteObjectsOutput,
|
|
17591
|
-
errors: [NoSuchBucket],
|
|
17638
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
17592
17639
|
}));
|
|
17593
17640
|
/**
|
|
17594
17641
|
* Retrieves the S3 Metadata configuration for a general purpose bucket. For more information, see
|
|
@@ -17624,12 +17671,12 @@ export const getBucketMetadataConfiguration: (
|
|
|
17624
17671
|
input: GetBucketMetadataConfigurationRequest,
|
|
17625
17672
|
) => effect.Effect<
|
|
17626
17673
|
GetBucketMetadataConfigurationOutput,
|
|
17627
|
-
CommonErrors,
|
|
17674
|
+
NoSuchBucket | CommonErrors,
|
|
17628
17675
|
Credentials | Rgn | HttpClient.HttpClient
|
|
17629
17676
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
17630
17677
|
input: GetBucketMetadataConfigurationRequest,
|
|
17631
17678
|
output: GetBucketMetadataConfigurationOutput,
|
|
17632
|
-
errors: [],
|
|
17679
|
+
errors: [NoSuchBucket],
|
|
17633
17680
|
}));
|
|
17634
17681
|
/**
|
|
17635
17682
|
* We recommend that you retrieve your S3 Metadata configurations by using the V2
|
|
@@ -17671,12 +17718,12 @@ export const getBucketMetadataTableConfiguration: (
|
|
|
17671
17718
|
input: GetBucketMetadataTableConfigurationRequest,
|
|
17672
17719
|
) => effect.Effect<
|
|
17673
17720
|
GetBucketMetadataTableConfigurationOutput,
|
|
17674
|
-
CommonErrors,
|
|
17721
|
+
NoSuchBucket | CommonErrors,
|
|
17675
17722
|
Credentials | Rgn | HttpClient.HttpClient
|
|
17676
17723
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
17677
17724
|
input: GetBucketMetadataTableConfigurationRequest,
|
|
17678
17725
|
output: GetBucketMetadataTableConfigurationOutput,
|
|
17679
|
-
errors: [],
|
|
17726
|
+
errors: [NoSuchBucket],
|
|
17680
17727
|
}));
|
|
17681
17728
|
/**
|
|
17682
17729
|
* 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,
|
|
@@ -17750,12 +17797,12 @@ export const putBucketLogging: (
|
|
|
17750
17797
|
input: PutBucketLoggingRequest,
|
|
17751
17798
|
) => effect.Effect<
|
|
17752
17799
|
PutBucketLoggingResponse,
|
|
17753
|
-
NoSuchBucket | CommonErrors,
|
|
17800
|
+
NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
17754
17801
|
Credentials | Rgn | HttpClient.HttpClient
|
|
17755
17802
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
17756
17803
|
input: PutBucketLoggingRequest,
|
|
17757
17804
|
output: PutBucketLoggingResponse,
|
|
17758
|
-
errors: [NoSuchBucket],
|
|
17805
|
+
errors: [NoSuchBucket, PermanentRedirect],
|
|
17759
17806
|
}));
|
|
17760
17807
|
/**
|
|
17761
17808
|
* This operation is not supported for directory buckets.
|
|
@@ -17780,12 +17827,12 @@ export const putObjectLockConfiguration: (
|
|
|
17780
17827
|
input: PutObjectLockConfigurationRequest,
|
|
17781
17828
|
) => effect.Effect<
|
|
17782
17829
|
PutObjectLockConfigurationOutput,
|
|
17783
|
-
InvalidBucketState | NoSuchBucket | CommonErrors,
|
|
17830
|
+
InvalidBucketState | NoSuchBucket | PermanentRedirect | CommonErrors,
|
|
17784
17831
|
Credentials | Rgn | HttpClient.HttpClient
|
|
17785
17832
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
17786
17833
|
input: PutObjectLockConfigurationRequest,
|
|
17787
17834
|
output: PutObjectLockConfigurationOutput,
|
|
17788
|
-
errors: [InvalidBucketState, NoSuchBucket],
|
|
17835
|
+
errors: [InvalidBucketState, NoSuchBucket, PermanentRedirect],
|
|
17789
17836
|
}));
|
|
17790
17837
|
/**
|
|
17791
17838
|
* This operation is not supported for directory buckets.
|
|
@@ -18044,12 +18091,16 @@ export const putBucketLifecycleConfiguration: (
|
|
|
18044
18091
|
input: PutBucketLifecycleConfigurationRequest,
|
|
18045
18092
|
) => effect.Effect<
|
|
18046
18093
|
PutBucketLifecycleConfigurationOutput,
|
|
18047
|
-
|
|
18094
|
+
| InvalidRequest
|
|
18095
|
+
| MalformedXML
|
|
18096
|
+
| NoSuchBucket
|
|
18097
|
+
| PermanentRedirect
|
|
18098
|
+
| CommonErrors,
|
|
18048
18099
|
Credentials | Rgn | HttpClient.HttpClient
|
|
18049
18100
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
18050
18101
|
input: PutBucketLifecycleConfigurationRequest,
|
|
18051
18102
|
output: PutBucketLifecycleConfigurationOutput,
|
|
18052
|
-
errors: [InvalidRequest, MalformedXML, NoSuchBucket],
|
|
18103
|
+
errors: [InvalidRequest, MalformedXML, NoSuchBucket, PermanentRedirect],
|
|
18053
18104
|
}));
|
|
18054
18105
|
/**
|
|
18055
18106
|
* This operation is not supported for directory buckets.
|
|
@@ -18331,12 +18382,12 @@ export const restoreObject: (
|
|
|
18331
18382
|
input: RestoreObjectRequest,
|
|
18332
18383
|
) => effect.Effect<
|
|
18333
18384
|
RestoreObjectOutput,
|
|
18334
|
-
ObjectAlreadyInActiveTierError | NoSuchKey | CommonErrors,
|
|
18385
|
+
ObjectAlreadyInActiveTierError | NoSuchKey | PermanentRedirect | CommonErrors,
|
|
18335
18386
|
Credentials | Rgn | HttpClient.HttpClient
|
|
18336
18387
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
18337
18388
|
input: RestoreObjectRequest,
|
|
18338
18389
|
output: RestoreObjectOutput,
|
|
18339
|
-
errors: [ObjectAlreadyInActiveTierError, NoSuchKey],
|
|
18390
|
+
errors: [ObjectAlreadyInActiveTierError, NoSuchKey, PermanentRedirect],
|
|
18340
18391
|
}));
|
|
18341
18392
|
/**
|
|
18342
18393
|
* This operation is not supported for directory buckets.
|
|
@@ -18433,10 +18484,10 @@ export const selectObjectContent: (
|
|
|
18433
18484
|
input: SelectObjectContentRequest,
|
|
18434
18485
|
) => effect.Effect<
|
|
18435
18486
|
SelectObjectContentOutput,
|
|
18436
|
-
CommonErrors,
|
|
18487
|
+
PermanentRedirect | CommonErrors,
|
|
18437
18488
|
Credentials | Rgn | HttpClient.HttpClient
|
|
18438
18489
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
18439
18490
|
input: SelectObjectContentRequest,
|
|
18440
18491
|
output: SelectObjectContentOutput,
|
|
18441
|
-
errors: [],
|
|
18492
|
+
errors: [PermanentRedirect],
|
|
18442
18493
|
}));
|