Skip to content

Commit 6048515

Browse files
committed
fix(s3): add OperationAborted to CreateBucket
1 parent 4237965 commit 6048515

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

scripts/service-patches.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,6 +1945,7 @@ export const servicePatches: Record<string, ServicePatches> = {
19451945
"IllegalLocationConstraintException",
19461946
"InvalidBucketName",
19471947
"TooManyBuckets",
1948+
"OperationAborted",
19481949
],
19491950
},
19501951
DeleteBucket: {

src/services/s3/types.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export declare class S3 extends AWSServiceClient {
4343
| IllegalLocationConstraintException
4444
| InvalidBucketName
4545
| TooManyBuckets
46+
| OperationAborted
4647
| CommonAwsError
4748
>;
4849
createBucketMetadataConfiguration(
@@ -3539,6 +3540,10 @@ export declare class TooManyBuckets extends EffectData.TaggedError(
35393540
"TooManyBuckets",
35403541
)<{}> {}
35413542

3543+
export declare class OperationAborted extends EffectData.TaggedError(
3544+
"OperationAborted",
3545+
)<{}> {}
3546+
35423547
export declare class BucketNotEmpty extends EffectData.TaggedError(
35433548
"BucketNotEmpty",
35443549
)<{}> {}
@@ -3615,10 +3620,6 @@ export declare class ObjectLockConfigurationNotFoundError extends EffectData.Tag
36153620
"ObjectLockConfigurationNotFoundError",
36163621
)<{}> {}
36173622

3618-
export declare class OperationAborted extends EffectData.TaggedError(
3619-
"OperationAborted",
3620-
)<{}> {}
3621-
36223623
export declare class MalformedPolicy extends EffectData.TaggedError(
36233624
"MalformedPolicy",
36243625
)<{}> {}
@@ -3671,6 +3672,7 @@ export declare namespace CreateBucket {
36713672
| IllegalLocationConstraintException
36723673
| InvalidBucketName
36733674
| TooManyBuckets
3675+
| OperationAborted
36743676
| CommonAwsError;
36753677
}
36763678

@@ -4547,6 +4549,7 @@ export type S3Errors =
45474549
| IllegalLocationConstraintException
45484550
| InvalidBucketName
45494551
| TooManyBuckets
4552+
| OperationAborted
45504553
| BucketNotEmpty
45514554
| NoSuchConfiguration
45524555
| NoSuchCORSConfiguration
@@ -4566,7 +4569,6 @@ export type S3Errors =
45664569
| NotImplemented
45674570
| ObjectLockConfigurationNotFound
45684571
| ObjectLockConfigurationNotFoundError
4569-
| OperationAborted
45704572
| MalformedPolicy
45714573
| EntityTooLarge
45724574
| CommonAwsError;

0 commit comments

Comments
 (0)