@effect-aws/client-textract 1.9.5 → 1.10.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.
- package/dist/cjs/TextractService.d.ts +27 -26
- package/dist/cjs/TextractService.d.ts.map +1 -1
- package/dist/cjs/TextractService.js +1 -1
- package/dist/cjs/TextractService.js.map +1 -1
- package/dist/dts/TextractService.d.ts +27 -26
- package/dist/dts/TextractService.d.ts.map +1 -1
- package/dist/esm/TextractService.js +1 -1
- package/dist/esm/TextractService.js.map +1 -1
- package/package.json +2 -2
- package/src/TextractService.ts +27 -1
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
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
5
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
8
|
import type { AccessDeniedError, BadDocumentError, ConflictError, DocumentTooLargeError, HumanLoopQuotaExceededError, IdempotentParameterMismatchError, InternalServerError, InvalidJobIdError, InvalidKMSKeyError, InvalidParameterError, InvalidS3ObjectError, LimitExceededError, ProvisionedThroughputExceededError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, UnsupportedDocumentError, ValidationError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./TextractClientInstance.js";
|
|
@@ -11,103 +12,103 @@ interface TextractService$ {
|
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link AnalyzeDocumentCommand}
|
|
13
14
|
*/
|
|
14
|
-
analyzeDocument(args: AnalyzeDocumentCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeDocumentCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | HumanLoopQuotaExceededError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
15
|
+
analyzeDocument(args: AnalyzeDocumentCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeDocumentCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | HumanLoopQuotaExceededError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link AnalyzeExpenseCommand}
|
|
17
18
|
*/
|
|
18
|
-
analyzeExpense(args: AnalyzeExpenseCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeExpenseCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
19
|
+
analyzeExpense(args: AnalyzeExpenseCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeExpenseCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link AnalyzeIDCommand}
|
|
21
22
|
*/
|
|
22
|
-
analyzeID(args: AnalyzeIDCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeIDCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
23
|
+
analyzeID(args: AnalyzeIDCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeIDCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link CreateAdapterCommand}
|
|
25
26
|
*/
|
|
26
|
-
createAdapter(args: CreateAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAdapterCommandOutput, SdkError | AccessDeniedError | ConflictError | IdempotentParameterMismatchError | InternalServerError | InvalidParameterError | LimitExceededError | ProvisionedThroughputExceededError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
27
|
+
createAdapter(args: CreateAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAdapterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | IdempotentParameterMismatchError | InternalServerError | InvalidParameterError | LimitExceededError | ProvisionedThroughputExceededError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link CreateAdapterVersionCommand}
|
|
29
30
|
*/
|
|
30
|
-
createAdapterVersion(args: CreateAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAdapterVersionCommandOutput, SdkError | AccessDeniedError | ConflictError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
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>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link DeleteAdapterCommand}
|
|
33
34
|
*/
|
|
34
|
-
deleteAdapter(args: DeleteAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAdapterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
|
+
deleteAdapter(args: DeleteAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAdapterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link DeleteAdapterVersionCommand}
|
|
37
38
|
*/
|
|
38
|
-
deleteAdapterVersion(args: DeleteAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAdapterVersionCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
39
|
+
deleteAdapterVersion(args: DeleteAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAdapterVersionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link DetectDocumentTextCommand}
|
|
41
42
|
*/
|
|
42
|
-
detectDocumentText(args: DetectDocumentTextCommandInput, options?: HttpHandlerOptions): Effect.Effect<DetectDocumentTextCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
43
|
+
detectDocumentText(args: DetectDocumentTextCommandInput, options?: HttpHandlerOptions): Effect.Effect<DetectDocumentTextCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link GetAdapterCommand}
|
|
45
46
|
*/
|
|
46
|
-
getAdapter(args: GetAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAdapterCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
|
+
getAdapter(args: GetAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAdapterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link GetAdapterVersionCommand}
|
|
49
50
|
*/
|
|
50
|
-
getAdapterVersion(args: GetAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAdapterVersionCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
51
|
+
getAdapterVersion(args: GetAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAdapterVersionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link GetDocumentAnalysisCommand}
|
|
53
54
|
*/
|
|
54
|
-
getDocumentAnalysis(args: GetDocumentAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDocumentAnalysisCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
55
|
+
getDocumentAnalysis(args: GetDocumentAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDocumentAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link GetDocumentTextDetectionCommand}
|
|
57
58
|
*/
|
|
58
|
-
getDocumentTextDetection(args: GetDocumentTextDetectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDocumentTextDetectionCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
59
|
+
getDocumentTextDetection(args: GetDocumentTextDetectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDocumentTextDetectionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
59
60
|
/**
|
|
60
61
|
* @see {@link GetExpenseAnalysisCommand}
|
|
61
62
|
*/
|
|
62
|
-
getExpenseAnalysis(args: GetExpenseAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetExpenseAnalysisCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
63
|
+
getExpenseAnalysis(args: GetExpenseAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetExpenseAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
63
64
|
/**
|
|
64
65
|
* @see {@link GetLendingAnalysisCommand}
|
|
65
66
|
*/
|
|
66
|
-
getLendingAnalysis(args: GetLendingAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLendingAnalysisCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
67
|
+
getLendingAnalysis(args: GetLendingAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLendingAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
67
68
|
/**
|
|
68
69
|
* @see {@link GetLendingAnalysisSummaryCommand}
|
|
69
70
|
*/
|
|
70
|
-
getLendingAnalysisSummary(args: GetLendingAnalysisSummaryCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLendingAnalysisSummaryCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
71
|
+
getLendingAnalysisSummary(args: GetLendingAnalysisSummaryCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLendingAnalysisSummaryCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
71
72
|
/**
|
|
72
73
|
* @see {@link ListAdapterVersionsCommand}
|
|
73
74
|
*/
|
|
74
|
-
listAdapterVersions(args: ListAdapterVersionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAdapterVersionsCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
75
|
+
listAdapterVersions(args: ListAdapterVersionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAdapterVersionsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
75
76
|
/**
|
|
76
77
|
* @see {@link ListAdaptersCommand}
|
|
77
78
|
*/
|
|
78
|
-
listAdapters(args: ListAdaptersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAdaptersCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ThrottlingError | ValidationError>;
|
|
79
|
+
listAdapters(args: ListAdaptersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAdaptersCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ThrottlingError | ValidationError>;
|
|
79
80
|
/**
|
|
80
81
|
* @see {@link ListTagsForResourceCommand}
|
|
81
82
|
*/
|
|
82
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
83
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
83
84
|
/**
|
|
84
85
|
* @see {@link StartDocumentAnalysisCommand}
|
|
85
86
|
*/
|
|
86
|
-
startDocumentAnalysis(args: StartDocumentAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDocumentAnalysisCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
87
|
+
startDocumentAnalysis(args: StartDocumentAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDocumentAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
87
88
|
/**
|
|
88
89
|
* @see {@link StartDocumentTextDetectionCommand}
|
|
89
90
|
*/
|
|
90
|
-
startDocumentTextDetection(args: StartDocumentTextDetectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDocumentTextDetectionCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
91
|
+
startDocumentTextDetection(args: StartDocumentTextDetectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDocumentTextDetectionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
91
92
|
/**
|
|
92
93
|
* @see {@link StartExpenseAnalysisCommand}
|
|
93
94
|
*/
|
|
94
|
-
startExpenseAnalysis(args: StartExpenseAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartExpenseAnalysisCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
95
|
+
startExpenseAnalysis(args: StartExpenseAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartExpenseAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
95
96
|
/**
|
|
96
97
|
* @see {@link StartLendingAnalysisCommand}
|
|
97
98
|
*/
|
|
98
|
-
startLendingAnalysis(args: StartLendingAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartLendingAnalysisCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
99
|
+
startLendingAnalysis(args: StartLendingAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartLendingAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
99
100
|
/**
|
|
100
101
|
* @see {@link TagResourceCommand}
|
|
101
102
|
*/
|
|
102
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
103
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
103
104
|
/**
|
|
104
105
|
* @see {@link UntagResourceCommand}
|
|
105
106
|
*/
|
|
106
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
107
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
107
108
|
/**
|
|
108
109
|
* @see {@link UpdateAdapterCommand}
|
|
109
110
|
*/
|
|
110
|
-
updateAdapter(args: UpdateAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAdapterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
111
|
+
updateAdapter(args: UpdateAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAdapterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
111
112
|
}
|
|
112
113
|
/**
|
|
113
114
|
* @since 1.0.0
|
|
@@ -115,7 +116,7 @@ interface TextractService$ {
|
|
|
115
116
|
*/
|
|
116
117
|
export declare const makeTextractService: Effect.Effect<TextractService$, never, Instance.TextractClientInstance>;
|
|
117
118
|
declare const TextractService_base: import("effect/Context").TagClass<TextractService, "@effect-aws/client-textract/TextractService", TextractService$> & Effect.Tag.Proxy<TextractService, TextractService$> & {
|
|
118
|
-
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,
|
|
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>;
|
|
119
120
|
};
|
|
120
121
|
/**
|
|
121
122
|
* @since 1.0.0
|
|
@@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IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,6CAA+E;IAC3G,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,gBAAgB,MAAM,gDAInD;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,oBAAoB,KAAK,cAAc,gDAS/D;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,oBAAoB,EAAE,QAAQ,CAAC;QAClE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
|
@@ -66,7 +66,7 @@ const commands = {
|
|
|
66
66
|
*/
|
|
67
67
|
exports.makeTextractService = effect_1.Effect.gen(function* () {
|
|
68
68
|
const client = yield* Instance.TextractClientInstance;
|
|
69
|
-
return commons_1.Service.fromClientAndCommands(client, commands, {
|
|
69
|
+
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
70
70
|
errorTags: Errors_js_1.AllServiceErrors,
|
|
71
71
|
resolveClientConfig: TextractServiceConfig.toTextractClientConfig,
|
|
72
72
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextractService.js","sourceRoot":"","sources":["../../src/TextractService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8DA8EkC;AAElC,iDAA8C;
|
|
1
|
+
{"version":3,"file":"TextractService.js","sourceRoot":"","sources":["../../src/TextractService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,8DA8EkC;AAElC,iDAA8C;AAE9C,mCAAuC;AAqBvC,2CAA+C;AAC/C,sEAAwD;AACxD,kFAAoE;AAEpE,MAAM,QAAQ,GAAG;IACf,sBAAsB,EAAtB,wCAAsB;IACtB,qBAAqB,EAArB,uCAAqB;IACrB,gBAAgB,EA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AO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3G,MAAM,CAAU,KAAK,GAAG,CAAC,MAA8B,EAAE,EAAE,CACzD,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,2BAAmB,CAAC,CAAC,IAAI,CAC1C,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,cAAK,CAAC,OAAO,CAAC,qBAAqB,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC,CACtE,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAiE,EACjE,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,2BAAmB,CAAC,CAAC,IAAI,CAC1C,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,sBAAsB,EAC/B,eAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,sBAAsB,EAAE,QAAQ,CAAC,CACnE,CACF,CACF,CAAC;;AApBN,0CAqBC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
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
5
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
8
|
import type { AccessDeniedError, BadDocumentError, ConflictError, DocumentTooLargeError, HumanLoopQuotaExceededError, IdempotentParameterMismatchError, InternalServerError, InvalidJobIdError, InvalidKMSKeyError, InvalidParameterError, InvalidS3ObjectError, LimitExceededError, ProvisionedThroughputExceededError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, UnsupportedDocumentError, ValidationError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./TextractClientInstance.js";
|
|
@@ -11,103 +12,103 @@ interface TextractService$ {
|
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link AnalyzeDocumentCommand}
|
|
13
14
|
*/
|
|
14
|
-
analyzeDocument(args: AnalyzeDocumentCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeDocumentCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | HumanLoopQuotaExceededError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
15
|
+
analyzeDocument(args: AnalyzeDocumentCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeDocumentCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | HumanLoopQuotaExceededError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link AnalyzeExpenseCommand}
|
|
17
18
|
*/
|
|
18
|
-
analyzeExpense(args: AnalyzeExpenseCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeExpenseCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
19
|
+
analyzeExpense(args: AnalyzeExpenseCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeExpenseCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link AnalyzeIDCommand}
|
|
21
22
|
*/
|
|
22
|
-
analyzeID(args: AnalyzeIDCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeIDCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
23
|
+
analyzeID(args: AnalyzeIDCommandInput, options?: HttpHandlerOptions): Effect.Effect<AnalyzeIDCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link CreateAdapterCommand}
|
|
25
26
|
*/
|
|
26
|
-
createAdapter(args: CreateAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAdapterCommandOutput, SdkError | AccessDeniedError | ConflictError | IdempotentParameterMismatchError | InternalServerError | InvalidParameterError | LimitExceededError | ProvisionedThroughputExceededError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
27
|
+
createAdapter(args: CreateAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAdapterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | IdempotentParameterMismatchError | InternalServerError | InvalidParameterError | LimitExceededError | ProvisionedThroughputExceededError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link CreateAdapterVersionCommand}
|
|
29
30
|
*/
|
|
30
|
-
createAdapterVersion(args: CreateAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateAdapterVersionCommandOutput, SdkError | AccessDeniedError | ConflictError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
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>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link DeleteAdapterCommand}
|
|
33
34
|
*/
|
|
34
|
-
deleteAdapter(args: DeleteAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAdapterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
|
+
deleteAdapter(args: DeleteAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAdapterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link DeleteAdapterVersionCommand}
|
|
37
38
|
*/
|
|
38
|
-
deleteAdapterVersion(args: DeleteAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAdapterVersionCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
39
|
+
deleteAdapterVersion(args: DeleteAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAdapterVersionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link DetectDocumentTextCommand}
|
|
41
42
|
*/
|
|
42
|
-
detectDocumentText(args: DetectDocumentTextCommandInput, options?: HttpHandlerOptions): Effect.Effect<DetectDocumentTextCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
43
|
+
detectDocumentText(args: DetectDocumentTextCommandInput, options?: HttpHandlerOptions): Effect.Effect<DetectDocumentTextCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | InternalServerError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link GetAdapterCommand}
|
|
45
46
|
*/
|
|
46
|
-
getAdapter(args: GetAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAdapterCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
|
+
getAdapter(args: GetAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAdapterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link GetAdapterVersionCommand}
|
|
49
50
|
*/
|
|
50
|
-
getAdapterVersion(args: GetAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAdapterVersionCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
51
|
+
getAdapterVersion(args: GetAdapterVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAdapterVersionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link GetDocumentAnalysisCommand}
|
|
53
54
|
*/
|
|
54
|
-
getDocumentAnalysis(args: GetDocumentAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDocumentAnalysisCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
55
|
+
getDocumentAnalysis(args: GetDocumentAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDocumentAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link GetDocumentTextDetectionCommand}
|
|
57
58
|
*/
|
|
58
|
-
getDocumentTextDetection(args: GetDocumentTextDetectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDocumentTextDetectionCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
59
|
+
getDocumentTextDetection(args: GetDocumentTextDetectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetDocumentTextDetectionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
59
60
|
/**
|
|
60
61
|
* @see {@link GetExpenseAnalysisCommand}
|
|
61
62
|
*/
|
|
62
|
-
getExpenseAnalysis(args: GetExpenseAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetExpenseAnalysisCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
63
|
+
getExpenseAnalysis(args: GetExpenseAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetExpenseAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
63
64
|
/**
|
|
64
65
|
* @see {@link GetLendingAnalysisCommand}
|
|
65
66
|
*/
|
|
66
|
-
getLendingAnalysis(args: GetLendingAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLendingAnalysisCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
67
|
+
getLendingAnalysis(args: GetLendingAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLendingAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
67
68
|
/**
|
|
68
69
|
* @see {@link GetLendingAnalysisSummaryCommand}
|
|
69
70
|
*/
|
|
70
|
-
getLendingAnalysisSummary(args: GetLendingAnalysisSummaryCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLendingAnalysisSummaryCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
71
|
+
getLendingAnalysisSummary(args: GetLendingAnalysisSummaryCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetLendingAnalysisSummaryCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidJobIdError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | ProvisionedThroughputExceededError | ThrottlingError>;
|
|
71
72
|
/**
|
|
72
73
|
* @see {@link ListAdapterVersionsCommand}
|
|
73
74
|
*/
|
|
74
|
-
listAdapterVersions(args: ListAdapterVersionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAdapterVersionsCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
75
|
+
listAdapterVersions(args: ListAdapterVersionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAdapterVersionsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
75
76
|
/**
|
|
76
77
|
* @see {@link ListAdaptersCommand}
|
|
77
78
|
*/
|
|
78
|
-
listAdapters(args: ListAdaptersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAdaptersCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ThrottlingError | ValidationError>;
|
|
79
|
+
listAdapters(args: ListAdaptersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListAdaptersCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ThrottlingError | ValidationError>;
|
|
79
80
|
/**
|
|
80
81
|
* @see {@link ListTagsForResourceCommand}
|
|
81
82
|
*/
|
|
82
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
83
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
83
84
|
/**
|
|
84
85
|
* @see {@link StartDocumentAnalysisCommand}
|
|
85
86
|
*/
|
|
86
|
-
startDocumentAnalysis(args: StartDocumentAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDocumentAnalysisCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
87
|
+
startDocumentAnalysis(args: StartDocumentAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDocumentAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
87
88
|
/**
|
|
88
89
|
* @see {@link StartDocumentTextDetectionCommand}
|
|
89
90
|
*/
|
|
90
|
-
startDocumentTextDetection(args: StartDocumentTextDetectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDocumentTextDetectionCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
91
|
+
startDocumentTextDetection(args: StartDocumentTextDetectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartDocumentTextDetectionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
91
92
|
/**
|
|
92
93
|
* @see {@link StartExpenseAnalysisCommand}
|
|
93
94
|
*/
|
|
94
|
-
startExpenseAnalysis(args: StartExpenseAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartExpenseAnalysisCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
95
|
+
startExpenseAnalysis(args: StartExpenseAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartExpenseAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
95
96
|
/**
|
|
96
97
|
* @see {@link StartLendingAnalysisCommand}
|
|
97
98
|
*/
|
|
98
|
-
startLendingAnalysis(args: StartLendingAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartLendingAnalysisCommandOutput, SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
99
|
+
startLendingAnalysis(args: StartLendingAnalysisCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartLendingAnalysisCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | BadDocumentError | DocumentTooLargeError | IdempotentParameterMismatchError | InternalServerError | InvalidKMSKeyError | InvalidParameterError | InvalidS3ObjectError | LimitExceededError | ProvisionedThroughputExceededError | ThrottlingError | UnsupportedDocumentError>;
|
|
99
100
|
/**
|
|
100
101
|
* @see {@link TagResourceCommand}
|
|
101
102
|
*/
|
|
102
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
103
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
103
104
|
/**
|
|
104
105
|
* @see {@link UntagResourceCommand}
|
|
105
106
|
*/
|
|
106
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
107
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
107
108
|
/**
|
|
108
109
|
* @see {@link UpdateAdapterCommand}
|
|
109
110
|
*/
|
|
110
|
-
updateAdapter(args: UpdateAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAdapterCommandOutput, SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
111
|
+
updateAdapter(args: UpdateAdapterCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateAdapterCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | InvalidParameterError | ProvisionedThroughputExceededError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
111
112
|
}
|
|
112
113
|
/**
|
|
113
114
|
* @since 1.0.0
|
|
@@ -115,7 +116,7 @@ interface TextractService$ {
|
|
|
115
116
|
*/
|
|
116
117
|
export declare const makeTextractService: Effect.Effect<TextractService$, never, Instance.TextractClientInstance>;
|
|
117
118
|
declare const TextractService_base: import("effect/Context").TagClass<TextractService, "@effect-aws/client-textract/TextractService", TextractService$> & Effect.Tag.Proxy<TextractService, TextractService$> & {
|
|
118
|
-
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,
|
|
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>;
|
|
119
120
|
};
|
|
120
121
|
/**
|
|
121
122
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
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,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAE3B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EAEtC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAE1C,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,sCAAsC,EAC3C,KAAK,uCAAuC,EAE5C,KAAK,gC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C,gBAAgB,GACtB,QAAQ,GACR,iBAAiB,GACjB,aAAa,GACb,mBAAmB,GACnB,qBAAqB,GACrB,kCAAkC,GAClC,qBAAqB,GACrB,eAAe,GACf,eAAe,CAClB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,yEAW9B,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,oBAGlC;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,6CAA+E;IAC3G,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,gBAAgB,MAAM,gDAInD;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,oBAAoB,KAAK,cAAc,gDAS/D;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,oBAAoB,EAAE,QAAQ,CAAC;QAClE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
|
@@ -40,7 +40,7 @@ const commands = {
|
|
|
40
40
|
*/
|
|
41
41
|
export const makeTextractService = Effect.gen(function* () {
|
|
42
42
|
const client = yield* Instance.TextractClientInstance;
|
|
43
|
-
return Service.fromClientAndCommands(client, commands, {
|
|
43
|
+
return yield* Service.fromClientAndCommands(client, commands, {
|
|
44
44
|
errorTags: AllServiceErrors,
|
|
45
45
|
resolveClientConfig: TextractServiceConfig.toTextractClientConfig,
|
|
46
46
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextractService.js","sourceRoot":"","sources":["../../src/TextractService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,sBAAsB,EAGtB,qBAAqB,EAGrB,gBAAgB,EAGhB,oBAAoB,EAGpB,2BAA2B,EAG3B,oBAAoB,EAGpB,2BAA2B,EAG3B,yBAAyB,EAGzB,iBAAiB,E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AAM,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC,IAAI,CAC1C,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,sBAAsB,EAC/B,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,sBAAsB,EAAE,QAAQ,CAAC,CACnE,CACF,CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-textract",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "Effectful AWS Textract client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-textract",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-textract": "^3",
|
|
19
|
-
"@effect-aws/commons": "^0.
|
|
19
|
+
"@effect-aws/commons": "^0.3.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"effect": ">=3.0.4 <4.0.0"
|
package/src/TextractService.ts
CHANGED
|
@@ -82,6 +82,7 @@ import {
|
|
|
82
82
|
} from "@aws-sdk/client-textract";
|
|
83
83
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
84
84
|
import { Service } from "@effect-aws/commons";
|
|
85
|
+
import type { Cause } from "effect";
|
|
85
86
|
import { Effect, Layer } from "effect";
|
|
86
87
|
import type {
|
|
87
88
|
AccessDeniedError,
|
|
@@ -146,6 +147,7 @@ interface TextractService$ {
|
|
|
146
147
|
options?: HttpHandlerOptions,
|
|
147
148
|
): Effect.Effect<
|
|
148
149
|
AnalyzeDocumentCommandOutput,
|
|
150
|
+
| Cause.TimeoutException
|
|
149
151
|
| SdkError
|
|
150
152
|
| AccessDeniedError
|
|
151
153
|
| BadDocumentError
|
|
@@ -167,6 +169,7 @@ interface TextractService$ {
|
|
|
167
169
|
options?: HttpHandlerOptions,
|
|
168
170
|
): Effect.Effect<
|
|
169
171
|
AnalyzeExpenseCommandOutput,
|
|
172
|
+
| Cause.TimeoutException
|
|
170
173
|
| SdkError
|
|
171
174
|
| AccessDeniedError
|
|
172
175
|
| BadDocumentError
|
|
@@ -187,6 +190,7 @@ interface TextractService$ {
|
|
|
187
190
|
options?: HttpHandlerOptions,
|
|
188
191
|
): Effect.Effect<
|
|
189
192
|
AnalyzeIDCommandOutput,
|
|
193
|
+
| Cause.TimeoutException
|
|
190
194
|
| SdkError
|
|
191
195
|
| AccessDeniedError
|
|
192
196
|
| BadDocumentError
|
|
@@ -207,6 +211,7 @@ interface TextractService$ {
|
|
|
207
211
|
options?: HttpHandlerOptions,
|
|
208
212
|
): Effect.Effect<
|
|
209
213
|
CreateAdapterCommandOutput,
|
|
214
|
+
| Cause.TimeoutException
|
|
210
215
|
| SdkError
|
|
211
216
|
| AccessDeniedError
|
|
212
217
|
| ConflictError
|
|
@@ -228,6 +233,7 @@ interface TextractService$ {
|
|
|
228
233
|
options?: HttpHandlerOptions,
|
|
229
234
|
): Effect.Effect<
|
|
230
235
|
CreateAdapterVersionCommandOutput,
|
|
236
|
+
| Cause.TimeoutException
|
|
231
237
|
| SdkError
|
|
232
238
|
| AccessDeniedError
|
|
233
239
|
| ConflictError
|
|
@@ -252,6 +258,7 @@ interface TextractService$ {
|
|
|
252
258
|
options?: HttpHandlerOptions,
|
|
253
259
|
): Effect.Effect<
|
|
254
260
|
DeleteAdapterCommandOutput,
|
|
261
|
+
| Cause.TimeoutException
|
|
255
262
|
| SdkError
|
|
256
263
|
| AccessDeniedError
|
|
257
264
|
| ConflictError
|
|
@@ -271,6 +278,7 @@ interface TextractService$ {
|
|
|
271
278
|
options?: HttpHandlerOptions,
|
|
272
279
|
): Effect.Effect<
|
|
273
280
|
DeleteAdapterVersionCommandOutput,
|
|
281
|
+
| Cause.TimeoutException
|
|
274
282
|
| SdkError
|
|
275
283
|
| AccessDeniedError
|
|
276
284
|
| ConflictError
|
|
@@ -290,6 +298,7 @@ interface TextractService$ {
|
|
|
290
298
|
options?: HttpHandlerOptions,
|
|
291
299
|
): Effect.Effect<
|
|
292
300
|
DetectDocumentTextCommandOutput,
|
|
301
|
+
| Cause.TimeoutException
|
|
293
302
|
| SdkError
|
|
294
303
|
| AccessDeniedError
|
|
295
304
|
| BadDocumentError
|
|
@@ -310,6 +319,7 @@ interface TextractService$ {
|
|
|
310
319
|
options?: HttpHandlerOptions,
|
|
311
320
|
): Effect.Effect<
|
|
312
321
|
GetAdapterCommandOutput,
|
|
322
|
+
| Cause.TimeoutException
|
|
313
323
|
| SdkError
|
|
314
324
|
| AccessDeniedError
|
|
315
325
|
| InternalServerError
|
|
@@ -328,6 +338,7 @@ interface TextractService$ {
|
|
|
328
338
|
options?: HttpHandlerOptions,
|
|
329
339
|
): Effect.Effect<
|
|
330
340
|
GetAdapterVersionCommandOutput,
|
|
341
|
+
| Cause.TimeoutException
|
|
331
342
|
| SdkError
|
|
332
343
|
| AccessDeniedError
|
|
333
344
|
| InternalServerError
|
|
@@ -346,6 +357,7 @@ interface TextractService$ {
|
|
|
346
357
|
options?: HttpHandlerOptions,
|
|
347
358
|
): Effect.Effect<
|
|
348
359
|
GetDocumentAnalysisCommandOutput,
|
|
360
|
+
| Cause.TimeoutException
|
|
349
361
|
| SdkError
|
|
350
362
|
| AccessDeniedError
|
|
351
363
|
| InternalServerError
|
|
@@ -365,6 +377,7 @@ interface TextractService$ {
|
|
|
365
377
|
options?: HttpHandlerOptions,
|
|
366
378
|
): Effect.Effect<
|
|
367
379
|
GetDocumentTextDetectionCommandOutput,
|
|
380
|
+
| Cause.TimeoutException
|
|
368
381
|
| SdkError
|
|
369
382
|
| AccessDeniedError
|
|
370
383
|
| InternalServerError
|
|
@@ -384,6 +397,7 @@ interface TextractService$ {
|
|
|
384
397
|
options?: HttpHandlerOptions,
|
|
385
398
|
): Effect.Effect<
|
|
386
399
|
GetExpenseAnalysisCommandOutput,
|
|
400
|
+
| Cause.TimeoutException
|
|
387
401
|
| SdkError
|
|
388
402
|
| AccessDeniedError
|
|
389
403
|
| InternalServerError
|
|
@@ -403,6 +417,7 @@ interface TextractService$ {
|
|
|
403
417
|
options?: HttpHandlerOptions,
|
|
404
418
|
): Effect.Effect<
|
|
405
419
|
GetLendingAnalysisCommandOutput,
|
|
420
|
+
| Cause.TimeoutException
|
|
406
421
|
| SdkError
|
|
407
422
|
| AccessDeniedError
|
|
408
423
|
| InternalServerError
|
|
@@ -422,6 +437,7 @@ interface TextractService$ {
|
|
|
422
437
|
options?: HttpHandlerOptions,
|
|
423
438
|
): Effect.Effect<
|
|
424
439
|
GetLendingAnalysisSummaryCommandOutput,
|
|
440
|
+
| Cause.TimeoutException
|
|
425
441
|
| SdkError
|
|
426
442
|
| AccessDeniedError
|
|
427
443
|
| InternalServerError
|
|
@@ -441,6 +457,7 @@ interface TextractService$ {
|
|
|
441
457
|
options?: HttpHandlerOptions,
|
|
442
458
|
): Effect.Effect<
|
|
443
459
|
ListAdapterVersionsCommandOutput,
|
|
460
|
+
| Cause.TimeoutException
|
|
444
461
|
| SdkError
|
|
445
462
|
| AccessDeniedError
|
|
446
463
|
| InternalServerError
|
|
@@ -459,6 +476,7 @@ interface TextractService$ {
|
|
|
459
476
|
options?: HttpHandlerOptions,
|
|
460
477
|
): Effect.Effect<
|
|
461
478
|
ListAdaptersCommandOutput,
|
|
479
|
+
| Cause.TimeoutException
|
|
462
480
|
| SdkError
|
|
463
481
|
| AccessDeniedError
|
|
464
482
|
| InternalServerError
|
|
@@ -476,6 +494,7 @@ interface TextractService$ {
|
|
|
476
494
|
options?: HttpHandlerOptions,
|
|
477
495
|
): Effect.Effect<
|
|
478
496
|
ListTagsForResourceCommandOutput,
|
|
497
|
+
| Cause.TimeoutException
|
|
479
498
|
| SdkError
|
|
480
499
|
| AccessDeniedError
|
|
481
500
|
| InternalServerError
|
|
@@ -494,6 +513,7 @@ interface TextractService$ {
|
|
|
494
513
|
options?: HttpHandlerOptions,
|
|
495
514
|
): Effect.Effect<
|
|
496
515
|
StartDocumentAnalysisCommandOutput,
|
|
516
|
+
| Cause.TimeoutException
|
|
497
517
|
| SdkError
|
|
498
518
|
| AccessDeniedError
|
|
499
519
|
| BadDocumentError
|
|
@@ -517,6 +537,7 @@ interface TextractService$ {
|
|
|
517
537
|
options?: HttpHandlerOptions,
|
|
518
538
|
): Effect.Effect<
|
|
519
539
|
StartDocumentTextDetectionCommandOutput,
|
|
540
|
+
| Cause.TimeoutException
|
|
520
541
|
| SdkError
|
|
521
542
|
| AccessDeniedError
|
|
522
543
|
| BadDocumentError
|
|
@@ -540,6 +561,7 @@ interface TextractService$ {
|
|
|
540
561
|
options?: HttpHandlerOptions,
|
|
541
562
|
): Effect.Effect<
|
|
542
563
|
StartExpenseAnalysisCommandOutput,
|
|
564
|
+
| Cause.TimeoutException
|
|
543
565
|
| SdkError
|
|
544
566
|
| AccessDeniedError
|
|
545
567
|
| BadDocumentError
|
|
@@ -563,6 +585,7 @@ interface TextractService$ {
|
|
|
563
585
|
options?: HttpHandlerOptions,
|
|
564
586
|
): Effect.Effect<
|
|
565
587
|
StartLendingAnalysisCommandOutput,
|
|
588
|
+
| Cause.TimeoutException
|
|
566
589
|
| SdkError
|
|
567
590
|
| AccessDeniedError
|
|
568
591
|
| BadDocumentError
|
|
@@ -586,6 +609,7 @@ interface TextractService$ {
|
|
|
586
609
|
options?: HttpHandlerOptions,
|
|
587
610
|
): Effect.Effect<
|
|
588
611
|
TagResourceCommandOutput,
|
|
612
|
+
| Cause.TimeoutException
|
|
589
613
|
| SdkError
|
|
590
614
|
| AccessDeniedError
|
|
591
615
|
| InternalServerError
|
|
@@ -605,6 +629,7 @@ interface TextractService$ {
|
|
|
605
629
|
options?: HttpHandlerOptions,
|
|
606
630
|
): Effect.Effect<
|
|
607
631
|
UntagResourceCommandOutput,
|
|
632
|
+
| Cause.TimeoutException
|
|
608
633
|
| SdkError
|
|
609
634
|
| AccessDeniedError
|
|
610
635
|
| InternalServerError
|
|
@@ -623,6 +648,7 @@ interface TextractService$ {
|
|
|
623
648
|
options?: HttpHandlerOptions,
|
|
624
649
|
): Effect.Effect<
|
|
625
650
|
UpdateAdapterCommandOutput,
|
|
651
|
+
| Cause.TimeoutException
|
|
626
652
|
| SdkError
|
|
627
653
|
| AccessDeniedError
|
|
628
654
|
| ConflictError
|
|
@@ -642,7 +668,7 @@ interface TextractService$ {
|
|
|
642
668
|
export const makeTextractService = Effect.gen(function*() {
|
|
643
669
|
const client = yield* Instance.TextractClientInstance;
|
|
644
670
|
|
|
645
|
-
return Service.fromClientAndCommands<TextractService$>(
|
|
671
|
+
return yield* Service.fromClientAndCommands<TextractService$>(
|
|
646
672
|
client,
|
|
647
673
|
commands,
|
|
648
674
|
{
|