@effect-aws/client-firehose 1.10.9 → 1.11.0
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 +1 -1
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/FirehoseClientInstance.d.ts +3 -1
- package/dist/cjs/FirehoseClientInstance.d.ts.map +1 -1
- package/dist/cjs/FirehoseClientInstance.js +6 -4
- package/dist/cjs/FirehoseClientInstance.js.map +1 -1
- package/dist/cjs/FirehoseService.d.ts +5 -3
- package/dist/cjs/FirehoseService.d.ts.map +1 -1
- package/dist/cjs/FirehoseService.js +9 -8
- package/dist/cjs/FirehoseService.js.map +1 -1
- package/dist/cjs/FirehoseServiceConfig.d.ts +2 -1
- package/dist/cjs/FirehoseServiceConfig.d.ts.map +1 -1
- package/dist/cjs/FirehoseServiceConfig.js +34 -9
- package/dist/cjs/FirehoseServiceConfig.js.map +1 -1
- package/dist/dts/Errors.d.ts +1 -1
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/FirehoseClientInstance.d.ts +3 -1
- package/dist/dts/FirehoseClientInstance.d.ts.map +1 -1
- package/dist/dts/FirehoseService.d.ts +5 -3
- package/dist/dts/FirehoseService.d.ts.map +1 -1
- package/dist/dts/FirehoseServiceConfig.d.ts +2 -1
- package/dist/dts/FirehoseServiceConfig.d.ts.map +1 -1
- package/dist/esm/FirehoseClientInstance.js +3 -1
- package/dist/esm/FirehoseClientInstance.js.map +1 -1
- package/dist/esm/FirehoseService.js +3 -2
- package/dist/esm/FirehoseService.js.map +1 -1
- package/dist/esm/FirehoseServiceConfig.js +4 -2
- package/dist/esm/FirehoseServiceConfig.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -1
- package/src/FirehoseClientInstance.ts +3 -1
- package/src/FirehoseService.ts +6 -4
- package/src/FirehoseServiceConfig.ts +4 -2
package/dist/cjs/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/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,
|
|
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,7 +2,9 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { FirehoseClient } from "@aws-sdk/client-firehose";
|
|
5
|
-
import
|
|
5
|
+
import * as Context from "effect/Context";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as Layer from "effect/Layer";
|
|
6
8
|
declare const FirehoseClientInstance_base: Context.TagClass<FirehoseClientInstance, "@effect-aws/client-firehose/FirehoseClientInstance", FirehoseClient>;
|
|
7
9
|
/**
|
|
8
10
|
* @since 1.0.0
|
|
@@ -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,
|
|
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,2BAED;CAAG;AAE9C;;;GAGG;AACH,eAAO,MAAM,IAAI,oEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,mDAA6C,CAAC"}
|
|
@@ -28,23 +28,25 @@ exports.layer = exports.make = exports.FirehoseClientInstance = void 0;
|
|
|
28
28
|
* @since 1.0.0
|
|
29
29
|
*/
|
|
30
30
|
const client_firehose_1 = require("@aws-sdk/client-firehose");
|
|
31
|
-
const
|
|
31
|
+
const Context = __importStar(require("effect/Context"));
|
|
32
|
+
const Effect = __importStar(require("effect/Effect"));
|
|
33
|
+
const Layer = __importStar(require("effect/Layer"));
|
|
32
34
|
const FirehoseServiceConfig = __importStar(require("./FirehoseServiceConfig.js"));
|
|
33
35
|
/**
|
|
34
36
|
* @since 1.0.0
|
|
35
37
|
* @category tags
|
|
36
38
|
*/
|
|
37
|
-
class FirehoseClientInstance extends
|
|
39
|
+
class FirehoseClientInstance extends Context.Tag("@effect-aws/client-firehose/FirehoseClientInstance")() {
|
|
38
40
|
}
|
|
39
41
|
exports.FirehoseClientInstance = FirehoseClientInstance;
|
|
40
42
|
/**
|
|
41
43
|
* @since 1.0.0
|
|
42
44
|
* @category constructors
|
|
43
45
|
*/
|
|
44
|
-
exports.make =
|
|
46
|
+
exports.make = Effect.flatMap(FirehoseServiceConfig.toFirehoseClientConfig, (config) => Effect.acquireRelease(Effect.sync(() => new client_firehose_1.FirehoseClient(config)), (client) => Effect.sync(() => client.destroy())));
|
|
45
47
|
/**
|
|
46
48
|
* @since 1.0.0
|
|
47
49
|
* @category layers
|
|
48
50
|
*/
|
|
49
|
-
exports.layer =
|
|
51
|
+
exports.layer = Layer.scoped(FirehoseClientInstance, exports.make);
|
|
50
52
|
//# sourceMappingURL=FirehoseClientInstance.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FirehoseClientInstance.js","sourceRoot":"","sources":["../../src/FirehoseClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8DAA0D;AAC1D,
|
|
1
|
+
{"version":3,"file":"FirehoseClientInstance.js","sourceRoot":"","sources":["../../src/FirehoseClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8DAA0D;AAC1D,wDAA0C;AAC1C,sDAAwC;AACxC,oDAAsC;AACtC,kFAAoE;AAEpE;;;GAGG;AACH,MAAa,sBAAuB,SAAQ,OAAO,CAAC,GAAG,CACrD,oDAAoD,CACrD,EAA0C;CAAG;AAF9C,wDAE8C;AAE9C;;;GAGG;AACU,QAAA,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,gCAAc,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;AACU,QAAA,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,sBAAsB,EAAE,YAAI,CAAC,CAAC"}
|
|
@@ -2,9 +2,11 @@
|
|
|
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
|
|
6
|
-
import type {
|
|
7
|
-
import
|
|
5
|
+
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
6
|
+
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
7
|
+
import type * as Cause from "effect/Cause";
|
|
8
|
+
import * as Effect from "effect/Effect";
|
|
9
|
+
import * as Layer from "effect/Layer";
|
|
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$ {
|
|
@@ -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,sCA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
|
|
30
30
|
const client_firehose_1 = require("@aws-sdk/client-firehose");
|
|
31
|
-
const
|
|
32
|
-
const
|
|
31
|
+
const Service = __importStar(require("@effect-aws/commons/Service"));
|
|
32
|
+
const Effect = __importStar(require("effect/Effect"));
|
|
33
|
+
const Layer = __importStar(require("effect/Layer"));
|
|
33
34
|
const Errors_js_1 = require("./Errors.js");
|
|
34
35
|
const Instance = __importStar(require("./FirehoseClientInstance.js"));
|
|
35
36
|
const FirehoseServiceConfig = __importStar(require("./FirehoseServiceConfig.js"));
|
|
@@ -51,9 +52,9 @@ const commands = {
|
|
|
51
52
|
* @since 1.0.0
|
|
52
53
|
* @category constructors
|
|
53
54
|
*/
|
|
54
|
-
exports.makeFirehoseService =
|
|
55
|
+
exports.makeFirehoseService = Effect.gen(function* () {
|
|
55
56
|
const client = yield* Instance.FirehoseClientInstance;
|
|
56
|
-
return yield*
|
|
57
|
+
return yield* Service.fromClientAndCommands(client, commands, {
|
|
57
58
|
errorTags: Errors_js_1.AllServiceErrors,
|
|
58
59
|
resolveClientConfig: FirehoseServiceConfig.toFirehoseClientConfig,
|
|
59
60
|
});
|
|
@@ -62,10 +63,10 @@ exports.makeFirehoseService = effect_1.Effect.gen(function* () {
|
|
|
62
63
|
* @since 1.0.0
|
|
63
64
|
* @category models
|
|
64
65
|
*/
|
|
65
|
-
class FirehoseService extends
|
|
66
|
-
static defaultLayer =
|
|
67
|
-
static layer = (config) =>
|
|
68
|
-
static baseLayer = (evaluate) =>
|
|
66
|
+
class FirehoseService extends Effect.Tag("@effect-aws/client-firehose/FirehoseService")() {
|
|
67
|
+
static defaultLayer = Layer.effect(this, exports.makeFirehoseService).pipe(Layer.provide(Instance.layer));
|
|
68
|
+
static layer = (config) => Layer.effect(this, exports.makeFirehoseService).pipe(Layer.provide(Instance.layer), Layer.provide(FirehoseServiceConfig.setFirehoseServiceConfig(config)));
|
|
69
|
+
static baseLayer = (evaluate) => Layer.effect(this, exports.makeFirehoseService).pipe(Layer.provide(Layer.effect(Instance.FirehoseClientInstance, Effect.map(FirehoseServiceConfig.toFirehoseClientConfig, evaluate))));
|
|
69
70
|
}
|
|
70
71
|
exports.FirehoseService = FirehoseService;
|
|
71
72
|
//# sourceMappingURL=FirehoseService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FirehoseService.js","sourceRoot":"","sources":["../../src/FirehoseService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8DAuCkC;
|
|
1
|
+
{"version":3,"file":"FirehoseService.js","sourceRoot":"","sources":["../../src/FirehoseService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8DAuCkC;AAClC,qEAAuD;AAIvD,sDAAwC;AACxC,oDAAsC;AAYtC,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,gBAAgB,EAAhB,kCAAgB;IAChB,qBAAqB,EAArB,uCAAqB;IACrB,oCAAoC,EAApC,sDAAoC;IACpC,mCAAmC,EAAnC,qDAAmC;IACnC,wBAAwB,EAAxB,0CAAwB;IACxB,0BAA0B,EAA1B,4CAA0B;IAC1B,wBAAwB,EAAxB,0CAAwB;CACzB,CAAC;AAqLF;;;GAGG;AACU,QAAA,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACrD,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IAEtD,OAAO,KAAK,CAAC,CAAC,OAAO,CAAC,qBAAqB,CACzC,MAAM,EACN,QAAQ,EACR;QACE,SAAS,EAAE,4BAAgB;QAC3B,mBAAmB,EAAE,qBAAqB,CAAC,sBAAsB;KAClE,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,GAAG,CAAC,6CAA6C,CAAC,EAG3F;IACD,MAAM,CAAU,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,2BAAmB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3G,MAAM,CAAU,KAAK,GAAG,CAAC,MAA8B,EAAE,EAAE,CACzD,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,2BAAmB,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,2BAAmB,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;;AApBN,0CAqBC"}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import type { FirehoseClientConfig } from "@aws-sdk/client-firehose";
|
|
5
|
-
import
|
|
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,0BAA0B,CAAC;AAErE,OAAO,
|
|
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,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,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,qCACZ,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAQrE,CAAC"}
|
|
@@ -1,35 +1,60 @@
|
|
|
1
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
|
+
};
|
|
2
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
26
|
exports.toFirehoseClientConfig = exports.setFirehoseServiceConfig = exports.withFirehoseServiceConfig = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
27
|
+
const ServiceLogger = __importStar(require("@effect-aws/commons/ServiceLogger"));
|
|
28
|
+
const Effect = __importStar(require("effect/Effect"));
|
|
29
|
+
const FiberRef = __importStar(require("effect/FiberRef"));
|
|
6
30
|
const Function_1 = require("effect/Function");
|
|
7
31
|
const GlobalValue_1 = require("effect/GlobalValue");
|
|
32
|
+
const Layer = __importStar(require("effect/Layer"));
|
|
8
33
|
/**
|
|
9
34
|
* @since 1.0.0
|
|
10
35
|
* @category firehose service config
|
|
11
36
|
*/
|
|
12
|
-
const currentFirehoseServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-firehose/currentFirehoseServiceConfig", () =>
|
|
37
|
+
const currentFirehoseServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-firehose/currentFirehoseServiceConfig", () => FiberRef.unsafeMake({}));
|
|
13
38
|
/**
|
|
14
39
|
* @since 1.0.0
|
|
15
40
|
* @category firehose service config
|
|
16
41
|
*/
|
|
17
|
-
exports.withFirehoseServiceConfig = (0, Function_1.dual)(2, (effect, config) =>
|
|
42
|
+
exports.withFirehoseServiceConfig = (0, Function_1.dual)(2, (effect, config) => Effect.locally(effect, currentFirehoseServiceConfig, config));
|
|
18
43
|
/**
|
|
19
44
|
* @since 1.0.0
|
|
20
45
|
* @category firehose service config
|
|
21
46
|
*/
|
|
22
|
-
const setFirehoseServiceConfig = (config) =>
|
|
47
|
+
const setFirehoseServiceConfig = (config) => Layer.locallyScoped(currentFirehoseServiceConfig, config);
|
|
23
48
|
exports.setFirehoseServiceConfig = setFirehoseServiceConfig;
|
|
24
49
|
/**
|
|
25
50
|
* @since 1.0.0
|
|
26
51
|
* @category adapters
|
|
27
52
|
*/
|
|
28
|
-
exports.toFirehoseClientConfig =
|
|
29
|
-
const { logger: serviceLogger, ...config } = yield*
|
|
53
|
+
exports.toFirehoseClientConfig = Effect.gen(function* () {
|
|
54
|
+
const { logger: serviceLogger, ...config } = yield* FiberRef.get(currentFirehoseServiceConfig);
|
|
30
55
|
const logger = serviceLogger === true
|
|
31
|
-
? yield*
|
|
32
|
-
: (serviceLogger ? yield*
|
|
56
|
+
? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
|
|
57
|
+
: (serviceLogger ? yield* ServiceLogger.toClientLogger(ServiceLogger.make(serviceLogger)) : undefined);
|
|
33
58
|
return { logger, ...config };
|
|
34
59
|
});
|
|
35
60
|
//# sourceMappingURL=FirehoseServiceConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FirehoseServiceConfig.js","sourceRoot":"","sources":["../../src/FirehoseServiceConfig.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FirehoseServiceConfig.js","sourceRoot":"","sources":["../../src/FirehoseServiceConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,iFAAmE;AACnE,sDAAwC;AACxC,0DAA4C;AAC5C,8CAAuC;AACvC,oDAAiD;AACjD,oDAAsC;AAGtC;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAA,yBAAW,EAC9C,0DAA0D,EAC1D,GAAG,EAAE,CAAC,QAAQ,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,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,4BAA4B,EAAE,MAAM,CAAC,CAC/D,CAAC;AAEF;;;GAGG;AACI,MAAM,wBAAwB,GAAG,CAAC,MAA8B,EAAE,EAAE,CACzE,KAAK,CAAC,aAAa,CAAC,4BAA4B,EAAE,MAAM,CAAC,CAAC;AAD/C,QAAA,wBAAwB,4BACuB;AAE5D;;;GAGG;AACU,QAAA,sBAAsB,GAAwC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAC7F,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;IAE/F,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/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,7 +2,9 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { FirehoseClient } from "@aws-sdk/client-firehose";
|
|
5
|
-
import
|
|
5
|
+
import * as Context from "effect/Context";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as Layer from "effect/Layer";
|
|
6
8
|
declare const FirehoseClientInstance_base: Context.TagClass<FirehoseClientInstance, "@effect-aws/client-firehose/FirehoseClientInstance", FirehoseClient>;
|
|
7
9
|
/**
|
|
8
10
|
* @since 1.0.0
|
|
@@ -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,
|
|
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,2BAED;CAAG;AAE9C;;;GAGG;AACH,eAAO,MAAM,IAAI,oEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,mDAA6C,CAAC"}
|
|
@@ -2,9 +2,11 @@
|
|
|
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
|
|
6
|
-
import type {
|
|
7
|
-
import
|
|
5
|
+
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
6
|
+
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
7
|
+
import type * as Cause from "effect/Cause";
|
|
8
|
+
import * as Effect from "effect/Effect";
|
|
9
|
+
import * as Layer from "effect/Layer";
|
|
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$ {
|
|
@@ -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,E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ClB,qBAAqB,CACxB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,yEAW9B,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,oBAGlC;IACD,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
|
|
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,0BAA0B,CAAC;AAErE,OAAO,
|
|
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,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,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,qCACZ,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAQrE,CAAC"}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { FirehoseClient } from "@aws-sdk/client-firehose";
|
|
5
|
-
import
|
|
5
|
+
import * as Context from "effect/Context";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as Layer from "effect/Layer";
|
|
6
8
|
import * as FirehoseServiceConfig from "./FirehoseServiceConfig.js";
|
|
7
9
|
/**
|
|
8
10
|
* @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,
|
|
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,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"}
|
|
@@ -2,8 +2,9 @@
|
|
|
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
|
|
6
|
-
import
|
|
5
|
+
import * as Service from "@effect-aws/commons/Service";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as Layer from "effect/Layer";
|
|
7
8
|
import { AllServiceErrors } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./FirehoseClientInstance.js";
|
|
9
10
|
import * as FirehoseServiceConfig from "./FirehoseServiceConfig.js";
|
|
@@ -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,wBAAwB,EAGxB,0BAA0B,EAG1B,wBAAwB,GAGzB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AAIvD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAYtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,QAA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C,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,7 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import * as FiberRef from "effect/FiberRef";
|
|
3
4
|
import { dual } from "effect/Function";
|
|
4
5
|
import { globalValue } from "effect/GlobalValue";
|
|
6
|
+
import * as Layer from "effect/Layer";
|
|
5
7
|
/**
|
|
6
8
|
* @since 1.0.0
|
|
7
9
|
* @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":"","sources":["../../src/FirehoseServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,aAAa,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAGtC;;;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,CACzE,KAAK,CAAC,aAAa,CAAC,4BAA4B,EAAE,MAAM,CAAC,CAAC;AAE5D;;;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,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;IAE/F,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.
|
|
3
|
+
"version": "1.11.0",
|
|
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.4.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"effect": ">=3.0.4 <4.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,7 +2,9 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { FirehoseClient } from "@aws-sdk/client-firehose";
|
|
5
|
-
import
|
|
5
|
+
import * as Context from "effect/Context";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as Layer from "effect/Layer";
|
|
6
8
|
import * as FirehoseServiceConfig from "./FirehoseServiceConfig.js";
|
|
7
9
|
|
|
8
10
|
/**
|
package/src/FirehoseService.ts
CHANGED
|
@@ -41,10 +41,12 @@ import {
|
|
|
41
41
|
type UpdateDestinationCommandInput,
|
|
42
42
|
type UpdateDestinationCommandOutput,
|
|
43
43
|
} from "@aws-sdk/client-firehose";
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import type {
|
|
47
|
-
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";
|
|
47
|
+
import type * as Cause from "effect/Cause";
|
|
48
|
+
import * as Effect from "effect/Effect";
|
|
49
|
+
import * as Layer from "effect/Layer";
|
|
48
50
|
import type {
|
|
49
51
|
ConcurrentModificationError,
|
|
50
52
|
InvalidArgumentError,
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import type { FirehoseClientConfig } from "@aws-sdk/client-firehose";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as FiberRef from "effect/FiberRef";
|
|
7
8
|
import { dual } from "effect/Function";
|
|
8
9
|
import { globalValue } from "effect/GlobalValue";
|
|
10
|
+
import * as Layer from "effect/Layer";
|
|
9
11
|
import type { FirehoseService } from "./FirehoseService.js";
|
|
10
12
|
|
|
11
13
|
/**
|