@effect-aws/client-timestream-write 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/TimestreamWriteService.d.ts +23 -22
- package/dist/cjs/TimestreamWriteService.d.ts.map +1 -1
- package/dist/cjs/TimestreamWriteService.js +1 -1
- package/dist/cjs/TimestreamWriteService.js.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/TimestreamWriteService.d.ts +23 -22
- package/dist/dts/TimestreamWriteService.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/TimestreamWriteService.js +1 -1
- package/dist/esm/TimestreamWriteService.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -4
- package/src/TimestreamWriteService.ts +41 -7
package/dist/cjs/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { AccessDeniedException, ConflictException, InternalServerException, InvalidEndpointException, RejectedRecordsException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "@aws-sdk/client-timestream-write";
|
|
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", "InvalidEndpointException", "RejectedRecordsException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ThrottlingException", "ValidationException"];
|
|
5
4
|
export type AccessDeniedError = TaggedException<AccessDeniedException>;
|
|
6
5
|
export type ConflictError = TaggedException<ConflictException>;
|
|
@@ -11,6 +10,7 @@ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
|
11
10
|
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
12
11
|
export type ThrottlingError = TaggedException<ThrottlingException>;
|
|
13
12
|
export type ValidationError = TaggedException<ValidationException>;
|
|
14
|
-
export type SdkError =
|
|
15
|
-
|
|
13
|
+
export type SdkError = TaggedException<Error & {
|
|
14
|
+
name: "SdkError";
|
|
15
|
+
}>;
|
|
16
16
|
//# 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,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,kCAAkC,CAAC;AAC1C,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,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,wPAUnB,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,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,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",
|
|
@@ -13,5 +12,4 @@ exports.AllServiceErrors = [
|
|
|
13
12
|
"ThrottlingException",
|
|
14
13
|
"ValidationException",
|
|
15
14
|
];
|
|
16
|
-
exports.SdkError = commons_1.SdkError;
|
|
17
15
|
//# 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":";;;AAaa,QAAA,gBAAgB,GAAG;IAC9B,uBAAuB;IACvB,mBAAmB;IACnB,yBAAyB;IACzB,0BAA0B;IAC1B,0BAA0B;IAC1B,2BAA2B;IAC3B,+BAA+B;IAC/B,qBAAqB;IACrB,qBAAqB;CACb,CAAC"}
|
|
@@ -2,88 +2,89 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { type CreateBatchLoadTaskCommandInput, type CreateBatchLoadTaskCommandOutput, type CreateDatabaseCommandInput, type CreateDatabaseCommandOutput, type CreateTableCommandInput, type CreateTableCommandOutput, type DeleteDatabaseCommandInput, type DeleteDatabaseCommandOutput, type DeleteTableCommandInput, type DeleteTableCommandOutput, type DescribeBatchLoadTaskCommandInput, type DescribeBatchLoadTaskCommandOutput, type DescribeDatabaseCommandInput, type DescribeDatabaseCommandOutput, type DescribeEndpointsCommandInput, type DescribeEndpointsCommandOutput, type DescribeTableCommandInput, type DescribeTableCommandOutput, type ListBatchLoadTasksCommandInput, type ListBatchLoadTasksCommandOutput, type ListDatabasesCommandInput, type ListDatabasesCommandOutput, type ListTablesCommandInput, type ListTablesCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ResumeBatchLoadTaskCommandInput, type ResumeBatchLoadTaskCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type TimestreamWriteClient, type TimestreamWriteClientConfig, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateDatabaseCommandInput, type UpdateDatabaseCommandOutput, type UpdateTableCommandInput, type UpdateTableCommandOutput, type WriteRecordsCommandInput, type WriteRecordsCommandOutput } from "@aws-sdk/client-timestream-write";
|
|
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, InvalidEndpointError, RejectedRecordsError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
|
+
import type { AccessDeniedError, ConflictError, InternalServerError, InvalidEndpointError, RejectedRecordsError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./TimestreamWriteClientInstance.js";
|
|
9
10
|
interface TimestreamWriteService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link CreateBatchLoadTaskCommand}
|
|
13
14
|
*/
|
|
14
|
-
createBatchLoadTask(args: CreateBatchLoadTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateBatchLoadTaskCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
|
+
createBatchLoadTask(args: CreateBatchLoadTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateBatchLoadTaskCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link CreateDatabaseCommand}
|
|
17
18
|
*/
|
|
18
|
-
createDatabase(args: CreateDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDatabaseCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidEndpointError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
|
+
createDatabase(args: CreateDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDatabaseCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidEndpointError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link CreateTableCommand}
|
|
21
22
|
*/
|
|
22
|
-
createTable(args: CreateTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateTableCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
23
|
+
createTable(args: CreateTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateTableCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link DeleteDatabaseCommand}
|
|
25
26
|
*/
|
|
26
|
-
deleteDatabase(args: DeleteDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDatabaseCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
|
+
deleteDatabase(args: DeleteDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDatabaseCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link DeleteTableCommand}
|
|
29
30
|
*/
|
|
30
|
-
deleteTable(args: DeleteTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteTableCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
31
|
+
deleteTable(args: DeleteTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteTableCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link DescribeBatchLoadTaskCommand}
|
|
33
34
|
*/
|
|
34
|
-
describeBatchLoadTask(args: DescribeBatchLoadTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBatchLoadTaskCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError>;
|
|
35
|
+
describeBatchLoadTask(args: DescribeBatchLoadTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBatchLoadTaskCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link DescribeDatabaseCommand}
|
|
37
38
|
*/
|
|
38
|
-
describeDatabase(args: DescribeDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDatabaseCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
39
|
+
describeDatabase(args: DescribeDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDatabaseCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link DescribeEndpointsCommand}
|
|
41
42
|
*/
|
|
42
|
-
describeEndpoints(args: DescribeEndpointsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeEndpointsCommandOutput, SdkError | InternalServerError | ThrottlingError | ValidationError>;
|
|
43
|
+
describeEndpoints(args: DescribeEndpointsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeEndpointsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ThrottlingError | ValidationError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link DescribeTableCommand}
|
|
45
46
|
*/
|
|
46
|
-
describeTable(args: DescribeTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeTableCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
|
+
describeTable(args: DescribeTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeTableCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link ListBatchLoadTasksCommand}
|
|
49
50
|
*/
|
|
50
|
-
listBatchLoadTasks(args: ListBatchLoadTasksCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListBatchLoadTasksCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ThrottlingError | ValidationError>;
|
|
51
|
+
listBatchLoadTasks(args: ListBatchLoadTasksCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListBatchLoadTasksCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ThrottlingError | ValidationError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link ListDatabasesCommand}
|
|
53
54
|
*/
|
|
54
|
-
listDatabases(args: ListDatabasesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDatabasesCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ThrottlingError | ValidationError>;
|
|
55
|
+
listDatabases(args: ListDatabasesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDatabasesCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ThrottlingError | ValidationError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link ListTablesCommand}
|
|
57
58
|
*/
|
|
58
|
-
listTables(args: ListTablesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTablesCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
|
+
listTables(args: ListTablesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTablesCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
60
|
/**
|
|
60
61
|
* @see {@link ListTagsForResourceCommand}
|
|
61
62
|
*/
|
|
62
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
63
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
63
64
|
/**
|
|
64
65
|
* @see {@link ResumeBatchLoadTaskCommand}
|
|
65
66
|
*/
|
|
66
|
-
resumeBatchLoadTask(args: ResumeBatchLoadTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<ResumeBatchLoadTaskCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
67
|
+
resumeBatchLoadTask(args: ResumeBatchLoadTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<ResumeBatchLoadTaskCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
67
68
|
/**
|
|
68
69
|
* @see {@link TagResourceCommand}
|
|
69
70
|
*/
|
|
70
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
71
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
71
72
|
/**
|
|
72
73
|
* @see {@link UntagResourceCommand}
|
|
73
74
|
*/
|
|
74
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
75
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
75
76
|
/**
|
|
76
77
|
* @see {@link UpdateDatabaseCommand}
|
|
77
78
|
*/
|
|
78
|
-
updateDatabase(args: UpdateDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDatabaseCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
79
|
+
updateDatabase(args: UpdateDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDatabaseCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
79
80
|
/**
|
|
80
81
|
* @see {@link UpdateTableCommand}
|
|
81
82
|
*/
|
|
82
|
-
updateTable(args: UpdateTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateTableCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
83
|
+
updateTable(args: UpdateTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateTableCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
83
84
|
/**
|
|
84
85
|
* @see {@link WriteRecordsCommand}
|
|
85
86
|
*/
|
|
86
|
-
writeRecords(args: WriteRecordsCommandInput, options?: HttpHandlerOptions): Effect.Effect<WriteRecordsCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | RejectedRecordsError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
87
|
+
writeRecords(args: WriteRecordsCommandInput, options?: HttpHandlerOptions): Effect.Effect<WriteRecordsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | RejectedRecordsError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
87
88
|
}
|
|
88
89
|
/**
|
|
89
90
|
* @since 1.0.0
|
|
@@ -91,7 +92,7 @@ interface TimestreamWriteService$ {
|
|
|
91
92
|
*/
|
|
92
93
|
export declare const makeTimestreamWriteService: Effect.Effect<TimestreamWriteService$, never, Instance.TimestreamWriteClientInstance>;
|
|
93
94
|
declare const TimestreamWriteService_base: import("effect/Context").TagClass<TimestreamWriteService, "@effect-aws/client-timestream-write/TimestreamWriteService", TimestreamWriteService$> & Effect.Tag.Proxy<TimestreamWriteService, TimestreamWriteService$> & {
|
|
94
|
-
use: <X>(body: (_: TimestreamWriteService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, TimestreamWriteService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
95
|
+
use: <X>(body: (_: TimestreamWriteService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, TimestreamWriteService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, TimestreamWriteService> : Effect.Effect<X, never, TimestreamWriteService>;
|
|
95
96
|
};
|
|
96
97
|
/**
|
|
97
98
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimestreamWriteService.d.ts","sourceRoot":"","sources":["../../src/TimestreamWriteService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,uBAAuB,EAC5B,K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AAI,CAAC,2BAA2B,EAAE,QAAQ,CAAC;QACzE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
|
@@ -60,7 +60,7 @@ const commands = {
|
|
|
60
60
|
*/
|
|
61
61
|
exports.makeTimestreamWriteService = effect_1.Effect.gen(function* () {
|
|
62
62
|
const client = yield* Instance.TimestreamWriteClientInstance;
|
|
63
|
-
return commons_1.Service.fromClientAndCommands(client, commands, {
|
|
63
|
+
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
64
64
|
errorTags: Errors_js_1.AllServiceErrors,
|
|
65
65
|
resolveClientConfig: TimestreamWriteServiceConfig.toTimestreamWriteClientConfig,
|
|
66
66
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimestreamWriteService.js","sourceRoot":"","sources":["../../src/TimestreamWriteService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8EA4D0C;AAE1C,iDAA8C;
|
|
1
|
+
{"version":3,"file":"TimestreamWriteService.js","sourceRoot":"","sources":["../../src/TimestreamWriteService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8EA4D0C;AAE1C,iDAA8C;AAE9C,mCAAuC;AAavC,2CAA+C;AAC/C,6EAA+D;AAC/D,gGAAkF;AAElF,MAAM,QAAQ,GAAG;IACf,0BAA0B,EAA1B,oDAA0B;IAC1B,qBAAqB,EAArB,+CAAqB;IACrB,kBAAkB,EAAlB,4CAAkB;IAClB,qBAAqB,EAArB,+CAAqB;IACrB,kBAAkB,EAAlB,4CAAkB;IAClB,4BAA4B,EAA5B,sDAA4B;IAC5B,uBAAuB,EAAvB,iDAAuB;IACvB,wBAAwB,EAAxB,kDAAwB;IACxB,oBAAoB,EAApB,8CAAoB;IACpB,yBAAyB,EAAzB,mDAAyB;IACzB,oBAAoB,EAApB,8CAA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IAAI,CACjD,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,6BAA6B,EACtC,eAAM,CAAC,GAAG,CAAC,4BAA4B,CAAC,6BAA6B,EAAE,QAAQ,CAAC,CACjF,CACF,CACF,CAAC;;AApBN,wDAqBC"}
|
package/dist/dts/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { AccessDeniedException, ConflictException, InternalServerException, InvalidEndpointException, RejectedRecordsException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "@aws-sdk/client-timestream-write";
|
|
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", "InvalidEndpointException", "RejectedRecordsException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ThrottlingException", "ValidationException"];
|
|
5
4
|
export type AccessDeniedError = TaggedException<AccessDeniedException>;
|
|
6
5
|
export type ConflictError = TaggedException<ConflictException>;
|
|
@@ -11,6 +10,7 @@ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
|
11
10
|
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
12
11
|
export type ThrottlingError = TaggedException<ThrottlingException>;
|
|
13
12
|
export type ValidationError = TaggedException<ValidationException>;
|
|
14
|
-
export type SdkError =
|
|
15
|
-
|
|
13
|
+
export type SdkError = TaggedException<Error & {
|
|
14
|
+
name: "SdkError";
|
|
15
|
+
}>;
|
|
16
16
|
//# 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,EACv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@@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { type CreateBatchLoadTaskCommandInput, type CreateBatchLoadTaskCommandOutput, type CreateDatabaseCommandInput, type CreateDatabaseCommandOutput, type CreateTableCommandInput, type CreateTableCommandOutput, type DeleteDatabaseCommandInput, type DeleteDatabaseCommandOutput, type DeleteTableCommandInput, type DeleteTableCommandOutput, type DescribeBatchLoadTaskCommandInput, type DescribeBatchLoadTaskCommandOutput, type DescribeDatabaseCommandInput, type DescribeDatabaseCommandOutput, type DescribeEndpointsCommandInput, type DescribeEndpointsCommandOutput, type DescribeTableCommandInput, type DescribeTableCommandOutput, type ListBatchLoadTasksCommandInput, type ListBatchLoadTasksCommandOutput, type ListDatabasesCommandInput, type ListDatabasesCommandOutput, type ListTablesCommandInput, type ListTablesCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ResumeBatchLoadTaskCommandInput, type ResumeBatchLoadTaskCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type TimestreamWriteClient, type TimestreamWriteClientConfig, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateDatabaseCommandInput, type UpdateDatabaseCommandOutput, type UpdateTableCommandInput, type UpdateTableCommandOutput, type WriteRecordsCommandInput, type WriteRecordsCommandOutput } from "@aws-sdk/client-timestream-write";
|
|
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, InvalidEndpointError, RejectedRecordsError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
|
+
import type { AccessDeniedError, ConflictError, InternalServerError, InvalidEndpointError, RejectedRecordsError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./TimestreamWriteClientInstance.js";
|
|
9
10
|
interface TimestreamWriteService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link CreateBatchLoadTaskCommand}
|
|
13
14
|
*/
|
|
14
|
-
createBatchLoadTask(args: CreateBatchLoadTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateBatchLoadTaskCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
|
+
createBatchLoadTask(args: CreateBatchLoadTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateBatchLoadTaskCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link CreateDatabaseCommand}
|
|
17
18
|
*/
|
|
18
|
-
createDatabase(args: CreateDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDatabaseCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidEndpointError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
|
+
createDatabase(args: CreateDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDatabaseCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidEndpointError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link CreateTableCommand}
|
|
21
22
|
*/
|
|
22
|
-
createTable(args: CreateTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateTableCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
23
|
+
createTable(args: CreateTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateTableCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link DeleteDatabaseCommand}
|
|
25
26
|
*/
|
|
26
|
-
deleteDatabase(args: DeleteDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDatabaseCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
|
+
deleteDatabase(args: DeleteDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDatabaseCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link DeleteTableCommand}
|
|
29
30
|
*/
|
|
30
|
-
deleteTable(args: DeleteTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteTableCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
31
|
+
deleteTable(args: DeleteTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteTableCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link DescribeBatchLoadTaskCommand}
|
|
33
34
|
*/
|
|
34
|
-
describeBatchLoadTask(args: DescribeBatchLoadTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBatchLoadTaskCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError>;
|
|
35
|
+
describeBatchLoadTask(args: DescribeBatchLoadTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBatchLoadTaskCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link DescribeDatabaseCommand}
|
|
37
38
|
*/
|
|
38
|
-
describeDatabase(args: DescribeDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDatabaseCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
39
|
+
describeDatabase(args: DescribeDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDatabaseCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link DescribeEndpointsCommand}
|
|
41
42
|
*/
|
|
42
|
-
describeEndpoints(args: DescribeEndpointsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeEndpointsCommandOutput, SdkError | InternalServerError | ThrottlingError | ValidationError>;
|
|
43
|
+
describeEndpoints(args: DescribeEndpointsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeEndpointsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ThrottlingError | ValidationError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link DescribeTableCommand}
|
|
45
46
|
*/
|
|
46
|
-
describeTable(args: DescribeTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeTableCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
|
+
describeTable(args: DescribeTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeTableCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link ListBatchLoadTasksCommand}
|
|
49
50
|
*/
|
|
50
|
-
listBatchLoadTasks(args: ListBatchLoadTasksCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListBatchLoadTasksCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ThrottlingError | ValidationError>;
|
|
51
|
+
listBatchLoadTasks(args: ListBatchLoadTasksCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListBatchLoadTasksCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ThrottlingError | ValidationError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link ListDatabasesCommand}
|
|
53
54
|
*/
|
|
54
|
-
listDatabases(args: ListDatabasesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDatabasesCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ThrottlingError | ValidationError>;
|
|
55
|
+
listDatabases(args: ListDatabasesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDatabasesCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ThrottlingError | ValidationError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link ListTablesCommand}
|
|
57
58
|
*/
|
|
58
|
-
listTables(args: ListTablesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTablesCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
|
+
listTables(args: ListTablesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTablesCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
60
|
/**
|
|
60
61
|
* @see {@link ListTagsForResourceCommand}
|
|
61
62
|
*/
|
|
62
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
63
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
63
64
|
/**
|
|
64
65
|
* @see {@link ResumeBatchLoadTaskCommand}
|
|
65
66
|
*/
|
|
66
|
-
resumeBatchLoadTask(args: ResumeBatchLoadTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<ResumeBatchLoadTaskCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
67
|
+
resumeBatchLoadTask(args: ResumeBatchLoadTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<ResumeBatchLoadTaskCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
67
68
|
/**
|
|
68
69
|
* @see {@link TagResourceCommand}
|
|
69
70
|
*/
|
|
70
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
71
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
71
72
|
/**
|
|
72
73
|
* @see {@link UntagResourceCommand}
|
|
73
74
|
*/
|
|
74
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
75
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
75
76
|
/**
|
|
76
77
|
* @see {@link UpdateDatabaseCommand}
|
|
77
78
|
*/
|
|
78
|
-
updateDatabase(args: UpdateDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDatabaseCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
79
|
+
updateDatabase(args: UpdateDatabaseCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDatabaseCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
79
80
|
/**
|
|
80
81
|
* @see {@link UpdateTableCommand}
|
|
81
82
|
*/
|
|
82
|
-
updateTable(args: UpdateTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateTableCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
83
|
+
updateTable(args: UpdateTableCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateTableCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
83
84
|
/**
|
|
84
85
|
* @see {@link WriteRecordsCommand}
|
|
85
86
|
*/
|
|
86
|
-
writeRecords(args: WriteRecordsCommandInput, options?: HttpHandlerOptions): Effect.Effect<WriteRecordsCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | RejectedRecordsError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
87
|
+
writeRecords(args: WriteRecordsCommandInput, options?: HttpHandlerOptions): Effect.Effect<WriteRecordsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidEndpointError | RejectedRecordsError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
87
88
|
}
|
|
88
89
|
/**
|
|
89
90
|
* @since 1.0.0
|
|
@@ -91,7 +92,7 @@ interface TimestreamWriteService$ {
|
|
|
91
92
|
*/
|
|
92
93
|
export declare const makeTimestreamWriteService: Effect.Effect<TimestreamWriteService$, never, Instance.TimestreamWriteClientInstance>;
|
|
93
94
|
declare const TimestreamWriteService_base: import("effect/Context").TagClass<TimestreamWriteService, "@effect-aws/client-timestream-write/TimestreamWriteService", TimestreamWriteService$> & Effect.Tag.Proxy<TimestreamWriteService, TimestreamWriteService$> & {
|
|
94
|
-
use: <X>(body: (_: TimestreamWriteService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, TimestreamWriteService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
95
|
+
use: <X>(body: (_: TimestreamWriteService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, TimestreamWriteService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, TimestreamWriteService> : Effect.Effect<X, never, TimestreamWriteService>;
|
|
95
96
|
};
|
|
96
97
|
/**
|
|
97
98
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimestreamWriteService.d.ts","sourceRoot":"","sources":["../../src/TimestreamWriteService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,4BAA4B,EACjC,K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AC,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",
|
|
@@ -10,5 +9,4 @@ export const AllServiceErrors = [
|
|
|
10
9
|
"ThrottlingException",
|
|
11
10
|
"ValidationException",
|
|
12
11
|
];
|
|
13
|
-
export const SdkError = CommonSdkError;
|
|
14
12
|
//# 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":"AAaA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,uBAAuB;IACvB,mBAAmB;IACnB,yBAAyB;IACzB,0BAA0B;IAC1B,0BAA0B;IAC1B,2BAA2B;IAC3B,+BAA+B;IAC/B,qBAAqB;IACrB,qBAAqB;CACb,CAAC"}
|
|
@@ -34,7 +34,7 @@ const commands = {
|
|
|
34
34
|
*/
|
|
35
35
|
export const makeTimestreamWriteService = Effect.gen(function* () {
|
|
36
36
|
const client = yield* Instance.TimestreamWriteClientInstance;
|
|
37
|
-
return Service.fromClientAndCommands(client, commands, {
|
|
37
|
+
return yield* Service.fromClientAndCommands(client, commands, {
|
|
38
38
|
errorTags: AllServiceErrors,
|
|
39
39
|
resolveClientConfig: TimestreamWriteServiceConfig.toTimestreamWriteClientConfig,
|
|
40
40
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimestreamWriteService.js","sourceRoot":"","sources":["../../src/TimestreamWriteService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,0BAA0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,GAAG,CAAC,4BAA4B,CAAC,6BAA6B,EAAE,QAAQ,CAAC,CACjF,CACF,CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-timestream-write",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"description": "Effectful AWS Timestream Write client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-timestream-write",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-timestream-write": "^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
|
@@ -10,7 +10,6 @@ import type {
|
|
|
10
10
|
ValidationException,
|
|
11
11
|
} from "@aws-sdk/client-timestream-write";
|
|
12
12
|
import type { TaggedException } from "@effect-aws/commons";
|
|
13
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
14
13
|
|
|
15
14
|
export const AllServiceErrors = [
|
|
16
15
|
"AccessDeniedException",
|
|
@@ -33,6 +32,4 @@ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
|
33
32
|
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
34
33
|
export type ThrottlingError = TaggedException<ThrottlingException>;
|
|
35
34
|
export type ValidationError = TaggedException<ValidationException>;
|
|
36
|
-
|
|
37
|
-
export type SdkError = CommonSdkError;
|
|
38
|
-
export const SdkError = CommonSdkError;
|
|
35
|
+
export type SdkError = TaggedException<Error & { name: "SdkError" }>;
|
|
@@ -62,8 +62,9 @@ import {
|
|
|
62
62
|
type WriteRecordsCommandInput,
|
|
63
63
|
type WriteRecordsCommandOutput,
|
|
64
64
|
} from "@aws-sdk/client-timestream-write";
|
|
65
|
-
import type { HttpHandlerOptions,
|
|
65
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
66
66
|
import { Service } from "@effect-aws/commons";
|
|
67
|
+
import type { Cause } from "effect";
|
|
67
68
|
import { Effect, Layer } from "effect";
|
|
68
69
|
import type {
|
|
69
70
|
AccessDeniedError,
|
|
@@ -72,6 +73,7 @@ import type {
|
|
|
72
73
|
InvalidEndpointError,
|
|
73
74
|
RejectedRecordsError,
|
|
74
75
|
ResourceNotFoundError,
|
|
76
|
+
SdkError,
|
|
75
77
|
ServiceQuotaExceededError,
|
|
76
78
|
ThrottlingError,
|
|
77
79
|
ValidationError,
|
|
@@ -113,6 +115,7 @@ interface TimestreamWriteService$ {
|
|
|
113
115
|
options?: HttpHandlerOptions,
|
|
114
116
|
): Effect.Effect<
|
|
115
117
|
CreateBatchLoadTaskCommandOutput,
|
|
118
|
+
| Cause.TimeoutException
|
|
116
119
|
| SdkError
|
|
117
120
|
| AccessDeniedError
|
|
118
121
|
| ConflictError
|
|
@@ -132,6 +135,7 @@ interface TimestreamWriteService$ {
|
|
|
132
135
|
options?: HttpHandlerOptions,
|
|
133
136
|
): Effect.Effect<
|
|
134
137
|
CreateDatabaseCommandOutput,
|
|
138
|
+
| Cause.TimeoutException
|
|
135
139
|
| SdkError
|
|
136
140
|
| AccessDeniedError
|
|
137
141
|
| ConflictError
|
|
@@ -150,6 +154,7 @@ interface TimestreamWriteService$ {
|
|
|
150
154
|
options?: HttpHandlerOptions,
|
|
151
155
|
): Effect.Effect<
|
|
152
156
|
CreateTableCommandOutput,
|
|
157
|
+
| Cause.TimeoutException
|
|
153
158
|
| SdkError
|
|
154
159
|
| AccessDeniedError
|
|
155
160
|
| ConflictError
|
|
@@ -169,6 +174,7 @@ interface TimestreamWriteService$ {
|
|
|
169
174
|
options?: HttpHandlerOptions,
|
|
170
175
|
): Effect.Effect<
|
|
171
176
|
DeleteDatabaseCommandOutput,
|
|
177
|
+
| Cause.TimeoutException
|
|
172
178
|
| SdkError
|
|
173
179
|
| AccessDeniedError
|
|
174
180
|
| InternalServerError
|
|
@@ -186,6 +192,7 @@ interface TimestreamWriteService$ {
|
|
|
186
192
|
options?: HttpHandlerOptions,
|
|
187
193
|
): Effect.Effect<
|
|
188
194
|
DeleteTableCommandOutput,
|
|
195
|
+
| Cause.TimeoutException
|
|
189
196
|
| SdkError
|
|
190
197
|
| AccessDeniedError
|
|
191
198
|
| InternalServerError
|
|
@@ -203,7 +210,13 @@ interface TimestreamWriteService$ {
|
|
|
203
210
|
options?: HttpHandlerOptions,
|
|
204
211
|
): Effect.Effect<
|
|
205
212
|
DescribeBatchLoadTaskCommandOutput,
|
|
206
|
-
|
|
213
|
+
| Cause.TimeoutException
|
|
214
|
+
| SdkError
|
|
215
|
+
| AccessDeniedError
|
|
216
|
+
| InternalServerError
|
|
217
|
+
| InvalidEndpointError
|
|
218
|
+
| ResourceNotFoundError
|
|
219
|
+
| ThrottlingError
|
|
207
220
|
>;
|
|
208
221
|
|
|
209
222
|
/**
|
|
@@ -214,6 +227,7 @@ interface TimestreamWriteService$ {
|
|
|
214
227
|
options?: HttpHandlerOptions,
|
|
215
228
|
): Effect.Effect<
|
|
216
229
|
DescribeDatabaseCommandOutput,
|
|
230
|
+
| Cause.TimeoutException
|
|
217
231
|
| SdkError
|
|
218
232
|
| AccessDeniedError
|
|
219
233
|
| InternalServerError
|
|
@@ -231,7 +245,7 @@ interface TimestreamWriteService$ {
|
|
|
231
245
|
options?: HttpHandlerOptions,
|
|
232
246
|
): Effect.Effect<
|
|
233
247
|
DescribeEndpointsCommandOutput,
|
|
234
|
-
SdkError | InternalServerError | ThrottlingError | ValidationError
|
|
248
|
+
Cause.TimeoutException | SdkError | InternalServerError | ThrottlingError | ValidationError
|
|
235
249
|
>;
|
|
236
250
|
|
|
237
251
|
/**
|
|
@@ -242,6 +256,7 @@ interface TimestreamWriteService$ {
|
|
|
242
256
|
options?: HttpHandlerOptions,
|
|
243
257
|
): Effect.Effect<
|
|
244
258
|
DescribeTableCommandOutput,
|
|
259
|
+
| Cause.TimeoutException
|
|
245
260
|
| SdkError
|
|
246
261
|
| AccessDeniedError
|
|
247
262
|
| InternalServerError
|
|
@@ -259,7 +274,13 @@ interface TimestreamWriteService$ {
|
|
|
259
274
|
options?: HttpHandlerOptions,
|
|
260
275
|
): Effect.Effect<
|
|
261
276
|
ListBatchLoadTasksCommandOutput,
|
|
262
|
-
|
|
277
|
+
| Cause.TimeoutException
|
|
278
|
+
| SdkError
|
|
279
|
+
| AccessDeniedError
|
|
280
|
+
| InternalServerError
|
|
281
|
+
| InvalidEndpointError
|
|
282
|
+
| ThrottlingError
|
|
283
|
+
| ValidationError
|
|
263
284
|
>;
|
|
264
285
|
|
|
265
286
|
/**
|
|
@@ -270,7 +291,13 @@ interface TimestreamWriteService$ {
|
|
|
270
291
|
options?: HttpHandlerOptions,
|
|
271
292
|
): Effect.Effect<
|
|
272
293
|
ListDatabasesCommandOutput,
|
|
273
|
-
|
|
294
|
+
| Cause.TimeoutException
|
|
295
|
+
| SdkError
|
|
296
|
+
| AccessDeniedError
|
|
297
|
+
| InternalServerError
|
|
298
|
+
| InvalidEndpointError
|
|
299
|
+
| ThrottlingError
|
|
300
|
+
| ValidationError
|
|
274
301
|
>;
|
|
275
302
|
|
|
276
303
|
/**
|
|
@@ -281,6 +308,7 @@ interface TimestreamWriteService$ {
|
|
|
281
308
|
options?: HttpHandlerOptions,
|
|
282
309
|
): Effect.Effect<
|
|
283
310
|
ListTablesCommandOutput,
|
|
311
|
+
| Cause.TimeoutException
|
|
284
312
|
| SdkError
|
|
285
313
|
| AccessDeniedError
|
|
286
314
|
| InternalServerError
|
|
@@ -298,7 +326,7 @@ interface TimestreamWriteService$ {
|
|
|
298
326
|
options?: HttpHandlerOptions,
|
|
299
327
|
): Effect.Effect<
|
|
300
328
|
ListTagsForResourceCommandOutput,
|
|
301
|
-
SdkError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError
|
|
329
|
+
Cause.TimeoutException | SdkError | InvalidEndpointError | ResourceNotFoundError | ThrottlingError | ValidationError
|
|
302
330
|
>;
|
|
303
331
|
|
|
304
332
|
/**
|
|
@@ -309,6 +337,7 @@ interface TimestreamWriteService$ {
|
|
|
309
337
|
options?: HttpHandlerOptions,
|
|
310
338
|
): Effect.Effect<
|
|
311
339
|
ResumeBatchLoadTaskCommandOutput,
|
|
340
|
+
| Cause.TimeoutException
|
|
312
341
|
| SdkError
|
|
313
342
|
| AccessDeniedError
|
|
314
343
|
| InternalServerError
|
|
@@ -326,6 +355,7 @@ interface TimestreamWriteService$ {
|
|
|
326
355
|
options?: HttpHandlerOptions,
|
|
327
356
|
): Effect.Effect<
|
|
328
357
|
TagResourceCommandOutput,
|
|
358
|
+
| Cause.TimeoutException
|
|
329
359
|
| SdkError
|
|
330
360
|
| InvalidEndpointError
|
|
331
361
|
| ResourceNotFoundError
|
|
@@ -342,6 +372,7 @@ interface TimestreamWriteService$ {
|
|
|
342
372
|
options?: HttpHandlerOptions,
|
|
343
373
|
): Effect.Effect<
|
|
344
374
|
UntagResourceCommandOutput,
|
|
375
|
+
| Cause.TimeoutException
|
|
345
376
|
| SdkError
|
|
346
377
|
| InvalidEndpointError
|
|
347
378
|
| ResourceNotFoundError
|
|
@@ -358,6 +389,7 @@ interface TimestreamWriteService$ {
|
|
|
358
389
|
options?: HttpHandlerOptions,
|
|
359
390
|
): Effect.Effect<
|
|
360
391
|
UpdateDatabaseCommandOutput,
|
|
392
|
+
| Cause.TimeoutException
|
|
361
393
|
| SdkError
|
|
362
394
|
| AccessDeniedError
|
|
363
395
|
| InternalServerError
|
|
@@ -376,6 +408,7 @@ interface TimestreamWriteService$ {
|
|
|
376
408
|
options?: HttpHandlerOptions,
|
|
377
409
|
): Effect.Effect<
|
|
378
410
|
UpdateTableCommandOutput,
|
|
411
|
+
| Cause.TimeoutException
|
|
379
412
|
| SdkError
|
|
380
413
|
| AccessDeniedError
|
|
381
414
|
| InternalServerError
|
|
@@ -393,6 +426,7 @@ interface TimestreamWriteService$ {
|
|
|
393
426
|
options?: HttpHandlerOptions,
|
|
394
427
|
): Effect.Effect<
|
|
395
428
|
WriteRecordsCommandOutput,
|
|
429
|
+
| Cause.TimeoutException
|
|
396
430
|
| SdkError
|
|
397
431
|
| AccessDeniedError
|
|
398
432
|
| InternalServerError
|
|
@@ -411,7 +445,7 @@ interface TimestreamWriteService$ {
|
|
|
411
445
|
export const makeTimestreamWriteService = Effect.gen(function*() {
|
|
412
446
|
const client = yield* Instance.TimestreamWriteClientInstance;
|
|
413
447
|
|
|
414
|
-
return Service.fromClientAndCommands<TimestreamWriteService$>(
|
|
448
|
+
return yield* Service.fromClientAndCommands<TimestreamWriteService$>(
|
|
415
449
|
client,
|
|
416
450
|
commands,
|
|
417
451
|
{
|