@effect-aws/client-elasticache 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 ADDED
@@ -0,0 +1,7 @@
1
+ # @effect-aws/client-elasticache
2
+
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#35](https://github.com/floydspace/effect-aws/pull/35) [`4633dac`](https://github.com/floydspace/effect-aws/commit/4633dac202b0c644c566f47ba221a22c1ea7a9dd) Thanks [@godu](https://github.com/godu)! - implement effectful elasticache client
package/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2024 Victor Korzunin
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # replace this
package/docgen.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "../../node_modules/@effect/docgen/schema.json",
3
+ "exclude": [
4
+ "src/index.ts",
5
+ "src/Errors.ts"
6
+ ],
7
+ "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
8
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { ElastiCacheClient } from "@aws-sdk/client-elasticache";
5
+ import * as Context from "effect/Context";
6
+ import * as Effect from "effect/Effect";
7
+ import * as Layer from "effect/Layer";
8
+ import { ElastiCacheClientInstanceConfig } from "./ElastiCacheClientInstanceConfig";
9
+ declare const ElastiCacheClientInstance_base: Context.TagClass<ElastiCacheClientInstance, "@effect-aws/client-elasticache/ElastiCacheClientInstance", ElastiCacheClient>;
10
+ /**
11
+ * @since 1.0.0
12
+ * @category tags
13
+ */
14
+ export declare class ElastiCacheClientInstance extends ElastiCacheClientInstance_base {
15
+ }
16
+ /**
17
+ * @since 1.0.0
18
+ * @category constructors
19
+ */
20
+ export declare const makeElastiCacheClientInstance: Effect.Effect<ElastiCacheClient, never, ElastiCacheClientInstanceConfig>;
21
+ /**
22
+ * @since 1.0.0
23
+ * @category layers
24
+ */
25
+ export declare const ElastiCacheClientInstanceLayer: Layer.Layer<ElastiCacheClientInstance, never, ElastiCacheClientInstanceConfig>;
26
+ /**
27
+ * @since 1.0.0
28
+ * @category layers
29
+ */
30
+ export declare const DefaultElastiCacheClientInstanceLayer: Layer.Layer<ElastiCacheClientInstance, never, never>;
31
+ export {};
@@ -0,0 +1,57 @@
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.DefaultElastiCacheClientInstanceLayer = exports.ElastiCacheClientInstanceLayer = exports.makeElastiCacheClientInstance = exports.ElastiCacheClientInstance = void 0;
27
+ /**
28
+ * @since 1.0.0
29
+ */
30
+ const client_elasticache_1 = require("@aws-sdk/client-elasticache");
31
+ const Context = __importStar(require("effect/Context"));
32
+ const Effect = __importStar(require("effect/Effect"));
33
+ const Layer = __importStar(require("effect/Layer"));
34
+ const ElastiCacheClientInstanceConfig_1 = require("./ElastiCacheClientInstanceConfig");
35
+ /**
36
+ * @since 1.0.0
37
+ * @category tags
38
+ */
39
+ class ElastiCacheClientInstance extends Context.Tag("@effect-aws/client-elasticache/ElastiCacheClientInstance")() {
40
+ }
41
+ exports.ElastiCacheClientInstance = ElastiCacheClientInstance;
42
+ /**
43
+ * @since 1.0.0
44
+ * @category constructors
45
+ */
46
+ exports.makeElastiCacheClientInstance = Effect.map(ElastiCacheClientInstanceConfig_1.ElastiCacheClientInstanceConfig, (config) => new client_elasticache_1.ElastiCacheClient(config));
47
+ /**
48
+ * @since 1.0.0
49
+ * @category layers
50
+ */
51
+ exports.ElastiCacheClientInstanceLayer = Layer.effect(ElastiCacheClientInstance, exports.makeElastiCacheClientInstance);
52
+ /**
53
+ * @since 1.0.0
54
+ * @category layers
55
+ */
56
+ exports.DefaultElastiCacheClientInstanceLayer = exports.ElastiCacheClientInstanceLayer.pipe(Layer.provide(ElastiCacheClientInstanceConfig_1.DefaultElastiCache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UxheWVyID0gTGF5ZXIuZWZmZWN0KFxuICBFbGFzdGlDYWNoZUNsaWVudEluc3RhbmNlLFxuICBtYWtlRWxhc3RpQ2FjaGVDbGllbnRJbnN0YW5jZSxcbik7XG5cbi8qKlxuICogQHNpbmNlIDEuMC4wXG4gKiBAY2F0ZWdvcnkgbGF5ZXJzXG4gKi9cbmV4cG9ydCBjb25zdCBEZWZhdWx0RWxhc3RpQ2FjaGVDbGllbnRJbnN0YW5jZUxheWVyID1cbiAgRWxhc3RpQ2FjaGVDbGllbnRJbnN0YW5jZUxheWVyLnBpcGUoXG4gICAgTGF5ZXIucHJvdmlkZShEZWZhdWx0RWxhc3RpQ2FjaGVDbGllbnRDb25maWdMYXllciksXG4gICk7XG4iXX0=
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import type { ElastiCacheClientConfig } from "@aws-sdk/client-elasticache";
5
+ import * as Context from "effect/Context";
6
+ import * as Effect from "effect/Effect";
7
+ import * as Layer from "effect/Layer";
8
+ declare const ElastiCacheClientInstanceConfig_base: Context.TagClass<ElastiCacheClientInstanceConfig, "@effect-aws/client-elasticache/ElastiCacheClientInstanceConfig", ElastiCacheClientConfig>;
9
+ /**
10
+ * @since 1.0.0
11
+ * @category tags
12
+ */
13
+ export declare class ElastiCacheClientInstanceConfig extends ElastiCacheClientInstanceConfig_base {
14
+ }
15
+ /**
16
+ * @since 1.0.0
17
+ * @category constructors
18
+ */
19
+ export declare const makeDefaultElastiCacheClientInstanceConfig: Effect.Effect<ElastiCacheClientConfig>;
20
+ /**
21
+ * @since 1.0.0
22
+ * @category layers
23
+ */
24
+ export declare const DefaultElastiCacheClientConfigLayer: Layer.Layer<ElastiCacheClientInstanceConfig, never, never>;
25
+ export {};
@@ -0,0 +1,70 @@
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.DefaultElastiCacheClientConfigLayer = exports.makeDefaultElastiCacheClientInstanceConfig = exports.ElastiCacheClientInstanceConfig = 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
+ class ElastiCacheClientInstanceConfig extends Context.Tag("@effect-aws/client-elasticache/ElastiCacheClientInstanceConfig")() {
36
+ }
37
+ exports.ElastiCacheClientInstanceConfig = ElastiCacheClientInstanceConfig;
38
+ /**
39
+ * @since 1.0.0
40
+ * @category constructors
41
+ */
42
+ exports.makeDefaultElastiCacheClientInstanceConfig = Effect.gen(function* (_) {
43
+ const runtime = yield* _(Effect.runtime());
44
+ const runSync = Runtime.runSync(runtime);
45
+ return {
46
+ logger: {
47
+ info(m) {
48
+ Effect.logInfo(m).pipe(runSync);
49
+ },
50
+ warn(m) {
51
+ Effect.logWarning(m).pipe(runSync);
52
+ },
53
+ error(m) {
54
+ Effect.logError(m).pipe(runSync);
55
+ },
56
+ debug(m) {
57
+ Effect.logDebug(m).pipe(runSync);
58
+ },
59
+ trace(m) {
60
+ Effect.logTrace(m).pipe(runSync);
61
+ },
62
+ },
63
+ };
64
+ });
65
+ /**
66
+ * @since 1.0.0
67
+ * @category layers
68
+ */
69
+ exports.DefaultElastiCacheClientConfigLayer = Layer.effect(ElastiCacheClientInstanceConfig, exports.makeDefaultElastiCacheClientInstanceConfig);
70
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRWxhc3RpQ2FjaGVDbGllbnRJbnN0YW5jZUNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9FbGFzdGlDYWNoZUNsaWVudEluc3RhbmNlQ29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBSUEsd0RBQTBDO0FBQzFDLHNEQUF3QztBQUN4QyxvREFBc0M7QUFDdEMsd0RBQTBDO0FBRTFDOzs7R0FHRztBQUNILE1BQWEsK0JBQWdDLFNBQVEsT0FBTyxDQUFDLEdBQUcsQ0FDOUQsZ0VBQWdFLENBQ2pFLEVBQTREO0NBQUc7QUFGaEUsMEVBRWdFO0FBRWhFOzs7R0FHRztBQUNVLFFBQUEsMENBQTBDLEdBQ3JELE1BQU0sQ0FBQyxHQUFHLENBQUMsUUFBUSxDQUFDLEVBQUUsQ0FBQztJQUNyQixNQUFNLE9BQU8sR0FBRyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLE9BQU8sRUFBUyxDQUFDLENBQUM7SUFDbEQsTUFBTSxPQUFPLEdBQUcsT0FBTyxDQUFDLE9BQU8sQ0FBQyxPQUFPLENBQUMsQ0FBQztJQUV6QyxPQUFPO1FBQ0wsTUFBTSxFQUFFO1lBQ04sSUFBSSxDQUFDLEN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3luYyk7XG4gICAgICAgIH0sXG4gICAgICAgIGVycm9yKG0pIHtcbiAgICAgICAgICBFZmZlY3QubG9nRXJyb3IobSkucGlwZShydW5TeW5jKTtcbiAgICAgICAgfSxcbiAgICAgICAgZGVidWcobSkge1xuICAgICAgICAgIEVmZmVjdC5sb2dEZWJ1ZyhtKS5waXBlKHJ1blN5bmMpO1xuICAgICAgICB9LFxuICAgICAgICB0cmFjZShtKSB7XG4gICAgICAgICAgRWZmZWN0LmxvZ1RyYWNlKG0pLnBpcGUocnVuU3luYyk7XG4gICAgICAgIH0sXG4gICAgICB9LFxuICAgIH07XG4gIH0pO1xuXG4vKipcbiAqIEBzaW5jZSAxLjAuMFxuICogQGNhdGVnb3J5IGxheWVyc1xuICovXG5leHBvcnQgY29uc3QgRGVmYXVsdEVsYXN0aUNhY2hlQ2xpZW50Q29uZmlnTGF5ZXIgPSBMYXllci5lZmZlY3QoXG4gIEVsYXN0aUNhY2hlQ2xpZW50SW5zdGFuY2VDb25maWcsXG4gIG1ha2VEZWZhdWx0RWxhc3RpQ2FjaGVDbGllbnRJbnN0YW5jZUNvbmZpZyxcbik7XG4iXX0=
@@ -0,0 +1,340 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { type AddTagsToResourceCommandInput, type AddTagsToResourceCommandOutput, type AuthorizeCacheSecurityGroupIngressCommandInput, type AuthorizeCacheSecurityGroupIngressCommandOutput, type BatchApplyUpdateActionCommandInput, type BatchApplyUpdateActionCommandOutput, type BatchStopUpdateActionCommandInput, type BatchStopUpdateActionCommandOutput, type CompleteMigrationCommandInput, type CompleteMigrationCommandOutput, type CopyServerlessCacheSnapshotCommandInput, type CopyServerlessCacheSnapshotCommandOutput, type CopySnapshotCommandInput, type CopySnapshotCommandOutput, type CreateCacheClusterCommandInput, type CreateCacheClusterCommandOutput, type CreateCacheParameterGroupCommandInput, type CreateCacheParameterGroupCommandOutput, type CreateCacheSecurityGroupCommandInput, type CreateCacheSecurityGroupCommandOutput, type CreateCacheSubnetGroupCommandInput, type CreateCacheSubnetGroupCommandOutput, type CreateGlobalReplicationGroupCommandInput, type CreateGlobalReplicationGroupCommandOutput, type CreateReplicationGroupCommandInput, type CreateReplicationGroupCommandOutput, type CreateServerlessCacheCommandInput, type CreateServerlessCacheCommandOutput, type CreateServerlessCacheSnapshotCommandInput, type CreateServerlessCacheSnapshotCommandOutput, type CreateSnapshotCommandInput, type CreateSnapshotCommandOutput, type CreateUserCommandInput, type CreateUserCommandOutput, type CreateUserGroupCommandInput, type CreateUserGroupCommandOutput, type DecreaseNodeGroupsInGlobalReplicationGroupCommandInput, type DecreaseNodeGroupsInGlobalReplicationGroupCommandOutput, type DecreaseReplicaCountCommandInput, type DecreaseReplicaCountCommandOutput, type DeleteCacheClusterCommandInput, type DeleteCacheClusterCommandOutput, type DeleteCacheParameterGroupCommandInput, type DeleteCacheParameterGroupCommandOutput, type DeleteCacheSecurityGroupCommandInput, type DeleteCacheSecurityGroupCommandOutput, type DeleteCacheSubnetGroupCommandInput, type DeleteCacheSubnetGroupCommandOutput, type DeleteGlobalReplicationGroupCommandInput, type DeleteGlobalReplicationGroupCommandOutput, type DeleteReplicationGroupCommandInput, type DeleteReplicationGroupCommandOutput, type DeleteServerlessCacheCommandInput, type DeleteServerlessCacheCommandOutput, type DeleteServerlessCacheSnapshotCommandInput, type DeleteServerlessCacheSnapshotCommandOutput, type DeleteSnapshotCommandInput, type DeleteSnapshotCommandOutput, type DeleteUserCommandInput, type DeleteUserCommandOutput, type DeleteUserGroupCommandInput, type DeleteUserGroupCommandOutput, type DescribeCacheClustersCommandInput, type DescribeCacheClustersCommandOutput, type DescribeCacheEngineVersionsCommandInput, type DescribeCacheEngineVersionsCommandOutput, type DescribeCacheParameterGroupsCommandInput, type DescribeCacheParameterGroupsCommandOutput, type DescribeCacheParametersCommandInput, type DescribeCacheParametersCommandOutput, type DescribeCacheSecurityGroupsCommandInput, type DescribeCacheSecurityGroupsCommandOutput, type DescribeCacheSubnetGroupsCommandInput, type DescribeCacheSubnetGroupsCommandOutput, type DescribeEngineDefaultParametersCommandInput, type DescribeEngineDefaultParametersCommandOutput, type DescribeEventsCommandInput, type DescribeEventsCommandOutput, type DescribeGlobalReplicationGroupsCommandInput, type DescribeGlobalReplicationGroupsCommandOutput, type DescribeReplicationGroupsCommandInput, type DescribeReplicationGroupsCommandOutput, type DescribeReservedCacheNodesCommandInput, type DescribeReservedCacheNodesCommandOutput, type DescribeReservedCacheNodesOfferingsCommandInput, type DescribeReservedCacheNodesOfferingsCommandOutput, type DescribeServerlessCachesCommandInput, type DescribeServerlessCachesCommandOutput, type DescribeServerlessCacheSnapshotsCommandInput, type DescribeServerlessCacheSnapshotsCommandOutput, type DescribeServiceUpdatesCommandInput, type DescribeServiceUpdatesCommandOutput, type DescribeSnapshotsCommandInput, type DescribeSnapshotsCommandOutput, type DescribeUpdateActionsCommandInput, type DescribeUpdateActionsCommandOutput, type DescribeUserGroupsCommandInput, type DescribeUserGroupsCommandOutput, type DescribeUsersCommandInput, type DescribeUsersCommandOutput, type DisassociateGlobalReplicationGroupCommandInput, type DisassociateGlobalReplicationGroupCommandOutput, type ExportServerlessCacheSnapshotCommandInput, type ExportServerlessCacheSnapshotCommandOutput, type FailoverGlobalReplicationGroupCommandInput, type FailoverGlobalReplicationGroupCommandOutput, type IncreaseNodeGroupsInGlobalReplicationGroupCommandInput, type IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput, type IncreaseReplicaCountCommandInput, type IncreaseReplicaCountCommandOutput, type ListAllowedNodeTypeModificationsCommandInput, type ListAllowedNodeTypeModificationsCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ModifyCacheClusterCommandInput, type ModifyCacheClusterCommandOutput, type ModifyCacheParameterGroupCommandInput, type ModifyCacheParameterGroupCommandOutput, type ModifyCacheSubnetGroupCommandInput, type ModifyCacheSubnetGroupCommandOutput, type ModifyGlobalReplicationGroupCommandInput, type ModifyGlobalReplicationGroupCommandOutput, type ModifyReplicationGroupCommandInput, type ModifyReplicationGroupCommandOutput, type ModifyReplicationGroupShardConfigurationCommandInput, type ModifyReplicationGroupShardConfigurationCommandOutput, type ModifyServerlessCacheCommandInput, type ModifyServerlessCacheCommandOutput, type ModifyUserCommandInput, type ModifyUserCommandOutput, type ModifyUserGroupCommandInput, type ModifyUserGroupCommandOutput, type PurchaseReservedCacheNodesOfferingCommandInput, type PurchaseReservedCacheNodesOfferingCommandOutput, type RebalanceSlotsInGlobalReplicationGroupCommandInput, type RebalanceSlotsInGlobalReplicationGroupCommandOutput, type RebootCacheClusterCommandInput, type RebootCacheClusterCommandOutput, type RemoveTagsFromResourceCommandInput, type RemoveTagsFromResourceCommandOutput, type ResetCacheParameterGroupCommandInput, type ResetCacheParameterGroupCommandOutput, type RevokeCacheSecurityGroupIngressCommandInput, type RevokeCacheSecurityGroupIngressCommandOutput, type StartMigrationCommandInput, type StartMigrationCommandOutput, type TestFailoverCommandInput, type TestFailoverCommandOutput, type TestMigrationCommandInput, type TestMigrationCommandOutput } from "@aws-sdk/client-elasticache";
5
+ import { type HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
6
+ import { Context, Effect, Layer } from "effect";
7
+ import { ElastiCacheClientInstance } from "./ElastiCacheClientInstance";
8
+ import { ElastiCacheServiceError, InvalidCredentialsError, InvalidParameterCombinationError, InvalidParameterValueError, SdkError } from "./Errors";
9
+ /**
10
+ * @since 1.0.0
11
+ * @category models
12
+ */
13
+ export type ElastiCacheService = {
14
+ readonly _: unique symbol;
15
+ /**
16
+ * @see {@link AddTagsToResourceCommand}
17
+ */
18
+ readonly addTagsToResource: (args: AddTagsToResourceCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<AddTagsToResourceCommandOutput | SdkError | ElastiCacheServiceError>;
19
+ /**
20
+ * @see {@link AuthorizeCacheSecurityGroupIngressCommand}
21
+ */
22
+ readonly authorizeCacheSecurityGroupIngress: (args: AuthorizeCacheSecurityGroupIngressCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<AuthorizeCacheSecurityGroupIngressCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
23
+ /**
24
+ * @see {@link BatchApplyUpdateActionCommand}
25
+ */
26
+ readonly batchApplyUpdateAction: (args: BatchApplyUpdateActionCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<BatchApplyUpdateActionCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
27
+ /**
28
+ * @see {@link BatchStopUpdateActionCommand}
29
+ */
30
+ readonly batchStopUpdateAction: (args: BatchStopUpdateActionCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<BatchStopUpdateActionCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
31
+ /**
32
+ * @see {@link CompleteMigrationCommand}
33
+ */
34
+ readonly completeMigration: (args: CompleteMigrationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CompleteMigrationCommandOutput | SdkError | ElastiCacheServiceError>;
35
+ /**
36
+ * @see {@link CopyServerlessCacheSnapshotCommand}
37
+ */
38
+ readonly copyServerlessCacheSnapshot: (args: CopyServerlessCacheSnapshotCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CopyServerlessCacheSnapshotCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
39
+ /**
40
+ * @see {@link CopySnapshotCommand}
41
+ */
42
+ readonly copySnapshot: (args: CopySnapshotCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CopySnapshotCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
43
+ /**
44
+ * @see {@link CreateCacheClusterCommand}
45
+ */
46
+ readonly createCacheCluster: (args: CreateCacheClusterCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateCacheClusterCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
47
+ /**
48
+ * @see {@link CreateCacheParameterGroupCommand}
49
+ */
50
+ readonly createCacheParameterGroup: (args: CreateCacheParameterGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateCacheParameterGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
51
+ /**
52
+ * @see {@link CreateCacheSecurityGroupCommand}
53
+ */
54
+ readonly createCacheSecurityGroup: (args: CreateCacheSecurityGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateCacheSecurityGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
55
+ /**
56
+ * @see {@link CreateCacheSubnetGroupCommand}
57
+ */
58
+ readonly createCacheSubnetGroup: (args: CreateCacheSubnetGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateCacheSubnetGroupCommandOutput | SdkError | ElastiCacheServiceError>;
59
+ /**
60
+ * @see {@link CreateGlobalReplicationGroupCommand}
61
+ */
62
+ readonly createGlobalReplicationGroup: (args: CreateGlobalReplicationGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateGlobalReplicationGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
63
+ /**
64
+ * @see {@link CreateReplicationGroupCommand}
65
+ */
66
+ readonly createReplicationGroup: (args: CreateReplicationGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateReplicationGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
67
+ /**
68
+ * @see {@link CreateServerlessCacheCommand}
69
+ */
70
+ readonly createServerlessCache: (args: CreateServerlessCacheCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateServerlessCacheCommandOutput | SdkError | ElastiCacheServiceError | InvalidCredentialsError | InvalidParameterCombinationError | InvalidParameterValueError>;
71
+ /**
72
+ * @see {@link CreateServerlessCacheSnapshotCommand}
73
+ */
74
+ readonly createServerlessCacheSnapshot: (args: CreateServerlessCacheSnapshotCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateServerlessCacheSnapshotCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
75
+ /**
76
+ * @see {@link CreateSnapshotCommand}
77
+ */
78
+ readonly createSnapshot: (args: CreateSnapshotCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateSnapshotCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
79
+ /**
80
+ * @see {@link CreateUserCommand}
81
+ */
82
+ readonly createUser: (args: CreateUserCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateUserCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
83
+ /**
84
+ * @see {@link CreateUserGroupCommand}
85
+ */
86
+ readonly createUserGroup: (args: CreateUserGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<CreateUserGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
87
+ /**
88
+ * @see {@link DecreaseNodeGroupsInGlobalReplicationGroupCommand}
89
+ */
90
+ readonly decreaseNodeGroupsInGlobalReplicationGroup: (args: DecreaseNodeGroupsInGlobalReplicationGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DecreaseNodeGroupsInGlobalReplicationGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
91
+ /**
92
+ * @see {@link DecreaseReplicaCountCommand}
93
+ */
94
+ readonly decreaseReplicaCount: (args: DecreaseReplicaCountCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DecreaseReplicaCountCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
95
+ /**
96
+ * @see {@link DeleteCacheClusterCommand}
97
+ */
98
+ readonly deleteCacheCluster: (args: DeleteCacheClusterCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteCacheClusterCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
99
+ /**
100
+ * @see {@link DeleteCacheParameterGroupCommand}
101
+ */
102
+ readonly deleteCacheParameterGroup: (args: DeleteCacheParameterGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteCacheParameterGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
103
+ /**
104
+ * @see {@link DeleteCacheSecurityGroupCommand}
105
+ */
106
+ readonly deleteCacheSecurityGroup: (args: DeleteCacheSecurityGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteCacheSecurityGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
107
+ /**
108
+ * @see {@link DeleteCacheSubnetGroupCommand}
109
+ */
110
+ readonly deleteCacheSubnetGroup: (args: DeleteCacheSubnetGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteCacheSubnetGroupCommandOutput | SdkError | ElastiCacheServiceError>;
111
+ /**
112
+ * @see {@link DeleteGlobalReplicationGroupCommand}
113
+ */
114
+ readonly deleteGlobalReplicationGroup: (args: DeleteGlobalReplicationGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteGlobalReplicationGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
115
+ /**
116
+ * @see {@link DeleteReplicationGroupCommand}
117
+ */
118
+ readonly deleteReplicationGroup: (args: DeleteReplicationGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteReplicationGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
119
+ /**
120
+ * @see {@link DeleteServerlessCacheCommand}
121
+ */
122
+ readonly deleteServerlessCache: (args: DeleteServerlessCacheCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteServerlessCacheCommandOutput | SdkError | ElastiCacheServiceError | InvalidCredentialsError | InvalidParameterCombinationError | InvalidParameterValueError>;
123
+ /**
124
+ * @see {@link DeleteServerlessCacheSnapshotCommand}
125
+ */
126
+ readonly deleteServerlessCacheSnapshot: (args: DeleteServerlessCacheSnapshotCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteServerlessCacheSnapshotCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
127
+ /**
128
+ * @see {@link DeleteSnapshotCommand}
129
+ */
130
+ readonly deleteSnapshot: (args: DeleteSnapshotCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteSnapshotCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
131
+ /**
132
+ * @see {@link DeleteUserCommand}
133
+ */
134
+ readonly deleteUser: (args: DeleteUserCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteUserCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
135
+ /**
136
+ * @see {@link DeleteUserGroupCommand}
137
+ */
138
+ readonly deleteUserGroup: (args: DeleteUserGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DeleteUserGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
139
+ /**
140
+ * @see {@link DescribeCacheClustersCommand}
141
+ */
142
+ readonly describeCacheClusters: (args: DescribeCacheClustersCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeCacheClustersCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
143
+ /**
144
+ * @see {@link DescribeCacheEngineVersionsCommand}
145
+ */
146
+ readonly describeCacheEngineVersions: (args: DescribeCacheEngineVersionsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeCacheEngineVersionsCommandOutput | SdkError | ElastiCacheServiceError>;
147
+ /**
148
+ * @see {@link DescribeCacheParameterGroupsCommand}
149
+ */
150
+ readonly describeCacheParameterGroups: (args: DescribeCacheParameterGroupsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeCacheParameterGroupsCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
151
+ /**
152
+ * @see {@link DescribeCacheParametersCommand}
153
+ */
154
+ readonly describeCacheParameters: (args: DescribeCacheParametersCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeCacheParametersCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
155
+ /**
156
+ * @see {@link DescribeCacheSecurityGroupsCommand}
157
+ */
158
+ readonly describeCacheSecurityGroups: (args: DescribeCacheSecurityGroupsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeCacheSecurityGroupsCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
159
+ /**
160
+ * @see {@link DescribeCacheSubnetGroupsCommand}
161
+ */
162
+ readonly describeCacheSubnetGroups: (args: DescribeCacheSubnetGroupsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeCacheSubnetGroupsCommandOutput | SdkError | ElastiCacheServiceError>;
163
+ /**
164
+ * @see {@link DescribeEngineDefaultParametersCommand}
165
+ */
166
+ readonly describeEngineDefaultParameters: (args: DescribeEngineDefaultParametersCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeEngineDefaultParametersCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
167
+ /**
168
+ * @see {@link DescribeEventsCommand}
169
+ */
170
+ readonly describeEvents: (args: DescribeEventsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeEventsCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
171
+ /**
172
+ * @see {@link DescribeGlobalReplicationGroupsCommand}
173
+ */
174
+ readonly describeGlobalReplicationGroups: (args: DescribeGlobalReplicationGroupsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeGlobalReplicationGroupsCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
175
+ /**
176
+ * @see {@link DescribeReplicationGroupsCommand}
177
+ */
178
+ readonly describeReplicationGroups: (args: DescribeReplicationGroupsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeReplicationGroupsCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
179
+ /**
180
+ * @see {@link DescribeReservedCacheNodesCommand}
181
+ */
182
+ readonly describeReservedCacheNodes: (args: DescribeReservedCacheNodesCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeReservedCacheNodesCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
183
+ /**
184
+ * @see {@link DescribeReservedCacheNodesOfferingsCommand}
185
+ */
186
+ readonly describeReservedCacheNodesOfferings: (args: DescribeReservedCacheNodesOfferingsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeReservedCacheNodesOfferingsCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
187
+ /**
188
+ * @see {@link DescribeServerlessCachesCommand}
189
+ */
190
+ readonly describeServerlessCaches: (args: DescribeServerlessCachesCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeServerlessCachesCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
191
+ /**
192
+ * @see {@link DescribeServerlessCacheSnapshotsCommand}
193
+ */
194
+ readonly describeServerlessCacheSnapshots: (args: DescribeServerlessCacheSnapshotsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeServerlessCacheSnapshotsCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
195
+ /**
196
+ * @see {@link DescribeServiceUpdatesCommand}
197
+ */
198
+ readonly describeServiceUpdates: (args: DescribeServiceUpdatesCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeServiceUpdatesCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
199
+ /**
200
+ * @see {@link DescribeSnapshotsCommand}
201
+ */
202
+ readonly describeSnapshots: (args: DescribeSnapshotsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeSnapshotsCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
203
+ /**
204
+ * @see {@link DescribeUpdateActionsCommand}
205
+ */
206
+ readonly describeUpdateActions: (args: DescribeUpdateActionsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeUpdateActionsCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
207
+ /**
208
+ * @see {@link DescribeUserGroupsCommand}
209
+ */
210
+ readonly describeUserGroups: (args: DescribeUserGroupsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeUserGroupsCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError>;
211
+ /**
212
+ * @see {@link DescribeUsersCommand}
213
+ */
214
+ readonly describeUsers: (args: DescribeUsersCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DescribeUsersCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError>;
215
+ /**
216
+ * @see {@link DisassociateGlobalReplicationGroupCommand}
217
+ */
218
+ readonly disassociateGlobalReplicationGroup: (args: DisassociateGlobalReplicationGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<DisassociateGlobalReplicationGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
219
+ /**
220
+ * @see {@link ExportServerlessCacheSnapshotCommand}
221
+ */
222
+ readonly exportServerlessCacheSnapshot: (args: ExportServerlessCacheSnapshotCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ExportServerlessCacheSnapshotCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
223
+ /**
224
+ * @see {@link FailoverGlobalReplicationGroupCommand}
225
+ */
226
+ readonly failoverGlobalReplicationGroup: (args: FailoverGlobalReplicationGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<FailoverGlobalReplicationGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
227
+ /**
228
+ * @see {@link IncreaseNodeGroupsInGlobalReplicationGroupCommand}
229
+ */
230
+ readonly increaseNodeGroupsInGlobalReplicationGroup: (args: IncreaseNodeGroupsInGlobalReplicationGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
231
+ /**
232
+ * @see {@link IncreaseReplicaCountCommand}
233
+ */
234
+ readonly increaseReplicaCount: (args: IncreaseReplicaCountCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<IncreaseReplicaCountCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
235
+ /**
236
+ * @see {@link ListAllowedNodeTypeModificationsCommand}
237
+ */
238
+ readonly listAllowedNodeTypeModifications: (args: ListAllowedNodeTypeModificationsCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ListAllowedNodeTypeModificationsCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
239
+ /**
240
+ * @see {@link ListTagsForResourceCommand}
241
+ */
242
+ readonly listTagsForResource: (args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ListTagsForResourceCommandOutput | SdkError | ElastiCacheServiceError>;
243
+ /**
244
+ * @see {@link ModifyCacheClusterCommand}
245
+ */
246
+ readonly modifyCacheCluster: (args: ModifyCacheClusterCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ModifyCacheClusterCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
247
+ /**
248
+ * @see {@link ModifyCacheParameterGroupCommand}
249
+ */
250
+ readonly modifyCacheParameterGroup: (args: ModifyCacheParameterGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ModifyCacheParameterGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
251
+ /**
252
+ * @see {@link ModifyCacheSubnetGroupCommand}
253
+ */
254
+ readonly modifyCacheSubnetGroup: (args: ModifyCacheSubnetGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ModifyCacheSubnetGroupCommandOutput | SdkError | ElastiCacheServiceError>;
255
+ /**
256
+ * @see {@link ModifyGlobalReplicationGroupCommand}
257
+ */
258
+ readonly modifyGlobalReplicationGroup: (args: ModifyGlobalReplicationGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ModifyGlobalReplicationGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
259
+ /**
260
+ * @see {@link ModifyReplicationGroupCommand}
261
+ */
262
+ readonly modifyReplicationGroup: (args: ModifyReplicationGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ModifyReplicationGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
263
+ /**
264
+ * @see {@link ModifyReplicationGroupShardConfigurationCommand}
265
+ */
266
+ readonly modifyReplicationGroupShardConfiguration: (args: ModifyReplicationGroupShardConfigurationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ModifyReplicationGroupShardConfigurationCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
267
+ /**
268
+ * @see {@link ModifyServerlessCacheCommand}
269
+ */
270
+ readonly modifyServerlessCache: (args: ModifyServerlessCacheCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ModifyServerlessCacheCommandOutput | SdkError | ElastiCacheServiceError | InvalidCredentialsError | InvalidParameterCombinationError | InvalidParameterValueError>;
271
+ /**
272
+ * @see {@link ModifyUserCommand}
273
+ */
274
+ readonly modifyUser: (args: ModifyUserCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ModifyUserCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
275
+ /**
276
+ * @see {@link ModifyUserGroupCommand}
277
+ */
278
+ readonly modifyUserGroup: (args: ModifyUserGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ModifyUserGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
279
+ /**
280
+ * @see {@link PurchaseReservedCacheNodesOfferingCommand}
281
+ */
282
+ readonly purchaseReservedCacheNodesOffering: (args: PurchaseReservedCacheNodesOfferingCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<PurchaseReservedCacheNodesOfferingCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
283
+ /**
284
+ * @see {@link RebalanceSlotsInGlobalReplicationGroupCommand}
285
+ */
286
+ readonly rebalanceSlotsInGlobalReplicationGroup: (args: RebalanceSlotsInGlobalReplicationGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<RebalanceSlotsInGlobalReplicationGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
287
+ /**
288
+ * @see {@link RebootCacheClusterCommand}
289
+ */
290
+ readonly rebootCacheCluster: (args: RebootCacheClusterCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<RebootCacheClusterCommandOutput | SdkError | ElastiCacheServiceError>;
291
+ /**
292
+ * @see {@link RemoveTagsFromResourceCommand}
293
+ */
294
+ readonly removeTagsFromResource: (args: RemoveTagsFromResourceCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<RemoveTagsFromResourceCommandOutput | SdkError | ElastiCacheServiceError>;
295
+ /**
296
+ * @see {@link ResetCacheParameterGroupCommand}
297
+ */
298
+ readonly resetCacheParameterGroup: (args: ResetCacheParameterGroupCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<ResetCacheParameterGroupCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
299
+ /**
300
+ * @see {@link RevokeCacheSecurityGroupIngressCommand}
301
+ */
302
+ readonly revokeCacheSecurityGroupIngress: (args: RevokeCacheSecurityGroupIngressCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<RevokeCacheSecurityGroupIngressCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
303
+ /**
304
+ * @see {@link StartMigrationCommand}
305
+ */
306
+ readonly startMigration: (args: StartMigrationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<StartMigrationCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
307
+ /**
308
+ * @see {@link TestFailoverCommand}
309
+ */
310
+ readonly testFailover: (args: TestFailoverCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<TestFailoverCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterCombinationError | InvalidParameterValueError>;
311
+ /**
312
+ * @see {@link TestMigrationCommand}
313
+ */
314
+ readonly testMigration: (args: TestMigrationCommandInput, options?: __HttpHandlerOptions) => Effect.Effect<TestMigrationCommandOutput | SdkError | ElastiCacheServiceError | InvalidParameterValueError>;
315
+ };
316
+ /**
317
+ * @since 1.0.0
318
+ * @category tags
319
+ */
320
+ export declare const ElastiCacheService: Context.Tag<ElastiCacheService, ElastiCacheService>;
321
+ /**
322
+ * @since 1.0.0
323
+ * @category constructors
324
+ */
325
+ export declare const makeElastiCacheService: Effect.Effect<ElastiCacheService, never, ElastiCacheClientInstance>;
326
+ /**
327
+ * @since 1.0.0
328
+ * @category layers
329
+ */
330
+ export declare const BaseElastiCacheServiceLayer: Layer.Layer<ElastiCacheService, never, ElastiCacheClientInstance>;
331
+ /**
332
+ * @since 1.0.0
333
+ * @category layers
334
+ */
335
+ export declare const ElastiCacheServiceLayer: Layer.Layer<ElastiCacheService, never, import("./ElastiCacheClientInstanceConfig").ElastiCacheClientInstanceConfig>;
336
+ /**
337
+ * @since 1.0.0
338
+ * @category layers
339
+ */
340
+ export declare const DefaultElastiCacheServiceLayer: Layer.Layer<ElastiCacheService, never, never>;