@effect-aws/client-timestream-influxdb 1.9.2

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 (53) hide show
  1. package/Errors/package.json +6 -0
  2. package/LICENSE +19 -0
  3. package/README.md +58 -0
  4. package/TimestreamInfluxDBClientInstance/package.json +6 -0
  5. package/TimestreamInfluxDBService/package.json +6 -0
  6. package/TimestreamInfluxDBServiceConfig/package.json +6 -0
  7. package/dist/cjs/Errors.d.ts +14 -0
  8. package/dist/cjs/Errors.d.ts.map +1 -0
  9. package/dist/cjs/Errors.js +15 -0
  10. package/dist/cjs/Errors.js.map +1 -0
  11. package/dist/cjs/TimestreamInfluxDBClientInstance.d.ts +24 -0
  12. package/dist/cjs/TimestreamInfluxDBClientInstance.d.ts.map +1 -0
  13. package/dist/cjs/TimestreamInfluxDBClientInstance.js +50 -0
  14. package/dist/cjs/TimestreamInfluxDBClientInstance.js.map +1 -0
  15. package/dist/cjs/TimestreamInfluxDBService.d.ts +109 -0
  16. package/dist/cjs/TimestreamInfluxDBService.d.ts.map +1 -0
  17. package/dist/cjs/TimestreamInfluxDBService.js +76 -0
  18. package/dist/cjs/TimestreamInfluxDBService.js.map +1 -0
  19. package/dist/cjs/TimestreamInfluxDBServiceConfig.d.ts +25 -0
  20. package/dist/cjs/TimestreamInfluxDBServiceConfig.d.ts.map +1 -0
  21. package/dist/cjs/TimestreamInfluxDBServiceConfig.js +35 -0
  22. package/dist/cjs/TimestreamInfluxDBServiceConfig.js.map +1 -0
  23. package/dist/cjs/index.d.ts +39 -0
  24. package/dist/cjs/index.d.ts.map +1 -0
  25. package/dist/cjs/index.js +56 -0
  26. package/dist/cjs/index.js.map +1 -0
  27. package/dist/dts/Errors.d.ts +14 -0
  28. package/dist/dts/Errors.d.ts.map +1 -0
  29. package/dist/dts/TimestreamInfluxDBClientInstance.d.ts +24 -0
  30. package/dist/dts/TimestreamInfluxDBClientInstance.d.ts.map +1 -0
  31. package/dist/dts/TimestreamInfluxDBService.d.ts +109 -0
  32. package/dist/dts/TimestreamInfluxDBService.d.ts.map +1 -0
  33. package/dist/dts/TimestreamInfluxDBServiceConfig.d.ts +25 -0
  34. package/dist/dts/TimestreamInfluxDBServiceConfig.d.ts.map +1 -0
  35. package/dist/dts/index.d.ts +39 -0
  36. package/dist/dts/index.d.ts.map +1 -0
  37. package/dist/esm/Errors.js +12 -0
  38. package/dist/esm/Errors.js.map +1 -0
  39. package/dist/esm/TimestreamInfluxDBClientInstance.js +23 -0
  40. package/dist/esm/TimestreamInfluxDBClientInstance.js.map +1 -0
  41. package/dist/esm/TimestreamInfluxDBService.js +49 -0
  42. package/dist/esm/TimestreamInfluxDBService.js.map +1 -0
  43. package/dist/esm/TimestreamInfluxDBServiceConfig.js +31 -0
  44. package/dist/esm/TimestreamInfluxDBServiceConfig.js.map +1 -0
  45. package/dist/esm/index.js +27 -0
  46. package/dist/esm/index.js.map +1 -0
  47. package/dist/esm/package.json +4 -0
  48. package/package.json +71 -0
  49. package/src/Errors.ts +32 -0
  50. package/src/TimestreamInfluxDBClientInstance.ts +33 -0
  51. package/src/TimestreamInfluxDBService.ts +387 -0
  52. package/src/TimestreamInfluxDBServiceConfig.ts +52 -0
  53. package/src/index.ts +44 -0
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/Errors.js",
3
+ "module": "../dist/esm/Errors.js",
4
+ "types": "../dist/dts/Errors.d.ts",
5
+ "sideEffects": []
6
+ }
package/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2025 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,58 @@
1
+ # @effect-aws/client-timestream-influxdb
2
+
3
+ [![npm version](https://img.shields.io/npm/v/%40effect-aws%2Fclient-timestream-influxdb?color=brightgreen&label=npm%20package)](https://www.npmjs.com/package/@effect-aws/client-timestream-influxdb)
4
+ [![npm downloads](https://img.shields.io/npm/dm/%40effect-aws%2Fclient-timestream-influxdb)](https://www.npmjs.com/package/@effect-aws/client-timestream-influxdb)
5
+
6
+ ## Installation
7
+
8
+ ```bash
9
+ npm install --save @effect-aws/client-timestream-influxdb
10
+ ```
11
+
12
+ ## Usage
13
+
14
+ With default TimestreamInfluxDBClient instance:
15
+
16
+ ```typescript
17
+ import { TimestreamInfluxDB } from "@effect-aws/client-timestream-influxdb";
18
+
19
+ const program = TimestreamInfluxDB.listDbClusters(args);
20
+
21
+ const result = pipe(
22
+ program,
23
+ Effect.provide(TimestreamInfluxDB.defaultLayer),
24
+ Effect.runPromise,
25
+ );
26
+ ```
27
+
28
+ With custom TimestreamInfluxDBClient instance:
29
+
30
+ ```typescript
31
+ import { TimestreamInfluxDB } from "@effect-aws/client-timestream-influxdb";
32
+
33
+ const program = TimestreamInfluxDB.listDbClusters(args);
34
+
35
+ const result = await pipe(
36
+ program,
37
+ Effect.provide(
38
+ TimestreamInfluxDB.baseLayer(() => new TimestreamInfluxDBClient({ region: "eu-central-1" })),
39
+ ),
40
+ Effect.runPromise,
41
+ );
42
+ ```
43
+
44
+ With custom TimestreamInfluxDBClient configuration:
45
+
46
+ ```typescript
47
+ import { TimestreamInfluxDB } from "@effect-aws/client-timestream-influxdb";
48
+
49
+ const program = TimestreamInfluxDB.listDbClusters(args);
50
+
51
+ const result = await pipe(
52
+ program,
53
+ Effect.provide(TimestreamInfluxDB.layer({ region: "eu-central-1" })),
54
+ Effect.runPromiseExit,
55
+ );
56
+ ```
57
+
58
+ or use `TimestreamInfluxDB.baseLayer((default) => new TimestreamInfluxDBClient({ ...default, region: "eu-central-1" }))`
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/TimestreamInfluxDBClientInstance.js",
3
+ "module": "../dist/esm/TimestreamInfluxDBClientInstance.js",
4
+ "types": "../dist/dts/TimestreamInfluxDBClientInstance.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/TimestreamInfluxDBService.js",
3
+ "module": "../dist/esm/TimestreamInfluxDBService.js",
4
+ "types": "../dist/dts/TimestreamInfluxDBService.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/TimestreamInfluxDBServiceConfig.js",
3
+ "module": "../dist/esm/TimestreamInfluxDBServiceConfig.js",
4
+ "types": "../dist/dts/TimestreamInfluxDBServiceConfig.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,14 @@
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
+ import { SdkError as CommonSdkError } from "@effect-aws/commons";
4
+ export declare const AllServiceErrors: readonly ["AccessDeniedException", "ConflictException", "InternalServerException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ThrottlingException", "ValidationException"];
5
+ export type AccessDeniedError = TaggedException<AccessDeniedException>;
6
+ export type ConflictError = TaggedException<ConflictException>;
7
+ export type InternalServerError = TaggedException<InternalServerException>;
8
+ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
9
+ export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
10
+ export type ThrottlingError = TaggedException<ThrottlingException>;
11
+ export type ValidationError = TaggedException<ValidationException>;
12
+ export type SdkError = CommonSdkError;
13
+ export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
14
+ //# 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,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;AAC3D,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,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;AAEnE,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
@@ -0,0 +1,15 @@
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
+ "AccessDeniedException",
7
+ "ConflictException",
8
+ "InternalServerException",
9
+ "ResourceNotFoundException",
10
+ "ServiceQuotaExceededException",
11
+ "ThrottlingException",
12
+ "ValidationException",
13
+ ];
14
+ exports.SdkError = commons_1.SdkError;
15
+ //# sourceMappingURL=Errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAUA,iDAAiE;AAEpD,QAAA,gBAAgB,GAAG;IAC9B,uBAAuB;IACvB,mBAAmB;IACnB,yBAAyB;IACzB,2BAA2B;IAC3B,+BAA+B;IAC/B,qBAAqB;IACrB,qBAAqB;CACb,CAAC;AAWE,QAAA,QAAQ,GAAG,kBAAc,CAAC"}
@@ -0,0 +1,24 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,50 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,109 @@
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 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, SdkError, ServiceLogger } from "@effect-aws/commons";
6
+ import { Effect, Layer } from "effect";
7
+ import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
8
+ import * as Instance from "./TimestreamInfluxDBClientInstance.js";
9
+ interface TimestreamInfluxDBService$ {
10
+ readonly _: unique symbol;
11
+ /**
12
+ * @see {@link CreateDbClusterCommand}
13
+ */
14
+ createDbCluster(args: CreateDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbClusterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
15
+ /**
16
+ * @see {@link CreateDbInstanceCommand}
17
+ */
18
+ createDbInstance(args: CreateDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbInstanceCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
19
+ /**
20
+ * @see {@link CreateDbParameterGroupCommand}
21
+ */
22
+ createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbParameterGroupCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
23
+ /**
24
+ * @see {@link DeleteDbClusterCommand}
25
+ */
26
+ deleteDbCluster(args: DeleteDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbClusterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
27
+ /**
28
+ * @see {@link DeleteDbInstanceCommand}
29
+ */
30
+ deleteDbInstance(args: DeleteDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbInstanceCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
31
+ /**
32
+ * @see {@link GetDbClusterCommand}
33
+ */
34
+ getDbCluster(args: GetDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbClusterCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
35
+ /**
36
+ * @see {@link GetDbInstanceCommand}
37
+ */
38
+ getDbInstance(args: GetDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbInstanceCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
39
+ /**
40
+ * @see {@link GetDbParameterGroupCommand}
41
+ */
42
+ getDbParameterGroup(args: GetDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbParameterGroupCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
43
+ /**
44
+ * @see {@link ListDbClustersCommand}
45
+ */
46
+ listDbClusters(args: ListDbClustersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbClustersCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
47
+ /**
48
+ * @see {@link ListDbInstancesCommand}
49
+ */
50
+ listDbInstances(args: ListDbInstancesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbInstancesCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
51
+ /**
52
+ * @see {@link ListDbInstancesForClusterCommand}
53
+ */
54
+ listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbInstancesForClusterCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
55
+ /**
56
+ * @see {@link ListDbParameterGroupsCommand}
57
+ */
58
+ listDbParameterGroups(args: ListDbParameterGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbParameterGroupsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
59
+ /**
60
+ * @see {@link ListTagsForResourceCommand}
61
+ */
62
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | ResourceNotFoundError>;
63
+ /**
64
+ * @see {@link TagResourceCommand}
65
+ */
66
+ tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | ResourceNotFoundError | ServiceQuotaExceededError>;
67
+ /**
68
+ * @see {@link UntagResourceCommand}
69
+ */
70
+ untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | ResourceNotFoundError>;
71
+ /**
72
+ * @see {@link UpdateDbClusterCommand}
73
+ */
74
+ updateDbCluster(args: UpdateDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDbClusterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
75
+ /**
76
+ * @see {@link UpdateDbInstanceCommand}
77
+ */
78
+ updateDbInstance(args: UpdateDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDbInstanceCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
79
+ }
80
+ /**
81
+ * @since 1.0.0
82
+ * @category constructors
83
+ */
84
+ export declare const makeTimestreamInfluxDBService: Effect.Effect<TimestreamInfluxDBService$, never, Instance.TimestreamInfluxDBClientInstance>;
85
+ declare const TimestreamInfluxDBService_base: import("effect/Context").TagClass<TimestreamInfluxDBService, "@effect-aws/client-timestream-influxdb/TimestreamInfluxDBService", TimestreamInfluxDBService$> & Effect.Tag.Proxy<TimestreamInfluxDBService, TimestreamInfluxDBService$> & {
86
+ 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, import("effect/Cause").UnknownException, TimestreamInfluxDBService> : Effect.Effect<X, never, TimestreamInfluxDBService>;
87
+ };
88
+ /**
89
+ * @since 1.0.0
90
+ * @category models
91
+ */
92
+ export declare class TimestreamInfluxDBService extends TimestreamInfluxDBService_base {
93
+ static readonly defaultLayer: Layer.Layer<TimestreamInfluxDBService, never, never>;
94
+ static readonly layer: (config: TimestreamInfluxDBService.Config) => Layer.Layer<TimestreamInfluxDBService, never, never>;
95
+ static readonly baseLayer: (evaluate: (defaultConfig: TimestreamInfluxDBClientConfig) => TimestreamInfluxDBClient) => Layer.Layer<TimestreamInfluxDBService, never, never>;
96
+ }
97
+ /**
98
+ * @since 1.0.0
99
+ */
100
+ export declare namespace TimestreamInfluxDBService {
101
+ /**
102
+ * @since 1.0.0
103
+ */
104
+ interface Config extends Omit<TimestreamInfluxDBClientConfig, "logger"> {
105
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
106
+ }
107
+ }
108
+ export {};
109
+ //# sourceMappingURL=TimestreamInfluxDBService.d.ts.map
@@ -0,0 +1 @@
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,kCAA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, 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
+ TagResourceCommand: client_timestream_influxdb_1.TagResourceCommand,
51
+ UntagResourceCommand: client_timestream_influxdb_1.UntagResourceCommand,
52
+ UpdateDbClusterCommand: client_timestream_influxdb_1.UpdateDbClusterCommand,
53
+ UpdateDbInstanceCommand: client_timestream_influxdb_1.UpdateDbInstanceCommand,
54
+ };
55
+ /**
56
+ * @since 1.0.0
57
+ * @category constructors
58
+ */
59
+ exports.makeTimestreamInfluxDBService = effect_1.Effect.gen(function* () {
60
+ const client = yield* Instance.TimestreamInfluxDBClientInstance;
61
+ return commons_1.Service.fromClientAndCommands(client, commands, {
62
+ errorTags: Errors_js_1.AllServiceErrors,
63
+ resolveClientConfig: TimestreamInfluxDBServiceConfig.toTimestreamInfluxDBClientConfig,
64
+ });
65
+ });
66
+ /**
67
+ * @since 1.0.0
68
+ * @category models
69
+ */
70
+ class TimestreamInfluxDBService extends effect_1.Effect.Tag("@effect-aws/client-timestream-influxdb/TimestreamInfluxDBService")() {
71
+ static defaultLayer = effect_1.Layer.effect(this, exports.makeTimestreamInfluxDBService).pipe(effect_1.Layer.provide(Instance.layer));
72
+ static layer = (config) => effect_1.Layer.effect(this, exports.makeTimestreamInfluxDBService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(TimestreamInfluxDBServiceConfig.setTimestreamInfluxDBServiceConfig(config)));
73
+ 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))));
74
+ }
75
+ exports.TimestreamInfluxDBService = TimestreamInfluxDBService;
76
+ //# sourceMappingURL=TimestreamInfluxDBService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimestreamInfluxDBService.js","sourceRoot":"","sources":["../../src/TimestreamInfluxDBService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oFAsD6C;AAE7C,iDAA8C;AAC9C,mCAAuC;AAUvC,2CAA+C;AAC/C,gFAAkE;AAClE,sGAAwF;AAExF,MAAM,QAAQ,GAAG;IACf,sBAAsB,EAAtB,mDAAsB;IACtB,uBAAuB,EAAvB,oDAAuB;IACvB,6BAA6B,EAA7B,0DAA6B;IAC7B,sBAAsB,EAAtB,mDAAsB;IACtB,uBAAuB,EAAvB,oDAAuB;IACvB,mBAAmB,EAAnB,gDAAmB;IACnB,oBAAoB,EAApB,iDAAoB;IACpB,0BAA0B,EAA1B,uDAA0B;IAC1B,qBAAqB,EAArB,kDAAqB;IACrB,sBAAsB,EAAtB,mDAAsB;IACtB,gCAAgC,EAAhC,6DAAgC;IAChC,4BAA4B,EAA5B,yDAA4B;IAC5B,0BAA0B,EAA1B,uDAA0B;IAC1B,kBAAkB,EAAlB,+CAAkB;IAClB,oBAAoB,EAApB,iDAAoB;IACpB,sBAAsB,EAAtB,mDAAsB;IACtB,uBAAuB,EAAvB,oDAAuB;CACxB,CAAC;AA8OF;;;GAGG;AACU,QAAA,6BAA6B,GAAG,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAC/D,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,gCAAgC,CAAC;IAEhE,OAAO,iBAAO,CAAC,qBAAqB,CAClC,MAAM,EACN,QAAQ,EACR;QACE,SAAS,EAAE,4BAAgB;QAC3B,mBAAmB,EAAE,+BAA+B,CAAC,gCAAgC;KACtF,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAa,yBACX,SAAQ,eAAM,CAAC,GAAG,CAAC,kEAAkE,CAAC,EAGnF;IAEH,MAAM,CAAU,YAAY,GAAG,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,qCAA6B,CAAC,CAAC,IAAI,CAAC,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IACrH,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"}
@@ -0,0 +1,25 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toTimestreamInfluxDBClientConfig = exports.setTimestreamInfluxDBServiceConfig = exports.withTimestreamInfluxDBServiceConfig = 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 timestream-influxdb service config
11
+ */
12
+ const currentTimestreamInfluxDBServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-timestream-influxdb/currentTimestreamInfluxDBServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
13
+ /**
14
+ * @since 1.0.0
15
+ * @category timestream-influxdb service config
16
+ */
17
+ exports.withTimestreamInfluxDBServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentTimestreamInfluxDBServiceConfig, config));
18
+ /**
19
+ * @since 1.0.0
20
+ * @category timestream-influxdb service config
21
+ */
22
+ const setTimestreamInfluxDBServiceConfig = (config) => effect_1.Layer.locallyScoped(currentTimestreamInfluxDBServiceConfig, config);
23
+ exports.setTimestreamInfluxDBServiceConfig = setTimestreamInfluxDBServiceConfig;
24
+ /**
25
+ * @since 1.0.0
26
+ * @category adapters
27
+ */
28
+ exports.toTimestreamInfluxDBClientConfig = effect_1.Effect.gen(function* () {
29
+ const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentTimestreamInfluxDBServiceConfig);
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=TimestreamInfluxDBServiceConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimestreamInfluxDBServiceConfig.js","sourceRoot":"","sources":["../../src/TimestreamInfluxDBServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AACH,MAAM,sCAAsC,GAAG,IAAA,yBAAW,EACxD,+EAA+E,EAC/E,GAAG,EAAE,CAAC,iBAAQ,CAAC,UAAU,CAAmC,EAAE,CAAC,CAChE,CAAC;AAEF;;;GAGG;AACU,QAAA,mCAAmC,GAG5C,IAAA,eAAI,EACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAAwC,EAA0B,EAAE,CAC5G,eAAM,CAAC,OAAO,CAAC,MAAM,EAAE,sCAAsC,EAAE,MAAM,CAAC,CACzE,CAAC;AAEF;;;GAGG;AACI,MAAM,kCAAkC,GAAG,CAAC,MAAwC,EAAE,EAAE,CAC7F,cAAK,CAAC,aAAa,CAAC,sCAAsC,EAAE,MAAM,CAAC,CAAC;AADzD,QAAA,kCAAkC,sCACuB;AAEtE;;;GAGG;AACU,QAAA,gCAAgC,GAAkD,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACjH,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,iBAAQ,CAAC,GAAG,CAAC,sCAAsC,CAAC,CAAC;IAEzG,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { TimestreamInfluxDBService } from "./TimestreamInfluxDBService.js";
5
+ /**
6
+ * @since 1.0.0
7
+ */
8
+ export * from "./Errors.js";
9
+ /**
10
+ * @since 1.0.0
11
+ */
12
+ export * as TimestreamInfluxDBClientInstance from "./TimestreamInfluxDBClientInstance.js";
13
+ /**
14
+ * @since 1.0.0
15
+ */
16
+ export * as TimestreamInfluxDBServiceConfig from "./TimestreamInfluxDBServiceConfig.js";
17
+ /**
18
+ * @since 1.0.0
19
+ */
20
+ export * from "./TimestreamInfluxDBService.js";
21
+ /**
22
+ * @since 1.0.0
23
+ * @category exports
24
+ * @alias TimestreamInfluxDBService
25
+ */
26
+ export declare namespace TimestreamInfluxDB {
27
+ /**
28
+ * @since 1.0.0
29
+ * @alias TimestreamInfluxDBService.Config
30
+ */
31
+ type Config = TimestreamInfluxDBService.Config;
32
+ }
33
+ /**
34
+ * @since 1.0.0
35
+ * @category exports
36
+ * @alias TimestreamInfluxDBService
37
+ */
38
+ export declare const TimestreamInfluxDB: typeof TimestreamInfluxDBService;
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,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,gCAAgC,MAAM,uCAAuC,CAAC;AAE1F;;GAEG;AACH,OAAO,KAAK,+BAA+B,MAAM,sCAAsC,CAAC;AAExF;;GAEG;AACH,cAAc,gCAAgC,CAAC;AAE/C;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C;;;OAGG;IACH,KAAY,MAAM,GAAG,yBAAyB,CAAC,MAAM,CAAC;CACvD;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,kCAA4B,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.TimestreamInfluxDB = exports.TimestreamInfluxDBServiceConfig = exports.TimestreamInfluxDBClientInstance = void 0;
30
+ /**
31
+ * @since 1.0.0
32
+ */
33
+ const TimestreamInfluxDBService_js_1 = require("./TimestreamInfluxDBService.js");
34
+ /**
35
+ * @since 1.0.0
36
+ */
37
+ __exportStar(require("./Errors.js"), exports);
38
+ /**
39
+ * @since 1.0.0
40
+ */
41
+ exports.TimestreamInfluxDBClientInstance = __importStar(require("./TimestreamInfluxDBClientInstance.js"));
42
+ /**
43
+ * @since 1.0.0
44
+ */
45
+ exports.TimestreamInfluxDBServiceConfig = __importStar(require("./TimestreamInfluxDBServiceConfig.js"));
46
+ /**
47
+ * @since 1.0.0
48
+ */
49
+ __exportStar(require("./TimestreamInfluxDBService.js"), exports);
50
+ /**
51
+ * @since 1.0.0
52
+ * @category exports
53
+ * @alias TimestreamInfluxDBService
54
+ */
55
+ exports.TimestreamInfluxDB = TimestreamInfluxDBService_js_1.TimestreamInfluxDBService;
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,iFAA2E;AAE3E;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,0GAA0F;AAE1F;;GAEG;AACH,wGAAwF;AAExF;;GAEG;AACH,iEAA+C;AAe/C;;;;GAIG;AACU,QAAA,kBAAkB,GAAG,wDAAyB,CAAC"}
@@ -0,0 +1,14 @@
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
+ import { SdkError as CommonSdkError } from "@effect-aws/commons";
4
+ export declare const AllServiceErrors: readonly ["AccessDeniedException", "ConflictException", "InternalServerException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ThrottlingException", "ValidationException"];
5
+ export type AccessDeniedError = TaggedException<AccessDeniedException>;
6
+ export type ConflictError = TaggedException<ConflictException>;
7
+ export type InternalServerError = TaggedException<InternalServerException>;
8
+ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
9
+ export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
10
+ export type ThrottlingError = TaggedException<ThrottlingException>;
11
+ export type ValidationError = TaggedException<ValidationException>;
12
+ export type SdkError = CommonSdkError;
13
+ export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
14
+ //# sourceMappingURL=Errors.d.ts.map