@effect-aws/client-sqs 1.10.9 → 2.0.0-beta.1

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 (38) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -3
  3. package/dist/dts/SQSClientInstance.d.ts +4 -2
  4. package/dist/dts/SQSClientInstance.d.ts.map +1 -1
  5. package/dist/dts/SQSService.d.ts +28 -28
  6. package/dist/dts/SQSService.d.ts.map +1 -1
  7. package/dist/dts/SQSServiceConfig.d.ts +2 -1
  8. package/dist/dts/SQSServiceConfig.d.ts.map +1 -1
  9. package/dist/esm/SQSClientInstance.js +5 -3
  10. package/dist/esm/SQSClientInstance.js.map +1 -1
  11. package/dist/esm/SQSService.js +4 -2
  12. package/dist/esm/SQSService.js.map +1 -1
  13. package/dist/esm/SQSServiceConfig.js +7 -6
  14. package/dist/esm/SQSServiceConfig.js.map +1 -1
  15. package/package.json +8 -14
  16. package/src/SQSClientInstance.ts +6 -4
  17. package/src/SQSService.ts +29 -27
  18. package/src/SQSServiceConfig.ts +8 -7
  19. package/dist/cjs/Errors.d.ts +0 -35
  20. package/dist/cjs/Errors.d.ts.map +0 -1
  21. package/dist/cjs/Errors.js +0 -34
  22. package/dist/cjs/Errors.js.map +0 -1
  23. package/dist/cjs/SQSClientInstance.d.ts +0 -24
  24. package/dist/cjs/SQSClientInstance.d.ts.map +0 -1
  25. package/dist/cjs/SQSClientInstance.js +0 -50
  26. package/dist/cjs/SQSClientInstance.js.map +0 -1
  27. package/dist/cjs/SQSService.d.ts +0 -138
  28. package/dist/cjs/SQSService.d.ts.map +0 -1
  29. package/dist/cjs/SQSService.js +0 -82
  30. package/dist/cjs/SQSService.js.map +0 -1
  31. package/dist/cjs/SQSServiceConfig.d.ts +0 -25
  32. package/dist/cjs/SQSServiceConfig.d.ts.map +0 -1
  33. package/dist/cjs/SQSServiceConfig.js +0 -35
  34. package/dist/cjs/SQSServiceConfig.js.map +0 -1
  35. package/dist/cjs/index.d.ts +0 -44
  36. package/dist/cjs/index.d.ts.map +0 -1
  37. package/dist/cjs/index.js +0 -56
  38. package/dist/cjs/index.js.map +0 -1
package/src/SQSService.ts CHANGED
@@ -76,8 +76,10 @@ import {
76
76
  } from "@aws-sdk/client-sqs";
77
77
  import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
78
78
  import { Service } from "@effect-aws/commons";
79
- import type { Cause } from "effect";
80
- import { Effect, Layer } from "effect";
79
+ import type * as Cause from "effect/Cause";
80
+ import * as Effect from "effect/Effect";
81
+ import * as Layer from "effect/Layer";
82
+ import * as ServiceMap from "effect/ServiceMap";
81
83
  import type {
82
84
  BatchEntryIdsNotDistinctError,
83
85
  BatchRequestTooLongError,
@@ -150,7 +152,7 @@ interface SQSService$ {
150
152
  options?: HttpHandlerOptions,
151
153
  ): Effect.Effect<
152
154
  AddPermissionCommandOutput,
153
- | Cause.TimeoutException
155
+ | Cause.TimeoutError
154
156
  | SdkError
155
157
  | InvalidAddressError
156
158
  | InvalidSecurityError
@@ -168,7 +170,7 @@ interface SQSService$ {
168
170
  options?: HttpHandlerOptions,
169
171
  ): Effect.Effect<
170
172
  CancelMessageMoveTaskCommandOutput,
171
- | Cause.TimeoutException
173
+ | Cause.TimeoutError
172
174
  | SdkError
173
175
  | InvalidAddressError
174
176
  | InvalidSecurityError
@@ -185,7 +187,7 @@ interface SQSService$ {
185
187
  options?: HttpHandlerOptions,
186
188
  ): Effect.Effect<
187
189
  ChangeMessageVisibilityCommandOutput,
188
- | Cause.TimeoutException
190
+ | Cause.TimeoutError
189
191
  | SdkError
190
192
  | InvalidAddressError
191
193
  | InvalidSecurityError
@@ -204,7 +206,7 @@ interface SQSService$ {
204
206
  options?: HttpHandlerOptions,
205
207
  ): Effect.Effect<
206
208
  ChangeMessageVisibilityBatchCommandOutput,
207
- | Cause.TimeoutException
209
+ | Cause.TimeoutError
208
210
  | SdkError
209
211
  | BatchEntryIdsNotDistinctError
210
212
  | EmptyBatchRequestError
@@ -225,7 +227,7 @@ interface SQSService$ {
225
227
  options?: HttpHandlerOptions,
226
228
  ): Effect.Effect<
227
229
  CreateQueueCommandOutput,
228
- | Cause.TimeoutException
230
+ | Cause.TimeoutError
229
231
  | SdkError
230
232
  | InvalidAddressError
231
233
  | InvalidAttributeNameError
@@ -245,7 +247,7 @@ interface SQSService$ {
245
247
  options?: HttpHandlerOptions,
246
248
  ): Effect.Effect<
247
249
  DeleteMessageCommandOutput,
248
- | Cause.TimeoutException
250
+ | Cause.TimeoutError
249
251
  | SdkError
250
252
  | InvalidAddressError
251
253
  | InvalidIdFormatError
@@ -264,7 +266,7 @@ interface SQSService$ {
264
266
  options?: HttpHandlerOptions,
265
267
  ): Effect.Effect<
266
268
  DeleteMessageBatchCommandOutput,
267
- | Cause.TimeoutException
269
+ | Cause.TimeoutError
268
270
  | SdkError
269
271
  | BatchEntryIdsNotDistinctError
270
272
  | EmptyBatchRequestError
@@ -285,7 +287,7 @@ interface SQSService$ {
285
287
  options?: HttpHandlerOptions,
286
288
  ): Effect.Effect<
287
289
  DeleteQueueCommandOutput,
288
- | Cause.TimeoutException
290
+ | Cause.TimeoutError
289
291
  | SdkError
290
292
  | InvalidAddressError
291
293
  | InvalidSecurityError
@@ -302,7 +304,7 @@ interface SQSService$ {
302
304
  options?: HttpHandlerOptions,
303
305
  ): Effect.Effect<
304
306
  GetQueueAttributesCommandOutput,
305
- | Cause.TimeoutException
307
+ | Cause.TimeoutError
306
308
  | SdkError
307
309
  | InvalidAddressError
308
310
  | InvalidAttributeNameError
@@ -320,7 +322,7 @@ interface SQSService$ {
320
322
  options?: HttpHandlerOptions,
321
323
  ): Effect.Effect<
322
324
  GetQueueUrlCommandOutput,
323
- | Cause.TimeoutException
325
+ | Cause.TimeoutError
324
326
  | SdkError
325
327
  | InvalidAddressError
326
328
  | InvalidSecurityError
@@ -337,7 +339,7 @@ interface SQSService$ {
337
339
  options?: HttpHandlerOptions,
338
340
  ): Effect.Effect<
339
341
  ListDeadLetterSourceQueuesCommandOutput,
340
- | Cause.TimeoutException
342
+ | Cause.TimeoutError
341
343
  | SdkError
342
344
  | InvalidAddressError
343
345
  | InvalidSecurityError
@@ -354,7 +356,7 @@ interface SQSService$ {
354
356
  options?: HttpHandlerOptions,
355
357
  ): Effect.Effect<
356
358
  ListMessageMoveTasksCommandOutput,
357
- | Cause.TimeoutException
359
+ | Cause.TimeoutError
358
360
  | SdkError
359
361
  | InvalidAddressError
360
362
  | InvalidSecurityError
@@ -371,7 +373,7 @@ interface SQSService$ {
371
373
  options?: HttpHandlerOptions,
372
374
  ): Effect.Effect<
373
375
  ListQueueTagsCommandOutput,
374
- | Cause.TimeoutException
376
+ | Cause.TimeoutError
375
377
  | SdkError
376
378
  | InvalidAddressError
377
379
  | InvalidSecurityError
@@ -388,7 +390,7 @@ interface SQSService$ {
388
390
  options?: HttpHandlerOptions,
389
391
  ): Effect.Effect<
390
392
  ListQueuesCommandOutput,
391
- | Cause.TimeoutException
393
+ | Cause.TimeoutError
392
394
  | SdkError
393
395
  | InvalidAddressError
394
396
  | InvalidSecurityError
@@ -404,7 +406,7 @@ interface SQSService$ {
404
406
  options?: HttpHandlerOptions,
405
407
  ): Effect.Effect<
406
408
  PurgeQueueCommandOutput,
407
- | Cause.TimeoutException
409
+ | Cause.TimeoutError
408
410
  | SdkError
409
411
  | InvalidAddressError
410
412
  | InvalidSecurityError
@@ -422,7 +424,7 @@ interface SQSService$ {
422
424
  options?: HttpHandlerOptions,
423
425
  ): Effect.Effect<
424
426
  ReceiveMessageCommandOutput,
425
- | Cause.TimeoutException
427
+ | Cause.TimeoutError
426
428
  | SdkError
427
429
  | InvalidAddressError
428
430
  | InvalidSecurityError
@@ -447,7 +449,7 @@ interface SQSService$ {
447
449
  options?: HttpHandlerOptions,
448
450
  ): Effect.Effect<
449
451
  RemovePermissionCommandOutput,
450
- | Cause.TimeoutException
452
+ | Cause.TimeoutError
451
453
  | SdkError
452
454
  | InvalidAddressError
453
455
  | InvalidSecurityError
@@ -464,7 +466,7 @@ interface SQSService$ {
464
466
  options?: HttpHandlerOptions,
465
467
  ): Effect.Effect<
466
468
  SendMessageCommandOutput,
467
- | Cause.TimeoutException
469
+ | Cause.TimeoutError
468
470
  | SdkError
469
471
  | InvalidAddressError
470
472
  | InvalidMessageContentsError
@@ -489,7 +491,7 @@ interface SQSService$ {
489
491
  options?: HttpHandlerOptions,
490
492
  ): Effect.Effect<
491
493
  SendMessageBatchCommandOutput,
492
- | Cause.TimeoutException
494
+ | Cause.TimeoutError
493
495
  | SdkError
494
496
  | BatchEntryIdsNotDistinctError
495
497
  | BatchRequestTooLongError
@@ -518,7 +520,7 @@ interface SQSService$ {
518
520
  options?: HttpHandlerOptions,
519
521
  ): Effect.Effect<
520
522
  SetQueueAttributesCommandOutput,
521
- | Cause.TimeoutException
523
+ | Cause.TimeoutError
522
524
  | SdkError
523
525
  | InvalidAddressError
524
526
  | InvalidAttributeNameError
@@ -538,7 +540,7 @@ interface SQSService$ {
538
540
  options?: HttpHandlerOptions,
539
541
  ): Effect.Effect<
540
542
  StartMessageMoveTaskCommandOutput,
541
- | Cause.TimeoutException
543
+ | Cause.TimeoutError
542
544
  | SdkError
543
545
  | InvalidAddressError
544
546
  | InvalidSecurityError
@@ -555,7 +557,7 @@ interface SQSService$ {
555
557
  options?: HttpHandlerOptions,
556
558
  ): Effect.Effect<
557
559
  TagQueueCommandOutput,
558
- | Cause.TimeoutException
560
+ | Cause.TimeoutError
559
561
  | SdkError
560
562
  | InvalidAddressError
561
563
  | InvalidSecurityError
@@ -572,7 +574,7 @@ interface SQSService$ {
572
574
  options?: HttpHandlerOptions,
573
575
  ): Effect.Effect<
574
576
  UntagQueueCommandOutput,
575
- | Cause.TimeoutException
577
+ | Cause.TimeoutError
576
578
  | SdkError
577
579
  | InvalidAddressError
578
580
  | InvalidSecurityError
@@ -603,10 +605,10 @@ export const makeSQSService = Effect.gen(function*() {
603
605
  * @since 1.0.0
604
606
  * @category models
605
607
  */
606
- export class SQSService extends Effect.Tag("@effect-aws/client-sqs/SQSService")<
608
+ export class SQSService extends ServiceMap.Service<
607
609
  SQSService,
608
610
  SQSService$
609
- >() {
611
+ >()("@effect-aws/client-sqs/SQSService") {
610
612
  static readonly defaultLayer = Layer.effect(this, makeSQSService).pipe(Layer.provide(Instance.layer));
611
613
  static readonly layer = (config: SQSService.Config) =>
612
614
  Layer.effect(this, makeSQSService).pipe(
@@ -3,18 +3,19 @@
3
3
  */
4
4
  import type { SQSClientConfig } from "@aws-sdk/client-sqs";
5
5
  import { ServiceLogger } from "@effect-aws/commons";
6
- import { Effect, FiberRef, Layer } from "effect";
6
+ import * as Effect from "effect/Effect";
7
7
  import { dual } from "effect/Function";
8
- import { globalValue } from "effect/GlobalValue";
8
+ import * as Layer from "effect/Layer";
9
+ import * as ServiceMap from "effect/ServiceMap";
9
10
  import type { SQSService } from "./SQSService.js";
10
11
 
11
12
  /**
12
13
  * @since 1.0.0
13
14
  * @category sqs service config
14
15
  */
15
- const currentSQSServiceConfig = globalValue(
16
+ const currentSQSServiceConfig = ServiceMap.Reference<SQSService.Config>(
16
17
  "@effect-aws/client-sqs/currentSQSServiceConfig",
17
- () => FiberRef.unsafeMake<SQSService.Config>({}),
18
+ { defaultValue: () => ({}) },
18
19
  );
19
20
 
20
21
  /**
@@ -27,21 +28,21 @@ export const withSQSServiceConfig: {
27
28
  } = dual(
28
29
  2,
29
30
  <A, E, R>(effect: Effect.Effect<A, E, R>, config: SQSService.Config): Effect.Effect<A, E, R> =>
30
- Effect.locally(effect, currentSQSServiceConfig, config),
31
+ Effect.provideService(effect, currentSQSServiceConfig, config),
31
32
  );
32
33
 
33
34
  /**
34
35
  * @since 1.0.0
35
36
  * @category sqs service config
36
37
  */
37
- export const setSQSServiceConfig = (config: SQSService.Config) => Layer.locallyScoped(currentSQSServiceConfig, config);
38
+ export const setSQSServiceConfig = (config: SQSService.Config) => Layer.succeed(currentSQSServiceConfig, config);
38
39
 
39
40
  /**
40
41
  * @since 1.0.0
41
42
  * @category adapters
42
43
  */
43
44
  export const toSQSClientConfig: Effect.Effect<SQSClientConfig> = Effect.gen(function*() {
44
- const { logger: serviceLogger, ...config } = yield* FiberRef.get(currentSQSServiceConfig);
45
+ const { logger: serviceLogger, ...config } = yield* currentSQSServiceConfig;
45
46
 
46
47
  const logger = serviceLogger === true
47
48
  ? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
@@ -1,35 +0,0 @@
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 type { TaggedException } from "@effect-aws/commons";
3
- 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"];
4
- export type BatchEntryIdsNotDistinctError = TaggedException<BatchEntryIdsNotDistinct>;
5
- export type BatchRequestTooLongError = TaggedException<BatchRequestTooLong>;
6
- export type EmptyBatchRequestError = TaggedException<EmptyBatchRequest>;
7
- export type InvalidAddressError = TaggedException<InvalidAddress>;
8
- export type InvalidAttributeNameError = TaggedException<InvalidAttributeName>;
9
- export type InvalidAttributeValueError = TaggedException<InvalidAttributeValue>;
10
- export type InvalidBatchEntryIdError = TaggedException<InvalidBatchEntryId>;
11
- export type InvalidIdFormatError = TaggedException<InvalidIdFormat>;
12
- export type InvalidMessageContentsError = TaggedException<InvalidMessageContents>;
13
- export type InvalidSecurityError = TaggedException<InvalidSecurity>;
14
- export type KmsAccessDeniedError = TaggedException<KmsAccessDenied>;
15
- export type KmsDisabledError = TaggedException<KmsDisabled>;
16
- export type KmsInvalidKeyUsageError = TaggedException<KmsInvalidKeyUsage>;
17
- export type KmsInvalidStateError = TaggedException<KmsInvalidState>;
18
- export type KmsNotFoundError = TaggedException<KmsNotFound>;
19
- export type KmsOptInRequiredError = TaggedException<KmsOptInRequired>;
20
- export type KmsThrottledError = TaggedException<KmsThrottled>;
21
- export type MessageNotInflightError = TaggedException<MessageNotInflight>;
22
- export type OverLimitError = TaggedException<OverLimit>;
23
- export type PurgeQueueInProgressError = TaggedException<PurgeQueueInProgress>;
24
- export type QueueDeletedRecentlyError = TaggedException<QueueDeletedRecently>;
25
- export type QueueDoesNotExistError = TaggedException<QueueDoesNotExist>;
26
- export type QueueNameExistsError = TaggedException<QueueNameExists>;
27
- export type ReceiptHandleIsInvalidError = TaggedException<ReceiptHandleIsInvalid>;
28
- export type RequestThrottledError = TaggedException<RequestThrottled>;
29
- export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
30
- export type TooManyEntriesInBatchRequestError = TaggedException<TooManyEntriesInBatchRequest>;
31
- export type UnsupportedOperationError = TaggedException<UnsupportedOperation>;
32
- export type SdkError = TaggedException<Error & {
33
- name: "SdkError";
34
- }>;
35
- //# sourceMappingURL=Errors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAA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defineProperty(exports, "__esModule", { value: true });
3
- exports.AllServiceErrors = void 0;
4
- exports.AllServiceErrors = [
5
- "BatchEntryIdsNotDistinct",
6
- "BatchRequestTooLong",
7
- "EmptyBatchRequest",
8
- "InvalidAddress",
9
- "InvalidAttributeName",
10
- "InvalidAttributeValue",
11
- "InvalidBatchEntryId",
12
- "InvalidIdFormat",
13
- "InvalidMessageContents",
14
- "InvalidSecurity",
15
- "KmsAccessDenied",
16
- "KmsDisabled",
17
- "KmsInvalidKeyUsage",
18
- "KmsInvalidState",
19
- "KmsNotFound",
20
- "KmsOptInRequired",
21
- "KmsThrottled",
22
- "MessageNotInflight",
23
- "OverLimit",
24
- "PurgeQueueInProgress",
25
- "QueueDeletedRecently",
26
- "QueueDoesNotExist",
27
- "QueueNameExists",
28
- "ReceiptHandleIsInvalid",
29
- "RequestThrottled",
30
- "ResourceNotFoundException",
31
- "TooManyEntriesInBatchRequest",
32
- "UnsupportedOperation",
33
- ];
34
- //# sourceMappingURL=Errors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAgCa,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"}
@@ -1,24 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,50 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,138 +0,0 @@
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, ServiceLogger } from "@effect-aws/commons";
6
- import type { Cause } from "effect";
7
- import { Effect, Layer } from "effect";
8
- 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, SdkError, TooManyEntriesInBatchRequestError, UnsupportedOperationError } from "./Errors.js";
9
- import * as Instance from "./SQSClientInstance.js";
10
- interface SQSService$ {
11
- readonly _: unique symbol;
12
- /**
13
- * @see {@link AddPermissionCommand}
14
- */
15
- addPermission(args: AddPermissionCommandInput, options?: HttpHandlerOptions): Effect.Effect<AddPermissionCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | OverLimitError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
16
- /**
17
- * @see {@link CancelMessageMoveTaskCommand}
18
- */
19
- cancelMessageMoveTask(args: CancelMessageMoveTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<CancelMessageMoveTaskCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | RequestThrottledError | ResourceNotFoundError | UnsupportedOperationError>;
20
- /**
21
- * @see {@link ChangeMessageVisibilityCommand}
22
- */
23
- changeMessageVisibility(args: ChangeMessageVisibilityCommandInput, options?: HttpHandlerOptions): Effect.Effect<ChangeMessageVisibilityCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | MessageNotInflightError | QueueDoesNotExistError | ReceiptHandleIsInvalidError | RequestThrottledError | UnsupportedOperationError>;
24
- /**
25
- * @see {@link ChangeMessageVisibilityBatchCommand}
26
- */
27
- changeMessageVisibilityBatch(args: ChangeMessageVisibilityBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<ChangeMessageVisibilityBatchCommandOutput, Cause.TimeoutException | SdkError | BatchEntryIdsNotDistinctError | EmptyBatchRequestError | InvalidAddressError | InvalidBatchEntryIdError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | TooManyEntriesInBatchRequestError | UnsupportedOperationError>;
28
- /**
29
- * @see {@link CreateQueueCommand}
30
- */
31
- createQueue(args: CreateQueueCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateQueueCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidAttributeNameError | InvalidAttributeValueError | InvalidSecurityError | QueueDeletedRecentlyError | QueueNameExistsError | RequestThrottledError | UnsupportedOperationError>;
32
- /**
33
- * @see {@link DeleteMessageCommand}
34
- */
35
- deleteMessage(args: DeleteMessageCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteMessageCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidIdFormatError | InvalidSecurityError | QueueDoesNotExistError | ReceiptHandleIsInvalidError | RequestThrottledError | UnsupportedOperationError>;
36
- /**
37
- * @see {@link DeleteMessageBatchCommand}
38
- */
39
- deleteMessageBatch(args: DeleteMessageBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteMessageBatchCommandOutput, Cause.TimeoutException | SdkError | BatchEntryIdsNotDistinctError | EmptyBatchRequestError | InvalidAddressError | InvalidBatchEntryIdError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | TooManyEntriesInBatchRequestError | UnsupportedOperationError>;
40
- /**
41
- * @see {@link DeleteQueueCommand}
42
- */
43
- deleteQueue(args: DeleteQueueCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteQueueCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
44
- /**
45
- * @see {@link GetQueueAttributesCommand}
46
- */
47
- getQueueAttributes(args: GetQueueAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetQueueAttributesCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidAttributeNameError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
48
- /**
49
- * @see {@link GetQueueUrlCommand}
50
- */
51
- getQueueUrl(args: GetQueueUrlCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetQueueUrlCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
52
- /**
53
- * @see {@link ListDeadLetterSourceQueuesCommand}
54
- */
55
- listDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListDeadLetterSourceQueuesCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
56
- /**
57
- * @see {@link ListMessageMoveTasksCommand}
58
- */
59
- listMessageMoveTasks(args: ListMessageMoveTasksCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListMessageMoveTasksCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | RequestThrottledError | ResourceNotFoundError | UnsupportedOperationError>;
60
- /**
61
- * @see {@link ListQueueTagsCommand}
62
- */
63
- listQueueTags(args: ListQueueTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListQueueTagsCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
64
- /**
65
- * @see {@link ListQueuesCommand}
66
- */
67
- listQueues(args: ListQueuesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListQueuesCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | RequestThrottledError | UnsupportedOperationError>;
68
- /**
69
- * @see {@link PurgeQueueCommand}
70
- */
71
- purgeQueue(args: PurgeQueueCommandInput, options?: HttpHandlerOptions): Effect.Effect<PurgeQueueCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | PurgeQueueInProgressError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
72
- /**
73
- * @see {@link ReceiveMessageCommand}
74
- */
75
- receiveMessage(args: ReceiveMessageCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReceiveMessageCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | KmsAccessDeniedError | KmsDisabledError | KmsInvalidKeyUsageError | KmsInvalidStateError | KmsNotFoundError | KmsOptInRequiredError | KmsThrottledError | OverLimitError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
76
- /**
77
- * @see {@link RemovePermissionCommand}
78
- */
79
- removePermission(args: RemovePermissionCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemovePermissionCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
80
- /**
81
- * @see {@link SendMessageCommand}
82
- */
83
- sendMessage(args: SendMessageCommandInput, options?: HttpHandlerOptions): Effect.Effect<SendMessageCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidMessageContentsError | InvalidSecurityError | KmsAccessDeniedError | KmsDisabledError | KmsInvalidKeyUsageError | KmsInvalidStateError | KmsNotFoundError | KmsOptInRequiredError | KmsThrottledError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
84
- /**
85
- * @see {@link SendMessageBatchCommand}
86
- */
87
- sendMessageBatch(args: SendMessageBatchCommandInput, options?: HttpHandlerOptions): Effect.Effect<SendMessageBatchCommandOutput, Cause.TimeoutException | SdkError | BatchEntryIdsNotDistinctError | BatchRequestTooLongError | EmptyBatchRequestError | InvalidAddressError | InvalidBatchEntryIdError | InvalidSecurityError | KmsAccessDeniedError | KmsDisabledError | KmsInvalidKeyUsageError | KmsInvalidStateError | KmsNotFoundError | KmsOptInRequiredError | KmsThrottledError | QueueDoesNotExistError | RequestThrottledError | TooManyEntriesInBatchRequestError | UnsupportedOperationError>;
88
- /**
89
- * @see {@link SetQueueAttributesCommand}
90
- */
91
- setQueueAttributes(args: SetQueueAttributesCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetQueueAttributesCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidAttributeNameError | InvalidAttributeValueError | InvalidSecurityError | OverLimitError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
92
- /**
93
- * @see {@link StartMessageMoveTaskCommand}
94
- */
95
- startMessageMoveTask(args: StartMessageMoveTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartMessageMoveTaskCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | RequestThrottledError | ResourceNotFoundError | UnsupportedOperationError>;
96
- /**
97
- * @see {@link TagQueueCommand}
98
- */
99
- tagQueue(args: TagQueueCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagQueueCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
100
- /**
101
- * @see {@link UntagQueueCommand}
102
- */
103
- untagQueue(args: UntagQueueCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagQueueCommandOutput, Cause.TimeoutException | SdkError | InvalidAddressError | InvalidSecurityError | QueueDoesNotExistError | RequestThrottledError | UnsupportedOperationError>;
104
- }
105
- /**
106
- * @since 1.0.0
107
- * @category constructors
108
- */
109
- export declare const makeSQSService: Effect.Effect<SQSService$, never, Instance.SQSClientInstance>;
110
- declare const SQSService_base: import("effect/Context").TagClass<SQSService, "@effect-aws/client-sqs/SQSService", SQSService$> & Effect.Tag.Proxy<SQSService, SQSService$> & {
111
- 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, Cause.UnknownException, SQSService> : Effect.Effect<X, never, SQSService>;
112
- };
113
- /**
114
- * @since 1.0.0
115
- * @category models
116
- */
117
- export declare class SQSService extends SQSService_base {
118
- static readonly defaultLayer: Layer.Layer<SQSService, never, never>;
119
- static readonly layer: (config: SQSService.Config) => Layer.Layer<SQSService, never, never>;
120
- static readonly baseLayer: (evaluate: (defaultConfig: SQSClientConfig) => SQSClient) => Layer.Layer<SQSService, never, never>;
121
- }
122
- /**
123
- * @since 1.0.0
124
- */
125
- export declare namespace SQSService {
126
- /**
127
- * @since 1.0.0
128
- */
129
- interface Config extends Omit<SQSClientConfig, "logger"> {
130
- readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
131
- }
132
- /**
133
- * @since 1.0.0
134
- */
135
- type Type = SQSService$;
136
- }
137
- export {};
138
- //# sourceMappingURL=SQSService.d.ts.map
@@ -1 +0,0 @@
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,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