@effect-aws/client-lambda 1.3.0 → 1.4.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.
- package/CHANGELOG.md +6 -0
- package/lib/Errors.d.ts +2 -1
- package/lib/Errors.js +44 -27
- package/lib/LambdaClientInstanceConfig.d.ts +1 -3
- package/lib/LambdaClientInstanceConfig.js +12 -38
- package/lib/LambdaService.d.ts +89 -10
- package/lib/LambdaService.js +10 -5
- package/lib/esm/Errors.js +42 -2
- package/lib/esm/LambdaClientInstanceConfig.js +2 -5
- package/lib/esm/LambdaService.js +11 -7
- package/package.json +7 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @effect-aws/client-lambda
|
|
2
2
|
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#58](https://github.com/floydspace/effect-aws/pull/58) [`888dc8c`](https://github.com/floydspace/effect-aws/commit/888dc8ca0d7104e33a24426a1aacedb48e8fc3ac) Thanks [@floydspace](https://github.com/floydspace)! - use Effect.Tag instead of Context.GenericTag for service, upgrade sdk, handle only known errors
|
|
8
|
+
|
|
3
9
|
## 1.3.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/lib/Errors.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
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
|
|
2
|
+
import { Data } from "effect";
|
|
3
|
+
export declare const AllServiceErrors: string[];
|
|
3
4
|
export type TaggedException<T extends {
|
|
4
5
|
name: string;
|
|
5
6
|
}> = T & {
|
package/lib/Errors.js
CHANGED
|
@@ -1,29 +1,46 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.SdkError = void 0;
|
|
27
|
-
const
|
|
28
|
-
exports.
|
|
29
|
-
|
|
3
|
+
exports.SdkError = exports.AllServiceErrors = void 0;
|
|
4
|
+
const effect_1 = require("effect");
|
|
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
|
+
"UnsupportedMediaType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0VGltZW91dEV4Y2VwdGlvbj47XG5leHBvcnQgdHlwZSBTdWJuZXRJUEFkZHJlc3NMaW1pdFJlYWNoZWRFcnJvciA9XG4gIFRhZ2dlZEV4Y2VwdGlvbjxTdWJuZXRJUEFkZHJlc3NMaW1pdFJlYWNoZWRFeGNlcHRpb24+O1xuZXhwb3J0IHR5cGUgVG9vTWFueVJlcXVlc3RzRXJyb3IgPSBUYWdnZWRFeGNlcHRpb248VG9vTWFueVJlcXVlc3RzRXhjZXB0aW9uPjtcbmV4cG9ydCB0eXBlIFVuc3VwcG9ydGVkTWVkaWFUeXBlRXJyb3IgPVxuICBUYWdnZWRFeGNlcHRpb248VW5zdXBwb3J0ZWRNZWRpYVR5cGVFeGNlcHRpb24+O1xuXG5leHBvcnQgdHlwZSBTZGtFcnJvciA9IFRhZ2dlZEV4Y2VwdGlvbjxFcnJvciAmIHsgbmFtZTogXCJTZGtFcnJvclwiIH0+O1xuZXhwb3J0IGNvbnN0IFNka0Vycm9yID0gRGF0YS50YWdnZWQ8U2RrRXJyb3I+KFwiU2RrRXJyb3JcIik7XG4iXX0=
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
5
|
-
import
|
|
6
|
-
import * as Effect from "effect/Effect";
|
|
7
|
-
import * as Layer from "effect/Layer";
|
|
5
|
+
import { Context, Effect, Layer } from "effect";
|
|
8
6
|
declare const LambdaClientInstanceConfig_base: Context.TagClass<LambdaClientInstanceConfig, "@effect-aws/client-lambda/LambdaClientInstanceConfig", LambdaClientConfig>;
|
|
9
7
|
/**
|
|
10
8
|
* @since 1.0.0
|
|
@@ -1,63 +1,37 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.DefaultLambdaClientConfigLayer = exports.makeDefaultLambdaClientInstanceConfig = exports.LambdaClientInstanceConfig = void 0;
|
|
27
|
-
const
|
|
28
|
-
const Effect = __importStar(require("effect/Effect"));
|
|
29
|
-
const Layer = __importStar(require("effect/Layer"));
|
|
30
|
-
const Runtime = __importStar(require("effect/Runtime"));
|
|
4
|
+
const effect_1 = require("effect");
|
|
31
5
|
/**
|
|
32
6
|
* @since 1.0.0
|
|
33
7
|
* @category tags
|
|
34
8
|
*/
|
|
35
|
-
class LambdaClientInstanceConfig extends Context.Tag("@effect-aws/client-lambda/LambdaClientInstanceConfig")() {
|
|
9
|
+
class LambdaClientInstanceConfig extends effect_1.Context.Tag("@effect-aws/client-lambda/LambdaClientInstanceConfig")() {
|
|
36
10
|
}
|
|
37
11
|
exports.LambdaClientInstanceConfig = LambdaClientInstanceConfig;
|
|
38
12
|
/**
|
|
39
13
|
* @since 1.0.0
|
|
40
14
|
* @category constructors
|
|
41
15
|
*/
|
|
42
|
-
exports.makeDefaultLambdaClientInstanceConfig = Effect.gen(function* (_) {
|
|
43
|
-
const runtime = yield* _(Effect.runtime());
|
|
44
|
-
const runSync = Runtime.runSync(runtime);
|
|
16
|
+
exports.makeDefaultLambdaClientInstanceConfig = effect_1.Effect.gen(function* (_) {
|
|
17
|
+
const runtime = yield* _(effect_1.Effect.runtime());
|
|
18
|
+
const runSync = effect_1.Runtime.runSync(runtime);
|
|
45
19
|
return {
|
|
46
20
|
logger: {
|
|
47
21
|
info(m) {
|
|
48
|
-
Effect.logInfo(m).pipe(runSync);
|
|
22
|
+
effect_1.Effect.logInfo(m).pipe(runSync);
|
|
49
23
|
},
|
|
50
24
|
warn(m) {
|
|
51
|
-
Effect.logWarning(m).pipe(runSync);
|
|
25
|
+
effect_1.Effect.logWarning(m).pipe(runSync);
|
|
52
26
|
},
|
|
53
27
|
error(m) {
|
|
54
|
-
Effect.logError(m).pipe(runSync);
|
|
28
|
+
effect_1.Effect.logError(m).pipe(runSync);
|
|
55
29
|
},
|
|
56
30
|
debug(m) {
|
|
57
|
-
Effect.logDebug(m).pipe(runSync);
|
|
31
|
+
effect_1.Effect.logDebug(m).pipe(runSync);
|
|
58
32
|
},
|
|
59
33
|
trace(m) {
|
|
60
|
-
Effect.logTrace(m).pipe(runSync);
|
|
34
|
+
effect_1.Effect.logTrace(m).pipe(runSync);
|
|
61
35
|
},
|
|
62
36
|
},
|
|
63
37
|
};
|
|
@@ -66,5 +40,5 @@ exports.makeDefaultLambdaClientInstanceConfig = Effect.gen(function* (_) {
|
|
|
66
40
|
* @since 1.0.0
|
|
67
41
|
* @category layers
|
|
68
42
|
*/
|
|
69
|
-
exports.DefaultLambdaClientConfigLayer = Layer.effect(LambdaClientInstanceConfig, exports.makeDefaultLambdaClientInstanceConfig);
|
|
70
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
exports.DefaultLambdaClientConfigLayer = effect_1.Layer.effect(LambdaClientInstanceConfig, exports.makeDefaultLambdaClientInstanceConfig);
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGFtYmRhQ2xpZW50SW5zdGFuY2VDb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvTGFtYmRhQ2xpZW50SW5zdGFuY2VDb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBSUEsbUNBQXlEO0FBRXpEOzs7R0FHRztBQUNILE1BQWEsMEJBQTJCLFNBQVEsZ0JBQU8sQ0FBQyxHQUFHLENBQ3pELHNEQUFzRCxDQUN2RCxFQUFrRDtDQUFHO0FBRnRELGdFQUVzRDtBQUV0RDs7O0dBR0c7QUFDVSxRQUFBLHFDQUFxQyxHQUNoRCxlQUFNLENBQUMsR0FBRyxDQUFDLFFBQVEsQ0FBQyxFQUFFLENBQUM7SUFDckIsTUFBTSxPQUFPLEdBQUcsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLGVBQU0sQ0FBQyxPQUFPLEVBQVMsQ0FBQyxDQUFDO0lBQ2xELE1BQU0sT0FBTyxHQUFHLGdCQUFPLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFDO0lBRXpDLE9BQU87UUFDTCxNQUFNLEVBQUU7WUFDTixJQUFJLENBQUMsQ0FBQztnQkFDSixlQUFNLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsQ0FBQztZQUNsQyxDQUFDO1lBQ0QsSUFBSSxDQUFDLENBQUM7Z0JBQ0osZUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLENBQUM7WUFDckMsQ0FBQztZQUNELEtBQU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gPSBMYXllci5lZmZlY3QoXG4gIExhbWJkYUNsaWVudEluc3RhbmNlQ29uZmlnLFxuICBtYWtlRGVmYXVsdExhbWJkYUNsaWVudEluc3RhbmNlQ29uZmlnLFxuKTtcbiJdfQ==
|
package/lib/LambdaService.d.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
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 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 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 ListFunctionsCommandInput, type ListFunctionsCommandOutput, type ListFunctionsByCodeSigningConfigCommandInput, type ListFunctionsByCodeSigningConfigCommandOutput, 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 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 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 ListFunctionsCommandInput, type ListFunctionsCommandOutput, type ListFunctionsByCodeSigningConfigCommandInput, type ListFunctionsByCodeSigningConfigCommandOutput, 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
5
|
import { type HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
6
|
-
import {
|
|
6
|
+
import { Effect, Layer } from "effect";
|
|
7
7
|
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";
|
|
8
8
|
import { LambdaClientInstance } from "./LambdaClientInstance";
|
|
9
|
-
|
|
10
|
-
* @since 1.0.0
|
|
11
|
-
* @category models
|
|
12
|
-
*/
|
|
13
|
-
export interface LambdaService {
|
|
9
|
+
interface LambdaService$ {
|
|
14
10
|
readonly _: unique symbol;
|
|
15
11
|
/**
|
|
16
12
|
* @see {@link AddLayerVersionPermissionCommand}
|
|
@@ -116,6 +112,10 @@ export interface LambdaService {
|
|
|
116
112
|
* @see {@link GetFunctionEventInvokeConfigCommand}
|
|
117
113
|
*/
|
|
118
114
|
getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetFunctionEventInvokeConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
115
|
+
/**
|
|
116
|
+
* @see {@link GetFunctionRecursionConfigCommand}
|
|
117
|
+
*/
|
|
118
|
+
getFunctionRecursionConfig(args: GetFunctionRecursionConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<GetFunctionRecursionConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
119
119
|
/**
|
|
120
120
|
* @see {@link GetFunctionUrlConfigCommand}
|
|
121
121
|
*/
|
|
@@ -224,6 +224,10 @@ export interface LambdaService {
|
|
|
224
224
|
* @see {@link PutFunctionEventInvokeConfigCommand}
|
|
225
225
|
*/
|
|
226
226
|
putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutFunctionEventInvokeConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
227
|
+
/**
|
|
228
|
+
* @see {@link PutFunctionRecursionConfigCommand}
|
|
229
|
+
*/
|
|
230
|
+
putFunctionRecursionConfig(args: PutFunctionRecursionConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<PutFunctionRecursionConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
227
231
|
/**
|
|
228
232
|
* @see {@link PutProvisionedConcurrencyConfigCommand}
|
|
229
233
|
*/
|
|
@@ -277,16 +281,90 @@ export interface LambdaService {
|
|
|
277
281
|
*/
|
|
278
282
|
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<UpdateFunctionUrlConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
279
283
|
}
|
|
284
|
+
declare const LambdaService_base: import("effect/Context").TagClass<LambdaService, "@effect-aws/client-lambda/LambdaService", LambdaService$> & {
|
|
285
|
+
readonly _: Effect.Effect<LambdaService$["_"], never, LambdaService>;
|
|
286
|
+
addLayerVersionPermission: (args: AddLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<AddLayerVersionPermissionCommandOutput, InvalidParameterValueError | PolicyLengthExceededError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
287
|
+
addPermission: (args: AddPermissionCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<AddPermissionCommandOutput, InvalidParameterValueError | PolicyLengthExceededError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
288
|
+
createAlias: (args: CreateAliasCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<CreateAliasCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
289
|
+
createCodeSigningConfig: (args: CreateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<CreateCodeSigningConfigCommandOutput, InvalidParameterValueError | ServiceError | SdkError, LambdaService>;
|
|
290
|
+
createEventSourceMapping: (args: CreateEventSourceMappingCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<CreateEventSourceMappingCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
291
|
+
createFunction: (args: CreateFunctionCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<CreateFunctionCommandOutput, CodeSigningConfigNotFoundError | CodeStorageExceededError | CodeVerificationFailedError | InvalidCodeSignatureError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
292
|
+
createFunctionUrlConfig: (args: CreateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<CreateFunctionUrlConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
293
|
+
deleteAlias: (args: DeleteAliasCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<DeleteAliasCommandOutput, InvalidParameterValueError | ResourceConflictError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
294
|
+
deleteCodeSigningConfig: (args: DeleteCodeSigningConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<DeleteCodeSigningConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | SdkError, LambdaService>;
|
|
295
|
+
deleteEventSourceMapping: (args: DeleteEventSourceMappingCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<DeleteEventSourceMappingCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceInUseError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
296
|
+
deleteFunction: (args: DeleteFunctionCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<DeleteFunctionCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
297
|
+
deleteFunctionCodeSigningConfig: (args: DeleteFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<DeleteFunctionCodeSigningConfigCommandOutput, CodeSigningConfigNotFoundError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
298
|
+
deleteFunctionConcurrency: (args: DeleteFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<DeleteFunctionConcurrencyCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
299
|
+
deleteFunctionEventInvokeConfig: (args: DeleteFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<DeleteFunctionEventInvokeConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
300
|
+
deleteFunctionUrlConfig: (args: DeleteFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<DeleteFunctionUrlConfigCommandOutput, ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
301
|
+
deleteLayerVersion: (args: DeleteLayerVersionCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<DeleteLayerVersionCommandOutput, ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
302
|
+
deleteProvisionedConcurrencyConfig: (args: DeleteProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<DeleteProvisionedConcurrencyConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
303
|
+
getAccountSettings: (args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetAccountSettingsCommandOutput, ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
304
|
+
getAlias: (args: GetAliasCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetAliasCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
305
|
+
getCodeSigningConfig: (args: GetCodeSigningConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetCodeSigningConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | SdkError, LambdaService>;
|
|
306
|
+
getEventSourceMapping: (args: GetEventSourceMappingCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetEventSourceMappingCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
307
|
+
getFunction: (args: GetFunctionCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
308
|
+
getFunctionCodeSigningConfig: (args: GetFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionCodeSigningConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
309
|
+
getFunctionConcurrency: (args: GetFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionConcurrencyCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
310
|
+
getFunctionConfiguration: (args: GetFunctionConfigurationCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionConfigurationCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
311
|
+
getFunctionEventInvokeConfig: (args: GetFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionEventInvokeConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
312
|
+
getFunctionRecursionConfig: (args: GetFunctionRecursionConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionRecursionConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
313
|
+
getFunctionUrlConfig: (args: GetFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionUrlConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
314
|
+
getLayerVersion: (args: GetLayerVersionCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetLayerVersionCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
315
|
+
getLayerVersionByArn: (args: GetLayerVersionByArnCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetLayerVersionByArnCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
316
|
+
getLayerVersionPolicy: (args: GetLayerVersionPolicyCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetLayerVersionPolicyCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
317
|
+
getPolicy: (args: GetPolicyCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetPolicyCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
318
|
+
getProvisionedConcurrencyConfig: (args: GetProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetProvisionedConcurrencyConfigCommandOutput, InvalidParameterValueError | ProvisionedConcurrencyConfigNotFoundError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
319
|
+
getRuntimeManagementConfig: (args: GetRuntimeManagementConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<GetRuntimeManagementConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
320
|
+
invoke: (args: InvokeCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<InvokeCommandOutput, EC2AccessDeniedError | EC2ThrottledError | EC2UnexpectedError | EFSIOError | EFSMountConnectivityError | EFSMountFailureError | EFSMountTimeoutError | ENILimitReachedError | InvalidParameterValueError | InvalidRequestContentError | InvalidRuntimeError | InvalidSecurityGroupIDError | InvalidSubnetIDError | InvalidZipFileError | KMSAccessDeniedError | KMSDisabledError | KMSInvalidStateError | KMSNotFoundError | RecursiveInvocationError | RequestTooLargeError | ResourceConflictError | ResourceNotFoundError | ResourceNotReadyError | ServiceError | SnapStartError | SnapStartNotReadyError | SnapStartTimeoutError | SubnetIPAddressLimitReachedError | TooManyRequestsError | UnsupportedMediaTypeError | SdkError, LambdaService>;
|
|
321
|
+
invokeAsync: (args: InvokeAsyncCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<InvokeAsyncCommandOutput, InvalidRequestContentError | InvalidRuntimeError | ResourceConflictError | ResourceNotFoundError | ServiceError | SdkError, LambdaService>;
|
|
322
|
+
invokeWithResponseStream: (args: InvokeWithResponseStreamCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<InvokeWithResponseStreamCommandOutput, EC2AccessDeniedError | EC2ThrottledError | EC2UnexpectedError | EFSIOError | EFSMountConnectivityError | EFSMountFailureError | EFSMountTimeoutError | ENILimitReachedError | InvalidParameterValueError | InvalidRequestContentError | InvalidRuntimeError | InvalidSecurityGroupIDError | InvalidSubnetIDError | InvalidZipFileError | KMSAccessDeniedError | KMSDisabledError | KMSInvalidStateError | KMSNotFoundError | RecursiveInvocationError | RequestTooLargeError | ResourceConflictError | ResourceNotFoundError | ResourceNotReadyError | ServiceError | SnapStartError | SnapStartNotReadyError | SnapStartTimeoutError | SubnetIPAddressLimitReachedError | TooManyRequestsError | UnsupportedMediaTypeError | SdkError, LambdaService>;
|
|
323
|
+
listAliases: (args: ListAliasesCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<ListAliasesCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
324
|
+
listCodeSigningConfigs: (args: ListCodeSigningConfigsCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<ListCodeSigningConfigsCommandOutput, InvalidParameterValueError | ServiceError | SdkError, LambdaService>;
|
|
325
|
+
listEventSourceMappings: (args: ListEventSourceMappingsCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<ListEventSourceMappingsCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
326
|
+
listFunctionEventInvokeConfigs: (args: ListFunctionEventInvokeConfigsCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<ListFunctionEventInvokeConfigsCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
327
|
+
listFunctions: (args: ListFunctionsCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<ListFunctionsCommandOutput, InvalidParameterValueError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
328
|
+
listFunctionsByCodeSigningConfig: (args: ListFunctionsByCodeSigningConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<ListFunctionsByCodeSigningConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | SdkError, LambdaService>;
|
|
329
|
+
listFunctionUrlConfigs: (args: ListFunctionUrlConfigsCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<ListFunctionUrlConfigsCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
330
|
+
listLayers: (args: ListLayersCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<ListLayersCommandOutput, InvalidParameterValueError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
331
|
+
listLayerVersions: (args: ListLayerVersionsCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<ListLayerVersionsCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
332
|
+
listProvisionedConcurrencyConfigs: (args: ListProvisionedConcurrencyConfigsCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<ListProvisionedConcurrencyConfigsCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
333
|
+
listTags: (args: ListTagsCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<ListTagsCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
334
|
+
listVersionsByFunction: (args: ListVersionsByFunctionCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<ListVersionsByFunctionCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
335
|
+
publishLayerVersion: (args: PublishLayerVersionCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<PublishLayerVersionCommandOutput, CodeStorageExceededError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
336
|
+
publishVersion: (args: PublishVersionCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<PublishVersionCommandOutput, CodeStorageExceededError | InvalidParameterValueError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
337
|
+
putFunctionCodeSigningConfig: (args: PutFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<PutFunctionCodeSigningConfigCommandOutput, CodeSigningConfigNotFoundError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
338
|
+
putFunctionConcurrency: (args: PutFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<PutFunctionConcurrencyCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
339
|
+
putFunctionEventInvokeConfig: (args: PutFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<PutFunctionEventInvokeConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
340
|
+
putFunctionRecursionConfig: (args: PutFunctionRecursionConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<PutFunctionRecursionConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
341
|
+
putProvisionedConcurrencyConfig: (args: PutProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<PutProvisionedConcurrencyConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
342
|
+
putRuntimeManagementConfig: (args: PutRuntimeManagementConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<PutRuntimeManagementConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
343
|
+
removeLayerVersionPermission: (args: RemoveLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<RemoveLayerVersionPermissionCommandOutput, InvalidParameterValueError | PreconditionFailedError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
344
|
+
removePermission: (args: RemovePermissionCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<RemovePermissionCommandOutput, InvalidParameterValueError | PreconditionFailedError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
345
|
+
tagResource: (args: TagResourceCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<TagResourceCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
346
|
+
untagResource: (args: UntagResourceCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<UntagResourceCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
347
|
+
updateAlias: (args: UpdateAliasCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<UpdateAliasCommandOutput, InvalidParameterValueError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
348
|
+
updateCodeSigningConfig: (args: UpdateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<UpdateCodeSigningConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | SdkError, LambdaService>;
|
|
349
|
+
updateEventSourceMapping: (args: UpdateEventSourceMappingCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<UpdateEventSourceMappingCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceInUseError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
350
|
+
updateFunctionCode: (args: UpdateFunctionCodeCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<UpdateFunctionCodeCommandOutput, CodeSigningConfigNotFoundError | CodeStorageExceededError | CodeVerificationFailedError | InvalidCodeSignatureError | InvalidParameterValueError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
351
|
+
updateFunctionConfiguration: (args: UpdateFunctionConfigurationCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<UpdateFunctionConfigurationCommandOutput, CodeSigningConfigNotFoundError | CodeVerificationFailedError | InvalidCodeSignatureError | InvalidParameterValueError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
352
|
+
updateFunctionEventInvokeConfig: (args: UpdateFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<UpdateFunctionEventInvokeConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
353
|
+
updateFunctionUrlConfig: (args: UpdateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions | undefined) => Effect.Effect<UpdateFunctionUrlConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
354
|
+
} & {
|
|
355
|
+
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>;
|
|
356
|
+
};
|
|
280
357
|
/**
|
|
281
358
|
* @since 1.0.0
|
|
282
|
-
* @category
|
|
359
|
+
* @category models
|
|
283
360
|
*/
|
|
284
|
-
export declare
|
|
361
|
+
export declare class LambdaService extends LambdaService_base {
|
|
362
|
+
}
|
|
285
363
|
/**
|
|
286
364
|
* @since 1.0.0
|
|
287
365
|
* @category constructors
|
|
288
366
|
*/
|
|
289
|
-
export declare const makeLambdaService: Effect.Effect<LambdaService
|
|
367
|
+
export declare const makeLambdaService: Effect.Effect<LambdaService$, never, LambdaClientInstance>;
|
|
290
368
|
/**
|
|
291
369
|
* @since 1.0.0
|
|
292
370
|
* @category layers
|
|
@@ -302,3 +380,4 @@ export declare const LambdaServiceLayer: Layer.Layer<LambdaService, never, impor
|
|
|
302
380
|
* @category layers
|
|
303
381
|
*/
|
|
304
382
|
export declare const DefaultLambdaServiceLayer: Layer.Layer<LambdaService, never, never>;
|
|
383
|
+
export {};
|