@effect-aws/client-sqs 1.7.0 → 1.9.3

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 (69) hide show
  1. package/Errors/package.json +6 -0
  2. package/SQSClientInstance/package.json +6 -0
  3. package/SQSService/package.json +6 -0
  4. package/SQSServiceConfig/package.json +6 -0
  5. package/{lib → dist/cjs}/Errors.d.ts +6 -11
  6. package/dist/cjs/Errors.d.ts.map +1 -0
  7. package/dist/cjs/Errors.js +36 -0
  8. package/dist/cjs/Errors.js.map +1 -0
  9. package/dist/cjs/SQSClientInstance.d.ts +24 -0
  10. package/dist/cjs/SQSClientInstance.d.ts.map +1 -0
  11. package/dist/cjs/SQSClientInstance.js +50 -0
  12. package/dist/cjs/SQSClientInstance.js.map +1 -0
  13. package/dist/cjs/SQSService.d.ts +133 -0
  14. package/dist/cjs/SQSService.d.ts.map +1 -0
  15. package/dist/cjs/SQSService.js +82 -0
  16. package/dist/cjs/SQSService.js.map +1 -0
  17. package/dist/cjs/SQSServiceConfig.d.ts +25 -0
  18. package/dist/cjs/SQSServiceConfig.d.ts.map +1 -0
  19. package/dist/cjs/SQSServiceConfig.js +35 -0
  20. package/dist/cjs/SQSServiceConfig.js.map +1 -0
  21. package/dist/cjs/index.d.ts +39 -0
  22. package/dist/cjs/index.d.ts.map +1 -0
  23. package/dist/cjs/index.js +56 -0
  24. package/dist/cjs/index.js.map +1 -0
  25. package/dist/dts/Errors.d.ts +35 -0
  26. package/dist/dts/Errors.d.ts.map +1 -0
  27. package/dist/dts/SQSClientInstance.d.ts +24 -0
  28. package/dist/dts/SQSClientInstance.d.ts.map +1 -0
  29. package/dist/dts/SQSService.d.ts +133 -0
  30. package/dist/dts/SQSService.d.ts.map +1 -0
  31. package/dist/dts/SQSServiceConfig.d.ts +25 -0
  32. package/dist/dts/SQSServiceConfig.d.ts.map +1 -0
  33. package/dist/dts/index.d.ts +39 -0
  34. package/dist/dts/index.d.ts.map +1 -0
  35. package/dist/esm/Errors.js +33 -0
  36. package/dist/esm/Errors.js.map +1 -0
  37. package/dist/esm/SQSClientInstance.js +23 -0
  38. package/dist/esm/SQSClientInstance.js.map +1 -0
  39. package/dist/esm/SQSService.js +55 -0
  40. package/dist/esm/SQSService.js.map +1 -0
  41. package/dist/esm/SQSServiceConfig.js +31 -0
  42. package/dist/esm/SQSServiceConfig.js.map +1 -0
  43. package/dist/esm/index.js +27 -0
  44. package/dist/esm/index.js.map +1 -0
  45. package/dist/esm/package.json +4 -0
  46. package/package.json +60 -43
  47. package/src/Errors.ts +95 -0
  48. package/src/SQSClientInstance.ts +33 -0
  49. package/src/SQSService.ts +610 -0
  50. package/src/SQSServiceConfig.ts +51 -0
  51. package/src/index.ts +44 -0
  52. package/CHANGELOG.md +0 -115
  53. package/docgen.json +0 -8
  54. package/lib/Errors.js +0 -36
  55. package/lib/SQSClientInstance.d.ts +0 -31
  56. package/lib/SQSClientInstance.js +0 -57
  57. package/lib/SQSClientInstanceConfig.d.ts +0 -23
  58. package/lib/SQSClientInstanceConfig.js +0 -44
  59. package/lib/SQSService.d.ts +0 -180
  60. package/lib/SQSService.js +0 -111
  61. package/lib/esm/Errors.js +0 -33
  62. package/lib/esm/SQSClientInstance.js +0 -30
  63. package/lib/esm/SQSClientInstanceConfig.js +0 -40
  64. package/lib/esm/SQSService.js +0 -107
  65. package/lib/esm/index.js +0 -5
  66. package/lib/index.d.ts +0 -4
  67. package/lib/index.js +0 -21
  68. package/project.json +0 -77
  69. package/vitest.config.ts +0 -3
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/Errors.js",
3
+ "module": "../dist/esm/Errors.js",
4
+ "types": "../dist/dts/Errors.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/SQSClientInstance.js",
3
+ "module": "../dist/esm/SQSClientInstance.js",
4
+ "types": "../dist/dts/SQSClientInstance.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/SQSService.js",
3
+ "module": "../dist/esm/SQSService.js",
4
+ "types": "../dist/dts/SQSService.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/SQSServiceConfig.js",
3
+ "module": "../dist/esm/SQSServiceConfig.js",
4
+ "types": "../dist/dts/SQSServiceConfig.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -1,11 +1,7 @@
1
1
  import type { BatchEntryIdsNotDistinct, BatchRequestTooLong, EmptyBatchRequest, InvalidAddress, InvalidAttributeName, InvalidAttributeValue, InvalidBatchEntryId, InvalidIdFormat, InvalidMessageContents, InvalidSecurity, KmsAccessDenied, KmsDisabled, KmsInvalidKeyUsage, KmsInvalidState, KmsNotFound, KmsOptInRequired, KmsThrottled, MessageNotInflight, OverLimit, PurgeQueueInProgress, QueueDeletedRecently, QueueDoesNotExist, QueueNameExists, ReceiptHandleIsInvalid, RequestThrottled, ResourceNotFoundException, TooManyEntriesInBatchRequest, UnsupportedOperation } from "@aws-sdk/client-sqs";
2
- import { Data } from "effect";
3
- export declare const AllServiceErrors: string[];
4
- export type TaggedException<T extends {
5
- name: string;
6
- }> = T & {
7
- readonly _tag: T["name"];
8
- };
2
+ import type { TaggedException } from "@effect-aws/commons";
3
+ import { SdkError as CommonSdkError } from "@effect-aws/commons";
4
+ export declare const AllServiceErrors: readonly ["BatchEntryIdsNotDistinct", "BatchRequestTooLong", "EmptyBatchRequest", "InvalidAddress", "InvalidAttributeName", "InvalidAttributeValue", "InvalidBatchEntryId", "InvalidIdFormat", "InvalidMessageContents", "InvalidSecurity", "KmsAccessDenied", "KmsDisabled", "KmsInvalidKeyUsage", "KmsInvalidState", "KmsNotFound", "KmsOptInRequired", "KmsThrottled", "MessageNotInflight", "OverLimit", "PurgeQueueInProgress", "QueueDeletedRecently", "QueueDoesNotExist", "QueueNameExists", "ReceiptHandleIsInvalid", "RequestThrottled", "ResourceNotFoundException", "TooManyEntriesInBatchRequest", "UnsupportedOperation"];
9
5
  export type BatchEntryIdsNotDistinctError = TaggedException<BatchEntryIdsNotDistinct>;
10
6
  export type BatchRequestTooLongError = TaggedException<BatchRequestTooLong>;
11
7
  export type EmptyBatchRequestError = TaggedException<EmptyBatchRequest>;
@@ -34,7 +30,6 @@ export type RequestThrottledError = TaggedException<RequestThrottled>;
34
30
  export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
35
31
  export type TooManyEntriesInBatchRequestError = TaggedException<TooManyEntriesInBatchRequest>;
36
32
  export type UnsupportedOperationError = TaggedException<UnsupportedOperation>;
37
- export type SdkError = TaggedException<Error & {
38
- name: "SdkError";
39
- }>;
40
- export declare const SdkError: Data.Case.Constructor<SdkError, "_tag">;
33
+ export type SdkError = CommonSdkError;
34
+ export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
35
+ //# sourceMappingURL=Errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,gBAAgB,EAChB,yBAAyB,EACzB,4BAA4B,EAC5B,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE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e,CAAC,SAAS,CAAC,CAAC;AACxD,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;AAC9E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;AAC9E,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AACxE,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,eAAe,CAAC,CAAC;AACpE,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AAClF,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC;AACtE,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,iCAAiC,GAAG,eAAe,CAAC,4BAA4B,CAAC,CAAC;AAC9F,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;AAE9E,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SdkError = exports.AllServiceErrors = void 0;
4
+ const commons_1 = require("@effect-aws/commons");
5
+ exports.AllServiceErrors = [
6
+ "BatchEntryIdsNotDistinct",
7
+ "BatchRequestTooLong",
8
+ "EmptyBatchRequest",
9
+ "InvalidAddress",
10
+ "InvalidAttributeName",
11
+ "InvalidAttributeValue",
12
+ "InvalidBatchEntryId",
13
+ "InvalidIdFormat",
14
+ "InvalidMessageContents",
15
+ "InvalidSecurity",
16
+ "KmsAccessDenied",
17
+ "KmsDisabled",
18
+ "KmsInvalidKeyUsage",
19
+ "KmsInvalidState",
20
+ "KmsNotFound",
21
+ "KmsOptInRequired",
22
+ "KmsThrottled",
23
+ "MessageNotInflight",
24
+ "OverLimit",
25
+ "PurgeQueueInProgress",
26
+ "QueueDeletedRecently",
27
+ "QueueDoesNotExist",
28
+ "QueueNameExists",
29
+ "ReceiptHandleIsInvalid",
30
+ "RequestThrottled",
31
+ "ResourceNotFoundException",
32
+ "TooManyEntriesInBatchRequest",
33
+ "UnsupportedOperation",
34
+ ];
35
+ exports.SdkError = commons_1.SdkError;
36
+ //# sourceMappingURL=Errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AA+BA,iDAAiE;AAEpD,QAAA,gBAAgB,GAAG;IAC9B,0BAA0B;IAC1B,qBAAqB;IACrB,mBAAmB;IACnB,gBAAgB;IAChB,sBAAsB;IACtB,uBAAuB;IACvB,qBAAqB;IACrB,iBAAiB;IACjB,wBAAwB;IACxB,iBAAiB;IACjB,iBAAiB;IACjB,aAAa;IACb,oBAAoB;IACpB,iBAAiB;IACjB,aAAa;IACb,kBAAkB;IAClB,cAAc;IACd,oBAAoB;IACpB,WAAW;IACX,sBAAsB;IACtB,sBAAsB;IACtB,mBAAmB;IACnB,iBAAiB;IACjB,wBAAwB;IACxB,kBAAkB;IAClB,2BAA2B;IAC3B,8BAA8B;IAC9B,sBAAsB;CACd,CAAC;AAgCE,QAAA,QAAQ,GAAG,kBAAc,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { SQSClient } from "@aws-sdk/client-sqs";
5
+ import { Context, Effect, Layer } from "effect";
6
+ declare const SQSClientInstance_base: Context.TagClass<SQSClientInstance, "@effect-aws/client-sqs/SQSClientInstance", SQSClient>;
7
+ /**
8
+ * @since 1.0.0
9
+ * @category tags
10
+ */
11
+ export declare class SQSClientInstance extends SQSClientInstance_base {
12
+ }
13
+ /**
14
+ * @since 1.0.0
15
+ * @category constructors
16
+ */
17
+ export declare const make: Effect.Effect<SQSClient, never, import("effect/Scope").Scope>;
18
+ /**
19
+ * @since 1.0.0
20
+ * @category layers
21
+ */
22
+ export declare const layer: Layer.Layer<SQSClientInstance, never, never>;
23
+ export {};
24
+ //# sourceMappingURL=SQSClientInstance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SQSClientInstance.d.ts","sourceRoot":"","sources":["../../src/SQSClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,sBAEN;CAAG;AAEpC;;;GAGG;AACH,eAAO,MAAM,IAAI,+DAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,8CAAwC,CAAC"}
@@ -0,0 +1,50 @@
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.SQSClientInstance = void 0;
27
+ /**
28
+ * @since 1.0.0
29
+ */
30
+ const client_sqs_1 = require("@aws-sdk/client-sqs");
31
+ const effect_1 = require("effect");
32
+ const SQSServiceConfig = __importStar(require("./SQSServiceConfig.js"));
33
+ /**
34
+ * @since 1.0.0
35
+ * @category tags
36
+ */
37
+ class SQSClientInstance extends effect_1.Context.Tag("@effect-aws/client-sqs/SQSClientInstance")() {
38
+ }
39
+ exports.SQSClientInstance = SQSClientInstance;
40
+ /**
41
+ * @since 1.0.0
42
+ * @category constructors
43
+ */
44
+ exports.make = effect_1.Effect.flatMap(SQSServiceConfig.toSQSClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_sqs_1.SQSClient(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(SQSClientInstance, exports.make);
50
+ //# sourceMappingURL=SQSClientInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SQSClientInstance.js","sourceRoot":"","sources":["../../src/SQSClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oDAAgD;AAChD,mCAAgD;AAChD,wEAA0D;AAE1D;;;GAGG;AACH,MAAa,iBAAkB,SAAQ,gBAAO,CAAC,GAAG,CAChD,0CAA0C,CAC3C,EAAgC;CAAG;AAFpC,8CAEoC;AAEpC;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,gBAAgB,CAAC,iBAAiB,EAClC,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,sBAAS,CAAC,MAAM,CAAC,CAAC,EACxC,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,iBAAiB,EAAE,YAAI,CAAC,CAAC"}
@@ -0,0 +1,133 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { type AddPermissionCommandInput, type AddPermissionCommandOutput, type CancelMessageMoveTaskCommandInput, type CancelMessageMoveTaskCommandOutput, type ChangeMessageVisibilityBatchCommandInput, type ChangeMessageVisibilityBatchCommandOutput, type ChangeMessageVisibilityCommandInput, type ChangeMessageVisibilityCommandOutput, type CreateQueueCommandInput, type CreateQueueCommandOutput, type DeleteMessageBatchCommandInput, type DeleteMessageBatchCommandOutput, type DeleteMessageCommandInput, type DeleteMessageCommandOutput, type DeleteQueueCommandInput, type DeleteQueueCommandOutput, type GetQueueAttributesCommandInput, type GetQueueAttributesCommandOutput, type GetQueueUrlCommandInput, type GetQueueUrlCommandOutput, type ListDeadLetterSourceQueuesCommandInput, type ListDeadLetterSourceQueuesCommandOutput, type ListMessageMoveTasksCommandInput, type ListMessageMoveTasksCommandOutput, type ListQueuesCommandInput, type ListQueuesCommandOutput, type ListQueueTagsCommandInput, type ListQueueTagsCommandOutput, type PurgeQueueCommandInput, type PurgeQueueCommandOutput, type ReceiveMessageCommandInput, type ReceiveMessageCommandOutput, type RemovePermissionCommandInput, type RemovePermissionCommandOutput, type SendMessageBatchCommandInput, type SendMessageBatchCommandOutput, type SendMessageCommandInput, type SendMessageCommandOutput, type SetQueueAttributesCommandInput, type SetQueueAttributesCommandOutput, type SQSClient, type SQSClientConfig, type StartMessageMoveTaskCommandInput, type StartMessageMoveTaskCommandOutput, type TagQueueCommandInput, type TagQueueCommandOutput, type UntagQueueCommandInput, type UntagQueueCommandOutput } from "@aws-sdk/client-sqs";
5
+ import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
6
+ import { Effect, Layer } from "effect";
7
+ import type { BatchEntryIdsNotDistinctError, BatchRequestTooLongError, EmptyBatchRequestError, InvalidAddressError, InvalidAttributeNameError, InvalidAttributeValueError, InvalidBatchEntryIdError, InvalidIdFormatError, InvalidMessageContentsError, InvalidSecurityError, KmsAccessDeniedError, KmsDisabledError, KmsInvalidKeyUsageError, KmsInvalidStateError, KmsNotFoundError, KmsOptInRequiredError, KmsThrottledError, MessageNotInflightError, OverLimitError, PurgeQueueInProgressError, QueueDeletedRecentlyError, QueueDoesNotExistError, QueueNameExistsError, ReceiptHandleIsInvalidError, RequestThrottledError, ResourceNotFoundError, TooManyEntriesInBatchRequestError, UnsupportedOperationError } from "./Errors.js";
8
+ import * as Instance from "./SQSClientInstance.js";
9
+ interface SQSService$ {
10
+ readonly _: unique symbol;
11
+ /**
12
+ * @see {@link AddPermissionCommand}
13
+ */
14
+ addPermission(args: AddPermissionCommandInput, options?: HttpHandlerOptions): Effect.Effect<AddPermissionCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | OverLimitError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
15
+ /**
16
+ * @see {@link CancelMessageMoveTaskCommand}
17
+ */
18
+ cancelMessageMoveTask(args: CancelMessageMoveTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<CancelMessageMoveTaskCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | RequestThrottledError | ResourceNotFoundError | UnsupportedOperationError>;
19
+ /**
20
+ * @see {@link ChangeMessageVisibilityCommand}
21
+ */
22
+ changeMessageVisibility(args: ChangeMessageVisibilityCommandInput, options?: HttpHandlerOptions): Effect.Effect<ChangeMessageVisibilityCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | MessageNotInflightError | QueueDoesNotExistError | ReceiptHandleIsInvalidError | RequestThrottledError | UnsupportedOperationError>;
23
+ /**
24
+ * @see {@link ChangeMessageVisibilityBatchCommand}
25
+ */
26
+ changeMessageVisibilityBatch(args: ChangeMessageVisibilityBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<ChangeMessageVisibilityBatchCommandOutput, SdkError | BatchEntryIdsNotDistinctError | EmptyBatchRequestError | InvalidAddressError | InvalidBatchEntryIdError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | TooManyEntriesInBatchRequestError | UnsupportedOperationError>;
27
+ /**
28
+ * @see {@link CreateQueueCommand}
29
+ */
30
+ createQueue(args: CreateQueueCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateQueueCommandOutput, SdkError | InvalidAddressError | InvalidAttributeNameError | InvalidAttributeValueError | InvalidSecurityError | QueueDeletedRecentlyError | QueueNameExistsError | RequestThrottledError | UnsupportedOperationError>;
31
+ /**
32
+ * @see {@link DeleteMessageCommand}
33
+ */
34
+ deleteMessage(args: DeleteMessageCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteMessageCommandOutput, SdkError | InvalidAddressError | InvalidIdFormatError | InvalidSecurityError | QueueDoesNotExistError | ReceiptHandleIsInvalidError | RequestThrottledError | UnsupportedOperationError>;
35
+ /**
36
+ * @see {@link DeleteMessageBatchCommand}
37
+ */
38
+ deleteMessageBatch(args: DeleteMessageBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteMessageBatchCommandOutput, SdkError | BatchEntryIdsNotDistinctError | EmptyBatchRequestError | InvalidAddressError | InvalidBatchEntryIdError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | TooManyEntriesInBatchRequestError | UnsupportedOperationError>;
39
+ /**
40
+ * @see {@link DeleteQueueCommand}
41
+ */
42
+ deleteQueue(args: DeleteQueueCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteQueueCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
43
+ /**
44
+ * @see {@link GetQueueAttributesCommand}
45
+ */
46
+ getQueueAttributes(args: GetQueueAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetQueueAttributesCommandOutput, SdkError | InvalidAddressError | InvalidAttributeNameError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
47
+ /**
48
+ * @see {@link GetQueueUrlCommand}
49
+ */
50
+ getQueueUrl(args: GetQueueUrlCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetQueueUrlCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
51
+ /**
52
+ * @see {@link ListDeadLetterSourceQueuesCommand}
53
+ */
54
+ listDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDeadLetterSourceQueuesCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
55
+ /**
56
+ * @see {@link ListMessageMoveTasksCommand}
57
+ */
58
+ listMessageMoveTasks(args: ListMessageMoveTasksCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListMessageMoveTasksCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | RequestThrottledError | ResourceNotFoundError | UnsupportedOperationError>;
59
+ /**
60
+ * @see {@link ListQueueTagsCommand}
61
+ */
62
+ listQueueTags(args: ListQueueTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListQueueTagsCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
63
+ /**
64
+ * @see {@link ListQueuesCommand}
65
+ */
66
+ listQueues(args: ListQueuesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListQueuesCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | RequestThrottledError | UnsupportedOperationError>;
67
+ /**
68
+ * @see {@link PurgeQueueCommand}
69
+ */
70
+ purgeQueue(args: PurgeQueueCommandInput, options?: HttpHandlerOptions): Effect.Effect<PurgeQueueCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | PurgeQueueInProgressError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
71
+ /**
72
+ * @see {@link ReceiveMessageCommand}
73
+ */
74
+ receiveMessage(args: ReceiveMessageCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReceiveMessageCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | KmsAccessDeniedError | KmsDisabledError | KmsInvalidKeyUsageError | KmsInvalidStateError | KmsNotFoundError | KmsOptInRequiredError | KmsThrottledError | OverLimitError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
75
+ /**
76
+ * @see {@link RemovePermissionCommand}
77
+ */
78
+ removePermission(args: RemovePermissionCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemovePermissionCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
79
+ /**
80
+ * @see {@link SendMessageCommand}
81
+ */
82
+ sendMessage(args: SendMessageCommandInput, options?: HttpHandlerOptions): Effect.Effect<SendMessageCommandOutput, SdkError | InvalidAddressError | InvalidMessageContentsError | InvalidSecurityError | KmsAccessDeniedError | KmsDisabledError | KmsInvalidKeyUsageError | KmsInvalidStateError | KmsNotFoundError | KmsOptInRequiredError | KmsThrottledError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
83
+ /**
84
+ * @see {@link SendMessageBatchCommand}
85
+ */
86
+ sendMessageBatch(args: SendMessageBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<SendMessageBatchCommandOutput, SdkError | BatchEntryIdsNotDistinctError | BatchRequestTooLongError | EmptyBatchRequestError | InvalidAddressError | InvalidBatchEntryIdError | InvalidSecurityError | KmsAccessDeniedError | KmsDisabledError | KmsInvalidKeyUsageError | KmsInvalidStateError | KmsNotFoundError | KmsOptInRequiredError | KmsThrottledError | QueueDoesNotExistError | RequestThrottledError | TooManyEntriesInBatchRequestError | UnsupportedOperationError>;
87
+ /**
88
+ * @see {@link SetQueueAttributesCommand}
89
+ */
90
+ setQueueAttributes(args: SetQueueAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetQueueAttributesCommandOutput, SdkError | InvalidAddressError | InvalidAttributeNameError | InvalidAttributeValueError | InvalidSecurityError | OverLimitError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
91
+ /**
92
+ * @see {@link StartMessageMoveTaskCommand}
93
+ */
94
+ startMessageMoveTask(args: StartMessageMoveTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartMessageMoveTaskCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | RequestThrottledError | ResourceNotFoundError | UnsupportedOperationError>;
95
+ /**
96
+ * @see {@link TagQueueCommand}
97
+ */
98
+ tagQueue(args: TagQueueCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagQueueCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
99
+ /**
100
+ * @see {@link UntagQueueCommand}
101
+ */
102
+ untagQueue(args: UntagQueueCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagQueueCommandOutput, SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
103
+ }
104
+ /**
105
+ * @since 1.0.0
106
+ * @category constructors
107
+ */
108
+ export declare const makeSQSService: Effect.Effect<SQSService$, never, Instance.SQSClientInstance>;
109
+ declare const SQSService_base: import("effect/Context").TagClass<SQSService, "@effect-aws/client-sqs/SQSService", SQSService$> & Effect.Tag.Proxy<SQSService, SQSService$> & {
110
+ use: <X>(body: (_: SQSService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, SQSService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, import("effect/Cause").UnknownException, SQSService> : Effect.Effect<X, never, SQSService>;
111
+ };
112
+ /**
113
+ * @since 1.0.0
114
+ * @category models
115
+ */
116
+ export declare class SQSService extends SQSService_base {
117
+ static readonly defaultLayer: Layer.Layer<SQSService, never, never>;
118
+ static readonly layer: (config: SQSService.Config) => Layer.Layer<SQSService, never, never>;
119
+ static readonly baseLayer: (evaluate: (defaultConfig: SQSClientConfig) => SQSClient) => Layer.Layer<SQSService, never, never>;
120
+ }
121
+ /**
122
+ * @since 1.0.0
123
+ */
124
+ export declare namespace SQSService {
125
+ /**
126
+ * @since 1.0.0
127
+ */
128
+ interface Config extends Omit<SQSClientConfig, "logger"> {
129
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
130
+ }
131
+ }
132
+ export {};
133
+ //# sourceMappingURL=SQSService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SQSService.d.ts","sourceRoot":"","sources":["../../src/SQSService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAE9C,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EAEzC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,sCAAsC,EAC3C,KAAK,uCAAuC,EAE5C,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,8BAA8B,EACnC,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GACR,mBAAmB,GACnB,oBAAoB,GACpB,qBAAqB,GACrB,qBAAqB,GACrB,yBAAyB,CAC5B,CAAC;IAEF;;OAEG;IACH,QAAQ,CACN,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,qBAAqB,EACnB,QAAQ,GACR,mBAAmB,GACnB,oBAAoB,GACpB,sBAAsB,GACtB,qBAAqB,GACrB,yBAAyB,CAC5B,CAAC;IAEF;;OAEG;IACH,UAAU,CACR,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,uBAAuB,EACrB,QAAQ,GACR,mBAAmB,GACnB,oBAAoB,GACpB,sBAAsB,GACtB,qBAAqB,GACrB,yBAAyB,CAC5B,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,+DAWzB,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,UAAW,SAAQ,eAG7B;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,wCAA0E;IACtG,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,WAAW,MAAM,2CAI9C;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,eAAe,KAAK,SAAS,2CASrD;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC;QAC7D,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
@@ -0,0 +1,82 @@
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.SQSService = exports.makeSQSService = void 0;
27
+ /**
28
+ * @since 1.0.0
29
+ */
30
+ const client_sqs_1 = require("@aws-sdk/client-sqs");
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("./SQSClientInstance.js"));
35
+ const SQSServiceConfig = __importStar(require("./SQSServiceConfig.js"));
36
+ const commands = {
37
+ AddPermissionCommand: client_sqs_1.AddPermissionCommand,
38
+ CancelMessageMoveTaskCommand: client_sqs_1.CancelMessageMoveTaskCommand,
39
+ ChangeMessageVisibilityCommand: client_sqs_1.ChangeMessageVisibilityCommand,
40
+ ChangeMessageVisibilityBatchCommand: client_sqs_1.ChangeMessageVisibilityBatchCommand,
41
+ CreateQueueCommand: client_sqs_1.CreateQueueCommand,
42
+ DeleteMessageCommand: client_sqs_1.DeleteMessageCommand,
43
+ DeleteMessageBatchCommand: client_sqs_1.DeleteMessageBatchCommand,
44
+ DeleteQueueCommand: client_sqs_1.DeleteQueueCommand,
45
+ GetQueueAttributesCommand: client_sqs_1.GetQueueAttributesCommand,
46
+ GetQueueUrlCommand: client_sqs_1.GetQueueUrlCommand,
47
+ ListDeadLetterSourceQueuesCommand: client_sqs_1.ListDeadLetterSourceQueuesCommand,
48
+ ListMessageMoveTasksCommand: client_sqs_1.ListMessageMoveTasksCommand,
49
+ ListQueueTagsCommand: client_sqs_1.ListQueueTagsCommand,
50
+ ListQueuesCommand: client_sqs_1.ListQueuesCommand,
51
+ PurgeQueueCommand: client_sqs_1.PurgeQueueCommand,
52
+ ReceiveMessageCommand: client_sqs_1.ReceiveMessageCommand,
53
+ RemovePermissionCommand: client_sqs_1.RemovePermissionCommand,
54
+ SendMessageCommand: client_sqs_1.SendMessageCommand,
55
+ SendMessageBatchCommand: client_sqs_1.SendMessageBatchCommand,
56
+ SetQueueAttributesCommand: client_sqs_1.SetQueueAttributesCommand,
57
+ StartMessageMoveTaskCommand: client_sqs_1.StartMessageMoveTaskCommand,
58
+ TagQueueCommand: client_sqs_1.TagQueueCommand,
59
+ UntagQueueCommand: client_sqs_1.UntagQueueCommand,
60
+ };
61
+ /**
62
+ * @since 1.0.0
63
+ * @category constructors
64
+ */
65
+ exports.makeSQSService = effect_1.Effect.gen(function* () {
66
+ const client = yield* Instance.SQSClientInstance;
67
+ return commons_1.Service.fromClientAndCommands(client, commands, {
68
+ errorTags: Errors_js_1.AllServiceErrors,
69
+ resolveClientConfig: SQSServiceConfig.toSQSClientConfig,
70
+ });
71
+ });
72
+ /**
73
+ * @since 1.0.0
74
+ * @category models
75
+ */
76
+ class SQSService extends effect_1.Effect.Tag("@effect-aws/client-sqs/SQSService")() {
77
+ static defaultLayer = effect_1.Layer.effect(this, exports.makeSQSService).pipe(effect_1.Layer.provide(Instance.layer));
78
+ static layer = (config) => effect_1.Layer.effect(this, exports.makeSQSService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(SQSServiceConfig.setSQSServiceConfig(config)));
79
+ static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeSQSService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.SQSClientInstance, effect_1.Effect.map(SQSServiceConfig.toSQSClientConfig, evaluate))));
80
+ }
81
+ exports.SQSService = SQSService;
82
+ //# sourceMappingURL=SQSService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SQSService.js","sourceRoot":"","sources":["../../src/SQSService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,oDAwE6B;AAE7B,iDAA8C;AAC9C,mCAAuC;AA+BvC,2CAA+C;AAC/C,iEAAmD;AACnD,wEAA0D;AAE1D,MAAM,QAAQ,GAAG;IACf,oBAAoB,EAApB,iCAAoB;IACpB,4BAA4B,EAA5B,yCAA4B;IAC5B,8BAA8B,EAA9B,2CAA8B;IAC9B,mCAAmC,EAAnC,gDAAmC;IACnC,kBAAkB,EAAlB,+BAAkB;IAClB,oBAAoB,EAApB,iCAAoB;IACpB,yBAAyB,EAAzB,sCAAyB;IACzB,kBAAkB,EAAlB,+BAAkB;IAClB,yBAAyB,EAAzB,sCAAyB;IACzB,kBAAkB,EAAlB,+BAAkB;IAClB,iCAAiC,EAAjC,8CAAiC;IACjC,2BAA2B,EAA3B,wCAA2B;IAC3B,oBAAoB,EAApB,iCAAoB;IACpB,iBAAiB,EAAjB,8BAAiB;IACjB,iBAAiB,EAAjB,8BAAiB;IACjB,qBAAqB,EAArB,kCAAqB;IACrB,uBAAuB,EAAvB,oCAAuB;IACvB,kBAAkB,EAAlB,+BAAkB;IAClB,uBAAuB,EAAvB,oCAAuB;IACvB,yBAAyB,EAAzB,sCAAyB;IACzB,2BAA2B,EAA3B,wCAA2B;IAC3B,eAAe,EAAf,4BAAe;IACf,iBAAiB,EAAjB,8BAAiB;CAClB,CAAC;AAkaF;;;GAGG;AACU,QAAA,cAAc,GAAG,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAChD,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC;IAEjD,OAAO,iBAAO,CAAC,qBAAqB,CAClC,MAAM,EACN,QAAQ,EACR;QACE,SAAS,EAAE,4BAAgB;QAC3B,mBAAmB,EAAE,gBAAgB,CAAC,iBAAiB;KACxD,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAa,UAAW,SAAQ,eAAM,CAAC,GAAG,CAAC,mCAAmC,CAAC,EAG5E;IACD,MAAM,CAAU,YAAY,GAAG,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,sBAAc,CAAC,CAAC,IAAI,CAAC,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IACtG,MAAM,CAAU,KAAK,GAAG,CAAC,MAAyB,EAAE,EAAE,CACpD,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,sBAAc,CAAC,CAAC,IAAI,CACrC,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,cAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAC5D,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAuD,EACvD,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,sBAAc,CAAC,CAAC,IAAI,CACrC,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,iBAAiB,EAC1B,eAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CACzD,CACF,CACF,CAAC;;AApBN,gCAqBC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import type { SQSClientConfig } from "@aws-sdk/client-sqs";
5
+ import { Effect, Layer } from "effect";
6
+ import type { SQSService } from "./SQSService.js";
7
+ /**
8
+ * @since 1.0.0
9
+ * @category sqs service config
10
+ */
11
+ export declare const withSQSServiceConfig: {
12
+ (config: SQSService.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: SQSService.Config): Effect.Effect<A, E, R>;
14
+ };
15
+ /**
16
+ * @since 1.0.0
17
+ * @category sqs service config
18
+ */
19
+ export declare const setSQSServiceConfig: (config: SQSService.Config) => Layer.Layer<never, never, never>;
20
+ /**
21
+ * @since 1.0.0
22
+ * @category adapters
23
+ */
24
+ export declare const toSQSClientConfig: Effect.Effect<SQSClientConfig>;
25
+ //# sourceMappingURL=SQSServiceConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SQSServiceConfig.d.ts","sourceRoot":"","sources":["../../src/SQSServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAWlD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE;IACjC,CAAC,MAAM,EAAE,UAAU,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;IACjG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAK9F,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,WAAY,WAAW,MAAM,qCAAyD,CAAC;AAEvH;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,eAAe,CAQ3D,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toSQSClientConfig = exports.setSQSServiceConfig = exports.withSQSServiceConfig = 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 sqs service config
11
+ */
12
+ const currentSQSServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-sqs/currentSQSServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
13
+ /**
14
+ * @since 1.0.0
15
+ * @category sqs service config
16
+ */
17
+ exports.withSQSServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentSQSServiceConfig, config));
18
+ /**
19
+ * @since 1.0.0
20
+ * @category sqs service config
21
+ */
22
+ const setSQSServiceConfig = (config) => effect_1.Layer.locallyScoped(currentSQSServiceConfig, config);
23
+ exports.setSQSServiceConfig = setSQSServiceConfig;
24
+ /**
25
+ * @since 1.0.0
26
+ * @category adapters
27
+ */
28
+ exports.toSQSClientConfig = effect_1.Effect.gen(function* () {
29
+ const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentSQSServiceConfig);
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=SQSServiceConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SQSServiceConfig.js","sourceRoot":"","sources":["../../src/SQSServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAi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8
+ export * from "./Errors.js";
9
+ /**
10
+ * @since 1.0.0
11
+ */
12
+ export * as SQSClientInstance from "./SQSClientInstance.js";
13
+ /**
14
+ * @since 1.0.0
15
+ */
16
+ export * as SQSServiceConfig from "./SQSServiceConfig.js";
17
+ /**
18
+ * @since 1.0.0
19
+ */
20
+ export * from "./SQSService.js";
21
+ /**
22
+ * @since 1.0.0
23
+ * @category exports
24
+ * @alias SQSService
25
+ */
26
+ export declare namespace SQS {
27
+ /**
28
+ * @since 1.0.0
29
+ * @alias SQSService.Config
30
+ */
31
+ type Config = SQSService.Config;
32
+ }
33
+ /**
34
+ * @since 1.0.0
35
+ * @category exports
36
+ * @alias SQSService
37
+ */
38
+ export declare const SQS: typeof SQSService;
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,iBAAiB,MAAM,wBAAwB,CAAC;AAE5D;;GAEG;AACH,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,cAAc,iBAAiB,CAAC;AAEhC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B;;;OAGG;IACH,KAAY,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;CACxC;AAED;;;;GAIG;AACH,eAAO,MAAM,GAAG,mBAAa,CAAC"}
@@ -0,0 +1,56 @@
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.SQS = exports.SQSServiceConfig = exports.SQSClientInstance = void 0;
30
+ /**
31
+ * @since 1.0.0
32
+ */
33
+ const SQSService_js_1 = require("./SQSService.js");
34
+ /**
35
+ * @since 1.0.0
36
+ */
37
+ __exportStar(require("./Errors.js"), exports);
38
+ /**
39
+ * @since 1.0.0
40
+ */
41
+ exports.SQSClientInstance = __importStar(require("./SQSClientInstance.js"));
42
+ /**
43
+ * @since 1.0.0
44
+ */
45
+ exports.SQSServiceConfig = __importStar(require("./SQSServiceConfig.js"));
46
+ /**
47
+ * @since 1.0.0
48
+ */
49
+ __exportStar(require("./SQSService.js"), exports);
50
+ /**
51
+ * @since 1.0.0
52
+ * @category exports
53
+ * @alias SQSService
54
+ */
55
+ exports.SQS = SQSService_js_1.SQSService;
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,mDAA6C;AAE7C;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,4EAA4D;AAE5D;;GAEG;AACH,0EAA0D;AAE1D;;GAEG;AACH,kDAAgC;AAehC;;;;GAIG;AACU,QAAA,GAAG,GAAG,0BAAU,CAAC"}