@effect-aws/client-sqs 1.7.0 → 1.9.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.
Files changed (68) 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/{lib → dist/cjs}/SQSService.d.ts +16 -38
  14. package/dist/cjs/SQSService.d.ts.map +1 -0
  15. package/dist/cjs/SQSService.js +79 -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 +158 -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 +52 -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 +603 -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.js +0 -111
  60. package/lib/esm/Errors.js +0 -33
  61. package/lib/esm/SQSClientInstance.js +0 -30
  62. package/lib/esm/SQSClientInstanceConfig.js +0 -40
  63. package/lib/esm/SQSService.js +0 -107
  64. package/lib/esm/index.js +0 -5
  65. package/lib/index.d.ts +0 -4
  66. package/lib/index.js +0 -21
  67. package/project.json +0 -77
  68. package/vitest.config.ts +0 -3
@@ -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,158 @@
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$> & {
110
+ readonly _: Effect.Effect<SQSService$["_"], never, SQSService>;
111
+ addPermission: (args: AddPermissionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AddPermissionCommandOutput, InvalidAddressError | InvalidSecurityError | OverLimitError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
112
+ cancelMessageMoveTask: (args: CancelMessageMoveTaskCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CancelMessageMoveTaskCommandOutput, InvalidAddressError | InvalidSecurityError | RequestThrottledError | ResourceNotFoundError | UnsupportedOperationError | SdkError, SQSService>;
113
+ changeMessageVisibility: (args: ChangeMessageVisibilityCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ChangeMessageVisibilityCommandOutput, InvalidAddressError | InvalidSecurityError | MessageNotInflightError | QueueDoesNotExistError | ReceiptHandleIsInvalidError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
114
+ changeMessageVisibilityBatch: (args: ChangeMessageVisibilityBatchCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ChangeMessageVisibilityBatchCommandOutput, BatchEntryIdsNotDistinctError | EmptyBatchRequestError | InvalidAddressError | InvalidBatchEntryIdError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | TooManyEntriesInBatchRequestError | UnsupportedOperationError | SdkError, SQSService>;
115
+ createQueue: (args: CreateQueueCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<CreateQueueCommandOutput, InvalidAddressError | InvalidAttributeNameError | InvalidAttributeValueError | InvalidSecurityError | QueueDeletedRecentlyError | QueueNameExistsError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
116
+ deleteMessage: (args: DeleteMessageCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteMessageCommandOutput, InvalidAddressError | InvalidIdFormatError | InvalidSecurityError | QueueDoesNotExistError | ReceiptHandleIsInvalidError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
117
+ deleteMessageBatch: (args: DeleteMessageBatchCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteMessageBatchCommandOutput, BatchEntryIdsNotDistinctError | EmptyBatchRequestError | InvalidAddressError | InvalidBatchEntryIdError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | TooManyEntriesInBatchRequestError | UnsupportedOperationError | SdkError, SQSService>;
118
+ deleteQueue: (args: DeleteQueueCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DeleteQueueCommandOutput, InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
119
+ getQueueAttributes: (args: GetQueueAttributesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetQueueAttributesCommandOutput, InvalidAddressError | InvalidAttributeNameError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
120
+ getQueueUrl: (args: GetQueueUrlCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<GetQueueUrlCommandOutput, InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
121
+ listDeadLetterSourceQueues: (args: ListDeadLetterSourceQueuesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListDeadLetterSourceQueuesCommandOutput, InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
122
+ listMessageMoveTasks: (args: ListMessageMoveTasksCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListMessageMoveTasksCommandOutput, InvalidAddressError | InvalidSecurityError | RequestThrottledError | ResourceNotFoundError | UnsupportedOperationError | SdkError, SQSService>;
123
+ listQueueTags: (args: ListQueueTagsCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListQueueTagsCommandOutput, InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
124
+ listQueues: (args: ListQueuesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ListQueuesCommandOutput, InvalidAddressError | InvalidSecurityError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
125
+ purgeQueue: (args: PurgeQueueCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PurgeQueueCommandOutput, InvalidAddressError | InvalidSecurityError | PurgeQueueInProgressError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
126
+ receiveMessage: (args: ReceiveMessageCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<ReceiveMessageCommandOutput, InvalidAddressError | InvalidSecurityError | KmsAccessDeniedError | KmsDisabledError | KmsInvalidKeyUsageError | KmsInvalidStateError | KmsNotFoundError | KmsOptInRequiredError | KmsThrottledError | OverLimitError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
127
+ removePermission: (args: RemovePermissionCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<RemovePermissionCommandOutput, InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
128
+ sendMessage: (args: SendMessageCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SendMessageCommandOutput, InvalidAddressError | InvalidMessageContentsError | InvalidSecurityError | KmsAccessDeniedError | KmsDisabledError | KmsInvalidKeyUsageError | KmsInvalidStateError | KmsNotFoundError | KmsOptInRequiredError | KmsThrottledError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
129
+ sendMessageBatch: (args: SendMessageBatchCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SendMessageBatchCommandOutput, BatchEntryIdsNotDistinctError | BatchRequestTooLongError | EmptyBatchRequestError | InvalidAddressError | InvalidBatchEntryIdError | InvalidSecurityError | KmsAccessDeniedError | KmsDisabledError | KmsInvalidKeyUsageError | KmsInvalidStateError | KmsNotFoundError | KmsOptInRequiredError | KmsThrottledError | QueueDoesNotExistError | RequestThrottledError | TooManyEntriesInBatchRequestError | UnsupportedOperationError | SdkError, SQSService>;
130
+ setQueueAttributes: (args: SetQueueAttributesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<SetQueueAttributesCommandOutput, InvalidAddressError | InvalidAttributeNameError | InvalidAttributeValueError | InvalidSecurityError | OverLimitError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
131
+ startMessageMoveTask: (args: StartMessageMoveTaskCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StartMessageMoveTaskCommandOutput, InvalidAddressError | InvalidSecurityError | RequestThrottledError | ResourceNotFoundError | UnsupportedOperationError | SdkError, SQSService>;
132
+ tagQueue: (args: TagQueueCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<TagQueueCommandOutput, InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
133
+ untagQueue: (args: UntagQueueCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UntagQueueCommandOutput, InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError | SdkError, SQSService>;
134
+ } & {
135
+ use: <X>(body: (_: SQSService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, SQSService | R> : Effect.Effect<X, never, SQSService>;
136
+ };
137
+ /**
138
+ * @since 1.0.0
139
+ * @category models
140
+ */
141
+ export declare class SQSService extends SQSService_base {
142
+ static readonly defaultLayer: Layer.Layer<SQSService, never, never>;
143
+ static readonly layer: (config: SQSService.Config) => Layer.Layer<SQSService, never, never>;
144
+ static readonly baseLayer: (evaluate: (defaultConfig: SQSClientConfig) => SQSClient) => Layer.Layer<SQSService, never, never>;
145
+ }
146
+ /**
147
+ * @since 1.0.0
148
+ */
149
+ export declare namespace SQSService {
150
+ /**
151
+ * @since 1.0.0
152
+ */
153
+ interface Config extends Omit<SQSClientConfig, "logger"> {
154
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
155
+ }
156
+ }
157
+ export {};
158
+ //# 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,KAAK,+BAA+B,EACpC,K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AAoB,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,+DAIzB,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,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,39 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { SQSService } from "./SQSService.js";
5
+ /**
6
+ * @since 1.0.0
7
+ */
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,33 @@
1
+ import { SdkError as CommonSdkError } from "@effect-aws/commons";
2
+ export const AllServiceErrors = [
3
+ "BatchEntryIdsNotDistinct",
4
+ "BatchRequestTooLong",
5
+ "EmptyBatchRequest",
6
+ "InvalidAddress",
7
+ "InvalidAttributeName",
8
+ "InvalidAttributeValue",
9
+ "InvalidBatchEntryId",
10
+ "InvalidIdFormat",
11
+ "InvalidMessageContents",
12
+ "InvalidSecurity",
13
+ "KmsAccessDenied",
14
+ "KmsDisabled",
15
+ "KmsInvalidKeyUsage",
16
+ "KmsInvalidState",
17
+ "KmsNotFound",
18
+ "KmsOptInRequired",
19
+ "KmsThrottled",
20
+ "MessageNotInflight",
21
+ "OverLimit",
22
+ "PurgeQueueInProgress",
23
+ "QueueDeletedRecently",
24
+ "QueueDoesNotExist",
25
+ "QueueNameExists",
26
+ "ReceiptHandleIsInvalid",
27
+ "RequestThrottled",
28
+ "ResourceNotFoundException",
29
+ "TooManyEntriesInBatchRequest",
30
+ "UnsupportedOperation",
31
+ ];
32
+ export const SdkError = CommonSdkError;
33
+ //# sourceMappingURL=Errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AA+BA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,MAAM,CAAC,MAAM,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;AAgCX,MAAM,CAAC,MAAM,QAAQ,GAAG,cAAc,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { SQSClient } from "@aws-sdk/client-sqs";
5
+ import { Context, Effect, Layer } from "effect";
6
+ import * as SQSServiceConfig from "./SQSServiceConfig.js";
7
+ /**
8
+ * @since 1.0.0
9
+ * @category tags
10
+ */
11
+ export class SQSClientInstance extends Context.Tag("@effect-aws/client-sqs/SQSClientInstance")() {
12
+ }
13
+ /**
14
+ * @since 1.0.0
15
+ * @category constructors
16
+ */
17
+ export const make = Effect.flatMap(SQSServiceConfig.toSQSClientConfig, (config) => Effect.acquireRelease(Effect.sync(() => new SQSClient(config)), (client) => Effect.sync(() => client.destroy())));
18
+ /**
19
+ * @since 1.0.0
20
+ * @category layers
21
+ */
22
+ export const layer = Layer.scoped(SQSClientInstance, make);
23
+ //# sourceMappingURL=SQSClientInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SQSClientInstance.js","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;AAChD,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC;AAE1D;;;GAGG;AACH,MAAM,OAAO,iBAAkB,SAAQ,OAAO,CAAC,GAAG,CAChD,0CAA0C,CAC3C,EAAgC;CAAG;AAEpC;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAChC,gBAAgB,CAAC,iBAAiB,EAClC,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,cAAc,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,CAAC,EACxC,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,iBAAiB,EAAE,IAAI,CAAC,CAAC"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { AddPermissionCommand, CancelMessageMoveTaskCommand, ChangeMessageVisibilityBatchCommand, ChangeMessageVisibilityCommand, CreateQueueCommand, DeleteMessageBatchCommand, DeleteMessageCommand, DeleteQueueCommand, GetQueueAttributesCommand, GetQueueUrlCommand, ListDeadLetterSourceQueuesCommand, ListMessageMoveTasksCommand, ListQueuesCommand, ListQueueTagsCommand, PurgeQueueCommand, ReceiveMessageCommand, RemovePermissionCommand, SendMessageBatchCommand, SendMessageCommand, SetQueueAttributesCommand, StartMessageMoveTaskCommand, TagQueueCommand, UntagQueueCommand, } from "@aws-sdk/client-sqs";
5
+ import { Service } from "@effect-aws/commons";
6
+ import { Effect, Layer } from "effect";
7
+ import { AllServiceErrors } from "./Errors.js";
8
+ import * as Instance from "./SQSClientInstance.js";
9
+ import * as SQSServiceConfig from "./SQSServiceConfig.js";
10
+ const commands = {
11
+ AddPermissionCommand,
12
+ CancelMessageMoveTaskCommand,
13
+ ChangeMessageVisibilityCommand,
14
+ ChangeMessageVisibilityBatchCommand,
15
+ CreateQueueCommand,
16
+ DeleteMessageCommand,
17
+ DeleteMessageBatchCommand,
18
+ DeleteQueueCommand,
19
+ GetQueueAttributesCommand,
20
+ GetQueueUrlCommand,
21
+ ListDeadLetterSourceQueuesCommand,
22
+ ListMessageMoveTasksCommand,
23
+ ListQueueTagsCommand,
24
+ ListQueuesCommand,
25
+ PurgeQueueCommand,
26
+ ReceiveMessageCommand,
27
+ RemovePermissionCommand,
28
+ SendMessageCommand,
29
+ SendMessageBatchCommand,
30
+ SetQueueAttributesCommand,
31
+ StartMessageMoveTaskCommand,
32
+ TagQueueCommand,
33
+ UntagQueueCommand,
34
+ };
35
+ /**
36
+ * @since 1.0.0
37
+ * @category constructors
38
+ */
39
+ export const makeSQSService = Effect.gen(function* () {
40
+ const client = yield* Instance.SQSClientInstance;
41
+ return Service.fromClientAndCommands(client, commands, AllServiceErrors);
42
+ });
43
+ /**
44
+ * @since 1.0.0
45
+ * @category models
46
+ */
47
+ export class SQSService extends Effect.Tag("@effect-aws/client-sqs/SQSService")() {
48
+ static defaultLayer = Layer.effect(this, makeSQSService).pipe(Layer.provide(Instance.layer));
49
+ static layer = (config) => Layer.effect(this, makeSQSService).pipe(Layer.provide(Instance.layer), Layer.provide(SQSServiceConfig.setSQSServiceConfig(config)));
50
+ static baseLayer = (evaluate) => Layer.effect(this, makeSQSService).pipe(Layer.provide(Layer.effect(Instance.SQSClientInstance, Effect.map(SQSServiceConfig.toSQSClientConfig, evaluate))));
51
+ }
52
+ //# sourceMappingURL=SQSService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SQSService.js","sourceRoot":"","sources":["../../src/SQSService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,oBAAoB,EAGpB,4BAA4B,EAG5B,mCAAmC,EAGnC,8BAA8B,EAG9B,kBAAkB,EAGlB,yBAAyB,EAGzB,oBAAoB,EAGpB,kBAAkB,EAGlB,yBAAyB,EAGzB,kBAAkB,EAGlB,iCAAiC,EAGjC,2BAA2B,EAG3B,iBAAiB,EAGjB,oBAAoB,EAGpB,iBAAiB,EAGjB,qBAAqB,EAGrB,uBAAuB,EAGvB,uBAAuB,EAGvB,kBAAkB,EAGlB,yBAAyB,EAKzB,2BAA2B,EAG3B,eAAe,EAGf,iBAAiB,GAGlB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,OAAO,EAAE,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AI,CACrC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAC5D,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAuD,EACvD,EAAE,CACF,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,IAAI,CACrC,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,iBAAiB,EAC1B,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CACzD,CACF,CACF,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { ServiceLogger } from "@effect-aws/commons";
2
+ import { Effect, FiberRef, Layer } from "effect";
3
+ import { dual } from "effect/Function";
4
+ import { globalValue } from "effect/GlobalValue";
5
+ /**
6
+ * @since 1.0.0
7
+ * @category sqs service config
8
+ */
9
+ const currentSQSServiceConfig = globalValue("@effect-aws/client-sqs/currentSQSServiceConfig", () => FiberRef.unsafeMake({}));
10
+ /**
11
+ * @since 1.0.0
12
+ * @category sqs service config
13
+ */
14
+ export const withSQSServiceConfig = dual(2, (effect, config) => Effect.locally(effect, currentSQSServiceConfig, config));
15
+ /**
16
+ * @since 1.0.0
17
+ * @category sqs service config
18
+ */
19
+ export const setSQSServiceConfig = (config) => Layer.locallyScoped(currentSQSServiceConfig, config);
20
+ /**
21
+ * @since 1.0.0
22
+ * @category adapters
23
+ */
24
+ export const toSQSClientConfig = Effect.gen(function* () {
25
+ const { logger: serviceLogger, ...config } = yield* FiberRef.get(currentSQSServiceConfig);
26
+ const logger = serviceLogger === true
27
+ ? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
28
+ : (serviceLogger ? yield* ServiceLogger.toClientLogger(ServiceLogger.make(serviceLogger)) : undefined);
29
+ return { logger, ...config };
30
+ });
31
+ //# sourceMapping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AC,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"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { SQSService } from "./SQSService.js";
5
+ /**
6
+ * @since 1.0.0
7
+ */
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 const SQS = SQSService;
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","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,MAAM,GAAG,GAAG,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "module",
3
+ "sideEffects": []
4
+ }
package/package.json CHANGED
@@ -1,54 +1,71 @@
1
1
  {
2
2
  "name": "@effect-aws/client-sqs",
3
+ "version": "1.9.0",
4
+ "description": "Effectful AWS SQS client",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "github:floydspace/effect-aws",
9
+ "directory": "packages/client-sqs"
10
+ },
11
+ "sideEffects": [],
3
12
  "author": {
4
13
  "name": "Victor Korzunin",
5
- "email": "ifloydrose@gmail.com",
6
- "organization": false
14
+ "email": "ifloydrose@gmail.com"
7
15
  },
8
- "devDependencies": {
9
- "@types/node": "^18",
10
- "@typescript-eslint/eslint-plugin": "^7",
11
- "@typescript-eslint/parser": "^7",
12
- "aws-sdk-client-mock": "^4.0.2",
13
- "aws-sdk-client-mock-vitest": "^4.0.0",
14
- "effect": "3.0.0",
15
- "eslint": "^8",
16
- "eslint-config-prettier": "^9.1.0",
17
- "eslint-import-resolver-typescript": "^3.6.1",
18
- "eslint-plugin-import": "^2.29.1",
19
- "eslint-plugin-prettier": "^5.2.1",
20
- "prettier": "^3.2.5",
21
- "typescript": "^5.4.2",
22
- "vitest": "^2.0.5"
16
+ "homepage": "https://floydspace.github.io/effect-aws/docs/client-sqs",
17
+ "dependencies": {
18
+ "@aws-sdk/client-sqs": "^3",
19
+ "@effect-aws/commons": "^0.1.0"
23
20
  },
24
21
  "peerDependencies": {
25
- "effect": ">=3.0.0 <4.0.0"
22
+ "effect": ">=3.0.4 <4.0.0"
26
23
  },
27
- "dependencies": {
28
- "@aws-sdk/client-sqs": "^3"
29
- },
30
- "main": "lib/index.js",
31
- "license": "MIT",
32
- "homepage": "https://floydspace.github.io/effect-aws",
33
- "publishConfig": {
34
- "access": "public"
24
+ "main": "./dist/cjs/index.js",
25
+ "module": "./dist/esm/index.js",
26
+ "types": "./dist/dts/index.d.ts",
27
+ "exports": {
28
+ "./package.json": "./package.json",
29
+ ".": {
30
+ "types": "./dist/dts/index.d.ts",
31
+ "import": "./dist/esm/index.js",
32
+ "default": "./dist/cjs/index.js"
33
+ },
34
+ "./Errors": {
35
+ "types": "./dist/dts/Errors.d.ts",
36
+ "import": "./dist/esm/Errors.js",
37
+ "default": "./dist/cjs/Errors.js"
38
+ },
39
+ "./SQSClientInstance": {
40
+ "types": "./dist/dts/SQSClientInstance.d.ts",
41
+ "import": "./dist/esm/SQSClientInstance.js",
42
+ "default": "./dist/cjs/SQSClientInstance.js"
43
+ },
44
+ "./SQSService": {
45
+ "types": "./dist/dts/SQSService.d.ts",
46
+ "import": "./dist/esm/SQSService.js",
47
+ "default": "./dist/cjs/SQSService.js"
48
+ },
49
+ "./SQSServiceConfig": {
50
+ "types": "./dist/dts/SQSServiceConfig.d.ts",
51
+ "import": "./dist/esm/SQSServiceConfig.js",
52
+ "default": "./dist/cjs/SQSServiceConfig.js"
53
+ }
35
54
  },
36
- "version": "1.7.0",
37
- "types": "lib/index.d.ts",
38
- "module": "lib/esm/index.js",
39
- "sideEffects": [],
40
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\".",
41
- "scripts": {
42
- "build": "npx projen build",
43
- "compile": "npx projen compile",
44
- "default": "npx projen default",
45
- "eslint": "npx projen eslint",
46
- "package": "npx projen package",
47
- "post-compile": "npx projen post-compile",
48
- "pre-compile": "npx projen pre-compile",
49
- "test": "npx projen test",
50
- "test:watch": "npx projen test:watch",
51
- "watch": "npx projen watch",
52
- "docgen": "docgen"
55
+ "typesVersions": {
56
+ "*": {
57
+ "Errors": [
58
+ "./dist/dts/Errors.d.ts"
59
+ ],
60
+ "SQSClientInstance": [
61
+ "./dist/dts/SQSClientInstance.d.ts"
62
+ ],
63
+ "SQSService": [
64
+ "./dist/dts/SQSService.d.ts"
65
+ ],
66
+ "SQSServiceConfig": [
67
+ "./dist/dts/SQSServiceConfig.d.ts"
68
+ ]
69
+ }
53
70
  }
54
71
  }