@effect-aws/client-timestream-influxdb 2.0.0-beta.3 → 2.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts/TimestreamInfluxDBClientInstance.d.ts +2 -2
- package/dist/dts/TimestreamInfluxDBClientInstance.d.ts.map +1 -1
- package/dist/dts/TimestreamInfluxDBService.d.ts +28 -3
- package/dist/dts/TimestreamInfluxDBService.d.ts.map +1 -1
- package/dist/dts/TimestreamInfluxDBServiceConfig.d.ts.map +1 -1
- package/dist/esm/TimestreamInfluxDBClientInstance.js +2 -2
- package/dist/esm/TimestreamInfluxDBClientInstance.js.map +1 -1
- package/dist/esm/TimestreamInfluxDBService.js +9 -3
- package/dist/esm/TimestreamInfluxDBService.js.map +1 -1
- package/dist/esm/TimestreamInfluxDBServiceConfig.js +2 -2
- package/dist/esm/TimestreamInfluxDBServiceConfig.js.map +1 -1
- package/package.json +3 -3
- package/src/TimestreamInfluxDBClientInstance.ts +2 -2
- package/src/TimestreamInfluxDBService.ts +132 -2
- package/src/TimestreamInfluxDBServiceConfig.ts +2 -2
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { TimestreamInfluxDBClient } from "@aws-sdk/client-timestream-influxdb";
|
|
5
|
+
import * as Context from "effect/Context";
|
|
5
6
|
import * as Effect from "effect/Effect";
|
|
6
7
|
import * as Layer from "effect/Layer";
|
|
7
|
-
|
|
8
|
-
declare const TimestreamInfluxDBClientInstance_base: ServiceMap.ServiceClass<TimestreamInfluxDBClientInstance, "@effect-aws/client-timestream-influxdb/TimestreamInfluxDBClientInstance", TimestreamInfluxDBClient>;
|
|
8
|
+
declare const TimestreamInfluxDBClientInstance_base: Context.ServiceClass<TimestreamInfluxDBClientInstance, "@effect-aws/client-timestream-influxdb/TimestreamInfluxDBClientInstance", TimestreamInfluxDBClient>;
|
|
9
9
|
/**
|
|
10
10
|
* @since 1.0.0
|
|
11
11
|
* @category tags
|
|
@@ -1 +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,KAAK,
|
|
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,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;;AAGtC;;;GAGG;AACH,qBAAa,gCACX,SAAQ,qCAEP;CACD;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI,8EAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,6DAAuD,CAAC"}
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
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";
|
|
4
|
+
import { type CreateDbBackupCommandInput, type CreateDbBackupCommandOutput, type CreateDbClusterCommandInput, type CreateDbClusterCommandOutput, type CreateDbInstanceCommandInput, type CreateDbInstanceCommandOutput, type CreateDbParameterGroupCommandInput, type CreateDbParameterGroupCommandOutput, type DeleteDbBackupCommandInput, type DeleteDbBackupCommandOutput, type DeleteDbClusterCommandInput, type DeleteDbClusterCommandOutput, type DeleteDbInstanceCommandInput, type DeleteDbInstanceCommandOutput, type GetDbBackupCommandInput, type GetDbBackupCommandOutput, type GetDbClusterCommandInput, type GetDbClusterCommandOutput, type GetDbInstanceCommandInput, type GetDbInstanceCommandOutput, type GetDbParameterGroupCommandInput, type GetDbParameterGroupCommandOutput, type ListDbBackupsCommandInput, type ListDbBackupsCommandOutput, 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 RestoreFromDbBackupCommandInput, type RestoreFromDbBackupCommandOutput, 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
5
|
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
6
6
|
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
7
7
|
import type * as Cause from "effect/Cause";
|
|
8
|
+
import * as Context from "effect/Context";
|
|
8
9
|
import * as Effect from "effect/Effect";
|
|
9
10
|
import * as Layer from "effect/Layer";
|
|
10
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
11
11
|
import type * as Stream from "effect/Stream";
|
|
12
12
|
import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
13
13
|
import * as Instance from "./TimestreamInfluxDBClientInstance.js";
|
|
14
|
+
/**
|
|
15
|
+
* @since 1.0.0
|
|
16
|
+
* @category models
|
|
17
|
+
*/
|
|
14
18
|
export interface TimestreamInfluxDBService$ {
|
|
19
|
+
/**
|
|
20
|
+
* @see {@link CreateDbBackupCommand}
|
|
21
|
+
*/
|
|
22
|
+
createDbBackup(args: CreateDbBackupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbBackupCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
23
|
/**
|
|
16
24
|
* @see {@link CreateDbClusterCommand}
|
|
17
25
|
*/
|
|
@@ -24,6 +32,10 @@ export interface TimestreamInfluxDBService$ {
|
|
|
24
32
|
* @see {@link CreateDbParameterGroupCommand}
|
|
25
33
|
*/
|
|
26
34
|
createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbParameterGroupCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
35
|
+
/**
|
|
36
|
+
* @see {@link DeleteDbBackupCommand}
|
|
37
|
+
*/
|
|
38
|
+
deleteDbBackup(args: DeleteDbBackupCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbBackupCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
39
|
/**
|
|
28
40
|
* @see {@link DeleteDbClusterCommand}
|
|
29
41
|
*/
|
|
@@ -32,6 +44,10 @@ export interface TimestreamInfluxDBService$ {
|
|
|
32
44
|
* @see {@link DeleteDbInstanceCommand}
|
|
33
45
|
*/
|
|
34
46
|
deleteDbInstance(args: DeleteDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbInstanceCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link GetDbBackupCommand}
|
|
49
|
+
*/
|
|
50
|
+
getDbBackup(args: GetDbBackupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbBackupCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
51
|
/**
|
|
36
52
|
* @see {@link GetDbClusterCommand}
|
|
37
53
|
*/
|
|
@@ -44,6 +60,11 @@ export interface TimestreamInfluxDBService$ {
|
|
|
44
60
|
* @see {@link GetDbParameterGroupCommand}
|
|
45
61
|
*/
|
|
46
62
|
getDbParameterGroup(args: GetDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbParameterGroupCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
63
|
+
/**
|
|
64
|
+
* @see {@link ListDbBackupsCommand}
|
|
65
|
+
*/
|
|
66
|
+
listDbBackups(args: ListDbBackupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbBackupsCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
67
|
+
listDbBackupsStream(args: ListDbBackupsCommandInput, options?: HttpHandlerOptions): Stream.Stream<ListDbBackupsCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
68
|
/**
|
|
48
69
|
* @see {@link ListDbClustersCommand}
|
|
49
70
|
*/
|
|
@@ -76,6 +97,10 @@ export interface TimestreamInfluxDBService$ {
|
|
|
76
97
|
* @see {@link RebootDbInstanceCommand}
|
|
77
98
|
*/
|
|
78
99
|
rebootDbInstance(args: RebootDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<RebootDbInstanceCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
100
|
+
/**
|
|
101
|
+
* @see {@link RestoreFromDbBackupCommand}
|
|
102
|
+
*/
|
|
103
|
+
restoreFromDbBackup(args: RestoreFromDbBackupCommandInput, options?: HttpHandlerOptions): Effect.Effect<RestoreFromDbBackupCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
79
104
|
/**
|
|
80
105
|
* @see {@link TagResourceCommand}
|
|
81
106
|
*/
|
|
@@ -98,7 +123,7 @@ export interface TimestreamInfluxDBService$ {
|
|
|
98
123
|
* @category constructors
|
|
99
124
|
*/
|
|
100
125
|
export declare const makeTimestreamInfluxDBService: Effect.Effect<TimestreamInfluxDBService$, never, Instance.TimestreamInfluxDBClientInstance>;
|
|
101
|
-
declare const TimestreamInfluxDBService_base:
|
|
126
|
+
declare const TimestreamInfluxDBService_base: Context.ServiceClass<TimestreamInfluxDBService, "@effect-aws/client-timestream-influxdb/TimestreamInfluxDBService", TimestreamInfluxDBService$>;
|
|
102
127
|
/**
|
|
103
128
|
* @since 1.0.0
|
|
104
129
|
* @category models
|
|
@@ -1 +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,kCAAkC,EAEvC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,
|
|
1
|
+
{"version":3,"file":"TimestreamInfluxDBService.d.ts","sourceRoot":"","sources":["../../src/TimestreamInfluxDBService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EAExC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,2BAA2B,EAChC,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BAAwB,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 +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;
|
|
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;AAG1F,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,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,GAAI,QAAQ,yBAAyB,CAAC,MAAM,qCAC5B,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,gCAAgC,EAAE,MAAM,CAAC,MAAM,CAAC,8BAA8B,CAQzF,CAAC"}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { TimestreamInfluxDBClient } from "@aws-sdk/client-timestream-influxdb";
|
|
5
|
+
import * as Context from "effect/Context";
|
|
5
6
|
import * as Effect from "effect/Effect";
|
|
6
7
|
import * as Layer from "effect/Layer";
|
|
7
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
8
8
|
import * as TimestreamInfluxDBServiceConfig from "./TimestreamInfluxDBServiceConfig.js";
|
|
9
9
|
/**
|
|
10
10
|
* @since 1.0.0
|
|
11
11
|
* @category tags
|
|
12
12
|
*/
|
|
13
|
-
export class TimestreamInfluxDBClientInstance extends
|
|
13
|
+
export class TimestreamInfluxDBClientInstance extends Context.Service()("@effect-aws/client-timestream-influxdb/TimestreamInfluxDBClientInstance") {
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimestreamInfluxDBClientInstance.js","sourceRoot":"","sources":["../../src/TimestreamInfluxDBClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"TimestreamInfluxDBClientInstance.js","sourceRoot":"","sources":["../../src/TimestreamInfluxDBClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,+BAA+B,MAAM,sCAAsC,CAAC;AAExF;;;GAGG;AACH,MAAM,OAAO,gCACX,SAAQ,OAAO,CAAC,OAAO,EAA8D,CACnF,yEAAyE,CAC1E;CACD;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAChC,+BAA+B,CAAC,gCAAgC,EAChE,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,cAAc,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,wBAAwB,CAAC,MAAM,CAAC,CAAC,EACvD,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,gCAAgC,EAAE,IAAI,CAAC,CAAC"}
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
import { CreateDbClusterCommand, CreateDbInstanceCommand, CreateDbParameterGroupCommand, DeleteDbClusterCommand, DeleteDbInstanceCommand, GetDbClusterCommand, GetDbInstanceCommand, GetDbParameterGroupCommand, ListDbClustersCommand, ListDbInstancesCommand, ListDbInstancesForClusterCommand, ListDbParameterGroupsCommand, ListTagsForResourceCommand, paginateListDbClusters, paginateListDbInstances, paginateListDbInstancesForCluster, paginateListDbParameterGroups, RebootDbClusterCommand, RebootDbInstanceCommand, TagResourceCommand, UntagResourceCommand, UpdateDbClusterCommand, UpdateDbInstanceCommand, } from "@aws-sdk/client-timestream-influxdb";
|
|
4
|
+
import { CreateDbBackupCommand, CreateDbClusterCommand, CreateDbInstanceCommand, CreateDbParameterGroupCommand, DeleteDbBackupCommand, DeleteDbClusterCommand, DeleteDbInstanceCommand, GetDbBackupCommand, GetDbClusterCommand, GetDbInstanceCommand, GetDbParameterGroupCommand, ListDbBackupsCommand, ListDbClustersCommand, ListDbInstancesCommand, ListDbInstancesForClusterCommand, ListDbParameterGroupsCommand, ListTagsForResourceCommand, paginateListDbBackups, paginateListDbClusters, paginateListDbInstances, paginateListDbInstancesForCluster, paginateListDbParameterGroups, RebootDbClusterCommand, RebootDbInstanceCommand, RestoreFromDbBackupCommand, TagResourceCommand, UntagResourceCommand, UpdateDbClusterCommand, UpdateDbInstanceCommand, } from "@aws-sdk/client-timestream-influxdb";
|
|
5
5
|
import * as Service from "@effect-aws/commons/Service";
|
|
6
|
+
import * as Context from "effect/Context";
|
|
6
7
|
import * as Effect from "effect/Effect";
|
|
7
8
|
import * as Layer from "effect/Layer";
|
|
8
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
9
9
|
import { AllServiceErrors } from "./Errors.js";
|
|
10
10
|
import * as Instance from "./TimestreamInfluxDBClientInstance.js";
|
|
11
11
|
import * as TimestreamInfluxDBServiceConfig from "./TimestreamInfluxDBServiceConfig.js";
|
|
12
12
|
const commands = {
|
|
13
|
+
CreateDbBackupCommand,
|
|
13
14
|
CreateDbClusterCommand,
|
|
14
15
|
CreateDbInstanceCommand,
|
|
15
16
|
CreateDbParameterGroupCommand,
|
|
17
|
+
DeleteDbBackupCommand,
|
|
16
18
|
DeleteDbClusterCommand,
|
|
17
19
|
DeleteDbInstanceCommand,
|
|
20
|
+
GetDbBackupCommand,
|
|
18
21
|
GetDbClusterCommand,
|
|
19
22
|
GetDbInstanceCommand,
|
|
20
23
|
GetDbParameterGroupCommand,
|
|
24
|
+
ListDbBackupsCommand,
|
|
21
25
|
ListDbClustersCommand,
|
|
22
26
|
ListDbInstancesCommand,
|
|
23
27
|
ListDbInstancesForClusterCommand,
|
|
@@ -25,12 +29,14 @@ const commands = {
|
|
|
25
29
|
ListTagsForResourceCommand,
|
|
26
30
|
RebootDbClusterCommand,
|
|
27
31
|
RebootDbInstanceCommand,
|
|
32
|
+
RestoreFromDbBackupCommand,
|
|
28
33
|
TagResourceCommand,
|
|
29
34
|
UntagResourceCommand,
|
|
30
35
|
UpdateDbClusterCommand,
|
|
31
36
|
UpdateDbInstanceCommand,
|
|
32
37
|
};
|
|
33
38
|
const paginators = {
|
|
39
|
+
paginateListDbBackups,
|
|
34
40
|
paginateListDbClusters,
|
|
35
41
|
paginateListDbInstances,
|
|
36
42
|
paginateListDbInstancesForCluster,
|
|
@@ -51,7 +57,7 @@ export const makeTimestreamInfluxDBService = Effect.gen(function* () {
|
|
|
51
57
|
* @since 1.0.0
|
|
52
58
|
* @category models
|
|
53
59
|
*/
|
|
54
|
-
export class TimestreamInfluxDBService extends
|
|
60
|
+
export class TimestreamInfluxDBService extends Context.Service()("@effect-aws/client-timestream-influxdb/TimestreamInfluxDBService") {
|
|
55
61
|
static defaultLayer = Layer.effect(this, makeTimestreamInfluxDBService).pipe(Layer.provide(Instance.layer));
|
|
56
62
|
static layer = (config) => Layer.effect(this, makeTimestreamInfluxDBService).pipe(Layer.provide(Instance.layer), Layer.provide(TimestreamInfluxDBServiceConfig.setTimestreamInfluxDBServiceConfig(config)));
|
|
57
63
|
static baseLayer = (evaluate) => Layer.effect(this, makeTimestreamInfluxDBService).pipe(Layer.provide(Layer.effect(Instance.TimestreamInfluxDBClientInstance, Effect.map(TimestreamInfluxDBServiceConfig.toTimestreamInfluxDBClientConfig, evaluate))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimestreamInfluxDBService.js","sourceRoot":"","sources":["../../src/TimestreamInfluxDBService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,sBAAsB,EAGtB,uBAAuB,EAGvB,6BAA6B,EAG7B,sBAAsB,EA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,EAAE,CACnE,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,6BAA6B,CAAC,CAAC,IAAI,CACpD,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,KAAK,CAAC,OAAO,CAAC,+BAA+B,CAAC,kCAAkC,CAAC,MAAM,CAAC,CAAC,CAC1F,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAqF,EACrF,EAAE,CACF,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,6BAA6B,CAAC,CAAC,IAAI,CACpD,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,gCAAgC,EACzC,MAAM,CAAC,GAAG,CAAC,+BAA+B,CAAC,gCAAgC,EAAE,QAAQ,CAAC,CACvF,CACF,CACF,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
2
|
+
import * as Context from "effect/Context";
|
|
2
3
|
import * as Effect from "effect/Effect";
|
|
3
4
|
import { dual } from "effect/Function";
|
|
4
5
|
import * as Layer from "effect/Layer";
|
|
5
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
6
6
|
/**
|
|
7
7
|
* @since 1.0.0
|
|
8
8
|
* @category timestream-influxdb service config
|
|
9
9
|
*/
|
|
10
|
-
const currentTimestreamInfluxDBServiceConfig =
|
|
10
|
+
const currentTimestreamInfluxDBServiceConfig = Context.Reference("@effect-aws/client-timestream-influxdb/currentTimestreamInfluxDBServiceConfig", { defaultValue: () => ({}) });
|
|
11
11
|
/**
|
|
12
12
|
* @since 1.0.0
|
|
13
13
|
* @category timestream-influxdb service config
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimestreamInfluxDBServiceConfig.js","sourceRoot":"","sources":["../../src/TimestreamInfluxDBServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,aAAa,MAAM,mCAAmC,CAAC;AACnE,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AAC,cAAc,CAAC,aAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-timestream-influxdb",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.7",
|
|
4
4
|
"description": "Effectful AWS Timestream InfluxDB client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-timestream-influxdb",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-timestream-influxdb": "^3",
|
|
19
|
-
"@effect-aws/commons": "^1.0.0-beta.
|
|
19
|
+
"@effect-aws/commons": "^1.0.0-beta.5"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"effect": ">=4.0.0 <5.0.0"
|
|
22
|
+
"effect": ">=4.0.0-beta.66 <5.0.0"
|
|
23
23
|
},
|
|
24
24
|
"module": "./dist/esm/index.js",
|
|
25
25
|
"types": "./dist/dts/index.d.ts",
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { TimestreamInfluxDBClient } from "@aws-sdk/client-timestream-influxdb";
|
|
5
|
+
import * as Context from "effect/Context";
|
|
5
6
|
import * as Effect from "effect/Effect";
|
|
6
7
|
import * as Layer from "effect/Layer";
|
|
7
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
8
8
|
import * as TimestreamInfluxDBServiceConfig from "./TimestreamInfluxDBServiceConfig.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -12,7 +12,7 @@ import * as TimestreamInfluxDBServiceConfig from "./TimestreamInfluxDBServiceCon
|
|
|
12
12
|
* @category tags
|
|
13
13
|
*/
|
|
14
14
|
export class TimestreamInfluxDBClientInstance
|
|
15
|
-
extends
|
|
15
|
+
extends Context.Service<TimestreamInfluxDBClientInstance, TimestreamInfluxDBClient>()(
|
|
16
16
|
"@effect-aws/client-timestream-influxdb/TimestreamInfluxDBClientInstance",
|
|
17
17
|
)
|
|
18
18
|
{}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import {
|
|
5
|
+
CreateDbBackupCommand,
|
|
6
|
+
type CreateDbBackupCommandInput,
|
|
7
|
+
type CreateDbBackupCommandOutput,
|
|
5
8
|
CreateDbClusterCommand,
|
|
6
9
|
type CreateDbClusterCommandInput,
|
|
7
10
|
type CreateDbClusterCommandOutput,
|
|
@@ -11,12 +14,18 @@ import {
|
|
|
11
14
|
CreateDbParameterGroupCommand,
|
|
12
15
|
type CreateDbParameterGroupCommandInput,
|
|
13
16
|
type CreateDbParameterGroupCommandOutput,
|
|
17
|
+
DeleteDbBackupCommand,
|
|
18
|
+
type DeleteDbBackupCommandInput,
|
|
19
|
+
type DeleteDbBackupCommandOutput,
|
|
14
20
|
DeleteDbClusterCommand,
|
|
15
21
|
type DeleteDbClusterCommandInput,
|
|
16
22
|
type DeleteDbClusterCommandOutput,
|
|
17
23
|
DeleteDbInstanceCommand,
|
|
18
24
|
type DeleteDbInstanceCommandInput,
|
|
19
25
|
type DeleteDbInstanceCommandOutput,
|
|
26
|
+
GetDbBackupCommand,
|
|
27
|
+
type GetDbBackupCommandInput,
|
|
28
|
+
type GetDbBackupCommandOutput,
|
|
20
29
|
GetDbClusterCommand,
|
|
21
30
|
type GetDbClusterCommandInput,
|
|
22
31
|
type GetDbClusterCommandOutput,
|
|
@@ -26,6 +35,9 @@ import {
|
|
|
26
35
|
GetDbParameterGroupCommand,
|
|
27
36
|
type GetDbParameterGroupCommandInput,
|
|
28
37
|
type GetDbParameterGroupCommandOutput,
|
|
38
|
+
ListDbBackupsCommand,
|
|
39
|
+
type ListDbBackupsCommandInput,
|
|
40
|
+
type ListDbBackupsCommandOutput,
|
|
29
41
|
ListDbClustersCommand,
|
|
30
42
|
type ListDbClustersCommandInput,
|
|
31
43
|
type ListDbClustersCommandOutput,
|
|
@@ -41,6 +53,7 @@ import {
|
|
|
41
53
|
ListTagsForResourceCommand,
|
|
42
54
|
type ListTagsForResourceCommandInput,
|
|
43
55
|
type ListTagsForResourceCommandOutput,
|
|
56
|
+
paginateListDbBackups,
|
|
44
57
|
paginateListDbClusters,
|
|
45
58
|
paginateListDbInstances,
|
|
46
59
|
paginateListDbInstancesForCluster,
|
|
@@ -51,6 +64,9 @@ import {
|
|
|
51
64
|
RebootDbInstanceCommand,
|
|
52
65
|
type RebootDbInstanceCommandInput,
|
|
53
66
|
type RebootDbInstanceCommandOutput,
|
|
67
|
+
RestoreFromDbBackupCommand,
|
|
68
|
+
type RestoreFromDbBackupCommandInput,
|
|
69
|
+
type RestoreFromDbBackupCommandOutput,
|
|
54
70
|
TagResourceCommand,
|
|
55
71
|
type TagResourceCommandInput,
|
|
56
72
|
type TagResourceCommandOutput,
|
|
@@ -70,9 +86,9 @@ import * as Service from "@effect-aws/commons/Service";
|
|
|
70
86
|
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
71
87
|
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
72
88
|
import type * as Cause from "effect/Cause";
|
|
89
|
+
import * as Context from "effect/Context";
|
|
73
90
|
import * as Effect from "effect/Effect";
|
|
74
91
|
import * as Layer from "effect/Layer";
|
|
75
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
76
92
|
import type * as Stream from "effect/Stream";
|
|
77
93
|
import type {
|
|
78
94
|
AccessDeniedError,
|
|
@@ -89,14 +105,18 @@ import * as Instance from "./TimestreamInfluxDBClientInstance.js";
|
|
|
89
105
|
import * as TimestreamInfluxDBServiceConfig from "./TimestreamInfluxDBServiceConfig.js";
|
|
90
106
|
|
|
91
107
|
const commands = {
|
|
108
|
+
CreateDbBackupCommand,
|
|
92
109
|
CreateDbClusterCommand,
|
|
93
110
|
CreateDbInstanceCommand,
|
|
94
111
|
CreateDbParameterGroupCommand,
|
|
112
|
+
DeleteDbBackupCommand,
|
|
95
113
|
DeleteDbClusterCommand,
|
|
96
114
|
DeleteDbInstanceCommand,
|
|
115
|
+
GetDbBackupCommand,
|
|
97
116
|
GetDbClusterCommand,
|
|
98
117
|
GetDbInstanceCommand,
|
|
99
118
|
GetDbParameterGroupCommand,
|
|
119
|
+
ListDbBackupsCommand,
|
|
100
120
|
ListDbClustersCommand,
|
|
101
121
|
ListDbInstancesCommand,
|
|
102
122
|
ListDbInstancesForClusterCommand,
|
|
@@ -104,6 +124,7 @@ const commands = {
|
|
|
104
124
|
ListTagsForResourceCommand,
|
|
105
125
|
RebootDbClusterCommand,
|
|
106
126
|
RebootDbInstanceCommand,
|
|
127
|
+
RestoreFromDbBackupCommand,
|
|
107
128
|
TagResourceCommand,
|
|
108
129
|
UntagResourceCommand,
|
|
109
130
|
UpdateDbClusterCommand,
|
|
@@ -111,13 +132,37 @@ const commands = {
|
|
|
111
132
|
};
|
|
112
133
|
|
|
113
134
|
const paginators = {
|
|
135
|
+
paginateListDbBackups,
|
|
114
136
|
paginateListDbClusters,
|
|
115
137
|
paginateListDbInstances,
|
|
116
138
|
paginateListDbInstancesForCluster,
|
|
117
139
|
paginateListDbParameterGroups,
|
|
118
140
|
};
|
|
119
141
|
|
|
142
|
+
/**
|
|
143
|
+
* @since 1.0.0
|
|
144
|
+
* @category models
|
|
145
|
+
*/
|
|
120
146
|
export interface TimestreamInfluxDBService$ {
|
|
147
|
+
/**
|
|
148
|
+
* @see {@link CreateDbBackupCommand}
|
|
149
|
+
*/
|
|
150
|
+
createDbBackup(
|
|
151
|
+
args: CreateDbBackupCommandInput,
|
|
152
|
+
options?: HttpHandlerOptions,
|
|
153
|
+
): Effect.Effect<
|
|
154
|
+
CreateDbBackupCommandOutput,
|
|
155
|
+
| Cause.TimeoutError
|
|
156
|
+
| SdkError
|
|
157
|
+
| AccessDeniedError
|
|
158
|
+
| ConflictError
|
|
159
|
+
| InternalServerError
|
|
160
|
+
| ResourceNotFoundError
|
|
161
|
+
| ServiceQuotaExceededError
|
|
162
|
+
| ThrottlingError
|
|
163
|
+
| ValidationError
|
|
164
|
+
>;
|
|
165
|
+
|
|
121
166
|
/**
|
|
122
167
|
* @see {@link CreateDbClusterCommand}
|
|
123
168
|
*/
|
|
@@ -175,6 +220,24 @@ export interface TimestreamInfluxDBService$ {
|
|
|
175
220
|
| ValidationError
|
|
176
221
|
>;
|
|
177
222
|
|
|
223
|
+
/**
|
|
224
|
+
* @see {@link DeleteDbBackupCommand}
|
|
225
|
+
*/
|
|
226
|
+
deleteDbBackup(
|
|
227
|
+
args: DeleteDbBackupCommandInput,
|
|
228
|
+
options?: HttpHandlerOptions,
|
|
229
|
+
): Effect.Effect<
|
|
230
|
+
DeleteDbBackupCommandOutput,
|
|
231
|
+
| Cause.TimeoutError
|
|
232
|
+
| SdkError
|
|
233
|
+
| AccessDeniedError
|
|
234
|
+
| ConflictError
|
|
235
|
+
| InternalServerError
|
|
236
|
+
| ResourceNotFoundError
|
|
237
|
+
| ThrottlingError
|
|
238
|
+
| ValidationError
|
|
239
|
+
>;
|
|
240
|
+
|
|
178
241
|
/**
|
|
179
242
|
* @see {@link DeleteDbClusterCommand}
|
|
180
243
|
*/
|
|
@@ -211,6 +274,23 @@ export interface TimestreamInfluxDBService$ {
|
|
|
211
274
|
| ValidationError
|
|
212
275
|
>;
|
|
213
276
|
|
|
277
|
+
/**
|
|
278
|
+
* @see {@link GetDbBackupCommand}
|
|
279
|
+
*/
|
|
280
|
+
getDbBackup(
|
|
281
|
+
args: GetDbBackupCommandInput,
|
|
282
|
+
options?: HttpHandlerOptions,
|
|
283
|
+
): Effect.Effect<
|
|
284
|
+
GetDbBackupCommandOutput,
|
|
285
|
+
| Cause.TimeoutError
|
|
286
|
+
| SdkError
|
|
287
|
+
| AccessDeniedError
|
|
288
|
+
| InternalServerError
|
|
289
|
+
| ResourceNotFoundError
|
|
290
|
+
| ThrottlingError
|
|
291
|
+
| ValidationError
|
|
292
|
+
>;
|
|
293
|
+
|
|
214
294
|
/**
|
|
215
295
|
* @see {@link GetDbClusterCommand}
|
|
216
296
|
*/
|
|
@@ -262,6 +342,37 @@ export interface TimestreamInfluxDBService$ {
|
|
|
262
342
|
| ValidationError
|
|
263
343
|
>;
|
|
264
344
|
|
|
345
|
+
/**
|
|
346
|
+
* @see {@link ListDbBackupsCommand}
|
|
347
|
+
*/
|
|
348
|
+
listDbBackups(
|
|
349
|
+
args: ListDbBackupsCommandInput,
|
|
350
|
+
options?: HttpHandlerOptions,
|
|
351
|
+
): Effect.Effect<
|
|
352
|
+
ListDbBackupsCommandOutput,
|
|
353
|
+
| Cause.TimeoutError
|
|
354
|
+
| SdkError
|
|
355
|
+
| AccessDeniedError
|
|
356
|
+
| InternalServerError
|
|
357
|
+
| ResourceNotFoundError
|
|
358
|
+
| ThrottlingError
|
|
359
|
+
| ValidationError
|
|
360
|
+
>;
|
|
361
|
+
|
|
362
|
+
listDbBackupsStream(
|
|
363
|
+
args: ListDbBackupsCommandInput,
|
|
364
|
+
options?: HttpHandlerOptions,
|
|
365
|
+
): Stream.Stream<
|
|
366
|
+
ListDbBackupsCommandOutput,
|
|
367
|
+
| Cause.TimeoutError
|
|
368
|
+
| SdkError
|
|
369
|
+
| AccessDeniedError
|
|
370
|
+
| InternalServerError
|
|
371
|
+
| ResourceNotFoundError
|
|
372
|
+
| ThrottlingError
|
|
373
|
+
| ValidationError
|
|
374
|
+
>;
|
|
375
|
+
|
|
265
376
|
/**
|
|
266
377
|
* @see {@link ListDbClustersCommand}
|
|
267
378
|
*/
|
|
@@ -433,6 +544,25 @@ export interface TimestreamInfluxDBService$ {
|
|
|
433
544
|
| ValidationError
|
|
434
545
|
>;
|
|
435
546
|
|
|
547
|
+
/**
|
|
548
|
+
* @see {@link RestoreFromDbBackupCommand}
|
|
549
|
+
*/
|
|
550
|
+
restoreFromDbBackup(
|
|
551
|
+
args: RestoreFromDbBackupCommandInput,
|
|
552
|
+
options?: HttpHandlerOptions,
|
|
553
|
+
): Effect.Effect<
|
|
554
|
+
RestoreFromDbBackupCommandOutput,
|
|
555
|
+
| Cause.TimeoutError
|
|
556
|
+
| SdkError
|
|
557
|
+
| AccessDeniedError
|
|
558
|
+
| ConflictError
|
|
559
|
+
| InternalServerError
|
|
560
|
+
| ResourceNotFoundError
|
|
561
|
+
| ServiceQuotaExceededError
|
|
562
|
+
| ThrottlingError
|
|
563
|
+
| ValidationError
|
|
564
|
+
>;
|
|
565
|
+
|
|
436
566
|
/**
|
|
437
567
|
* @see {@link TagResourceCommand}
|
|
438
568
|
*/
|
|
@@ -514,7 +644,7 @@ export const makeTimestreamInfluxDBService = Effect.gen(function*() {
|
|
|
514
644
|
* @since 1.0.0
|
|
515
645
|
* @category models
|
|
516
646
|
*/
|
|
517
|
-
export class TimestreamInfluxDBService extends
|
|
647
|
+
export class TimestreamInfluxDBService extends Context.Service<
|
|
518
648
|
TimestreamInfluxDBService,
|
|
519
649
|
TimestreamInfluxDBService$
|
|
520
650
|
>()("@effect-aws/client-timestream-influxdb/TimestreamInfluxDBService") {
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { TimestreamInfluxDBClientConfig } from "@aws-sdk/client-timestream-influxdb";
|
|
5
5
|
import * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
6
|
+
import * as Context from "effect/Context";
|
|
6
7
|
import * as Effect from "effect/Effect";
|
|
7
8
|
import { dual } from "effect/Function";
|
|
8
9
|
import * as Layer from "effect/Layer";
|
|
9
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
10
10
|
import type { TimestreamInfluxDBService } from "./TimestreamInfluxDBService.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @since 1.0.0
|
|
14
14
|
* @category timestream-influxdb service config
|
|
15
15
|
*/
|
|
16
|
-
const currentTimestreamInfluxDBServiceConfig =
|
|
16
|
+
const currentTimestreamInfluxDBServiceConfig = Context.Reference<TimestreamInfluxDBService.Config>(
|
|
17
17
|
"@effect-aws/client-timestream-influxdb/currentTimestreamInfluxDBServiceConfig",
|
|
18
18
|
{ defaultValue: () => ({}) },
|
|
19
19
|
);
|