@effect-aws/client-sqs
Advanced tools
Comparing version 0.1.0 to 0.2.0
# @effect-aws/client-sqs | ||
## 0.2.0 | ||
### Minor Changes | ||
- [`d7d6c50`](https://github.com/floydspace/effect-aws/commit/d7d6c500de9aa538f76a5b8cfc9ffac741210d33) Thanks [@floydspace](https://github.com/floydspace)! - introduce tagged clients options for better narrowing | ||
## 0.1.0 | ||
@@ -4,0 +10,0 @@ |
import { SQSClient, SQSClientConfig } from "@aws-sdk/client-sqs"; | ||
import * as Context from "@effect/data/Context"; | ||
import * as Data from "@effect/data/Data"; | ||
import * as Layer from "@effect/io/Layer"; | ||
export declare const SQSClientConfigTag: Context.Tag<SQSClientConfig, SQSClientConfig>; | ||
export declare const DefaultSQSClientConfigLayer: Layer.Layer<never, never, SQSClientConfig>; | ||
declare const SQSClientOptions_base: new <A extends Record<string, any>>(args: import("@effect/data/Types").Equals<Omit<A, keyof import("@effect/data/Equal").Equal>, {}> extends true ? void : Omit<A, keyof import("@effect/data/Equal").Equal>) => Data.Data<A & { | ||
_tag: "SQSClientOptions"; | ||
}>; | ||
export declare class SQSClientOptions extends SQSClientOptions_base<SQSClientConfig> { | ||
} | ||
export declare const SQSClientConfigTag: Context.Tag<SQSClientOptions, SQSClientOptions>; | ||
export declare const DefaultSQSClientConfigLayer: Layer.Layer<never, never, SQSClientOptions>; | ||
export declare const SQSClientInstanceTag: Context.Tag<SQSClient, SQSClient>; | ||
export declare const SQSClientInstanceLayer: Layer.Layer<SQSClientConfig, never, SQSClient>; | ||
export declare const SQSClientInstanceLayer: Layer.Layer<SQSClientOptions, never, SQSClient>; | ||
export declare const DefaultSQSClientInstanceLayer: Layer.Layer<never, never, SQSClient>; | ||
export {}; |
@@ -26,5 +26,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DefaultSQSClientInstanceLayer = exports.SQSClientInstanceLayer = exports.SQSClientInstanceTag = exports.DefaultSQSClientConfigLayer = exports.SQSClientConfigTag = void 0; | ||
exports.DefaultSQSClientInstanceLayer = exports.SQSClientInstanceLayer = exports.SQSClientInstanceTag = exports.DefaultSQSClientConfigLayer = exports.SQSClientConfigTag = exports.SQSClientOptions = void 0; | ||
const client_sqs_1 = require("@aws-sdk/client-sqs"); | ||
const Context = __importStar(require("@effect/data/Context")); | ||
const Data = __importStar(require("@effect/data/Data")); | ||
const Function_1 = require("@effect/data/Function"); | ||
@@ -34,4 +35,7 @@ const Effect = __importStar(require("@effect/io/Effect")); | ||
const Runtime = __importStar(require("@effect/io/Runtime")); | ||
class SQSClientOptions extends Data.TaggedClass("SQSClientOptions") { | ||
} | ||
exports.SQSClientOptions = SQSClientOptions; | ||
exports.SQSClientConfigTag = Context.Tag("@effect-aws/SQSClient/Config"); | ||
exports.DefaultSQSClientConfigLayer = Layer.effect(exports.SQSClientConfigTag, Effect.runtime().pipe(Effect.map((runtime) => ({ | ||
exports.DefaultSQSClientConfigLayer = Layer.effect(exports.SQSClientConfigTag, Effect.runtime().pipe(Effect.map((runtime) => new SQSClientOptions({ | ||
logger: { | ||
@@ -47,3 +51,3 @@ info: (0, Function_1.flow)(Effect.logInfo, Runtime.runSync(runtime)), | ||
exports.SQSClientInstanceLayer = Layer.effect(exports.SQSClientInstanceTag, exports.SQSClientConfigTag.pipe(Effect.map((config) => new client_sqs_1.SQSClient(config)))); | ||
exports.DefaultSQSClientInstanceLayer = Layer.provide(exports.DefaultSQSClientConfigLayer, exports.SQSClientInstanceLayer); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29udGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9Db250ZXh0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsb0RBQWlFO0FBQ2pFLDhEQUFnRDtBQUNoRCxvREFBNkM7QUFDN0MsMERBQTRDO0FBQzVDLHd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gIGRlYnVnOiBmbG93KEVmZmVjdC5sb2dEZWJ1ZywgUnVudGltZS5ydW5TeW5jKHJ1bnRpbWUpKSxcbiAgICAgICAgICAgIHRyYWNlOiBmbG93KEVmZmVjdC5sb2dUcmFjZSwgUnVudGltZS5ydW5TeW5jKHJ1bnRpbWUpKSxcbiAgICAgICAgICB9LFxuICAgICAgICB9KSxcbiAgICApLFxuICApLFxuKTtcblxuZXhwb3J0IGNvbnN0IFNRU0NsaWVudEluc3RhbmNlVGFnID0gQ29udGV4dC5UYWc8U1FTQ2xpZW50PihcbiAgXCJAZWZmZWN0LWF3cy9TUVNDbGllbnQvSW5zdGFuY2VcIixcbik7XG5cbmV4cG9ydCBjb25zdCBTUVNDbGllbnRJbnN0YW5jZUxheWVyID0gTGF5ZXIuZWZmZWN0KFxuICBTUVNDbGllbnRJbnN0YW5jZVRhZyxcbiAgU1FTQ2xpZW50Q29uZmlnVGFnLnBpcGUoRWZmZWN0Lm1hcCgoY29uZmlnKSA9PiBuZXcgU1FTQ2xpZW50KGNvbmZpZykpKSxcbik7XG5cbmV4cG9ydCBjb25zdCBEZWZhdWx0U1FTQ2xpZW50SW5zdGFuY2VMYXllciA9IFNRU0NsaWVudEluc3RhbmNlTGF5ZXIucGlwZShcbiAgTGF5ZXIudXNlKERlZmF1bHRTUVNDbGllbnRDb25maWdMYXllciksXG4pO1xuIl19 |
import { SQSClient } from "@aws-sdk/client-sqs"; | ||
import * as Context from "@effect/data/Context"; | ||
import * as Data from "@effect/data/Data"; | ||
import { flow } from "@effect/data/Function"; | ||
@@ -7,4 +8,6 @@ import * as Effect from "@effect/io/Effect"; | ||
import * as Runtime from "@effect/io/Runtime"; | ||
export class SQSClientOptions extends Data.TaggedClass("SQSClientOptions") { | ||
} | ||
export const SQSClientConfigTag = Context.Tag("@effect-aws/SQSClient/Config"); | ||
export const DefaultSQSClientConfigLayer = Layer.effect(SQSClientConfigTag, Effect.runtime().pipe(Effect.map((runtime) => ({ | ||
export const DefaultSQSClientConfigLayer = Layer.effect(SQSClientConfigTag, Effect.runtime().pipe(Effect.map((runtime) => new SQSClientOptions({ | ||
logger: { | ||
@@ -20,3 +23,3 @@ info: flow(Effect.logInfo, Runtime.runSync(runtime)), | ||
export const SQSClientInstanceLayer = Layer.effect(SQSClientInstanceTag, SQSClientConfigTag.pipe(Effect.map((config) => new SQSClient(config)))); | ||
export const DefaultSQSClientInstanceLayer = Layer.provide(DefaultSQSClientConfigLayer, SQSClientInstanceLayer); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29udGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Db250ZXh0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0scUJBQXFCLENBQUM7QUFDakUsT0FBTyxLQUFLLE9BQU8sTUFBTSxzQkFBc0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDN0MsT0FBTyxLQUFLLE1BQU0sTUFBTSxtQkFBbUIsQ0FBQztBQUM1QyxPQUFPLEtBQUssS0FBSyxNQUFNLGtCQUFrQixDQUFDO0FBQzFDLE9BQU8sS0FBSyxPQUFPLE1BQU0sb0JBQW9CLENBQUM7QUFFOUMsTUFBTSxDQUFDLE1BQU0sa0JBQWtCLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FDM0MsOEJBQThCLENBQy9CLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSwyQkFBMkIsR0FBRyxLQUFLLENBQUMsTUFBTSxDQUNyRCxrQkFBa0IsRUFDbEIsTUFBTSxDQUFDLE9BQU8sRUFBUyxDQUFDLElBQUksQ0FDMUIsTUFBTSxDQUFDLEdBQUcsQ0FBQyxDQUFDLE9BQU8sRUFBRSxFQUFFLENBQUMsQ0FBQztJQUN2QixNQ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AgICAgICBkZWJ1ZzogZmxvdyhFZmZlY3QubG9nRGVidWcsIFJ1bnRpbWUucnVuU3luYyhydW50aW1lKSksXG4gICAgICAgIHRyYWNlOiBmbG93KEVmZmVjdC5sb2dUcmFjZSwgUnVudGltZS5ydW5TeW5jKHJ1bnRpbWUpKSxcbiAgICAgIH0sXG4gICAgfSkpLFxuICApLFxuKTtcblxuZXhwb3J0IGNvbnN0IFNRU0NsaWVudEluc3RhbmNlVGFnID0gQ29udGV4dC5UYWc8U1FTQ2xpZW50PihcbiAgXCJAZWZmZWN0LWF3cy9TUVNDbGllbnQvSW5zdGFuY2VcIixcbik7XG5cbmV4cG9ydCBjb25zdCBTUVNDbGllbnRJbnN0YW5jZUxheWVyID0gTGF5ZXIuZWZmZWN0KFxuICBTUVNDbGllbnRJbnN0YW5jZVRhZyxcbiAgU1FTQ2xpZW50Q29uZmlnVGFnLnBpcGUoRWZmZWN0Lm1hcCgoY29uZmlnKSA9PiBuZXcgU1FTQ2xpZW50KGNvbmZpZykpKSxcbik7XG5cbmV4cG9ydCBjb25zdCBEZWZhdWx0U1FTQ2xpZW50SW5zdGFuY2VMYXllciA9IExheWVyLnByb3ZpZGUoXG4gIERlZmF1bHRTUVNDbGllbnRDb25maWdMYXllcixcbiAgU1FTQ2xpZW50SW5zdGFuY2VMYXllcixcbik7XG4iXX0= | ||
export const DefaultSQSClientInstanceLayer = SQSClientInstanceLayer.pipe(Layer.use(DefaultSQSClientConfigLayer)); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29udGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Db250ZXh0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0scUJBQXFCLENBQUM7QUFDakUsT0FBTyxLQUFLLE9BQU8sTUFBTSxzQkFBc0IsQ0FBQ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ICAgICAgIHRyYWNlOiBmbG93KEVmZmVjdC5sb2dUcmFjZSwgUnVudGltZS5ydW5TeW5jKHJ1bnRpbWUpKSxcbiAgICAgICAgICB9LFxuICAgICAgICB9KSxcbiAgICApLFxuICApLFxuKTtcblxuZXhwb3J0IGNvbnN0IFNRU0NsaWVudEluc3RhbmNlVGFnID0gQ29udGV4dC5UYWc8U1FTQ2xpZW50PihcbiAgXCJAZWZmZWN0LWF3cy9TUVNDbGllbnQvSW5zdGFuY2VcIixcbik7XG5cbmV4cG9ydCBjb25zdCBTUVNDbGllbnRJbnN0YW5jZUxheWVyID0gTGF5ZXIuZWZmZWN0KFxuICBTUVNDbGllbnRJbnN0YW5jZVRhZyxcbiAgU1FTQ2xpZW50Q29uZmlnVGFnLnBpcGUoRWZmZWN0Lm1hcCgoY29uZmlnKSA9PiBuZXcgU1FTQ2xpZW50KGNvbmZpZykpKSxcbik7XG5cbmV4cG9ydCBjb25zdCBEZWZhdWx0U1FTQ2xpZW50SW5zdGFuY2VMYXllciA9IFNRU0NsaWVudEluc3RhbmNlTGF5ZXIucGlwZShcbiAgTGF5ZXIudXNlKERlZmF1bHRTUVNDbGllbnRDb25maWdMYXllciksXG4pO1xuIl19 |
@@ -99,3 +99,3 @@ import { AddPermissionCommandInput, AddPermissionCommandOutput, CancelMessageMoveTaskCommandInput, CancelMessageMoveTaskCommandOutput, ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput, ChangeMessageVisibilityCommandInput, ChangeMessageVisibilityCommandOutput, CreateQueueCommandInput, CreateQueueCommandOutput, DeleteMessageBatchCommandInput, DeleteMessageBatchCommandOutput, DeleteMessageCommandInput, DeleteMessageCommandOutput, DeleteQueueCommandInput, DeleteQueueCommandOutput, GetQueueAttributesCommandInput, GetQueueAttributesCommandOutput, GetQueueUrlCommandInput, GetQueueUrlCommandOutput, ListDeadLetterSourceQueuesCommandInput, ListDeadLetterSourceQueuesCommandOutput, ListMessageMoveTasksCommandInput, ListMessageMoveTasksCommandOutput, ListQueueTagsCommandInput, ListQueueTagsCommandOutput, ListQueuesCommandInput, ListQueuesCommandOutput, PurgeQueueCommandInput, PurgeQueueCommandOutput, ReceiveMessageCommandInput, ReceiveMessageCommandOutput, RemovePermissionCommandInput, RemovePermissionCommandOutput, SendMessageBatchCommandInput, SendMessageBatchCommandOutput, SendMessageCommandInput, SendMessageCommandOutput, SetQueueAttributesCommandInput, SetQueueAttributesCommandOutput, StartMessageMoveTaskCommandInput, StartMessageMoveTaskCommandOutput, TagQueueCommandInput, TagQueueCommandOutput, UntagQueueCommandInput, UntagQueueCommandOutput } from "@aws-sdk/client-sqs"; | ||
export declare const BaseSQSServiceEffect: Effect.Effect<import("@aws-sdk/client-sqs").SQSClient, never, SQSService>; | ||
export declare const SQSServiceEffect: Effect.Effect<import("@aws-sdk/client-sqs").SQSClientConfig, never, SQSService>; | ||
export declare const SQSServiceEffect: Effect.Effect<import("./Context").SQSClientOptions, never, SQSService>; | ||
export declare const DefaultSQSServiceEffect: Effect.Effect<never, never, SQSService>; |
@@ -42,3 +42,3 @@ { | ||
}, | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"types": "lib/index.d.ts", | ||
@@ -45,0 +45,0 @@ "module": "lib/esm/index.js", |
62978
401