cdk-lambda-subminute 2.0.265 → 2.0.266
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/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +20 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json +1 -1
- package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +57 -57
- package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.paginators.json +15 -0
- package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +68 -1
- package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +31 -18
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +134 -82
- package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.min.json +14 -8
- package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +102 -96
- package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +36 -36
- package/node_modules/aws-sdk/apis/machinelearning-2014-12-12.min.json +8 -2
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +43 -7
- package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +194 -161
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +740 -728
- package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +483 -76
- package/node_modules/aws-sdk/apis/textract-2018-06-27.paginators.json +12 -0
- package/node_modules/aws-sdk/clients/autoscaling.d.ts +4 -3
- package/node_modules/aws-sdk/clients/configservice.d.ts +15 -15
- package/node_modules/aws-sdk/clients/controltower.d.ts +104 -15
- package/node_modules/aws-sdk/clients/customerprofiles.d.ts +6 -6
- package/node_modules/aws-sdk/clients/ec2.d.ts +62 -6
- package/node_modules/aws-sdk/clients/elbv2.d.ts +7 -7
- package/node_modules/aws-sdk/clients/glue.d.ts +5 -5
- package/node_modules/aws-sdk/clients/inspector2.d.ts +25 -25
- package/node_modules/aws-sdk/clients/ivsrealtime.d.ts +25 -0
- package/node_modules/aws-sdk/clients/lambda.d.ts +9 -0
- package/node_modules/aws-sdk/clients/pricing.d.ts +8 -8
- package/node_modules/aws-sdk/clients/rds.d.ts +48 -0
- package/node_modules/aws-sdk/clients/rekognition.d.ts +141 -72
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +26 -6
- package/node_modules/aws-sdk/clients/textract.d.ts +534 -2
- package/node_modules/aws-sdk/clients/transcribeservice.d.ts +1 -1
- package/node_modules/aws-sdk/clients/workspaces.d.ts +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +15 -15
- package/node_modules/aws-sdk/dist/aws-sdk.js +592 -444
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +99 -99
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/function-bind/.eslintrc +11 -5
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/README.md +25 -27
- package/node_modules/function-bind/implementation.js +44 -12
- package/node_modules/function-bind/package.json +38 -14
- package/package.json +3 -3
- package/node_modules/function-bind/.editorconfig +0 -20
- package/node_modules/function-bind/.jscs.json +0 -176
- package/node_modules/function-bind/.npmignore +0 -22
- package/node_modules/function-bind/.travis.yml +0 -168
@@ -35,6 +35,38 @@ declare class Textract extends Service {
|
|
35
35
|
* Analyzes identity documents for relevant information. This information is extracted and returned as IdentityDocumentFields, which records both the normalized field and value of the extracted text. Unlike other Amazon Textract operations, AnalyzeID doesn't return any Geometry data.
|
36
36
|
*/
|
37
37
|
analyzeID(callback?: (err: AWSError, data: Textract.Types.AnalyzeIDResponse) => void): Request<Textract.Types.AnalyzeIDResponse, AWSError>;
|
38
|
+
/**
|
39
|
+
* Creates an adapter, which can be fine-tuned for enhanced performance on user provided documents. Takes an AdapterName and FeatureType. Currently the only supported feature type is QUERIES. You can also provide a Description, Tags, and a ClientRequestToken. You can choose whether or not the adapter should be AutoUpdated with the AutoUpdate argument. By default, AutoUpdate is set to DISABLED.
|
40
|
+
*/
|
41
|
+
createAdapter(params: Textract.Types.CreateAdapterRequest, callback?: (err: AWSError, data: Textract.Types.CreateAdapterResponse) => void): Request<Textract.Types.CreateAdapterResponse, AWSError>;
|
42
|
+
/**
|
43
|
+
* Creates an adapter, which can be fine-tuned for enhanced performance on user provided documents. Takes an AdapterName and FeatureType. Currently the only supported feature type is QUERIES. You can also provide a Description, Tags, and a ClientRequestToken. You can choose whether or not the adapter should be AutoUpdated with the AutoUpdate argument. By default, AutoUpdate is set to DISABLED.
|
44
|
+
*/
|
45
|
+
createAdapter(callback?: (err: AWSError, data: Textract.Types.CreateAdapterResponse) => void): Request<Textract.Types.CreateAdapterResponse, AWSError>;
|
46
|
+
/**
|
47
|
+
* Creates a new version of an adapter. Operates on a provided AdapterId and a specified dataset provided via the DatasetConfig argument. Requires that you specify an Amazon S3 bucket with the OutputConfig argument. You can provide an optional KMSKeyId, an optional ClientRequestToken, and optional tags.
|
48
|
+
*/
|
49
|
+
createAdapterVersion(params: Textract.Types.CreateAdapterVersionRequest, callback?: (err: AWSError, data: Textract.Types.CreateAdapterVersionResponse) => void): Request<Textract.Types.CreateAdapterVersionResponse, AWSError>;
|
50
|
+
/**
|
51
|
+
* Creates a new version of an adapter. Operates on a provided AdapterId and a specified dataset provided via the DatasetConfig argument. Requires that you specify an Amazon S3 bucket with the OutputConfig argument. You can provide an optional KMSKeyId, an optional ClientRequestToken, and optional tags.
|
52
|
+
*/
|
53
|
+
createAdapterVersion(callback?: (err: AWSError, data: Textract.Types.CreateAdapterVersionResponse) => void): Request<Textract.Types.CreateAdapterVersionResponse, AWSError>;
|
54
|
+
/**
|
55
|
+
* Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the adapter specified by the ID.
|
56
|
+
*/
|
57
|
+
deleteAdapter(params: Textract.Types.DeleteAdapterRequest, callback?: (err: AWSError, data: Textract.Types.DeleteAdapterResponse) => void): Request<Textract.Types.DeleteAdapterResponse, AWSError>;
|
58
|
+
/**
|
59
|
+
* Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the adapter specified by the ID.
|
60
|
+
*/
|
61
|
+
deleteAdapter(callback?: (err: AWSError, data: Textract.Types.DeleteAdapterResponse) => void): Request<Textract.Types.DeleteAdapterResponse, AWSError>;
|
62
|
+
/**
|
63
|
+
* Deletes an Amazon Textract adapter version. Requires that you specify both an AdapterId and a AdapterVersion. Deletes the adapter version specified by the AdapterId and the AdapterVersion.
|
64
|
+
*/
|
65
|
+
deleteAdapterVersion(params: Textract.Types.DeleteAdapterVersionRequest, callback?: (err: AWSError, data: Textract.Types.DeleteAdapterVersionResponse) => void): Request<Textract.Types.DeleteAdapterVersionResponse, AWSError>;
|
66
|
+
/**
|
67
|
+
* Deletes an Amazon Textract adapter version. Requires that you specify both an AdapterId and a AdapterVersion. Deletes the adapter version specified by the AdapterId and the AdapterVersion.
|
68
|
+
*/
|
69
|
+
deleteAdapterVersion(callback?: (err: AWSError, data: Textract.Types.DeleteAdapterVersionResponse) => void): Request<Textract.Types.DeleteAdapterVersionResponse, AWSError>;
|
38
70
|
/**
|
39
71
|
* Detects text in the input document. Amazon Textract can detect lines of text and the words that make up a line of text. The input document must be in one of the following image formats: JPEG, PNG, PDF, or TIFF. DetectDocumentText returns the detected text in an array of Block objects. Each document page has as an associated Block of type PAGE. Each PAGE Block object is the parent of LINE Block objects that represent the lines of detected text on a page. A LINE Block object is a parent for each word that makes up the line. Words are represented by Block objects of type WORD. DetectDocumentText is a synchronous operation. To analyze documents asynchronously, use StartDocumentTextDetection. For more information, see Document Text Detection.
|
40
72
|
*/
|
@@ -43,6 +75,22 @@ declare class Textract extends Service {
|
|
43
75
|
* Detects text in the input document. Amazon Textract can detect lines of text and the words that make up a line of text. The input document must be in one of the following image formats: JPEG, PNG, PDF, or TIFF. DetectDocumentText returns the detected text in an array of Block objects. Each document page has as an associated Block of type PAGE. Each PAGE Block object is the parent of LINE Block objects that represent the lines of detected text on a page. A LINE Block object is a parent for each word that makes up the line. Words are represented by Block objects of type WORD. DetectDocumentText is a synchronous operation. To analyze documents asynchronously, use StartDocumentTextDetection. For more information, see Document Text Detection.
|
44
76
|
*/
|
45
77
|
detectDocumentText(callback?: (err: AWSError, data: Textract.Types.DetectDocumentTextResponse) => void): Request<Textract.Types.DetectDocumentTextResponse, AWSError>;
|
78
|
+
/**
|
79
|
+
* Gets configuration information for an adapter specified by an AdapterId, returning information on AdapterName, Description, CreationTime, AutoUpdate status, and FeatureTypes.
|
80
|
+
*/
|
81
|
+
getAdapter(params: Textract.Types.GetAdapterRequest, callback?: (err: AWSError, data: Textract.Types.GetAdapterResponse) => void): Request<Textract.Types.GetAdapterResponse, AWSError>;
|
82
|
+
/**
|
83
|
+
* Gets configuration information for an adapter specified by an AdapterId, returning information on AdapterName, Description, CreationTime, AutoUpdate status, and FeatureTypes.
|
84
|
+
*/
|
85
|
+
getAdapter(callback?: (err: AWSError, data: Textract.Types.GetAdapterResponse) => void): Request<Textract.Types.GetAdapterResponse, AWSError>;
|
86
|
+
/**
|
87
|
+
* Gets configuration information for the specified adapter version, including: AdapterId, AdapterVersion, FeatureTypes, Status, StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and EvaluationMetrics.
|
88
|
+
*/
|
89
|
+
getAdapterVersion(params: Textract.Types.GetAdapterVersionRequest, callback?: (err: AWSError, data: Textract.Types.GetAdapterVersionResponse) => void): Request<Textract.Types.GetAdapterVersionResponse, AWSError>;
|
90
|
+
/**
|
91
|
+
* Gets configuration information for the specified adapter version, including: AdapterId, AdapterVersion, FeatureTypes, Status, StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and EvaluationMetrics.
|
92
|
+
*/
|
93
|
+
getAdapterVersion(callback?: (err: AWSError, data: Textract.Types.GetAdapterVersionResponse) => void): Request<Textract.Types.GetAdapterVersionResponse, AWSError>;
|
46
94
|
/**
|
47
95
|
* Gets the results for an Amazon Textract asynchronous operation that analyzes text in a document. You start asynchronous text analysis by calling StartDocumentAnalysis, which returns a job identifier (JobId). When the text analysis operation finishes, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to StartDocumentAnalysis. To get the results of the text-detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis. GetDocumentAnalysis returns an array of Block objects. The following types of information are returned: Form data (key-value pairs). The related information is returned in two Block objects, each of type KEY_VALUE_SET: a KEY Block object and a VALUE Block object. For example, Name: Ana Silva Carolina contains a key and value. Name: is the key. Ana Silva Carolina is the value. Table and table cell data. A TABLE Block object contains information about a detected table. A CELL Block object is returned for each cell in a table. Lines and words of text. A LINE Block object contains one or more WORD Block objects. All lines and words that are detected in the document are returned (including text that doesn't have a relationship with the value of the StartDocumentAnalysis FeatureTypes input parameter). Query. A QUERY Block object contains the query text, alias and link to the associated Query results block object. Query Results. A QUERY_RESULT Block object contains the answer to the query and an ID that connects it to the query asked. This Block also contains a confidence score. While processing a document with queries, look out for INVALID_REQUEST_PARAMETERS output. This indicates that either the per page query limit has been exceeded or that the operation is trying to query a page in the document which doesn’t exist. Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables. A SELECTION_ELEMENT Block object contains information about a selection element, including the selection status. Use the MaxResults parameter to limit the number of blocks that are returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetDocumentAnalysis, and populate the NextToken request parameter with the token value that's returned from the previous call to GetDocumentAnalysis. For more information, see Document Text Analysis.
|
48
96
|
*/
|
@@ -83,6 +131,30 @@ declare class Textract extends Service {
|
|
83
131
|
* Gets summarized results for the StartLendingAnalysis operation, which analyzes text in a lending document. The returned summary consists of information about documents grouped together by a common document type. Information like detected signatures, page numbers, and split documents is returned with respect to the type of grouped document. You start asynchronous text analysis by calling StartLendingAnalysis, which returns a job identifier (JobId). When the text analysis operation finishes, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to StartLendingAnalysis. To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetLendingAnalysisSummary, and pass the job identifier (JobId) from the initial call to StartLendingAnalysis.
|
84
132
|
*/
|
85
133
|
getLendingAnalysisSummary(callback?: (err: AWSError, data: Textract.Types.GetLendingAnalysisSummaryResponse) => void): Request<Textract.Types.GetLendingAnalysisSummaryResponse, AWSError>;
|
134
|
+
/**
|
135
|
+
* List all version of an adapter that meet the specified filtration criteria.
|
136
|
+
*/
|
137
|
+
listAdapterVersions(params: Textract.Types.ListAdapterVersionsRequest, callback?: (err: AWSError, data: Textract.Types.ListAdapterVersionsResponse) => void): Request<Textract.Types.ListAdapterVersionsResponse, AWSError>;
|
138
|
+
/**
|
139
|
+
* List all version of an adapter that meet the specified filtration criteria.
|
140
|
+
*/
|
141
|
+
listAdapterVersions(callback?: (err: AWSError, data: Textract.Types.ListAdapterVersionsResponse) => void): Request<Textract.Types.ListAdapterVersionsResponse, AWSError>;
|
142
|
+
/**
|
143
|
+
* Lists all adapters that match the specified filtration criteria.
|
144
|
+
*/
|
145
|
+
listAdapters(params: Textract.Types.ListAdaptersRequest, callback?: (err: AWSError, data: Textract.Types.ListAdaptersResponse) => void): Request<Textract.Types.ListAdaptersResponse, AWSError>;
|
146
|
+
/**
|
147
|
+
* Lists all adapters that match the specified filtration criteria.
|
148
|
+
*/
|
149
|
+
listAdapters(callback?: (err: AWSError, data: Textract.Types.ListAdaptersResponse) => void): Request<Textract.Types.ListAdaptersResponse, AWSError>;
|
150
|
+
/**
|
151
|
+
* Lists all tags for an Amazon Textract resource.
|
152
|
+
*/
|
153
|
+
listTagsForResource(params: Textract.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Textract.Types.ListTagsForResourceResponse) => void): Request<Textract.Types.ListTagsForResourceResponse, AWSError>;
|
154
|
+
/**
|
155
|
+
* Lists all tags for an Amazon Textract resource.
|
156
|
+
*/
|
157
|
+
listTagsForResource(callback?: (err: AWSError, data: Textract.Types.ListTagsForResourceResponse) => void): Request<Textract.Types.ListTagsForResourceResponse, AWSError>;
|
86
158
|
/**
|
87
159
|
* Starts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements. StartDocumentAnalysis can analyze text in documents that are in JPEG, PNG, TIFF, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document. StartDocumentAnalysis returns a job identifier (JobId) that you use to get the results of the operation. When text analysis is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel. To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis. For more information, see Document Text Analysis.
|
88
160
|
*/
|
@@ -115,15 +187,133 @@ declare class Textract extends Service {
|
|
115
187
|
* Starts the classification and analysis of an input document. StartLendingAnalysis initiates the classification and analysis of a packet of lending documents. StartLendingAnalysis operates on a document file located in an Amazon S3 bucket. StartLendingAnalysis can analyze text in documents that are in one of the following formats: JPEG, PNG, TIFF, PDF. Use DocumentLocation to specify the bucket name and the file name of the document. StartLendingAnalysis returns a job identifier (JobId) that you use to get the results of the operation. When the text analysis is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel. To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If the status is SUCCEEDED you can call either GetLendingAnalysis or GetLendingAnalysisSummary and provide the JobId to obtain the results of the analysis. If using OutputConfig to specify an Amazon S3 bucket, the output will be contained within the specified prefix in a directory labeled with the job-id. In the directory there are 3 sub-directories: detailedResponse (contains the GetLendingAnalysis response) summaryResponse (for the GetLendingAnalysisSummary response) splitDocuments (documents split across logical boundaries)
|
116
188
|
*/
|
117
189
|
startLendingAnalysis(callback?: (err: AWSError, data: Textract.Types.StartLendingAnalysisResponse) => void): Request<Textract.Types.StartLendingAnalysisResponse, AWSError>;
|
190
|
+
/**
|
191
|
+
* Adds one or more tags to the specified resource.
|
192
|
+
*/
|
193
|
+
tagResource(params: Textract.Types.TagResourceRequest, callback?: (err: AWSError, data: Textract.Types.TagResourceResponse) => void): Request<Textract.Types.TagResourceResponse, AWSError>;
|
194
|
+
/**
|
195
|
+
* Adds one or more tags to the specified resource.
|
196
|
+
*/
|
197
|
+
tagResource(callback?: (err: AWSError, data: Textract.Types.TagResourceResponse) => void): Request<Textract.Types.TagResourceResponse, AWSError>;
|
198
|
+
/**
|
199
|
+
* Removes any tags with the specified keys from the specified resource.
|
200
|
+
*/
|
201
|
+
untagResource(params: Textract.Types.UntagResourceRequest, callback?: (err: AWSError, data: Textract.Types.UntagResourceResponse) => void): Request<Textract.Types.UntagResourceResponse, AWSError>;
|
202
|
+
/**
|
203
|
+
* Removes any tags with the specified keys from the specified resource.
|
204
|
+
*/
|
205
|
+
untagResource(callback?: (err: AWSError, data: Textract.Types.UntagResourceResponse) => void): Request<Textract.Types.UntagResourceResponse, AWSError>;
|
206
|
+
/**
|
207
|
+
* Update the configuration for an adapter. FeatureTypes configurations cannot be updated. At least one new parameter must be specified as an argument.
|
208
|
+
*/
|
209
|
+
updateAdapter(params: Textract.Types.UpdateAdapterRequest, callback?: (err: AWSError, data: Textract.Types.UpdateAdapterResponse) => void): Request<Textract.Types.UpdateAdapterResponse, AWSError>;
|
210
|
+
/**
|
211
|
+
* Update the configuration for an adapter. FeatureTypes configurations cannot be updated. At least one new parameter must be specified as an argument.
|
212
|
+
*/
|
213
|
+
updateAdapter(callback?: (err: AWSError, data: Textract.Types.UpdateAdapterResponse) => void): Request<Textract.Types.UpdateAdapterResponse, AWSError>;
|
118
214
|
}
|
119
215
|
declare namespace Textract {
|
216
|
+
export interface Adapter {
|
217
|
+
/**
|
218
|
+
* A unique identifier for the adapter resource.
|
219
|
+
*/
|
220
|
+
AdapterId: AdapterId;
|
221
|
+
/**
|
222
|
+
* Pages is a parameter that the user inputs to specify which pages to apply an adapter to. The following is a list of rules for using this parameter. If a page is not specified, it is set to ["1"] by default. The following characters are allowed in the parameter's string: 0 1 2 3 4 5 6 7 8 9 - *. No whitespace is allowed. When using * to indicate all pages, it must be the only element in the list. You can use page intervals, such as ["1-3", "1-1", "4-*"]. Where * indicates last page of document. Specified pages must be greater than 0 and less than or equal to the number of pages in the document.
|
223
|
+
*/
|
224
|
+
Pages?: AdapterPages;
|
225
|
+
/**
|
226
|
+
* A string that identifies the version of the adapter.
|
227
|
+
*/
|
228
|
+
Version: AdapterVersion;
|
229
|
+
}
|
230
|
+
export type AdapterDescription = string;
|
231
|
+
export type AdapterId = string;
|
232
|
+
export type AdapterList = AdapterOverview[];
|
233
|
+
export type AdapterName = string;
|
234
|
+
export interface AdapterOverview {
|
235
|
+
/**
|
236
|
+
* A unique identifier for the adapter resource.
|
237
|
+
*/
|
238
|
+
AdapterId?: AdapterId;
|
239
|
+
/**
|
240
|
+
* A string naming the adapter resource.
|
241
|
+
*/
|
242
|
+
AdapterName?: AdapterName;
|
243
|
+
/**
|
244
|
+
* The date and time that the adapter was created.
|
245
|
+
*/
|
246
|
+
CreationTime?: DateTime;
|
247
|
+
/**
|
248
|
+
* The feature types that the adapter is operating on.
|
249
|
+
*/
|
250
|
+
FeatureTypes?: FeatureTypes;
|
251
|
+
}
|
252
|
+
export type AdapterPage = string;
|
253
|
+
export type AdapterPages = AdapterPage[];
|
254
|
+
export type AdapterVersion = string;
|
255
|
+
export interface AdapterVersionDatasetConfig {
|
256
|
+
ManifestS3Object?: S3Object;
|
257
|
+
}
|
258
|
+
export interface AdapterVersionEvaluationMetric {
|
259
|
+
/**
|
260
|
+
* The F1 score, precision, and recall metrics for the baseline model.
|
261
|
+
*/
|
262
|
+
Baseline?: EvaluationMetric;
|
263
|
+
/**
|
264
|
+
* The F1 score, precision, and recall metrics for the baseline model.
|
265
|
+
*/
|
266
|
+
AdapterVersion?: EvaluationMetric;
|
267
|
+
/**
|
268
|
+
* Indicates the feature type being analyzed by a given adapter version.
|
269
|
+
*/
|
270
|
+
FeatureType?: FeatureType;
|
271
|
+
}
|
272
|
+
export type AdapterVersionEvaluationMetrics = AdapterVersionEvaluationMetric[];
|
273
|
+
export type AdapterVersionList = AdapterVersionOverview[];
|
274
|
+
export interface AdapterVersionOverview {
|
275
|
+
/**
|
276
|
+
* A unique identifier for the adapter associated with a given adapter version.
|
277
|
+
*/
|
278
|
+
AdapterId?: AdapterId;
|
279
|
+
/**
|
280
|
+
* An identified for a given adapter version.
|
281
|
+
*/
|
282
|
+
AdapterVersion?: AdapterVersion;
|
283
|
+
/**
|
284
|
+
* The date and time that a given adapter version was created.
|
285
|
+
*/
|
286
|
+
CreationTime?: DateTime;
|
287
|
+
/**
|
288
|
+
* The feature types that the adapter version is operating on.
|
289
|
+
*/
|
290
|
+
FeatureTypes?: FeatureTypes;
|
291
|
+
/**
|
292
|
+
* Contains information on the status of a given adapter version.
|
293
|
+
*/
|
294
|
+
Status?: AdapterVersionStatus;
|
295
|
+
/**
|
296
|
+
* A message explaining the status of a given adapter vesion.
|
297
|
+
*/
|
298
|
+
StatusMessage?: AdapterVersionStatusMessage;
|
299
|
+
}
|
300
|
+
export type AdapterVersionStatus = "ACTIVE"|"AT_RISK"|"DEPRECATED"|"CREATION_ERROR"|"CREATION_IN_PROGRESS"|string;
|
301
|
+
export type AdapterVersionStatusMessage = string;
|
302
|
+
export type Adapters = Adapter[];
|
303
|
+
export interface AdaptersConfig {
|
304
|
+
/**
|
305
|
+
* A list of adapters to be used when analyzing the specified document.
|
306
|
+
*/
|
307
|
+
Adapters: Adapters;
|
308
|
+
}
|
309
|
+
export type AmazonResourceName = string;
|
120
310
|
export interface AnalyzeDocumentRequest {
|
121
311
|
/**
|
122
312
|
* The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG, PNG, PDF, or TIFF format. If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the Bytes field.
|
123
313
|
*/
|
124
314
|
Document: Document;
|
125
315
|
/**
|
126
|
-
* A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the locations of detected signatures. Add LAYOUT to the list to return information about the layout of the document.
|
316
|
+
* A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the locations of detected signatures. Add LAYOUT to the list to return information about the layout of the document. All lines and words detected in the document are included in the response (including text that isn't related to the value of FeatureTypes).
|
127
317
|
*/
|
128
318
|
FeatureTypes: FeatureTypes;
|
129
319
|
/**
|
@@ -134,6 +324,10 @@ declare namespace Textract {
|
|
134
324
|
* Contains Queries and the alias for those Queries, as determined by the input.
|
135
325
|
*/
|
136
326
|
QueriesConfig?: QueriesConfig;
|
327
|
+
/**
|
328
|
+
* Specifies the adapter to be used when analyzing a document.
|
329
|
+
*/
|
330
|
+
AdaptersConfig?: AdaptersConfig;
|
137
331
|
}
|
138
332
|
export interface AnalyzeDocumentResponse {
|
139
333
|
/**
|
@@ -194,9 +388,10 @@ declare namespace Textract {
|
|
194
388
|
*/
|
195
389
|
AnalyzeIDModelVersion?: String;
|
196
390
|
}
|
391
|
+
export type AutoUpdate = "ENABLED"|"DISABLED"|string;
|
197
392
|
export interface Block {
|
198
393
|
/**
|
199
|
-
* The type of text item that's recognized. In operations for text detection, the following types are returned: PAGE - Contains a list of the LINE Block objects that are detected on a document page. WORD - A word detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page. In text analysis operations, the following types are returned: PAGE - Contains a list of child Block objects that are detected on a document page. KEY_VALUE_SET - Stores the KEY and VALUE Block objects for linked text that's detected on a document page. Use the EntityType field to determine if a KEY_VALUE_SET object is a KEY Block object or a VALUE Block object. WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page. TABLE - A table that's detected on a document page. A table is grid-based information with two or more rows or columns, with a cell span of one row and one column each. TABLE_TITLE - The title of a table. A title is typically a line of text above or below a table, or embedded as the first row of a table. TABLE_FOOTER - The footer associated with a table. A footer is typically a line or lines of text below a table or embedded as the last row of a table. CELL - A cell within a detected table. The cell is the parent of the block that contains the text in the cell. MERGED_CELL - A cell in a table whose content spans more than one row or column. The Relationships array for this cell contain data from individual cells. SELECTION_ELEMENT - A selection element such as an option button (radio button) or a check box that's detected on a document page. Use the value of SelectionStatus to determine the status of the selection element. SIGNATURE - The location and confidence score of a signature detected on a document page. Can be returned as part of a Key-Value pair or a detected cell. QUERY - A question asked during the call of AnalyzeDocument. Contains an alias and an ID that attaches it to its answer. QUERY_RESULT - A response to a question asked during the call of analyze document. Comes with an alias and ID for ease of locating in a response. Also contains location and confidence score.
|
394
|
+
* The type of text item that's recognized. In operations for text detection, the following types are returned: PAGE - Contains a list of the LINE Block objects that are detected on a document page. WORD - A word detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page. In text analysis operations, the following types are returned: PAGE - Contains a list of child Block objects that are detected on a document page. KEY_VALUE_SET - Stores the KEY and VALUE Block objects for linked text that's detected on a document page. Use the EntityType field to determine if a KEY_VALUE_SET object is a KEY Block object or a VALUE Block object. WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page. TABLE - A table that's detected on a document page. A table is grid-based information with two or more rows or columns, with a cell span of one row and one column each. TABLE_TITLE - The title of a table. A title is typically a line of text above or below a table, or embedded as the first row of a table. TABLE_FOOTER - The footer associated with a table. A footer is typically a line or lines of text below a table or embedded as the last row of a table. CELL - A cell within a detected table. The cell is the parent of the block that contains the text in the cell. MERGED_CELL - A cell in a table whose content spans more than one row or column. The Relationships array for this cell contain data from individual cells. SELECTION_ELEMENT - A selection element such as an option button (radio button) or a check box that's detected on a document page. Use the value of SelectionStatus to determine the status of the selection element. SIGNATURE - The location and confidence score of a signature detected on a document page. Can be returned as part of a Key-Value pair or a detected cell. QUERY - A question asked during the call of AnalyzeDocument. Contains an alias and an ID that attaches it to its answer. QUERY_RESULT - A response to a question asked during the call of analyze document. Comes with an alias and ID for ease of locating in a response. Also contains location and confidence score. The following BlockTypes are only returned for Amazon Textract Layout. LAYOUT_TITLE - The main title of the document. LAYOUT_HEADER - Text located in the top margin of the document. LAYOUT_FOOTER - Text located in the bottom margin of the document. LAYOUT_SECTION_HEADER - The titles of sections within a document. LAYOUT_PAGE_NUMBER - The page number of the documents. LAYOUT_LIST - Any information grouped together in list form. LAYOUT_FIGURE - Indicates the location of an image in a document. LAYOUT_TABLE - Indicates the location of a table in the document. LAYOUT_KEY_VALUE - Indicates the location of form key-values in a document. LAYOUT_TEXT - Text that is present typically as a part of paragraphs in documents.
|
200
395
|
*/
|
201
396
|
BlockType?: BlockType;
|
202
397
|
/**
|
@@ -279,6 +474,92 @@ declare namespace Textract {
|
|
279
474
|
export type ClientRequestToken = string;
|
280
475
|
export type ContentClassifier = "FreeOfPersonallyIdentifiableInformation"|"FreeOfAdultContent"|string;
|
281
476
|
export type ContentClassifiers = ContentClassifier[];
|
477
|
+
export interface CreateAdapterRequest {
|
478
|
+
/**
|
479
|
+
* The name to be assigned to the adapter being created.
|
480
|
+
*/
|
481
|
+
AdapterName: AdapterName;
|
482
|
+
/**
|
483
|
+
* Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapter requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.
|
484
|
+
*/
|
485
|
+
ClientRequestToken?: ClientRequestToken;
|
486
|
+
/**
|
487
|
+
* The description to be assigned to the adapter being created.
|
488
|
+
*/
|
489
|
+
Description?: AdapterDescription;
|
490
|
+
/**
|
491
|
+
* The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES
|
492
|
+
*/
|
493
|
+
FeatureTypes: FeatureTypes;
|
494
|
+
/**
|
495
|
+
* Controls whether or not the adapter should automatically update.
|
496
|
+
*/
|
497
|
+
AutoUpdate?: AutoUpdate;
|
498
|
+
/**
|
499
|
+
* A list of tags to be added to the adapter.
|
500
|
+
*/
|
501
|
+
Tags?: TagMap;
|
502
|
+
}
|
503
|
+
export interface CreateAdapterResponse {
|
504
|
+
/**
|
505
|
+
* A string containing the unique ID for the adapter that has been created.
|
506
|
+
*/
|
507
|
+
AdapterId?: AdapterId;
|
508
|
+
}
|
509
|
+
export interface CreateAdapterVersionRequest {
|
510
|
+
/**
|
511
|
+
* A string containing a unique ID for the adapter that will receive a new version.
|
512
|
+
*/
|
513
|
+
AdapterId: AdapterId;
|
514
|
+
/**
|
515
|
+
* Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapterVersion requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.
|
516
|
+
*/
|
517
|
+
ClientRequestToken?: ClientRequestToken;
|
518
|
+
/**
|
519
|
+
* Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value.
|
520
|
+
*/
|
521
|
+
DatasetConfig: AdapterVersionDatasetConfig;
|
522
|
+
/**
|
523
|
+
* The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
|
524
|
+
*/
|
525
|
+
KMSKeyId?: KMSKeyId;
|
526
|
+
OutputConfig: OutputConfig;
|
527
|
+
/**
|
528
|
+
* A set of tags (key-value pairs) that you want to attach to the adapter version.
|
529
|
+
*/
|
530
|
+
Tags?: TagMap;
|
531
|
+
}
|
532
|
+
export interface CreateAdapterVersionResponse {
|
533
|
+
/**
|
534
|
+
* A string containing the unique ID for the adapter that has received a new version.
|
535
|
+
*/
|
536
|
+
AdapterId?: AdapterId;
|
537
|
+
/**
|
538
|
+
* A string describing the new version of the adapter.
|
539
|
+
*/
|
540
|
+
AdapterVersion?: AdapterVersion;
|
541
|
+
}
|
542
|
+
export type DateTime = Date;
|
543
|
+
export interface DeleteAdapterRequest {
|
544
|
+
/**
|
545
|
+
* A string containing a unique ID for the adapter to be deleted.
|
546
|
+
*/
|
547
|
+
AdapterId: AdapterId;
|
548
|
+
}
|
549
|
+
export interface DeleteAdapterResponse {
|
550
|
+
}
|
551
|
+
export interface DeleteAdapterVersionRequest {
|
552
|
+
/**
|
553
|
+
* A string containing a unique ID for the adapter version that will be deleted.
|
554
|
+
*/
|
555
|
+
AdapterId: AdapterId;
|
556
|
+
/**
|
557
|
+
* Specifies the adapter version to be deleted.
|
558
|
+
*/
|
559
|
+
AdapterVersion: AdapterVersion;
|
560
|
+
}
|
561
|
+
export interface DeleteAdapterVersionResponse {
|
562
|
+
}
|
282
563
|
export interface DetectDocumentTextRequest {
|
283
564
|
/**
|
284
565
|
* The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format. If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the Bytes field.
|
@@ -351,6 +632,20 @@ declare namespace Textract {
|
|
351
632
|
export type EntityType = "KEY"|"VALUE"|"COLUMN_HEADER"|"TABLE_TITLE"|"TABLE_FOOTER"|"TABLE_SECTION_TITLE"|"TABLE_SUMMARY"|"STRUCTURED_TABLE"|"SEMI_STRUCTURED_TABLE"|string;
|
352
633
|
export type EntityTypes = EntityType[];
|
353
634
|
export type ErrorCode = string;
|
635
|
+
export interface EvaluationMetric {
|
636
|
+
/**
|
637
|
+
* The F1 score for an adapter version.
|
638
|
+
*/
|
639
|
+
F1Score?: Float;
|
640
|
+
/**
|
641
|
+
* The Precision score for an adapter version.
|
642
|
+
*/
|
643
|
+
Precision?: Float;
|
644
|
+
/**
|
645
|
+
* The Recall score for an adapter version.
|
646
|
+
*/
|
647
|
+
Recall?: Float;
|
648
|
+
}
|
354
649
|
export interface ExpenseCurrency {
|
355
650
|
/**
|
356
651
|
* Currency code for detected currency. the current supported codes are: USD EUR GBP CAD INR JPY CHF AUD CNY BZR SEK HKD
|
@@ -462,6 +757,95 @@ declare namespace Textract {
|
|
462
757
|
*/
|
463
758
|
Polygon?: Polygon;
|
464
759
|
}
|
760
|
+
export interface GetAdapterRequest {
|
761
|
+
/**
|
762
|
+
* A string containing a unique ID for the adapter.
|
763
|
+
*/
|
764
|
+
AdapterId: AdapterId;
|
765
|
+
}
|
766
|
+
export interface GetAdapterResponse {
|
767
|
+
/**
|
768
|
+
* A string identifying the adapter that information has been retrieved for.
|
769
|
+
*/
|
770
|
+
AdapterId?: AdapterId;
|
771
|
+
/**
|
772
|
+
* The name of the requested adapter.
|
773
|
+
*/
|
774
|
+
AdapterName?: AdapterName;
|
775
|
+
/**
|
776
|
+
* The date and time the requested adapter was created at.
|
777
|
+
*/
|
778
|
+
CreationTime?: DateTime;
|
779
|
+
/**
|
780
|
+
* The description for the requested adapter.
|
781
|
+
*/
|
782
|
+
Description?: AdapterDescription;
|
783
|
+
/**
|
784
|
+
* List of the targeted feature types for the requested adapter.
|
785
|
+
*/
|
786
|
+
FeatureTypes?: FeatureTypes;
|
787
|
+
/**
|
788
|
+
* Binary value indicating if the adapter is being automatically updated or not.
|
789
|
+
*/
|
790
|
+
AutoUpdate?: AutoUpdate;
|
791
|
+
/**
|
792
|
+
* A set of tags (key-value pairs) associated with the adapter that has been retrieved.
|
793
|
+
*/
|
794
|
+
Tags?: TagMap;
|
795
|
+
}
|
796
|
+
export interface GetAdapterVersionRequest {
|
797
|
+
/**
|
798
|
+
* A string specifying a unique ID for the adapter version you want to retrieve information for.
|
799
|
+
*/
|
800
|
+
AdapterId: AdapterId;
|
801
|
+
/**
|
802
|
+
* A string specifying the adapter version you want to retrieve information for.
|
803
|
+
*/
|
804
|
+
AdapterVersion: AdapterVersion;
|
805
|
+
}
|
806
|
+
export interface GetAdapterVersionResponse {
|
807
|
+
/**
|
808
|
+
* A string containing a unique ID for the adapter version being retrieved.
|
809
|
+
*/
|
810
|
+
AdapterId?: AdapterId;
|
811
|
+
/**
|
812
|
+
* A string containing the adapter version that has been retrieved.
|
813
|
+
*/
|
814
|
+
AdapterVersion?: AdapterVersion;
|
815
|
+
/**
|
816
|
+
* The time that the adapter version was created.
|
817
|
+
*/
|
818
|
+
CreationTime?: DateTime;
|
819
|
+
/**
|
820
|
+
* List of the targeted feature types for the requested adapter version.
|
821
|
+
*/
|
822
|
+
FeatureTypes?: FeatureTypes;
|
823
|
+
/**
|
824
|
+
* The status of the adapter version that has been requested.
|
825
|
+
*/
|
826
|
+
Status?: AdapterVersionStatus;
|
827
|
+
/**
|
828
|
+
* A message that describes the status of the requested adapter version.
|
829
|
+
*/
|
830
|
+
StatusMessage?: AdapterVersionStatusMessage;
|
831
|
+
/**
|
832
|
+
* Specifies a dataset used to train a new adapter version. Takes a ManifestS3Objec as the value.
|
833
|
+
*/
|
834
|
+
DatasetConfig?: AdapterVersionDatasetConfig;
|
835
|
+
/**
|
836
|
+
* The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
|
837
|
+
*/
|
838
|
+
KMSKeyId?: KMSKeyId;
|
839
|
+
OutputConfig?: OutputConfig;
|
840
|
+
/**
|
841
|
+
* The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.
|
842
|
+
*/
|
843
|
+
EvaluationMetrics?: AdapterVersionEvaluationMetrics;
|
844
|
+
/**
|
845
|
+
* A set of tags (key-value pairs) that are associated with the adapter version.
|
846
|
+
*/
|
847
|
+
Tags?: TagMap;
|
848
|
+
}
|
465
849
|
export interface GetDocumentAnalysisRequest {
|
466
850
|
/**
|
467
851
|
* A unique identifier for the text-detection job. The JobId is returned from StartDocumentAnalysis. A JobId value is only valid for 7 days.
|
@@ -810,6 +1194,78 @@ declare namespace Textract {
|
|
810
1194
|
}
|
811
1195
|
export type LineItemGroupList = LineItemGroup[];
|
812
1196
|
export type LineItemList = LineItemFields[];
|
1197
|
+
export interface ListAdapterVersionsRequest {
|
1198
|
+
/**
|
1199
|
+
* A string containing a unique ID for the adapter to match for when listing adapter versions.
|
1200
|
+
*/
|
1201
|
+
AdapterId?: AdapterId;
|
1202
|
+
/**
|
1203
|
+
* Specifies the lower bound for the ListAdapterVersions operation. Ensures ListAdapterVersions returns only adapter versions created after the specified creation time.
|
1204
|
+
*/
|
1205
|
+
AfterCreationTime?: DateTime;
|
1206
|
+
/**
|
1207
|
+
* Specifies the upper bound for the ListAdapterVersions operation. Ensures ListAdapterVersions returns only adapter versions created after the specified creation time.
|
1208
|
+
*/
|
1209
|
+
BeforeCreationTime?: DateTime;
|
1210
|
+
/**
|
1211
|
+
* The maximum number of results to return when listing adapter versions.
|
1212
|
+
*/
|
1213
|
+
MaxResults?: MaxResults;
|
1214
|
+
/**
|
1215
|
+
* Identifies the next page of results to return when listing adapter versions.
|
1216
|
+
*/
|
1217
|
+
NextToken?: PaginationToken;
|
1218
|
+
}
|
1219
|
+
export interface ListAdapterVersionsResponse {
|
1220
|
+
/**
|
1221
|
+
* Adapter versions that match the filtering criteria specified when calling ListAdapters.
|
1222
|
+
*/
|
1223
|
+
AdapterVersions?: AdapterVersionList;
|
1224
|
+
/**
|
1225
|
+
* Identifies the next page of results to return when listing adapter versions.
|
1226
|
+
*/
|
1227
|
+
NextToken?: PaginationToken;
|
1228
|
+
}
|
1229
|
+
export interface ListAdaptersRequest {
|
1230
|
+
/**
|
1231
|
+
* Specifies the lower bound for the ListAdapters operation. Ensures ListAdapters returns only adapters created after the specified creation time.
|
1232
|
+
*/
|
1233
|
+
AfterCreationTime?: DateTime;
|
1234
|
+
/**
|
1235
|
+
* Specifies the upper bound for the ListAdapters operation. Ensures ListAdapters returns only adapters created before the specified creation time.
|
1236
|
+
*/
|
1237
|
+
BeforeCreationTime?: DateTime;
|
1238
|
+
/**
|
1239
|
+
* The maximum number of results to return when listing adapters.
|
1240
|
+
*/
|
1241
|
+
MaxResults?: MaxResults;
|
1242
|
+
/**
|
1243
|
+
* Identifies the next page of results to return when listing adapters.
|
1244
|
+
*/
|
1245
|
+
NextToken?: PaginationToken;
|
1246
|
+
}
|
1247
|
+
export interface ListAdaptersResponse {
|
1248
|
+
/**
|
1249
|
+
* A list of adapters that matches the filtering criteria specified when calling ListAdapters.
|
1250
|
+
*/
|
1251
|
+
Adapters?: AdapterList;
|
1252
|
+
/**
|
1253
|
+
* Identifies the next page of results to return when listing adapters.
|
1254
|
+
*/
|
1255
|
+
NextToken?: PaginationToken;
|
1256
|
+
}
|
1257
|
+
export interface ListTagsForResourceRequest {
|
1258
|
+
/**
|
1259
|
+
* The Amazon Resource Name (ARN) that specifies the resource to list tags for.
|
1260
|
+
*/
|
1261
|
+
ResourceARN: AmazonResourceName;
|
1262
|
+
}
|
1263
|
+
export interface ListTagsForResourceResponse {
|
1264
|
+
/**
|
1265
|
+
* A set of tags (key-value pairs) that are part of the requested resource.
|
1266
|
+
*/
|
1267
|
+
Tags?: TagMap;
|
1268
|
+
}
|
813
1269
|
export type MaxResults = number;
|
814
1270
|
export type NonEmptyString = string;
|
815
1271
|
export interface NormalizedValue {
|
@@ -983,6 +1439,10 @@ declare namespace Textract {
|
|
983
1439
|
*/
|
984
1440
|
KMSKeyId?: KMSKeyId;
|
985
1441
|
QueriesConfig?: QueriesConfig;
|
1442
|
+
/**
|
1443
|
+
* Specifies the adapter to be used when analyzing a document.
|
1444
|
+
*/
|
1445
|
+
AdaptersConfig?: AdaptersConfig;
|
986
1446
|
}
|
987
1447
|
export interface StartDocumentAnalysisResponse {
|
988
1448
|
/**
|
@@ -1080,6 +1540,22 @@ declare namespace Textract {
|
|
1080
1540
|
export type StatusMessage = string;
|
1081
1541
|
export type String = string;
|
1082
1542
|
export type StringList = String[];
|
1543
|
+
export type TagKey = string;
|
1544
|
+
export type TagKeyList = TagKey[];
|
1545
|
+
export type TagMap = {[key: string]: TagValue};
|
1546
|
+
export interface TagResourceRequest {
|
1547
|
+
/**
|
1548
|
+
* The Amazon Resource Name (ARN) that specifies the resource to be tagged.
|
1549
|
+
*/
|
1550
|
+
ResourceARN: AmazonResourceName;
|
1551
|
+
/**
|
1552
|
+
* A set of tags (key-value pairs) that you want to assign to the resource.
|
1553
|
+
*/
|
1554
|
+
Tags: TagMap;
|
1555
|
+
}
|
1556
|
+
export interface TagResourceResponse {
|
1557
|
+
}
|
1558
|
+
export type TagValue = string;
|
1083
1559
|
export type TextType = "HANDWRITING"|"PRINTED"|string;
|
1084
1560
|
export type UInteger = number;
|
1085
1561
|
export type UndetectedDocumentTypeList = NonEmptyString[];
|
@@ -1090,6 +1566,62 @@ declare namespace Textract {
|
|
1090
1566
|
Page?: UInteger;
|
1091
1567
|
}
|
1092
1568
|
export type UndetectedSignatureList = UndetectedSignature[];
|
1569
|
+
export interface UntagResourceRequest {
|
1570
|
+
/**
|
1571
|
+
* The Amazon Resource Name (ARN) that specifies the resource to be untagged.
|
1572
|
+
*/
|
1573
|
+
ResourceARN: AmazonResourceName;
|
1574
|
+
/**
|
1575
|
+
* Specifies the tags to be removed from the resource specified by the ResourceARN.
|
1576
|
+
*/
|
1577
|
+
TagKeys: TagKeyList;
|
1578
|
+
}
|
1579
|
+
export interface UntagResourceResponse {
|
1580
|
+
}
|
1581
|
+
export interface UpdateAdapterRequest {
|
1582
|
+
/**
|
1583
|
+
* A string containing a unique ID for the adapter that will be updated.
|
1584
|
+
*/
|
1585
|
+
AdapterId: AdapterId;
|
1586
|
+
/**
|
1587
|
+
* The new description to be applied to the adapter.
|
1588
|
+
*/
|
1589
|
+
Description?: AdapterDescription;
|
1590
|
+
/**
|
1591
|
+
* The new name to be applied to the adapter.
|
1592
|
+
*/
|
1593
|
+
AdapterName?: AdapterName;
|
1594
|
+
/**
|
1595
|
+
* The new auto-update status to be applied to the adapter.
|
1596
|
+
*/
|
1597
|
+
AutoUpdate?: AutoUpdate;
|
1598
|
+
}
|
1599
|
+
export interface UpdateAdapterResponse {
|
1600
|
+
/**
|
1601
|
+
* A string containing a unique ID for the adapter that has been updated.
|
1602
|
+
*/
|
1603
|
+
AdapterId?: AdapterId;
|
1604
|
+
/**
|
1605
|
+
* A string containing the name of the adapter that has been updated.
|
1606
|
+
*/
|
1607
|
+
AdapterName?: AdapterName;
|
1608
|
+
/**
|
1609
|
+
* An object specifying the creation time of the the adapter that has been updated.
|
1610
|
+
*/
|
1611
|
+
CreationTime?: DateTime;
|
1612
|
+
/**
|
1613
|
+
* A string containing the description of the adapter that has been updated.
|
1614
|
+
*/
|
1615
|
+
Description?: AdapterDescription;
|
1616
|
+
/**
|
1617
|
+
* List of the targeted feature types for the updated adapter.
|
1618
|
+
*/
|
1619
|
+
FeatureTypes?: FeatureTypes;
|
1620
|
+
/**
|
1621
|
+
* The auto-update status of the adapter that has been updated.
|
1622
|
+
*/
|
1623
|
+
AutoUpdate?: AutoUpdate;
|
1624
|
+
}
|
1093
1625
|
export type ValueType = "DATE"|string;
|
1094
1626
|
export interface Warning {
|
1095
1627
|
/**
|
@@ -1288,7 +1288,7 @@ declare namespace TranscribeService {
|
|
1288
1288
|
*/
|
1289
1289
|
RedactedMediaFileUri?: Uri;
|
1290
1290
|
}
|
1291
|
-
export type MediaFormat = "mp3"|"mp4"|"wav"|"flac"|"ogg"|"amr"|"webm"|string;
|
1291
|
+
export type MediaFormat = "mp3"|"mp4"|"wav"|"flac"|"ogg"|"amr"|"webm"|"m4a"|string;
|
1292
1292
|
export type MediaSampleRateHertz = number;
|
1293
1293
|
export type MedicalContentIdentificationType = "PHI"|string;
|
1294
1294
|
export type MedicalMediaSampleRateHertz = number;
|