distilled-aws 0.0.20 → 0.0.21
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 +4 -1
- package/lib/services/s3.d.ts.map +1 -1
- package/lib/services/s3.js +2 -2
- package/lib/services/s3.js.map +1 -1
- package/package.json +1 -1
- package/src/services/s3.ts +3 -3
package/package.json
CHANGED
package/src/services/s3.ts
CHANGED
|
@@ -11787,7 +11787,7 @@ export class BucketNotEmpty extends S.TaggedError<BucketNotEmpty>()(
|
|
|
11787
11787
|
) {}
|
|
11788
11788
|
export class NoSuchBucket extends S.TaggedError<NoSuchBucket>()(
|
|
11789
11789
|
"NoSuchBucket",
|
|
11790
|
-
{},
|
|
11790
|
+
{ Message: S.optional(S.String), BucketName: S.optional(S.String) },
|
|
11791
11791
|
) {}
|
|
11792
11792
|
export class PermanentRedirect extends S.TaggedError<PermanentRedirect>()(
|
|
11793
11793
|
"PermanentRedirect",
|
|
@@ -14314,12 +14314,12 @@ export const headBucket: (
|
|
|
14314
14314
|
input: HeadBucketRequest,
|
|
14315
14315
|
) => effect.Effect<
|
|
14316
14316
|
HeadBucketOutput,
|
|
14317
|
-
NotFound | RequestLimitExceeded | ParseError | CommonErrors,
|
|
14317
|
+
NotFound | RequestLimitExceeded | ParseError | NoSuchBucket | CommonErrors,
|
|
14318
14318
|
Credentials | Rgn | HttpClient.HttpClient
|
|
14319
14319
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
14320
14320
|
input: HeadBucketRequest,
|
|
14321
14321
|
output: HeadBucketOutput,
|
|
14322
|
-
errors: [NotFound, RequestLimitExceeded, ParseError],
|
|
14322
|
+
errors: [NotFound, RequestLimitExceeded, ParseError, NoSuchBucket],
|
|
14323
14323
|
}));
|
|
14324
14324
|
/**
|
|
14325
14325
|
* The `HEAD` operation retrieves metadata from an object without returning the object
|