@effect-aws/client-lambda 1.9.5 → 1.10.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-aws/client-lambda",
3
- "version": "1.9.5",
3
+ "version": "1.10.2",
4
4
  "description": "Effectful AWS Lambda client",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -16,7 +16,7 @@
16
16
  "homepage": "https://floydspace.github.io/effect-aws/docs/client-lambda",
17
17
  "dependencies": {
18
18
  "@aws-sdk/client-lambda": "^3",
19
- "@effect-aws/commons": "^0.2.1"
19
+ "@effect-aws/commons": "^0.3.0"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "effect": ">=3.0.4 <4.0.0"
package/src/Errors.ts CHANGED
@@ -39,7 +39,6 @@ import type {
39
39
  UnsupportedMediaTypeException,
40
40
  } from "@aws-sdk/client-lambda";
41
41
  import type { TaggedException } from "@effect-aws/commons";
42
- import { SdkError as CommonSdkError } from "@effect-aws/commons";
43
42
 
44
43
  export const AllServiceErrors = [
45
44
  "CodeSigningConfigNotFoundException",
@@ -120,6 +119,4 @@ export type SnapStartTimeoutError = TaggedException<SnapStartTimeoutException>;
120
119
  export type SubnetIPAddressLimitReachedError = TaggedException<SubnetIPAddressLimitReachedException>;
121
120
  export type TooManyRequestsError = TaggedException<TooManyRequestsException>;
122
121
  export type UnsupportedMediaTypeError = TaggedException<UnsupportedMediaTypeException>;
123
-
124
- export type SdkError = CommonSdkError;
125
- export const SdkError = CommonSdkError;
122
+ export type SdkError = TaggedException<Error & { name: "SdkError" }>;