@effect-aws/client-timestream-influxdb 1.9.5 → 1.10.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.
- package/dist/cjs/Errors.d.ts +3 -3
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +1 -3
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/cjs/TimestreamInfluxDBService.d.ts +21 -20
- 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/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/TimestreamInfluxDBService.d.ts +21 -20
- package/dist/dts/TimestreamInfluxDBService.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.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/Errors.ts +1 -4
- package/src/TimestreamInfluxDBService.ts +63 -12
package/dist/cjs/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "@aws-sdk/client-timestream-influxdb";
|
|
2
2
|
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
3
|
export declare const AllServiceErrors: readonly ["AccessDeniedException", "ConflictException", "InternalServerException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ThrottlingException", "ValidationException"];
|
|
5
4
|
export type AccessDeniedError = TaggedException<AccessDeniedException>;
|
|
6
5
|
export type ConflictError = TaggedException<ConflictException>;
|
|
@@ -9,6 +8,7 @@ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
|
9
8
|
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
10
9
|
export type ThrottlingError = TaggedException<ThrottlingException>;
|
|
11
10
|
export type ValidationError = TaggedException<ValidationException>;
|
|
12
|
-
export type SdkError =
|
|
13
|
-
|
|
11
|
+
export type SdkError = TaggedException<Error & {
|
|
12
|
+
name: "SdkError";
|
|
13
|
+
}>;
|
|
14
14
|
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/cjs/Errors.d.ts.map
CHANGED
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,gMAQnB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
package/dist/cjs/Errors.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const commons_1 = require("@effect-aws/commons");
|
|
3
|
+
exports.AllServiceErrors = void 0;
|
|
5
4
|
exports.AllServiceErrors = [
|
|
6
5
|
"AccessDeniedException",
|
|
7
6
|
"ConflictException",
|
|
@@ -11,5 +10,4 @@ exports.AllServiceErrors = [
|
|
|
11
10
|
"ThrottlingException",
|
|
12
11
|
"ValidationException",
|
|
13
12
|
];
|
|
14
|
-
exports.SdkError = commons_1.SdkError;
|
|
15
13
|
//# sourceMappingURL=Errors.js.map
|
package/dist/cjs/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAWa,QAAA,gBAAgB,GAAG;IAC9B,uBAAuB;IACvB,mBAAmB;IACnB,yBAAyB;IACzB,2BAA2B;IAC3B,+BAA+B;IAC/B,qBAAqB;IACrB,qBAAqB;CACb,CAAC"}
|
|
@@ -2,80 +2,81 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
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
|
-
import type { HttpHandlerOptions,
|
|
5
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
|
-
import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
|
+
import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./TimestreamInfluxDBClientInstance.js";
|
|
9
10
|
interface TimestreamInfluxDBService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
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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AQ,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"}
|
|
@@ -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;AAWvC,2CAA+C;AAC/C,gFAAkE;AAClE,sGAAwF;AAExF,MAAM,QAAQ,GAAG;IACf,sBAAsB,EAAtB,mDAAsB;IACtB,uBAAuB,EAAvB,oDAAuB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AC7B,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"}
|
package/dist/dts/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "@aws-sdk/client-timestream-influxdb";
|
|
2
2
|
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
3
|
export declare const AllServiceErrors: readonly ["AccessDeniedException", "ConflictException", "InternalServerException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ThrottlingException", "ValidationException"];
|
|
5
4
|
export type AccessDeniedError = TaggedException<AccessDeniedException>;
|
|
6
5
|
export type ConflictError = TaggedException<ConflictException>;
|
|
@@ -9,6 +8,7 @@ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
|
9
8
|
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
10
9
|
export type ThrottlingError = TaggedException<ThrottlingException>;
|
|
11
10
|
export type ValidationError = TaggedException<ValidationException>;
|
|
12
|
-
export type SdkError =
|
|
13
|
-
|
|
11
|
+
export type SdkError = TaggedException<Error & {
|
|
12
|
+
name: "SdkError";
|
|
13
|
+
}>;
|
|
14
14
|
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/dts/Errors.d.ts.map
CHANGED
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,gMAQnB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
|
@@ -2,80 +2,81 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
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
|
-
import type { HttpHandlerOptions,
|
|
5
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
|
-
import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
|
+
import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./TimestreamInfluxDBClientInstance.js";
|
|
9
10
|
interface TimestreamInfluxDBService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
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,2BAA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AC;;;;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"}
|
package/dist/esm/Errors.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
2
1
|
export const AllServiceErrors = [
|
|
3
2
|
"AccessDeniedException",
|
|
4
3
|
"ConflictException",
|
|
@@ -8,5 +7,4 @@ export const AllServiceErrors = [
|
|
|
8
7
|
"ThrottlingException",
|
|
9
8
|
"ValidationException",
|
|
10
9
|
];
|
|
11
|
-
export const SdkError = CommonSdkError;
|
|
12
10
|
//# sourceMappingURL=Errors.js.map
|
package/dist/esm/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,uBAAuB;IACvB,mBAAmB;IACnB,yBAAyB;IACzB,2BAA2B;IAC3B,+BAA+B;IAC/B,qBAAqB;IACrB,qBAAqB;CACb,CAAC"}
|
|
@@ -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;AAE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AC,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"}
|
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.2",
|
|
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"
|
package/src/Errors.ts
CHANGED
|
@@ -8,7 +8,6 @@ import type {
|
|
|
8
8
|
ValidationException,
|
|
9
9
|
} from "@aws-sdk/client-timestream-influxdb";
|
|
10
10
|
import type { TaggedException } from "@effect-aws/commons";
|
|
11
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
12
11
|
|
|
13
12
|
export const AllServiceErrors = [
|
|
14
13
|
"AccessDeniedException",
|
|
@@ -27,6 +26,4 @@ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
|
27
26
|
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
28
27
|
export type ThrottlingError = TaggedException<ThrottlingException>;
|
|
29
28
|
export type ValidationError = TaggedException<ValidationException>;
|
|
30
|
-
|
|
31
|
-
export type SdkError = CommonSdkError;
|
|
32
|
-
export const SdkError = CommonSdkError;
|
|
29
|
+
export type SdkError = TaggedException<Error & { name: "SdkError" }>;
|
|
@@ -56,14 +56,16 @@ import {
|
|
|
56
56
|
type UpdateDbInstanceCommandInput,
|
|
57
57
|
type UpdateDbInstanceCommandOutput,
|
|
58
58
|
} from "@aws-sdk/client-timestream-influxdb";
|
|
59
|
-
import type { HttpHandlerOptions,
|
|
59
|
+
import type { HttpHandlerOptions, 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,
|
|
64
65
|
ConflictError,
|
|
65
66
|
InternalServerError,
|
|
66
67
|
ResourceNotFoundError,
|
|
68
|
+
SdkError,
|
|
67
69
|
ServiceQuotaExceededError,
|
|
68
70
|
ThrottlingError,
|
|
69
71
|
ValidationError,
|
|
@@ -103,6 +105,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
103
105
|
options?: HttpHandlerOptions,
|
|
104
106
|
): Effect.Effect<
|
|
105
107
|
CreateDbClusterCommandOutput,
|
|
108
|
+
| Cause.TimeoutException
|
|
106
109
|
| SdkError
|
|
107
110
|
| AccessDeniedError
|
|
108
111
|
| ConflictError
|
|
@@ -121,6 +124,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
121
124
|
options?: HttpHandlerOptions,
|
|
122
125
|
): Effect.Effect<
|
|
123
126
|
CreateDbInstanceCommandOutput,
|
|
127
|
+
| Cause.TimeoutException
|
|
124
128
|
| SdkError
|
|
125
129
|
| AccessDeniedError
|
|
126
130
|
| ConflictError
|
|
@@ -139,6 +143,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
139
143
|
options?: HttpHandlerOptions,
|
|
140
144
|
): Effect.Effect<
|
|
141
145
|
CreateDbParameterGroupCommandOutput,
|
|
146
|
+
| Cause.TimeoutException
|
|
142
147
|
| SdkError
|
|
143
148
|
| AccessDeniedError
|
|
144
149
|
| ConflictError
|
|
@@ -157,6 +162,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
157
162
|
options?: HttpHandlerOptions,
|
|
158
163
|
): Effect.Effect<
|
|
159
164
|
DeleteDbClusterCommandOutput,
|
|
165
|
+
| Cause.TimeoutException
|
|
160
166
|
| SdkError
|
|
161
167
|
| AccessDeniedError
|
|
162
168
|
| ConflictError
|
|
@@ -174,6 +180,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
174
180
|
options?: HttpHandlerOptions,
|
|
175
181
|
): Effect.Effect<
|
|
176
182
|
DeleteDbInstanceCommandOutput,
|
|
183
|
+
| Cause.TimeoutException
|
|
177
184
|
| SdkError
|
|
178
185
|
| AccessDeniedError
|
|
179
186
|
| ConflictError
|
|
@@ -191,7 +198,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
191
198
|
options?: HttpHandlerOptions,
|
|
192
199
|
): Effect.Effect<
|
|
193
200
|
GetDbClusterCommandOutput,
|
|
194
|
-
|
|
201
|
+
| Cause.TimeoutException
|
|
202
|
+
| SdkError
|
|
203
|
+
| AccessDeniedError
|
|
204
|
+
| InternalServerError
|
|
205
|
+
| ResourceNotFoundError
|
|
206
|
+
| ThrottlingError
|
|
207
|
+
| ValidationError
|
|
195
208
|
>;
|
|
196
209
|
|
|
197
210
|
/**
|
|
@@ -202,7 +215,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
202
215
|
options?: HttpHandlerOptions,
|
|
203
216
|
): Effect.Effect<
|
|
204
217
|
GetDbInstanceCommandOutput,
|
|
205
|
-
|
|
218
|
+
| Cause.TimeoutException
|
|
219
|
+
| SdkError
|
|
220
|
+
| AccessDeniedError
|
|
221
|
+
| InternalServerError
|
|
222
|
+
| ResourceNotFoundError
|
|
223
|
+
| ThrottlingError
|
|
224
|
+
| ValidationError
|
|
206
225
|
>;
|
|
207
226
|
|
|
208
227
|
/**
|
|
@@ -213,7 +232,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
213
232
|
options?: HttpHandlerOptions,
|
|
214
233
|
): Effect.Effect<
|
|
215
234
|
GetDbParameterGroupCommandOutput,
|
|
216
|
-
|
|
235
|
+
| Cause.TimeoutException
|
|
236
|
+
| SdkError
|
|
237
|
+
| AccessDeniedError
|
|
238
|
+
| InternalServerError
|
|
239
|
+
| ResourceNotFoundError
|
|
240
|
+
| ThrottlingError
|
|
241
|
+
| ValidationError
|
|
217
242
|
>;
|
|
218
243
|
|
|
219
244
|
/**
|
|
@@ -224,7 +249,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
224
249
|
options?: HttpHandlerOptions,
|
|
225
250
|
): Effect.Effect<
|
|
226
251
|
ListDbClustersCommandOutput,
|
|
227
|
-
|
|
252
|
+
| Cause.TimeoutException
|
|
253
|
+
| SdkError
|
|
254
|
+
| AccessDeniedError
|
|
255
|
+
| InternalServerError
|
|
256
|
+
| ResourceNotFoundError
|
|
257
|
+
| ThrottlingError
|
|
258
|
+
| ValidationError
|
|
228
259
|
>;
|
|
229
260
|
|
|
230
261
|
/**
|
|
@@ -235,7 +266,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
235
266
|
options?: HttpHandlerOptions,
|
|
236
267
|
): Effect.Effect<
|
|
237
268
|
ListDbInstancesCommandOutput,
|
|
238
|
-
|
|
269
|
+
| Cause.TimeoutException
|
|
270
|
+
| SdkError
|
|
271
|
+
| AccessDeniedError
|
|
272
|
+
| InternalServerError
|
|
273
|
+
| ResourceNotFoundError
|
|
274
|
+
| ThrottlingError
|
|
275
|
+
| ValidationError
|
|
239
276
|
>;
|
|
240
277
|
|
|
241
278
|
/**
|
|
@@ -246,7 +283,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
246
283
|
options?: HttpHandlerOptions,
|
|
247
284
|
): Effect.Effect<
|
|
248
285
|
ListDbInstancesForClusterCommandOutput,
|
|
249
|
-
|
|
286
|
+
| Cause.TimeoutException
|
|
287
|
+
| SdkError
|
|
288
|
+
| AccessDeniedError
|
|
289
|
+
| InternalServerError
|
|
290
|
+
| ResourceNotFoundError
|
|
291
|
+
| ThrottlingError
|
|
292
|
+
| ValidationError
|
|
250
293
|
>;
|
|
251
294
|
|
|
252
295
|
/**
|
|
@@ -257,7 +300,13 @@ interface TimestreamInfluxDBService$ {
|
|
|
257
300
|
options?: HttpHandlerOptions,
|
|
258
301
|
): Effect.Effect<
|
|
259
302
|
ListDbParameterGroupsCommandOutput,
|
|
260
|
-
|
|
303
|
+
| Cause.TimeoutException
|
|
304
|
+
| SdkError
|
|
305
|
+
| AccessDeniedError
|
|
306
|
+
| InternalServerError
|
|
307
|
+
| ResourceNotFoundError
|
|
308
|
+
| ThrottlingError
|
|
309
|
+
| ValidationError
|
|
261
310
|
>;
|
|
262
311
|
|
|
263
312
|
/**
|
|
@@ -268,7 +317,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
268
317
|
options?: HttpHandlerOptions,
|
|
269
318
|
): Effect.Effect<
|
|
270
319
|
ListTagsForResourceCommandOutput,
|
|
271
|
-
SdkError | ResourceNotFoundError
|
|
320
|
+
Cause.TimeoutException | SdkError | ResourceNotFoundError
|
|
272
321
|
>;
|
|
273
322
|
|
|
274
323
|
/**
|
|
@@ -279,7 +328,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
279
328
|
options?: HttpHandlerOptions,
|
|
280
329
|
): Effect.Effect<
|
|
281
330
|
TagResourceCommandOutput,
|
|
282
|
-
SdkError | ResourceNotFoundError | ServiceQuotaExceededError
|
|
331
|
+
Cause.TimeoutException | SdkError | ResourceNotFoundError | ServiceQuotaExceededError
|
|
283
332
|
>;
|
|
284
333
|
|
|
285
334
|
/**
|
|
@@ -290,7 +339,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
290
339
|
options?: HttpHandlerOptions,
|
|
291
340
|
): Effect.Effect<
|
|
292
341
|
UntagResourceCommandOutput,
|
|
293
|
-
SdkError | ResourceNotFoundError
|
|
342
|
+
Cause.TimeoutException | SdkError | ResourceNotFoundError
|
|
294
343
|
>;
|
|
295
344
|
|
|
296
345
|
/**
|
|
@@ -301,6 +350,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
301
350
|
options?: HttpHandlerOptions,
|
|
302
351
|
): Effect.Effect<
|
|
303
352
|
UpdateDbClusterCommandOutput,
|
|
353
|
+
| Cause.TimeoutException
|
|
304
354
|
| SdkError
|
|
305
355
|
| AccessDeniedError
|
|
306
356
|
| ConflictError
|
|
@@ -318,6 +368,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
318
368
|
options?: HttpHandlerOptions,
|
|
319
369
|
): Effect.Effect<
|
|
320
370
|
UpdateDbInstanceCommandOutput,
|
|
371
|
+
| Cause.TimeoutException
|
|
321
372
|
| SdkError
|
|
322
373
|
| AccessDeniedError
|
|
323
374
|
| ConflictError
|
|
@@ -335,7 +386,7 @@ interface TimestreamInfluxDBService$ {
|
|
|
335
386
|
export const makeTimestreamInfluxDBService = Effect.gen(function*() {
|
|
336
387
|
const client = yield* Instance.TimestreamInfluxDBClientInstance;
|
|
337
388
|
|
|
338
|
-
return Service.fromClientAndCommands<TimestreamInfluxDBService$>(
|
|
389
|
+
return yield* Service.fromClientAndCommands<TimestreamInfluxDBService$>(
|
|
339
390
|
client,
|
|
340
391
|
commands,
|
|
341
392
|
{
|