@effect-aws/client-firehose 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/FirehoseService.d.ts +16 -15
- package/dist/cjs/FirehoseService.d.ts.map +1 -1
- package/dist/cjs/FirehoseService.js +1 -1
- package/dist/cjs/FirehoseService.js.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/FirehoseService.d.ts +16 -15
- package/dist/dts/FirehoseService.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/FirehoseService.js +1 -1
- package/dist/esm/FirehoseService.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -4
- package/src/FirehoseService.ts +41 -11
package/dist/cjs/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ConcurrentModificationException, InvalidArgumentException, InvalidKMSResourceException, InvalidSourceException, LimitExceededException, ResourceInUseException, ResourceNotFoundException, ServiceUnavailableException } from "@aws-sdk/client-firehose";
|
|
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 ["ConcurrentModificationException", "InvalidArgumentException", "InvalidKMSResourceException", "InvalidSourceException", "LimitExceededException", "ResourceInUseException", "ResourceNotFoundException", "ServiceUnavailableException"];
|
|
5
4
|
export type ConcurrentModificationError = TaggedException<ConcurrentModificationException>;
|
|
6
5
|
export type InvalidArgumentError = TaggedException<InvalidArgumentException>;
|
|
@@ -10,6 +9,7 @@ export type LimitExceededError = TaggedException<LimitExceededException>;
|
|
|
10
9
|
export type ResourceInUseError = TaggedException<ResourceInUseException>;
|
|
11
10
|
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
12
11
|
export type ServiceUnavailableError = TaggedException<ServiceUnavailableException>;
|
|
13
|
-
export type SdkError =
|
|
14
|
-
|
|
12
|
+
export type SdkError = TaggedException<Error & {
|
|
13
|
+
name: "SdkError";
|
|
14
|
+
}>;
|
|
15
15
|
//# 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,+BAA+B,EAC/B,wBAAwB,EACxB,2BAA2B,EAC3B,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,0BAA0B,CAAC;AAClC,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,+BAA+B,EAC/B,wBAAwB,EACxB,2BAA2B,EAC3B,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,mPASnB,CAAC;AAEX,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,+BAA+B,CAAC,CAAC;AAC3F,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AACnF,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AACnF,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
|
"ConcurrentModificationException",
|
|
7
6
|
"InvalidArgumentException",
|
|
@@ -12,5 +11,4 @@ exports.AllServiceErrors = [
|
|
|
12
11
|
"ResourceNotFoundException",
|
|
13
12
|
"ServiceUnavailableException",
|
|
14
13
|
];
|
|
15
|
-
exports.SdkError = commons_1.SdkError;
|
|
16
14
|
//# 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":";;;AAYa,QAAA,gBAAgB,GAAG;IAC9B,iCAAiC;IACjC,0BAA0B;IAC1B,6BAA6B;IAC7B,wBAAwB;IACxB,wBAAwB;IACxB,wBAAwB;IACxB,2BAA2B;IAC3B,6BAA6B;CACrB,CAAC"}
|
|
@@ -2,60 +2,61 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { type CreateDeliveryStreamCommandInput, type CreateDeliveryStreamCommandOutput, type DeleteDeliveryStreamCommandInput, type DeleteDeliveryStreamCommandOutput, type DescribeDeliveryStreamCommandInput, type DescribeDeliveryStreamCommandOutput, type FirehoseClient, type FirehoseClientConfig, type ListDeliveryStreamsCommandInput, type ListDeliveryStreamsCommandOutput, type ListTagsForDeliveryStreamCommandInput, type ListTagsForDeliveryStreamCommandOutput, type PutRecordBatchCommandInput, type PutRecordBatchCommandOutput, type PutRecordCommandInput, type PutRecordCommandOutput, type StartDeliveryStreamEncryptionCommandInput, type StartDeliveryStreamEncryptionCommandOutput, type StopDeliveryStreamEncryptionCommandInput, type StopDeliveryStreamEncryptionCommandOutput, type TagDeliveryStreamCommandInput, type TagDeliveryStreamCommandOutput, type UntagDeliveryStreamCommandInput, type UntagDeliveryStreamCommandOutput, type UpdateDestinationCommandInput, type UpdateDestinationCommandOutput } from "@aws-sdk/client-firehose";
|
|
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 { ConcurrentModificationError, InvalidArgumentError, InvalidKMSResourceError, InvalidSourceError, LimitExceededError, ResourceInUseError, ResourceNotFoundError, ServiceUnavailableError } from "./Errors.js";
|
|
8
|
+
import type { ConcurrentModificationError, InvalidArgumentError, InvalidKMSResourceError, InvalidSourceError, LimitExceededError, ResourceInUseError, ResourceNotFoundError, SdkError, ServiceUnavailableError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./FirehoseClientInstance.js";
|
|
9
10
|
interface FirehoseService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link CreateDeliveryStreamCommand}
|
|
13
14
|
*/
|
|
14
|
-
createDeliveryStream(args: CreateDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDeliveryStreamCommandOutput, SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError>;
|
|
15
|
+
createDeliveryStream(args: CreateDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link DeleteDeliveryStreamCommand}
|
|
17
18
|
*/
|
|
18
|
-
deleteDeliveryStream(args: DeleteDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryStreamCommandOutput, SdkError | ResourceInUseError | ResourceNotFoundError>;
|
|
19
|
+
deleteDeliveryStream(args: DeleteDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | ResourceInUseError | ResourceNotFoundError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link DescribeDeliveryStreamCommand}
|
|
21
22
|
*/
|
|
22
|
-
describeDeliveryStream(args: DescribeDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliveryStreamCommandOutput, SdkError | ResourceNotFoundError>;
|
|
23
|
+
describeDeliveryStream(args: DescribeDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link ListDeliveryStreamsCommand}
|
|
25
26
|
*/
|
|
26
|
-
listDeliveryStreams(args: ListDeliveryStreamsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDeliveryStreamsCommandOutput, SdkError>;
|
|
27
|
+
listDeliveryStreams(args: ListDeliveryStreamsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDeliveryStreamsCommandOutput, Cause.TimeoutException | SdkError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link ListTagsForDeliveryStreamCommand}
|
|
29
30
|
*/
|
|
30
|
-
listTagsForDeliveryStream(args: ListTagsForDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForDeliveryStreamCommandOutput, SdkError | InvalidArgumentError | LimitExceededError | ResourceNotFoundError>;
|
|
31
|
+
listTagsForDeliveryStream(args: ListTagsForDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceNotFoundError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link PutRecordCommand}
|
|
33
34
|
*/
|
|
34
|
-
putRecord(args: PutRecordCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordCommandOutput, SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
35
|
+
putRecord(args: PutRecordCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link PutRecordBatchCommand}
|
|
37
38
|
*/
|
|
38
|
-
putRecordBatch(args: PutRecordBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordBatchCommandOutput, SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
39
|
+
putRecordBatch(args: PutRecordBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordBatchCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link StartDeliveryStreamEncryptionCommand}
|
|
41
42
|
*/
|
|
42
|
-
startDeliveryStreamEncryption(args: StartDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDeliveryStreamEncryptionCommandOutput, SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
43
|
+
startDeliveryStreamEncryption(args: StartDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDeliveryStreamEncryptionCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link StopDeliveryStreamEncryptionCommand}
|
|
45
46
|
*/
|
|
46
|
-
stopDeliveryStreamEncryption(args: StopDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopDeliveryStreamEncryptionCommandOutput, SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
47
|
+
stopDeliveryStreamEncryption(args: StopDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopDeliveryStreamEncryptionCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link TagDeliveryStreamCommand}
|
|
49
50
|
*/
|
|
50
|
-
tagDeliveryStream(args: TagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagDeliveryStreamCommandOutput, SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
51
|
+
tagDeliveryStream(args: TagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link UntagDeliveryStreamCommand}
|
|
53
54
|
*/
|
|
54
|
-
untagDeliveryStream(args: UntagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagDeliveryStreamCommandOutput, SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
55
|
+
untagDeliveryStream(args: UntagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link UpdateDestinationCommand}
|
|
57
58
|
*/
|
|
58
|
-
updateDestination(args: UpdateDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDestinationCommandOutput, SdkError | ConcurrentModificationError | InvalidArgumentError | ResourceInUseError | ResourceNotFoundError>;
|
|
59
|
+
updateDestination(args: UpdateDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDestinationCommandOutput, Cause.TimeoutException | SdkError | ConcurrentModificationError | InvalidArgumentError | ResourceInUseError | ResourceNotFoundError>;
|
|
59
60
|
}
|
|
60
61
|
/**
|
|
61
62
|
* @since 1.0.0
|
|
@@ -63,7 +64,7 @@ interface FirehoseService$ {
|
|
|
63
64
|
*/
|
|
64
65
|
export declare const makeFirehoseService: Effect.Effect<FirehoseService$, never, Instance.FirehoseClientInstance>;
|
|
65
66
|
declare const FirehoseService_base: import("effect/Context").TagClass<FirehoseService, "@effect-aws/client-firehose/FirehoseService", FirehoseService$> & Effect.Tag.Proxy<FirehoseService, FirehoseService$> & {
|
|
66
|
-
use: <X>(body: (_: FirehoseService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, FirehoseService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
67
|
+
use: <X>(body: (_: FirehoseService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, FirehoseService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, FirehoseService> : Effect.Effect<X, never, FirehoseService>;
|
|
67
68
|
};
|
|
68
69
|
/**
|
|
69
70
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FirehoseService.d.ts","sourceRoot":"","sources":["../../src/FirehoseService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACxC,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAE3B,KAAK,yCAAyC,EAC9C,KAAK,0CAA0C,EAE/C,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAE9C,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACpC,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"FirehoseService.d.ts","sourceRoot":"","sources":["../../src/FirehoseService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACxC,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,0BAA0B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gDAInD;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,oBAAoB,KAAK,cAAc,gDAS/D;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,oBAAoB,EAAE,QAAQ,CAAC;QAClE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
|
@@ -53,7 +53,7 @@ const commands = {
|
|
|
53
53
|
*/
|
|
54
54
|
exports.makeFirehoseService = effect_1.Effect.gen(function* () {
|
|
55
55
|
const client = yield* Instance.FirehoseClientInstance;
|
|
56
|
-
return commons_1.Service.fromClientAndCommands(client, commands, {
|
|
56
|
+
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
57
57
|
errorTags: Errors_js_1.AllServiceErrors,
|
|
58
58
|
resolveClientConfig: FirehoseServiceConfig.toFirehoseClientConfig,
|
|
59
59
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FirehoseService.js","sourceRoot":"","sources":["../../src/FirehoseService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8DAuCkC;AAElC,iDAA8C;
|
|
1
|
+
{"version":3,"file":"FirehoseService.js","sourceRoot":"","sources":["../../src/FirehoseService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8DAuCkC;AAElC,iDAA8C;AAE9C,mCAAuC;AAYvC,2CAA+C;AAC/C,sEAAwD;AACxD,kFAAoE;AAEpE,MAAM,QAAQ,GAAG;IACf,2BAA2B,EAA3B,6CAA2B;IAC3B,2BAA2B,EAA3B,6CAA2B;IAC3B,6BAA6B,EAA7B,+CAA6B;IAC7B,0BAA0B,EAA1B,4CAA0B;IAC1B,gCAAgC,EAAhC,kDAAgC;IAChC,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CAAC,MAAM,CACV,QAAQ,CAAC,sBAAsB,EAC/B,eAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,sBAAsB,EAAE,QAAQ,CAAC,CACnE,CACF,CACF,CAAC;;AApBN,0CAqBC"}
|
package/dist/dts/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ConcurrentModificationException, InvalidArgumentException, InvalidKMSResourceException, InvalidSourceException, LimitExceededException, ResourceInUseException, ResourceNotFoundException, ServiceUnavailableException } from "@aws-sdk/client-firehose";
|
|
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 ["ConcurrentModificationException", "InvalidArgumentException", "InvalidKMSResourceException", "InvalidSourceException", "LimitExceededException", "ResourceInUseException", "ResourceNotFoundException", "ServiceUnavailableException"];
|
|
5
4
|
export type ConcurrentModificationError = TaggedException<ConcurrentModificationException>;
|
|
6
5
|
export type InvalidArgumentError = TaggedException<InvalidArgumentException>;
|
|
@@ -10,6 +9,7 @@ export type LimitExceededError = TaggedException<LimitExceededException>;
|
|
|
10
9
|
export type ResourceInUseError = TaggedException<ResourceInUseException>;
|
|
11
10
|
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
12
11
|
export type ServiceUnavailableError = TaggedException<ServiceUnavailableException>;
|
|
13
|
-
export type SdkError =
|
|
14
|
-
|
|
12
|
+
export type SdkError = TaggedException<Error & {
|
|
13
|
+
name: "SdkError";
|
|
14
|
+
}>;
|
|
15
15
|
//# 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,+BAA+B,EAC/B,wBAAwB,EACxB,2BAA2B,EAC3B,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,0BAA0B,CAAC;AAClC,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,+BAA+B,EAC/B,wBAAwB,EACxB,2BAA2B,EAC3B,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,mPASnB,CAAC;AAEX,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,+BAA+B,CAAC,CAAC;AAC3F,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AACnF,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AACnF,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
|
@@ -2,60 +2,61 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { type CreateDeliveryStreamCommandInput, type CreateDeliveryStreamCommandOutput, type DeleteDeliveryStreamCommandInput, type DeleteDeliveryStreamCommandOutput, type DescribeDeliveryStreamCommandInput, type DescribeDeliveryStreamCommandOutput, type FirehoseClient, type FirehoseClientConfig, type ListDeliveryStreamsCommandInput, type ListDeliveryStreamsCommandOutput, type ListTagsForDeliveryStreamCommandInput, type ListTagsForDeliveryStreamCommandOutput, type PutRecordBatchCommandInput, type PutRecordBatchCommandOutput, type PutRecordCommandInput, type PutRecordCommandOutput, type StartDeliveryStreamEncryptionCommandInput, type StartDeliveryStreamEncryptionCommandOutput, type StopDeliveryStreamEncryptionCommandInput, type StopDeliveryStreamEncryptionCommandOutput, type TagDeliveryStreamCommandInput, type TagDeliveryStreamCommandOutput, type UntagDeliveryStreamCommandInput, type UntagDeliveryStreamCommandOutput, type UpdateDestinationCommandInput, type UpdateDestinationCommandOutput } from "@aws-sdk/client-firehose";
|
|
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 { ConcurrentModificationError, InvalidArgumentError, InvalidKMSResourceError, InvalidSourceError, LimitExceededError, ResourceInUseError, ResourceNotFoundError, ServiceUnavailableError } from "./Errors.js";
|
|
8
|
+
import type { ConcurrentModificationError, InvalidArgumentError, InvalidKMSResourceError, InvalidSourceError, LimitExceededError, ResourceInUseError, ResourceNotFoundError, SdkError, ServiceUnavailableError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./FirehoseClientInstance.js";
|
|
9
10
|
interface FirehoseService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link CreateDeliveryStreamCommand}
|
|
13
14
|
*/
|
|
14
|
-
createDeliveryStream(args: CreateDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDeliveryStreamCommandOutput, SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError>;
|
|
15
|
+
createDeliveryStream(args: CreateDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link DeleteDeliveryStreamCommand}
|
|
17
18
|
*/
|
|
18
|
-
deleteDeliveryStream(args: DeleteDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryStreamCommandOutput, SdkError | ResourceInUseError | ResourceNotFoundError>;
|
|
19
|
+
deleteDeliveryStream(args: DeleteDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | ResourceInUseError | ResourceNotFoundError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link DescribeDeliveryStreamCommand}
|
|
21
22
|
*/
|
|
22
|
-
describeDeliveryStream(args: DescribeDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliveryStreamCommandOutput, SdkError | ResourceNotFoundError>;
|
|
23
|
+
describeDeliveryStream(args: DescribeDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link ListDeliveryStreamsCommand}
|
|
25
26
|
*/
|
|
26
|
-
listDeliveryStreams(args: ListDeliveryStreamsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDeliveryStreamsCommandOutput, SdkError>;
|
|
27
|
+
listDeliveryStreams(args: ListDeliveryStreamsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDeliveryStreamsCommandOutput, Cause.TimeoutException | SdkError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link ListTagsForDeliveryStreamCommand}
|
|
29
30
|
*/
|
|
30
|
-
listTagsForDeliveryStream(args: ListTagsForDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForDeliveryStreamCommandOutput, SdkError | InvalidArgumentError | LimitExceededError | ResourceNotFoundError>;
|
|
31
|
+
listTagsForDeliveryStream(args: ListTagsForDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceNotFoundError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link PutRecordCommand}
|
|
33
34
|
*/
|
|
34
|
-
putRecord(args: PutRecordCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordCommandOutput, SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
35
|
+
putRecord(args: PutRecordCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link PutRecordBatchCommand}
|
|
37
38
|
*/
|
|
38
|
-
putRecordBatch(args: PutRecordBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordBatchCommandOutput, SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
39
|
+
putRecordBatch(args: PutRecordBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordBatchCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link StartDeliveryStreamEncryptionCommand}
|
|
41
42
|
*/
|
|
42
|
-
startDeliveryStreamEncryption(args: StartDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDeliveryStreamEncryptionCommandOutput, SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
43
|
+
startDeliveryStreamEncryption(args: StartDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDeliveryStreamEncryptionCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link StopDeliveryStreamEncryptionCommand}
|
|
45
46
|
*/
|
|
46
|
-
stopDeliveryStreamEncryption(args: StopDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopDeliveryStreamEncryptionCommandOutput, SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
47
|
+
stopDeliveryStreamEncryption(args: StopDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopDeliveryStreamEncryptionCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link TagDeliveryStreamCommand}
|
|
49
50
|
*/
|
|
50
|
-
tagDeliveryStream(args: TagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagDeliveryStreamCommandOutput, SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
51
|
+
tagDeliveryStream(args: TagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link UntagDeliveryStreamCommand}
|
|
53
54
|
*/
|
|
54
|
-
untagDeliveryStream(args: UntagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagDeliveryStreamCommandOutput, SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
55
|
+
untagDeliveryStream(args: UntagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link UpdateDestinationCommand}
|
|
57
58
|
*/
|
|
58
|
-
updateDestination(args: UpdateDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDestinationCommandOutput, SdkError | ConcurrentModificationError | InvalidArgumentError | ResourceInUseError | ResourceNotFoundError>;
|
|
59
|
+
updateDestination(args: UpdateDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDestinationCommandOutput, Cause.TimeoutException | SdkError | ConcurrentModificationError | InvalidArgumentError | ResourceInUseError | ResourceNotFoundError>;
|
|
59
60
|
}
|
|
60
61
|
/**
|
|
61
62
|
* @since 1.0.0
|
|
@@ -63,7 +64,7 @@ interface FirehoseService$ {
|
|
|
63
64
|
*/
|
|
64
65
|
export declare const makeFirehoseService: Effect.Effect<FirehoseService$, never, Instance.FirehoseClientInstance>;
|
|
65
66
|
declare const FirehoseService_base: import("effect/Context").TagClass<FirehoseService, "@effect-aws/client-firehose/FirehoseService", FirehoseService$> & Effect.Tag.Proxy<FirehoseService, FirehoseService$> & {
|
|
66
|
-
use: <X>(body: (_: FirehoseService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, FirehoseService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
67
|
+
use: <X>(body: (_: FirehoseService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, FirehoseService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, FirehoseService> : Effect.Effect<X, never, FirehoseService>;
|
|
67
68
|
};
|
|
68
69
|
/**
|
|
69
70
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FirehoseService.d.ts","sourceRoot":"","sources":["../../src/FirehoseService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACxC,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAE3B,KAAK,yCAAyC,EAC9C,KAAK,0CAA0C,EAE/C,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAE9C,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACpC,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"FirehoseService.d.ts","sourceRoot":"","sources":["../../src/FirehoseService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACxC,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAE3B,KAAK,yCAAyC,EAC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S/D;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,oBAAoB,EAAE,QAAQ,CAAC;QAClE,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
|
"ConcurrentModificationException",
|
|
4
3
|
"InvalidArgumentException",
|
|
@@ -9,5 +8,4 @@ export const AllServiceErrors = [
|
|
|
9
8
|
"ResourceNotFoundException",
|
|
10
9
|
"ServiceUnavailableException",
|
|
11
10
|
];
|
|
12
|
-
export const SdkError = CommonSdkError;
|
|
13
11
|
//# 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":"AAYA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,iCAAiC;IACjC,0BAA0B;IAC1B,6BAA6B;IAC7B,wBAAwB;IACxB,wBAAwB;IACxB,wBAAwB;IACxB,2BAA2B;IAC3B,6BAA6B;CACrB,CAAC"}
|
|
@@ -27,7 +27,7 @@ const commands = {
|
|
|
27
27
|
*/
|
|
28
28
|
export const makeFirehoseService = Effect.gen(function* () {
|
|
29
29
|
const client = yield* Instance.FirehoseClientInstance;
|
|
30
|
-
return Service.fromClientAndCommands(client, commands, {
|
|
30
|
+
return yield* Service.fromClientAndCommands(client, commands, {
|
|
31
31
|
errorTags: AllServiceErrors,
|
|
32
32
|
resolveClientConfig: FirehoseServiceConfig.toFirehoseClientConfig,
|
|
33
33
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FirehoseService.js","sourceRoot":"","sources":["../../src/FirehoseService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,2BAA2B,EAG3B,2BAA2B,EAG3B,6BAA6B,EAK7B,0BAA0B,EAG1B,gCAAgC,EAGhC,qBAAqB,EAGrB,gBAAgB,EAGhB,oCAAoC,EAGpC,mCAAmC,EAGnC,wBAAwB,EAGxB,0BAA0B,EAG1B,wBAAwB,GAGzB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"FirehoseService.js","sourceRoot":"","sources":["../../src/FirehoseService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,2BAA2B,EAG3B,2BAA2B,EAG3B,6BAA6B,EAK7B,0BAA0B,EAG1B,gCAAgC,EAGhC,qBAAqB,EAGrB,gBAAgB,EAGhB,oCAAoC,EAGpC,mCAAmC,EAGnC,wBAAwB,EAGxB,0BAA0B,EAG1B,wBAAwB,GAGzB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAYvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,QAAQ,MAAM,6BAA6B,CAAC;AACxD,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAC;AAEpE,MAAM,QAAQ,GAAG;IACf,2BAA2B;IAC3B,2BAA2B;IAC3B,6BAA6B;IAC7B,0BAA0B;IAC1B,gCAAgC;IAChC,gBAAgB;IAChB,qBAAqB;IACrB,oCAAoC;IACpC,mCAAmC;IACnC,wBAAwB;IACxB,0BAA0B;IAC1B,wBAAwB;CACzB,CAAC;AAqLF;;;GAGG;A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/client-firehose",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"description": "Effectful AWS Firehose client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-firehose",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-firehose": "^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
|
@@ -9,7 +9,6 @@ import type {
|
|
|
9
9
|
ServiceUnavailableException,
|
|
10
10
|
} from "@aws-sdk/client-firehose";
|
|
11
11
|
import type { TaggedException } from "@effect-aws/commons";
|
|
12
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
13
12
|
|
|
14
13
|
export const AllServiceErrors = [
|
|
15
14
|
"ConcurrentModificationException",
|
|
@@ -30,6 +29,4 @@ export type LimitExceededError = TaggedException<LimitExceededException>;
|
|
|
30
29
|
export type ResourceInUseError = TaggedException<ResourceInUseException>;
|
|
31
30
|
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
32
31
|
export type ServiceUnavailableError = TaggedException<ServiceUnavailableException>;
|
|
33
|
-
|
|
34
|
-
export type SdkError = CommonSdkError;
|
|
35
|
-
export const SdkError = CommonSdkError;
|
|
32
|
+
export type SdkError = TaggedException<Error & { name: "SdkError" }>;
|
package/src/FirehoseService.ts
CHANGED
|
@@ -41,8 +41,9 @@ import {
|
|
|
41
41
|
type UpdateDestinationCommandInput,
|
|
42
42
|
type UpdateDestinationCommandOutput,
|
|
43
43
|
} from "@aws-sdk/client-firehose";
|
|
44
|
-
import type { HttpHandlerOptions,
|
|
44
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
45
45
|
import { Service } from "@effect-aws/commons";
|
|
46
|
+
import type { Cause } from "effect";
|
|
46
47
|
import { Effect, Layer } from "effect";
|
|
47
48
|
import type {
|
|
48
49
|
ConcurrentModificationError,
|
|
@@ -52,6 +53,7 @@ import type {
|
|
|
52
53
|
LimitExceededError,
|
|
53
54
|
ResourceInUseError,
|
|
54
55
|
ResourceNotFoundError,
|
|
56
|
+
SdkError,
|
|
55
57
|
ServiceUnavailableError,
|
|
56
58
|
} from "./Errors.js";
|
|
57
59
|
import { AllServiceErrors } from "./Errors.js";
|
|
@@ -84,7 +86,12 @@ interface FirehoseService$ {
|
|
|
84
86
|
options?: HttpHandlerOptions,
|
|
85
87
|
): Effect.Effect<
|
|
86
88
|
CreateDeliveryStreamCommandOutput,
|
|
87
|
-
|
|
89
|
+
| Cause.TimeoutException
|
|
90
|
+
| SdkError
|
|
91
|
+
| InvalidArgumentError
|
|
92
|
+
| InvalidKMSResourceError
|
|
93
|
+
| LimitExceededError
|
|
94
|
+
| ResourceInUseError
|
|
88
95
|
>;
|
|
89
96
|
|
|
90
97
|
/**
|
|
@@ -95,7 +102,7 @@ interface FirehoseService$ {
|
|
|
95
102
|
options?: HttpHandlerOptions,
|
|
96
103
|
): Effect.Effect<
|
|
97
104
|
DeleteDeliveryStreamCommandOutput,
|
|
98
|
-
SdkError | ResourceInUseError | ResourceNotFoundError
|
|
105
|
+
Cause.TimeoutException | SdkError | ResourceInUseError | ResourceNotFoundError
|
|
99
106
|
>;
|
|
100
107
|
|
|
101
108
|
/**
|
|
@@ -106,7 +113,7 @@ interface FirehoseService$ {
|
|
|
106
113
|
options?: HttpHandlerOptions,
|
|
107
114
|
): Effect.Effect<
|
|
108
115
|
DescribeDeliveryStreamCommandOutput,
|
|
109
|
-
SdkError | ResourceNotFoundError
|
|
116
|
+
Cause.TimeoutException | SdkError | ResourceNotFoundError
|
|
110
117
|
>;
|
|
111
118
|
|
|
112
119
|
/**
|
|
@@ -117,7 +124,7 @@ interface FirehoseService$ {
|
|
|
117
124
|
options?: HttpHandlerOptions,
|
|
118
125
|
): Effect.Effect<
|
|
119
126
|
ListDeliveryStreamsCommandOutput,
|
|
120
|
-
SdkError
|
|
127
|
+
Cause.TimeoutException | SdkError
|
|
121
128
|
>;
|
|
122
129
|
|
|
123
130
|
/**
|
|
@@ -128,7 +135,7 @@ interface FirehoseService$ {
|
|
|
128
135
|
options?: HttpHandlerOptions,
|
|
129
136
|
): Effect.Effect<
|
|
130
137
|
ListTagsForDeliveryStreamCommandOutput,
|
|
131
|
-
SdkError | InvalidArgumentError | LimitExceededError | ResourceNotFoundError
|
|
138
|
+
Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceNotFoundError
|
|
132
139
|
>;
|
|
133
140
|
|
|
134
141
|
/**
|
|
@@ -139,6 +146,7 @@ interface FirehoseService$ {
|
|
|
139
146
|
options?: HttpHandlerOptions,
|
|
140
147
|
): Effect.Effect<
|
|
141
148
|
PutRecordCommandOutput,
|
|
149
|
+
| Cause.TimeoutException
|
|
142
150
|
| SdkError
|
|
143
151
|
| InvalidArgumentError
|
|
144
152
|
| InvalidKMSResourceError
|
|
@@ -155,6 +163,7 @@ interface FirehoseService$ {
|
|
|
155
163
|
options?: HttpHandlerOptions,
|
|
156
164
|
): Effect.Effect<
|
|
157
165
|
PutRecordBatchCommandOutput,
|
|
166
|
+
| Cause.TimeoutException
|
|
158
167
|
| SdkError
|
|
159
168
|
| InvalidArgumentError
|
|
160
169
|
| InvalidKMSResourceError
|
|
@@ -171,6 +180,7 @@ interface FirehoseService$ {
|
|
|
171
180
|
options?: HttpHandlerOptions,
|
|
172
181
|
): Effect.Effect<
|
|
173
182
|
StartDeliveryStreamEncryptionCommandOutput,
|
|
183
|
+
| Cause.TimeoutException
|
|
174
184
|
| SdkError
|
|
175
185
|
| InvalidArgumentError
|
|
176
186
|
| InvalidKMSResourceError
|
|
@@ -187,7 +197,12 @@ interface FirehoseService$ {
|
|
|
187
197
|
options?: HttpHandlerOptions,
|
|
188
198
|
): Effect.Effect<
|
|
189
199
|
StopDeliveryStreamEncryptionCommandOutput,
|
|
190
|
-
|
|
200
|
+
| Cause.TimeoutException
|
|
201
|
+
| SdkError
|
|
202
|
+
| InvalidArgumentError
|
|
203
|
+
| LimitExceededError
|
|
204
|
+
| ResourceInUseError
|
|
205
|
+
| ResourceNotFoundError
|
|
191
206
|
>;
|
|
192
207
|
|
|
193
208
|
/**
|
|
@@ -198,7 +213,12 @@ interface FirehoseService$ {
|
|
|
198
213
|
options?: HttpHandlerOptions,
|
|
199
214
|
): Effect.Effect<
|
|
200
215
|
TagDeliveryStreamCommandOutput,
|
|
201
|
-
|
|
216
|
+
| Cause.TimeoutException
|
|
217
|
+
| SdkError
|
|
218
|
+
| InvalidArgumentError
|
|
219
|
+
| LimitExceededError
|
|
220
|
+
| ResourceInUseError
|
|
221
|
+
| ResourceNotFoundError
|
|
202
222
|
>;
|
|
203
223
|
|
|
204
224
|
/**
|
|
@@ -209,7 +229,12 @@ interface FirehoseService$ {
|
|
|
209
229
|
options?: HttpHandlerOptions,
|
|
210
230
|
): Effect.Effect<
|
|
211
231
|
UntagDeliveryStreamCommandOutput,
|
|
212
|
-
|
|
232
|
+
| Cause.TimeoutException
|
|
233
|
+
| SdkError
|
|
234
|
+
| InvalidArgumentError
|
|
235
|
+
| LimitExceededError
|
|
236
|
+
| ResourceInUseError
|
|
237
|
+
| ResourceNotFoundError
|
|
213
238
|
>;
|
|
214
239
|
|
|
215
240
|
/**
|
|
@@ -220,7 +245,12 @@ interface FirehoseService$ {
|
|
|
220
245
|
options?: HttpHandlerOptions,
|
|
221
246
|
): Effect.Effect<
|
|
222
247
|
UpdateDestinationCommandOutput,
|
|
223
|
-
|
|
248
|
+
| Cause.TimeoutException
|
|
249
|
+
| SdkError
|
|
250
|
+
| ConcurrentModificationError
|
|
251
|
+
| InvalidArgumentError
|
|
252
|
+
| ResourceInUseError
|
|
253
|
+
| ResourceNotFoundError
|
|
224
254
|
>;
|
|
225
255
|
}
|
|
226
256
|
|
|
@@ -231,7 +261,7 @@ interface FirehoseService$ {
|
|
|
231
261
|
export const makeFirehoseService = Effect.gen(function*() {
|
|
232
262
|
const client = yield* Instance.FirehoseClientInstance;
|
|
233
263
|
|
|
234
|
-
return Service.fromClientAndCommands<FirehoseService$>(
|
|
264
|
+
return yield* Service.fromClientAndCommands<FirehoseService$>(
|
|
235
265
|
client,
|
|
236
266
|
commands,
|
|
237
267
|
{
|