@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.
- package/Errors/package.json +6 -0
- package/LICENSE +1 -1
- package/LambdaClientInstance/package.json +6 -0
- package/LambdaService/package.json +6 -0
- package/LambdaServiceConfig/package.json +6 -0
- package/{lib → dist/cjs}/Errors.d.ts +6 -11
- package/dist/cjs/Errors.d.ts.map +1 -0
- package/dist/cjs/Errors.js +46 -0
- package/dist/cjs/Errors.js.map +1 -0
- package/dist/cjs/LambdaClientInstance.d.ts +24 -0
- package/dist/cjs/LambdaClientInstance.d.ts.map +1 -0
- package/dist/cjs/LambdaClientInstance.js +50 -0
- package/dist/cjs/LambdaClientInstance.js.map +1 -0
- package/{lib → dist/cjs}/LambdaService.d.ts +16 -38
- package/dist/cjs/LambdaService.d.ts.map +1 -0
- package/dist/cjs/LambdaService.js +124 -0
- package/dist/cjs/LambdaService.js.map +1 -0
- package/dist/cjs/LambdaServiceConfig.d.ts +25 -0
- package/dist/cjs/LambdaServiceConfig.d.ts.map +1 -0
- package/dist/cjs/LambdaServiceConfig.js +35 -0
- package/dist/cjs/LambdaServiceConfig.js.map +1 -0
- package/dist/cjs/index.d.ts +39 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +56 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/dts/Errors.d.ts +45 -0
- package/dist/dts/Errors.d.ts.map +1 -0
- package/dist/dts/LambdaClientInstance.d.ts +24 -0
- package/dist/dts/LambdaClientInstance.d.ts.map +1 -0
- package/dist/dts/LambdaService.d.ts +383 -0
- package/dist/dts/LambdaService.d.ts.map +1 -0
- package/dist/dts/LambdaServiceConfig.d.ts +25 -0
- package/dist/dts/LambdaServiceConfig.d.ts.map +1 -0
- package/dist/dts/index.d.ts +39 -0
- package/dist/dts/index.d.ts.map +1 -0
- package/dist/esm/Errors.js +43 -0
- package/dist/esm/Errors.js.map +1 -0
- package/dist/esm/LambdaClientInstance.js +23 -0
- package/dist/esm/LambdaClientInstance.js.map +1 -0
- package/dist/esm/LambdaService.js +97 -0
- package/dist/esm/LambdaService.js.map +1 -0
- package/dist/esm/LambdaServiceConfig.js +31 -0
- package/dist/esm/LambdaServiceConfig.js.map +1 -0
- package/dist/esm/index.js +27 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +4 -0
- package/package.json +60 -43
- package/src/Errors.ts +125 -0
- package/src/LambdaClientInstance.ts +33 -0
- package/src/LambdaService.ts +1373 -0
- package/src/LambdaServiceConfig.ts +52 -0
- package/src/index.ts +44 -0
- package/CHANGELOG.md +0 -103
- package/docgen.json +0 -8
- package/lib/Errors.js +0 -46
- package/lib/LambdaClientInstance.d.ts +0 -31
- package/lib/LambdaClientInstance.js +0 -57
- package/lib/LambdaClientInstanceConfig.d.ts +0 -23
- package/lib/LambdaClientInstanceConfig.js +0 -44
- package/lib/LambdaService.js +0 -156
- package/lib/esm/Errors.js +0 -43
- package/lib/esm/LambdaClientInstance.js +0 -30
- package/lib/esm/LambdaClientInstanceConfig.js +0 -40
- package/lib/esm/LambdaService.js +0 -152
- package/lib/esm/index.js +0 -5
- package/lib/index.d.ts +0 -4
- package/lib/index.js +0 -21
- package/project.json +0 -77
- package/vitest.config.ts +0 -3
|
@@ -0,0 +1,56 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Lambda = exports.LambdaServiceConfig = exports.LambdaClientInstance = void 0;
|
|
30
|
+
/**
|
|
31
|
+
* @since 1.0.0
|
|
32
|
+
*/
|
|
33
|
+
const LambdaService_js_1 = require("./LambdaService.js");
|
|
34
|
+
/**
|
|
35
|
+
* @since 1.0.0
|
|
36
|
+
*/
|
|
37
|
+
__exportStar(require("./Errors.js"), exports);
|
|
38
|
+
/**
|
|
39
|
+
* @since 1.0.0
|
|
40
|
+
*/
|
|
41
|
+
exports.LambdaClientInstance = __importStar(require("./LambdaClientInstance.js"));
|
|
42
|
+
/**
|
|
43
|
+
* @since 1.0.0
|
|
44
|
+
*/
|
|
45
|
+
exports.LambdaServiceConfig = __importStar(require("./LambdaServiceConfig.js"));
|
|
46
|
+
/**
|
|
47
|
+
* @since 1.0.0
|
|
48
|
+
*/
|
|
49
|
+
__exportStar(require("./LambdaService.js"), exports);
|
|
50
|
+
/**
|
|
51
|
+
* @since 1.0.0
|
|
52
|
+
* @category exports
|
|
53
|
+
* @alias LambdaService
|
|
54
|
+
*/
|
|
55
|
+
exports.Lambda = LambdaService_js_1.LambdaService;
|
|
56
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,yDAAmD;AAEnD;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,kFAAkE;AAElE;;GAEG;AACH,gFAAgE;AAEhE;;GAEG;AACH,qDAAmC;AAenC;;;;GAIG;AACU,QAAA,MAAM,GAAG,gCAAa,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 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"];
|
|
5
|
+
export type CodeSigningConfigNotFoundError = TaggedException<CodeSigningConfigNotFoundException>;
|
|
6
|
+
export type CodeStorageExceededError = TaggedException<CodeStorageExceededException>;
|
|
7
|
+
export type CodeVerificationFailedError = TaggedException<CodeVerificationFailedException>;
|
|
8
|
+
export type EC2AccessDeniedError = TaggedException<EC2AccessDeniedException>;
|
|
9
|
+
export type EC2ThrottledError = TaggedException<EC2ThrottledException>;
|
|
10
|
+
export type EC2UnexpectedError = TaggedException<EC2UnexpectedException>;
|
|
11
|
+
export type EFSIOError = TaggedException<EFSIOException>;
|
|
12
|
+
export type EFSMountConnectivityError = TaggedException<EFSMountConnectivityException>;
|
|
13
|
+
export type EFSMountFailureError = TaggedException<EFSMountFailureException>;
|
|
14
|
+
export type EFSMountTimeoutError = TaggedException<EFSMountTimeoutException>;
|
|
15
|
+
export type ENILimitReachedError = TaggedException<ENILimitReachedException>;
|
|
16
|
+
export type InvalidCodeSignatureError = TaggedException<InvalidCodeSignatureException>;
|
|
17
|
+
export type InvalidParameterValueError = TaggedException<InvalidParameterValueException>;
|
|
18
|
+
export type InvalidRequestContentError = TaggedException<InvalidRequestContentException>;
|
|
19
|
+
export type InvalidRuntimeError = TaggedException<InvalidRuntimeException>;
|
|
20
|
+
export type InvalidSecurityGroupIDError = TaggedException<InvalidSecurityGroupIDException>;
|
|
21
|
+
export type InvalidSubnetIDError = TaggedException<InvalidSubnetIDException>;
|
|
22
|
+
export type InvalidZipFileError = TaggedException<InvalidZipFileException>;
|
|
23
|
+
export type KMSAccessDeniedError = TaggedException<KMSAccessDeniedException>;
|
|
24
|
+
export type KMSDisabledError = TaggedException<KMSDisabledException>;
|
|
25
|
+
export type KMSInvalidStateError = TaggedException<KMSInvalidStateException>;
|
|
26
|
+
export type KMSNotFoundError = TaggedException<KMSNotFoundException>;
|
|
27
|
+
export type PolicyLengthExceededError = TaggedException<PolicyLengthExceededException>;
|
|
28
|
+
export type PreconditionFailedError = TaggedException<PreconditionFailedException>;
|
|
29
|
+
export type ProvisionedConcurrencyConfigNotFoundError = TaggedException<ProvisionedConcurrencyConfigNotFoundException>;
|
|
30
|
+
export type RecursiveInvocationError = TaggedException<RecursiveInvocationException>;
|
|
31
|
+
export type RequestTooLargeError = TaggedException<RequestTooLargeException>;
|
|
32
|
+
export type ResourceConflictError = TaggedException<ResourceConflictException>;
|
|
33
|
+
export type ResourceInUseError = TaggedException<ResourceInUseException>;
|
|
34
|
+
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
35
|
+
export type ResourceNotReadyError = TaggedException<ResourceNotReadyException>;
|
|
36
|
+
export type ServiceError = TaggedException<ServiceException>;
|
|
37
|
+
export type SnapStartError = TaggedException<SnapStartException>;
|
|
38
|
+
export type SnapStartNotReadyError = TaggedException<SnapStartNotReadyException>;
|
|
39
|
+
export type SnapStartTimeoutError = TaggedException<SnapStartTimeoutException>;
|
|
40
|
+
export type SubnetIPAddressLimitReachedError = TaggedException<SubnetIPAddressLimitReachedException>;
|
|
41
|
+
export type TooManyRequestsError = TaggedException<TooManyRequestsException>;
|
|
42
|
+
export type UnsupportedMediaTypeError = TaggedException<UnsupportedMediaTypeException>;
|
|
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","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kCAAkC,EAClC,4BAA4B,EAC5B,+BAA+B,EAC/B,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,cAAc,EACd,6BAA6B,EAC7B,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,EAC9B,8BAA8B,EAC9B,uBAAuB,EACvB,+BAA+B,EAC/B,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACpB,6BAA6B,EAC7B,2BAA2B,EAC3B,6CAA6C,EAC7C,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,yBAAyB,EACzB,yBAAyB,EACzB,gBAAgB,EAChB,kBAAkB,EAClB,0BAA0B,EAC1B,yBAAyB,EACzB,oCAAoC,EACpC,wBAAwB,EACxB,6BAA6B,EAC9B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,gBAAgB,onCAuCnB,CAAC;AAEX,MAAM,MAAM,8BAA8B,GAAG,eAAe,CAAC,kCAAkC,CAAC,CAAC;AACjG,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC,4BAA4B,CAAC,CAAC;AACrF,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,+BAA+B,CAAC,CAAC;AAC3F,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,UAAU,GAAG,eAAe,CAAC,cAAc,CAAC,CAAC;AACzD,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,0BAA0B,GAAG,eAAe,CAAC,8BAA8B,CAAC,CAAC;AACzF,MAAM,MAAM,0BAA0B,GAAG,eAAe,CAAC,8BAA8B,CAAC,CAAC;AACzF,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,+BAA+B,CAAC,CAAC;AAC3F,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;AACrE,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;AACrE,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AACnF,MAAM,MAAM,yCAAyC,GAAG,eAAe,CAAC,6CAA6C,CAAC,CAAC;AACvH,MAAM,MAAM,wBAAwB,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,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,383 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
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 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";
|
|
6
|
+
import { Effect, Layer } from "effect";
|
|
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";
|
|
9
|
+
interface LambdaService$ {
|
|
10
|
+
readonly _: unique symbol;
|
|
11
|
+
/**
|
|
12
|
+
* @see {@link AddLayerVersionPermissionCommand}
|
|
13
|
+
*/
|
|
14
|
+
addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, options?: HttpHandlerOptions): Effect.Effect<AddLayerVersionPermissionCommandOutput, SdkError | InvalidParameterValueError | PolicyLengthExceededError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
15
|
+
/**
|
|
16
|
+
* @see {@link AddPermissionCommand}
|
|
17
|
+
*/
|
|
18
|
+
addPermission(args: AddPermissionCommandInput, options?: HttpHandlerOptions): Effect.Effect<AddPermissionCommandOutput, SdkError | InvalidParameterValueError | PolicyLengthExceededError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
19
|
+
/**
|
|
20
|
+
* @see {@link CreateAliasCommand}
|
|
21
|
+
*/
|
|
22
|
+
createAlias(args: CreateAliasCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAliasCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
23
|
+
/**
|
|
24
|
+
* @see {@link CreateCodeSigningConfigCommand}
|
|
25
|
+
*/
|
|
26
|
+
createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateCodeSigningConfigCommandOutput, SdkError | InvalidParameterValueError | ServiceError>;
|
|
27
|
+
/**
|
|
28
|
+
* @see {@link CreateEventSourceMappingCommand}
|
|
29
|
+
*/
|
|
30
|
+
createEventSourceMapping(args: CreateEventSourceMappingCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateEventSourceMappingCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
31
|
+
/**
|
|
32
|
+
* @see {@link CreateFunctionCommand}
|
|
33
|
+
*/
|
|
34
|
+
createFunction(args: CreateFunctionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateFunctionCommandOutput, SdkError | CodeSigningConfigNotFoundError | CodeStorageExceededError | CodeVerificationFailedError | InvalidCodeSignatureError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
35
|
+
/**
|
|
36
|
+
* @see {@link CreateFunctionUrlConfigCommand}
|
|
37
|
+
*/
|
|
38
|
+
createFunctionUrlConfig(args: CreateFunctionUrlConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateFunctionUrlConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link DeleteAliasCommand}
|
|
41
|
+
*/
|
|
42
|
+
deleteAlias(args: DeleteAliasCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAliasCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ServiceError | TooManyRequestsError>;
|
|
43
|
+
/**
|
|
44
|
+
* @see {@link DeleteCodeSigningConfigCommand}
|
|
45
|
+
*/
|
|
46
|
+
deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteCodeSigningConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError>;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link DeleteEventSourceMappingCommand}
|
|
49
|
+
*/
|
|
50
|
+
deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteEventSourceMappingCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceInUseError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link DeleteFunctionCommand}
|
|
53
|
+
*/
|
|
54
|
+
deleteFunction(args: DeleteFunctionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteFunctionCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
55
|
+
/**
|
|
56
|
+
* @see {@link DeleteFunctionCodeSigningConfigCommand}
|
|
57
|
+
*/
|
|
58
|
+
deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteFunctionCodeSigningConfigCommandOutput, SdkError | CodeSigningConfigNotFoundError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
59
|
+
/**
|
|
60
|
+
* @see {@link DeleteFunctionConcurrencyCommand}
|
|
61
|
+
*/
|
|
62
|
+
deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteFunctionConcurrencyCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
63
|
+
/**
|
|
64
|
+
* @see {@link DeleteFunctionEventInvokeConfigCommand}
|
|
65
|
+
*/
|
|
66
|
+
deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteFunctionEventInvokeConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
67
|
+
/**
|
|
68
|
+
* @see {@link DeleteFunctionUrlConfigCommand}
|
|
69
|
+
*/
|
|
70
|
+
deleteFunctionUrlConfig(args: DeleteFunctionUrlConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteFunctionUrlConfigCommandOutput, SdkError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link DeleteLayerVersionCommand}
|
|
73
|
+
*/
|
|
74
|
+
deleteLayerVersion(args: DeleteLayerVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteLayerVersionCommandOutput, SdkError | ServiceError | TooManyRequestsError>;
|
|
75
|
+
/**
|
|
76
|
+
* @see {@link DeleteProvisionedConcurrencyConfigCommand}
|
|
77
|
+
*/
|
|
78
|
+
deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteProvisionedConcurrencyConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link GetAccountSettingsCommand}
|
|
81
|
+
*/
|
|
82
|
+
getAccountSettings(args: GetAccountSettingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccountSettingsCommandOutput, SdkError | ServiceError | TooManyRequestsError>;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link GetAliasCommand}
|
|
85
|
+
*/
|
|
86
|
+
getAlias(args: GetAliasCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAliasCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
87
|
+
/**
|
|
88
|
+
* @see {@link GetCodeSigningConfigCommand}
|
|
89
|
+
*/
|
|
90
|
+
getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetCodeSigningConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError>;
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link GetEventSourceMappingCommand}
|
|
93
|
+
*/
|
|
94
|
+
getEventSourceMapping(args: GetEventSourceMappingCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetEventSourceMappingCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
95
|
+
/**
|
|
96
|
+
* @see {@link GetFunctionCommand}
|
|
97
|
+
*/
|
|
98
|
+
getFunction(args: GetFunctionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetFunctionCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
99
|
+
/**
|
|
100
|
+
* @see {@link GetFunctionCodeSigningConfigCommand}
|
|
101
|
+
*/
|
|
102
|
+
getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetFunctionCodeSigningConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
103
|
+
/**
|
|
104
|
+
* @see {@link GetFunctionConcurrencyCommand}
|
|
105
|
+
*/
|
|
106
|
+
getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetFunctionConcurrencyCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
107
|
+
/**
|
|
108
|
+
* @see {@link GetFunctionConfigurationCommand}
|
|
109
|
+
*/
|
|
110
|
+
getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetFunctionConfigurationCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link GetFunctionEventInvokeConfigCommand}
|
|
113
|
+
*/
|
|
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
|
+
/**
|
|
120
|
+
* @see {@link GetFunctionUrlConfigCommand}
|
|
121
|
+
*/
|
|
122
|
+
getFunctionUrlConfig(args: GetFunctionUrlConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetFunctionUrlConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
123
|
+
/**
|
|
124
|
+
* @see {@link GetLayerVersionCommand}
|
|
125
|
+
*/
|
|
126
|
+
getLayerVersion(args: GetLayerVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLayerVersionCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
127
|
+
/**
|
|
128
|
+
* @see {@link GetLayerVersionByArnCommand}
|
|
129
|
+
*/
|
|
130
|
+
getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLayerVersionByArnCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
131
|
+
/**
|
|
132
|
+
* @see {@link GetLayerVersionPolicyCommand}
|
|
133
|
+
*/
|
|
134
|
+
getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLayerVersionPolicyCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
135
|
+
/**
|
|
136
|
+
* @see {@link GetPolicyCommand}
|
|
137
|
+
*/
|
|
138
|
+
getPolicy(args: GetPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPolicyCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
139
|
+
/**
|
|
140
|
+
* @see {@link GetProvisionedConcurrencyConfigCommand}
|
|
141
|
+
*/
|
|
142
|
+
getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetProvisionedConcurrencyConfigCommandOutput, SdkError | InvalidParameterValueError | ProvisionedConcurrencyConfigNotFoundError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
143
|
+
/**
|
|
144
|
+
* @see {@link GetRuntimeManagementConfigCommand}
|
|
145
|
+
*/
|
|
146
|
+
getRuntimeManagementConfig(args: GetRuntimeManagementConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetRuntimeManagementConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
147
|
+
/**
|
|
148
|
+
* @see {@link InvokeCommand}
|
|
149
|
+
*/
|
|
150
|
+
invoke(args: InvokeCommandInput, options?: HttpHandlerOptions): Effect.Effect<InvokeCommandOutput, SdkError | 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>;
|
|
151
|
+
/**
|
|
152
|
+
* @see {@link InvokeAsyncCommand}
|
|
153
|
+
*/
|
|
154
|
+
invokeAsync(args: InvokeAsyncCommandInput, options?: HttpHandlerOptions): Effect.Effect<InvokeAsyncCommandOutput, SdkError | InvalidRequestContentError | InvalidRuntimeError | ResourceConflictError | ResourceNotFoundError | ServiceError>;
|
|
155
|
+
/**
|
|
156
|
+
* @see {@link InvokeWithResponseStreamCommand}
|
|
157
|
+
*/
|
|
158
|
+
invokeWithResponseStream(args: InvokeWithResponseStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<InvokeWithResponseStreamCommandOutput, SdkError | 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>;
|
|
159
|
+
/**
|
|
160
|
+
* @see {@link ListAliasesCommand}
|
|
161
|
+
*/
|
|
162
|
+
listAliases(args: ListAliasesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAliasesCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
163
|
+
/**
|
|
164
|
+
* @see {@link ListCodeSigningConfigsCommand}
|
|
165
|
+
*/
|
|
166
|
+
listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListCodeSigningConfigsCommandOutput, SdkError | InvalidParameterValueError | ServiceError>;
|
|
167
|
+
/**
|
|
168
|
+
* @see {@link ListEventSourceMappingsCommand}
|
|
169
|
+
*/
|
|
170
|
+
listEventSourceMappings(args: ListEventSourceMappingsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListEventSourceMappingsCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
171
|
+
/**
|
|
172
|
+
* @see {@link ListFunctionEventInvokeConfigsCommand}
|
|
173
|
+
*/
|
|
174
|
+
listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListFunctionEventInvokeConfigsCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
175
|
+
/**
|
|
176
|
+
* @see {@link ListFunctionUrlConfigsCommand}
|
|
177
|
+
*/
|
|
178
|
+
listFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListFunctionUrlConfigsCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
179
|
+
/**
|
|
180
|
+
* @see {@link ListFunctionsCommand}
|
|
181
|
+
*/
|
|
182
|
+
listFunctions(args: ListFunctionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListFunctionsCommandOutput, SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError>;
|
|
183
|
+
/**
|
|
184
|
+
* @see {@link ListFunctionsByCodeSigningConfigCommand}
|
|
185
|
+
*/
|
|
186
|
+
listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListFunctionsByCodeSigningConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError>;
|
|
187
|
+
/**
|
|
188
|
+
* @see {@link ListLayerVersionsCommand}
|
|
189
|
+
*/
|
|
190
|
+
listLayerVersions(args: ListLayerVersionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLayerVersionsCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
191
|
+
/**
|
|
192
|
+
* @see {@link ListLayersCommand}
|
|
193
|
+
*/
|
|
194
|
+
listLayers(args: ListLayersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListLayersCommandOutput, SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError>;
|
|
195
|
+
/**
|
|
196
|
+
* @see {@link ListProvisionedConcurrencyConfigsCommand}
|
|
197
|
+
*/
|
|
198
|
+
listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListProvisionedConcurrencyConfigsCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
199
|
+
/**
|
|
200
|
+
* @see {@link ListTagsCommand}
|
|
201
|
+
*/
|
|
202
|
+
listTags(args: ListTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
203
|
+
/**
|
|
204
|
+
* @see {@link ListVersionsByFunctionCommand}
|
|
205
|
+
*/
|
|
206
|
+
listVersionsByFunction(args: ListVersionsByFunctionCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListVersionsByFunctionCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
207
|
+
/**
|
|
208
|
+
* @see {@link PublishLayerVersionCommand}
|
|
209
|
+
*/
|
|
210
|
+
publishLayerVersion(args: PublishLayerVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<PublishLayerVersionCommandOutput, SdkError | CodeStorageExceededError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
211
|
+
/**
|
|
212
|
+
* @see {@link PublishVersionCommand}
|
|
213
|
+
*/
|
|
214
|
+
publishVersion(args: PublishVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<PublishVersionCommandOutput, SdkError | CodeStorageExceededError | InvalidParameterValueError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
215
|
+
/**
|
|
216
|
+
* @see {@link PutFunctionCodeSigningConfigCommand}
|
|
217
|
+
*/
|
|
218
|
+
putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutFunctionCodeSigningConfigCommandOutput, SdkError | CodeSigningConfigNotFoundError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
219
|
+
/**
|
|
220
|
+
* @see {@link PutFunctionConcurrencyCommand}
|
|
221
|
+
*/
|
|
222
|
+
putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutFunctionConcurrencyCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
223
|
+
/**
|
|
224
|
+
* @see {@link PutFunctionEventInvokeConfigCommand}
|
|
225
|
+
*/
|
|
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>;
|
|
231
|
+
/**
|
|
232
|
+
* @see {@link PutProvisionedConcurrencyConfigCommand}
|
|
233
|
+
*/
|
|
234
|
+
putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutProvisionedConcurrencyConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
235
|
+
/**
|
|
236
|
+
* @see {@link PutRuntimeManagementConfigCommand}
|
|
237
|
+
*/
|
|
238
|
+
putRuntimeManagementConfig(args: PutRuntimeManagementConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRuntimeManagementConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
239
|
+
/**
|
|
240
|
+
* @see {@link RemoveLayerVersionPermissionCommand}
|
|
241
|
+
*/
|
|
242
|
+
removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemoveLayerVersionPermissionCommandOutput, SdkError | InvalidParameterValueError | PreconditionFailedError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
243
|
+
/**
|
|
244
|
+
* @see {@link RemovePermissionCommand}
|
|
245
|
+
*/
|
|
246
|
+
removePermission(args: RemovePermissionCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemovePermissionCommandOutput, SdkError | InvalidParameterValueError | PreconditionFailedError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
247
|
+
/**
|
|
248
|
+
* @see {@link TagResourceCommand}
|
|
249
|
+
*/
|
|
250
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
251
|
+
/**
|
|
252
|
+
* @see {@link UntagResourceCommand}
|
|
253
|
+
*/
|
|
254
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
255
|
+
/**
|
|
256
|
+
* @see {@link UpdateAliasCommand}
|
|
257
|
+
*/
|
|
258
|
+
updateAlias(args: UpdateAliasCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAliasCommandOutput, SdkError | InvalidParameterValueError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
259
|
+
/**
|
|
260
|
+
* @see {@link UpdateCodeSigningConfigCommand}
|
|
261
|
+
*/
|
|
262
|
+
updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateCodeSigningConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError>;
|
|
263
|
+
/**
|
|
264
|
+
* @see {@link UpdateEventSourceMappingCommand}
|
|
265
|
+
*/
|
|
266
|
+
updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateEventSourceMappingCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceInUseError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
267
|
+
/**
|
|
268
|
+
* @see {@link UpdateFunctionCodeCommand}
|
|
269
|
+
*/
|
|
270
|
+
updateFunctionCode(args: UpdateFunctionCodeCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateFunctionCodeCommandOutput, SdkError | CodeSigningConfigNotFoundError | CodeStorageExceededError | CodeVerificationFailedError | InvalidCodeSignatureError | InvalidParameterValueError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
271
|
+
/**
|
|
272
|
+
* @see {@link UpdateFunctionConfigurationCommand}
|
|
273
|
+
*/
|
|
274
|
+
updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateFunctionConfigurationCommandOutput, SdkError | CodeSigningConfigNotFoundError | CodeVerificationFailedError | InvalidCodeSignatureError | InvalidParameterValueError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
275
|
+
/**
|
|
276
|
+
* @see {@link UpdateFunctionEventInvokeConfigCommand}
|
|
277
|
+
*/
|
|
278
|
+
updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateFunctionEventInvokeConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
279
|
+
/**
|
|
280
|
+
* @see {@link UpdateFunctionUrlConfigCommand}
|
|
281
|
+
*/
|
|
282
|
+
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateFunctionUrlConfigCommandOutput, SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError>;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* @since 1.0.0
|
|
286
|
+
* @category constructors
|
|
287
|
+
*/
|
|
288
|
+
export declare const makeLambdaService: Effect.Effect<LambdaService$, never, Instance.LambdaClientInstance>;
|
|
289
|
+
declare const LambdaService_base: import("effect/Context").TagClass<LambdaService, "@effect-aws/client-lambda/LambdaService", LambdaService$> & {
|
|
290
|
+
readonly _: Effect.Effect<LambdaService$["_"], never, LambdaService>;
|
|
291
|
+
addLayerVersionPermission: (args: AddLayerVersionPermissionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AddLayerVersionPermissionCommandOutput, InvalidParameterValueError | PolicyLengthExceededError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
292
|
+
addPermission: (args: AddPermissionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AddPermissionCommandOutput, InvalidParameterValueError | PolicyLengthExceededError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
293
|
+
createAlias: (args: CreateAliasCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateAliasCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
294
|
+
createCodeSigningConfig: (args: CreateCodeSigningConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateCodeSigningConfigCommandOutput, InvalidParameterValueError | ServiceError | SdkError, LambdaService>;
|
|
295
|
+
createEventSourceMapping: (args: CreateEventSourceMappingCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateEventSourceMappingCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
296
|
+
createFunction: (args: CreateFunctionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateFunctionCommandOutput, CodeSigningConfigNotFoundError | CodeStorageExceededError | CodeVerificationFailedError | InvalidCodeSignatureError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
297
|
+
createFunctionUrlConfig: (args: CreateFunctionUrlConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateFunctionUrlConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
298
|
+
deleteAlias: (args: DeleteAliasCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteAliasCommandOutput, InvalidParameterValueError | ResourceConflictError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
299
|
+
deleteCodeSigningConfig: (args: DeleteCodeSigningConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteCodeSigningConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | SdkError, LambdaService>;
|
|
300
|
+
deleteEventSourceMapping: (args: DeleteEventSourceMappingCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteEventSourceMappingCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceInUseError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
301
|
+
deleteFunction: (args: DeleteFunctionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteFunctionCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
302
|
+
deleteFunctionCodeSigningConfig: (args: DeleteFunctionCodeSigningConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteFunctionCodeSigningConfigCommandOutput, CodeSigningConfigNotFoundError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
303
|
+
deleteFunctionConcurrency: (args: DeleteFunctionConcurrencyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteFunctionConcurrencyCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
304
|
+
deleteFunctionEventInvokeConfig: (args: DeleteFunctionEventInvokeConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteFunctionEventInvokeConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
305
|
+
deleteFunctionUrlConfig: (args: DeleteFunctionUrlConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteFunctionUrlConfigCommandOutput, ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
306
|
+
deleteLayerVersion: (args: DeleteLayerVersionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteLayerVersionCommandOutput, ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
307
|
+
deleteProvisionedConcurrencyConfig: (args: DeleteProvisionedConcurrencyConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteProvisionedConcurrencyConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
308
|
+
getAccountSettings: (args: GetAccountSettingsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetAccountSettingsCommandOutput, ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
309
|
+
getAlias: (args: GetAliasCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetAliasCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
310
|
+
getCodeSigningConfig: (args: GetCodeSigningConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetCodeSigningConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | SdkError, LambdaService>;
|
|
311
|
+
getEventSourceMapping: (args: GetEventSourceMappingCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetEventSourceMappingCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
312
|
+
getFunction: (args: GetFunctionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
313
|
+
getFunctionCodeSigningConfig: (args: GetFunctionCodeSigningConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionCodeSigningConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
314
|
+
getFunctionConcurrency: (args: GetFunctionConcurrencyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionConcurrencyCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
315
|
+
getFunctionConfiguration: (args: GetFunctionConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionConfigurationCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
316
|
+
getFunctionEventInvokeConfig: (args: GetFunctionEventInvokeConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionEventInvokeConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
317
|
+
getFunctionRecursionConfig: (args: GetFunctionRecursionConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionRecursionConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
318
|
+
getFunctionUrlConfig: (args: GetFunctionUrlConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetFunctionUrlConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
319
|
+
getLayerVersion: (args: GetLayerVersionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetLayerVersionCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
320
|
+
getLayerVersionByArn: (args: GetLayerVersionByArnCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetLayerVersionByArnCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
321
|
+
getLayerVersionPolicy: (args: GetLayerVersionPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetLayerVersionPolicyCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
322
|
+
getPolicy: (args: GetPolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetPolicyCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
323
|
+
getProvisionedConcurrencyConfig: (args: GetProvisionedConcurrencyConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetProvisionedConcurrencyConfigCommandOutput, InvalidParameterValueError | ProvisionedConcurrencyConfigNotFoundError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
324
|
+
getRuntimeManagementConfig: (args: GetRuntimeManagementConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetRuntimeManagementConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
325
|
+
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>;
|
|
326
|
+
invokeAsync: (args: InvokeAsyncCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<InvokeAsyncCommandOutput, InvalidRequestContentError | InvalidRuntimeError | ResourceConflictError | ResourceNotFoundError | ServiceError | SdkError, LambdaService>;
|
|
327
|
+
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>;
|
|
328
|
+
listAliases: (args: ListAliasesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListAliasesCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
329
|
+
listCodeSigningConfigs: (args: ListCodeSigningConfigsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListCodeSigningConfigsCommandOutput, InvalidParameterValueError | ServiceError | SdkError, LambdaService>;
|
|
330
|
+
listEventSourceMappings: (args: ListEventSourceMappingsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListEventSourceMappingsCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
331
|
+
listFunctionEventInvokeConfigs: (args: ListFunctionEventInvokeConfigsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListFunctionEventInvokeConfigsCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
332
|
+
listFunctionUrlConfigs: (args: ListFunctionUrlConfigsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListFunctionUrlConfigsCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
333
|
+
listFunctions: (args: ListFunctionsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListFunctionsCommandOutput, InvalidParameterValueError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
334
|
+
listFunctionsByCodeSigningConfig: (args: ListFunctionsByCodeSigningConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListFunctionsByCodeSigningConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | SdkError, LambdaService>;
|
|
335
|
+
listLayerVersions: (args: ListLayerVersionsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListLayerVersionsCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
336
|
+
listLayers: (args: ListLayersCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListLayersCommandOutput, InvalidParameterValueError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
337
|
+
listProvisionedConcurrencyConfigs: (args: ListProvisionedConcurrencyConfigsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListProvisionedConcurrencyConfigsCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
338
|
+
listTags: (args: ListTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListTagsCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
339
|
+
listVersionsByFunction: (args: ListVersionsByFunctionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListVersionsByFunctionCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
340
|
+
publishLayerVersion: (args: PublishLayerVersionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PublishLayerVersionCommandOutput, CodeStorageExceededError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
341
|
+
publishVersion: (args: PublishVersionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PublishVersionCommandOutput, CodeStorageExceededError | InvalidParameterValueError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
342
|
+
putFunctionCodeSigningConfig: (args: PutFunctionCodeSigningConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutFunctionCodeSigningConfigCommandOutput, CodeSigningConfigNotFoundError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
343
|
+
putFunctionConcurrency: (args: PutFunctionConcurrencyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutFunctionConcurrencyCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
344
|
+
putFunctionEventInvokeConfig: (args: PutFunctionEventInvokeConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutFunctionEventInvokeConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
345
|
+
putFunctionRecursionConfig: (args: PutFunctionRecursionConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutFunctionRecursionConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
346
|
+
putProvisionedConcurrencyConfig: (args: PutProvisionedConcurrencyConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutProvisionedConcurrencyConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
347
|
+
putRuntimeManagementConfig: (args: PutRuntimeManagementConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutRuntimeManagementConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
348
|
+
removeLayerVersionPermission: (args: RemoveLayerVersionPermissionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<RemoveLayerVersionPermissionCommandOutput, InvalidParameterValueError | PreconditionFailedError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
349
|
+
removePermission: (args: RemovePermissionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<RemovePermissionCommandOutput, InvalidParameterValueError | PreconditionFailedError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
350
|
+
tagResource: (args: TagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TagResourceCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
351
|
+
untagResource: (args: UntagResourceCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UntagResourceCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
352
|
+
updateAlias: (args: UpdateAliasCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateAliasCommandOutput, InvalidParameterValueError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
353
|
+
updateCodeSigningConfig: (args: UpdateCodeSigningConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateCodeSigningConfigCommandOutput, InvalidParameterValueError | ResourceNotFoundError | ServiceError | SdkError, LambdaService>;
|
|
354
|
+
updateEventSourceMapping: (args: UpdateEventSourceMappingCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateEventSourceMappingCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceInUseError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
355
|
+
updateFunctionCode: (args: UpdateFunctionCodeCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateFunctionCodeCommandOutput, CodeSigningConfigNotFoundError | CodeStorageExceededError | CodeVerificationFailedError | InvalidCodeSignatureError | InvalidParameterValueError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
356
|
+
updateFunctionConfiguration: (args: UpdateFunctionConfigurationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateFunctionConfigurationCommandOutput, CodeSigningConfigNotFoundError | CodeVerificationFailedError | InvalidCodeSignatureError | InvalidParameterValueError | PreconditionFailedError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
357
|
+
updateFunctionEventInvokeConfig: (args: UpdateFunctionEventInvokeConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateFunctionEventInvokeConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
358
|
+
updateFunctionUrlConfig: (args: UpdateFunctionUrlConfigCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateFunctionUrlConfigCommandOutput, InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError | SdkError, LambdaService>;
|
|
359
|
+
} & {
|
|
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>;
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* @since 1.0.0
|
|
364
|
+
* @category models
|
|
365
|
+
*/
|
|
366
|
+
export declare class LambdaService extends LambdaService_base {
|
|
367
|
+
static readonly defaultLayer: Layer.Layer<LambdaService, never, never>;
|
|
368
|
+
static readonly layer: (config: LambdaService.Config) => Layer.Layer<LambdaService, never, never>;
|
|
369
|
+
static readonly baseLayer: (evaluate: (defaultConfig: LambdaClientConfig) => LambdaClient) => Layer.Layer<LambdaService, never, never>;
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* @since 1.0.0
|
|
373
|
+
*/
|
|
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
|
+
}
|
|
382
|
+
export {};
|
|
383
|
+
//# sourceMappingURL=LambdaService.d.ts.map
|