@effect-aws/client-timestream-influxdb 1.10.9 → 2.0.0-beta.1

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 (38) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -3
  3. package/dist/dts/TimestreamInfluxDBClientInstance.d.ts +4 -2
  4. package/dist/dts/TimestreamInfluxDBClientInstance.d.ts.map +1 -1
  5. package/dist/dts/TimestreamInfluxDBService.d.ts +24 -24
  6. package/dist/dts/TimestreamInfluxDBService.d.ts.map +1 -1
  7. package/dist/dts/TimestreamInfluxDBServiceConfig.d.ts +2 -1
  8. package/dist/dts/TimestreamInfluxDBServiceConfig.d.ts.map +1 -1
  9. package/dist/esm/TimestreamInfluxDBClientInstance.js +5 -3
  10. package/dist/esm/TimestreamInfluxDBClientInstance.js.map +1 -1
  11. package/dist/esm/TimestreamInfluxDBService.js +4 -2
  12. package/dist/esm/TimestreamInfluxDBService.js.map +1 -1
  13. package/dist/esm/TimestreamInfluxDBServiceConfig.js +7 -6
  14. package/dist/esm/TimestreamInfluxDBServiceConfig.js.map +1 -1
  15. package/package.json +8 -14
  16. package/src/TimestreamInfluxDBClientInstance.ts +9 -5
  17. package/src/TimestreamInfluxDBService.ts +27 -27
  18. package/src/TimestreamInfluxDBServiceConfig.ts +8 -7
  19. package/dist/cjs/Errors.d.ts +0 -14
  20. package/dist/cjs/Errors.d.ts.map +0 -1
  21. package/dist/cjs/Errors.js +0 -13
  22. package/dist/cjs/Errors.js.map +0 -1
  23. package/dist/cjs/TimestreamInfluxDBClientInstance.d.ts +0 -24
  24. package/dist/cjs/TimestreamInfluxDBClientInstance.d.ts.map +0 -1
  25. package/dist/cjs/TimestreamInfluxDBClientInstance.js +0 -50
  26. package/dist/cjs/TimestreamInfluxDBClientInstance.js.map +0 -1
  27. package/dist/cjs/TimestreamInfluxDBService.d.ts +0 -122
  28. package/dist/cjs/TimestreamInfluxDBService.d.ts.map +0 -1
  29. package/dist/cjs/TimestreamInfluxDBService.js +0 -78
  30. package/dist/cjs/TimestreamInfluxDBService.js.map +0 -1
  31. package/dist/cjs/TimestreamInfluxDBServiceConfig.d.ts +0 -25
  32. package/dist/cjs/TimestreamInfluxDBServiceConfig.d.ts.map +0 -1
  33. package/dist/cjs/TimestreamInfluxDBServiceConfig.js +0 -35
  34. package/dist/cjs/TimestreamInfluxDBServiceConfig.js.map +0 -1
  35. package/dist/cjs/index.d.ts +0 -44
  36. package/dist/cjs/index.d.ts.map +0 -1
  37. package/dist/cjs/index.js +0 -56
  38. package/dist/cjs/index.js.map +0 -1
@@ -64,8 +64,10 @@ import {
64
64
  } from "@aws-sdk/client-timestream-influxdb";
65
65
  import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
66
66
  import { Service } from "@effect-aws/commons";
67
- import type { Cause } from "effect";
68
- import { Effect, Layer } from "effect";
67
+ import type * as Cause from "effect/Cause";
68
+ import * as Effect from "effect/Effect";
69
+ import * as Layer from "effect/Layer";
70
+ import * as ServiceMap from "effect/ServiceMap";
69
71
  import type {
70
72
  AccessDeniedError,
71
73
  ConflictError,
@@ -113,7 +115,7 @@ interface TimestreamInfluxDBService$ {
113
115
  options?: HttpHandlerOptions,
114
116
  ): Effect.Effect<
115
117
  CreateDbClusterCommandOutput,
116
- | Cause.TimeoutException
118
+ | Cause.TimeoutError
117
119
  | SdkError
118
120
  | AccessDeniedError
119
121
  | ConflictError
@@ -132,7 +134,7 @@ interface TimestreamInfluxDBService$ {
132
134
  options?: HttpHandlerOptions,
133
135
  ): Effect.Effect<
134
136
  CreateDbInstanceCommandOutput,
135
- | Cause.TimeoutException
137
+ | Cause.TimeoutError
136
138
  | SdkError
137
139
  | AccessDeniedError
138
140
  | ConflictError
@@ -151,7 +153,7 @@ interface TimestreamInfluxDBService$ {
151
153
  options?: HttpHandlerOptions,
152
154
  ): Effect.Effect<
153
155
  CreateDbParameterGroupCommandOutput,
154
- | Cause.TimeoutException
156
+ | Cause.TimeoutError
155
157
  | SdkError
156
158
  | AccessDeniedError
157
159
  | ConflictError
@@ -170,7 +172,7 @@ interface TimestreamInfluxDBService$ {
170
172
  options?: HttpHandlerOptions,
171
173
  ): Effect.Effect<
172
174
  DeleteDbClusterCommandOutput,
173
- | Cause.TimeoutException
175
+ | Cause.TimeoutError
174
176
  | SdkError
175
177
  | AccessDeniedError
176
178
  | ConflictError
@@ -188,7 +190,7 @@ interface TimestreamInfluxDBService$ {
188
190
  options?: HttpHandlerOptions,
189
191
  ): Effect.Effect<
190
192
  DeleteDbInstanceCommandOutput,
191
- | Cause.TimeoutException
193
+ | Cause.TimeoutError
192
194
  | SdkError
193
195
  | AccessDeniedError
194
196
  | ConflictError
@@ -206,7 +208,7 @@ interface TimestreamInfluxDBService$ {
206
208
  options?: HttpHandlerOptions,
207
209
  ): Effect.Effect<
208
210
  GetDbClusterCommandOutput,
209
- | Cause.TimeoutException
211
+ | Cause.TimeoutError
210
212
  | SdkError
211
213
  | AccessDeniedError
212
214
  | InternalServerError
@@ -223,7 +225,7 @@ interface TimestreamInfluxDBService$ {
223
225
  options?: HttpHandlerOptions,
224
226
  ): Effect.Effect<
225
227
  GetDbInstanceCommandOutput,
226
- | Cause.TimeoutException
228
+ | Cause.TimeoutError
227
229
  | SdkError
228
230
  | AccessDeniedError
229
231
  | InternalServerError
@@ -240,7 +242,7 @@ interface TimestreamInfluxDBService$ {
240
242
  options?: HttpHandlerOptions,
241
243
  ): Effect.Effect<
242
244
  GetDbParameterGroupCommandOutput,
243
- | Cause.TimeoutException
245
+ | Cause.TimeoutError
244
246
  | SdkError
245
247
  | AccessDeniedError
246
248
  | InternalServerError
@@ -257,7 +259,7 @@ interface TimestreamInfluxDBService$ {
257
259
  options?: HttpHandlerOptions,
258
260
  ): Effect.Effect<
259
261
  ListDbClustersCommandOutput,
260
- | Cause.TimeoutException
262
+ | Cause.TimeoutError
261
263
  | SdkError
262
264
  | AccessDeniedError
263
265
  | InternalServerError
@@ -274,7 +276,7 @@ interface TimestreamInfluxDBService$ {
274
276
  options?: HttpHandlerOptions,
275
277
  ): Effect.Effect<
276
278
  ListDbInstancesCommandOutput,
277
- | Cause.TimeoutException
279
+ | Cause.TimeoutError
278
280
  | SdkError
279
281
  | AccessDeniedError
280
282
  | InternalServerError
@@ -291,7 +293,7 @@ interface TimestreamInfluxDBService$ {
291
293
  options?: HttpHandlerOptions,
292
294
  ): Effect.Effect<
293
295
  ListDbInstancesForClusterCommandOutput,
294
- | Cause.TimeoutException
296
+ | Cause.TimeoutError
295
297
  | SdkError
296
298
  | AccessDeniedError
297
299
  | InternalServerError
@@ -308,7 +310,7 @@ interface TimestreamInfluxDBService$ {
308
310
  options?: HttpHandlerOptions,
309
311
  ): Effect.Effect<
310
312
  ListDbParameterGroupsCommandOutput,
311
- | Cause.TimeoutException
313
+ | Cause.TimeoutError
312
314
  | SdkError
313
315
  | AccessDeniedError
314
316
  | InternalServerError
@@ -325,7 +327,7 @@ interface TimestreamInfluxDBService$ {
325
327
  options?: HttpHandlerOptions,
326
328
  ): Effect.Effect<
327
329
  ListTagsForResourceCommandOutput,
328
- Cause.TimeoutException | SdkError | ResourceNotFoundError
330
+ Cause.TimeoutError | SdkError | ResourceNotFoundError
329
331
  >;
330
332
 
331
333
  /**
@@ -336,7 +338,7 @@ interface TimestreamInfluxDBService$ {
336
338
  options?: HttpHandlerOptions,
337
339
  ): Effect.Effect<
338
340
  RebootDbClusterCommandOutput,
339
- | Cause.TimeoutException
341
+ | Cause.TimeoutError
340
342
  | SdkError
341
343
  | AccessDeniedError
342
344
  | ConflictError
@@ -354,7 +356,7 @@ interface TimestreamInfluxDBService$ {
354
356
  options?: HttpHandlerOptions,
355
357
  ): Effect.Effect<
356
358
  RebootDbInstanceCommandOutput,
357
- | Cause.TimeoutException
359
+ | Cause.TimeoutError
358
360
  | SdkError
359
361
  | AccessDeniedError
360
362
  | ConflictError
@@ -372,7 +374,7 @@ interface TimestreamInfluxDBService$ {
372
374
  options?: HttpHandlerOptions,
373
375
  ): Effect.Effect<
374
376
  TagResourceCommandOutput,
375
- Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceQuotaExceededError
377
+ Cause.TimeoutError | SdkError | ResourceNotFoundError | ServiceQuotaExceededError
376
378
  >;
377
379
 
378
380
  /**
@@ -383,7 +385,7 @@ interface TimestreamInfluxDBService$ {
383
385
  options?: HttpHandlerOptions,
384
386
  ): Effect.Effect<
385
387
  UntagResourceCommandOutput,
386
- Cause.TimeoutException | SdkError | ResourceNotFoundError
388
+ Cause.TimeoutError | SdkError | ResourceNotFoundError
387
389
  >;
388
390
 
389
391
  /**
@@ -394,7 +396,7 @@ interface TimestreamInfluxDBService$ {
394
396
  options?: HttpHandlerOptions,
395
397
  ): Effect.Effect<
396
398
  UpdateDbClusterCommandOutput,
397
- | Cause.TimeoutException
399
+ | Cause.TimeoutError
398
400
  | SdkError
399
401
  | AccessDeniedError
400
402
  | ConflictError
@@ -412,7 +414,7 @@ interface TimestreamInfluxDBService$ {
412
414
  options?: HttpHandlerOptions,
413
415
  ): Effect.Effect<
414
416
  UpdateDbInstanceCommandOutput,
415
- | Cause.TimeoutException
417
+ | Cause.TimeoutError
416
418
  | SdkError
417
419
  | AccessDeniedError
418
420
  | ConflictError
@@ -444,12 +446,10 @@ export const makeTimestreamInfluxDBService = Effect.gen(function*() {
444
446
  * @since 1.0.0
445
447
  * @category models
446
448
  */
447
- export class TimestreamInfluxDBService
448
- extends Effect.Tag("@effect-aws/client-timestream-influxdb/TimestreamInfluxDBService")<
449
- TimestreamInfluxDBService,
450
- TimestreamInfluxDBService$
451
- >()
452
- {
449
+ export class TimestreamInfluxDBService extends ServiceMap.Service<
450
+ TimestreamInfluxDBService,
451
+ TimestreamInfluxDBService$
452
+ >()("@effect-aws/client-timestream-influxdb/TimestreamInfluxDBService") {
453
453
  static readonly defaultLayer = Layer.effect(this, makeTimestreamInfluxDBService).pipe(Layer.provide(Instance.layer));
454
454
  static readonly layer = (config: TimestreamInfluxDBService.Config) =>
455
455
  Layer.effect(this, makeTimestreamInfluxDBService).pipe(
@@ -3,18 +3,19 @@
3
3
  */
4
4
  import type { TimestreamInfluxDBClientConfig } from "@aws-sdk/client-timestream-influxdb";
5
5
  import { ServiceLogger } from "@effect-aws/commons";
6
- import { Effect, FiberRef, Layer } from "effect";
6
+ import * as Effect from "effect/Effect";
7
7
  import { dual } from "effect/Function";
8
- import { globalValue } from "effect/GlobalValue";
8
+ import * as Layer from "effect/Layer";
9
+ import * as ServiceMap from "effect/ServiceMap";
9
10
  import type { TimestreamInfluxDBService } from "./TimestreamInfluxDBService.js";
10
11
 
11
12
  /**
12
13
  * @since 1.0.0
13
14
  * @category timestream-influxdb service config
14
15
  */
15
- const currentTimestreamInfluxDBServiceConfig = globalValue(
16
+ const currentTimestreamInfluxDBServiceConfig = ServiceMap.Reference<TimestreamInfluxDBService.Config>(
16
17
  "@effect-aws/client-timestream-influxdb/currentTimestreamInfluxDBServiceConfig",
17
- () => FiberRef.unsafeMake<TimestreamInfluxDBService.Config>({}),
18
+ { defaultValue: () => ({}) },
18
19
  );
19
20
 
20
21
  /**
@@ -27,7 +28,7 @@ export const withTimestreamInfluxDBServiceConfig: {
27
28
  } = dual(
28
29
  2,
29
30
  <A, E, R>(effect: Effect.Effect<A, E, R>, config: TimestreamInfluxDBService.Config): Effect.Effect<A, E, R> =>
30
- Effect.locally(effect, currentTimestreamInfluxDBServiceConfig, config),
31
+ Effect.provideService(effect, currentTimestreamInfluxDBServiceConfig, config),
31
32
  );
32
33
 
33
34
  /**
@@ -35,14 +36,14 @@ export const withTimestreamInfluxDBServiceConfig: {
35
36
  * @category timestream-influxdb service config
36
37
  */
37
38
  export const setTimestreamInfluxDBServiceConfig = (config: TimestreamInfluxDBService.Config) =>
38
- Layer.locallyScoped(currentTimestreamInfluxDBServiceConfig, config);
39
+ Layer.succeed(currentTimestreamInfluxDBServiceConfig, config);
39
40
 
40
41
  /**
41
42
  * @since 1.0.0
42
43
  * @category adapters
43
44
  */
44
45
  export const toTimestreamInfluxDBClientConfig: Effect.Effect<TimestreamInfluxDBClientConfig> = Effect.gen(function*() {
45
- const { logger: serviceLogger, ...config } = yield* FiberRef.get(currentTimestreamInfluxDBServiceConfig);
46
+ const { logger: serviceLogger, ...config } = yield* currentTimestreamInfluxDBServiceConfig;
46
47
 
47
48
  const logger = serviceLogger === true
48
49
  ? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
@@ -1,14 +0,0 @@
1
- import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "@aws-sdk/client-timestream-influxdb";
2
- import type { TaggedException } from "@effect-aws/commons";
3
- export declare const AllServiceErrors: readonly ["AccessDeniedException", "ConflictException", "InternalServerException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ThrottlingException", "ValidationException"];
4
- export type AccessDeniedError = TaggedException<AccessDeniedException>;
5
- export type ConflictError = TaggedException<ConflictException>;
6
- export type InternalServerError = TaggedException<InternalServerException>;
7
- export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
8
- export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
9
- export type ThrottlingError = TaggedException<ThrottlingException>;
10
- export type ValidationError = TaggedException<ValidationException>;
11
- export type SdkError = TaggedException<Error & {
12
- name: "SdkError";
13
- }>;
14
- //# sourceMappingURL=Errors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,gMAQnB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AllServiceErrors = void 0;
4
- exports.AllServiceErrors = [
5
- "AccessDeniedException",
6
- "ConflictException",
7
- "InternalServerException",
8
- "ResourceNotFoundException",
9
- "ServiceQuotaExceededException",
10
- "ThrottlingException",
11
- "ValidationException",
12
- ];
13
- //# sourceMappingURL=Errors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAWa,QAAA,gBAAgB,GAAG;IAC9B,uBAAuB;IACvB,mBAAmB;IACnB,yBAAyB;IACzB,2BAA2B;IAC3B,+BAA+B;IAC/B,qBAAqB;IACrB,qBAAqB;CACb,CAAC"}
@@ -1,24 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import { TimestreamInfluxDBClient } from "@aws-sdk/client-timestream-influxdb";
5
- import { Context, Effect, Layer } from "effect";
6
- declare const TimestreamInfluxDBClientInstance_base: Context.TagClass<TimestreamInfluxDBClientInstance, "@effect-aws/client-timestream-influxdb/TimestreamInfluxDBClientInstance", TimestreamInfluxDBClient>;
7
- /**
8
- * @since 1.0.0
9
- * @category tags
10
- */
11
- export declare class TimestreamInfluxDBClientInstance extends TimestreamInfluxDBClientInstance_base {
12
- }
13
- /**
14
- * @since 1.0.0
15
- * @category constructors
16
- */
17
- export declare const make: Effect.Effect<TimestreamInfluxDBClient, never, import("effect/Scope").Scope>;
18
- /**
19
- * @since 1.0.0
20
- * @category layers
21
- */
22
- export declare const layer: Layer.Layer<TimestreamInfluxDBClientInstance, never, never>;
23
- export {};
24
- //# sourceMappingURL=TimestreamInfluxDBClientInstance.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TimestreamInfluxDBClientInstance.d.ts","sourceRoot":"","sources":["../../src/TimestreamInfluxDBClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,gCAAiC,SAAQ,qCAES;CAAG;AAElE;;;GAGG;AACH,eAAO,MAAM,IAAI,8EAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,6DAAuD,CAAC"}
@@ -1,50 +0,0 @@
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.layer = exports.make = exports.TimestreamInfluxDBClientInstance = void 0;
27
- /**
28
- * @since 1.0.0
29
- */
30
- const client_timestream_influxdb_1 = require("@aws-sdk/client-timestream-influxdb");
31
- const effect_1 = require("effect");
32
- const TimestreamInfluxDBServiceConfig = __importStar(require("./TimestreamInfluxDBServiceConfig.js"));
33
- /**
34
- * @since 1.0.0
35
- * @category tags
36
- */
37
- class TimestreamInfluxDBClientInstance extends effect_1.Context.Tag("@effect-aws/client-timestream-influxdb/TimestreamInfluxDBClientInstance")() {
38
- }
39
- exports.TimestreamInfluxDBClientInstance = TimestreamInfluxDBClientInstance;
40
- /**
41
- * @since 1.0.0
42
- * @category constructors
43
- */
44
- exports.make = effect_1.Effect.flatMap(TimestreamInfluxDBServiceConfig.toTimestreamInfluxDBClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_timestream_influxdb_1.TimestreamInfluxDBClient(config)), (client) => effect_1.Effect.sync(() => client.destroy())));
45
- /**
46
- * @since 1.0.0
47
- * @category layers
48
- */
49
- exports.layer = effect_1.Layer.scoped(TimestreamInfluxDBClientInstance, exports.make);
50
- //# sourceMappingURL=TimestreamInfluxDBClientInstance.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TimestreamInfluxDBClientInstance.js","sourceRoot":"","sources":["../../src/TimestreamInfluxDBClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oFAA+E;AAC/E,mCAAgD;AAChD,sGAAwF;AAExF;;;GAGG;AACH,MAAa,gCAAiC,SAAQ,gBAAO,CAAC,GAAG,CAC/D,yEAAyE,CAC1E,EAA8D;CAAG;AAFlE,4EAEkE;AAElE;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,+BAA+B,CAAC,gCAAgC,EAChE,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,qDAAwB,CAAC,MAAM,CAAC,CAAC,EACvD,CAAC,MAAM,EAAE,EAAE,CAAC,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACU,QAAA,KAAK,GAAG,cAAK,CAAC,MAAM,CAAC,gCAAgC,EAAE,YAAI,CAAC,CAAC"}
@@ -1,122 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import { type CreateDbClusterCommandInput, type CreateDbClusterCommandOutput, type CreateDbInstanceCommandInput, type CreateDbInstanceCommandOutput, type CreateDbParameterGroupCommandInput, type CreateDbParameterGroupCommandOutput, type DeleteDbClusterCommandInput, type DeleteDbClusterCommandOutput, type DeleteDbInstanceCommandInput, type DeleteDbInstanceCommandOutput, type GetDbClusterCommandInput, type GetDbClusterCommandOutput, type GetDbInstanceCommandInput, type GetDbInstanceCommandOutput, type GetDbParameterGroupCommandInput, type GetDbParameterGroupCommandOutput, type ListDbClustersCommandInput, type ListDbClustersCommandOutput, type ListDbInstancesCommandInput, type ListDbInstancesCommandOutput, type ListDbInstancesForClusterCommandInput, type ListDbInstancesForClusterCommandOutput, type ListDbParameterGroupsCommandInput, type ListDbParameterGroupsCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type RebootDbClusterCommandInput, type RebootDbClusterCommandOutput, type RebootDbInstanceCommandInput, type RebootDbInstanceCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type TimestreamInfluxDBClient, type TimestreamInfluxDBClientConfig, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateDbClusterCommandInput, type UpdateDbClusterCommandOutput, type UpdateDbInstanceCommandInput, type UpdateDbInstanceCommandOutput } from "@aws-sdk/client-timestream-influxdb";
5
- import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
6
- import type { Cause } from "effect";
7
- import { Effect, Layer } from "effect";
8
- import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
9
- import * as Instance from "./TimestreamInfluxDBClientInstance.js";
10
- interface TimestreamInfluxDBService$ {
11
- readonly _: unique symbol;
12
- /**
13
- * @see {@link CreateDbClusterCommand}
14
- */
15
- createDbCluster(args: CreateDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
16
- /**
17
- * @see {@link CreateDbInstanceCommand}
18
- */
19
- createDbInstance(args: CreateDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
20
- /**
21
- * @see {@link CreateDbParameterGroupCommand}
22
- */
23
- createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbParameterGroupCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
24
- /**
25
- * @see {@link DeleteDbClusterCommand}
26
- */
27
- deleteDbCluster(args: DeleteDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
28
- /**
29
- * @see {@link DeleteDbInstanceCommand}
30
- */
31
- deleteDbInstance(args: DeleteDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
32
- /**
33
- * @see {@link GetDbClusterCommand}
34
- */
35
- getDbCluster(args: GetDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
36
- /**
37
- * @see {@link GetDbInstanceCommand}
38
- */
39
- getDbInstance(args: GetDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
40
- /**
41
- * @see {@link GetDbParameterGroupCommand}
42
- */
43
- getDbParameterGroup(args: GetDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbParameterGroupCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
44
- /**
45
- * @see {@link ListDbClustersCommand}
46
- */
47
- listDbClusters(args: ListDbClustersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbClustersCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
48
- /**
49
- * @see {@link ListDbInstancesCommand}
50
- */
51
- listDbInstances(args: ListDbInstancesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbInstancesCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
52
- /**
53
- * @see {@link ListDbInstancesForClusterCommand}
54
- */
55
- listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbInstancesForClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
56
- /**
57
- * @see {@link ListDbParameterGroupsCommand}
58
- */
59
- listDbParameterGroups(args: ListDbParameterGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbParameterGroupsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
60
- /**
61
- * @see {@link ListTagsForResourceCommand}
62
- */
63
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError>;
64
- /**
65
- * @see {@link RebootDbClusterCommand}
66
- */
67
- rebootDbCluster(args: RebootDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<RebootDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
68
- /**
69
- * @see {@link RebootDbInstanceCommand}
70
- */
71
- rebootDbInstance(args: RebootDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<RebootDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
72
- /**
73
- * @see {@link TagResourceCommand}
74
- */
75
- tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceQuotaExceededError>;
76
- /**
77
- * @see {@link UntagResourceCommand}
78
- */
79
- untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError>;
80
- /**
81
- * @see {@link UpdateDbClusterCommand}
82
- */
83
- updateDbCluster(args: UpdateDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
84
- /**
85
- * @see {@link UpdateDbInstanceCommand}
86
- */
87
- updateDbInstance(args: UpdateDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
88
- }
89
- /**
90
- * @since 1.0.0
91
- * @category constructors
92
- */
93
- export declare const makeTimestreamInfluxDBService: Effect.Effect<TimestreamInfluxDBService$, never, Instance.TimestreamInfluxDBClientInstance>;
94
- declare const TimestreamInfluxDBService_base: import("effect/Context").TagClass<TimestreamInfluxDBService, "@effect-aws/client-timestream-influxdb/TimestreamInfluxDBService", TimestreamInfluxDBService$> & Effect.Tag.Proxy<TimestreamInfluxDBService, TimestreamInfluxDBService$> & {
95
- use: <X>(body: (_: TimestreamInfluxDBService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, TimestreamInfluxDBService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, TimestreamInfluxDBService> : Effect.Effect<X, never, TimestreamInfluxDBService>;
96
- };
97
- /**
98
- * @since 1.0.0
99
- * @category models
100
- */
101
- export declare class TimestreamInfluxDBService extends TimestreamInfluxDBService_base {
102
- static readonly defaultLayer: Layer.Layer<TimestreamInfluxDBService, never, never>;
103
- static readonly layer: (config: TimestreamInfluxDBService.Config) => Layer.Layer<TimestreamInfluxDBService, never, never>;
104
- static readonly baseLayer: (evaluate: (defaultConfig: TimestreamInfluxDBClientConfig) => TimestreamInfluxDBClient) => Layer.Layer<TimestreamInfluxDBService, never, never>;
105
- }
106
- /**
107
- * @since 1.0.0
108
- */
109
- export declare namespace TimestreamInfluxDBService {
110
- /**
111
- * @since 1.0.0
112
- */
113
- interface Config extends Omit<TimestreamInfluxDBClientConfig, "logger"> {
114
- readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
115
- }
116
- /**
117
- * @since 1.0.0
118
- */
119
- type Type = TimestreamInfluxDBService$;
120
- }
121
- export {};
122
- //# sourceMappingURL=TimestreamInfluxDBService.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TimestreamInfluxDBService.d.ts","sourceRoot":"","sources":["../../src/TimestreamInfluxDBService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EAExC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EAEnC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EACnC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,E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GACb,mBAAmB,GACnB,qBAAqB,GACrB,eAAe,GACf,eAAe,CAClB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,6BAA6B,6FAWxC,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,yBACX,SAAQ,8BAGL;IAEH,MAAM,CAAC,QAAQ,CAAC,YAAY,uDAAyF;IACrH,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,0BAA0B,MAAM,0DAI7D;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,8BAA8B,KAAK,wBAAwB,0DASnF;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,yBAAyB,CAAC;IACjD;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,8BAA8B,EAAE,QAAQ,CAAC;QAC5E,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;IAED;;OAEG;IACH,KAAY,IAAI,GAAG,0BAA0B,CAAC;CAC/C"}
@@ -1,78 +0,0 @@
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.TimestreamInfluxDBService = exports.makeTimestreamInfluxDBService = void 0;
27
- /**
28
- * @since 1.0.0
29
- */
30
- const client_timestream_influxdb_1 = require("@aws-sdk/client-timestream-influxdb");
31
- const commons_1 = require("@effect-aws/commons");
32
- const effect_1 = require("effect");
33
- const Errors_js_1 = require("./Errors.js");
34
- const Instance = __importStar(require("./TimestreamInfluxDBClientInstance.js"));
35
- const TimestreamInfluxDBServiceConfig = __importStar(require("./TimestreamInfluxDBServiceConfig.js"));
36
- const commands = {
37
- CreateDbClusterCommand: client_timestream_influxdb_1.CreateDbClusterCommand,
38
- CreateDbInstanceCommand: client_timestream_influxdb_1.CreateDbInstanceCommand,
39
- CreateDbParameterGroupCommand: client_timestream_influxdb_1.CreateDbParameterGroupCommand,
40
- DeleteDbClusterCommand: client_timestream_influxdb_1.DeleteDbClusterCommand,
41
- DeleteDbInstanceCommand: client_timestream_influxdb_1.DeleteDbInstanceCommand,
42
- GetDbClusterCommand: client_timestream_influxdb_1.GetDbClusterCommand,
43
- GetDbInstanceCommand: client_timestream_influxdb_1.GetDbInstanceCommand,
44
- GetDbParameterGroupCommand: client_timestream_influxdb_1.GetDbParameterGroupCommand,
45
- ListDbClustersCommand: client_timestream_influxdb_1.ListDbClustersCommand,
46
- ListDbInstancesCommand: client_timestream_influxdb_1.ListDbInstancesCommand,
47
- ListDbInstancesForClusterCommand: client_timestream_influxdb_1.ListDbInstancesForClusterCommand,
48
- ListDbParameterGroupsCommand: client_timestream_influxdb_1.ListDbParameterGroupsCommand,
49
- ListTagsForResourceCommand: client_timestream_influxdb_1.ListTagsForResourceCommand,
50
- RebootDbClusterCommand: client_timestream_influxdb_1.RebootDbClusterCommand,
51
- RebootDbInstanceCommand: client_timestream_influxdb_1.RebootDbInstanceCommand,
52
- TagResourceCommand: client_timestream_influxdb_1.TagResourceCommand,
53
- UntagResourceCommand: client_timestream_influxdb_1.UntagResourceCommand,
54
- UpdateDbClusterCommand: client_timestream_influxdb_1.UpdateDbClusterCommand,
55
- UpdateDbInstanceCommand: client_timestream_influxdb_1.UpdateDbInstanceCommand,
56
- };
57
- /**
58
- * @since 1.0.0
59
- * @category constructors
60
- */
61
- exports.makeTimestreamInfluxDBService = effect_1.Effect.gen(function* () {
62
- const client = yield* Instance.TimestreamInfluxDBClientInstance;
63
- return yield* commons_1.Service.fromClientAndCommands(client, commands, {
64
- errorTags: Errors_js_1.AllServiceErrors,
65
- resolveClientConfig: TimestreamInfluxDBServiceConfig.toTimestreamInfluxDBClientConfig,
66
- });
67
- });
68
- /**
69
- * @since 1.0.0
70
- * @category models
71
- */
72
- class TimestreamInfluxDBService extends effect_1.Effect.Tag("@effect-aws/client-timestream-influxdb/TimestreamInfluxDBService")() {
73
- static defaultLayer = effect_1.Layer.effect(this, exports.makeTimestreamInfluxDBService).pipe(effect_1.Layer.provide(Instance.layer));
74
- static layer = (config) => effect_1.Layer.effect(this, exports.makeTimestreamInfluxDBService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(TimestreamInfluxDBServiceConfig.setTimestreamInfluxDBServiceConfig(config)));
75
- static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeTimestreamInfluxDBService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.TimestreamInfluxDBClientInstance, effect_1.Effect.map(TimestreamInfluxDBServiceConfig.toTimestreamInfluxDBClientConfig, evaluate))));
76
- }
77
- exports.TimestreamInfluxDBService = TimestreamInfluxDBService;
78
- //# sourceMappingURL=TimestreamInfluxDBService.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TimestreamInfluxDBService.js","sourceRoot":"","sources":["../../src/TimestreamInfluxDBService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oFA4D6C;AAE7C,iDAA8C;AAE9C,mCAAuC;AAWvC,2CA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rH,MAAM,CAAU,KAAK,GAAG,CAAC,MAAwC,EAAE,EAAE,CACnE,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,qCAA6B,CAAC,CAAC,IAAI,CACpD,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,cAAK,CAAC,OAAO,CAAC,+BAA+B,CAAC,kCAAkC,CAAC,MAAM,CAAC,CAAC,CAC1F,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAqF,EACrF,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,qCAA6B,CAAC,CAAC,IAAI,CACpD,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,gCAAgC,EACzC,eAAM,CAAC,GAAG,CAAC,+BAA+B,CAAC,gCAAgC,EAAE,QAAQ,CAAC,CACvF,CACF,CACF,CAAC;;AAtBN,8DAuBC"}
@@ -1,25 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import type { TimestreamInfluxDBClientConfig } from "@aws-sdk/client-timestream-influxdb";
5
- import { Effect, Layer } from "effect";
6
- import type { TimestreamInfluxDBService } from "./TimestreamInfluxDBService.js";
7
- /**
8
- * @since 1.0.0
9
- * @category timestream-influxdb service config
10
- */
11
- export declare const withTimestreamInfluxDBServiceConfig: {
12
- (config: TimestreamInfluxDBService.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: TimestreamInfluxDBService.Config): Effect.Effect<A, E, R>;
14
- };
15
- /**
16
- * @since 1.0.0
17
- * @category timestream-influxdb service config
18
- */
19
- export declare const setTimestreamInfluxDBServiceConfig: (config: TimestreamInfluxDBService.Config) => Layer.Layer<never, never, never>;
20
- /**
21
- * @since 1.0.0
22
- * @category adapters
23
- */
24
- export declare const toTimestreamInfluxDBClientConfig: Effect.Effect<TimestreamInfluxDBClientConfig>;
25
- //# sourceMappingURL=TimestreamInfluxDBServiceConfig.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TimestreamInfluxDBServiceConfig.d.ts","sourceRoot":"","sources":["../../src/TimestreamInfluxDBServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAE1F,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAWhF;;;GAGG;AACH,eAAO,MAAM,mCAAmC,EAAE;IAChD,CAAC,MAAM,EAAE,yBAAyB,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;IAChH,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,yBAAyB,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAK7G,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,WAAY,0BAA0B,MAAM,qCACtB,CAAC;AAEtE;;;GAGG;AACH,eAAO,MAAM,gCAAgC,EAAE,MAAM,CAAC,MAAM,CAAC,8BAA8B,CAQzF,CAAC"}