@effect-aws/client-textract 1.10.3 → 2.0.0-beta.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 (37) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -3
  3. package/dist/dts/TextractClientInstance.d.ts +2 -2
  4. package/dist/dts/TextractClientInstance.d.ts.map +1 -1
  5. package/dist/dts/TextractService.d.ts +27 -29
  6. package/dist/dts/TextractService.d.ts.map +1 -1
  7. package/dist/dts/TextractServiceConfig.d.ts.map +1 -1
  8. package/dist/esm/TextractClientInstance.js +3 -3
  9. package/dist/esm/TextractClientInstance.js.map +1 -1
  10. package/dist/esm/TextractService.js +2 -2
  11. package/dist/esm/TextractService.js.map +1 -1
  12. package/dist/esm/TextractServiceConfig.js +5 -6
  13. package/dist/esm/TextractServiceConfig.js.map +1 -1
  14. package/package.json +8 -14
  15. package/src/TextractClientInstance.ts +4 -4
  16. package/src/TextractService.ts +28 -28
  17. package/src/TextractServiceConfig.ts +6 -7
  18. package/dist/cjs/Errors.d.ts +0 -25
  19. package/dist/cjs/Errors.d.ts.map +0 -1
  20. package/dist/cjs/Errors.js +0 -24
  21. package/dist/cjs/Errors.js.map +0 -1
  22. package/dist/cjs/TextractClientInstance.d.ts +0 -24
  23. package/dist/cjs/TextractClientInstance.d.ts.map +0 -1
  24. package/dist/cjs/TextractClientInstance.js +0 -50
  25. package/dist/cjs/TextractClientInstance.js.map +0 -1
  26. package/dist/cjs/TextractService.d.ts +0 -146
  27. package/dist/cjs/TextractService.d.ts.map +0 -1
  28. package/dist/cjs/TextractService.js +0 -84
  29. package/dist/cjs/TextractService.js.map +0 -1
  30. package/dist/cjs/TextractServiceConfig.d.ts +0 -25
  31. package/dist/cjs/TextractServiceConfig.d.ts.map +0 -1
  32. package/dist/cjs/TextractServiceConfig.js +0 -35
  33. package/dist/cjs/TextractServiceConfig.js.map +0 -1
  34. package/dist/cjs/index.d.ts +0 -44
  35. package/dist/cjs/index.d.ts.map +0 -1
  36. package/dist/cjs/index.js +0 -56
  37. package/dist/cjs/index.js.map +0 -1
@@ -83,7 +83,7 @@ import {
83
83
  import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
84
84
  import { Service } from "@effect-aws/commons";
85
85
  import type { Cause } from "effect";
86
- import { Effect, Layer } from "effect";
86
+ import { Effect, Layer, ServiceMap } from "effect";
87
87
  import type {
88
88
  AccessDeniedError,
89
89
  BadDocumentError,
@@ -148,7 +148,7 @@ interface TextractService$ {
148
148
  options?: HttpHandlerOptions,
149
149
  ): Effect.Effect<
150
150
  AnalyzeDocumentCommandOutput,
151
- | Cause.TimeoutException
151
+ | Cause.TimeoutError
152
152
  | SdkError
153
153
  | AccessDeniedError
154
154
  | BadDocumentError
@@ -170,7 +170,7 @@ interface TextractService$ {
170
170
  options?: HttpHandlerOptions,
171
171
  ): Effect.Effect<
172
172
  AnalyzeExpenseCommandOutput,
173
- | Cause.TimeoutException
173
+ | Cause.TimeoutError
174
174
  | SdkError
175
175
  | AccessDeniedError
176
176
  | BadDocumentError
@@ -191,7 +191,7 @@ interface TextractService$ {
191
191
  options?: HttpHandlerOptions,
192
192
  ): Effect.Effect<
193
193
  AnalyzeIDCommandOutput,
194
- | Cause.TimeoutException
194
+ | Cause.TimeoutError
195
195
  | SdkError
196
196
  | AccessDeniedError
197
197
  | BadDocumentError
@@ -212,7 +212,7 @@ interface TextractService$ {
212
212
  options?: HttpHandlerOptions,
213
213
  ): Effect.Effect<
214
214
  CreateAdapterCommandOutput,
215
- | Cause.TimeoutException
215
+ | Cause.TimeoutError
216
216
  | SdkError
217
217
  | AccessDeniedError
218
218
  | ConflictError
@@ -234,7 +234,7 @@ interface TextractService$ {
234
234
  options?: HttpHandlerOptions,
235
235
  ): Effect.Effect<
236
236
  CreateAdapterVersionCommandOutput,
237
- | Cause.TimeoutException
237
+ | Cause.TimeoutError
238
238
  | SdkError
239
239
  | AccessDeniedError
240
240
  | ConflictError
@@ -259,7 +259,7 @@ interface TextractService$ {
259
259
  options?: HttpHandlerOptions,
260
260
  ): Effect.Effect<
261
261
  DeleteAdapterCommandOutput,
262
- | Cause.TimeoutException
262
+ | Cause.TimeoutError
263
263
  | SdkError
264
264
  | AccessDeniedError
265
265
  | ConflictError
@@ -279,7 +279,7 @@ interface TextractService$ {
279
279
  options?: HttpHandlerOptions,
280
280
  ): Effect.Effect<
281
281
  DeleteAdapterVersionCommandOutput,
282
- | Cause.TimeoutException
282
+ | Cause.TimeoutError
283
283
  | SdkError
284
284
  | AccessDeniedError
285
285
  | ConflictError
@@ -299,7 +299,7 @@ interface TextractService$ {
299
299
  options?: HttpHandlerOptions,
300
300
  ): Effect.Effect<
301
301
  DetectDocumentTextCommandOutput,
302
- | Cause.TimeoutException
302
+ | Cause.TimeoutError
303
303
  | SdkError
304
304
  | AccessDeniedError
305
305
  | BadDocumentError
@@ -320,7 +320,7 @@ interface TextractService$ {
320
320
  options?: HttpHandlerOptions,
321
321
  ): Effect.Effect<
322
322
  GetAdapterCommandOutput,
323
- | Cause.TimeoutException
323
+ | Cause.TimeoutError
324
324
  | SdkError
325
325
  | AccessDeniedError
326
326
  | InternalServerError
@@ -339,7 +339,7 @@ interface TextractService$ {
339
339
  options?: HttpHandlerOptions,
340
340
  ): Effect.Effect<
341
341
  GetAdapterVersionCommandOutput,
342
- | Cause.TimeoutException
342
+ | Cause.TimeoutError
343
343
  | SdkError
344
344
  | AccessDeniedError
345
345
  | InternalServerError
@@ -358,7 +358,7 @@ interface TextractService$ {
358
358
  options?: HttpHandlerOptions,
359
359
  ): Effect.Effect<
360
360
  GetDocumentAnalysisCommandOutput,
361
- | Cause.TimeoutException
361
+ | Cause.TimeoutError
362
362
  | SdkError
363
363
  | AccessDeniedError
364
364
  | InternalServerError
@@ -378,7 +378,7 @@ interface TextractService$ {
378
378
  options?: HttpHandlerOptions,
379
379
  ): Effect.Effect<
380
380
  GetDocumentTextDetectionCommandOutput,
381
- | Cause.TimeoutException
381
+ | Cause.TimeoutError
382
382
  | SdkError
383
383
  | AccessDeniedError
384
384
  | InternalServerError
@@ -398,7 +398,7 @@ interface TextractService$ {
398
398
  options?: HttpHandlerOptions,
399
399
  ): Effect.Effect<
400
400
  GetExpenseAnalysisCommandOutput,
401
- | Cause.TimeoutException
401
+ | Cause.TimeoutError
402
402
  | SdkError
403
403
  | AccessDeniedError
404
404
  | InternalServerError
@@ -418,7 +418,7 @@ interface TextractService$ {
418
418
  options?: HttpHandlerOptions,
419
419
  ): Effect.Effect<
420
420
  GetLendingAnalysisCommandOutput,
421
- | Cause.TimeoutException
421
+ | Cause.TimeoutError
422
422
  | SdkError
423
423
  | AccessDeniedError
424
424
  | InternalServerError
@@ -438,7 +438,7 @@ interface TextractService$ {
438
438
  options?: HttpHandlerOptions,
439
439
  ): Effect.Effect<
440
440
  GetLendingAnalysisSummaryCommandOutput,
441
- | Cause.TimeoutException
441
+ | Cause.TimeoutError
442
442
  | SdkError
443
443
  | AccessDeniedError
444
444
  | InternalServerError
@@ -458,7 +458,7 @@ interface TextractService$ {
458
458
  options?: HttpHandlerOptions,
459
459
  ): Effect.Effect<
460
460
  ListAdapterVersionsCommandOutput,
461
- | Cause.TimeoutException
461
+ | Cause.TimeoutError
462
462
  | SdkError
463
463
  | AccessDeniedError
464
464
  | InternalServerError
@@ -477,7 +477,7 @@ interface TextractService$ {
477
477
  options?: HttpHandlerOptions,
478
478
  ): Effect.Effect<
479
479
  ListAdaptersCommandOutput,
480
- | Cause.TimeoutException
480
+ | Cause.TimeoutError
481
481
  | SdkError
482
482
  | AccessDeniedError
483
483
  | InternalServerError
@@ -495,7 +495,7 @@ interface TextractService$ {
495
495
  options?: HttpHandlerOptions,
496
496
  ): Effect.Effect<
497
497
  ListTagsForResourceCommandOutput,
498
- | Cause.TimeoutException
498
+ | Cause.TimeoutError
499
499
  | SdkError
500
500
  | AccessDeniedError
501
501
  | InternalServerError
@@ -514,7 +514,7 @@ interface TextractService$ {
514
514
  options?: HttpHandlerOptions,
515
515
  ): Effect.Effect<
516
516
  StartDocumentAnalysisCommandOutput,
517
- | Cause.TimeoutException
517
+ | Cause.TimeoutError
518
518
  | SdkError
519
519
  | AccessDeniedError
520
520
  | BadDocumentError
@@ -538,7 +538,7 @@ interface TextractService$ {
538
538
  options?: HttpHandlerOptions,
539
539
  ): Effect.Effect<
540
540
  StartDocumentTextDetectionCommandOutput,
541
- | Cause.TimeoutException
541
+ | Cause.TimeoutError
542
542
  | SdkError
543
543
  | AccessDeniedError
544
544
  | BadDocumentError
@@ -562,7 +562,7 @@ interface TextractService$ {
562
562
  options?: HttpHandlerOptions,
563
563
  ): Effect.Effect<
564
564
  StartExpenseAnalysisCommandOutput,
565
- | Cause.TimeoutException
565
+ | Cause.TimeoutError
566
566
  | SdkError
567
567
  | AccessDeniedError
568
568
  | BadDocumentError
@@ -586,7 +586,7 @@ interface TextractService$ {
586
586
  options?: HttpHandlerOptions,
587
587
  ): Effect.Effect<
588
588
  StartLendingAnalysisCommandOutput,
589
- | Cause.TimeoutException
589
+ | Cause.TimeoutError
590
590
  | SdkError
591
591
  | AccessDeniedError
592
592
  | BadDocumentError
@@ -610,7 +610,7 @@ interface TextractService$ {
610
610
  options?: HttpHandlerOptions,
611
611
  ): Effect.Effect<
612
612
  TagResourceCommandOutput,
613
- | Cause.TimeoutException
613
+ | Cause.TimeoutError
614
614
  | SdkError
615
615
  | AccessDeniedError
616
616
  | InternalServerError
@@ -630,7 +630,7 @@ interface TextractService$ {
630
630
  options?: HttpHandlerOptions,
631
631
  ): Effect.Effect<
632
632
  UntagResourceCommandOutput,
633
- | Cause.TimeoutException
633
+ | Cause.TimeoutError
634
634
  | SdkError
635
635
  | AccessDeniedError
636
636
  | InternalServerError
@@ -649,7 +649,7 @@ interface TextractService$ {
649
649
  options?: HttpHandlerOptions,
650
650
  ): Effect.Effect<
651
651
  UpdateAdapterCommandOutput,
652
- | Cause.TimeoutException
652
+ | Cause.TimeoutError
653
653
  | SdkError
654
654
  | AccessDeniedError
655
655
  | ConflictError
@@ -683,10 +683,10 @@ export const makeTextractService = Effect.gen(function*() {
683
683
  * @since 1.0.0
684
684
  * @category models
685
685
  */
686
- export class TextractService extends Effect.Tag("@effect-aws/client-textract/TextractService")<
686
+ export class TextractService extends ServiceMap.Service<
687
687
  TextractService,
688
688
  TextractService$
689
- >() {
689
+ >()("@effect-aws/client-textract/TextractService") {
690
690
  static readonly defaultLayer = Layer.effect(this, makeTextractService).pipe(Layer.provide(Instance.layer));
691
691
  static readonly layer = (config: TextractService.Config) =>
692
692
  Layer.effect(this, makeTextractService).pipe(
@@ -3,18 +3,17 @@
3
3
  */
4
4
  import type { TextractClientConfig } from "@aws-sdk/client-textract";
5
5
  import { ServiceLogger } from "@effect-aws/commons";
6
- import { Effect, FiberRef, Layer } from "effect";
6
+ import { Effect, Layer, ServiceMap } from "effect";
7
7
  import { dual } from "effect/Function";
8
- import { globalValue } from "effect/GlobalValue";
9
8
  import type { TextractService } from "./TextractService.js";
10
9
 
11
10
  /**
12
11
  * @since 1.0.0
13
12
  * @category textract service config
14
13
  */
15
- const currentTextractServiceConfig = globalValue(
14
+ const currentTextractServiceConfig = ServiceMap.Reference<TextractService.Config>(
16
15
  "@effect-aws/client-textract/currentTextractServiceConfig",
17
- () => FiberRef.unsafeMake<TextractService.Config>({}),
16
+ { defaultValue: () => ({}) },
18
17
  );
19
18
 
20
19
  /**
@@ -27,7 +26,7 @@ export const withTextractServiceConfig: {
27
26
  } = dual(
28
27
  2,
29
28
  <A, E, R>(effect: Effect.Effect<A, E, R>, config: TextractService.Config): Effect.Effect<A, E, R> =>
30
- Effect.locally(effect, currentTextractServiceConfig, config),
29
+ Effect.provideService(effect, currentTextractServiceConfig, config),
31
30
  );
32
31
 
33
32
  /**
@@ -35,14 +34,14 @@ export const withTextractServiceConfig: {
35
34
  * @category textract service config
36
35
  */
37
36
  export const setTextractServiceConfig = (config: TextractService.Config) =>
38
- Layer.locallyScoped(currentTextractServiceConfig, config);
37
+ Layer.succeed(currentTextractServiceConfig, config);
39
38
 
40
39
  /**
41
40
  * @since 1.0.0
42
41
  * @category adapters
43
42
  */
44
43
  export const toTextractClientConfig: Effect.Effect<TextractClientConfig> = Effect.gen(function*() {
45
- const { logger: serviceLogger, ...config } = yield* FiberRef.get(currentTextractServiceConfig);
44
+ const { logger: serviceLogger, ...config } = yield* currentTextractServiceConfig;
46
45
 
47
46
  const logger = serviceLogger === true
48
47
  ? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
@@ -1,25 +0,0 @@
1
- import type { AccessDeniedException, BadDocumentException, ConflictException, DocumentTooLargeException, HumanLoopQuotaExceededException, IdempotentParameterMismatchException, InternalServerError as InternalServerException, InvalidJobIdException, InvalidKMSKeyException, InvalidParameterException, InvalidS3ObjectException, LimitExceededException, ProvisionedThroughputExceededException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UnsupportedDocumentException, ValidationException } from "@aws-sdk/client-textract";
2
- import type { TaggedException } from "@effect-aws/commons";
3
- export declare const AllServiceErrors: readonly ["AccessDeniedException", "BadDocumentException", "ConflictException", "DocumentTooLargeException", "HumanLoopQuotaExceededException", "IdempotentParameterMismatchException", "InternalServerError", "InvalidJobIdException", "InvalidKMSKeyException", "InvalidParameterException", "InvalidS3ObjectException", "LimitExceededException", "ProvisionedThroughputExceededException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ThrottlingException", "UnsupportedDocumentException", "ValidationException"];
4
- export type AccessDeniedError = TaggedException<AccessDeniedException>;
5
- export type BadDocumentError = TaggedException<BadDocumentException>;
6
- export type ConflictError = TaggedException<ConflictException>;
7
- export type DocumentTooLargeError = TaggedException<DocumentTooLargeException>;
8
- export type HumanLoopQuotaExceededError = TaggedException<HumanLoopQuotaExceededException>;
9
- export type IdempotentParameterMismatchError = TaggedException<IdempotentParameterMismatchException>;
10
- export type InternalServerError = TaggedException<InternalServerException>;
11
- export type InvalidJobIdError = TaggedException<InvalidJobIdException>;
12
- export type InvalidKMSKeyError = TaggedException<InvalidKMSKeyException>;
13
- export type InvalidParameterError = TaggedException<InvalidParameterException>;
14
- export type InvalidS3ObjectError = TaggedException<InvalidS3ObjectException>;
15
- export type LimitExceededError = TaggedException<LimitExceededException>;
16
- export type ProvisionedThroughputExceededError = TaggedException<ProvisionedThroughputExceededException>;
17
- export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
18
- export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
19
- export type ThrottlingError = TaggedException<ThrottlingException>;
20
- export type UnsupportedDocumentError = TaggedException<UnsupportedDocumentException>;
21
- export type ValidationError = TaggedException<ValidationException>;
22
- export type SdkError = TaggedException<Error & {
23
- name: "SdkError";
24
- }>;
25
- //# sourceMappingURL=Errors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,yBAAyB,EACzB,+BAA+B,EAC/B,oCAAoC,EACpC,mBAAmB,IAAI,uBAAuB,EAC9C,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,sBAAsB,EACtB,sCAAsC,EACtC,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACnB,4BAA4B,EAC5B,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,4gBAmBnB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;AACrE,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,+BAA+B,CAAC,CAAC;AAC3F,MAAM,MAAM,gCAAgC,GAAG,eAAe,CAAC,oCAAoC,CAAC,CAAC;AACrG,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,kCAAkC,GAAG,eAAe,CAAC,sCAAsC,CAAC,CAAC;AACzG,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC,4BAA4B,CAAC,CAAC;AACrF,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AllServiceErrors = void 0;
4
- exports.AllServiceErrors = [
5
- "AccessDeniedException",
6
- "BadDocumentException",
7
- "ConflictException",
8
- "DocumentTooLargeException",
9
- "HumanLoopQuotaExceededException",
10
- "IdempotentParameterMismatchException",
11
- "InternalServerError",
12
- "InvalidJobIdException",
13
- "InvalidKMSKeyException",
14
- "InvalidParameterException",
15
- "InvalidS3ObjectException",
16
- "LimitExceededException",
17
- "ProvisionedThroughputExceededException",
18
- "ResourceNotFoundException",
19
- "ServiceQuotaExceededException",
20
- "ThrottlingException",
21
- "UnsupportedDocumentException",
22
- "ValidationException",
23
- ];
24
- //# sourceMappingURL=Errors.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAsBa,QAAA,gBAAgB,GAAG;IAC9B,uBAAuB;IACvB,sBAAsB;IACtB,mBAAmB;IACnB,2BAA2B;IAC3B,iCAAiC;IACjC,sCAAsC;IACtC,qBAAqB;IACrB,uBAAuB;IACvB,wBAAwB;IACxB,2BAA2B;IAC3B,0BAA0B;IAC1B,wBAAwB;IACxB,wCAAwC;IACxC,2BAA2B;IAC3B,+BAA+B;IAC/B,qBAAqB;IACrB,8BAA8B;IAC9B,qBAAqB;CACb,CAAC"}
@@ -1,24 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import { TextractClient } from "@aws-sdk/client-textract";
5
- import { Context, Effect, Layer } from "effect";
6
- declare const TextractClientInstance_base: Context.TagClass<TextractClientInstance, "@effect-aws/client-textract/TextractClientInstance", TextractClient>;
7
- /**
8
- * @since 1.0.0
9
- * @category tags
10
- */
11
- export declare class TextractClientInstance extends TextractClientInstance_base {
12
- }
13
- /**
14
- * @since 1.0.0
15
- * @category constructors
16
- */
17
- export declare const make: Effect.Effect<TextractClient, never, import("effect/Scope").Scope>;
18
- /**
19
- * @since 1.0.0
20
- * @category layers
21
- */
22
- export declare const layer: Layer.Layer<TextractClientInstance, never, never>;
23
- export {};
24
- //# sourceMappingURL=TextractClientInstance.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextractClientInstance.d.ts","sourceRoot":"","sources":["../../src/TextractClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,sBAAuB,SAAQ,2BAED;CAAG;AAE9C;;;GAGG;AACH,eAAO,MAAM,IAAI,oEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,mDAA6C,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.TextractClientInstance = void 0;
27
- /**
28
- * @since 1.0.0
29
- */
30
- const client_textract_1 = require("@aws-sdk/client-textract");
31
- const effect_1 = require("effect");
32
- const TextractServiceConfig = __importStar(require("./TextractServiceConfig.js"));
33
- /**
34
- * @since 1.0.0
35
- * @category tags
36
- */
37
- class TextractClientInstance extends effect_1.Context.Tag("@effect-aws/client-textract/TextractClientInstance")() {
38
- }
39
- exports.TextractClientInstance = TextractClientInstance;
40
- /**
41
- * @since 1.0.0
42
- * @category constructors
43
- */
44
- exports.make = effect_1.Effect.flatMap(TextractServiceConfig.toTextractClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_textract_1.TextractClient(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(TextractClientInstance, exports.make);
50
- //# sourceMappingURL=TextractClientInstance.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextractClientInstance.js","sourceRoot":"","sources":["../../src/TextractClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8DAA0D;AAC1D,mCAAgD;AAChD,kFAAoE;AAEpE;;;GAGG;AACH,MAAa,sBAAuB,SAAQ,gBAAO,CAAC,GAAG,CACrD,oDAAoD,CACrD,EAA0C;CAAG;AAF9C,wDAE8C;AAE9C;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,qBAAqB,CAAC,sBAAsB,EAC5C,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,gCAAc,CAAC,MAAM,CAAC,CAAC,EAC7C,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,sBAAsB,EAAE,YAAI,CAAC,CAAC"}
@@ -1,146 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import { type AnalyzeDocumentCommandInput, type AnalyzeDocumentCommandOutput, type AnalyzeExpenseCommandInput, type AnalyzeExpenseCommandOutput, type AnalyzeIDCommandInput, type AnalyzeIDCommandOutput, type CreateAdapterCommandInput, type CreateAdapterCommandOutput, type CreateAdapterVersionCommandInput, type CreateAdapterVersionCommandOutput, type DeleteAdapterCommandInput, type DeleteAdapterCommandOutput, type DeleteAdapterVersionCommandInput, type DeleteAdapterVersionCommandOutput, type DetectDocumentTextCommandInput, type DetectDocumentTextCommandOutput, type GetAdapterCommandInput, type GetAdapterCommandOutput, type GetAdapterVersionCommandInput, type GetAdapterVersionCommandOutput, type GetDocumentAnalysisCommandInput, type GetDocumentAnalysisCommandOutput, type GetDocumentTextDetectionCommandInput, type GetDocumentTextDetectionCommandOutput, type GetExpenseAnalysisCommandInput, type GetExpenseAnalysisCommandOutput, type GetLendingAnalysisCommandInput, type GetLendingAnalysisCommandOutput, type GetLendingAnalysisSummaryCommandInput, type GetLendingAnalysisSummaryCommandOutput, type ListAdaptersCommandInput, type ListAdaptersCommandOutput, type ListAdapterVersionsCommandInput, type ListAdapterVersionsCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type StartDocumentAnalysisCommandInput, type StartDocumentAnalysisCommandOutput, type StartDocumentTextDetectionCommandInput, type StartDocumentTextDetectionCommandOutput, type StartExpenseAnalysisCommandInput, type StartExpenseAnalysisCommandOutput, type StartLendingAnalysisCommandInput, type StartLendingAnalysisCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type TextractClient, type TextractClientConfig, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateAdapterCommandInput, type UpdateAdapterCommandOutput } from "@aws-sdk/client-textract";
5
- import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
6
- import type { Cause } from "effect";
7
- import { Effect, Layer } from "effect";
8
- import type { AccessDeniedError, BadDocumentError, ConflictError, DocumentTooLargeError, HumanLoopQuotaExceededError, IdempotentParameterMismatchError, InternalServerError, InvalidJobIdError, InvalidKMSKeyError, InvalidParameterError, InvalidS3ObjectError, LimitExceededError, ProvisionedThroughputExceededError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ThrottlingError, UnsupportedDocumentError, ValidationError } from "./Errors.js";
9
- import * as Instance from "./TextractClientInstance.js";
10
- interface TextractService$ {
11
- readonly _: unique symbol;
12
- /**
13
- * @see {@link AnalyzeDocumentCommand}
14
- */
15
- analyzeDocument(args: AnalyzeDocumentCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeDocumentCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | HumanLoopQuotaExceededError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
16
- /**
17
- * @see {@link AnalyzeExpenseCommand}
18
- */
19
- analyzeExpense(args: AnalyzeExpenseCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeExpenseCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
20
- /**
21
- * @see {@link AnalyzeIDCommand}
22
- */
23
- analyzeID(args: AnalyzeIDCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeIDCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
24
- /**
25
- * @see {@link CreateAdapterCommand}
26
- */
27
- createAdapter(args: CreateAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAdapterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | IdempotentParameterMismatchError | InternalServerError | InvalidParameterError | LimitExceededError | ProvisionedThroughputExceededError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
28
- /**
29
- * @see {@link CreateAdapterVersionCommand}
30
- */
31
- createAdapterVersion(args: CreateAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAdapterVersionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
32
- /**
33
- * @see {@link DeleteAdapterCommand}
34
- */
35
- deleteAdapter(args: DeleteAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAdapterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
36
- /**
37
- * @see {@link DeleteAdapterVersionCommand}
38
- */
39
- deleteAdapterVersion(args: DeleteAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAdapterVersionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
40
- /**
41
- * @see {@link DetectDocumentTextCommand}
42
- */
43
- detectDocumentText(args: DetectDocumentTextCommandInput, options?: HttpHandlerOptions): Effect.Effect<DetectDocumentTextCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
44
- /**
45
- * @see {@link GetAdapterCommand}
46
- */
47
- getAdapter(args: GetAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAdapterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
48
- /**
49
- * @see {@link GetAdapterVersionCommand}
50
- */
51
- getAdapterVersion(args: GetAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAdapterVersionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
52
- /**
53
- * @see {@link GetDocumentAnalysisCommand}
54
- */
55
- getDocumentAnalysis(args: GetDocumentAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDocumentAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
56
- /**
57
- * @see {@link GetDocumentTextDetectionCommand}
58
- */
59
- getDocumentTextDetection(args: GetDocumentTextDetectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDocumentTextDetectionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
60
- /**
61
- * @see {@link GetExpenseAnalysisCommand}
62
- */
63
- getExpenseAnalysis(args: GetExpenseAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetExpenseAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
64
- /**
65
- * @see {@link GetLendingAnalysisCommand}
66
- */
67
- getLendingAnalysis(args: GetLendingAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLendingAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
68
- /**
69
- * @see {@link GetLendingAnalysisSummaryCommand}
70
- */
71
- getLendingAnalysisSummary(args: GetLendingAnalysisSummaryCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLendingAnalysisSummaryCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
72
- /**
73
- * @see {@link ListAdapterVersionsCommand}
74
- */
75
- listAdapterVersions(args: ListAdapterVersionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAdapterVersionsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
76
- /**
77
- * @see {@link ListAdaptersCommand}
78
- */
79
- listAdapters(args: ListAdaptersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAdaptersCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ThrottlingError | ValidationError>;
80
- /**
81
- * @see {@link ListTagsForResourceCommand}
82
- */
83
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
84
- /**
85
- * @see {@link StartDocumentAnalysisCommand}
86
- */
87
- startDocumentAnalysis(args: StartDocumentAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDocumentAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
88
- /**
89
- * @see {@link StartDocumentTextDetectionCommand}
90
- */
91
- startDocumentTextDetection(args: StartDocumentTextDetectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDocumentTextDetectionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
92
- /**
93
- * @see {@link StartExpenseAnalysisCommand}
94
- */
95
- startExpenseAnalysis(args: StartExpenseAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartExpenseAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
96
- /**
97
- * @see {@link StartLendingAnalysisCommand}
98
- */
99
- startLendingAnalysis(args: StartLendingAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartLendingAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
100
- /**
101
- * @see {@link TagResourceCommand}
102
- */
103
- tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
104
- /**
105
- * @see {@link UntagResourceCommand}
106
- */
107
- untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
108
- /**
109
- * @see {@link UpdateAdapterCommand}
110
- */
111
- updateAdapter(args: UpdateAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAdapterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
112
- }
113
- /**
114
- * @since 1.0.0
115
- * @category constructors
116
- */
117
- export declare const makeTextractService: Effect.Effect<TextractService$, never, Instance.TextractClientInstance>;
118
- declare const TextractService_base: import("effect/Context").TagClass<TextractService, "@effect-aws/client-textract/TextractService", TextractService$> & Effect.Tag.Proxy<TextractService, TextractService$> & {
119
- use: <X>(body: (_: TextractService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, TextractService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, TextractService> : Effect.Effect<X, never, TextractService>;
120
- };
121
- /**
122
- * @since 1.0.0
123
- * @category models
124
- */
125
- export declare class TextractService extends TextractService_base {
126
- static readonly defaultLayer: Layer.Layer<TextractService, never, never>;
127
- static readonly layer: (config: TextractService.Config) => Layer.Layer<TextractService, never, never>;
128
- static readonly baseLayer: (evaluate: (defaultConfig: TextractClientConfig) => TextractClient) => Layer.Layer<TextractService, never, never>;
129
- }
130
- /**
131
- * @since 1.0.0
132
- */
133
- export declare namespace TextractService {
134
- /**
135
- * @since 1.0.0
136
- */
137
- interface Config extends Omit<TextractClientConfig, "logger"> {
138
- readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
139
- }
140
- /**
141
- * @since 1.0.0
142
- */
143
- type Type = TextractService$;
144
- }
145
- export {};
146
- //# sourceMappingURL=TextractService.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextractService.d.ts","sourceRoot":"","sources":["../../src/TextractService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,0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