@effect-aws/client-elasticache 1.5.0 → 1.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/ElastiCacheClientInstance/package.json +6 -0
  2. package/ElastiCacheService/package.json +6 -0
  3. package/ElastiCacheServiceConfig/package.json +6 -0
  4. package/Errors/package.json +6 -0
  5. package/dist/cjs/ElastiCacheClientInstance.d.ts +24 -0
  6. package/dist/cjs/ElastiCacheClientInstance.d.ts.map +1 -0
  7. package/dist/cjs/ElastiCacheClientInstance.js +50 -0
  8. package/dist/cjs/ElastiCacheClientInstance.js.map +1 -0
  9. package/dist/cjs/ElastiCacheService.d.ts +341 -0
  10. package/dist/cjs/ElastiCacheService.d.ts.map +1 -0
  11. package/dist/cjs/ElastiCacheService.js +134 -0
  12. package/dist/cjs/ElastiCacheService.js.map +1 -0
  13. package/dist/cjs/ElastiCacheServiceConfig.d.ts +25 -0
  14. package/dist/cjs/ElastiCacheServiceConfig.d.ts.map +1 -0
  15. package/dist/cjs/ElastiCacheServiceConfig.js +35 -0
  16. package/dist/cjs/ElastiCacheServiceConfig.js.map +1 -0
  17. package/{lib → dist/cjs}/Errors.d.ts +7 -12
  18. package/dist/cjs/Errors.d.ts.map +1 -0
  19. package/dist/cjs/Errors.js +84 -0
  20. package/dist/cjs/Errors.js.map +1 -0
  21. package/dist/cjs/index.d.ts +39 -0
  22. package/dist/cjs/index.d.ts.map +1 -0
  23. package/dist/cjs/index.js +56 -0
  24. package/dist/cjs/index.js.map +1 -0
  25. package/dist/dts/ElastiCacheClientInstance.d.ts +24 -0
  26. package/dist/dts/ElastiCacheClientInstance.d.ts.map +1 -0
  27. package/dist/dts/ElastiCacheService.d.ts +341 -0
  28. package/dist/dts/ElastiCacheService.d.ts.map +1 -0
  29. package/dist/dts/ElastiCacheServiceConfig.d.ts +25 -0
  30. package/dist/dts/ElastiCacheServiceConfig.d.ts.map +1 -0
  31. package/dist/dts/Errors.d.ts +83 -0
  32. package/dist/dts/Errors.d.ts.map +1 -0
  33. package/dist/dts/index.d.ts +39 -0
  34. package/dist/dts/index.d.ts.map +1 -0
  35. package/dist/esm/ElastiCacheClientInstance.js +23 -0
  36. package/dist/esm/ElastiCacheClientInstance.js.map +1 -0
  37. package/dist/esm/ElastiCacheService.js +107 -0
  38. package/dist/esm/ElastiCacheService.js.map +1 -0
  39. package/dist/esm/ElastiCacheServiceConfig.js +31 -0
  40. package/dist/esm/ElastiCacheServiceConfig.js.map +1 -0
  41. package/dist/esm/Errors.js +81 -0
  42. package/dist/esm/Errors.js.map +1 -0
  43. package/dist/esm/index.js +27 -0
  44. package/dist/esm/index.js.map +1 -0
  45. package/dist/esm/package.json +4 -0
  46. package/package.json +60 -43
  47. package/src/ElastiCacheClientInstance.ts +33 -0
  48. package/src/ElastiCacheService.ts +1662 -0
  49. package/src/ElastiCacheServiceConfig.ts +52 -0
  50. package/src/Errors.ts +245 -0
  51. package/src/index.ts +44 -0
  52. package/CHANGELOG.md +0 -43
  53. package/docgen.json +0 -8
  54. package/lib/ElastiCacheClientInstance.d.ts +0 -31
  55. package/lib/ElastiCacheClientInstance.js +0 -57
  56. package/lib/ElastiCacheClientInstanceConfig.d.ts +0 -23
  57. package/lib/ElastiCacheClientInstanceConfig.js +0 -44
  58. package/lib/ElastiCacheService.d.ts +0 -440
  59. package/lib/ElastiCacheService.js +0 -163
  60. package/lib/Errors.js +0 -84
  61. package/lib/esm/ElastiCacheClientInstance.js +0 -30
  62. package/lib/esm/ElastiCacheClientInstanceConfig.js +0 -40
  63. package/lib/esm/ElastiCacheService.js +0 -159
  64. package/lib/esm/Errors.js +0 -81
  65. package/lib/esm/index.js +0 -5
  66. package/lib/index.d.ts +0 -4
  67. package/lib/index.js +0 -21
  68. package/project.json +0 -77
  69. package/vitest.config.ts +0 -3
@@ -0,0 +1,134 @@
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.ElastiCacheService = exports.makeElastiCacheService = void 0;
27
+ /**
28
+ * @since 1.0.0
29
+ */
30
+ const client_elasticache_1 = require("@aws-sdk/client-elasticache");
31
+ const commons_1 = require("@effect-aws/commons");
32
+ const effect_1 = require("effect");
33
+ const Instance = __importStar(require("./ElastiCacheClientInstance.js"));
34
+ const ElastiCacheServiceConfig = __importStar(require("./ElastiCacheServiceConfig.js"));
35
+ const Errors_js_1 = require("./Errors.js");
36
+ const commands = {
37
+ AddTagsToResourceCommand: client_elasticache_1.AddTagsToResourceCommand,
38
+ AuthorizeCacheSecurityGroupIngressCommand: client_elasticache_1.AuthorizeCacheSecurityGroupIngressCommand,
39
+ BatchApplyUpdateActionCommand: client_elasticache_1.BatchApplyUpdateActionCommand,
40
+ BatchStopUpdateActionCommand: client_elasticache_1.BatchStopUpdateActionCommand,
41
+ CompleteMigrationCommand: client_elasticache_1.CompleteMigrationCommand,
42
+ CopyServerlessCacheSnapshotCommand: client_elasticache_1.CopyServerlessCacheSnapshotCommand,
43
+ CopySnapshotCommand: client_elasticache_1.CopySnapshotCommand,
44
+ CreateCacheClusterCommand: client_elasticache_1.CreateCacheClusterCommand,
45
+ CreateCacheParameterGroupCommand: client_elasticache_1.CreateCacheParameterGroupCommand,
46
+ CreateCacheSecurityGroupCommand: client_elasticache_1.CreateCacheSecurityGroupCommand,
47
+ CreateCacheSubnetGroupCommand: client_elasticache_1.CreateCacheSubnetGroupCommand,
48
+ CreateGlobalReplicationGroupCommand: client_elasticache_1.CreateGlobalReplicationGroupCommand,
49
+ CreateReplicationGroupCommand: client_elasticache_1.CreateReplicationGroupCommand,
50
+ CreateServerlessCacheCommand: client_elasticache_1.CreateServerlessCacheCommand,
51
+ CreateServerlessCacheSnapshotCommand: client_elasticache_1.CreateServerlessCacheSnapshotCommand,
52
+ CreateSnapshotCommand: client_elasticache_1.CreateSnapshotCommand,
53
+ CreateUserCommand: client_elasticache_1.CreateUserCommand,
54
+ CreateUserGroupCommand: client_elasticache_1.CreateUserGroupCommand,
55
+ DecreaseNodeGroupsInGlobalReplicationGroupCommand: client_elasticache_1.DecreaseNodeGroupsInGlobalReplicationGroupCommand,
56
+ DecreaseReplicaCountCommand: client_elasticache_1.DecreaseReplicaCountCommand,
57
+ DeleteCacheClusterCommand: client_elasticache_1.DeleteCacheClusterCommand,
58
+ DeleteCacheParameterGroupCommand: client_elasticache_1.DeleteCacheParameterGroupCommand,
59
+ DeleteCacheSecurityGroupCommand: client_elasticache_1.DeleteCacheSecurityGroupCommand,
60
+ DeleteCacheSubnetGroupCommand: client_elasticache_1.DeleteCacheSubnetGroupCommand,
61
+ DeleteGlobalReplicationGroupCommand: client_elasticache_1.DeleteGlobalReplicationGroupCommand,
62
+ DeleteReplicationGroupCommand: client_elasticache_1.DeleteReplicationGroupCommand,
63
+ DeleteServerlessCacheCommand: client_elasticache_1.DeleteServerlessCacheCommand,
64
+ DeleteServerlessCacheSnapshotCommand: client_elasticache_1.DeleteServerlessCacheSnapshotCommand,
65
+ DeleteSnapshotCommand: client_elasticache_1.DeleteSnapshotCommand,
66
+ DeleteUserCommand: client_elasticache_1.DeleteUserCommand,
67
+ DeleteUserGroupCommand: client_elasticache_1.DeleteUserGroupCommand,
68
+ DescribeCacheClustersCommand: client_elasticache_1.DescribeCacheClustersCommand,
69
+ DescribeCacheEngineVersionsCommand: client_elasticache_1.DescribeCacheEngineVersionsCommand,
70
+ DescribeCacheParameterGroupsCommand: client_elasticache_1.DescribeCacheParameterGroupsCommand,
71
+ DescribeCacheParametersCommand: client_elasticache_1.DescribeCacheParametersCommand,
72
+ DescribeCacheSecurityGroupsCommand: client_elasticache_1.DescribeCacheSecurityGroupsCommand,
73
+ DescribeCacheSubnetGroupsCommand: client_elasticache_1.DescribeCacheSubnetGroupsCommand,
74
+ DescribeEngineDefaultParametersCommand: client_elasticache_1.DescribeEngineDefaultParametersCommand,
75
+ DescribeEventsCommand: client_elasticache_1.DescribeEventsCommand,
76
+ DescribeGlobalReplicationGroupsCommand: client_elasticache_1.DescribeGlobalReplicationGroupsCommand,
77
+ DescribeReplicationGroupsCommand: client_elasticache_1.DescribeReplicationGroupsCommand,
78
+ DescribeReservedCacheNodesCommand: client_elasticache_1.DescribeReservedCacheNodesCommand,
79
+ DescribeReservedCacheNodesOfferingsCommand: client_elasticache_1.DescribeReservedCacheNodesOfferingsCommand,
80
+ DescribeServerlessCacheSnapshotsCommand: client_elasticache_1.DescribeServerlessCacheSnapshotsCommand,
81
+ DescribeServerlessCachesCommand: client_elasticache_1.DescribeServerlessCachesCommand,
82
+ DescribeServiceUpdatesCommand: client_elasticache_1.DescribeServiceUpdatesCommand,
83
+ DescribeSnapshotsCommand: client_elasticache_1.DescribeSnapshotsCommand,
84
+ DescribeUpdateActionsCommand: client_elasticache_1.DescribeUpdateActionsCommand,
85
+ DescribeUserGroupsCommand: client_elasticache_1.DescribeUserGroupsCommand,
86
+ DescribeUsersCommand: client_elasticache_1.DescribeUsersCommand,
87
+ DisassociateGlobalReplicationGroupCommand: client_elasticache_1.DisassociateGlobalReplicationGroupCommand,
88
+ ExportServerlessCacheSnapshotCommand: client_elasticache_1.ExportServerlessCacheSnapshotCommand,
89
+ FailoverGlobalReplicationGroupCommand: client_elasticache_1.FailoverGlobalReplicationGroupCommand,
90
+ IncreaseNodeGroupsInGlobalReplicationGroupCommand: client_elasticache_1.IncreaseNodeGroupsInGlobalReplicationGroupCommand,
91
+ IncreaseReplicaCountCommand: client_elasticache_1.IncreaseReplicaCountCommand,
92
+ ListAllowedNodeTypeModificationsCommand: client_elasticache_1.ListAllowedNodeTypeModificationsCommand,
93
+ ListTagsForResourceCommand: client_elasticache_1.ListTagsForResourceCommand,
94
+ ModifyCacheClusterCommand: client_elasticache_1.ModifyCacheClusterCommand,
95
+ ModifyCacheParameterGroupCommand: client_elasticache_1.ModifyCacheParameterGroupCommand,
96
+ ModifyCacheSubnetGroupCommand: client_elasticache_1.ModifyCacheSubnetGroupCommand,
97
+ ModifyGlobalReplicationGroupCommand: client_elasticache_1.ModifyGlobalReplicationGroupCommand,
98
+ ModifyReplicationGroupCommand: client_elasticache_1.ModifyReplicationGroupCommand,
99
+ ModifyReplicationGroupShardConfigurationCommand: client_elasticache_1.ModifyReplicationGroupShardConfigurationCommand,
100
+ ModifyServerlessCacheCommand: client_elasticache_1.ModifyServerlessCacheCommand,
101
+ ModifyUserCommand: client_elasticache_1.ModifyUserCommand,
102
+ ModifyUserGroupCommand: client_elasticache_1.ModifyUserGroupCommand,
103
+ PurchaseReservedCacheNodesOfferingCommand: client_elasticache_1.PurchaseReservedCacheNodesOfferingCommand,
104
+ RebalanceSlotsInGlobalReplicationGroupCommand: client_elasticache_1.RebalanceSlotsInGlobalReplicationGroupCommand,
105
+ RebootCacheClusterCommand: client_elasticache_1.RebootCacheClusterCommand,
106
+ RemoveTagsFromResourceCommand: client_elasticache_1.RemoveTagsFromResourceCommand,
107
+ ResetCacheParameterGroupCommand: client_elasticache_1.ResetCacheParameterGroupCommand,
108
+ RevokeCacheSecurityGroupIngressCommand: client_elasticache_1.RevokeCacheSecurityGroupIngressCommand,
109
+ StartMigrationCommand: client_elasticache_1.StartMigrationCommand,
110
+ TestFailoverCommand: client_elasticache_1.TestFailoverCommand,
111
+ TestMigrationCommand: client_elasticache_1.TestMigrationCommand,
112
+ };
113
+ /**
114
+ * @since 1.0.0
115
+ * @category constructors
116
+ */
117
+ exports.makeElastiCacheService = effect_1.Effect.gen(function* () {
118
+ const client = yield* Instance.ElastiCacheClientInstance;
119
+ return commons_1.Service.fromClientAndCommands(client, commands, {
120
+ errorTags: Errors_js_1.AllServiceErrors,
121
+ resolveClientConfig: ElastiCacheServiceConfig.toElastiCacheClientConfig,
122
+ });
123
+ });
124
+ /**
125
+ * @since 1.0.0
126
+ * @category models
127
+ */
128
+ class ElastiCacheService extends effect_1.Effect.Tag("@effect-aws/client-elasticache/ElastiCacheService")() {
129
+ static defaultLayer = effect_1.Layer.effect(this, exports.makeElastiCacheService).pipe(effect_1.Layer.provide(Instance.layer));
130
+ static layer = (config) => effect_1.Layer.effect(this, exports.makeElastiCacheService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(ElastiCacheServiceConfig.setElastiCacheServiceConfig(config)));
131
+ static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeElastiCacheService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.ElastiCacheClientInstance, effect_1.Effect.map(ElastiCacheServiceConfig.toElastiCacheClientConfig, evaluate))));
132
+ }
133
+ exports.ElastiCacheService = ElastiCacheService;
134
+ //# sourceMappingURL=ElastiCacheService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ElastiCacheService.js","sourceRoot":"","sources":["../../src/ElastiCacheService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oEAoOqC;AAErC,iDAA8C;AAC9C,mCAAuC;AACvC,yEAA2D;AAC3D,wFAA0E;AA+E1E,2CAA+C;AAE/C,MAAM,QAAQ,G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C,qBAAqB,CAClC,MAAM,EACN,QAAQ,EACR;QACE,SAAS,EAAE,4BAAgB;QAC3B,mBAAmB,EAAE,wBAAwB,CAAC,yBAAyB;KACxE,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAa,kBAAmB,SAAQ,eAAM,CAAC,GAAG,CAAC,mDAAmD,CAAC,EAGpG;IACD,MAAM,CAAU,YAAY,GAAG,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,8BAAsB,CAAC,CAAC,IAAI,CAAC,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAC9G,MAAM,CAAU,KAAK,GAAG,CAAC,MAAiC,EAAE,EAAE,CAC5D,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,8BAAsB,CAAC,CAAC,IAAI,CAC7C,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,cAAK,CAAC,OAAO,CAAC,wBAAwB,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC,CAC5E,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAuE,EACvE,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,8BAAsB,CAAC,CAAC,IAAI,CAC7C,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,yBAAyB,EAClC,eAAM,CAAC,GAAG,CAAC,wBAAwB,CAAC,yBAAyB,EAAE,QAAQ,CAAC,CACzE,CACF,CACF,CAAC;;AApBN,gDAqBC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import type { ElastiCacheClientConfig } from "@aws-sdk/client-elasticache";
5
+ import { Effect, Layer } from "effect";
6
+ import type { ElastiCacheService } from "./ElastiCacheService.js";
7
+ /**
8
+ * @since 1.0.0
9
+ * @category elasticache service config
10
+ */
11
+ export declare const withElastiCacheServiceConfig: {
12
+ (config: ElastiCacheService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
13
+ <A, E, R>(effect: Effect.Effect<A, E, R>, config: ElastiCacheService.Config): Effect.Effect<A, E, R>;
14
+ };
15
+ /**
16
+ * @since 1.0.0
17
+ * @category elasticache service config
18
+ */
19
+ export declare const setElastiCacheServiceConfig: (config: ElastiCacheService.Config) => Layer.Layer<never, never, never>;
20
+ /**
21
+ * @since 1.0.0
22
+ * @category adapters
23
+ */
24
+ export declare const toElastiCacheClientConfig: Effect.Effect<ElastiCacheClientConfig>;
25
+ //# sourceMappingURL=ElastiCacheServiceConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ElastiCacheServiceConfig.d.ts","sourceRoot":"","sources":["../../src/ElastiCacheServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAE3E,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAWlE;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE;IACzC,CAAC,MAAM,EAAE,kBAAkB,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACzG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,kBAAkB,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKtG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,WAAY,mBAAmB,MAAM,qCACf,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAQ3E,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toElastiCacheClientConfig = exports.setElastiCacheServiceConfig = exports.withElastiCacheServiceConfig = void 0;
4
+ const commons_1 = require("@effect-aws/commons");
5
+ const effect_1 = require("effect");
6
+ const Function_1 = require("effect/Function");
7
+ const GlobalValue_1 = require("effect/GlobalValue");
8
+ /**
9
+ * @since 1.0.0
10
+ * @category elasticache service config
11
+ */
12
+ const currentElastiCacheServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-elasticache/currentElastiCacheServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
13
+ /**
14
+ * @since 1.0.0
15
+ * @category elasticache service config
16
+ */
17
+ exports.withElastiCacheServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentElastiCacheServiceConfig, config));
18
+ /**
19
+ * @since 1.0.0
20
+ * @category elasticache service config
21
+ */
22
+ const setElastiCacheServiceConfig = (config) => effect_1.Layer.locallyScoped(currentElastiCacheServiceConfig, config);
23
+ exports.setElastiCacheServiceConfig = setElastiCacheServiceConfig;
24
+ /**
25
+ * @since 1.0.0
26
+ * @category adapters
27
+ */
28
+ exports.toElastiCacheClientConfig = effect_1.Effect.gen(function* () {
29
+ const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentElastiCacheServiceConfig);
30
+ const logger = serviceLogger === true
31
+ ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.defaultServiceLogger)
32
+ : (serviceLogger ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.make(serviceLogger)) : undefined);
33
+ return { logger, ...config };
34
+ });
35
+ //# sourceMappingURL=Elasti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AAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
@@ -1,11 +1,7 @@
1
- import type { APICallRateForCustomerExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, CacheClusterAlreadyExistsFault, CacheClusterNotFoundFault, CacheParameterGroupAlreadyExistsFault, CacheParameterGroupNotFoundFault, CacheParameterGroupQuotaExceededFault, CacheSecurityGroupAlreadyExistsFault, CacheSecurityGroupNotFoundFault, CacheSecurityGroupQuotaExceededFault, CacheSubnetGroupAlreadyExistsFault, CacheSubnetGroupInUse, CacheSubnetGroupNotFoundFault, CacheSubnetGroupQuotaExceededFault, CacheSubnetQuotaExceededFault, ClusterQuotaForCustomerExceededFault, DefaultUserAssociatedToUserGroupFault, DefaultUserRequired, DuplicateUserNameFault, GlobalReplicationGroupAlreadyExistsFault, GlobalReplicationGroupNotFoundFault, InsufficientCacheClusterCapacityFault, InvalidARNFault, InvalidCacheClusterStateFault, InvalidCacheParameterGroupStateFault, InvalidCacheSecurityGroupStateFault, InvalidCredentialsException, InvalidGlobalReplicationGroupStateFault, InvalidKMSKeyFault, InvalidParameterCombinationException, InvalidParameterValueException, InvalidReplicationGroupStateFault, InvalidServerlessCacheSnapshotStateFault, InvalidServerlessCacheStateFault, InvalidSnapshotStateFault, InvalidSubnet, InvalidUserGroupStateFault, InvalidUserStateFault, InvalidVPCNetworkStateFault, NoOperationFault, NodeGroupNotFoundFault, NodeGroupsPerReplicationGroupQuotaExceededFault, NodeQuotaForClusterExceededFault, NodeQuotaForCustomerExceededFault, ReplicationGroupAlreadyExistsFault, ReplicationGroupAlreadyUnderMigrationFault, ReplicationGroupNotFoundFault, ReplicationGroupNotUnderMigrationFault, ReservedCacheNodeAlreadyExistsFault, ReservedCacheNodeNotFoundFault, ReservedCacheNodeQuotaExceededFault, ReservedCacheNodesOfferingNotFoundFault, ServerlessCacheAlreadyExistsFault, ServerlessCacheNotFoundFault, ServerlessCacheQuotaForCustomerExceededFault, ServerlessCacheSnapshotAlreadyExistsFault, ServerlessCacheSnapshotNotFoundFault, ServerlessCacheSnapshotQuotaExceededFault, ServiceLinkedRoleNotFoundFault, ServiceUpdateNotFoundFault, SnapshotAlreadyExistsFault, SnapshotFeatureNotSupportedFault, SnapshotNotFoundFault, SnapshotQuotaExceededFault, SubnetInUse, SubnetNotAllowedFault, TagNotFoundFault, TagQuotaPerResourceExceeded, TestFailoverNotAvailableFault, UserAlreadyExistsFault, UserGroupAlreadyExistsFault, UserGroupNotFoundFault, UserGroupQuotaExceededFault, UserNotFoundFault, UserQuotaExceededFault } from "@aws-sdk/client-elasticache";
2
- import { Data } from "effect";
3
- export declare const AllServiceErrors: string[];
4
- export type TaggedException<T extends {
5
- name: string;
6
- }> = T & {
7
- readonly _tag: T["name"];
8
- };
1
+ import type { APICallRateForCustomerExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, CacheClusterAlreadyExistsFault, CacheClusterNotFoundFault, CacheParameterGroupAlreadyExistsFault, CacheParameterGroupNotFoundFault, CacheParameterGroupQuotaExceededFault, CacheSecurityGroupAlreadyExistsFault, CacheSecurityGroupNotFoundFault, CacheSecurityGroupQuotaExceededFault, CacheSubnetGroupAlreadyExistsFault, CacheSubnetGroupInUse, CacheSubnetGroupNotFoundFault, CacheSubnetGroupQuotaExceededFault, CacheSubnetQuotaExceededFault, ClusterQuotaForCustomerExceededFault, DefaultUserAssociatedToUserGroupFault, DefaultUserRequired, DuplicateUserNameFault, GlobalReplicationGroupAlreadyExistsFault, GlobalReplicationGroupNotFoundFault, InsufficientCacheClusterCapacityFault, InvalidARNFault, InvalidCacheClusterStateFault, InvalidCacheParameterGroupStateFault, InvalidCacheSecurityGroupStateFault, InvalidCredentialsException, InvalidGlobalReplicationGroupStateFault, InvalidKMSKeyFault, InvalidParameterCombinationException, InvalidParameterValueException, InvalidReplicationGroupStateFault, InvalidServerlessCacheSnapshotStateFault, InvalidServerlessCacheStateFault, InvalidSnapshotStateFault, InvalidSubnet, InvalidUserGroupStateFault, InvalidUserStateFault, InvalidVPCNetworkStateFault, NodeGroupNotFoundFault, NodeGroupsPerReplicationGroupQuotaExceededFault, NodeQuotaForClusterExceededFault, NodeQuotaForCustomerExceededFault, NoOperationFault, ReplicationGroupAlreadyExistsFault, ReplicationGroupAlreadyUnderMigrationFault, ReplicationGroupNotFoundFault, ReplicationGroupNotUnderMigrationFault, ReservedCacheNodeAlreadyExistsFault, ReservedCacheNodeNotFoundFault, ReservedCacheNodeQuotaExceededFault, ReservedCacheNodesOfferingNotFoundFault, ServerlessCacheAlreadyExistsFault, ServerlessCacheNotFoundFault, ServerlessCacheQuotaForCustomerExceededFault, ServerlessCacheSnapshotAlreadyExistsFault, ServerlessCacheSnapshotNotFoundFault, ServerlessCacheSnapshotQuotaExceededFault, ServiceLinkedRoleNotFoundFault, ServiceUpdateNotFoundFault, SnapshotAlreadyExistsFault, SnapshotFeatureNotSupportedFault, SnapshotNotFoundFault, SnapshotQuotaExceededFault, SubnetInUse, SubnetNotAllowedFault, TagNotFoundFault, TagQuotaPerResourceExceeded, TestFailoverNotAvailableFault, UserAlreadyExistsFault, UserGroupAlreadyExistsFault, UserGroupNotFoundFault, UserGroupQuotaExceededFault, UserNotFoundFault, UserQuotaExceededFault } from "@aws-sdk/client-elasticache";
2
+ import type { TaggedException } from "@effect-aws/commons";
3
+ import { SdkError as CommonSdkError } from "@effect-aws/commons";
4
+ export declare const AllServiceErrors: readonly ["APICallRateForCustomerExceededFault", "AuthorizationAlreadyExistsFault", "AuthorizationNotFoundFault", "CacheClusterAlreadyExistsFault", "CacheClusterNotFoundFault", "CacheParameterGroupAlreadyExistsFault", "CacheParameterGroupNotFoundFault", "CacheParameterGroupQuotaExceededFault", "CacheSecurityGroupAlreadyExistsFault", "CacheSecurityGroupNotFoundFault", "CacheSecurityGroupQuotaExceededFault", "CacheSubnetGroupAlreadyExistsFault", "CacheSubnetGroupInUse", "CacheSubnetGroupNotFoundFault", "CacheSubnetGroupQuotaExceededFault", "CacheSubnetQuotaExceededFault", "ClusterQuotaForCustomerExceededFault", "DefaultUserAssociatedToUserGroupFault", "DefaultUserRequired", "DuplicateUserNameFault", "GlobalReplicationGroupAlreadyExistsFault", "GlobalReplicationGroupNotFoundFault", "InsufficientCacheClusterCapacityFault", "InvalidARNFault", "InvalidCacheClusterStateFault", "InvalidCacheParameterGroupStateFault", "InvalidCacheSecurityGroupStateFault", "InvalidCredentialsException", "InvalidGlobalReplicationGroupStateFault", "InvalidKMSKeyFault", "InvalidParameterCombinationException", "InvalidParameterValueException", "InvalidReplicationGroupStateFault", "InvalidServerlessCacheSnapshotStateFault", "InvalidServerlessCacheStateFault", "InvalidSnapshotStateFault", "InvalidSubnet", "InvalidUserGroupStateFault", "InvalidUserStateFault", "InvalidVPCNetworkStateFault", "NoOperationFault", "NodeGroupNotFoundFault", "NodeGroupsPerReplicationGroupQuotaExceededFault", "NodeQuotaForClusterExceededFault", "NodeQuotaForCustomerExceededFault", "ReplicationGroupAlreadyExistsFault", "ReplicationGroupAlreadyUnderMigrationFault", "ReplicationGroupNotFoundFault", "ReplicationGroupNotUnderMigrationFault", "ReservedCacheNodeAlreadyExistsFault", "ReservedCacheNodeNotFoundFault", "ReservedCacheNodeQuotaExceededFault", "ReservedCacheNodesOfferingNotFoundFault", "ServerlessCacheAlreadyExistsFault", "ServerlessCacheNotFoundFault", "ServerlessCacheQuotaForCustomerExceededFault", "ServerlessCacheSnapshotAlreadyExistsFault", "ServerlessCacheSnapshotNotFoundFault", "ServerlessCacheSnapshotQuotaExceededFault", "ServiceLinkedRoleNotFoundFault", "ServiceUpdateNotFoundFault", "SnapshotAlreadyExistsFault", "SnapshotFeatureNotSupportedFault", "SnapshotNotFoundFault", "SnapshotQuotaExceededFault", "SubnetInUse", "SubnetNotAllowedFault", "TagNotFoundFault", "TagQuotaPerResourceExceeded", "TestFailoverNotAvailableFault", "UserAlreadyExistsFault", "UserGroupAlreadyExistsFault", "UserGroupNotFoundFault", "UserGroupQuotaExceededFault", "UserNotFoundFault", "UserQuotaExceededFault"];
9
5
  export type APICallRateForCustomerExceededFaultError = TaggedException<APICallRateForCustomerExceededFault>;
10
6
  export type AuthorizationAlreadyExistsFaultError = TaggedException<AuthorizationAlreadyExistsFault>;
11
7
  export type AuthorizationNotFoundFaultError = TaggedException<AuthorizationNotFoundFault>;
@@ -82,7 +78,6 @@ export type UserGroupNotFoundFaultError = TaggedException<UserGroupNotFoundFault
82
78
  export type UserGroupQuotaExceededFaultError = TaggedException<UserGroupQuotaExceededFault>;
83
79
  export type UserNotFoundFaultError = TaggedException<UserNotFoundFault>;
84
80
  export type UserQuotaExceededFaultError = TaggedException<UserQuotaExceededFault>;
85
- export type SdkError = TaggedException<Error & {
86
- name: "SdkError";
87
- }>;
88
- export declare const SdkError: Data.Case.Constructor<SdkError, "_tag">;
81
+ export type SdkError = CommonSdkError;
82
+ export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
83
+ //# 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,mCAAmC,EACnC,+BAA+B,EAC/B,0BAA0B,EAC1B,8BAA8B,EAC9B,yBAAyB,EACzB,qCAAqC,EACrC,gCAAgC,EAChC,qCAAqC,EACrC,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,kCAAkC,EAClC,qBAAqB,EACrB,6BAA6B,EAC7B,kCAAkC,EAClC,6BAA6B,EAC7B,oCAAoC,EACpC,qCAAqC,EACrC,mBAAmB,EACnB,sBAAsB,EACtB,wCAAwC,EACxC,mCAAmC,EACnC,qCAAqC,EACrC,eAAe,EACf,6BAA6B,EAC7B,oCAAoC,EACpC,mCAAmC,EACnC,2BAA2B,EAC3B,uCAAuC,EACvC,kBAAkB,EAClB,oCAAoC,EACpC,8BAA8B,EAC9B,iCAAiC,EACjC,wCAAwC,EACxC,gCAAgC,EAChC,yBAAyB,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,eAAe,CAAC,qBAAqB,CAAC,CAAC;AAChF,MAAM,MAAM,+BAA+B,GAAG,eAAe,CAAC,0BAA0B,CAAC,CAAC;AAC1F,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,WAAW,CAAC,CAAC;AAC5D,MAAM,MAAM,0BAA0B,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AAChF,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC;AACtE,MAAM,MAAM,gCAAgC,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AAC5F,MAAM,MAAM,kCAAkC,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AAChG,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AAClF,MAAM,MAAM,gCAAgC,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AAC5F,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AAClF,MAAM,MAAM,gCAAgC,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AAC5F,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AACxE,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AAElF,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SdkError = exports.AllServiceErrors = void 0;
4
+ const commons_1 = require("@effect-aws/commons");
5
+ exports.AllServiceErrors = [
6
+ "APICallRateForCustomerExceededFault",
7
+ "AuthorizationAlreadyExistsFault",
8
+ "AuthorizationNotFoundFault",
9
+ "CacheClusterAlreadyExistsFault",
10
+ "CacheClusterNotFoundFault",
11
+ "CacheParameterGroupAlreadyExistsFault",
12
+ "CacheParameterGroupNotFoundFault",
13
+ "CacheParameterGroupQuotaExceededFault",
14
+ "CacheSecurityGroupAlreadyExistsFault",
15
+ "CacheSecurityGroupNotFoundFault",
16
+ "CacheSecurityGroupQuotaExceededFault",
17
+ "CacheSubnetGroupAlreadyExistsFault",
18
+ "CacheSubnetGroupInUse",
19
+ "CacheSubnetGroupNotFoundFault",
20
+ "CacheSubnetGroupQuotaExceededFault",
21
+ "CacheSubnetQuotaExceededFault",
22
+ "ClusterQuotaForCustomerExceededFault",
23
+ "DefaultUserAssociatedToUserGroupFault",
24
+ "DefaultUserRequired",
25
+ "DuplicateUserNameFault",
26
+ "GlobalReplicationGroupAlreadyExistsFault",
27
+ "GlobalReplicationGroupNotFoundFault",
28
+ "InsufficientCacheClusterCapacityFault",
29
+ "InvalidARNFault",
30
+ "InvalidCacheClusterStateFault",
31
+ "InvalidCacheParameterGroupStateFault",
32
+ "InvalidCacheSecurityGroupStateFault",
33
+ "InvalidCredentialsException",
34
+ "InvalidGlobalReplicationGroupStateFault",
35
+ "InvalidKMSKeyFault",
36
+ "InvalidParameterCombinationException",
37
+ "InvalidParameterValueException",
38
+ "InvalidReplicationGroupStateFault",
39
+ "InvalidServerlessCacheSnapshotStateFault",
40
+ "InvalidServerlessCacheStateFault",
41
+ "InvalidSnapshotStateFault",
42
+ "InvalidSubnet",
43
+ "InvalidUserGroupStateFault",
44
+ "InvalidUserStateFault",
45
+ "InvalidVPCNetworkStateFault",
46
+ "NoOperationFault",
47
+ "NodeGroupNotFoundFault",
48
+ "NodeGroupsPerReplicationGroupQuotaExceededFault",
49
+ "NodeQuotaForClusterExceededFault",
50
+ "NodeQuotaForCustomerExceededFault",
51
+ "ReplicationGroupAlreadyExistsFault",
52
+ "ReplicationGroupAlreadyUnderMigrationFault",
53
+ "ReplicationGroupNotFoundFault",
54
+ "ReplicationGroupNotUnderMigrationFault",
55
+ "ReservedCacheNodeAlreadyExistsFault",
56
+ "ReservedCacheNodeNotFoundFault",
57
+ "ReservedCacheNodeQuotaExceededFault",
58
+ "ReservedCacheNodesOfferingNotFoundFault",
59
+ "ServerlessCacheAlreadyExistsFault",
60
+ "ServerlessCacheNotFoundFault",
61
+ "ServerlessCacheQuotaForCustomerExceededFault",
62
+ "ServerlessCacheSnapshotAlreadyExistsFault",
63
+ "ServerlessCacheSnapshotNotFoundFault",
64
+ "ServerlessCacheSnapshotQuotaExceededFault",
65
+ "ServiceLinkedRoleNotFoundFault",
66
+ "ServiceUpdateNotFoundFault",
67
+ "SnapshotAlreadyExistsFault",
68
+ "SnapshotFeatureNotSupportedFault",
69
+ "SnapshotNotFoundFault",
70
+ "SnapshotQuotaExceededFault",
71
+ "SubnetInUse",
72
+ "SubnetNotAllowedFault",
73
+ "TagNotFoundFault",
74
+ "TagQuotaPerResourceExceeded",
75
+ "TestFailoverNotAvailableFault",
76
+ "UserAlreadyExistsFault",
77
+ "UserGroupAlreadyExistsFault",
78
+ "UserGroupNotFoundFault",
79
+ "UserGroupQuotaExceededFault",
80
+ "UserNotFoundFault",
81
+ "UserQuotaExceededFault",
82
+ ];
83
+ exports.SdkError = commons_1.SdkError;
84
+ //# sourceMappingURL=Errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AA+EA,iDAAiE;AAEpD,QAAA,gBAAgB,GAAG;IAC9B,qCAAqC;IACrC,iCAAiC;IACjC,4BAA4B;IAC5B,gCAAgC;IAChC,2BAA2B;IAC3B,uCAAuC;IACvC,kCAAkC;IAClC,uCAAuC;IACvC,sCAAsC;IACtC,iCAAiC;IACjC,sCAAsC;IACtC,oCAAoC;IACpC,uBAAuB;IACvB,+BAA+B;IAC/B,oCAAoC;IACpC,+BAA+B;IAC/B,sCAAsC;IACtC,uCAAuC;IACvC,qBAAqB;IACrB,wBAAwB;IACxB,0CAA0C;IAC1C,qCAAqC;IACrC,uCAAuC;IACvC,iBAAiB;IACjB,+BAA+B;IAC/B,sCAAsC;IACtC,qCAAqC;IACrC,6BAA6B;IAC7B,yCAAyC;IACzC,oBAAoB;IACpB,sCAAsC;IACtC,gCAAgC;IAChC,mCAAmC;IACnC,0CAA0C;IAC1C,kCAAkC;IAClC,2BAA2B;IAC3B,eAAe;IACf,4BAA4B;IAC5B,uBAAuB;IACvB,6BAA6B;IAC7B,kBAAkB;IAClB,wBAAwB;IACxB,iDAAiD;IACjD,kCAAkC;IAClC,mCAAmC;IACnC,oCAAoC;IACpC,4CAA4C;IAC5C,+BAA+B;IAC/B,wCAAwC;IACxC,qCAAqC;IACrC,gCAAgC;IAChC,qCAAqC;IACrC,yCAAyC;IACzC,mCAAmC;IACnC,8BAA8B;IAC9B,8CAA8C;IAC9C,2CAA2C;IAC3C,sCAAsC;IACtC,2CAA2C;IAC3C,gCAAgC;IAChC,4BAA4B;IAC5B,4BAA4B;IAC5B,kCAAkC;IAClC,uBAAuB;IACvB,4BAA4B;IAC5B,aAAa;IACb,uBAAuB;IACvB,kBAAkB;IAClB,6BAA6B;IAC7B,+BAA+B;IAC/B,wBAAwB;IACxB,6BAA6B;IAC7B,wBAAwB;IACxB,6BAA6B;IAC7B,mBAAmB;IACnB,wBAAwB;CAChB,CAAC;AAsFE,QAAA,QAAQ,GAAG,kBAAc,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { ElastiCacheService } from "./ElastiCacheService.js";
5
+ /**
6
+ * @since 1.0.0
7
+ */
8
+ export * from "./Errors.js";
9
+ /**
10
+ * @since 1.0.0
11
+ */
12
+ export * as ElastiCacheClientInstance from "./ElastiCacheClientInstance.js";
13
+ /**
14
+ * @since 1.0.0
15
+ */
16
+ export * as ElastiCacheServiceConfig from "./ElastiCacheServiceConfig.js";
17
+ /**
18
+ * @since 1.0.0
19
+ */
20
+ export * from "./ElastiCacheService.js";
21
+ /**
22
+ * @since 1.0.0
23
+ * @category exports
24
+ * @alias ElastiCacheService
25
+ */
26
+ export declare namespace ElastiCache {
27
+ /**
28
+ * @since 1.0.0
29
+ * @alias ElastiCacheService.Config
30
+ */
31
+ type Config = ElastiCacheService.Config;
32
+ }
33
+ /**
34
+ * @since 1.0.0
35
+ * @category exports
36
+ * @alias ElastiCacheService
37
+ */
38
+ export declare const ElastiCache: typeof ElastiCacheService;
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,yBAAyB,MAAM,gCAAgC,CAAC;AAE5E;;GAEG;AACH,OAAO,KAAK,wBAAwB,MAAM,+BAA+B,CAAC;AAE1E;;GAEG;AACH,cAAc,yBAAyB,CAAC;AAExC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC;;;OAGG;IACH,KAAY,MAAM,GAAG,kBAAkB,CAAC,MAAM,CAAC;CAChD;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,2BAAqB,CAAC"}
@@ -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.ElastiCache = exports.ElastiCacheServiceConfig = exports.ElastiCacheClientInstance = void 0;
30
+ /**
31
+ * @since 1.0.0
32
+ */
33
+ const ElastiCacheService_js_1 = require("./ElastiCacheService.js");
34
+ /**
35
+ * @since 1.0.0
36
+ */
37
+ __exportStar(require("./Errors.js"), exports);
38
+ /**
39
+ * @since 1.0.0
40
+ */
41
+ exports.ElastiCacheClientInstance = __importStar(require("./ElastiCacheClientInstance.js"));
42
+ /**
43
+ * @since 1.0.0
44
+ */
45
+ exports.ElastiCacheServiceConfig = __importStar(require("./ElastiCacheServiceConfig.js"));
46
+ /**
47
+ * @since 1.0.0
48
+ */
49
+ __exportStar(require("./ElastiCacheService.js"), exports);
50
+ /**
51
+ * @since 1.0.0
52
+ * @category exports
53
+ * @alias ElastiCacheService
54
+ */
55
+ exports.ElastiCache = ElastiCacheService_js_1.ElastiCacheService;
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,mEAA6D;AAE7D;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,4FAA4E;AAE5E;;GAEG;AACH,0FAA0E;AAE1E;;GAEG;AACH,0DAAwC;AAexC;;;;GAIG;AACU,QAAA,WAAW,GAAG,0CAAkB,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { ElastiCacheClient } from "@aws-sdk/client-elasticache";
5
+ import { Context, Effect, Layer } from "effect";
6
+ declare const ElastiCacheClientInstance_base: Context.TagClass<ElastiCacheClientInstance, "@effect-aws/client-elasticache/ElastiCacheClientInstance", ElastiCacheClient>;
7
+ /**
8
+ * @since 1.0.0
9
+ * @category tags
10
+ */
11
+ export declare class ElastiCacheClientInstance extends ElastiCacheClientInstance_base {
12
+ }
13
+ /**
14
+ * @since 1.0.0
15
+ * @category constructors
16
+ */
17
+ export declare const make: Effect.Effect<ElastiCacheClient, never, import("effect/Scope").Scope>;
18
+ /**
19
+ * @since 1.0.0
20
+ * @category layers
21
+ */
22
+ export declare const layer: Layer.Layer<ElastiCacheClientInstance, never, never>;
23
+ export {};
24
+ //# sourceMappingURL=ElastiCacheClientInstance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ElastiCacheClientInstance.d.ts","sourceRoot":"","sources":["../../src/ElastiCacheClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,yBAA0B,SAAQ,8BAEE;CAAG;AAEpD;;;GAGG;AACH,eAAO,MAAM,IAAI,uEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,sDAAgD,CAAC"}