@effect-aws/client-timestream-influxdb 1.9.5 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/TimestreamInfluxDBService.d.ts +19 -18
- package/dist/cjs/TimestreamInfluxDBService.d.ts.map +1 -1
- package/dist/cjs/TimestreamInfluxDBService.js +1 -1
- package/dist/cjs/TimestreamInfluxDBService.js.map +1 -1
- package/dist/dts/TimestreamInfluxDBService.d.ts +19 -18
- package/dist/dts/TimestreamInfluxDBService.d.ts.map +1 -1
- package/dist/esm/TimestreamInfluxDBService.js +1 -1
- package/dist/esm/TimestreamInfluxDBService.js.map +1 -1
- package/package.json +2 -2
- package/src/TimestreamInfluxDBService.ts +61 -11
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
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
5
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
8
|
import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./TimestreamInfluxDBClientInstance.js";
|
|
@@ -11,71 +12,71 @@ interface TimestreamInfluxDBService$ {
|
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link CreateDbClusterCommand}
|
|
13
14
|
*/
|
|
14
|
-
createDbCluster(args: CreateDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbClusterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
|
+
createDbCluster(args: CreateDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link CreateDbInstanceCommand}
|
|
17
18
|
*/
|
|
18
|
-
createDbInstance(args: CreateDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbInstanceCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
|
+
createDbInstance(args: CreateDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link CreateDbParameterGroupCommand}
|
|
21
22
|
*/
|
|
22
|
-
createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbParameterGroupCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
23
|
+
createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbParameterGroupCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link DeleteDbClusterCommand}
|
|
25
26
|
*/
|
|
26
|
-
deleteDbCluster(args: DeleteDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbClusterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
|
+
deleteDbCluster(args: DeleteDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link DeleteDbInstanceCommand}
|
|
29
30
|
*/
|
|
30
|
-
deleteDbInstance(args: DeleteDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbInstanceCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
31
|
+
deleteDbInstance(args: DeleteDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link GetDbClusterCommand}
|
|
33
34
|
*/
|
|
34
|
-
getDbCluster(args: GetDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbClusterCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
|
+
getDbCluster(args: GetDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link GetDbInstanceCommand}
|
|
37
38
|
*/
|
|
38
|
-
getDbInstance(args: GetDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbInstanceCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
39
|
+
getDbInstance(args: GetDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link GetDbParameterGroupCommand}
|
|
41
42
|
*/
|
|
42
|
-
getDbParameterGroup(args: GetDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbParameterGroupCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
43
|
+
getDbParameterGroup(args: GetDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbParameterGroupCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link ListDbClustersCommand}
|
|
45
46
|
*/
|
|
46
|
-
listDbClusters(args: ListDbClustersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbClustersCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
|
+
listDbClusters(args: ListDbClustersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbClustersCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link ListDbInstancesCommand}
|
|
49
50
|
*/
|
|
50
|
-
listDbInstances(args: ListDbInstancesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbInstancesCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
51
|
+
listDbInstances(args: ListDbInstancesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbInstancesCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link ListDbInstancesForClusterCommand}
|
|
53
54
|
*/
|
|
54
|
-
listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbInstancesForClusterCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
55
|
+
listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbInstancesForClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link ListDbParameterGroupsCommand}
|
|
57
58
|
*/
|
|
58
|
-
listDbParameterGroups(args: ListDbParameterGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbParameterGroupsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
|
+
listDbParameterGroups(args: ListDbParameterGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbParameterGroupsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
60
|
/**
|
|
60
61
|
* @see {@link ListTagsForResourceCommand}
|
|
61
62
|
*/
|
|
62
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | ResourceNotFoundError>;
|
|
63
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError>;
|
|
63
64
|
/**
|
|
64
65
|
* @see {@link TagResourceCommand}
|
|
65
66
|
*/
|
|
66
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | ResourceNotFoundError | ServiceQuotaExceededError>;
|
|
67
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceQuotaExceededError>;
|
|
67
68
|
/**
|
|
68
69
|
* @see {@link UntagResourceCommand}
|
|
69
70
|
*/
|
|
70
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | ResourceNotFoundError>;
|
|
71
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError>;
|
|
71
72
|
/**
|
|
72
73
|
* @see {@link UpdateDbClusterCommand}
|
|
73
74
|
*/
|
|
74
|
-
updateDbCluster(args: UpdateDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDbClusterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
75
|
+
updateDbCluster(args: UpdateDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
75
76
|
/**
|
|
76
77
|
* @see {@link UpdateDbInstanceCommand}
|
|
77
78
|
*/
|
|
78
|
-
updateDbInstance(args: UpdateDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDbInstanceCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
79
|
+
updateDbInstance(args: UpdateDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
79
80
|
}
|
|
80
81
|
/**
|
|
81
82
|
* @since 1.0.0
|
|
@@ -83,7 +84,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
83
84
|
*/
|
|
84
85
|
export declare const makeTimestreamInfluxDBService: Effect.Effect<TimestreamInfluxDBService$, never, Instance.TimestreamInfluxDBClientInstance>;
|
|
85
86
|
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,
|
|
87
|
+
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>;
|
|
87
88
|
};
|
|
88
89
|
/**
|
|
89
90
|
* @since 1.0.0
|
|
@@ -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,EAErC,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,EAAE,kBAAkB,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEvF,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,KAAK,EACV,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB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I,CAAC;KACtE;CACF"}
|
|
@@ -58,7 +58,7 @@ const commands = {
|
|
|
58
58
|
*/
|
|
59
59
|
exports.makeTimestreamInfluxDBService = effect_1.Effect.gen(function* () {
|
|
60
60
|
const client = yield* Instance.TimestreamInfluxDBClientInstance;
|
|
61
|
-
return commons_1.Service.fromClientAndCommands(client, commands, {
|
|
61
|
+
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
62
62
|
errorTags: Errors_js_1.AllServiceErrors,
|
|
63
63
|
resolveClientConfig: TimestreamInfluxDBServiceConfig.toTimestreamInfluxDBClientConfig,
|
|
64
64
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimestreamInfluxDBService.js","sourceRoot":"","sources":["../../src/TimestreamInfluxDBService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oFAsD6C;AAE7C,iDAA8C;
|
|
1
|
+
{"version":3,"file":"TimestreamInfluxDBService.js","sourceRoot":"","sources":["../../src/TimestreamInfluxDBService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oFAsD6C;AAE7C,iDAA8C;AAE9C,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,kB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AE,QAAQ,CAAC,CACvF,CACF,CACF,CAAC;;AAtBN,8DAuBC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
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
5
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
8
|
import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./TimestreamInfluxDBClientInstance.js";
|
|
@@ -11,71 +12,71 @@ interface TimestreamInfluxDBService$ {
|
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link CreateDbClusterCommand}
|
|
13
14
|
*/
|
|
14
|
-
createDbCluster(args: CreateDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbClusterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
|
+
createDbCluster(args: CreateDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link CreateDbInstanceCommand}
|
|
17
18
|
*/
|
|
18
|
-
createDbInstance(args: CreateDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbInstanceCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
|
+
createDbInstance(args: CreateDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link CreateDbParameterGroupCommand}
|
|
21
22
|
*/
|
|
22
|
-
createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbParameterGroupCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
23
|
+
createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDbParameterGroupCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link DeleteDbClusterCommand}
|
|
25
26
|
*/
|
|
26
|
-
deleteDbCluster(args: DeleteDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbClusterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
|
+
deleteDbCluster(args: DeleteDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link DeleteDbInstanceCommand}
|
|
29
30
|
*/
|
|
30
|
-
deleteDbInstance(args: DeleteDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbInstanceCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
31
|
+
deleteDbInstance(args: DeleteDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link GetDbClusterCommand}
|
|
33
34
|
*/
|
|
34
|
-
getDbCluster(args: GetDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbClusterCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
|
+
getDbCluster(args: GetDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link GetDbInstanceCommand}
|
|
37
38
|
*/
|
|
38
|
-
getDbInstance(args: GetDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbInstanceCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
39
|
+
getDbInstance(args: GetDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link GetDbParameterGroupCommand}
|
|
41
42
|
*/
|
|
42
|
-
getDbParameterGroup(args: GetDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbParameterGroupCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
43
|
+
getDbParameterGroup(args: GetDbParameterGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDbParameterGroupCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link ListDbClustersCommand}
|
|
45
46
|
*/
|
|
46
|
-
listDbClusters(args: ListDbClustersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbClustersCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
|
+
listDbClusters(args: ListDbClustersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbClustersCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link ListDbInstancesCommand}
|
|
49
50
|
*/
|
|
50
|
-
listDbInstances(args: ListDbInstancesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbInstancesCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
51
|
+
listDbInstances(args: ListDbInstancesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbInstancesCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link ListDbInstancesForClusterCommand}
|
|
53
54
|
*/
|
|
54
|
-
listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbInstancesForClusterCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
55
|
+
listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbInstancesForClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link ListDbParameterGroupsCommand}
|
|
57
58
|
*/
|
|
58
|
-
listDbParameterGroups(args: ListDbParameterGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbParameterGroupsCommandOutput, SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
|
+
listDbParameterGroups(args: ListDbParameterGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDbParameterGroupsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
60
|
/**
|
|
60
61
|
* @see {@link ListTagsForResourceCommand}
|
|
61
62
|
*/
|
|
62
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | ResourceNotFoundError>;
|
|
63
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError>;
|
|
63
64
|
/**
|
|
64
65
|
* @see {@link TagResourceCommand}
|
|
65
66
|
*/
|
|
66
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | ResourceNotFoundError | ServiceQuotaExceededError>;
|
|
67
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceQuotaExceededError>;
|
|
67
68
|
/**
|
|
68
69
|
* @see {@link UntagResourceCommand}
|
|
69
70
|
*/
|
|
70
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | ResourceNotFoundError>;
|
|
71
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError>;
|
|
71
72
|
/**
|
|
72
73
|
* @see {@link UpdateDbClusterCommand}
|
|
73
74
|
*/
|
|
74
|
-
updateDbCluster(args: UpdateDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDbClusterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
75
|
+
updateDbCluster(args: UpdateDbClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDbClusterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
75
76
|
/**
|
|
76
77
|
* @see {@link UpdateDbInstanceCommand}
|
|
77
78
|
*/
|
|
78
|
-
updateDbInstance(args: UpdateDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDbInstanceCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
79
|
+
updateDbInstance(args: UpdateDbInstanceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDbInstanceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
79
80
|
}
|
|
80
81
|
/**
|
|
81
82
|
* @since 1.0.0
|
|
@@ -83,7 +84,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
83
84
|
*/
|
|
84
85
|
export declare const makeTimestreamInfluxDBService: Effect.Effect<TimestreamInfluxDBService$, never, Instance.TimestreamInfluxDBClientInstance>;
|
|
85
86
|
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,
|
|
87
|
+
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>;
|
|
87
88
|
};
|
|
88
89
|
/**
|
|
89
90
|
* @since 1.0.0
|
|
@@ -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,6B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G;IACH,gBAAgB,CACd,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,6BAA6B,EAC3B,QAAQ,GACR,iBAAiB,GACjB,aAAa,GACb,mBAAmB,GACnB,qBAAqB,GACrB,yBAAyB,GACzB,eAAe,GACf,eAAe,CAClB,CAAC;IAEF;;OAEG;IACH,sBAAsB,CACpB,IAAI,EAAE,kCAAkC,EACxC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,mCAAmC,EACjC,QAAQ,GACR,iBAAiB,GACjB,aAAa,GACb,mBAAmB,GACnB,qBAAqB,GACrB,yBAAyB,GACzB,eAAe,GACf,eAAe,CAClB,CAAC;IAEF;;OAEG;IACH,eAAe,CACb,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,4BAA4B,EAC1B,QAAQ,GACR,iBAAiB,GACjB,aAAa,GACb,mBAAmB,GACnB,qBAAqB,GACrB,eAAe,GACf,eAAe,CAClB,CAAC;IAEF;;OAEG;IACH,gBAAgB,CACd,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,6BAA6B,EAC3B,QAAQ,GACR,iBAAiB,GACjB,aAAa,GACb,mBAAmB,GACnB,qBAAqB,GACrB,eAAe,GACf,eAAe,CAClB,CAAC;IAEF;;OAEG;IACH,YAAY,CACV,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,yBAAyB,
|
|
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,K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ACnB,qBAAqB,GACrB,eAAe,GACf,eAAe,CAClB,CAAC;IAEF;;OAEG;IACH,gBAAgB,CACd,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,6BAA6B,EAC3B,KAAK,CAAC,gBAAgB,GACtB,QAAQ,GACR,iBAAiB,GACjB,aAAa,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;CACF"}
|
|
@@ -32,7 +32,7 @@ const commands = {
|
|
|
32
32
|
*/
|
|
33
33
|
export const makeTimestreamInfluxDBService = Effect.gen(function* () {
|
|
34
34
|
const client = yield* Instance.TimestreamInfluxDBClientInstance;
|
|
35
|
-
return Service.fromClientAndCommands(client, commands, {
|
|
35
|
+
return yield* Service.fromClientAndCommands(client, commands, {
|
|
36
36
|
errorTags: AllServiceErrors,
|
|
37
37
|
resolveClientConfig: TimestreamInfluxDBServiceConfig.toTimestreamInfluxDBClientConfig,
|
|
38
38
|
});
|
|
@@ -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,EAGtB,uBAAuB,EAGvB,mBAAmB,EAGnB,oBAAoB,EAGpB,0BAA0B,EAG1B,qBAAqB,EAGrB,sBAAsB,EAGtB,gCAAgC,EAGhC,4BAA4B,EAG5B,0BAA0B,EAG1B,kBAAkB,EAKlB,oBAAoB,EAGpB,sBAAsB,EAGtB,uBAAuB,GAGxB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
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,EAGtB,uBAAuB,EAGvB,mBAAmB,EAGnB,oBAAoB,EAGpB,0BAA0B,EAG1B,qBAAqB,EAGrB,sBAAsB,EAGtB,gCAAgC,EAGhC,4BAA4B,EAG5B,0BAA0B,EAG1B,kBAAkB,EAKlB,oBAAoB,EAGpB,sBAAsB,EAGtB,uBAAuB,GAGxB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAUvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,QAAQ,MAAM,uCAAuC,CAAC;AAClE,OAAO,KAAK,+BAA+B,MAAM,sCAAsC,CAAC;AAExF,MAAM,QAAQ,GAAG;IACf,sBAAsB;IACtB,uBAAuB;IACvB,6BAA6B;IAC7B,sBAAsB;IACtB,uBAAuB;IACvB,mBAAmB;IACnB,oBAAoB;IACpB,0BA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,CAAC,GAAG,CAAC,+BAA+B,CAAC,gCAAgC,EAAE,QAAQ,CAAC,CACvF,CACF,CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-timestream-influxdb",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "Effectful AWS Timestream InfluxDB client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
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": "^0.
|
|
19
|
+
"@effect-aws/commons": "^0.3.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"effect": ">=3.0.4 <4.0.0"
|
|
@@ -58,6 +58,7 @@ import {
|
|
|
58
58
|
} from "@aws-sdk/client-timestream-influxdb";
|
|
59
59
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
60
60
|
import { Service } from "@effect-aws/commons";
|
|
61
|
+
import type { Cause } from "effect";
|
|
61
62
|
import { Effect, Layer } from "effect";
|
|
62
63
|
import type {
|
|
63
64
|
AccessDeniedError,
|
|
@@ -103,6 +104,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
103
104
|
options?: HttpHandlerOptions,
|
|
104
105
|
): Effect.Effect<
|
|
105
106
|
CreateDbClusterCommandOutput,
|
|
107
|
+
| Cause.TimeoutException
|
|
106
108
|
| SdkError
|
|
107
109
|
| AccessDeniedError
|
|
108
110
|
| ConflictError
|
|
@@ -121,6 +123,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
121
123
|
options?: HttpHandlerOptions,
|
|
122
124
|
): Effect.Effect<
|
|
123
125
|
CreateDbInstanceCommandOutput,
|
|
126
|
+
| Cause.TimeoutException
|
|
124
127
|
| SdkError
|
|
125
128
|
| AccessDeniedError
|
|
126
129
|
| ConflictError
|
|
@@ -139,6 +142,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
139
142
|
options?: HttpHandlerOptions,
|
|
140
143
|
): Effect.Effect<
|
|
141
144
|
CreateDbParameterGroupCommandOutput,
|
|
145
|
+
| Cause.TimeoutException
|
|
142
146
|
| SdkError
|
|
143
147
|
| AccessDeniedError
|
|
144
148
|
| ConflictError
|
|
@@ -157,6 +161,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
157
161
|
options?: HttpHandlerOptions,
|
|
158
162
|
): Effect.Effect<
|
|
159
163
|
DeleteDbClusterCommandOutput,
|
|
164
|
+
| Cause.TimeoutException
|
|
160
165
|
| SdkError
|
|
161
166
|
| AccessDeniedError
|
|
162
167
|
| ConflictError
|
|
@@ -174,6 +179,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
174
179
|
options?: HttpHandlerOptions,
|
|
175
180
|
): Effect.Effect<
|
|
176
181
|
DeleteDbInstanceCommandOutput,
|
|
182
|
+
| Cause.TimeoutException
|
|
177
183
|
| SdkError
|
|
178
184
|
| AccessDeniedError
|
|
179
185
|
| ConflictError
|
|
@@ -191,7 +197,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
191
197
|
options?: HttpHandlerOptions,
|
|
192
198
|
): Effect.Effect<
|
|
193
199
|
GetDbClusterCommandOutput,
|
|
194
|
-
|
|
200
|
+
| Cause.TimeoutException
|
|
201
|
+
| SdkError
|
|
202
|
+
| AccessDeniedError
|
|
203
|
+
| InternalServerError
|
|
204
|
+
| ResourceNotFoundError
|
|
205
|
+
| ThrottlingError
|
|
206
|
+
| ValidationError
|
|
195
207
|
>;
|
|
196
208
|
|
|
197
209
|
/**
|
|
@@ -202,7 +214,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
202
214
|
options?: HttpHandlerOptions,
|
|
203
215
|
): Effect.Effect<
|
|
204
216
|
GetDbInstanceCommandOutput,
|
|
205
|
-
|
|
217
|
+
| Cause.TimeoutException
|
|
218
|
+
| SdkError
|
|
219
|
+
| AccessDeniedError
|
|
220
|
+
| InternalServerError
|
|
221
|
+
| ResourceNotFoundError
|
|
222
|
+
| ThrottlingError
|
|
223
|
+
| ValidationError
|
|
206
224
|
>;
|
|
207
225
|
|
|
208
226
|
/**
|
|
@@ -213,7 +231,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
213
231
|
options?: HttpHandlerOptions,
|
|
214
232
|
): Effect.Effect<
|
|
215
233
|
GetDbParameterGroupCommandOutput,
|
|
216
|
-
|
|
234
|
+
| Cause.TimeoutException
|
|
235
|
+
| SdkError
|
|
236
|
+
| AccessDeniedError
|
|
237
|
+
| InternalServerError
|
|
238
|
+
| ResourceNotFoundError
|
|
239
|
+
| ThrottlingError
|
|
240
|
+
| ValidationError
|
|
217
241
|
>;
|
|
218
242
|
|
|
219
243
|
/**
|
|
@@ -224,7 +248,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
224
248
|
options?: HttpHandlerOptions,
|
|
225
249
|
): Effect.Effect<
|
|
226
250
|
ListDbClustersCommandOutput,
|
|
227
|
-
|
|
251
|
+
| Cause.TimeoutException
|
|
252
|
+
| SdkError
|
|
253
|
+
| AccessDeniedError
|
|
254
|
+
| InternalServerError
|
|
255
|
+
| ResourceNotFoundError
|
|
256
|
+
| ThrottlingError
|
|
257
|
+
| ValidationError
|
|
228
258
|
>;
|
|
229
259
|
|
|
230
260
|
/**
|
|
@@ -235,7 +265,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
235
265
|
options?: HttpHandlerOptions,
|
|
236
266
|
): Effect.Effect<
|
|
237
267
|
ListDbInstancesCommandOutput,
|
|
238
|
-
|
|
268
|
+
| Cause.TimeoutException
|
|
269
|
+
| SdkError
|
|
270
|
+
| AccessDeniedError
|
|
271
|
+
| InternalServerError
|
|
272
|
+
| ResourceNotFoundError
|
|
273
|
+
| ThrottlingError
|
|
274
|
+
| ValidationError
|
|
239
275
|
>;
|
|
240
276
|
|
|
241
277
|
/**
|
|
@@ -246,7 +282,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
246
282
|
options?: HttpHandlerOptions,
|
|
247
283
|
): Effect.Effect<
|
|
248
284
|
ListDbInstancesForClusterCommandOutput,
|
|
249
|
-
|
|
285
|
+
| Cause.TimeoutException
|
|
286
|
+
| SdkError
|
|
287
|
+
| AccessDeniedError
|
|
288
|
+
| InternalServerError
|
|
289
|
+
| ResourceNotFoundError
|
|
290
|
+
| ThrottlingError
|
|
291
|
+
| ValidationError
|
|
250
292
|
>;
|
|
251
293
|
|
|
252
294
|
/**
|
|
@@ -257,7 +299,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
257
299
|
options?: HttpHandlerOptions,
|
|
258
300
|
): Effect.Effect<
|
|
259
301
|
ListDbParameterGroupsCommandOutput,
|
|
260
|
-
|
|
302
|
+
| Cause.TimeoutException
|
|
303
|
+
| SdkError
|
|
304
|
+
| AccessDeniedError
|
|
305
|
+
| InternalServerError
|
|
306
|
+
| ResourceNotFoundError
|
|
307
|
+
| ThrottlingError
|
|
308
|
+
| ValidationError
|
|
261
309
|
>;
|
|
262
310
|
|
|
263
311
|
/**
|
|
@@ -268,7 +316,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
268
316
|
options?: HttpHandlerOptions,
|
|
269
317
|
): Effect.Effect<
|
|
270
318
|
ListTagsForResourceCommandOutput,
|
|
271
|
-
SdkError | ResourceNotFoundError
|
|
319
|
+
Cause.TimeoutException | SdkError | ResourceNotFoundError
|
|
272
320
|
>;
|
|
273
321
|
|
|
274
322
|
/**
|
|
@@ -279,7 +327,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
279
327
|
options?: HttpHandlerOptions,
|
|
280
328
|
): Effect.Effect<
|
|
281
329
|
TagResourceCommandOutput,
|
|
282
|
-
SdkError | ResourceNotFoundError | ServiceQuotaExceededError
|
|
330
|
+
Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceQuotaExceededError
|
|
283
331
|
>;
|
|
284
332
|
|
|
285
333
|
/**
|
|
@@ -290,7 +338,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
290
338
|
options?: HttpHandlerOptions,
|
|
291
339
|
): Effect.Effect<
|
|
292
340
|
UntagResourceCommandOutput,
|
|
293
|
-
SdkError | ResourceNotFoundError
|
|
341
|
+
Cause.TimeoutException | SdkError | ResourceNotFoundError
|
|
294
342
|
>;
|
|
295
343
|
|
|
296
344
|
/**
|
|
@@ -301,6 +349,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
301
349
|
options?: HttpHandlerOptions,
|
|
302
350
|
): Effect.Effect<
|
|
303
351
|
UpdateDbClusterCommandOutput,
|
|
352
|
+
| Cause.TimeoutException
|
|
304
353
|
| SdkError
|
|
305
354
|
| AccessDeniedError
|
|
306
355
|
| ConflictError
|
|
@@ -318,6 +367,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
318
367
|
options?: HttpHandlerOptions,
|
|
319
368
|
): Effect.Effect<
|
|
320
369
|
UpdateDbInstanceCommandOutput,
|
|
370
|
+
| Cause.TimeoutException
|
|
321
371
|
| SdkError
|
|
322
372
|
| AccessDeniedError
|
|
323
373
|
| ConflictError
|
|
@@ -335,7 +385,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
335
385
|
export const makeTimestreamInfluxDBService = Effect.gen(function*() {
|
|
336
386
|
const client = yield* Instance.TimestreamInfluxDBClientInstance;
|
|
337
387
|
|
|
338
|
-
return Service.fromClientAndCommands<TimestreamInfluxDBService$>(
|
|
388
|
+
return yield* Service.fromClientAndCommands<TimestreamInfluxDBService$>(
|
|
339
389
|
client,
|
|
340
390
|
commands,
|
|
341
391
|
{
|