@effect-aws/client-firehose 1.10.9 → 2.0.0-beta.1

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.
Files changed (38) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -3
  3. package/dist/dts/FirehoseClientInstance.d.ts +4 -2
  4. package/dist/dts/FirehoseClientInstance.d.ts.map +1 -1
  5. package/dist/dts/FirehoseService.d.ts +17 -17
  6. package/dist/dts/FirehoseService.d.ts.map +1 -1
  7. package/dist/dts/FirehoseServiceConfig.d.ts +2 -1
  8. package/dist/dts/FirehoseServiceConfig.d.ts.map +1 -1
  9. package/dist/esm/FirehoseClientInstance.js +5 -3
  10. package/dist/esm/FirehoseClientInstance.js.map +1 -1
  11. package/dist/esm/FirehoseService.js +4 -2
  12. package/dist/esm/FirehoseService.js.map +1 -1
  13. package/dist/esm/FirehoseServiceConfig.js +7 -6
  14. package/dist/esm/FirehoseServiceConfig.js.map +1 -1
  15. package/package.json +8 -14
  16. package/src/FirehoseClientInstance.ts +6 -4
  17. package/src/FirehoseService.ts +18 -16
  18. package/src/FirehoseServiceConfig.ts +8 -7
  19. package/dist/cjs/Errors.d.ts +0 -15
  20. package/dist/cjs/Errors.d.ts.map +0 -1
  21. package/dist/cjs/Errors.js +0 -14
  22. package/dist/cjs/Errors.js.map +0 -1
  23. package/dist/cjs/FirehoseClientInstance.d.ts +0 -24
  24. package/dist/cjs/FirehoseClientInstance.d.ts.map +0 -1
  25. package/dist/cjs/FirehoseClientInstance.js +0 -50
  26. package/dist/cjs/FirehoseClientInstance.js.map +0 -1
  27. package/dist/cjs/FirehoseService.d.ts +0 -94
  28. package/dist/cjs/FirehoseService.d.ts.map +0 -1
  29. package/dist/cjs/FirehoseService.js +0 -71
  30. package/dist/cjs/FirehoseService.js.map +0 -1
  31. package/dist/cjs/FirehoseServiceConfig.d.ts +0 -25
  32. package/dist/cjs/FirehoseServiceConfig.d.ts.map +0 -1
  33. package/dist/cjs/FirehoseServiceConfig.js +0 -35
  34. package/dist/cjs/FirehoseServiceConfig.js.map +0 -1
  35. package/dist/cjs/index.d.ts +0 -44
  36. package/dist/cjs/index.d.ts.map +0 -1
  37. package/dist/cjs/index.js +0 -56
  38. package/dist/cjs/index.js.map +0 -1
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2025 Victor Korzunin
1
+ Copyright (c) 2026 Victor Korzunin
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -16,7 +16,7 @@ With default FirehoseClient instance:
16
16
  ```typescript
17
17
  import { Firehose } from "@effect-aws/client-firehose";
18
18
 
19
- const program = Firehose.putRecord(args);
19
+ const program = Firehose.use((svc) => svc.putRecord(args));
20
20
 
21
21
  const result = pipe(
22
22
  program,
@@ -30,7 +30,7 @@ With custom FirehoseClient instance:
30
30
  ```typescript
31
31
  import { Firehose } from "@effect-aws/client-firehose";
32
32
 
33
- const program = Firehose.putRecord(args);
33
+ const program = Firehose.use((svc) => svc.putRecord(args));
34
34
 
35
35
  const result = await pipe(
36
36
  program,
@@ -46,7 +46,7 @@ With custom FirehoseClient configuration:
46
46
  ```typescript
47
47
  import { Firehose } from "@effect-aws/client-firehose";
48
48
 
49
- const program = Firehose.putRecord(args);
49
+ const program = Firehose.use((svc) => svc.putRecord(args));
50
50
 
51
51
  const result = await pipe(
52
52
  program,
@@ -2,8 +2,10 @@
2
2
  * @since 1.0.0
3
3
  */
4
4
  import { FirehoseClient } from "@aws-sdk/client-firehose";
5
- import { Context, Effect, Layer } from "effect";
6
- declare const FirehoseClientInstance_base: Context.TagClass<FirehoseClientInstance, "@effect-aws/client-firehose/FirehoseClientInstance", FirehoseClient>;
5
+ import * as Effect from "effect/Effect";
6
+ import * as Layer from "effect/Layer";
7
+ import * as ServiceMap from "effect/ServiceMap";
8
+ declare const FirehoseClientInstance_base: ServiceMap.ServiceClass<FirehoseClientInstance, "@effect-aws/client-firehose/FirehoseClientInstance", FirehoseClient>;
7
9
  /**
8
10
  * @since 1.0.0
9
11
  * @category tags
@@ -1 +1 @@
1
- {"version":3,"file":"FirehoseClientInstance.d.ts","sourceRoot":"","sources":["../../src/FirehoseClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,sBAAuB,SAAQ,2BAED;CAAG;AAE9C;;;GAGG;AACH,eAAO,MAAM,IAAI,oEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,mDAA6C,CAAC"}
1
+ {"version":3,"file":"FirehoseClientInstance.d.ts","sourceRoot":"","sources":["../../src/FirehoseClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,sBAAuB,SAAQ,2BAE3C;CAAG;AAEJ;;;GAGG;AACH,eAAO,MAAM,IAAI,oEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,mDAA6C,CAAC"}
@@ -3,8 +3,10 @@
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
5
  import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
6
- import type { Cause } from "effect";
7
- import { Effect, Layer } from "effect";
6
+ import type * as Cause from "effect/Cause";
7
+ import * as Effect from "effect/Effect";
8
+ import * as Layer from "effect/Layer";
9
+ import * as ServiceMap from "effect/ServiceMap";
8
10
  import type { ConcurrentModificationError, InvalidArgumentError, InvalidKMSResourceError, InvalidSourceError, LimitExceededError, ResourceInUseError, ResourceNotFoundError, SdkError, ServiceUnavailableError } from "./Errors.js";
9
11
  import * as Instance from "./FirehoseClientInstance.js";
10
12
  interface FirehoseService$ {
@@ -12,60 +14,58 @@ interface FirehoseService$ {
12
14
  /**
13
15
  * @see {@link CreateDeliveryStreamCommand}
14
16
  */
15
- createDeliveryStream(args: CreateDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError>;
17
+ createDeliveryStream(args: CreateDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDeliveryStreamCommandOutput, Cause.TimeoutError | SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError>;
16
18
  /**
17
19
  * @see {@link DeleteDeliveryStreamCommand}
18
20
  */
19
- deleteDeliveryStream(args: DeleteDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | ResourceInUseError | ResourceNotFoundError>;
21
+ deleteDeliveryStream(args: DeleteDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryStreamCommandOutput, Cause.TimeoutError | SdkError | ResourceInUseError | ResourceNotFoundError>;
20
22
  /**
21
23
  * @see {@link DescribeDeliveryStreamCommand}
22
24
  */
23
- describeDeliveryStream(args: DescribeDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError>;
25
+ describeDeliveryStream(args: DescribeDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliveryStreamCommandOutput, Cause.TimeoutError | SdkError | ResourceNotFoundError>;
24
26
  /**
25
27
  * @see {@link ListDeliveryStreamsCommand}
26
28
  */
27
- listDeliveryStreams(args: ListDeliveryStreamsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDeliveryStreamsCommandOutput, Cause.TimeoutException | SdkError>;
29
+ listDeliveryStreams(args: ListDeliveryStreamsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDeliveryStreamsCommandOutput, Cause.TimeoutError | SdkError>;
28
30
  /**
29
31
  * @see {@link ListTagsForDeliveryStreamCommand}
30
32
  */
31
- listTagsForDeliveryStream(args: ListTagsForDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceNotFoundError>;
33
+ listTagsForDeliveryStream(args: ListTagsForDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForDeliveryStreamCommandOutput, Cause.TimeoutError | SdkError | InvalidArgumentError | LimitExceededError | ResourceNotFoundError>;
32
34
  /**
33
35
  * @see {@link PutRecordCommand}
34
36
  */
35
- putRecord(args: PutRecordCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
37
+ putRecord(args: PutRecordCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordCommandOutput, Cause.TimeoutError | SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
36
38
  /**
37
39
  * @see {@link PutRecordBatchCommand}
38
40
  */
39
- putRecordBatch(args: PutRecordBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordBatchCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
41
+ putRecordBatch(args: PutRecordBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordBatchCommandOutput, Cause.TimeoutError | SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
40
42
  /**
41
43
  * @see {@link StartDeliveryStreamEncryptionCommand}
42
44
  */
43
- startDeliveryStreamEncryption(args: StartDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDeliveryStreamEncryptionCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
45
+ startDeliveryStreamEncryption(args: StartDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDeliveryStreamEncryptionCommandOutput, Cause.TimeoutError | SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
44
46
  /**
45
47
  * @see {@link StopDeliveryStreamEncryptionCommand}
46
48
  */
47
- stopDeliveryStreamEncryption(args: StopDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopDeliveryStreamEncryptionCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
49
+ stopDeliveryStreamEncryption(args: StopDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopDeliveryStreamEncryptionCommandOutput, Cause.TimeoutError | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
48
50
  /**
49
51
  * @see {@link TagDeliveryStreamCommand}
50
52
  */
51
- tagDeliveryStream(args: TagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
53
+ tagDeliveryStream(args: TagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagDeliveryStreamCommandOutput, Cause.TimeoutError | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
52
54
  /**
53
55
  * @see {@link UntagDeliveryStreamCommand}
54
56
  */
55
- untagDeliveryStream(args: UntagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
57
+ untagDeliveryStream(args: UntagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagDeliveryStreamCommandOutput, Cause.TimeoutError | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
56
58
  /**
57
59
  * @see {@link UpdateDestinationCommand}
58
60
  */
59
- updateDestination(args: UpdateDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDestinationCommandOutput, Cause.TimeoutException | SdkError | ConcurrentModificationError | InvalidArgumentError | ResourceInUseError | ResourceNotFoundError>;
61
+ updateDestination(args: UpdateDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDestinationCommandOutput, Cause.TimeoutError | SdkError | ConcurrentModificationError | InvalidArgumentError | ResourceInUseError | ResourceNotFoundError>;
60
62
  }
61
63
  /**
62
64
  * @since 1.0.0
63
65
  * @category constructors
64
66
  */
65
67
  export declare const makeFirehoseService: Effect.Effect<FirehoseService$, never, Instance.FirehoseClientInstance>;
66
- declare const FirehoseService_base: import("effect/Context").TagClass<FirehoseService, "@effect-aws/client-firehose/FirehoseService", FirehoseService$> & Effect.Tag.Proxy<FirehoseService, FirehoseService$> & {
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>;
68
- };
68
+ declare const FirehoseService_base: ServiceMap.ServiceClass<FirehoseService, "@effect-aws/client-firehose/FirehoseService", FirehoseService$>;
69
69
  /**
70
70
  * @since 1.0.0
71
71
  * @category models
@@ -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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AAkB,GAClB,qBAAqB,CACxB,CAAC;IAEF;;OAEG;IACH,iBAAiB,CACf,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,8BAA8B,EAC5B,KAAK,CAAC,YAAY,GAClB,QAAQ,GACR,2BAA2B,GAC3B,oBAAoB,GACpB,kBAAkB,GAClB,qBAAqB,CACxB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,yEAW9B,CAAC;;AAEH;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,oBAGa;IAChD,MAAM,CAAC,QAAQ,CAAC,YAAY,6CAA+E;IAC3G,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,gBAAgB,MAAM,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;IAED;;OAEG;IACH,KAAY,IAAI,GAAG,gBAAgB,CAAC;CACrC"}
@@ -2,7 +2,8 @@
2
2
  * @since 1.0.0
3
3
  */
4
4
  import type { FirehoseClientConfig } from "@aws-sdk/client-firehose";
5
- import { Effect, Layer } from "effect";
5
+ import * as Effect from "effect/Effect";
6
+ import * as Layer from "effect/Layer";
6
7
  import type { FirehoseService } from "./FirehoseService.js";
7
8
  /**
8
9
  * @since 1.0.0
@@ -1 +1 @@
1
- {"version":3,"file":"FirehoseServiceConfig.d.ts","sourceRoot":"","sources":["../../src/FirehoseServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BA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EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACtG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKnG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,WAAY,gBAAgB,MAAM,qCAClB,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAQrE,CAAC"}
@@ -2,13 +2,15 @@
2
2
  * @since 1.0.0
3
3
  */
4
4
  import { FirehoseClient } from "@aws-sdk/client-firehose";
5
- import { Context, Effect, Layer } from "effect";
5
+ import * as Effect from "effect/Effect";
6
+ import * as Layer from "effect/Layer";
7
+ import * as ServiceMap from "effect/ServiceMap";
6
8
  import * as FirehoseServiceConfig from "./FirehoseServiceConfig.js";
7
9
  /**
8
10
  * @since 1.0.0
9
11
  * @category tags
10
12
  */
11
- export class FirehoseClientInstance extends Context.Tag("@effect-aws/client-firehose/FirehoseClientInstance")() {
13
+ export class FirehoseClientInstance extends ServiceMap.Service()("@effect-aws/client-firehose/FirehoseClientInstance") {
12
14
  }
13
15
  /**
14
16
  * @since 1.0.0
@@ -19,5 +21,5 @@ export const make = Effect.flatMap(FirehoseServiceConfig.toFirehoseClientConfig,
19
21
  * @since 1.0.0
20
22
  * @category layers
21
23
  */
22
- export const layer = Layer.scoped(FirehoseClientInstance, make);
24
+ export const layer = Layer.effect(FirehoseClientInstance, make);
23
25
  //# sourceMappingURL=FirehoseClientInstance.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FirehoseClientInstance.js","sourceRoot":"","sources":["../../src/FirehoseClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAC;AAEpE;;;GAGG;AACH,MAAM,OAAO,sBAAuB,SAAQ,OAAO,CAAC,GAAG,CACrD,oDAAoD,CACrD,EAA0C;CAAG;AAE9C;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAChC,qBAAqB,CAAC,sBAAsB,EAC5C,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,cAAc,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC,EAC7C,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC"}
1
+ {"version":3,"file":"FirehoseClientInstance.js","sourceRoot":"","sources":["../../src/FirehoseClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAC;AAEpE;;;GAGG;AACH,MAAM,OAAO,sBAAuB,SAAQ,UAAU,CAAC,OAAO,EAA0C,CACtG,oDAAoD,CACrD;CAAG;AAEJ;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAChC,qBAAqB,CAAC,sBAAsB,EAC5C,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,cAAc,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC,EAC7C,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC"}
@@ -3,7 +3,9 @@
3
3
  */
4
4
  import { CreateDeliveryStreamCommand, DeleteDeliveryStreamCommand, DescribeDeliveryStreamCommand, ListDeliveryStreamsCommand, ListTagsForDeliveryStreamCommand, PutRecordBatchCommand, PutRecordCommand, StartDeliveryStreamEncryptionCommand, StopDeliveryStreamEncryptionCommand, TagDeliveryStreamCommand, UntagDeliveryStreamCommand, UpdateDestinationCommand, } from "@aws-sdk/client-firehose";
5
5
  import { Service } from "@effect-aws/commons";
6
- import { Effect, Layer } from "effect";
6
+ import * as Effect from "effect/Effect";
7
+ import * as Layer from "effect/Layer";
8
+ import * as ServiceMap from "effect/ServiceMap";
7
9
  import { AllServiceErrors } from "./Errors.js";
8
10
  import * as Instance from "./FirehoseClientInstance.js";
9
11
  import * as FirehoseServiceConfig from "./FirehoseServiceConfig.js";
@@ -36,7 +38,7 @@ export const makeFirehoseService = Effect.gen(function* () {
36
38
  * @since 1.0.0
37
39
  * @category models
38
40
  */
39
- export class FirehoseService extends Effect.Tag("@effect-aws/client-firehose/FirehoseService")() {
41
+ export class FirehoseService extends ServiceMap.Service()("@effect-aws/client-firehose/FirehoseService") {
40
42
  static defaultLayer = Layer.effect(this, makeFirehoseService).pipe(Layer.provide(Instance.layer));
41
43
  static layer = (config) => Layer.effect(this, makeFirehoseService).pipe(Layer.provide(Instance.layer), Layer.provide(FirehoseServiceConfig.setFirehoseServiceConfig(config)));
42
44
  static baseLayer = (evaluate) => Layer.effect(this, makeFirehoseService).pipe(Layer.provide(Layer.effect(Instance.FirehoseClientInstance, Effect.map(FirehoseServiceConfig.toFirehoseClientConfig, evaluate))));
@@ -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;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;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACrD,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,Q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AAC,KAAK,CAAC,CAAC,CAAC;IAC3G,MAAM,CAAU,KAAK,GAAG,CAAC,MAA8B,EAAE,EAAE,CACzD,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC,IAAI,CAC1C,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,KAAK,CAAC,OAAO,CAAC,qBAAqB,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC,CACtE,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAiE,EACjE,EAAE,CACF,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC,IAAI,CAC1C,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,sBAAsB,EAC/B,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,sBAAsB,EAAE,QAAQ,CAAC,CACnE,CACF,CACF,CAAC"}
@@ -1,28 +1,29 @@
1
1
  import { ServiceLogger } from "@effect-aws/commons";
2
- import { Effect, FiberRef, Layer } from "effect";
2
+ import * as Effect from "effect/Effect";
3
3
  import { dual } from "effect/Function";
4
- import { globalValue } from "effect/GlobalValue";
4
+ import * as Layer from "effect/Layer";
5
+ import * as ServiceMap from "effect/ServiceMap";
5
6
  /**
6
7
  * @since 1.0.0
7
8
  * @category firehose service config
8
9
  */
9
- const currentFirehoseServiceConfig = globalValue("@effect-aws/client-firehose/currentFirehoseServiceConfig", () => FiberRef.unsafeMake({}));
10
+ const currentFirehoseServiceConfig = ServiceMap.Reference("@effect-aws/client-firehose/currentFirehoseServiceConfig", { defaultValue: () => ({}) });
10
11
  /**
11
12
  * @since 1.0.0
12
13
  * @category firehose service config
13
14
  */
14
- export const withFirehoseServiceConfig = dual(2, (effect, config) => Effect.locally(effect, currentFirehoseServiceConfig, config));
15
+ export const withFirehoseServiceConfig = dual(2, (effect, config) => Effect.provideService(effect, currentFirehoseServiceConfig, config));
15
16
  /**
16
17
  * @since 1.0.0
17
18
  * @category firehose service config
18
19
  */
19
- export const setFirehoseServiceConfig = (config) => Layer.locallyScoped(currentFirehoseServiceConfig, config);
20
+ export const setFirehoseServiceConfig = (config) => Layer.succeed(currentFirehoseServiceConfig, config);
20
21
  /**
21
22
  * @since 1.0.0
22
23
  * @category adapters
23
24
  */
24
25
  export const toFirehoseClientConfig = Effect.gen(function* () {
25
- const { logger: serviceLogger, ...config } = yield* FiberRef.get(currentFirehoseServiceConfig);
26
+ const { logger: serviceLogger, ...config } = yield* currentFirehoseServiceConfig;
26
27
  const logger = serviceLogger === true
27
28
  ? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
28
29
  : (serviceLogger ? yield* ServiceLogger.toClientLogger(ServiceLogger.make(serviceLogger)) : undefined);
@@ -1 +1 @@
1
- {"version":3,"file":"FirehoseServiceConfig.js","sourceRoot":"","sources":["../../src/FirehoseServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD;;;GAGG;AACH,MAAM,4BAA4B,GAAG,WAAW,CAC9C,0DAA0D,EAC1D,GAAG,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAyB,EAAE,CAAC,CACtD,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAGlC,IAAI,CACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAA8B,EAA0B,EAAE,CAClG,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,4BAA4B,EAAE,MAAM,CAAC,CAC/D,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,MAA8B,EAAE,EAAE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MAA8B,EAA0B,EAAE,CAClG,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,4BAA4B,EAAE,MAAM,CAAC,CACtE,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,MAA8B,EAAE,EAAE,CACzE,KAAK,CAAC,OAAO,CAAC,4BAA4B,EAAE,MAAM,CAAC,CAAC;AAEtD;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAwC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAC7F,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,4BAA4B,CAAC;IAEjF,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-aws/client-firehose",
3
- "version": "1.10.9",
3
+ "version": "2.0.0-beta.1",
4
4
  "description": "Effectful AWS Firehose client",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -16,40 +16,34 @@
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.3.1"
19
+ "@effect-aws/commons": "^1.0.0-beta.1"
20
20
  },
21
21
  "peerDependencies": {
22
- "effect": ">=3.0.4 <4.0.0"
22
+ "effect": ">=4.0.0 <5.0.0"
23
23
  },
24
- "main": "./dist/cjs/index.js",
25
24
  "module": "./dist/esm/index.js",
26
25
  "types": "./dist/dts/index.d.ts",
27
26
  "exports": {
28
27
  "./package.json": "./package.json",
29
28
  ".": {
30
29
  "types": "./dist/dts/index.d.ts",
31
- "import": "./dist/esm/index.js",
32
- "default": "./dist/cjs/index.js"
30
+ "import": "./dist/esm/index.js"
33
31
  },
34
32
  "./Errors": {
35
33
  "types": "./dist/dts/Errors.d.ts",
36
- "import": "./dist/esm/Errors.js",
37
- "default": "./dist/cjs/Errors.js"
34
+ "import": "./dist/esm/Errors.js"
38
35
  },
39
36
  "./FirehoseClientInstance": {
40
37
  "types": "./dist/dts/FirehoseClientInstance.d.ts",
41
- "import": "./dist/esm/FirehoseClientInstance.js",
42
- "default": "./dist/cjs/FirehoseClientInstance.js"
38
+ "import": "./dist/esm/FirehoseClientInstance.js"
43
39
  },
44
40
  "./FirehoseService": {
45
41
  "types": "./dist/dts/FirehoseService.d.ts",
46
- "import": "./dist/esm/FirehoseService.js",
47
- "default": "./dist/cjs/FirehoseService.js"
42
+ "import": "./dist/esm/FirehoseService.js"
48
43
  },
49
44
  "./FirehoseServiceConfig": {
50
45
  "types": "./dist/dts/FirehoseServiceConfig.d.ts",
51
- "import": "./dist/esm/FirehoseServiceConfig.js",
52
- "default": "./dist/cjs/FirehoseServiceConfig.js"
46
+ "import": "./dist/esm/FirehoseServiceConfig.js"
53
47
  }
54
48
  },
55
49
  "typesVersions": {
@@ -2,16 +2,18 @@
2
2
  * @since 1.0.0
3
3
  */
4
4
  import { FirehoseClient } from "@aws-sdk/client-firehose";
5
- import { Context, Effect, Layer } from "effect";
5
+ import * as Effect from "effect/Effect";
6
+ import * as Layer from "effect/Layer";
7
+ import * as ServiceMap from "effect/ServiceMap";
6
8
  import * as FirehoseServiceConfig from "./FirehoseServiceConfig.js";
7
9
 
8
10
  /**
9
11
  * @since 1.0.0
10
12
  * @category tags
11
13
  */
12
- export class FirehoseClientInstance extends Context.Tag(
14
+ export class FirehoseClientInstance extends ServiceMap.Service<FirehoseClientInstance, FirehoseClient>()(
13
15
  "@effect-aws/client-firehose/FirehoseClientInstance",
14
- )<FirehoseClientInstance, FirehoseClient>() {}
16
+ ) {}
15
17
 
16
18
  /**
17
19
  * @since 1.0.0
@@ -30,4 +32,4 @@ export const make = Effect.flatMap(
30
32
  * @since 1.0.0
31
33
  * @category layers
32
34
  */
33
- export const layer = Layer.scoped(FirehoseClientInstance, make);
35
+ export const layer = Layer.effect(FirehoseClientInstance, make);
@@ -43,8 +43,10 @@ import {
43
43
  } from "@aws-sdk/client-firehose";
44
44
  import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
45
45
  import { Service } from "@effect-aws/commons";
46
- import type { Cause } from "effect";
47
- import { Effect, Layer } from "effect";
46
+ import type * as Cause from "effect/Cause";
47
+ import * as Effect from "effect/Effect";
48
+ import * as Layer from "effect/Layer";
49
+ import * as ServiceMap from "effect/ServiceMap";
48
50
  import type {
49
51
  ConcurrentModificationError,
50
52
  InvalidArgumentError,
@@ -86,7 +88,7 @@ interface FirehoseService$ {
86
88
  options?: HttpHandlerOptions,
87
89
  ): Effect.Effect<
88
90
  CreateDeliveryStreamCommandOutput,
89
- | Cause.TimeoutException
91
+ | Cause.TimeoutError
90
92
  | SdkError
91
93
  | InvalidArgumentError
92
94
  | InvalidKMSResourceError
@@ -102,7 +104,7 @@ interface FirehoseService$ {
102
104
  options?: HttpHandlerOptions,
103
105
  ): Effect.Effect<
104
106
  DeleteDeliveryStreamCommandOutput,
105
- Cause.TimeoutException | SdkError | ResourceInUseError | ResourceNotFoundError
107
+ Cause.TimeoutError | SdkError | ResourceInUseError | ResourceNotFoundError
106
108
  >;
107
109
 
108
110
  /**
@@ -113,7 +115,7 @@ interface FirehoseService$ {
113
115
  options?: HttpHandlerOptions,
114
116
  ): Effect.Effect<
115
117
  DescribeDeliveryStreamCommandOutput,
116
- Cause.TimeoutException | SdkError | ResourceNotFoundError
118
+ Cause.TimeoutError | SdkError | ResourceNotFoundError
117
119
  >;
118
120
 
119
121
  /**
@@ -124,7 +126,7 @@ interface FirehoseService$ {
124
126
  options?: HttpHandlerOptions,
125
127
  ): Effect.Effect<
126
128
  ListDeliveryStreamsCommandOutput,
127
- Cause.TimeoutException | SdkError
129
+ Cause.TimeoutError | SdkError
128
130
  >;
129
131
 
130
132
  /**
@@ -135,7 +137,7 @@ interface FirehoseService$ {
135
137
  options?: HttpHandlerOptions,
136
138
  ): Effect.Effect<
137
139
  ListTagsForDeliveryStreamCommandOutput,
138
- Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceNotFoundError
140
+ Cause.TimeoutError | SdkError | InvalidArgumentError | LimitExceededError | ResourceNotFoundError
139
141
  >;
140
142
 
141
143
  /**
@@ -146,7 +148,7 @@ interface FirehoseService$ {
146
148
  options?: HttpHandlerOptions,
147
149
  ): Effect.Effect<
148
150
  PutRecordCommandOutput,
149
- | Cause.TimeoutException
151
+ | Cause.TimeoutError
150
152
  | SdkError
151
153
  | InvalidArgumentError
152
154
  | InvalidKMSResourceError
@@ -163,7 +165,7 @@ interface FirehoseService$ {
163
165
  options?: HttpHandlerOptions,
164
166
  ): Effect.Effect<
165
167
  PutRecordBatchCommandOutput,
166
- | Cause.TimeoutException
168
+ | Cause.TimeoutError
167
169
  | SdkError
168
170
  | InvalidArgumentError
169
171
  | InvalidKMSResourceError
@@ -180,7 +182,7 @@ interface FirehoseService$ {
180
182
  options?: HttpHandlerOptions,
181
183
  ): Effect.Effect<
182
184
  StartDeliveryStreamEncryptionCommandOutput,
183
- | Cause.TimeoutException
185
+ | Cause.TimeoutError
184
186
  | SdkError
185
187
  | InvalidArgumentError
186
188
  | InvalidKMSResourceError
@@ -197,7 +199,7 @@ interface FirehoseService$ {
197
199
  options?: HttpHandlerOptions,
198
200
  ): Effect.Effect<
199
201
  StopDeliveryStreamEncryptionCommandOutput,
200
- | Cause.TimeoutException
202
+ | Cause.TimeoutError
201
203
  | SdkError
202
204
  | InvalidArgumentError
203
205
  | LimitExceededError
@@ -213,7 +215,7 @@ interface FirehoseService$ {
213
215
  options?: HttpHandlerOptions,
214
216
  ): Effect.Effect<
215
217
  TagDeliveryStreamCommandOutput,
216
- | Cause.TimeoutException
218
+ | Cause.TimeoutError
217
219
  | SdkError
218
220
  | InvalidArgumentError
219
221
  | LimitExceededError
@@ -229,7 +231,7 @@ interface FirehoseService$ {
229
231
  options?: HttpHandlerOptions,
230
232
  ): Effect.Effect<
231
233
  UntagDeliveryStreamCommandOutput,
232
- | Cause.TimeoutException
234
+ | Cause.TimeoutError
233
235
  | SdkError
234
236
  | InvalidArgumentError
235
237
  | LimitExceededError
@@ -245,7 +247,7 @@ interface FirehoseService$ {
245
247
  options?: HttpHandlerOptions,
246
248
  ): Effect.Effect<
247
249
  UpdateDestinationCommandOutput,
248
- | Cause.TimeoutException
250
+ | Cause.TimeoutError
249
251
  | SdkError
250
252
  | ConcurrentModificationError
251
253
  | InvalidArgumentError
@@ -275,10 +277,10 @@ export const makeFirehoseService = Effect.gen(function*() {
275
277
  * @since 1.0.0
276
278
  * @category models
277
279
  */
278
- export class FirehoseService extends Effect.Tag("@effect-aws/client-firehose/FirehoseService")<
280
+ export class FirehoseService extends ServiceMap.Service<
279
281
  FirehoseService,
280
282
  FirehoseService$
281
- >() {
283
+ >()("@effect-aws/client-firehose/FirehoseService") {
282
284
  static readonly defaultLayer = Layer.effect(this, makeFirehoseService).pipe(Layer.provide(Instance.layer));
283
285
  static readonly layer = (config: FirehoseService.Config) =>
284
286
  Layer.effect(this, makeFirehoseService).pipe(
@@ -3,18 +3,19 @@
3
3
  */
4
4
  import type { FirehoseClientConfig } from "@aws-sdk/client-firehose";
5
5
  import { ServiceLogger } from "@effect-aws/commons";
6
- import { Effect, FiberRef, Layer } from "effect";
6
+ import * as Effect from "effect/Effect";
7
7
  import { dual } from "effect/Function";
8
- import { globalValue } from "effect/GlobalValue";
8
+ import * as Layer from "effect/Layer";
9
+ import * as ServiceMap from "effect/ServiceMap";
9
10
  import type { FirehoseService } from "./FirehoseService.js";
10
11
 
11
12
  /**
12
13
  * @since 1.0.0
13
14
  * @category firehose service config
14
15
  */
15
- const currentFirehoseServiceConfig = globalValue(
16
+ const currentFirehoseServiceConfig = ServiceMap.Reference<FirehoseService.Config>(
16
17
  "@effect-aws/client-firehose/currentFirehoseServiceConfig",
17
- () => FiberRef.unsafeMake<FirehoseService.Config>({}),
18
+ { defaultValue: () => ({}) },
18
19
  );
19
20
 
20
21
  /**
@@ -27,7 +28,7 @@ export const withFirehoseServiceConfig: {
27
28
  } = dual(
28
29
  2,
29
30
  <A, E, R>(effect: Effect.Effect<A, E, R>, config: FirehoseService.Config): Effect.Effect<A, E, R> =>
30
- Effect.locally(effect, currentFirehoseServiceConfig, config),
31
+ Effect.provideService(effect, currentFirehoseServiceConfig, config),
31
32
  );
32
33
 
33
34
  /**
@@ -35,14 +36,14 @@ export const withFirehoseServiceConfig: {
35
36
  * @category firehose service config
36
37
  */
37
38
  export const setFirehoseServiceConfig = (config: FirehoseService.Config) =>
38
- Layer.locallyScoped(currentFirehoseServiceConfig, config);
39
+ Layer.succeed(currentFirehoseServiceConfig, config);
39
40
 
40
41
  /**
41
42
  * @since 1.0.0
42
43
  * @category adapters
43
44
  */
44
45
  export const toFirehoseClientConfig: Effect.Effect<FirehoseClientConfig> = Effect.gen(function*() {
45
- const { logger: serviceLogger, ...config } = yield* FiberRef.get(currentFirehoseServiceConfig);
46
+ const { logger: serviceLogger, ...config } = yield* currentFirehoseServiceConfig;
46
47
 
47
48
  const logger = serviceLogger === true
48
49
  ? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
@@ -1,15 +0,0 @@
1
- import type { ConcurrentModificationException, InvalidArgumentException, InvalidKMSResourceException, InvalidSourceException, LimitExceededException, ResourceInUseException, ResourceNotFoundException, ServiceUnavailableException } from "@aws-sdk/client-firehose";
2
- import type { TaggedException } from "@effect-aws/commons";
3
- export declare const AllServiceErrors: readonly ["ConcurrentModificationException", "InvalidArgumentException", "InvalidKMSResourceException", "InvalidSourceException", "LimitExceededException", "ResourceInUseException", "ResourceNotFoundException", "ServiceUnavailableException"];
4
- export type ConcurrentModificationError = TaggedException<ConcurrentModificationException>;
5
- export type InvalidArgumentError = TaggedException<InvalidArgumentException>;
6
- export type InvalidKMSResourceError = TaggedException<InvalidKMSResourceException>;
7
- export type InvalidSourceError = TaggedException<InvalidSourceException>;
8
- export type LimitExceededError = TaggedException<LimitExceededException>;
9
- export type ResourceInUseError = TaggedException<ResourceInUseException>;
10
- export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
11
- export type ServiceUnavailableError = TaggedException<ServiceUnavailableException>;
12
- export type SdkError = TaggedException<Error & {
13
- name: "SdkError";
14
- }>;
15
- //# sourceMappingURL=Errors.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AllServiceErrors = void 0;
4
- exports.AllServiceErrors = [
5
- "ConcurrentModificationException",
6
- "InvalidArgumentException",
7
- "InvalidKMSResourceException",
8
- "InvalidSourceException",
9
- "LimitExceededException",
10
- "ResourceInUseException",
11
- "ResourceNotFoundException",
12
- "ServiceUnavailableException",
13
- ];
14
- //# sourceMappingURL=Errors.js.map
@@ -1 +0,0 @@
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"}
@@ -1,24 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import { FirehoseClient } from "@aws-sdk/client-firehose";
5
- import { Context, Effect, Layer } from "effect";
6
- declare const FirehoseClientInstance_base: Context.TagClass<FirehoseClientInstance, "@effect-aws/client-firehose/FirehoseClientInstance", FirehoseClient>;
7
- /**
8
- * @since 1.0.0
9
- * @category tags
10
- */
11
- export declare class FirehoseClientInstance extends FirehoseClientInstance_base {
12
- }
13
- /**
14
- * @since 1.0.0
15
- * @category constructors
16
- */
17
- export declare const make: Effect.Effect<FirehoseClient, never, import("effect/Scope").Scope>;
18
- /**
19
- * @since 1.0.0
20
- * @category layers
21
- */
22
- export declare const layer: Layer.Layer<FirehoseClientInstance, never, never>;
23
- export {};
24
- //# sourceMappingURL=FirehoseClientInstance.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FirehoseClientInstance.d.ts","sourceRoot":"","sources":["../../src/FirehoseClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,sBAAuB,SAAQ,2BAED;CAAG;AAE9C;;;GAGG;AACH,eAAO,MAAM,IAAI,oEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,mDAA6C,CAAC"}
@@ -1,50 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.layer = exports.make = exports.FirehoseClientInstance = void 0;
27
- /**
28
- * @since 1.0.0
29
- */
30
- const client_firehose_1 = require("@aws-sdk/client-firehose");
31
- const effect_1 = require("effect");
32
- const FirehoseServiceConfig = __importStar(require("./FirehoseServiceConfig.js"));
33
- /**
34
- * @since 1.0.0
35
- * @category tags
36
- */
37
- class FirehoseClientInstance extends effect_1.Context.Tag("@effect-aws/client-firehose/FirehoseClientInstance")() {
38
- }
39
- exports.FirehoseClientInstance = FirehoseClientInstance;
40
- /**
41
- * @since 1.0.0
42
- * @category constructors
43
- */
44
- exports.make = effect_1.Effect.flatMap(FirehoseServiceConfig.toFirehoseClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_firehose_1.FirehoseClient(config)), (client) => effect_1.Effect.sync(() => client.destroy())));
45
- /**
46
- * @since 1.0.0
47
- * @category layers
48
- */
49
- exports.layer = effect_1.Layer.scoped(FirehoseClientInstance, exports.make);
50
- //# sourceMappingURL=FirehoseClientInstance.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FirehoseClientInstance.js","sourceRoot":"","sources":["../../src/FirehoseClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8DAA0D;AAC1D,mCAAgD;AAChD,kFAAoE;AAEpE;;;GAGG;AACH,MAAa,sBAAuB,SAAQ,gBAAO,CAAC,GAAG,CACrD,oDAAoD,CACrD,EAA0C;CAAG;AAF9C,wDAE8C;AAE9C;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,qBAAqB,CAAC,sBAAsB,EAC5C,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,gCAAc,CAAC,MAAM,CAAC,CAAC,EAC7C,CAAC,MAAM,EAAE,EAAE,CAAC,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACU,QAAA,KAAK,GAAG,cAAK,CAAC,MAAM,CAAC,sBAAsB,EAAE,YAAI,CAAC,CAAC"}
@@ -1,94 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
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, ServiceLogger } from "@effect-aws/commons";
6
- import type { Cause } from "effect";
7
- import { Effect, Layer } from "effect";
8
- import type { ConcurrentModificationError, InvalidArgumentError, InvalidKMSResourceError, InvalidSourceError, LimitExceededError, ResourceInUseError, ResourceNotFoundError, SdkError, ServiceUnavailableError } from "./Errors.js";
9
- import * as Instance from "./FirehoseClientInstance.js";
10
- interface FirehoseService$ {
11
- readonly _: unique symbol;
12
- /**
13
- * @see {@link CreateDeliveryStreamCommand}
14
- */
15
- createDeliveryStream(args: CreateDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError>;
16
- /**
17
- * @see {@link DeleteDeliveryStreamCommand}
18
- */
19
- deleteDeliveryStream(args: DeleteDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | ResourceInUseError | ResourceNotFoundError>;
20
- /**
21
- * @see {@link DescribeDeliveryStreamCommand}
22
- */
23
- describeDeliveryStream(args: DescribeDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | ResourceNotFoundError>;
24
- /**
25
- * @see {@link ListDeliveryStreamsCommand}
26
- */
27
- listDeliveryStreams(args: ListDeliveryStreamsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDeliveryStreamsCommandOutput, Cause.TimeoutException | SdkError>;
28
- /**
29
- * @see {@link ListTagsForDeliveryStreamCommand}
30
- */
31
- listTagsForDeliveryStream(args: ListTagsForDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceNotFoundError>;
32
- /**
33
- * @see {@link PutRecordCommand}
34
- */
35
- putRecord(args: PutRecordCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
36
- /**
37
- * @see {@link PutRecordBatchCommand}
38
- */
39
- putRecordBatch(args: PutRecordBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutRecordBatchCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | InvalidSourceError | ResourceNotFoundError | ServiceUnavailableError>;
40
- /**
41
- * @see {@link StartDeliveryStreamEncryptionCommand}
42
- */
43
- startDeliveryStreamEncryption(args: StartDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDeliveryStreamEncryptionCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | InvalidKMSResourceError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
44
- /**
45
- * @see {@link StopDeliveryStreamEncryptionCommand}
46
- */
47
- stopDeliveryStreamEncryption(args: StopDeliveryStreamEncryptionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StopDeliveryStreamEncryptionCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
48
- /**
49
- * @see {@link TagDeliveryStreamCommand}
50
- */
51
- tagDeliveryStream(args: TagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
52
- /**
53
- * @see {@link UntagDeliveryStreamCommand}
54
- */
55
- untagDeliveryStream(args: UntagDeliveryStreamCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagDeliveryStreamCommandOutput, Cause.TimeoutException | SdkError | InvalidArgumentError | LimitExceededError | ResourceInUseError | ResourceNotFoundError>;
56
- /**
57
- * @see {@link UpdateDestinationCommand}
58
- */
59
- updateDestination(args: UpdateDestinationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateDestinationCommandOutput, Cause.TimeoutException | SdkError | ConcurrentModificationError | InvalidArgumentError | ResourceInUseError | ResourceNotFoundError>;
60
- }
61
- /**
62
- * @since 1.0.0
63
- * @category constructors
64
- */
65
- export declare const makeFirehoseService: Effect.Effect<FirehoseService$, never, Instance.FirehoseClientInstance>;
66
- declare const FirehoseService_base: import("effect/Context").TagClass<FirehoseService, "@effect-aws/client-firehose/FirehoseService", FirehoseService$> & Effect.Tag.Proxy<FirehoseService, FirehoseService$> & {
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>;
68
- };
69
- /**
70
- * @since 1.0.0
71
- * @category models
72
- */
73
- export declare class FirehoseService extends FirehoseService_base {
74
- static readonly defaultLayer: Layer.Layer<FirehoseService, never, never>;
75
- static readonly layer: (config: FirehoseService.Config) => Layer.Layer<FirehoseService, never, never>;
76
- static readonly baseLayer: (evaluate: (defaultConfig: FirehoseClientConfig) => FirehoseClient) => Layer.Layer<FirehoseService, never, never>;
77
- }
78
- /**
79
- * @since 1.0.0
80
- */
81
- export declare namespace FirehoseService {
82
- /**
83
- * @since 1.0.0
84
- */
85
- interface Config extends Omit<FirehoseClientConfig, "logger"> {
86
- readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
87
- }
88
- /**
89
- * @since 1.0.0
90
- */
91
- type Type = FirehoseService$;
92
- }
93
- export {};
94
- //# sourceMappingURL=FirehoseService.d.ts.map
@@ -1 +0,0 @@
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,EA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AI,GAAG,gBAAgB,CAAC;CACrC"}
@@ -1,71 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.FirehoseService = exports.makeFirehoseService = void 0;
27
- /**
28
- * @since 1.0.0
29
- */
30
- const client_firehose_1 = require("@aws-sdk/client-firehose");
31
- const commons_1 = require("@effect-aws/commons");
32
- const effect_1 = require("effect");
33
- const Errors_js_1 = require("./Errors.js");
34
- const Instance = __importStar(require("./FirehoseClientInstance.js"));
35
- const FirehoseServiceConfig = __importStar(require("./FirehoseServiceConfig.js"));
36
- const commands = {
37
- CreateDeliveryStreamCommand: client_firehose_1.CreateDeliveryStreamCommand,
38
- DeleteDeliveryStreamCommand: client_firehose_1.DeleteDeliveryStreamCommand,
39
- DescribeDeliveryStreamCommand: client_firehose_1.DescribeDeliveryStreamCommand,
40
- ListDeliveryStreamsCommand: client_firehose_1.ListDeliveryStreamsCommand,
41
- ListTagsForDeliveryStreamCommand: client_firehose_1.ListTagsForDeliveryStreamCommand,
42
- PutRecordCommand: client_firehose_1.PutRecordCommand,
43
- PutRecordBatchCommand: client_firehose_1.PutRecordBatchCommand,
44
- StartDeliveryStreamEncryptionCommand: client_firehose_1.StartDeliveryStreamEncryptionCommand,
45
- StopDeliveryStreamEncryptionCommand: client_firehose_1.StopDeliveryStreamEncryptionCommand,
46
- TagDeliveryStreamCommand: client_firehose_1.TagDeliveryStreamCommand,
47
- UntagDeliveryStreamCommand: client_firehose_1.UntagDeliveryStreamCommand,
48
- UpdateDestinationCommand: client_firehose_1.UpdateDestinationCommand,
49
- };
50
- /**
51
- * @since 1.0.0
52
- * @category constructors
53
- */
54
- exports.makeFirehoseService = effect_1.Effect.gen(function* () {
55
- const client = yield* Instance.FirehoseClientInstance;
56
- return yield* commons_1.Service.fromClientAndCommands(client, commands, {
57
- errorTags: Errors_js_1.AllServiceErrors,
58
- resolveClientConfig: FirehoseServiceConfig.toFirehoseClientConfig,
59
- });
60
- });
61
- /**
62
- * @since 1.0.0
63
- * @category models
64
- */
65
- class FirehoseService extends effect_1.Effect.Tag("@effect-aws/client-firehose/FirehoseService")() {
66
- static defaultLayer = effect_1.Layer.effect(this, exports.makeFirehoseService).pipe(effect_1.Layer.provide(Instance.layer));
67
- static layer = (config) => effect_1.Layer.effect(this, exports.makeFirehoseService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(FirehoseServiceConfig.setFirehoseServiceConfig(config)));
68
- static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeFirehoseService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.FirehoseClientInstance, effect_1.Effect.map(FirehoseServiceConfig.toFirehoseClientConfig, evaluate))));
69
- }
70
- exports.FirehoseService = FirehoseService;
71
- //# sourceMappingURL=FirehoseService.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FirehoseService.js","sourceRoot":"","sources":["../../src/FirehoseService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;A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QAAQ,CAAC,KAAK,CAAC,EAC7B,cAAK,CAAC,OAAO,CAAC,qBAAqB,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC,CACtE,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAiE,EACjE,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,2BAAmB,CAAC,CAAC,IAAI,CAC1C,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,sBAAsB,EAC/B,eAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,sBAAsB,EAAE,QAAQ,CAAC,CACnE,CACF,CACF,CAAC;;AApBN,0CAqBC"}
@@ -1,25 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import type { FirehoseClientConfig } from "@aws-sdk/client-firehose";
5
- import { Effect, Layer } from "effect";
6
- import type { FirehoseService } from "./FirehoseService.js";
7
- /**
8
- * @since 1.0.0
9
- * @category firehose service config
10
- */
11
- export declare const withFirehoseServiceConfig: {
12
- (config: FirehoseService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
13
- <A, E, R>(effect: Effect.Effect<A, E, R>, config: FirehoseService.Config): Effect.Effect<A, E, R>;
14
- };
15
- /**
16
- * @since 1.0.0
17
- * @category firehose service config
18
- */
19
- export declare const setFirehoseServiceConfig: (config: FirehoseService.Config) => Layer.Layer<never, never, never>;
20
- /**
21
- * @since 1.0.0
22
- * @category adapters
23
- */
24
- export declare const toFirehoseClientConfig: Effect.Effect<FirehoseClientConfig>;
25
- //# sourceMappingURL=FirehoseServiceConfig.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FirehoseServiceConfig.d.ts","sourceRoot":"","sources":["../../src/FirehoseServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAW5D;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE;IACtC,CAAC,MAAM,EAAE,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACtG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKnG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,WAAY,gBAAgB,MAAM,qCACZ,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAQrE,CAAC"}
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toFirehoseClientConfig = exports.setFirehoseServiceConfig = exports.withFirehoseServiceConfig = void 0;
4
- const commons_1 = require("@effect-aws/commons");
5
- const effect_1 = require("effect");
6
- const Function_1 = require("effect/Function");
7
- const GlobalValue_1 = require("effect/GlobalValue");
8
- /**
9
- * @since 1.0.0
10
- * @category firehose service config
11
- */
12
- const currentFirehoseServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-firehose/currentFirehoseServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
13
- /**
14
- * @since 1.0.0
15
- * @category firehose service config
16
- */
17
- exports.withFirehoseServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentFirehoseServiceConfig, config));
18
- /**
19
- * @since 1.0.0
20
- * @category firehose service config
21
- */
22
- const setFirehoseServiceConfig = (config) => effect_1.Layer.locallyScoped(currentFirehoseServiceConfig, config);
23
- exports.setFirehoseServiceConfig = setFirehoseServiceConfig;
24
- /**
25
- * @since 1.0.0
26
- * @category adapters
27
- */
28
- exports.toFirehoseClientConfig = effect_1.Effect.gen(function* () {
29
- const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentFirehoseServiceConfig);
30
- const logger = serviceLogger === true
31
- ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.defaultServiceLogger)
32
- : (serviceLogger ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.make(serviceLogger)) : undefined);
33
- return { logger, ...config };
34
- });
35
- //# sourceMappingURL=FirehoseServiceConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FirehoseServiceConfig.js","sourceRoot":"","sources":["../../src/FirehoseServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAA,yBAAW,EAC9C,0DAA0D,EAC1D,GAAG,EAAE,CAAC,iBAAQ,CAAC,UAAU,CAAyB,EAAE,CAAC,CACtD,CAAC;AAEF;;;GAGG;AACU,QAAA,yBAAyB,GAGlC,IAAA,eAAI,EACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAA8B,EAA0B,EAAE,CAClG,eAAM,CAAC,OAAO,CAAC,MAAM,EAAE,4BAA4B,EAAE,MAAM,CAAC,CAC/D,CAAC;AAEF;;;GAGG;AACI,MAAM,wBAAwB,GAAG,CAAC,MAA8B,EAAE,EAAE,CACzE,cAAK,CAAC,aAAa,CAAC,4BAA4B,EAAE,MAAM,CAAC,CAAC;AAD/C,QAAA,wBAAwB,4BACuB;AAE5D;;;GAGG;AACU,QAAA,sBAAsB,GAAwC,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAC7F,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,iBAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;IAE/F,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
@@ -1,44 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import { FirehoseService } from "./FirehoseService.js";
5
- /**
6
- * @since 1.0.0
7
- */
8
- export * from "./Errors.js";
9
- /**
10
- * @since 1.0.0
11
- */
12
- export * as FirehoseClientInstance from "./FirehoseClientInstance.js";
13
- /**
14
- * @since 1.0.0
15
- */
16
- export * as FirehoseServiceConfig from "./FirehoseServiceConfig.js";
17
- /**
18
- * @since 1.0.0
19
- */
20
- export * from "./FirehoseService.js";
21
- /**
22
- * @since 1.0.0
23
- * @category exports
24
- * @alias FirehoseService
25
- */
26
- export declare namespace Firehose {
27
- /**
28
- * @since 1.0.0
29
- * @alias FirehoseService.Config
30
- */
31
- type Config = FirehoseService.Config;
32
- /**
33
- * @since 1.0.0
34
- * @alias FirehoseService.Type
35
- */
36
- type Type = FirehoseService.Type;
37
- }
38
- /**
39
- * @since 1.0.0
40
- * @category exports
41
- * @alias FirehoseService
42
- */
43
- export declare const Firehose: typeof FirehoseService;
44
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,sBAAsB,MAAM,6BAA6B,CAAC;AAEtE;;GAEG;AACH,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAC;AAEpE;;GAEG;AACH,cAAc,sBAAsB,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC;;;OAGG;IACH,KAAY,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC;IAE5C;;;OAGG;IACH,KAAY,IAAI,GAAG,eAAe,CAAC,IAAI,CAAC;CACzC;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ,wBAAkB,CAAC"}
package/dist/cjs/index.js DELETED
@@ -1,56 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
- };
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Firehose = exports.FirehoseServiceConfig = exports.FirehoseClientInstance = void 0;
30
- /**
31
- * @since 1.0.0
32
- */
33
- const FirehoseService_js_1 = require("./FirehoseService.js");
34
- /**
35
- * @since 1.0.0
36
- */
37
- __exportStar(require("./Errors.js"), exports);
38
- /**
39
- * @since 1.0.0
40
- */
41
- exports.FirehoseClientInstance = __importStar(require("./FirehoseClientInstance.js"));
42
- /**
43
- * @since 1.0.0
44
- */
45
- exports.FirehoseServiceConfig = __importStar(require("./FirehoseServiceConfig.js"));
46
- /**
47
- * @since 1.0.0
48
- */
49
- __exportStar(require("./FirehoseService.js"), exports);
50
- /**
51
- * @since 1.0.0
52
- * @category exports
53
- * @alias FirehoseService
54
- */
55
- exports.Firehose = FirehoseService_js_1.FirehoseService;
56
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,6DAAuD;AAEvD;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,sFAAsE;AAEtE;;GAEG;AACH,oFAAoE;AAEpE;;GAEG;AACH,uDAAqC;AAqBrC;;;;GAIG;AACU,QAAA,QAAQ,GAAG,oCAAe,CAAC"}