@aws-sdk/client-textract 3.1172.0 → 3.1174.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/README.md +91 -0
- package/dist-cjs/index.js +611 -10
- package/dist-es/Textract.js +30 -0
- package/dist-es/commands/CreateBlueprintCommand.js +4 -0
- package/dist-es/commands/CreateBlueprintVersionCommand.js +4 -0
- package/dist-es/commands/CreateProjectCommand.js +4 -0
- package/dist-es/commands/DeleteBlueprintCommand.js +4 -0
- package/dist-es/commands/DeleteProjectCommand.js +4 -0
- package/dist-es/commands/GetBlueprintCommand.js +4 -0
- package/dist-es/commands/GetDocumentInsightsCommand.js +4 -0
- package/dist-es/commands/GetProjectCommand.js +4 -0
- package/dist-es/commands/ListBlueprintsCommand.js +4 -0
- package/dist-es/commands/ListProjectsCommand.js +4 -0
- package/dist-es/commands/StartDocumentInsightsCommand.js +4 -0
- package/dist-es/commands/UpdateBlueprintCommand.js +4 -0
- package/dist-es/commands/UpdateProjectCommand.js +4 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/enums.js +68 -0
- package/dist-es/pagination/ListBlueprintsPaginator.js +4 -0
- package/dist-es/pagination/ListProjectsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +403 -9
- package/dist-types/Textract.d.ts +107 -0
- package/dist-types/TextractClient.d.ts +15 -2
- package/dist-types/commands/CreateBlueprintCommand.d.ts +115 -0
- package/dist-types/commands/CreateBlueprintVersionCommand.d.ts +108 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +171 -0
- package/dist-types/commands/DeleteBlueprintCommand.d.ts +97 -0
- package/dist-types/commands/DeleteProjectCommand.d.ts +93 -0
- package/dist-types/commands/GetBlueprintCommand.d.ts +106 -0
- package/dist-types/commands/GetDocumentInsightsCommand.d.ts +101 -0
- package/dist-types/commands/GetProjectCommand.d.ts +160 -0
- package/dist-types/commands/ListBlueprintsCommand.d.ts +114 -0
- package/dist-types/commands/ListProjectsCommand.d.ts +110 -0
- package/dist-types/commands/StartDocumentInsightsCommand.d.ts +130 -0
- package/dist-types/commands/UpdateBlueprintCommand.d.ts +106 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +168 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/enums.d.ts +132 -0
- package/dist-types/models/models_0.d.ts +1025 -14
- package/dist-types/pagination/ListBlueprintsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProjectsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +62 -0
- package/dist-types/ts3.4/Textract.d.ts +234 -0
- package/dist-types/ts3.4/TextractClient.d.ts +77 -2
- package/dist-types/ts3.4/commands/CreateBlueprintCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateBlueprintVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteBlueprintCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetBlueprintCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDocumentInsightsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetProjectCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListBlueprintsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartDocumentInsightsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateBlueprintCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/enums.d.ts +78 -0
- package/dist-types/ts3.4/models/models_0.d.ts +232 -0
- package/dist-types/ts3.4/pagination/ListBlueprintsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +62 -0
- package/package.json +1 -1
package/dist-types/Textract.d.ts
CHANGED
|
@@ -4,26 +4,39 @@ import { type AnalyzeExpenseCommandInput, type AnalyzeExpenseCommandOutput } fro
|
|
|
4
4
|
import { type AnalyzeIDCommandInput, type AnalyzeIDCommandOutput } from "./commands/AnalyzeIDCommand";
|
|
5
5
|
import { type CreateAdapterCommandInput, type CreateAdapterCommandOutput } from "./commands/CreateAdapterCommand";
|
|
6
6
|
import { type CreateAdapterVersionCommandInput, type CreateAdapterVersionCommandOutput } from "./commands/CreateAdapterVersionCommand";
|
|
7
|
+
import { type CreateBlueprintCommandInput, type CreateBlueprintCommandOutput } from "./commands/CreateBlueprintCommand";
|
|
8
|
+
import { type CreateBlueprintVersionCommandInput, type CreateBlueprintVersionCommandOutput } from "./commands/CreateBlueprintVersionCommand";
|
|
9
|
+
import { type CreateProjectCommandInput, type CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
|
|
7
10
|
import { type DeleteAdapterCommandInput, type DeleteAdapterCommandOutput } from "./commands/DeleteAdapterCommand";
|
|
8
11
|
import { type DeleteAdapterVersionCommandInput, type DeleteAdapterVersionCommandOutput } from "./commands/DeleteAdapterVersionCommand";
|
|
12
|
+
import { type DeleteBlueprintCommandInput, type DeleteBlueprintCommandOutput } from "./commands/DeleteBlueprintCommand";
|
|
13
|
+
import { type DeleteProjectCommandInput, type DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand";
|
|
9
14
|
import { type DetectDocumentTextCommandInput, type DetectDocumentTextCommandOutput } from "./commands/DetectDocumentTextCommand";
|
|
10
15
|
import { type GetAdapterCommandInput, type GetAdapterCommandOutput } from "./commands/GetAdapterCommand";
|
|
11
16
|
import { type GetAdapterVersionCommandInput, type GetAdapterVersionCommandOutput } from "./commands/GetAdapterVersionCommand";
|
|
17
|
+
import { type GetBlueprintCommandInput, type GetBlueprintCommandOutput } from "./commands/GetBlueprintCommand";
|
|
12
18
|
import { type GetDocumentAnalysisCommandInput, type GetDocumentAnalysisCommandOutput } from "./commands/GetDocumentAnalysisCommand";
|
|
19
|
+
import { type GetDocumentInsightsCommandInput, type GetDocumentInsightsCommandOutput } from "./commands/GetDocumentInsightsCommand";
|
|
13
20
|
import { type GetDocumentTextDetectionCommandInput, type GetDocumentTextDetectionCommandOutput } from "./commands/GetDocumentTextDetectionCommand";
|
|
14
21
|
import { type GetExpenseAnalysisCommandInput, type GetExpenseAnalysisCommandOutput } from "./commands/GetExpenseAnalysisCommand";
|
|
15
22
|
import { type GetLendingAnalysisCommandInput, type GetLendingAnalysisCommandOutput } from "./commands/GetLendingAnalysisCommand";
|
|
16
23
|
import { type GetLendingAnalysisSummaryCommandInput, type GetLendingAnalysisSummaryCommandOutput } from "./commands/GetLendingAnalysisSummaryCommand";
|
|
24
|
+
import { type GetProjectCommandInput, type GetProjectCommandOutput } from "./commands/GetProjectCommand";
|
|
17
25
|
import { type ListAdaptersCommandInput, type ListAdaptersCommandOutput } from "./commands/ListAdaptersCommand";
|
|
18
26
|
import { type ListAdapterVersionsCommandInput, type ListAdapterVersionsCommandOutput } from "./commands/ListAdapterVersionsCommand";
|
|
27
|
+
import { type ListBlueprintsCommandInput, type ListBlueprintsCommandOutput } from "./commands/ListBlueprintsCommand";
|
|
28
|
+
import { type ListProjectsCommandInput, type ListProjectsCommandOutput } from "./commands/ListProjectsCommand";
|
|
19
29
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
20
30
|
import { type StartDocumentAnalysisCommandInput, type StartDocumentAnalysisCommandOutput } from "./commands/StartDocumentAnalysisCommand";
|
|
31
|
+
import { type StartDocumentInsightsCommandInput, type StartDocumentInsightsCommandOutput } from "./commands/StartDocumentInsightsCommand";
|
|
21
32
|
import { type StartDocumentTextDetectionCommandInput, type StartDocumentTextDetectionCommandOutput } from "./commands/StartDocumentTextDetectionCommand";
|
|
22
33
|
import { type StartExpenseAnalysisCommandInput, type StartExpenseAnalysisCommandOutput } from "./commands/StartExpenseAnalysisCommand";
|
|
23
34
|
import { type StartLendingAnalysisCommandInput, type StartLendingAnalysisCommandOutput } from "./commands/StartLendingAnalysisCommand";
|
|
24
35
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
25
36
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
26
37
|
import { type UpdateAdapterCommandInput, type UpdateAdapterCommandOutput } from "./commands/UpdateAdapterCommand";
|
|
38
|
+
import { type UpdateBlueprintCommandInput, type UpdateBlueprintCommandOutput } from "./commands/UpdateBlueprintCommand";
|
|
39
|
+
import { type UpdateProjectCommandInput, type UpdateProjectCommandOutput } from "./commands/UpdateProjectCommand";
|
|
27
40
|
import { TextractClient } from "./TextractClient";
|
|
28
41
|
/**
|
|
29
42
|
* @public
|
|
@@ -62,6 +75,24 @@ export interface Textract {
|
|
|
62
75
|
createAdapterVersion(args: CreateAdapterVersionCommandInput, options?: TextractRequestOptions): Promise<CreateAdapterVersionCommandOutput>;
|
|
63
76
|
createAdapterVersion(args: CreateAdapterVersionCommandInput, cb: (err: any, data?: CreateAdapterVersionCommandOutput) => void): void;
|
|
64
77
|
createAdapterVersion(args: CreateAdapterVersionCommandInput, options: TextractRequestOptions, cb: (err: any, data?: CreateAdapterVersionCommandOutput) => void): void;
|
|
78
|
+
/**
|
|
79
|
+
* @see {@link CreateBlueprintCommand}
|
|
80
|
+
*/
|
|
81
|
+
createBlueprint(args: CreateBlueprintCommandInput, options?: TextractRequestOptions): Promise<CreateBlueprintCommandOutput>;
|
|
82
|
+
createBlueprint(args: CreateBlueprintCommandInput, cb: (err: any, data?: CreateBlueprintCommandOutput) => void): void;
|
|
83
|
+
createBlueprint(args: CreateBlueprintCommandInput, options: TextractRequestOptions, cb: (err: any, data?: CreateBlueprintCommandOutput) => void): void;
|
|
84
|
+
/**
|
|
85
|
+
* @see {@link CreateBlueprintVersionCommand}
|
|
86
|
+
*/
|
|
87
|
+
createBlueprintVersion(args: CreateBlueprintVersionCommandInput, options?: TextractRequestOptions): Promise<CreateBlueprintVersionCommandOutput>;
|
|
88
|
+
createBlueprintVersion(args: CreateBlueprintVersionCommandInput, cb: (err: any, data?: CreateBlueprintVersionCommandOutput) => void): void;
|
|
89
|
+
createBlueprintVersion(args: CreateBlueprintVersionCommandInput, options: TextractRequestOptions, cb: (err: any, data?: CreateBlueprintVersionCommandOutput) => void): void;
|
|
90
|
+
/**
|
|
91
|
+
* @see {@link CreateProjectCommand}
|
|
92
|
+
*/
|
|
93
|
+
createProject(args: CreateProjectCommandInput, options?: TextractRequestOptions): Promise<CreateProjectCommandOutput>;
|
|
94
|
+
createProject(args: CreateProjectCommandInput, cb: (err: any, data?: CreateProjectCommandOutput) => void): void;
|
|
95
|
+
createProject(args: CreateProjectCommandInput, options: TextractRequestOptions, cb: (err: any, data?: CreateProjectCommandOutput) => void): void;
|
|
65
96
|
/**
|
|
66
97
|
* @see {@link DeleteAdapterCommand}
|
|
67
98
|
*/
|
|
@@ -74,6 +105,18 @@ export interface Textract {
|
|
|
74
105
|
deleteAdapterVersion(args: DeleteAdapterVersionCommandInput, options?: TextractRequestOptions): Promise<DeleteAdapterVersionCommandOutput>;
|
|
75
106
|
deleteAdapterVersion(args: DeleteAdapterVersionCommandInput, cb: (err: any, data?: DeleteAdapterVersionCommandOutput) => void): void;
|
|
76
107
|
deleteAdapterVersion(args: DeleteAdapterVersionCommandInput, options: TextractRequestOptions, cb: (err: any, data?: DeleteAdapterVersionCommandOutput) => void): void;
|
|
108
|
+
/**
|
|
109
|
+
* @see {@link DeleteBlueprintCommand}
|
|
110
|
+
*/
|
|
111
|
+
deleteBlueprint(args: DeleteBlueprintCommandInput, options?: TextractRequestOptions): Promise<DeleteBlueprintCommandOutput>;
|
|
112
|
+
deleteBlueprint(args: DeleteBlueprintCommandInput, cb: (err: any, data?: DeleteBlueprintCommandOutput) => void): void;
|
|
113
|
+
deleteBlueprint(args: DeleteBlueprintCommandInput, options: TextractRequestOptions, cb: (err: any, data?: DeleteBlueprintCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link DeleteProjectCommand}
|
|
116
|
+
*/
|
|
117
|
+
deleteProject(args: DeleteProjectCommandInput, options?: TextractRequestOptions): Promise<DeleteProjectCommandOutput>;
|
|
118
|
+
deleteProject(args: DeleteProjectCommandInput, cb: (err: any, data?: DeleteProjectCommandOutput) => void): void;
|
|
119
|
+
deleteProject(args: DeleteProjectCommandInput, options: TextractRequestOptions, cb: (err: any, data?: DeleteProjectCommandOutput) => void): void;
|
|
77
120
|
/**
|
|
78
121
|
* @see {@link DetectDocumentTextCommand}
|
|
79
122
|
*/
|
|
@@ -92,12 +135,24 @@ export interface Textract {
|
|
|
92
135
|
getAdapterVersion(args: GetAdapterVersionCommandInput, options?: TextractRequestOptions): Promise<GetAdapterVersionCommandOutput>;
|
|
93
136
|
getAdapterVersion(args: GetAdapterVersionCommandInput, cb: (err: any, data?: GetAdapterVersionCommandOutput) => void): void;
|
|
94
137
|
getAdapterVersion(args: GetAdapterVersionCommandInput, options: TextractRequestOptions, cb: (err: any, data?: GetAdapterVersionCommandOutput) => void): void;
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link GetBlueprintCommand}
|
|
140
|
+
*/
|
|
141
|
+
getBlueprint(args: GetBlueprintCommandInput, options?: TextractRequestOptions): Promise<GetBlueprintCommandOutput>;
|
|
142
|
+
getBlueprint(args: GetBlueprintCommandInput, cb: (err: any, data?: GetBlueprintCommandOutput) => void): void;
|
|
143
|
+
getBlueprint(args: GetBlueprintCommandInput, options: TextractRequestOptions, cb: (err: any, data?: GetBlueprintCommandOutput) => void): void;
|
|
95
144
|
/**
|
|
96
145
|
* @see {@link GetDocumentAnalysisCommand}
|
|
97
146
|
*/
|
|
98
147
|
getDocumentAnalysis(args: GetDocumentAnalysisCommandInput, options?: TextractRequestOptions): Promise<GetDocumentAnalysisCommandOutput>;
|
|
99
148
|
getDocumentAnalysis(args: GetDocumentAnalysisCommandInput, cb: (err: any, data?: GetDocumentAnalysisCommandOutput) => void): void;
|
|
100
149
|
getDocumentAnalysis(args: GetDocumentAnalysisCommandInput, options: TextractRequestOptions, cb: (err: any, data?: GetDocumentAnalysisCommandOutput) => void): void;
|
|
150
|
+
/**
|
|
151
|
+
* @see {@link GetDocumentInsightsCommand}
|
|
152
|
+
*/
|
|
153
|
+
getDocumentInsights(args: GetDocumentInsightsCommandInput, options?: TextractRequestOptions): Promise<GetDocumentInsightsCommandOutput>;
|
|
154
|
+
getDocumentInsights(args: GetDocumentInsightsCommandInput, cb: (err: any, data?: GetDocumentInsightsCommandOutput) => void): void;
|
|
155
|
+
getDocumentInsights(args: GetDocumentInsightsCommandInput, options: TextractRequestOptions, cb: (err: any, data?: GetDocumentInsightsCommandOutput) => void): void;
|
|
101
156
|
/**
|
|
102
157
|
* @see {@link GetDocumentTextDetectionCommand}
|
|
103
158
|
*/
|
|
@@ -122,6 +177,12 @@ export interface Textract {
|
|
|
122
177
|
getLendingAnalysisSummary(args: GetLendingAnalysisSummaryCommandInput, options?: TextractRequestOptions): Promise<GetLendingAnalysisSummaryCommandOutput>;
|
|
123
178
|
getLendingAnalysisSummary(args: GetLendingAnalysisSummaryCommandInput, cb: (err: any, data?: GetLendingAnalysisSummaryCommandOutput) => void): void;
|
|
124
179
|
getLendingAnalysisSummary(args: GetLendingAnalysisSummaryCommandInput, options: TextractRequestOptions, cb: (err: any, data?: GetLendingAnalysisSummaryCommandOutput) => void): void;
|
|
180
|
+
/**
|
|
181
|
+
* @see {@link GetProjectCommand}
|
|
182
|
+
*/
|
|
183
|
+
getProject(args: GetProjectCommandInput, options?: TextractRequestOptions): Promise<GetProjectCommandOutput>;
|
|
184
|
+
getProject(args: GetProjectCommandInput, cb: (err: any, data?: GetProjectCommandOutput) => void): void;
|
|
185
|
+
getProject(args: GetProjectCommandInput, options: TextractRequestOptions, cb: (err: any, data?: GetProjectCommandOutput) => void): void;
|
|
125
186
|
/**
|
|
126
187
|
* @see {@link ListAdaptersCommand}
|
|
127
188
|
*/
|
|
@@ -136,6 +197,20 @@ export interface Textract {
|
|
|
136
197
|
listAdapterVersions(args: ListAdapterVersionsCommandInput, options?: TextractRequestOptions): Promise<ListAdapterVersionsCommandOutput>;
|
|
137
198
|
listAdapterVersions(args: ListAdapterVersionsCommandInput, cb: (err: any, data?: ListAdapterVersionsCommandOutput) => void): void;
|
|
138
199
|
listAdapterVersions(args: ListAdapterVersionsCommandInput, options: TextractRequestOptions, cb: (err: any, data?: ListAdapterVersionsCommandOutput) => void): void;
|
|
200
|
+
/**
|
|
201
|
+
* @see {@link ListBlueprintsCommand}
|
|
202
|
+
*/
|
|
203
|
+
listBlueprints(): Promise<ListBlueprintsCommandOutput>;
|
|
204
|
+
listBlueprints(args: ListBlueprintsCommandInput, options?: TextractRequestOptions): Promise<ListBlueprintsCommandOutput>;
|
|
205
|
+
listBlueprints(args: ListBlueprintsCommandInput, cb: (err: any, data?: ListBlueprintsCommandOutput) => void): void;
|
|
206
|
+
listBlueprints(args: ListBlueprintsCommandInput, options: TextractRequestOptions, cb: (err: any, data?: ListBlueprintsCommandOutput) => void): void;
|
|
207
|
+
/**
|
|
208
|
+
* @see {@link ListProjectsCommand}
|
|
209
|
+
*/
|
|
210
|
+
listProjects(): Promise<ListProjectsCommandOutput>;
|
|
211
|
+
listProjects(args: ListProjectsCommandInput, options?: TextractRequestOptions): Promise<ListProjectsCommandOutput>;
|
|
212
|
+
listProjects(args: ListProjectsCommandInput, cb: (err: any, data?: ListProjectsCommandOutput) => void): void;
|
|
213
|
+
listProjects(args: ListProjectsCommandInput, options: TextractRequestOptions, cb: (err: any, data?: ListProjectsCommandOutput) => void): void;
|
|
139
214
|
/**
|
|
140
215
|
* @see {@link ListTagsForResourceCommand}
|
|
141
216
|
*/
|
|
@@ -148,6 +223,12 @@ export interface Textract {
|
|
|
148
223
|
startDocumentAnalysis(args: StartDocumentAnalysisCommandInput, options?: TextractRequestOptions): Promise<StartDocumentAnalysisCommandOutput>;
|
|
149
224
|
startDocumentAnalysis(args: StartDocumentAnalysisCommandInput, cb: (err: any, data?: StartDocumentAnalysisCommandOutput) => void): void;
|
|
150
225
|
startDocumentAnalysis(args: StartDocumentAnalysisCommandInput, options: TextractRequestOptions, cb: (err: any, data?: StartDocumentAnalysisCommandOutput) => void): void;
|
|
226
|
+
/**
|
|
227
|
+
* @see {@link StartDocumentInsightsCommand}
|
|
228
|
+
*/
|
|
229
|
+
startDocumentInsights(args: StartDocumentInsightsCommandInput, options?: TextractRequestOptions): Promise<StartDocumentInsightsCommandOutput>;
|
|
230
|
+
startDocumentInsights(args: StartDocumentInsightsCommandInput, cb: (err: any, data?: StartDocumentInsightsCommandOutput) => void): void;
|
|
231
|
+
startDocumentInsights(args: StartDocumentInsightsCommandInput, options: TextractRequestOptions, cb: (err: any, data?: StartDocumentInsightsCommandOutput) => void): void;
|
|
151
232
|
/**
|
|
152
233
|
* @see {@link StartDocumentTextDetectionCommand}
|
|
153
234
|
*/
|
|
@@ -184,6 +265,18 @@ export interface Textract {
|
|
|
184
265
|
updateAdapter(args: UpdateAdapterCommandInput, options?: TextractRequestOptions): Promise<UpdateAdapterCommandOutput>;
|
|
185
266
|
updateAdapter(args: UpdateAdapterCommandInput, cb: (err: any, data?: UpdateAdapterCommandOutput) => void): void;
|
|
186
267
|
updateAdapter(args: UpdateAdapterCommandInput, options: TextractRequestOptions, cb: (err: any, data?: UpdateAdapterCommandOutput) => void): void;
|
|
268
|
+
/**
|
|
269
|
+
* @see {@link UpdateBlueprintCommand}
|
|
270
|
+
*/
|
|
271
|
+
updateBlueprint(args: UpdateBlueprintCommandInput, options?: TextractRequestOptions): Promise<UpdateBlueprintCommandOutput>;
|
|
272
|
+
updateBlueprint(args: UpdateBlueprintCommandInput, cb: (err: any, data?: UpdateBlueprintCommandOutput) => void): void;
|
|
273
|
+
updateBlueprint(args: UpdateBlueprintCommandInput, options: TextractRequestOptions, cb: (err: any, data?: UpdateBlueprintCommandOutput) => void): void;
|
|
274
|
+
/**
|
|
275
|
+
* @see {@link UpdateProjectCommand}
|
|
276
|
+
*/
|
|
277
|
+
updateProject(args: UpdateProjectCommandInput, options?: TextractRequestOptions): Promise<UpdateProjectCommandOutput>;
|
|
278
|
+
updateProject(args: UpdateProjectCommandInput, cb: (err: any, data?: UpdateProjectCommandOutput) => void): void;
|
|
279
|
+
updateProject(args: UpdateProjectCommandInput, options: TextractRequestOptions, cb: (err: any, data?: UpdateProjectCommandOutput) => void): void;
|
|
187
280
|
/**
|
|
188
281
|
* @see {@link ListAdaptersCommand}
|
|
189
282
|
* @param args - command input.
|
|
@@ -198,6 +291,20 @@ export interface Textract {
|
|
|
198
291
|
* @returns AsyncIterable of {@link ListAdapterVersionsCommandOutput}.
|
|
199
292
|
*/
|
|
200
293
|
paginateListAdapterVersions(args?: ListAdapterVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAdapterVersionsCommandOutput>;
|
|
294
|
+
/**
|
|
295
|
+
* @see {@link ListBlueprintsCommand}
|
|
296
|
+
* @param args - command input.
|
|
297
|
+
* @param paginationConfig - optional pagination config.
|
|
298
|
+
* @returns AsyncIterable of {@link ListBlueprintsCommandOutput}.
|
|
299
|
+
*/
|
|
300
|
+
paginateListBlueprints(args?: ListBlueprintsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListBlueprintsCommandOutput>;
|
|
301
|
+
/**
|
|
302
|
+
* @see {@link ListProjectsCommand}
|
|
303
|
+
* @param args - command input.
|
|
304
|
+
* @param paginationConfig - optional pagination config.
|
|
305
|
+
* @returns AsyncIterable of {@link ListProjectsCommandOutput}.
|
|
306
|
+
*/
|
|
307
|
+
paginateListProjects(args?: ListProjectsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProjectsCommandOutput>;
|
|
201
308
|
}
|
|
202
309
|
/**
|
|
203
310
|
* <p>Amazon Textract detects and analyzes text in documents and converts it
|
|
@@ -11,37 +11,50 @@ import type { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "./
|
|
|
11
11
|
import type { AnalyzeIDCommandInput, AnalyzeIDCommandOutput } from "./commands/AnalyzeIDCommand";
|
|
12
12
|
import type { CreateAdapterCommandInput, CreateAdapterCommandOutput } from "./commands/CreateAdapterCommand";
|
|
13
13
|
import type { CreateAdapterVersionCommandInput, CreateAdapterVersionCommandOutput } from "./commands/CreateAdapterVersionCommand";
|
|
14
|
+
import type { CreateBlueprintCommandInput, CreateBlueprintCommandOutput } from "./commands/CreateBlueprintCommand";
|
|
15
|
+
import type { CreateBlueprintVersionCommandInput, CreateBlueprintVersionCommandOutput } from "./commands/CreateBlueprintVersionCommand";
|
|
16
|
+
import type { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
|
|
14
17
|
import type { DeleteAdapterCommandInput, DeleteAdapterCommandOutput } from "./commands/DeleteAdapterCommand";
|
|
15
18
|
import type { DeleteAdapterVersionCommandInput, DeleteAdapterVersionCommandOutput } from "./commands/DeleteAdapterVersionCommand";
|
|
19
|
+
import type { DeleteBlueprintCommandInput, DeleteBlueprintCommandOutput } from "./commands/DeleteBlueprintCommand";
|
|
20
|
+
import type { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand";
|
|
16
21
|
import type { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from "./commands/DetectDocumentTextCommand";
|
|
17
22
|
import type { GetAdapterCommandInput, GetAdapterCommandOutput } from "./commands/GetAdapterCommand";
|
|
18
23
|
import type { GetAdapterVersionCommandInput, GetAdapterVersionCommandOutput } from "./commands/GetAdapterVersionCommand";
|
|
24
|
+
import type { GetBlueprintCommandInput, GetBlueprintCommandOutput } from "./commands/GetBlueprintCommand";
|
|
19
25
|
import type { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } from "./commands/GetDocumentAnalysisCommand";
|
|
26
|
+
import type { GetDocumentInsightsCommandInput, GetDocumentInsightsCommandOutput } from "./commands/GetDocumentInsightsCommand";
|
|
20
27
|
import type { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "./commands/GetDocumentTextDetectionCommand";
|
|
21
28
|
import type { GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput } from "./commands/GetExpenseAnalysisCommand";
|
|
22
29
|
import type { GetLendingAnalysisCommandInput, GetLendingAnalysisCommandOutput } from "./commands/GetLendingAnalysisCommand";
|
|
23
30
|
import type { GetLendingAnalysisSummaryCommandInput, GetLendingAnalysisSummaryCommandOutput } from "./commands/GetLendingAnalysisSummaryCommand";
|
|
31
|
+
import type { GetProjectCommandInput, GetProjectCommandOutput } from "./commands/GetProjectCommand";
|
|
24
32
|
import type { ListAdaptersCommandInput, ListAdaptersCommandOutput } from "./commands/ListAdaptersCommand";
|
|
25
33
|
import type { ListAdapterVersionsCommandInput, ListAdapterVersionsCommandOutput } from "./commands/ListAdapterVersionsCommand";
|
|
34
|
+
import type { ListBlueprintsCommandInput, ListBlueprintsCommandOutput } from "./commands/ListBlueprintsCommand";
|
|
35
|
+
import type { ListProjectsCommandInput, ListProjectsCommandOutput } from "./commands/ListProjectsCommand";
|
|
26
36
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
27
37
|
import type { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "./commands/StartDocumentAnalysisCommand";
|
|
38
|
+
import type { StartDocumentInsightsCommandInput, StartDocumentInsightsCommandOutput } from "./commands/StartDocumentInsightsCommand";
|
|
28
39
|
import type { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "./commands/StartDocumentTextDetectionCommand";
|
|
29
40
|
import type { StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput } from "./commands/StartExpenseAnalysisCommand";
|
|
30
41
|
import type { StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput } from "./commands/StartLendingAnalysisCommand";
|
|
31
42
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
32
43
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
33
44
|
import type { UpdateAdapterCommandInput, UpdateAdapterCommandOutput } from "./commands/UpdateAdapterCommand";
|
|
45
|
+
import type { UpdateBlueprintCommandInput, UpdateBlueprintCommandOutput } from "./commands/UpdateBlueprintCommand";
|
|
46
|
+
import type { UpdateProjectCommandInput, UpdateProjectCommandOutput } from "./commands/UpdateProjectCommand";
|
|
34
47
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
35
48
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
36
49
|
export { __Client };
|
|
37
50
|
/**
|
|
38
51
|
* @public
|
|
39
52
|
*/
|
|
40
|
-
export type ServiceInputTypes = AnalyzeDocumentCommandInput | AnalyzeExpenseCommandInput | AnalyzeIDCommandInput | CreateAdapterCommandInput | CreateAdapterVersionCommandInput | DeleteAdapterCommandInput | DeleteAdapterVersionCommandInput | DetectDocumentTextCommandInput | GetAdapterCommandInput | GetAdapterVersionCommandInput | GetDocumentAnalysisCommandInput | GetDocumentTextDetectionCommandInput | GetExpenseAnalysisCommandInput | GetLendingAnalysisCommandInput | GetLendingAnalysisSummaryCommandInput | ListAdapterVersionsCommandInput | ListAdaptersCommandInput | ListTagsForResourceCommandInput | StartDocumentAnalysisCommandInput | StartDocumentTextDetectionCommandInput | StartExpenseAnalysisCommandInput | StartLendingAnalysisCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAdapterCommandInput;
|
|
53
|
+
export type ServiceInputTypes = AnalyzeDocumentCommandInput | AnalyzeExpenseCommandInput | AnalyzeIDCommandInput | CreateAdapterCommandInput | CreateAdapterVersionCommandInput | CreateBlueprintCommandInput | CreateBlueprintVersionCommandInput | CreateProjectCommandInput | DeleteAdapterCommandInput | DeleteAdapterVersionCommandInput | DeleteBlueprintCommandInput | DeleteProjectCommandInput | DetectDocumentTextCommandInput | GetAdapterCommandInput | GetAdapterVersionCommandInput | GetBlueprintCommandInput | GetDocumentAnalysisCommandInput | GetDocumentInsightsCommandInput | GetDocumentTextDetectionCommandInput | GetExpenseAnalysisCommandInput | GetLendingAnalysisCommandInput | GetLendingAnalysisSummaryCommandInput | GetProjectCommandInput | ListAdapterVersionsCommandInput | ListAdaptersCommandInput | ListBlueprintsCommandInput | ListProjectsCommandInput | ListTagsForResourceCommandInput | StartDocumentAnalysisCommandInput | StartDocumentInsightsCommandInput | StartDocumentTextDetectionCommandInput | StartExpenseAnalysisCommandInput | StartLendingAnalysisCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAdapterCommandInput | UpdateBlueprintCommandInput | UpdateProjectCommandInput;
|
|
41
54
|
/**
|
|
42
55
|
* @public
|
|
43
56
|
*/
|
|
44
|
-
export type ServiceOutputTypes = AnalyzeDocumentCommandOutput | AnalyzeExpenseCommandOutput | AnalyzeIDCommandOutput | CreateAdapterCommandOutput | CreateAdapterVersionCommandOutput | DeleteAdapterCommandOutput | DeleteAdapterVersionCommandOutput | DetectDocumentTextCommandOutput | GetAdapterCommandOutput | GetAdapterVersionCommandOutput | GetDocumentAnalysisCommandOutput | GetDocumentTextDetectionCommandOutput | GetExpenseAnalysisCommandOutput | GetLendingAnalysisCommandOutput | GetLendingAnalysisSummaryCommandOutput | ListAdapterVersionsCommandOutput | ListAdaptersCommandOutput | ListTagsForResourceCommandOutput | StartDocumentAnalysisCommandOutput | StartDocumentTextDetectionCommandOutput | StartExpenseAnalysisCommandOutput | StartLendingAnalysisCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAdapterCommandOutput;
|
|
57
|
+
export type ServiceOutputTypes = AnalyzeDocumentCommandOutput | AnalyzeExpenseCommandOutput | AnalyzeIDCommandOutput | CreateAdapterCommandOutput | CreateAdapterVersionCommandOutput | CreateBlueprintCommandOutput | CreateBlueprintVersionCommandOutput | CreateProjectCommandOutput | DeleteAdapterCommandOutput | DeleteAdapterVersionCommandOutput | DeleteBlueprintCommandOutput | DeleteProjectCommandOutput | DetectDocumentTextCommandOutput | GetAdapterCommandOutput | GetAdapterVersionCommandOutput | GetBlueprintCommandOutput | GetDocumentAnalysisCommandOutput | GetDocumentInsightsCommandOutput | GetDocumentTextDetectionCommandOutput | GetExpenseAnalysisCommandOutput | GetLendingAnalysisCommandOutput | GetLendingAnalysisSummaryCommandOutput | GetProjectCommandOutput | ListAdapterVersionsCommandOutput | ListAdaptersCommandOutput | ListBlueprintsCommandOutput | ListProjectsCommandOutput | ListTagsForResourceCommandOutput | StartDocumentAnalysisCommandOutput | StartDocumentInsightsCommandOutput | StartDocumentTextDetectionCommandOutput | StartExpenseAnalysisCommandOutput | StartLendingAnalysisCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAdapterCommandOutput | UpdateBlueprintCommandOutput | UpdateProjectCommandOutput;
|
|
45
58
|
/**
|
|
46
59
|
* @public
|
|
47
60
|
*/
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateBlueprintRequest, CreateBlueprintResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateBlueprintCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateBlueprintCommandInput extends CreateBlueprintRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateBlueprintCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateBlueprintCommandOutput extends CreateBlueprintResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateBlueprintCommand_base: {
|
|
22
|
+
new (input: CreateBlueprintCommandInput): import("@smithy/core/client").CommandImpl<CreateBlueprintCommandInput, CreateBlueprintCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateBlueprintCommandInput): import("@smithy/core/client").CommandImpl<CreateBlueprintCommandInput, CreateBlueprintCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a blueprint that defines the schema Amazon Textract uses to extract structured
|
|
28
|
+
* data from a document during a document insights job. A blueprint describes the fields
|
|
29
|
+
* to extract and how to normalize them.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { TextractClient, CreateBlueprintCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
34
|
+
* // const { TextractClient, CreateBlueprintCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
35
|
+
* // import type { TextractClientConfig } from "@aws-sdk/client-textract";
|
|
36
|
+
* const config = {}; // type is TextractClientConfig
|
|
37
|
+
* const client = new TextractClient(config);
|
|
38
|
+
* const input = { // CreateBlueprintRequest
|
|
39
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
40
|
+
* BlueprintName: "STRING_VALUE", // required
|
|
41
|
+
* Schema: "STRING_VALUE", // required
|
|
42
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
43
|
+
* KmsKeyId: "STRING_VALUE", // required
|
|
44
|
+
* KmsEncryptionContext: { // KmsEncryptionContext
|
|
45
|
+
* "<keys>": "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* Tags: { // TagMap
|
|
49
|
+
* "<keys>": "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* };
|
|
52
|
+
* const command = new CreateBlueprintCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // CreateBlueprintResponse
|
|
55
|
+
* // BlueprintArn: "STRING_VALUE", // required
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param CreateBlueprintCommandInput - {@link CreateBlueprintCommandInput}
|
|
61
|
+
* @returns {@link CreateBlueprintCommandOutput}
|
|
62
|
+
* @see {@link CreateBlueprintCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link CreateBlueprintCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
|
|
68
|
+
* of an authorized user or IAM role to perform the operation.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConflictException} (client fault)
|
|
71
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerError} (server fault)
|
|
74
|
+
* <p>Amazon Textract experienced a service issue. Try your call again.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
77
|
+
* <p>An input parameter violated a constraint. For example, in synchronous operations,
|
|
78
|
+
* an <code>InvalidParameterException</code> exception occurs
|
|
79
|
+
* when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
|
|
80
|
+
* request parameter.
|
|
81
|
+
* Validate your parameter before calling the API operation again.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
84
|
+
* <p>An Amazon Textract service limit was exceeded. For example, if you start too many
|
|
85
|
+
* asynchronous jobs concurrently, calls to start operations
|
|
86
|
+
* (<code>StartDocumentTextDetection</code>, for example) raise a LimitExceededException
|
|
87
|
+
* exception (HTTP status code: 400) until the number of concurrently running jobs is below
|
|
88
|
+
* the Amazon Textract service limit. </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ProvisionedThroughputExceededException} (client fault)
|
|
91
|
+
* <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
|
|
92
|
+
* contact Amazon Textract.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <p> Indicates that a request was not valid. Check request for proper formatting. </p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link TextractServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class CreateBlueprintCommand extends CreateBlueprintCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: CreateBlueprintRequest;
|
|
108
|
+
output: CreateBlueprintResponse;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: CreateBlueprintCommandInput;
|
|
112
|
+
output: CreateBlueprintCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateBlueprintVersionRequest, CreateBlueprintVersionResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateBlueprintVersionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateBlueprintVersionCommandInput extends CreateBlueprintVersionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateBlueprintVersionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateBlueprintVersionCommandOutput extends CreateBlueprintVersionResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateBlueprintVersionCommand_base: {
|
|
22
|
+
new (input: CreateBlueprintVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateBlueprintVersionCommandInput, CreateBlueprintVersionCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateBlueprintVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateBlueprintVersionCommandInput, CreateBlueprintVersionCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a new, immutable version of an existing blueprint so that projects can pin to a
|
|
28
|
+
* specific version.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { TextractClient, CreateBlueprintVersionCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
33
|
+
* // const { TextractClient, CreateBlueprintVersionCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
34
|
+
* // import type { TextractClientConfig } from "@aws-sdk/client-textract";
|
|
35
|
+
* const config = {}; // type is TextractClientConfig
|
|
36
|
+
* const client = new TextractClient(config);
|
|
37
|
+
* const input = { // CreateBlueprintVersionRequest
|
|
38
|
+
* BlueprintArn: "STRING_VALUE", // required
|
|
39
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new CreateBlueprintVersionCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // CreateBlueprintVersionResponse
|
|
44
|
+
* // BlueprintArn: "STRING_VALUE", // required
|
|
45
|
+
* // BlueprintVersion: "STRING_VALUE", // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param CreateBlueprintVersionCommandInput - {@link CreateBlueprintVersionCommandInput}
|
|
51
|
+
* @returns {@link CreateBlueprintVersionCommandOutput}
|
|
52
|
+
* @see {@link CreateBlueprintVersionCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link CreateBlueprintVersionCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
|
|
58
|
+
* of an authorized user or IAM role to perform the operation.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerError} (server fault)
|
|
64
|
+
* <p>Amazon Textract experienced a service issue. Try your call again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
67
|
+
* <p>An input parameter violated a constraint. For example, in synchronous operations,
|
|
68
|
+
* an <code>InvalidParameterException</code> exception occurs
|
|
69
|
+
* when neither of the <code>S3Object</code> or <code>Bytes</code> values are supplied in the <code>Document</code>
|
|
70
|
+
* request parameter.
|
|
71
|
+
* Validate your parameter before calling the API operation again.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
74
|
+
* <p>An Amazon Textract service limit was exceeded. For example, if you start too many
|
|
75
|
+
* asynchronous jobs concurrently, calls to start operations
|
|
76
|
+
* (<code>StartDocumentTextDetection</code>, for example) raise a LimitExceededException
|
|
77
|
+
* exception (HTTP status code: 400) until the number of concurrently running jobs is below
|
|
78
|
+
* the Amazon Textract service limit. </p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ProvisionedThroughputExceededException} (client fault)
|
|
81
|
+
* <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
|
|
82
|
+
* contact Amazon Textract.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
+
* <p> Returned when an operation tried to access a nonexistent resource. </p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p> Indicates that a request was not valid. Check request for proper formatting. </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link TextractServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class CreateBlueprintVersionCommand extends CreateBlueprintVersionCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: CreateBlueprintVersionRequest;
|
|
101
|
+
output: CreateBlueprintVersionResponse;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: CreateBlueprintVersionCommandInput;
|
|
105
|
+
output: CreateBlueprintVersionCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|