@effect-aws/client-lambda 0.3.0 → 1.0.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 +12 -0
- package/LICENSE +1 -1
- package/lib/LambdaClientInstance.d.ts +32 -0
- package/lib/LambdaClientInstance.js +52 -0
- package/lib/LambdaClientInstanceConfig.d.ts +26 -0
- package/lib/LambdaClientInstanceConfig.js +58 -0
- package/lib/{Lambda.d.ts → LambdaService.d.ts} +109 -69
- package/lib/LambdaService.js +122 -0
- package/lib/esm/LambdaClientInstance.js +26 -0
- package/lib/esm/LambdaClientInstanceConfig.js +32 -0
- package/lib/esm/LambdaService.js +119 -0
- package/lib/esm/index.js +4 -3
- package/lib/index.d.ts +3 -2
- package/lib/index.js +4 -3
- package/package.json +3 -3
- package/lib/Context.d.ts +0 -15
- package/lib/Context.js +0 -49
- package/lib/Lambda.js +0 -110
- package/lib/esm/Context.js +0 -22
- package/lib/esm/Lambda.js +0 -84
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @effect-aws/client-lambda
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`3e5d0b3`](https://github.com/floydspace/effect-aws/commit/3e5d0b3b3882e0aa6d07bc06432990551316ac30) Thanks [@floydspace](https://github.com/floydspace)! - Upgrade to effect v2 and release stable version
|
|
8
|
+
|
|
9
|
+
## 0.4.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`744df3c`](https://github.com/floydspace/effect-aws/commit/744df3ca6406b3a35e3066d5fe11ca7082c4c454) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect dependency
|
|
14
|
+
|
|
3
15
|
## 0.3.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/LICENSE
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { LambdaClient } from "@aws-sdk/client-lambda";
|
|
2
|
+
import * as Context from "effect/Context";
|
|
3
|
+
import * as Effect from "effect/Effect";
|
|
4
|
+
import * as Layer from "effect/Layer";
|
|
5
|
+
import { LambdaClientInstanceConfig } from "./LambdaClientInstanceConfig";
|
|
6
|
+
/**
|
|
7
|
+
* @since 1.0.0
|
|
8
|
+
* @category tags
|
|
9
|
+
*/
|
|
10
|
+
export interface LambdaClientInstance {
|
|
11
|
+
readonly _: unique symbol;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
* @category tags
|
|
16
|
+
*/
|
|
17
|
+
export declare const LambdaClientInstance: Context.Tag<LambdaClientInstance, LambdaClient>;
|
|
18
|
+
/**
|
|
19
|
+
* @since 1.0.0
|
|
20
|
+
* @category constructors
|
|
21
|
+
*/
|
|
22
|
+
export declare const makeLambdaClientInstance: Effect.Effect<LambdaClientInstanceConfig, never, LambdaClient>;
|
|
23
|
+
/**
|
|
24
|
+
* @since 1.0.0
|
|
25
|
+
* @category layers
|
|
26
|
+
*/
|
|
27
|
+
export declare const LambdaClientInstanceLayer: Layer.Layer<LambdaClientInstanceConfig, never, LambdaClientInstance>;
|
|
28
|
+
/**
|
|
29
|
+
* @since 1.0.0
|
|
30
|
+
* @category layers
|
|
31
|
+
*/
|
|
32
|
+
export declare const DefaultLambdaClientInstanceLayer: Layer.Layer<never, never, LambdaClientInstance>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.DefaultLambdaClientInstanceLayer = exports.LambdaClientInstanceLayer = exports.makeLambdaClientInstance = exports.LambdaClientInstance = void 0;
|
|
27
|
+
const client_lambda_1 = require("@aws-sdk/client-lambda");
|
|
28
|
+
const Context = __importStar(require("effect/Context"));
|
|
29
|
+
const Effect = __importStar(require("effect/Effect"));
|
|
30
|
+
const Layer = __importStar(require("effect/Layer"));
|
|
31
|
+
const LambdaClientInstanceConfig_1 = require("./LambdaClientInstanceConfig");
|
|
32
|
+
/**
|
|
33
|
+
* @since 1.0.0
|
|
34
|
+
* @category tags
|
|
35
|
+
*/
|
|
36
|
+
exports.LambdaClientInstance = Context.Tag(Symbol.for("@effect-aws/client-lambda/LambdaClientInstance"));
|
|
37
|
+
/**
|
|
38
|
+
* @since 1.0.0
|
|
39
|
+
* @category constructors
|
|
40
|
+
*/
|
|
41
|
+
exports.makeLambdaClientInstance = Effect.map(LambdaClientInstanceConfig_1.LambdaClientInstanceConfig, (config) => new client_lambda_1.LambdaClient(config));
|
|
42
|
+
/**
|
|
43
|
+
* @since 1.0.0
|
|
44
|
+
* @category layers
|
|
45
|
+
*/
|
|
46
|
+
exports.LambdaClientInstanceLayer = Layer.effect(exports.LambdaClientInstance, exports.makeLambdaClientInstance);
|
|
47
|
+
/**
|
|
48
|
+
* @since 1.0.0
|
|
49
|
+
* @category layers
|
|
50
|
+
*/
|
|
51
|
+
exports.DefaultLambdaClientInstanceLayer = exports.LambdaClientInstanceLayer.pipe(Layer.provide(LambdaClientInstanceConfig_1.DefaultLambdaClientConfigLayer));
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGFtYmRhQ2xpZW50SW5zdGFuY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvTGFtYmRhQ2xpZW50SW5zdGFuY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSwwREFBc0Q7QUFDdEQsd0RBQTBDO0FBQzFDLHNEQUF3QztBQUN4QyxvREFBc0M7QUFDdEMsNkVBR3NDO0FBVXRDOzs7R0FHRztBQUNVLFFBQUEsb0JBQW9CLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FHN0MsTUFBTSxDQUFDLEdBQUcsQ0FBQyxnREFBZ0QsQ0FBQyxDQUFDLENBQUM7QUFFaEU7OztHQUdHO0FBQ1UsUUFBQSx3QkFBd0IsR0FBRyxNQUFNLENBQUMsR0FBRyxDQUNoRCx1REFBMEIsRUFDMUIsQ0FBQyxNQUFNLEVBQUUsRUFBRSxDQUFDLElBQUksNEJBQVksQ0FBQyxNQUFNLENBQUMsQ0FDckMsQ0FBQztBQUVGOzs7R0FHRztBQUNVLFFBQUEseUJBQXlCLEdBQUcsS0FBSyxDQUFDLE1BQU0sQ0FDbkQsNEJBQW9CLEVBQ3BCLGdDQUF3QixDQUN6QixDQUFDO0FBRUY7OztHQUdHO0FBQ1UsUUFBQSxnQ0FBZ0MsR0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FtYmRhQ2xpZW50SW5zdGFuY2UgPSBFZmZlY3QubWFwKFxuICBMYW1iZGFDbGllbnRJbnN0YW5jZUNvbmZpZyxcbiAgKGNvbmZpZykgPT4gbmV3IExhbWJkYUNsaWVudChjb25maWcpLFxuKTtcblxuLyoqXG4gKiBAc2luY2UgMS4wLjBcbiAqIEBjYXRlZ29yeSBsYXllcnNcbiAqL1xuZXhwb3J0IGNvbnN0IExhbWJkYUNsaWVudEluc3RhbmNlTGF5ZXIgPSBMYXllci5lZmZlY3QoXG4gIExhbWJkYUNsaWVudEluc3RhbmNlLFxuICBtYWtlTGFtYmRhQ2xpZW50SW5zdGFuY2UsXG4pO1xuXG4vKipcbiAqIEBzaW5jZSAxLjAuMFxuICogQGNhdGVnb3J5IGxheWVyc1xuICovXG5leHBvcnQgY29uc3QgRGVmYXVsdExhbWJkYUNsaWVudEluc3RhbmNlTGF5ZXIgPSBMYW1iZGFDbGllbnRJbnN0YW5jZUxheWVyLnBpcGUoXG4gIExheWVyLnByb3ZpZGUoRGVmYXVsdExhbWJkYUNsaWVudENvbmZpZ0xheWVyKSxcbik7XG4iXX0=
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
2
|
+
import * as Context from "effect/Context";
|
|
3
|
+
import * as Effect from "effect/Effect";
|
|
4
|
+
import * as Layer from "effect/Layer";
|
|
5
|
+
/**
|
|
6
|
+
* @since 1.0.0
|
|
7
|
+
* @category tags
|
|
8
|
+
*/
|
|
9
|
+
export interface LambdaClientInstanceConfig {
|
|
10
|
+
readonly _: unique symbol;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @since 1.0.0
|
|
14
|
+
* @category tags
|
|
15
|
+
*/
|
|
16
|
+
export declare const LambdaClientInstanceConfig: Context.Tag<LambdaClientInstanceConfig, LambdaClientConfig>;
|
|
17
|
+
/**
|
|
18
|
+
* @since 1.0.0
|
|
19
|
+
* @category constructors
|
|
20
|
+
*/
|
|
21
|
+
export declare const makeDefaultLambdaClientInstanceConfig: Effect.Effect<never, never, LambdaClientConfig>;
|
|
22
|
+
/**
|
|
23
|
+
* @since 1.0.0
|
|
24
|
+
* @category layers
|
|
25
|
+
*/
|
|
26
|
+
export declare const DefaultLambdaClientConfigLayer: Layer.Layer<never, never, LambdaClientInstanceConfig>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.DefaultLambdaClientConfigLayer = exports.makeDefaultLambdaClientInstanceConfig = exports.LambdaClientInstanceConfig = void 0;
|
|
27
|
+
const Context = __importStar(require("effect/Context"));
|
|
28
|
+
const Effect = __importStar(require("effect/Effect"));
|
|
29
|
+
const Layer = __importStar(require("effect/Layer"));
|
|
30
|
+
const Runtime = __importStar(require("effect/Runtime"));
|
|
31
|
+
/**
|
|
32
|
+
* @since 1.0.0
|
|
33
|
+
* @category tags
|
|
34
|
+
*/
|
|
35
|
+
exports.LambdaClientInstanceConfig = Context.Tag(Symbol.for("@effect-aws/client-lambda/LambdaClientInstanceConfig"));
|
|
36
|
+
/**
|
|
37
|
+
* @since 1.0.0
|
|
38
|
+
* @category constructors
|
|
39
|
+
*/
|
|
40
|
+
exports.makeDefaultLambdaClientInstanceConfig = Effect.gen(function* (_) {
|
|
41
|
+
const runtime = yield* _(Effect.runtime());
|
|
42
|
+
const runSync = Runtime.runSync(runtime);
|
|
43
|
+
return {
|
|
44
|
+
logger: {
|
|
45
|
+
info: (m) => Effect.logInfo(m).pipe(runSync),
|
|
46
|
+
warn: (m) => Effect.logWarning(m).pipe(runSync),
|
|
47
|
+
error: (m) => Effect.logError(m).pipe(runSync),
|
|
48
|
+
debug: (m) => Effect.logDebug(m).pipe(runSync),
|
|
49
|
+
trace: (m) => Effect.logTrace(m).pipe(runSync),
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
/**
|
|
54
|
+
* @since 1.0.0
|
|
55
|
+
* @category layers
|
|
56
|
+
*/
|
|
57
|
+
exports.DefaultLambdaClientConfigLayer = Layer.effect(exports.LambdaClientInstanceConfig, exports.makeDefaultLambdaClientInstanceConfig);
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGFtYmRhQ2xpZW50SW5zdGFuY2VDb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvTGFtYmRhQ2xpZW50SW5zdGFuY2VDb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7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nN0YW5jZUNvbmZpZyxcbik7XG4iXX0=
|
|
@@ -1,272 +1,312 @@
|
|
|
1
1
|
import { AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput, AddPermissionCommandInput, AddPermissionCommandOutput, CreateAliasCommandInput, CreateAliasCommandOutput, CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput, CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput, CreateFunctionCommandInput, CreateFunctionCommandOutput, CreateFunctionUrlConfigCommandInput, CreateFunctionUrlConfigCommandOutput, DeleteAliasCommandInput, DeleteAliasCommandOutput, DeleteCodeSigningConfigCommandInput, DeleteCodeSigningConfigCommandOutput, DeleteEventSourceMappingCommandInput, DeleteEventSourceMappingCommandOutput, DeleteFunctionCodeSigningConfigCommandInput, DeleteFunctionCodeSigningConfigCommandOutput, DeleteFunctionCommandInput, DeleteFunctionCommandOutput, DeleteFunctionConcurrencyCommandInput, DeleteFunctionConcurrencyCommandOutput, DeleteFunctionEventInvokeConfigCommandInput, DeleteFunctionEventInvokeConfigCommandOutput, DeleteFunctionUrlConfigCommandInput, DeleteFunctionUrlConfigCommandOutput, DeleteLayerVersionCommandInput, DeleteLayerVersionCommandOutput, DeleteProvisionedConcurrencyConfigCommandInput, DeleteProvisionedConcurrencyConfigCommandOutput, GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, GetAliasCommandInput, GetAliasCommandOutput, GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput, GetEventSourceMappingCommandInput, GetEventSourceMappingCommandOutput, GetFunctionCodeSigningConfigCommandInput, GetFunctionCodeSigningConfigCommandOutput, GetFunctionCommandInput, GetFunctionCommandOutput, GetFunctionConcurrencyCommandInput, GetFunctionConcurrencyCommandOutput, GetFunctionConfigurationCommandInput, GetFunctionConfigurationCommandOutput, GetFunctionEventInvokeConfigCommandInput, GetFunctionEventInvokeConfigCommandOutput, GetFunctionUrlConfigCommandInput, GetFunctionUrlConfigCommandOutput, GetLayerVersionByArnCommandInput, GetLayerVersionByArnCommandOutput, GetLayerVersionCommandInput, GetLayerVersionCommandOutput, GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput, GetPolicyCommandInput, GetPolicyCommandOutput, GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput, GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput, InvokeAsyncCommandInput, InvokeAsyncCommandOutput, InvokeCommandInput, InvokeCommandOutput, InvokeWithResponseStreamCommandInput, InvokeWithResponseStreamCommandOutput, ListAliasesCommandInput, ListAliasesCommandOutput, ListCodeSigningConfigsCommandInput, ListCodeSigningConfigsCommandOutput, ListEventSourceMappingsCommandInput, ListEventSourceMappingsCommandOutput, ListFunctionEventInvokeConfigsCommandInput, ListFunctionEventInvokeConfigsCommandOutput, ListFunctionUrlConfigsCommandInput, ListFunctionUrlConfigsCommandOutput, ListFunctionsByCodeSigningConfigCommandInput, ListFunctionsByCodeSigningConfigCommandOutput, ListFunctionsCommandInput, ListFunctionsCommandOutput, ListLayerVersionsCommandInput, ListLayerVersionsCommandOutput, ListLayersCommandInput, ListLayersCommandOutput, ListProvisionedConcurrencyConfigsCommandInput, ListProvisionedConcurrencyConfigsCommandOutput, ListTagsCommandInput, ListTagsCommandOutput, ListVersionsByFunctionCommandInput, ListVersionsByFunctionCommandOutput, PublishLayerVersionCommandInput, PublishLayerVersionCommandOutput, PublishVersionCommandInput, PublishVersionCommandOutput, PutFunctionCodeSigningConfigCommandInput, PutFunctionCodeSigningConfigCommandOutput, PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput, PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput, PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput, PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput, RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput, RemovePermissionCommandInput, RemovePermissionCommandOutput, TagResourceCommandInput, TagResourceCommandOutput, UntagResourceCommandInput, UntagResourceCommandOutput, UpdateAliasCommandInput, UpdateAliasCommandOutput, UpdateCodeSigningConfigCommandInput, UpdateCodeSigningConfigCommandOutput, UpdateEventSourceMappingCommandInput, UpdateEventSourceMappingCommandOutput, UpdateFunctionCodeCommandInput, UpdateFunctionCodeCommandOutput, UpdateFunctionConfigurationCommandInput, UpdateFunctionConfigurationCommandOutput, UpdateFunctionEventInvokeConfigCommandInput, UpdateFunctionEventInvokeConfigCommandOutput, UpdateFunctionUrlConfigCommandInput, UpdateFunctionUrlConfigCommandOutput } from "@aws-sdk/client-lambda";
|
|
2
2
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
3
|
-
import
|
|
3
|
+
import { Cause, Context, Effect, Layer } from "effect";
|
|
4
|
+
import { LambdaClientInstance } from "./LambdaClientInstance";
|
|
5
|
+
/**
|
|
6
|
+
* @since 1.0.0
|
|
7
|
+
* @category models
|
|
8
|
+
*/
|
|
4
9
|
export interface LambdaService {
|
|
10
|
+
readonly _: unique symbol;
|
|
5
11
|
/**
|
|
6
12
|
* @see {@link AddLayerVersionPermissionCommand}
|
|
7
13
|
*/
|
|
8
|
-
addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
14
|
+
addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, AddLayerVersionPermissionCommandOutput>;
|
|
9
15
|
/**
|
|
10
16
|
* @see {@link AddPermissionCommand}
|
|
11
17
|
*/
|
|
12
|
-
addPermission(args: AddPermissionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
18
|
+
addPermission(args: AddPermissionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, AddPermissionCommandOutput>;
|
|
13
19
|
/**
|
|
14
20
|
* @see {@link CreateAliasCommand}
|
|
15
21
|
*/
|
|
16
|
-
createAlias(args: CreateAliasCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
22
|
+
createAlias(args: CreateAliasCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, CreateAliasCommandOutput>;
|
|
17
23
|
/**
|
|
18
24
|
* @see {@link CreateCodeSigningConfigCommand}
|
|
19
25
|
*/
|
|
20
|
-
createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
26
|
+
createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, CreateCodeSigningConfigCommandOutput>;
|
|
21
27
|
/**
|
|
22
28
|
* @see {@link CreateEventSourceMappingCommand}
|
|
23
29
|
*/
|
|
24
|
-
createEventSourceMapping(args: CreateEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
30
|
+
createEventSourceMapping(args: CreateEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, CreateEventSourceMappingCommandOutput>;
|
|
25
31
|
/**
|
|
26
32
|
* @see {@link CreateFunctionCommand}
|
|
27
33
|
*/
|
|
28
|
-
createFunction(args: CreateFunctionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
34
|
+
createFunction(args: CreateFunctionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, CreateFunctionCommandOutput>;
|
|
29
35
|
/**
|
|
30
36
|
* @see {@link CreateFunctionUrlConfigCommand}
|
|
31
37
|
*/
|
|
32
|
-
createFunctionUrlConfig(args: CreateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
38
|
+
createFunctionUrlConfig(args: CreateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, CreateFunctionUrlConfigCommandOutput>;
|
|
33
39
|
/**
|
|
34
40
|
* @see {@link DeleteAliasCommand}
|
|
35
41
|
*/
|
|
36
|
-
deleteAlias(args: DeleteAliasCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
42
|
+
deleteAlias(args: DeleteAliasCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, DeleteAliasCommandOutput>;
|
|
37
43
|
/**
|
|
38
44
|
* @see {@link DeleteCodeSigningConfigCommand}
|
|
39
45
|
*/
|
|
40
|
-
deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
46
|
+
deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, DeleteCodeSigningConfigCommandOutput>;
|
|
41
47
|
/**
|
|
42
48
|
* @see {@link DeleteEventSourceMappingCommand}
|
|
43
49
|
*/
|
|
44
|
-
deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
50
|
+
deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, DeleteEventSourceMappingCommandOutput>;
|
|
45
51
|
/**
|
|
46
52
|
* @see {@link DeleteFunctionCommand}
|
|
47
53
|
*/
|
|
48
|
-
deleteFunction(args: DeleteFunctionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
54
|
+
deleteFunction(args: DeleteFunctionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, DeleteFunctionCommandOutput>;
|
|
49
55
|
/**
|
|
50
56
|
* @see {@link DeleteFunctionCodeSigningConfigCommand}
|
|
51
57
|
*/
|
|
52
|
-
deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
58
|
+
deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, DeleteFunctionCodeSigningConfigCommandOutput>;
|
|
53
59
|
/**
|
|
54
60
|
* @see {@link DeleteFunctionConcurrencyCommand}
|
|
55
61
|
*/
|
|
56
|
-
deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
62
|
+
deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, DeleteFunctionConcurrencyCommandOutput>;
|
|
57
63
|
/**
|
|
58
64
|
* @see {@link DeleteFunctionEventInvokeConfigCommand}
|
|
59
65
|
*/
|
|
60
|
-
deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
66
|
+
deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, DeleteFunctionEventInvokeConfigCommandOutput>;
|
|
61
67
|
/**
|
|
62
68
|
* @see {@link DeleteFunctionUrlConfigCommand}
|
|
63
69
|
*/
|
|
64
|
-
deleteFunctionUrlConfig(args: DeleteFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
70
|
+
deleteFunctionUrlConfig(args: DeleteFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, DeleteFunctionUrlConfigCommandOutput>;
|
|
65
71
|
/**
|
|
66
72
|
* @see {@link DeleteLayerVersionCommand}
|
|
67
73
|
*/
|
|
68
|
-
deleteLayerVersion(args: DeleteLayerVersionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
74
|
+
deleteLayerVersion(args: DeleteLayerVersionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, DeleteLayerVersionCommandOutput>;
|
|
69
75
|
/**
|
|
70
76
|
* @see {@link DeleteProvisionedConcurrencyConfigCommand}
|
|
71
77
|
*/
|
|
72
|
-
deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
78
|
+
deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, DeleteProvisionedConcurrencyConfigCommandOutput>;
|
|
73
79
|
/**
|
|
74
80
|
* @see {@link GetAccountSettingsCommand}
|
|
75
81
|
*/
|
|
76
|
-
getAccountSettings(args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
82
|
+
getAccountSettings(args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetAccountSettingsCommandOutput>;
|
|
77
83
|
/**
|
|
78
84
|
* @see {@link GetAliasCommand}
|
|
79
85
|
*/
|
|
80
|
-
getAlias(args: GetAliasCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
86
|
+
getAlias(args: GetAliasCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetAliasCommandOutput>;
|
|
81
87
|
/**
|
|
82
88
|
* @see {@link GetCodeSigningConfigCommand}
|
|
83
89
|
*/
|
|
84
|
-
getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
90
|
+
getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetCodeSigningConfigCommandOutput>;
|
|
85
91
|
/**
|
|
86
92
|
* @see {@link GetEventSourceMappingCommand}
|
|
87
93
|
*/
|
|
88
|
-
getEventSourceMapping(args: GetEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
94
|
+
getEventSourceMapping(args: GetEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetEventSourceMappingCommandOutput>;
|
|
89
95
|
/**
|
|
90
96
|
* @see {@link GetFunctionCommand}
|
|
91
97
|
*/
|
|
92
|
-
getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
98
|
+
getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetFunctionCommandOutput>;
|
|
93
99
|
/**
|
|
94
100
|
* @see {@link GetFunctionCodeSigningConfigCommand}
|
|
95
101
|
*/
|
|
96
|
-
getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
102
|
+
getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetFunctionCodeSigningConfigCommandOutput>;
|
|
97
103
|
/**
|
|
98
104
|
* @see {@link GetFunctionConcurrencyCommand}
|
|
99
105
|
*/
|
|
100
|
-
getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
106
|
+
getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetFunctionConcurrencyCommandOutput>;
|
|
101
107
|
/**
|
|
102
108
|
* @see {@link GetFunctionConfigurationCommand}
|
|
103
109
|
*/
|
|
104
|
-
getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
110
|
+
getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetFunctionConfigurationCommandOutput>;
|
|
105
111
|
/**
|
|
106
112
|
* @see {@link GetFunctionEventInvokeConfigCommand}
|
|
107
113
|
*/
|
|
108
|
-
getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
114
|
+
getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetFunctionEventInvokeConfigCommandOutput>;
|
|
109
115
|
/**
|
|
110
116
|
* @see {@link GetFunctionUrlConfigCommand}
|
|
111
117
|
*/
|
|
112
|
-
getFunctionUrlConfig(args: GetFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
118
|
+
getFunctionUrlConfig(args: GetFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetFunctionUrlConfigCommandOutput>;
|
|
113
119
|
/**
|
|
114
120
|
* @see {@link GetLayerVersionCommand}
|
|
115
121
|
*/
|
|
116
|
-
getLayerVersion(args: GetLayerVersionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
122
|
+
getLayerVersion(args: GetLayerVersionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetLayerVersionCommandOutput>;
|
|
117
123
|
/**
|
|
118
124
|
* @see {@link GetLayerVersionByArnCommand}
|
|
119
125
|
*/
|
|
120
|
-
getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
126
|
+
getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetLayerVersionByArnCommandOutput>;
|
|
121
127
|
/**
|
|
122
128
|
* @see {@link GetLayerVersionPolicyCommand}
|
|
123
129
|
*/
|
|
124
|
-
getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
130
|
+
getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetLayerVersionPolicyCommandOutput>;
|
|
125
131
|
/**
|
|
126
132
|
* @see {@link GetPolicyCommand}
|
|
127
133
|
*/
|
|
128
|
-
getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
134
|
+
getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetPolicyCommandOutput>;
|
|
129
135
|
/**
|
|
130
136
|
* @see {@link GetProvisionedConcurrencyConfigCommand}
|
|
131
137
|
*/
|
|
132
|
-
getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
138
|
+
getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetProvisionedConcurrencyConfigCommandOutput>;
|
|
133
139
|
/**
|
|
134
140
|
* @see {@link GetRuntimeManagementConfigCommand}
|
|
135
141
|
*/
|
|
136
|
-
getRuntimeManagementConfig(args: GetRuntimeManagementConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
142
|
+
getRuntimeManagementConfig(args: GetRuntimeManagementConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, GetRuntimeManagementConfigCommandOutput>;
|
|
137
143
|
/**
|
|
138
144
|
* @see {@link InvokeCommand}
|
|
139
145
|
*/
|
|
140
|
-
invoke(args: InvokeCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
146
|
+
invoke(args: InvokeCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, InvokeCommandOutput>;
|
|
141
147
|
/**
|
|
142
148
|
* @see {@link InvokeAsyncCommand}
|
|
143
149
|
*/
|
|
144
|
-
invokeAsync(args: InvokeAsyncCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
150
|
+
invokeAsync(args: InvokeAsyncCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, InvokeAsyncCommandOutput>;
|
|
145
151
|
/**
|
|
146
152
|
* @see {@link InvokeWithResponseStreamCommand}
|
|
147
153
|
*/
|
|
148
|
-
invokeWithResponseStream(args: InvokeWithResponseStreamCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
154
|
+
invokeWithResponseStream(args: InvokeWithResponseStreamCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, InvokeWithResponseStreamCommandOutput>;
|
|
149
155
|
/**
|
|
150
156
|
* @see {@link ListAliasesCommand}
|
|
151
157
|
*/
|
|
152
|
-
listAliases(args: ListAliasesCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
158
|
+
listAliases(args: ListAliasesCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, ListAliasesCommandOutput>;
|
|
153
159
|
/**
|
|
154
160
|
* @see {@link ListCodeSigningConfigsCommand}
|
|
155
161
|
*/
|
|
156
|
-
listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
162
|
+
listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, ListCodeSigningConfigsCommandOutput>;
|
|
157
163
|
/**
|
|
158
164
|
* @see {@link ListEventSourceMappingsCommand}
|
|
159
165
|
*/
|
|
160
|
-
listEventSourceMappings(args: ListEventSourceMappingsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
166
|
+
listEventSourceMappings(args: ListEventSourceMappingsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, ListEventSourceMappingsCommandOutput>;
|
|
161
167
|
/**
|
|
162
168
|
* @see {@link ListFunctionEventInvokeConfigsCommand}
|
|
163
169
|
*/
|
|
164
|
-
listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
170
|
+
listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, ListFunctionEventInvokeConfigsCommandOutput>;
|
|
165
171
|
/**
|
|
166
172
|
* @see {@link ListFunctionsCommand}
|
|
167
173
|
*/
|
|
168
|
-
listFunctions(args: ListFunctionsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
174
|
+
listFunctions(args: ListFunctionsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, ListFunctionsCommandOutput>;
|
|
169
175
|
/**
|
|
170
176
|
* @see {@link ListFunctionsByCodeSigningConfigCommand}
|
|
171
177
|
*/
|
|
172
|
-
listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
178
|
+
listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, ListFunctionsByCodeSigningConfigCommandOutput>;
|
|
173
179
|
/**
|
|
174
180
|
* @see {@link ListFunctionUrlConfigsCommand}
|
|
175
181
|
*/
|
|
176
|
-
listFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
182
|
+
listFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, ListFunctionUrlConfigsCommandOutput>;
|
|
177
183
|
/**
|
|
178
184
|
* @see {@link ListLayersCommand}
|
|
179
185
|
*/
|
|
180
|
-
listLayers(args: ListLayersCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
186
|
+
listLayers(args: ListLayersCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, ListLayersCommandOutput>;
|
|
181
187
|
/**
|
|
182
188
|
* @see {@link ListLayerVersionsCommand}
|
|
183
189
|
*/
|
|
184
|
-
listLayerVersions(args: ListLayerVersionsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
190
|
+
listLayerVersions(args: ListLayerVersionsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, ListLayerVersionsCommandOutput>;
|
|
185
191
|
/**
|
|
186
192
|
* @see {@link ListProvisionedConcurrencyConfigsCommand}
|
|
187
193
|
*/
|
|
188
|
-
listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
194
|
+
listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, ListProvisionedConcurrencyConfigsCommandOutput>;
|
|
189
195
|
/**
|
|
190
196
|
* @see {@link ListTagsCommand}
|
|
191
197
|
*/
|
|
192
|
-
listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
198
|
+
listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, ListTagsCommandOutput>;
|
|
193
199
|
/**
|
|
194
200
|
* @see {@link ListVersionsByFunctionCommand}
|
|
195
201
|
*/
|
|
196
|
-
listVersionsByFunction(args: ListVersionsByFunctionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
202
|
+
listVersionsByFunction(args: ListVersionsByFunctionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, ListVersionsByFunctionCommandOutput>;
|
|
197
203
|
/**
|
|
198
204
|
* @see {@link PublishLayerVersionCommand}
|
|
199
205
|
*/
|
|
200
|
-
publishLayerVersion(args: PublishLayerVersionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
206
|
+
publishLayerVersion(args: PublishLayerVersionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, PublishLayerVersionCommandOutput>;
|
|
201
207
|
/**
|
|
202
208
|
* @see {@link PublishVersionCommand}
|
|
203
209
|
*/
|
|
204
|
-
publishVersion(args: PublishVersionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
210
|
+
publishVersion(args: PublishVersionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, PublishVersionCommandOutput>;
|
|
205
211
|
/**
|
|
206
212
|
* @see {@link PutFunctionCodeSigningConfigCommand}
|
|
207
213
|
*/
|
|
208
|
-
putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
214
|
+
putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, PutFunctionCodeSigningConfigCommandOutput>;
|
|
209
215
|
/**
|
|
210
216
|
* @see {@link PutFunctionConcurrencyCommand}
|
|
211
217
|
*/
|
|
212
|
-
putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
218
|
+
putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, PutFunctionConcurrencyCommandOutput>;
|
|
213
219
|
/**
|
|
214
220
|
* @see {@link PutFunctionEventInvokeConfigCommand}
|
|
215
221
|
*/
|
|
216
|
-
putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
222
|
+
putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, PutFunctionEventInvokeConfigCommandOutput>;
|
|
217
223
|
/**
|
|
218
224
|
* @see {@link PutProvisionedConcurrencyConfigCommand}
|
|
219
225
|
*/
|
|
220
|
-
putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
226
|
+
putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, PutProvisionedConcurrencyConfigCommandOutput>;
|
|
221
227
|
/**
|
|
222
228
|
* @see {@link PutRuntimeManagementConfigCommand}
|
|
223
229
|
*/
|
|
224
|
-
putRuntimeManagementConfig(args: PutRuntimeManagementConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
230
|
+
putRuntimeManagementConfig(args: PutRuntimeManagementConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, PutRuntimeManagementConfigCommandOutput>;
|
|
225
231
|
/**
|
|
226
232
|
* @see {@link RemoveLayerVersionPermissionCommand}
|
|
227
233
|
*/
|
|
228
|
-
removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
234
|
+
removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, RemoveLayerVersionPermissionCommandOutput>;
|
|
229
235
|
/**
|
|
230
236
|
* @see {@link RemovePermissionCommand}
|
|
231
237
|
*/
|
|
232
|
-
removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
238
|
+
removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, RemovePermissionCommandOutput>;
|
|
233
239
|
/**
|
|
234
240
|
* @see {@link TagResourceCommand}
|
|
235
241
|
*/
|
|
236
|
-
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
242
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, TagResourceCommandOutput>;
|
|
237
243
|
/**
|
|
238
244
|
* @see {@link UntagResourceCommand}
|
|
239
245
|
*/
|
|
240
|
-
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
246
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, UntagResourceCommandOutput>;
|
|
241
247
|
/**
|
|
242
248
|
* @see {@link UpdateAliasCommand}
|
|
243
249
|
*/
|
|
244
|
-
updateAlias(args: UpdateAliasCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
250
|
+
updateAlias(args: UpdateAliasCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, UpdateAliasCommandOutput>;
|
|
245
251
|
/**
|
|
246
252
|
* @see {@link UpdateCodeSigningConfigCommand}
|
|
247
253
|
*/
|
|
248
|
-
updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
254
|
+
updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, UpdateCodeSigningConfigCommandOutput>;
|
|
249
255
|
/**
|
|
250
256
|
* @see {@link UpdateEventSourceMappingCommand}
|
|
251
257
|
*/
|
|
252
|
-
updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
258
|
+
updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, UpdateEventSourceMappingCommandOutput>;
|
|
253
259
|
/**
|
|
254
260
|
* @see {@link UpdateFunctionCodeCommand}
|
|
255
261
|
*/
|
|
256
|
-
updateFunctionCode(args: UpdateFunctionCodeCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
262
|
+
updateFunctionCode(args: UpdateFunctionCodeCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, UpdateFunctionCodeCommandOutput>;
|
|
257
263
|
/**
|
|
258
264
|
* @see {@link UpdateFunctionConfigurationCommand}
|
|
259
265
|
*/
|
|
260
|
-
updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
266
|
+
updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, UpdateFunctionConfigurationCommandOutput>;
|
|
261
267
|
/**
|
|
262
268
|
* @see {@link UpdateFunctionEventInvokeConfigCommand}
|
|
263
269
|
*/
|
|
264
|
-
updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
270
|
+
updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, UpdateFunctionEventInvokeConfigCommandOutput>;
|
|
265
271
|
/**
|
|
266
272
|
* @see {@link UpdateFunctionUrlConfigCommand}
|
|
267
273
|
*/
|
|
268
|
-
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never,
|
|
274
|
+
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Effect.Effect<never, Cause.UnknownException, UpdateFunctionUrlConfigCommandOutput>;
|
|
269
275
|
}
|
|
270
|
-
|
|
271
|
-
|
|
276
|
+
/**
|
|
277
|
+
* @since 1.0.0
|
|
278
|
+
* @category tags
|
|
279
|
+
*/
|
|
280
|
+
export declare const LambdaService: Context.Tag<LambdaService, LambdaService>;
|
|
281
|
+
/**
|
|
282
|
+
* @since 1.0.0
|
|
283
|
+
* @category constructors
|
|
284
|
+
*/
|
|
285
|
+
export declare const makeLambdaService: Effect.Effect<LambdaClientInstance, never, LambdaService>;
|
|
286
|
+
/**
|
|
287
|
+
* @since 1.0.0
|
|
288
|
+
* @category layers
|
|
289
|
+
*/
|
|
290
|
+
export declare const BaseLambdaServiceLayer: Layer.Layer<LambdaClientInstance, never, LambdaService>;
|
|
291
|
+
/**
|
|
292
|
+
* @since 1.0.0
|
|
293
|
+
* @category layers
|
|
294
|
+
*/
|
|
295
|
+
export declare const LambdaServiceLayer: Layer.Layer<import("./LambdaClientInstanceConfig").LambdaClientInstanceConfig, never, LambdaService>;
|
|
296
|
+
/**
|
|
297
|
+
* @since 1.0.0
|
|
298
|
+
* @category layers
|
|
299
|
+
*/
|
|
300
|
+
export declare const DefaultLambdaServiceLayer: Layer.Layer<never, never, LambdaService>;
|
|
301
|
+
/**
|
|
302
|
+
* @deprecated
|
|
303
|
+
*/
|
|
304
|
+
export declare const BaseLambdaServiceEffect: Effect.Effect<LambdaClientInstance, never, LambdaService>;
|
|
305
|
+
/**
|
|
306
|
+
* @deprecated
|
|
307
|
+
*/
|
|
308
|
+
export declare const LambdaServiceEffect: Effect.Effect<import("./LambdaClientInstanceConfig").LambdaClientInstanceConfig, never, LambdaService>;
|
|
309
|
+
/**
|
|
310
|
+
* @deprecated
|
|
311
|
+
*/
|
|
272
312
|
export declare const DefaultLambdaServiceEffect: Effect.Effect<never, never, LambdaService>;
|