@effect-aws/client-firehose 2.0.0-beta.2 → 2.0.0-beta.4
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/dts/Errors.d.ts +1 -1
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/FirehoseClientInstance.d.ts +2 -2
- package/dist/dts/FirehoseClientInstance.d.ts.map +1 -1
- package/dist/dts/FirehoseService.d.ts +4 -3
- package/dist/dts/FirehoseService.d.ts.map +1 -1
- package/dist/dts/FirehoseServiceConfig.d.ts.map +1 -1
- package/dist/esm/FirehoseClientInstance.js +2 -2
- package/dist/esm/FirehoseClientInstance.js.map +1 -1
- package/dist/esm/FirehoseService.js +3 -3
- package/dist/esm/FirehoseService.js.map +1 -1
- package/dist/esm/FirehoseServiceConfig.js +3 -3
- package/dist/esm/FirehoseServiceConfig.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -1
- package/src/FirehoseClientInstance.ts +2 -2
- package/src/FirehoseService.ts +5 -4
- package/src/FirehoseServiceConfig.ts +3 -3
package/dist/dts/Errors.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ConcurrentModificationException, InvalidArgumentException, InvalidKMSResourceException, InvalidSourceException, LimitExceededException, ResourceInUseException, ResourceNotFoundException, ServiceUnavailableException } from "@aws-sdk/client-firehose";
|
|
2
|
-
import type { TaggedException } from "@effect-aws/commons";
|
|
2
|
+
import type { TaggedException } from "@effect-aws/commons/Errors";
|
|
3
3
|
export declare const AllServiceErrors: readonly ["ConcurrentModificationException", "InvalidArgumentException", "InvalidKMSResourceException", "InvalidSourceException", "LimitExceededException", "ResourceInUseException", "ResourceNotFoundException", "ServiceUnavailableException"];
|
|
4
4
|
export type ConcurrentModificationError = TaggedException<ConcurrentModificationException>;
|
|
5
5
|
export type InvalidArgumentError = TaggedException<InvalidArgumentException>;
|
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,
|
|
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,4BAA4B,CAAC;AAElE,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,10 +2,10 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { FirehoseClient } from "@aws-sdk/client-firehose";
|
|
5
|
+
import * as Context from "effect/Context";
|
|
5
6
|
import * as Effect from "effect/Effect";
|
|
6
7
|
import * as Layer from "effect/Layer";
|
|
7
|
-
|
|
8
|
-
declare const FirehoseClientInstance_base: ServiceMap.ServiceClass<FirehoseClientInstance, "@effect-aws/client-firehose/FirehoseClientInstance", FirehoseClient>;
|
|
8
|
+
declare const FirehoseClientInstance_base: Context.ServiceClass<FirehoseClientInstance, "@effect-aws/client-firehose/FirehoseClientInstance", FirehoseClient>;
|
|
9
9
|
/**
|
|
10
10
|
* @since 1.0.0
|
|
11
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,KAAK,
|
|
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,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;;AAGtC;;;GAGG;AACH,qBAAa,sBAAuB,SAAQ,2BAE3C;CAAG;AAEJ;;;GAGG;AACH,eAAO,MAAM,IAAI,oEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,mDAA6C,CAAC"}
|
|
@@ -2,11 +2,12 @@
|
|
|
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
|
|
5
|
+
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
6
|
+
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
6
7
|
import type * as Cause from "effect/Cause";
|
|
8
|
+
import * as Context from "effect/Context";
|
|
7
9
|
import * as Effect from "effect/Effect";
|
|
8
10
|
import * as Layer from "effect/Layer";
|
|
9
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
10
11
|
import type { ConcurrentModificationError, InvalidArgumentError, InvalidKMSResourceError, InvalidSourceError, LimitExceededError, ResourceInUseError, ResourceNotFoundError, SdkError, ServiceUnavailableError } from "./Errors.js";
|
|
11
12
|
import * as Instance from "./FirehoseClientInstance.js";
|
|
12
13
|
export interface FirehoseService$ {
|
|
@@ -64,7 +65,7 @@ export interface FirehoseService$ {
|
|
|
64
65
|
* @category constructors
|
|
65
66
|
*/
|
|
66
67
|
export declare const makeFirehoseService: Effect.Effect<FirehoseService$, never, Instance.FirehoseClientInstance>;
|
|
67
|
-
declare const FirehoseService_base:
|
|
68
|
+
declare const FirehoseService_base: Context.ServiceClass<FirehoseService, "@effect-aws/client-firehose/FirehoseService", FirehoseService$>;
|
|
68
69
|
/**
|
|
69
70
|
* @since 1.0.0
|
|
70
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,CAAC;
|
|
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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AY,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"}
|
|
@@ -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,0BAA0B,CAAC;
|
|
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;AAGrE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,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,qCAClB,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAQrE,CAAC"}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { FirehoseClient } from "@aws-sdk/client-firehose";
|
|
5
|
+
import * as Context from "effect/Context";
|
|
5
6
|
import * as Effect from "effect/Effect";
|
|
6
7
|
import * as Layer from "effect/Layer";
|
|
7
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
8
8
|
import * as FirehoseServiceConfig from "./FirehoseServiceConfig.js";
|
|
9
9
|
/**
|
|
10
10
|
* @since 1.0.0
|
|
11
11
|
* @category tags
|
|
12
12
|
*/
|
|
13
|
-
export class FirehoseClientInstance extends
|
|
13
|
+
export class FirehoseClientInstance extends Context.Service()("@effect-aws/client-firehose/FirehoseClientInstance") {
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* @since 1.0.0
|
|
@@ -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,KAAK,
|
|
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,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAC;AAEpE;;;GAGG;AACH,MAAM,OAAO,sBAAuB,SAAQ,OAAO,CAAC,OAAO,EAA0C,CACnG,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"}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { CreateDeliveryStreamCommand, DeleteDeliveryStreamCommand, DescribeDeliveryStreamCommand, ListDeliveryStreamsCommand, ListTagsForDeliveryStreamCommand, PutRecordBatchCommand, PutRecordCommand, StartDeliveryStreamEncryptionCommand, StopDeliveryStreamEncryptionCommand, TagDeliveryStreamCommand, UntagDeliveryStreamCommand, UpdateDestinationCommand, } from "@aws-sdk/client-firehose";
|
|
5
|
-
import
|
|
5
|
+
import * as Service from "@effect-aws/commons/Service";
|
|
6
|
+
import * as Context from "effect/Context";
|
|
6
7
|
import * as Effect from "effect/Effect";
|
|
7
8
|
import * as Layer from "effect/Layer";
|
|
8
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
9
9
|
import { AllServiceErrors } from "./Errors.js";
|
|
10
10
|
import * as Instance from "./FirehoseClientInstance.js";
|
|
11
11
|
import * as FirehoseServiceConfig from "./FirehoseServiceConfig.js";
|
|
@@ -38,7 +38,7 @@ export const makeFirehoseService = Effect.gen(function* () {
|
|
|
38
38
|
* @since 1.0.0
|
|
39
39
|
* @category models
|
|
40
40
|
*/
|
|
41
|
-
export class FirehoseService extends
|
|
41
|
+
export class FirehoseService extends Context.Service()("@effect-aws/client-firehose/FirehoseService") {
|
|
42
42
|
static defaultLayer = Layer.effect(this, makeFirehoseService).pipe(Layer.provide(Instance.layer));
|
|
43
43
|
static layer = (config) => Layer.effect(this, makeFirehoseService).pipe(Layer.provide(Instance.layer), Layer.provide(FirehoseServiceConfig.setFirehoseServiceConfig(config)));
|
|
44
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;
|
|
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,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,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,13 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
2
|
+
import * as Context from "effect/Context";
|
|
2
3
|
import * as Effect from "effect/Effect";
|
|
3
4
|
import { dual } from "effect/Function";
|
|
4
5
|
import * as Layer from "effect/Layer";
|
|
5
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
6
6
|
/**
|
|
7
7
|
* @since 1.0.0
|
|
8
8
|
* @category firehose service config
|
|
9
9
|
*/
|
|
10
|
-
const currentFirehoseServiceConfig =
|
|
10
|
+
const currentFirehoseServiceConfig = Context.Reference("@effect-aws/client-firehose/currentFirehoseServiceConfig", { defaultValue: () => ({}) });
|
|
11
11
|
/**
|
|
12
12
|
* @since 1.0.0
|
|
13
13
|
* @category firehose service config
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FirehoseServiceConfig.js","sourceRoot":"","sources":["../../src/FirehoseServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"FirehoseServiceConfig.js","sourceRoot":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AS,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": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.4",
|
|
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": "^1.0.0-beta.
|
|
19
|
+
"@effect-aws/commons": "^1.0.0-beta.4"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"effect": ">=4.0.0 <5.0.0"
|
package/src/Errors.ts
CHANGED
|
@@ -8,7 +8,7 @@ import type {
|
|
|
8
8
|
ResourceNotFoundException,
|
|
9
9
|
ServiceUnavailableException,
|
|
10
10
|
} from "@aws-sdk/client-firehose";
|
|
11
|
-
import type { TaggedException } from "@effect-aws/commons";
|
|
11
|
+
import type { TaggedException } from "@effect-aws/commons/Errors";
|
|
12
12
|
|
|
13
13
|
export const AllServiceErrors = [
|
|
14
14
|
"ConcurrentModificationException",
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { FirehoseClient } from "@aws-sdk/client-firehose";
|
|
5
|
+
import * as Context from "effect/Context";
|
|
5
6
|
import * as Effect from "effect/Effect";
|
|
6
7
|
import * as Layer from "effect/Layer";
|
|
7
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
8
8
|
import * as FirehoseServiceConfig from "./FirehoseServiceConfig.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @since 1.0.0
|
|
12
12
|
* @category tags
|
|
13
13
|
*/
|
|
14
|
-
export class FirehoseClientInstance extends
|
|
14
|
+
export class FirehoseClientInstance extends Context.Service<FirehoseClientInstance, FirehoseClient>()(
|
|
15
15
|
"@effect-aws/client-firehose/FirehoseClientInstance",
|
|
16
16
|
) {}
|
|
17
17
|
|
package/src/FirehoseService.ts
CHANGED
|
@@ -41,12 +41,13 @@ import {
|
|
|
41
41
|
type UpdateDestinationCommandInput,
|
|
42
42
|
type UpdateDestinationCommandOutput,
|
|
43
43
|
} from "@aws-sdk/client-firehose";
|
|
44
|
-
import
|
|
45
|
-
import
|
|
44
|
+
import * as Service from "@effect-aws/commons/Service";
|
|
45
|
+
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
46
|
+
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
46
47
|
import type * as Cause from "effect/Cause";
|
|
48
|
+
import * as Context from "effect/Context";
|
|
47
49
|
import * as Effect from "effect/Effect";
|
|
48
50
|
import * as Layer from "effect/Layer";
|
|
49
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
50
51
|
import type {
|
|
51
52
|
ConcurrentModificationError,
|
|
52
53
|
InvalidArgumentError,
|
|
@@ -275,7 +276,7 @@ export const makeFirehoseService = Effect.gen(function*() {
|
|
|
275
276
|
* @since 1.0.0
|
|
276
277
|
* @category models
|
|
277
278
|
*/
|
|
278
|
-
export class FirehoseService extends
|
|
279
|
+
export class FirehoseService extends Context.Service<
|
|
279
280
|
FirehoseService,
|
|
280
281
|
FirehoseService$
|
|
281
282
|
>()("@effect-aws/client-firehose/FirehoseService") {
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import type { FirehoseClientConfig } from "@aws-sdk/client-firehose";
|
|
5
|
-
import
|
|
5
|
+
import * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
6
|
+
import * as Context from "effect/Context";
|
|
6
7
|
import * as Effect from "effect/Effect";
|
|
7
8
|
import { dual } from "effect/Function";
|
|
8
9
|
import * as Layer from "effect/Layer";
|
|
9
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
10
10
|
import type { FirehoseService } from "./FirehoseService.js";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @since 1.0.0
|
|
14
14
|
* @category firehose service config
|
|
15
15
|
*/
|
|
16
|
-
const currentFirehoseServiceConfig =
|
|
16
|
+
const currentFirehoseServiceConfig = Context.Reference<FirehoseService.Config>(
|
|
17
17
|
"@effect-aws/client-firehose/currentFirehoseServiceConfig",
|
|
18
18
|
{ defaultValue: () => ({}) },
|
|
19
19
|
);
|