@effect-aws/client-lambda 1.6.0 → 1.9.0

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.
Files changed (69) hide show
  1. package/Errors/package.json +6 -0
  2. package/LICENSE +1 -1
  3. package/LambdaClientInstance/package.json +6 -0
  4. package/LambdaService/package.json +6 -0
  5. package/LambdaServiceConfig/package.json +6 -0
  6. package/{lib → dist/cjs}/Errors.d.ts +6 -11
  7. package/dist/cjs/Errors.d.ts.map +1 -0
  8. package/dist/cjs/Errors.js +46 -0
  9. package/dist/cjs/Errors.js.map +1 -0
  10. package/dist/cjs/LambdaClientInstance.d.ts +24 -0
  11. package/dist/cjs/LambdaClientInstance.d.ts.map +1 -0
  12. package/dist/cjs/LambdaClientInstance.js +50 -0
  13. package/dist/cjs/LambdaClientInstance.js.map +1 -0
  14. package/{lib → dist/cjs}/LambdaService.d.ts +16 -38
  15. package/dist/cjs/LambdaService.d.ts.map +1 -0
  16. package/dist/cjs/LambdaService.js +124 -0
  17. package/dist/cjs/LambdaService.js.map +1 -0
  18. package/dist/cjs/LambdaServiceConfig.d.ts +25 -0
  19. package/dist/cjs/LambdaServiceConfig.d.ts.map +1 -0
  20. package/dist/cjs/LambdaServiceConfig.js +35 -0
  21. package/dist/cjs/LambdaServiceConfig.js.map +1 -0
  22. package/dist/cjs/index.d.ts +39 -0
  23. package/dist/cjs/index.d.ts.map +1 -0
  24. package/dist/cjs/index.js +56 -0
  25. package/dist/cjs/index.js.map +1 -0
  26. package/dist/dts/Errors.d.ts +45 -0
  27. package/dist/dts/Errors.d.ts.map +1 -0
  28. package/dist/dts/LambdaClientInstance.d.ts +24 -0
  29. package/dist/dts/LambdaClientInstance.d.ts.map +1 -0
  30. package/dist/dts/LambdaService.d.ts +383 -0
  31. package/dist/dts/LambdaService.d.ts.map +1 -0
  32. package/dist/dts/LambdaServiceConfig.d.ts +25 -0
  33. package/dist/dts/LambdaServiceConfig.d.ts.map +1 -0
  34. package/dist/dts/index.d.ts +39 -0
  35. package/dist/dts/index.d.ts.map +1 -0
  36. package/dist/esm/Errors.js +43 -0
  37. package/dist/esm/Errors.js.map +1 -0
  38. package/dist/esm/LambdaClientInstance.js +23 -0
  39. package/dist/esm/LambdaClientInstance.js.map +1 -0
  40. package/dist/esm/LambdaService.js +97 -0
  41. package/dist/esm/LambdaService.js.map +1 -0
  42. package/dist/esm/LambdaServiceConfig.js +31 -0
  43. package/dist/esm/LambdaServiceConfig.js.map +1 -0
  44. package/dist/esm/index.js +27 -0
  45. package/dist/esm/index.js.map +1 -0
  46. package/dist/esm/package.json +4 -0
  47. package/package.json +60 -43
  48. package/src/Errors.ts +125 -0
  49. package/src/LambdaClientInstance.ts +33 -0
  50. package/src/LambdaService.ts +1373 -0
  51. package/src/LambdaServiceConfig.ts +52 -0
  52. package/src/index.ts +44 -0
  53. package/CHANGELOG.md +0 -103
  54. package/docgen.json +0 -8
  55. package/lib/Errors.js +0 -46
  56. package/lib/LambdaClientInstance.d.ts +0 -31
  57. package/lib/LambdaClientInstance.js +0 -57
  58. package/lib/LambdaClientInstanceConfig.d.ts +0 -23
  59. package/lib/LambdaClientInstanceConfig.js +0 -44
  60. package/lib/LambdaService.js +0 -156
  61. package/lib/esm/Errors.js +0 -43
  62. package/lib/esm/LambdaClientInstance.js +0 -30
  63. package/lib/esm/LambdaClientInstanceConfig.js +0 -40
  64. package/lib/esm/LambdaService.js +0 -152
  65. package/lib/esm/index.js +0 -5
  66. package/lib/index.d.ts +0 -4
  67. package/lib/index.js +0 -21
  68. package/project.json +0 -77
  69. package/vitest.config.ts +0 -3
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/Errors.js",
3
+ "module": "../dist/esm/Errors.js",
4
+ "types": "../dist/dts/Errors.d.ts",
5
+ "sideEffects": []
6
+ }
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2024 Victor Korzunin
1
+ Copyright (c) 2025 Victor Korzunin
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/LambdaClientInstance.js",
3
+ "module": "../dist/esm/LambdaClientInstance.js",
4
+ "types": "../dist/dts/LambdaClientInstance.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/LambdaService.js",
3
+ "module": "../dist/esm/LambdaService.js",
4
+ "types": "../dist/dts/LambdaService.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/LambdaServiceConfig.js",
3
+ "module": "../dist/esm/LambdaServiceConfig.js",
4
+ "types": "../dist/dts/LambdaServiceConfig.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -1,11 +1,7 @@
1
1
  import type { CodeSigningConfigNotFoundException, CodeStorageExceededException, CodeVerificationFailedException, EC2AccessDeniedException, EC2ThrottledException, EC2UnexpectedException, EFSIOException, EFSMountConnectivityException, EFSMountFailureException, EFSMountTimeoutException, ENILimitReachedException, InvalidCodeSignatureException, InvalidParameterValueException, InvalidRequestContentException, InvalidRuntimeException, InvalidSecurityGroupIDException, InvalidSubnetIDException, InvalidZipFileException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, PolicyLengthExceededException, PreconditionFailedException, ProvisionedConcurrencyConfigNotFoundException, RecursiveInvocationException, RequestTooLargeException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceException, SnapStartException, SnapStartNotReadyException, SnapStartTimeoutException, SubnetIPAddressLimitReachedException, TooManyRequestsException, UnsupportedMediaTypeException } from "@aws-sdk/client-lambda";
2
- import { Data } from "effect";
3
- export declare const AllServiceErrors: string[];
4
- export type TaggedException<T extends {
5
- name: string;
6
- }> = T & {
7
- readonly _tag: T["name"];
8
- };
2
+ import type { TaggedException } from "@effect-aws/commons";
3
+ import { SdkError as CommonSdkError } from "@effect-aws/commons";
4
+ export declare const AllServiceErrors: readonly ["CodeSigningConfigNotFoundException", "CodeStorageExceededException", "CodeVerificationFailedException", "EC2AccessDeniedException", "EC2ThrottledException", "EC2UnexpectedException", "EFSIOException", "EFSMountConnectivityException", "EFSMountFailureException", "EFSMountTimeoutException", "ENILimitReachedException", "InvalidCodeSignatureException", "InvalidParameterValueException", "InvalidRequestContentException", "InvalidRuntimeException", "InvalidSecurityGroupIDException", "InvalidSubnetIDException", "InvalidZipFileException", "KMSAccessDeniedException", "KMSDisabledException", "KMSInvalidStateException", "KMSNotFoundException", "PolicyLengthExceededException", "PreconditionFailedException", "ProvisionedConcurrencyConfigNotFoundException", "RecursiveInvocationException", "RequestTooLargeException", "ResourceConflictException", "ResourceInUseException", "ResourceNotFoundException", "ResourceNotReadyException", "ServiceException", "SnapStartException", "SnapStartNotReadyException", "SnapStartTimeoutException", "SubnetIPAddressLimitReachedException", "TooManyRequestsException", "UnsupportedMediaTypeException"];
9
5
  export type CodeSigningConfigNotFoundError = TaggedException<CodeSigningConfigNotFoundException>;
10
6
  export type CodeStorageExceededError = TaggedException<CodeStorageExceededException>;
11
7
  export type CodeVerificationFailedError = TaggedException<CodeVerificationFailedException>;
@@ -44,7 +40,6 @@ export type SnapStartTimeoutError = TaggedException<SnapStartTimeoutException>;
44
40
  export type SubnetIPAddressLimitReachedError = TaggedException<SubnetIPAddressLimitReachedException>;
45
41
  export type TooManyRequestsError = TaggedException<TooManyRequestsException>;
46
42
  export type UnsupportedMediaTypeError = TaggedException<UnsupportedMediaTypeException>;
47
- export type SdkError = TaggedException<Error & {
48
- name: "SdkError";
49
- }>;
50
- export declare const SdkError: Data.Case.Constructor<SdkError, "_tag">;
43
+ export type SdkError = CommonSdkError;
44
+ export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
45
+ //# sourceMappingURL=Errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.d.ts","sour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AwB,GAAG,eAAe,CAAC,4BAA4B,CAAC,CAAC;AACrF,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC;AAC7D,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC;AACjE,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAAC,0BAA0B,CAAC,CAAC;AACjF,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,gCAAgC,GAAG,eAAe,CAAC,oCAAoC,CAAC,CAAC;AACrG,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AAEvF,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SdkError = exports.AllServiceErrors = void 0;
4
+ const commons_1 = require("@effect-aws/commons");
5
+ exports.AllServiceErrors = [
6
+ "CodeSigningConfigNotFoundException",
7
+ "CodeStorageExceededException",
8
+ "CodeVerificationFailedException",
9
+ "EC2AccessDeniedException",
10
+ "EC2ThrottledException",
11
+ "EC2UnexpectedException",
12
+ "EFSIOException",
13
+ "EFSMountConnectivityException",
14
+ "EFSMountFailureException",
15
+ "EFSMountTimeoutException",
16
+ "ENILimitReachedException",
17
+ "InvalidCodeSignatureException",
18
+ "InvalidParameterValueException",
19
+ "InvalidRequestContentException",
20
+ "InvalidRuntimeException",
21
+ "InvalidSecurityGroupIDException",
22
+ "InvalidSubnetIDException",
23
+ "InvalidZipFileException",
24
+ "KMSAccessDeniedException",
25
+ "KMSDisabledException",
26
+ "KMSInvalidStateException",
27
+ "KMSNotFoundException",
28
+ "PolicyLengthExceededException",
29
+ "PreconditionFailedException",
30
+ "ProvisionedConcurrencyConfigNotFoundException",
31
+ "RecursiveInvocationException",
32
+ "RequestTooLargeException",
33
+ "ResourceConflictException",
34
+ "ResourceInUseException",
35
+ "ResourceNotFoundException",
36
+ "ResourceNotReadyException",
37
+ "ServiceException",
38
+ "SnapStartException",
39
+ "SnapStartNotReadyException",
40
+ "SnapStartTimeoutException",
41
+ "SubnetIPAddressLimitReachedException",
42
+ "TooManyRequestsException",
43
+ "UnsupportedMediaTypeException",
44
+ ];
45
+ exports.SdkError = commons_1.SdkError;
46
+ //# sourceMappingURL=Errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAyCA,iDAAiE;AAEpD,QAAA,gBAAgB,GAAG;IAC9B,oCAAoC;IACpC,8BAA8B;IAC9B,iCAAiC;IACjC,0BAA0B;IAC1B,uBAAuB;IACvB,wBAAwB;IACxB,gBAAgB;IAChB,+BAA+B;IAC/B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,+BAA+B;IAC/B,gCAAgC;IAChC,gCAAgC;IAChC,yBAAyB;IACzB,iCAAiC;IACjC,0BAA0B;IAC1B,yBAAyB;IACzB,0BAA0B;IAC1B,sBAAsB;IACtB,0BAA0B;IAC1B,sBAAsB;IACtB,+BAA+B;IAC/B,6BAA6B;IAC7B,+CAA+C;IAC/C,8BAA8B;IAC9B,0BAA0B;IAC1B,2BAA2B;IAC3B,wBAAwB;IACxB,2BAA2B;IAC3B,2BAA2B;IAC3B,kBAAkB;IAClB,oBAAoB;IACpB,4BAA4B;IAC5B,2BAA2B;IAC3B,sCAAsC;IACtC,0BAA0B;IAC1B,+BAA+B;CACvB,CAAC;AA0CE,QAAA,QAAQ,GAAG,kBAAc,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { LambdaClient } from "@aws-sdk/client-lambda";
5
+ import { Context, Effect, Layer } from "effect";
6
+ declare const LambdaClientInstance_base: Context.TagClass<LambdaClientInstance, "@effect-aws/client-lambda/LambdaClientInstance", LambdaClient>;
7
+ /**
8
+ * @since 1.0.0
9
+ * @category tags
10
+ */
11
+ export declare class LambdaClientInstance extends LambdaClientInstance_base {
12
+ }
13
+ /**
14
+ * @since 1.0.0
15
+ * @category constructors
16
+ */
17
+ export declare const make: Effect.Effect<LambdaClient, never, import("effect/Scope").Scope>;
18
+ /**
19
+ * @since 1.0.0
20
+ * @category layers
21
+ */
22
+ export declare const layer: Layer.Layer<LambdaClientInstance, never, never>;
23
+ export {};
24
+ //# sourceMappingURL=LambdaClientInstance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LambdaClientInstance.d.ts","sourceRoot":"","sources":["../../src/LambdaClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,oBAAqB,SAAQ,yBAEH;CAAG;AAE1C;;;GAGG;AACH,eAAO,MAAM,IAAI,kEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,iDAA2C,CAAC"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.layer = exports.make = exports.LambdaClientInstance = void 0;
27
+ /**
28
+ * @since 1.0.0
29
+ */
30
+ const client_lambda_1 = require("@aws-sdk/client-lambda");
31
+ const effect_1 = require("effect");
32
+ const LambdaServiceConfig = __importStar(require("./LambdaServiceConfig.js"));
33
+ /**
34
+ * @since 1.0.0
35
+ * @category tags
36
+ */
37
+ class LambdaClientInstance extends effect_1.Context.Tag("@effect-aws/client-lambda/LambdaClientInstance")() {
38
+ }
39
+ exports.LambdaClientInstance = LambdaClientInstance;
40
+ /**
41
+ * @since 1.0.0
42
+ * @category constructors
43
+ */
44
+ exports.make = effect_1.Effect.flatMap(LambdaServiceConfig.toLambdaClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_lambda_1.LambdaClient(config)), (client) => effect_1.Effect.sync(() => client.destroy())));
45
+ /**
46
+ * @since 1.0.0
47
+ * @category layers
48
+ */
49
+ exports.layer = effect_1.Layer.scoped(LambdaClientInstance, exports.make);
50
+ //# sourceMappingURL=LambdaClientInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LambdaClientInstance.js","sourceRoot":"","sources":["../../src/LambdaClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,0DAAsD;AACtD,mCAAgD;AAChD,8EAAgE;AAEhE;;;GAGG;AACH,MAAa,oBAAqB,SAAQ,gBAAO,CAAC,GAAG,CACnD,gDAAgD,CACjD,EAAsC;CAAG;AAF1C,oDAE0C;AAE1C;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,mBAAmB,CAAC,oBAAoB,EACxC,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,4BAAY,CAAC,MAAM,CAAC,CAAC,EAC3C,CAAC,MAAM,EAAE,EAAE,CAAC,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACU,QAAA,KAAK,GAAG,cAAK,CAAC,MAAM,CAAC,oBAAoB,EAAE,YAAI,CAAC,CAAC"}
@@ -1,21 +1,11 @@
1
1
  /**
2
2
  * @since 1.0.0
3
3
  */
4
- import { type LambdaClient, type LambdaClientConfig, type AddLayerVersionPermissionCommandInput, type AddLayerVersionPermissionCommandOutput, type AddPermissionCommandInput, type AddPermissionCommandOutput, type CreateAliasCommandInput, type CreateAliasCommandOutput, type CreateCodeSigningConfigCommandInput, type CreateCodeSigningConfigCommandOutput, type CreateEventSourceMappingCommandInput, type CreateEventSourceMappingCommandOutput, type CreateFunctionCommandInput, type CreateFunctionCommandOutput, type CreateFunctionUrlConfigCommandInput, type CreateFunctionUrlConfigCommandOutput, type DeleteAliasCommandInput, type DeleteAliasCommandOutput, type DeleteCodeSigningConfigCommandInput, type DeleteCodeSigningConfigCommandOutput, type DeleteEventSourceMappingCommandInput, type DeleteEventSourceMappingCommandOutput, type DeleteFunctionCommandInput, type DeleteFunctionCommandOutput, type DeleteFunctionCodeSigningConfigCommandInput, type DeleteFunctionCodeSigningConfigCommandOutput, type DeleteFunctionConcurrencyCommandInput, type DeleteFunctionConcurrencyCommandOutput, type DeleteFunctionEventInvokeConfigCommandInput, type DeleteFunctionEventInvokeConfigCommandOutput, type DeleteFunctionUrlConfigCommandInput, type DeleteFunctionUrlConfigCommandOutput, type DeleteLayerVersionCommandInput, type DeleteLayerVersionCommandOutput, type DeleteProvisionedConcurrencyConfigCommandInput, type DeleteProvisionedConcurrencyConfigCommandOutput, type GetAccountSettingsCommandInput, type GetAccountSettingsCommandOutput, type GetAliasCommandInput, type GetAliasCommandOutput, type GetCodeSigningConfigCommandInput, type GetCodeSigningConfigCommandOutput, type GetEventSourceMappingCommandInput, type GetEventSourceMappingCommandOutput, type GetFunctionCommandInput, type GetFunctionCommandOutput, type GetFunctionCodeSigningConfigCommandInput, type GetFunctionCodeSigningConfigCommandOutput, type GetFunctionConcurrencyCommandInput, type GetFunctionConcurrencyCommandOutput, type GetFunctionConfigurationCommandInput, type GetFunctionConfigurationCommandOutput, type GetFunctionEventInvokeConfigCommandInput, type GetFunctionEventInvokeConfigCommandOutput, type GetFunctionRecursionConfigCommandInput, type GetFunctionRecursionConfigCommandOutput, type GetFunctionUrlConfigCommandInput, type GetFunctionUrlConfigCommandOutput, type GetLayerVersionCommandInput, type GetLayerVersionCommandOutput, type GetLayerVersionByArnCommandInput, type GetLayerVersionByArnCommandOutput, type GetLayerVersionPolicyCommandInput, type GetLayerVersionPolicyCommandOutput, type GetPolicyCommandInput, type GetPolicyCommandOutput, type GetProvisionedConcurrencyConfigCommandInput, type GetProvisionedConcurrencyConfigCommandOutput, type GetRuntimeManagementConfigCommandInput, type GetRuntimeManagementConfigCommandOutput, type InvokeCommandInput, type InvokeCommandOutput, type InvokeAsyncCommandInput, type InvokeAsyncCommandOutput, type InvokeWithResponseStreamCommandInput, type InvokeWithResponseStreamCommandOutput, type ListAliasesCommandInput, type ListAliasesCommandOutput, type ListCodeSigningConfigsCommandInput, type ListCodeSigningConfigsCommandOutput, type ListEventSourceMappingsCommandInput, type ListEventSourceMappingsCommandOutput, type ListFunctionEventInvokeConfigsCommandInput, type ListFunctionEventInvokeConfigsCommandOutput, type ListFunctionUrlConfigsCommandInput, type ListFunctionUrlConfigsCommandOutput, type ListFunctionsCommandInput, type ListFunctionsCommandOutput, type ListFunctionsByCodeSigningConfigCommandInput, type ListFunctionsByCodeSigningConfigCommandOutput, type ListLayerVersionsCommandInput, type ListLayerVersionsCommandOutput, type ListLayersCommandInput, type ListLayersCommandOutput, type ListProvisionedConcurrencyConfigsCommandInput, type ListProvisionedConcurrencyConfigsCommandOutput, type ListTagsCommandInput, type ListTagsCommandOutput, type ListVersionsByFunctionCommandInput, type ListVersionsByFunctionCommandOutput, type PublishLayerVersionCommandInput, type PublishLayerVersionCommandOutput, type PublishVersionCommandInput, type PublishVersionCommandOutput, type PutFunctionCodeSigningConfigCommandInput, type PutFunctionCodeSigningConfigCommandOutput, type PutFunctionConcurrencyCommandInput, type PutFunctionConcurrencyCommandOutput, type PutFunctionEventInvokeConfigCommandInput, type PutFunctionEventInvokeConfigCommandOutput, type PutFunctionRecursionConfigCommandInput, type PutFunctionRecursionConfigCommandOutput, type PutProvisionedConcurrencyConfigCommandInput, type PutProvisionedConcurrencyConfigCommandOutput, type PutRuntimeManagementConfigCommandInput, type PutRuntimeManagementConfigCommandOutput, type RemoveLayerVersionPermissionCommandInput, type RemoveLayerVersionPermissionCommandOutput, type RemovePermissionCommandInput, type RemovePermissionCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateAliasCommandInput, type UpdateAliasCommandOutput, type UpdateCodeSigningConfigCommandInput, type UpdateCodeSigningConfigCommandOutput, type UpdateEventSourceMappingCommandInput, type UpdateEventSourceMappingCommandOutput, type UpdateFunctionCodeCommandInput, type UpdateFunctionCodeCommandOutput, type UpdateFunctionConfigurationCommandInput, type UpdateFunctionConfigurationCommandOutput, type UpdateFunctionEventInvokeConfigCommandInput, type UpdateFunctionEventInvokeConfigCommandOutput, type UpdateFunctionUrlConfigCommandInput, type UpdateFunctionUrlConfigCommandOutput } from "@aws-sdk/client-lambda";
4
+ import { type AddLayerVersionPermissionCommandInput, type AddLayerVersionPermissionCommandOutput, type AddPermissionCommandInput, type AddPermissionCommandOutput, type CreateAliasCommandInput, type CreateAliasCommandOutput, type CreateCodeSigningConfigCommandInput, type CreateCodeSigningConfigCommandOutput, type CreateEventSourceMappingCommandInput, type CreateEventSourceMappingCommandOutput, type CreateFunctionCommandInput, type CreateFunctionCommandOutput, type CreateFunctionUrlConfigCommandInput, type CreateFunctionUrlConfigCommandOutput, type DeleteAliasCommandInput, type DeleteAliasCommandOutput, type DeleteCodeSigningConfigCommandInput, type DeleteCodeSigningConfigCommandOutput, type DeleteEventSourceMappingCommandInput, type DeleteEventSourceMappingCommandOutput, type DeleteFunctionCodeSigningConfigCommandInput, type DeleteFunctionCodeSigningConfigCommandOutput, type DeleteFunctionCommandInput, type DeleteFunctionCommandOutput, type DeleteFunctionConcurrencyCommandInput, type DeleteFunctionConcurrencyCommandOutput, type DeleteFunctionEventInvokeConfigCommandInput, type DeleteFunctionEventInvokeConfigCommandOutput, type DeleteFunctionUrlConfigCommandInput, type DeleteFunctionUrlConfigCommandOutput, type DeleteLayerVersionCommandInput, type DeleteLayerVersionCommandOutput, type DeleteProvisionedConcurrencyConfigCommandInput, type DeleteProvisionedConcurrencyConfigCommandOutput, type GetAccountSettingsCommandInput, type GetAccountSettingsCommandOutput, type GetAliasCommandInput, type GetAliasCommandOutput, type GetCodeSigningConfigCommandInput, type GetCodeSigningConfigCommandOutput, type GetEventSourceMappingCommandInput, type GetEventSourceMappingCommandOutput, type GetFunctionCodeSigningConfigCommandInput, type GetFunctionCodeSigningConfigCommandOutput, type GetFunctionCommandInput, type GetFunctionCommandOutput, type GetFunctionConcurrencyCommandInput, type GetFunctionConcurrencyCommandOutput, type GetFunctionConfigurationCommandInput, type GetFunctionConfigurationCommandOutput, type GetFunctionEventInvokeConfigCommandInput, type GetFunctionEventInvokeConfigCommandOutput, type GetFunctionRecursionConfigCommandInput, type GetFunctionRecursionConfigCommandOutput, type GetFunctionUrlConfigCommandInput, type GetFunctionUrlConfigCommandOutput, type GetLayerVersionByArnCommandInput, type GetLayerVersionByArnCommandOutput, type GetLayerVersionCommandInput, type GetLayerVersionCommandOutput, type GetLayerVersionPolicyCommandInput, type GetLayerVersionPolicyCommandOutput, type GetPolicyCommandInput, type GetPolicyCommandOutput, type GetProvisionedConcurrencyConfigCommandInput, type GetProvisionedConcurrencyConfigCommandOutput, type GetRuntimeManagementConfigCommandInput, type GetRuntimeManagementConfigCommandOutput, type InvokeAsyncCommandInput, type InvokeAsyncCommandOutput, type InvokeCommandInput, type InvokeCommandOutput, type InvokeWithResponseStreamCommandInput, type InvokeWithResponseStreamCommandOutput, type LambdaClient, type LambdaClientConfig, type ListAliasesCommandInput, type ListAliasesCommandOutput, type ListCodeSigningConfigsCommandInput, type ListCodeSigningConfigsCommandOutput, type ListEventSourceMappingsCommandInput, type ListEventSourceMappingsCommandOutput, type ListFunctionEventInvokeConfigsCommandInput, type ListFunctionEventInvokeConfigsCommandOutput, type ListFunctionsByCodeSigningConfigCommandInput, type ListFunctionsByCodeSigningConfigCommandOutput, type ListFunctionsCommandInput, type ListFunctionsCommandOutput, type ListFunctionUrlConfigsCommandInput, type ListFunctionUrlConfigsCommandOutput, type ListLayersCommandInput, type ListLayersCommandOutput, type ListLayerVersionsCommandInput, type ListLayerVersionsCommandOutput, type ListProvisionedConcurrencyConfigsCommandInput, type ListProvisionedConcurrencyConfigsCommandOutput, type ListTagsCommandInput, type ListTagsCommandOutput, type ListVersionsByFunctionCommandInput, type ListVersionsByFunctionCommandOutput, type PublishLayerVersionCommandInput, type PublishLayerVersionCommandOutput, type PublishVersionCommandInput, type PublishVersionCommandOutput, type PutFunctionCodeSigningConfigCommandInput, type PutFunctionCodeSigningConfigCommandOutput, type PutFunctionConcurrencyCommandInput, type PutFunctionConcurrencyCommandOutput, type PutFunctionEventInvokeConfigCommandInput, type PutFunctionEventInvokeConfigCommandOutput, type PutFunctionRecursionConfigCommandInput, type PutFunctionRecursionConfigCommandOutput, type PutProvisionedConcurrencyConfigCommandInput, type PutProvisionedConcurrencyConfigCommandOutput, type PutRuntimeManagementConfigCommandInput, type PutRuntimeManagementConfigCommandOutput, type RemoveLayerVersionPermissionCommandInput, type RemoveLayerVersionPermissionCommandOutput, type RemovePermissionCommandInput, type RemovePermissionCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateAliasCommandInput, type UpdateAliasCommandOutput, type UpdateCodeSigningConfigCommandInput, type UpdateCodeSigningConfigCommandOutput, type UpdateEventSourceMappingCommandInput, type UpdateEventSourceMappingCommandOutput, type UpdateFunctionCodeCommandInput, type UpdateFunctionCodeCommandOutput, type UpdateFunctionConfigurationCommandInput, type UpdateFunctionConfigurationCommandOutput, type UpdateFunctionEventInvokeConfigCommandInput, type UpdateFunctionEventInvokeConfigCommandOutput, type UpdateFunctionUrlConfigCommandInput, type UpdateFunctionUrlConfigCommandOutput } from "@aws-sdk/client-lambda";
5
+ import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
5
6
  import { Effect, Layer } from "effect";
6
- import { CodeSigningConfigNotFoundError, CodeStorageExceededError, CodeVerificationFailedError, EC2AccessDeniedError, EC2ThrottledError, EC2UnexpectedError, EFSIOError, EFSMountConnectivityError, EFSMountFailureError, EFSMountTimeoutError, ENILimitReachedError, InvalidCodeSignatureError, InvalidParameterValueError, InvalidRequestContentError, InvalidRuntimeError, InvalidSecurityGroupIDError, InvalidSubnetIDError, InvalidZipFileError, KMSAccessDeniedError, KMSDisabledError, KMSInvalidStateError, KMSNotFoundError, PolicyLengthExceededError, PreconditionFailedError, ProvisionedConcurrencyConfigNotFoundError, RecursiveInvocationError, RequestTooLargeError, ResourceConflictError, ResourceInUseError, ResourceNotFoundError, ResourceNotReadyError, ServiceError, SnapStartError, SnapStartNotReadyError, SnapStartTimeoutError, SubnetIPAddressLimitReachedError, TooManyRequestsError, UnsupportedMediaTypeError, SdkError } from "./Errors";
7
- import { LambdaClientInstance } from "./LambdaClientInstance";
8
- import { LambdaClientInstanceConfig } from "./LambdaClientInstanceConfig";
9
- /**
10
- * @since 1.0.0
11
- */
12
- export interface HttpHandlerOptions {
13
- /**
14
- * The maximum time in milliseconds that the connection phase of a request
15
- * may take before the connection attempt is abandoned.
16
- */
17
- requestTimeout?: number;
18
- }
7
+ import type { CodeSigningConfigNotFoundError, CodeStorageExceededError, CodeVerificationFailedError, EC2AccessDeniedError, EC2ThrottledError, EC2UnexpectedError, EFSIOError, EFSMountConnectivityError, EFSMountFailureError, EFSMountTimeoutError, ENILimitReachedError, InvalidCodeSignatureError, InvalidParameterValueError, InvalidRequestContentError, InvalidRuntimeError, InvalidSecurityGroupIDError, InvalidSubnetIDError, InvalidZipFileError, KMSAccessDeniedError, KMSDisabledError, KMSInvalidStateError, KMSNotFoundError, PolicyLengthExceededError, PreconditionFailedError, ProvisionedConcurrencyConfigNotFoundError, RecursiveInvocationError, RequestTooLargeError, ResourceConflictError, ResourceInUseError, ResourceNotFoundError, ResourceNotReadyError, ServiceError, SnapStartError, SnapStartNotReadyError, SnapStartTimeoutError, SubnetIPAddressLimitReachedError, TooManyRequestsError, UnsupportedMediaTypeError } from "./Errors.js";
8
+ import * as Instance from "./LambdaClientInstance.js";
19
9
  interface LambdaService$ {
20
10
  readonly _: unique symbol;
21
11
  /**
@@ -295,7 +285,7 @@ interface LambdaService$ {
295
285
  * @since 1.0.0
296
286
  * @category constructors
297
287
  */
298
- export declare const makeLambdaService: Effect.Effect<LambdaService$, never, LambdaClientInstance>;
288
+ export declare const makeLambdaService: Effect.Effect<LambdaService$, never, Instance.LambdaClientInstance>;
299
289
  declare const LambdaService_base: import("effect/Context").TagClass<LambdaService, "@effect-aws/client-lambda/LambdaService", LambdaService$> & {
300
290
  readonly _: Effect.Effect<LambdaService$["_"], never, LambdaService>;
301
291
  addLayerVersionPermission: (args: AddLayerVersionPermissionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AddLayerVersionPermissionCommandOutput, InvalidParameterValueError | PolicyLengthExceededError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
@@ -367,7 +357,7 @@ declare const LambdaService_base: import("effect/Context").TagClass<LambdaServic
367
357
  updateFunctionEventInvokeConfig: (args: UpdateFunctionEventInvokeConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateFunctionEventInvokeConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
368
358
  updateFunctionUrlConfig: (args: UpdateFunctionUrlConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateFunctionUrlConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
369
359
  } & {
370
- use: <X>(body: (_: LambdaService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, R | LambdaService> : Effect.Effect<X, never, LambdaService>;
360
+ use: <X>(body: (_: LambdaService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, LambdaService | R> : Effect.Effect<X, never, LambdaService>;
371
361
  };
372
362
  /**
373
363
  * @since 1.0.0
@@ -375,31 +365,19 @@ declare const LambdaService_base: import("effect/Context").TagClass<LambdaServic
375
365
  */
376
366
  export declare class LambdaService extends LambdaService_base {
377
367
  static readonly defaultLayer: Layer.Layer<LambdaService, never, never>;
378
- static readonly layer: (config: LambdaClientConfig) => Layer.Layer<LambdaService, never, never>;
368
+ static readonly layer: (config: LambdaService.Config) => Layer.Layer<LambdaService, never, never>;
379
369
  static readonly baseLayer: (evaluate: (defaultConfig: LambdaClientConfig) => LambdaClient) => Layer.Layer<LambdaService, never, never>;
380
370
  }
381
371
  /**
382
372
  * @since 1.0.0
383
- * @category models
384
- * @alias LambdaService
385
- */
386
- export declare const Lambda: typeof LambdaService;
387
- /**
388
- * @since 1.0.0
389
- * @category layers
390
- * @deprecated use Lambda.baseLayer instead
391
373
  */
392
- export declare const BaseLambdaServiceLayer: Layer.Layer<LambdaService, never, LambdaClientInstance>;
393
- /**
394
- * @since 1.0.0
395
- * @category layers
396
- * @deprecated use Lambda.layer instead
397
- */
398
- export declare const LambdaServiceLayer: Layer.Layer<LambdaService, never, LambdaClientInstanceConfig>;
399
- /**
400
- * @since 1.0.0
401
- * @category layers
402
- * @deprecated use Lambda.defaultLayer instead
403
- */
404
- export declare const DefaultLambdaServiceLayer: Layer.Layer<LambdaService, never, never>;
374
+ export declare namespace LambdaService {
375
+ /**
376
+ * @since 1.0.0
377
+ */
378
+ interface Config extends Omit<LambdaClientConfig, "logger"> {
379
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
380
+ }
381
+ }
405
382
  export {};
383
+ //# sourceMappingURL=LambdaService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LambdaService.d.ts","sourceRoot":"","sources":["../../src/LambdaService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EAEzC,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAE1C,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EAEzC,KAAK,uBAAuB,EAC5B,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0BAA0B,GAC1B,qBAAqB,GACrB,qBAAqB,GACrB,YAAY,GACZ,oBAAoB,CACvB,CAAC;IAEF;;OAEG;IACH,uBAAuB,CACrB,IAAI,EAAE,mCAAmC,EACzC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,oCAAoC,EAClC,QAAQ,GACR,0BAA0B,GAC1B,qBAAqB,GACrB,qBAAqB,GACrB,YAAY,GACZ,oBAAoB,CACvB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,qEAI5B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH;;;GAGG;AACH,qBAAa,aAAc,SAAQ,kBAGhC;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,2CAA6E;IACzG,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,cAAc,MAAM,8CAIjD;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,kBAAkB,KAAK,YAAY,8CAS3D;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,kBAAkB,EAAE,QAAQ,CAAC;QAChE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.LambdaService = exports.makeLambdaService = void 0;
27
+ /**
28
+ * @since 1.0.0
29
+ */
30
+ const client_lambda_1 = require("@aws-sdk/client-lambda");
31
+ const commons_1 = require("@effect-aws/commons");
32
+ const effect_1 = require("effect");
33
+ const Errors_js_1 = require("./Errors.js");
34
+ const Instance = __importStar(require("./LambdaClientInstance.js"));
35
+ const LambdaServiceConfig = __importStar(require("./LambdaServiceConfig.js"));
36
+ const commands = {
37
+ AddLayerVersionPermissionCommand: client_lambda_1.AddLayerVersionPermissionCommand,
38
+ AddPermissionCommand: client_lambda_1.AddPermissionCommand,
39
+ CreateAliasCommand: client_lambda_1.CreateAliasCommand,
40
+ CreateCodeSigningConfigCommand: client_lambda_1.CreateCodeSigningConfigCommand,
41
+ CreateEventSourceMappingCommand: client_lambda_1.CreateEventSourceMappingCommand,
42
+ CreateFunctionCommand: client_lambda_1.CreateFunctionCommand,
43
+ CreateFunctionUrlConfigCommand: client_lambda_1.CreateFunctionUrlConfigCommand,
44
+ DeleteAliasCommand: client_lambda_1.DeleteAliasCommand,
45
+ DeleteCodeSigningConfigCommand: client_lambda_1.DeleteCodeSigningConfigCommand,
46
+ DeleteEventSourceMappingCommand: client_lambda_1.DeleteEventSourceMappingCommand,
47
+ DeleteFunctionCommand: client_lambda_1.DeleteFunctionCommand,
48
+ DeleteFunctionCodeSigningConfigCommand: client_lambda_1.DeleteFunctionCodeSigningConfigCommand,
49
+ DeleteFunctionConcurrencyCommand: client_lambda_1.DeleteFunctionConcurrencyCommand,
50
+ DeleteFunctionEventInvokeConfigCommand: client_lambda_1.DeleteFunctionEventInvokeConfigCommand,
51
+ DeleteFunctionUrlConfigCommand: client_lambda_1.DeleteFunctionUrlConfigCommand,
52
+ DeleteLayerVersionCommand: client_lambda_1.DeleteLayerVersionCommand,
53
+ DeleteProvisionedConcurrencyConfigCommand: client_lambda_1.DeleteProvisionedConcurrencyConfigCommand,
54
+ GetAccountSettingsCommand: client_lambda_1.GetAccountSettingsCommand,
55
+ GetAliasCommand: client_lambda_1.GetAliasCommand,
56
+ GetCodeSigningConfigCommand: client_lambda_1.GetCodeSigningConfigCommand,
57
+ GetEventSourceMappingCommand: client_lambda_1.GetEventSourceMappingCommand,
58
+ GetFunctionCommand: client_lambda_1.GetFunctionCommand,
59
+ GetFunctionCodeSigningConfigCommand: client_lambda_1.GetFunctionCodeSigningConfigCommand,
60
+ GetFunctionConcurrencyCommand: client_lambda_1.GetFunctionConcurrencyCommand,
61
+ GetFunctionConfigurationCommand: client_lambda_1.GetFunctionConfigurationCommand,
62
+ GetFunctionEventInvokeConfigCommand: client_lambda_1.GetFunctionEventInvokeConfigCommand,
63
+ GetFunctionRecursionConfigCommand: client_lambda_1.GetFunctionRecursionConfigCommand,
64
+ GetFunctionUrlConfigCommand: client_lambda_1.GetFunctionUrlConfigCommand,
65
+ GetLayerVersionCommand: client_lambda_1.GetLayerVersionCommand,
66
+ GetLayerVersionByArnCommand: client_lambda_1.GetLayerVersionByArnCommand,
67
+ GetLayerVersionPolicyCommand: client_lambda_1.GetLayerVersionPolicyCommand,
68
+ GetPolicyCommand: client_lambda_1.GetPolicyCommand,
69
+ GetProvisionedConcurrencyConfigCommand: client_lambda_1.GetProvisionedConcurrencyConfigCommand,
70
+ GetRuntimeManagementConfigCommand: client_lambda_1.GetRuntimeManagementConfigCommand,
71
+ InvokeCommand: client_lambda_1.InvokeCommand,
72
+ InvokeAsyncCommand: client_lambda_1.InvokeAsyncCommand,
73
+ InvokeWithResponseStreamCommand: client_lambda_1.InvokeWithResponseStreamCommand,
74
+ ListAliasesCommand: client_lambda_1.ListAliasesCommand,
75
+ ListCodeSigningConfigsCommand: client_lambda_1.ListCodeSigningConfigsCommand,
76
+ ListEventSourceMappingsCommand: client_lambda_1.ListEventSourceMappingsCommand,
77
+ ListFunctionEventInvokeConfigsCommand: client_lambda_1.ListFunctionEventInvokeConfigsCommand,
78
+ ListFunctionUrlConfigsCommand: client_lambda_1.ListFunctionUrlConfigsCommand,
79
+ ListFunctionsCommand: client_lambda_1.ListFunctionsCommand,
80
+ ListFunctionsByCodeSigningConfigCommand: client_lambda_1.ListFunctionsByCodeSigningConfigCommand,
81
+ ListLayerVersionsCommand: client_lambda_1.ListLayerVersionsCommand,
82
+ ListLayersCommand: client_lambda_1.ListLayersCommand,
83
+ ListProvisionedConcurrencyConfigsCommand: client_lambda_1.ListProvisionedConcurrencyConfigsCommand,
84
+ ListTagsCommand: client_lambda_1.ListTagsCommand,
85
+ ListVersionsByFunctionCommand: client_lambda_1.ListVersionsByFunctionCommand,
86
+ PublishLayerVersionCommand: client_lambda_1.PublishLayerVersionCommand,
87
+ PublishVersionCommand: client_lambda_1.PublishVersionCommand,
88
+ PutFunctionCodeSigningConfigCommand: client_lambda_1.PutFunctionCodeSigningConfigCommand,
89
+ PutFunctionConcurrencyCommand: client_lambda_1.PutFunctionConcurrencyCommand,
90
+ PutFunctionEventInvokeConfigCommand: client_lambda_1.PutFunctionEventInvokeConfigCommand,
91
+ PutFunctionRecursionConfigCommand: client_lambda_1.PutFunctionRecursionConfigCommand,
92
+ PutProvisionedConcurrencyConfigCommand: client_lambda_1.PutProvisionedConcurrencyConfigCommand,
93
+ PutRuntimeManagementConfigCommand: client_lambda_1.PutRuntimeManagementConfigCommand,
94
+ RemoveLayerVersionPermissionCommand: client_lambda_1.RemoveLayerVersionPermissionCommand,
95
+ RemovePermissionCommand: client_lambda_1.RemovePermissionCommand,
96
+ TagResourceCommand: client_lambda_1.TagResourceCommand,
97
+ UntagResourceCommand: client_lambda_1.UntagResourceCommand,
98
+ UpdateAliasCommand: client_lambda_1.UpdateAliasCommand,
99
+ UpdateCodeSigningConfigCommand: client_lambda_1.UpdateCodeSigningConfigCommand,
100
+ UpdateEventSourceMappingCommand: client_lambda_1.UpdateEventSourceMappingCommand,
101
+ UpdateFunctionCodeCommand: client_lambda_1.UpdateFunctionCodeCommand,
102
+ UpdateFunctionConfigurationCommand: client_lambda_1.UpdateFunctionConfigurationCommand,
103
+ UpdateFunctionEventInvokeConfigCommand: client_lambda_1.UpdateFunctionEventInvokeConfigCommand,
104
+ UpdateFunctionUrlConfigCommand: client_lambda_1.UpdateFunctionUrlConfigCommand,
105
+ };
106
+ /**
107
+ * @since 1.0.0
108
+ * @category constructors
109
+ */
110
+ exports.makeLambdaService = effect_1.Effect.gen(function* () {
111
+ const client = yield* Instance.LambdaClientInstance;
112
+ return commons_1.Service.fromClientAndCommands(client, commands, Errors_js_1.AllServiceErrors);
113
+ });
114
+ /**
115
+ * @since 1.0.0
116
+ * @category models
117
+ */
118
+ class LambdaService extends effect_1.Effect.Tag("@effect-aws/client-lambda/LambdaService")() {
119
+ static defaultLayer = effect_1.Layer.effect(this, exports.makeLambdaService).pipe(effect_1.Layer.provide(Instance.layer));
120
+ static layer = (config) => effect_1.Layer.effect(this, exports.makeLambdaService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(LambdaServiceConfig.setLambdaServiceConfig(config)));
121
+ static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeLambdaService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.LambdaClientInstance, effect_1.Effect.map(LambdaServiceConfig.toLambdaClientConfig, evaluate))));
122
+ }
123
+ exports.LambdaService = LambdaService;
124
+ //# sourceMappingURL=LambdaService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LambdaService.js","sourceRoot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AQ,EAAE,4BAAgB,CAAC,CAAC;AAC3F,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAa,aAAc,SAAQ,eAAM,CAAC,GAAG,CAAC,yCAAyC,CAAC,EAGrF;IACD,MAAM,CAAU,YAAY,GAAG,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,yBAAiB,CAAC,CAAC,IAAI,CAAC,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IACzG,MAAM,CAAU,KAAK,GAAG,CAAC,MAA4B,EAAE,EAAE,CACvD,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,yBAAiB,CAAC,CAAC,IAAI,CACxC,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,cAAK,CAAC,OAAO,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,MAAM,CAAC,CAAC,CAClE,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAA6D,EAC7D,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,yBAAiB,CAAC,CAAC,IAAI,CACxC,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,oBAAoB,EAC7B,eAAM,CAAC,GAAG,CAAC,mBAAmB,CAAC,oBAAoB,EAAE,QAAQ,CAAC,CAC/D,CACF,CACF,CAAC;;AApBN,sCAqBC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
5
+ import { Effect, Layer } from "effect";
6
+ import type { LambdaService } from "./LambdaService.js";
7
+ /**
8
+ * @since 1.0.0
9
+ * @category lambda service config
10
+ */
11
+ export declare const withLambdaServiceConfig: {
12
+ (config: LambdaService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
13
+ <A, E, R>(effect: Effect.Effect<A, E, R>, config: LambdaService.Config): Effect.Effect<A, E, R>;
14
+ };
15
+ /**
16
+ * @since 1.0.0
17
+ * @category lambda service config
18
+ */
19
+ export declare const setLambdaServiceConfig: (config: LambdaService.Config) => Layer.Layer<never, never, never>;
20
+ /**
21
+ * @since 1.0.0
22
+ * @category adapters
23
+ */
24
+ export declare const toLambdaClientConfig: Effect.Effect<LambdaClientConfig>;
25
+ //# sourceMappingURL=LambdaServiceConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LambdaServiceConfig.d.ts","sourceRoot":"","sources":["../../src/LambdaServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAWxD;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE;IACpC,CAAC,MAAM,EAAE,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACpG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,aAAa,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKjG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,WAAY,cAAc,MAAM,qCACV,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAQjE,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toLambdaClientConfig = exports.setLambdaServiceConfig = exports.withLambdaServiceConfig = void 0;
4
+ const commons_1 = require("@effect-aws/commons");
5
+ const effect_1 = require("effect");
6
+ const Function_1 = require("effect/Function");
7
+ const GlobalValue_1 = require("effect/GlobalValue");
8
+ /**
9
+ * @since 1.0.0
10
+ * @category lambda service config
11
+ */
12
+ const currentLambdaServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-lambda/currentLambdaServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
13
+ /**
14
+ * @since 1.0.0
15
+ * @category lambda service config
16
+ */
17
+ exports.withLambdaServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentLambdaServiceConfig, config));
18
+ /**
19
+ * @since 1.0.0
20
+ * @category lambda service config
21
+ */
22
+ const setLambdaServiceConfig = (config) => effect_1.Layer.locallyScoped(currentLambdaServiceConfig, config);
23
+ exports.setLambdaServiceConfig = setLambdaServiceConfig;
24
+ /**
25
+ * @since 1.0.0
26
+ * @category adapters
27
+ */
28
+ exports.toLambdaClientConfig = effect_1.Effect.gen(function* () {
29
+ const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentLambdaServiceConfig);
30
+ const logger = serviceLogger === true
31
+ ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.defaultServiceLogger)
32
+ : (serviceLogger ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.make(serviceLogger)) : undefined);
33
+ return { logger, ...config };
34
+ });
35
+ //# sourceMappingURL=LambdaServiceConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LambdaServiceConfig.js","sourceRoot":"","sources":["../../src/LambdaServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AAC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 */
12
+ export * as LambdaClientInstance from "./LambdaClientInstance.js";
13
+ /**
14
+ * @since 1.0.0
15
+ */
16
+ export * as LambdaServiceConfig from "./LambdaServiceConfig.js";
17
+ /**
18
+ * @since 1.0.0
19
+ */
20
+ export * from "./LambdaService.js";
21
+ /**
22
+ * @since 1.0.0
23
+ * @category exports
24
+ * @alias LambdaService
25
+ */
26
+ export declare namespace Lambda {
27
+ /**
28
+ * @since 1.0.0
29
+ * @alias LambdaService.Config
30
+ */
31
+ type Config = LambdaService.Config;
32
+ }
33
+ /**
34
+ * @since 1.0.0
35
+ * @category exports
36
+ * @alias LambdaService
37
+ */
38
+ export declare const Lambda: typeof LambdaService;
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,oBAAoB,MAAM,2BAA2B,CAAC;AAElE;;GAEG;AACH,OAAO,KAAK,mBAAmB,MAAM,0BAA0B,CAAC;AAEhE;;GAEG;AACH,cAAc,oBAAoB,CAAC;AAEnC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B;;;OAGG;IACH,KAAY,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC;CAC3C;AAED;;;;GAIG;AACH,eAAO,MAAM,MAAM,sBAAgB,CAAC"}