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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "distilled-aws",
3
3
  "module": "index.ts",
4
- "version": "0.0.20",
4
+ "version": "0.0.21",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -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