cdk-docker-image-deployment 0.0.87 → 0.0.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/.jsii +3 -3
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/aws-sdk/CHANGELOG.md +51 -1
  6. package/node_modules/aws-sdk/README.md +29 -1
  7. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.examples.json +5 -0
  8. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +284 -0
  9. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.paginators.json +16 -0
  10. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +441 -110
  11. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +12 -0
  12. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +31 -13
  13. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +282 -134
  14. package/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json +6 -0
  15. package/node_modules/aws-sdk/apis/drs-2020-02-26.min.json +124 -45
  16. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +2824 -1317
  17. package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +42 -0
  18. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +331 -215
  19. package/node_modules/aws-sdk/apis/ecs-2014-11-13.paginators.json +6 -0
  20. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +87 -52
  21. package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +128 -27
  22. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +156 -130
  23. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +341 -298
  24. package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +205 -28
  25. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +252 -214
  26. package/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +26 -0
  27. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +686 -105
  28. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +43 -8
  29. package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +359 -50
  30. package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +127 -72
  31. package/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json +0 -7
  32. package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +69 -50
  33. package/node_modules/aws-sdk/apis/lambda-2015-03-31.waiters2.json +26 -0
  34. package/node_modules/aws-sdk/apis/license-manager-user-subscriptions-2018-05-10.min.json +82 -9
  35. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +97 -16
  36. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +793 -112
  37. package/node_modules/aws-sdk/apis/macie2-2020-01-01.paginators.json +33 -0
  38. package/node_modules/aws-sdk/apis/metadata.json +19 -0
  39. package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +931 -118
  40. package/node_modules/aws-sdk/apis/mgn-2020-02-26.paginators.json +24 -0
  41. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +23 -14
  42. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.paginators.json +4 -1
  43. package/node_modules/aws-sdk/apis/oam-2022-06-10.examples.json +5 -0
  44. package/node_modules/aws-sdk/apis/oam-2022-06-10.min.json +482 -0
  45. package/node_modules/aws-sdk/apis/oam-2022-06-10.paginators.json +22 -0
  46. package/node_modules/aws-sdk/apis/omics-2022-11-28.examples.json +5 -0
  47. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +3722 -0
  48. package/node_modules/aws-sdk/apis/omics-2022-11-28.paginators.json +100 -0
  49. package/node_modules/aws-sdk/apis/omics-2022-11-28.waiters2.json +498 -0
  50. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.examples.json +5 -0
  51. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.min.json +1082 -0
  52. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.paginators.json +29 -0
  53. package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +62 -16
  54. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +5991 -325
  55. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +379 -236
  56. package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +6 -0
  57. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +138 -28
  58. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +23 -16
  59. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.examples.json +5 -0
  60. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.min.json +1041 -0
  61. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.paginators.json +28 -0
  62. package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.examples.json +5 -0
  63. package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.min.json +578 -0
  64. package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.paginators.json +14 -0
  65. package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +310 -62
  66. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +98 -95
  67. package/node_modules/aws-sdk/clients/all.d.ts +6 -0
  68. package/node_modules/aws-sdk/clients/all.js +7 -1
  69. package/node_modules/aws-sdk/clients/arczonalshift.d.ts +309 -0
  70. package/node_modules/aws-sdk/clients/arczonalshift.js +18 -0
  71. package/node_modules/aws-sdk/clients/backup.d.ts +405 -15
  72. package/node_modules/aws-sdk/clients/cloudwatch.d.ts +30 -16
  73. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +196 -65
  74. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +28 -5
  75. package/node_modules/aws-sdk/clients/configservice.d.ts +233 -6
  76. package/node_modules/aws-sdk/clients/drs.d.ts +104 -5
  77. package/node_modules/aws-sdk/clients/ec2.d.ts +1851 -20
  78. package/node_modules/aws-sdk/clients/ecs.d.ts +159 -17
  79. package/node_modules/aws-sdk/clients/efs.d.ts +5 -5
  80. package/node_modules/aws-sdk/clients/eks.d.ts +58 -8
  81. package/node_modules/aws-sdk/clients/firehose.d.ts +263 -48
  82. package/node_modules/aws-sdk/clients/fsx.d.ts +70 -21
  83. package/node_modules/aws-sdk/clients/glue.d.ts +66 -0
  84. package/node_modules/aws-sdk/clients/inspector2.d.ts +289 -15
  85. package/node_modules/aws-sdk/clients/iot.d.ts +76 -4
  86. package/node_modules/aws-sdk/clients/iotdata.d.ts +31 -1
  87. package/node_modules/aws-sdk/clients/iotwireless.d.ts +599 -14
  88. package/node_modules/aws-sdk/clients/kendra.d.ts +84 -39
  89. package/node_modules/aws-sdk/clients/kms.d.ts +198 -92
  90. package/node_modules/aws-sdk/clients/lambda.d.ts +132 -94
  91. package/node_modules/aws-sdk/clients/licensemanagerusersubscriptions.d.ts +62 -4
  92. package/node_modules/aws-sdk/clients/macie2.d.ts +637 -54
  93. package/node_modules/aws-sdk/clients/mgn.d.ts +1046 -68
  94. package/node_modules/aws-sdk/clients/oam.d.ts +559 -0
  95. package/node_modules/aws-sdk/clients/oam.js +18 -0
  96. package/node_modules/aws-sdk/clients/omics.d.ts +4175 -0
  97. package/node_modules/aws-sdk/clients/omics.js +19 -0
  98. package/node_modules/aws-sdk/clients/opensearchserverless.d.ts +1508 -0
  99. package/node_modules/aws-sdk/clients/opensearchserverless.js +18 -0
  100. package/node_modules/aws-sdk/clients/organizations.d.ts +69 -8
  101. package/node_modules/aws-sdk/clients/quicksight.d.ts +9833 -2835
  102. package/node_modules/aws-sdk/clients/rds.d.ts +199 -2
  103. package/node_modules/aws-sdk/clients/s3control.d.ts +69 -0
  104. package/node_modules/aws-sdk/clients/securityhub.d.ts +14 -0
  105. package/node_modules/aws-sdk/clients/securitylake.d.ts +1049 -0
  106. package/node_modules/aws-sdk/clients/securitylake.js +18 -0
  107. package/node_modules/aws-sdk/clients/simspaceweaver.d.ts +647 -0
  108. package/node_modules/aws-sdk/clients/simspaceweaver.js +18 -0
  109. package/node_modules/aws-sdk/clients/textract.d.ts +264 -0
  110. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +210 -191
  111. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +65 -20
  112. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +349 -64
  113. package/node_modules/aws-sdk/dist/aws-sdk.js +4529 -2130
  114. package/node_modules/aws-sdk/dist/aws-sdk.min.js +79 -78
  115. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +12 -0
  116. package/node_modules/aws-sdk/lib/core.d.ts +4 -0
  117. package/node_modules/aws-sdk/lib/core.js +1 -1
  118. package/node_modules/aws-sdk/lib/event_listeners.js +48 -14
  119. package/node_modules/aws-sdk/lib/region_config.js +13 -2
  120. package/node_modules/aws-sdk/lib/region_config_data.json +11 -1
  121. package/node_modules/aws-sdk/lib/signers/bearer.js +1 -1
  122. package/node_modules/aws-sdk/package.json +1 -1
  123. package/package.json +6 -5
@@ -67,6 +67,22 @@ declare class Textract extends Service {
67
67
  * Gets the results for an Amazon Textract asynchronous operation that analyzes invoices and receipts. Amazon Textract finds contact information, items purchased, and vendor name, from input invoices and receipts. You start asynchronous invoice/receipt analysis by calling StartExpenseAnalysis, which returns a job identifier (JobId). Upon completion of the invoice/receipt analysis, Amazon Textract publishes the completion status to the Amazon Simple Notification Service (Amazon SNS) topic. This topic must be registered in the initial call to StartExpenseAnalysis. To get the results of the invoice/receipt analysis operation, first ensure that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetExpenseAnalysis, and pass the job identifier (JobId) from the initial call to StartExpenseAnalysis. 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 GetExpenseAnalysis, and populate the NextToken request parameter with the token value that's returned from the previous call to GetExpenseAnalysis. For more information, see Analyzing Invoices and Receipts.
68
68
  */
69
69
  getExpenseAnalysis(callback?: (err: AWSError, data: Textract.Types.GetExpenseAnalysisResponse) => void): Request<Textract.Types.GetExpenseAnalysisResponse, AWSError>;
70
+ /**
71
+ * Gets the results for an Amazon Textract asynchronous operation that analyzes text in a lending 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 GetLendingAnalysis, and pass the job identifier (JobId) from the initial call to StartLendingAnalysis.
72
+ */
73
+ getLendingAnalysis(params: Textract.Types.GetLendingAnalysisRequest, callback?: (err: AWSError, data: Textract.Types.GetLendingAnalysisResponse) => void): Request<Textract.Types.GetLendingAnalysisResponse, AWSError>;
74
+ /**
75
+ * Gets the results for an Amazon Textract asynchronous operation that analyzes text in a lending 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 GetLendingAnalysis, and pass the job identifier (JobId) from the initial call to StartLendingAnalysis.
76
+ */
77
+ getLendingAnalysis(callback?: (err: AWSError, data: Textract.Types.GetLendingAnalysisResponse) => void): Request<Textract.Types.GetLendingAnalysisResponse, AWSError>;
78
+ /**
79
+ * 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.
80
+ */
81
+ getLendingAnalysisSummary(params: Textract.Types.GetLendingAnalysisSummaryRequest, callback?: (err: AWSError, data: Textract.Types.GetLendingAnalysisSummaryResponse) => void): Request<Textract.Types.GetLendingAnalysisSummaryResponse, AWSError>;
82
+ /**
83
+ * 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
+ */
85
+ getLendingAnalysisSummary(callback?: (err: AWSError, data: Textract.Types.GetLendingAnalysisSummaryResponse) => void): Request<Textract.Types.GetLendingAnalysisSummaryResponse, AWSError>;
70
86
  /**
71
87
  * 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.
72
88
  */
@@ -91,6 +107,14 @@ declare class Textract extends Service {
91
107
  * Starts the asynchronous analysis of invoices or receipts for data like contact information, items purchased, and vendor names. StartExpenseAnalysis can analyze text in documents that are in JPEG, PNG, and PDF format. The documents must be stored in an Amazon S3 bucket. Use the DocumentLocation parameter to specify the name of your S3 bucket and the name of the document in that bucket. StartExpenseAnalysis returns a job identifier (JobId) that you will provide to GetExpenseAnalysis to retrieve the results of the operation. When the analysis of the input invoices/receipts is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you provide to the NotificationChannel. To obtain the results of the invoice and receipt analysis operation, ensure that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetExpenseAnalysis, and pass the job identifier (JobId) that was returned by your call to StartExpenseAnalysis. For more information, see Analyzing Invoices and Receipts.
92
108
  */
93
109
  startExpenseAnalysis(callback?: (err: AWSError, data: Textract.Types.StartExpenseAnalysisResponse) => void): Request<Textract.Types.StartExpenseAnalysisResponse, AWSError>;
110
+ /**
111
+ * 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)
112
+ */
113
+ startLendingAnalysis(params: Textract.Types.StartLendingAnalysisRequest, callback?: (err: AWSError, data: Textract.Types.StartLendingAnalysisResponse) => void): Request<Textract.Types.StartLendingAnalysisResponse, AWSError>;
114
+ /**
115
+ * 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
+ */
117
+ startLendingAnalysis(callback?: (err: AWSError, data: Textract.Types.StartLendingAnalysisResponse) => void): Request<Textract.Types.StartLendingAnalysisResponse, AWSError>;
94
118
  }
95
119
  declare namespace Textract {
96
120
  export interface AnalyzeDocumentRequest {
@@ -275,6 +299,13 @@ declare namespace Textract {
275
299
  */
276
300
  DetectDocumentTextModelVersion?: String;
277
301
  }
302
+ export interface DetectedSignature {
303
+ /**
304
+ * The page a detected signature was found on.
305
+ */
306
+ Page?: UInteger;
307
+ }
308
+ export type DetectedSignatureList = DetectedSignature[];
278
309
  export interface Document {
279
310
  /**
280
311
  * A blob of base64-encoded document bytes. The maximum size of a document that's provided in a blob of bytes is 5 MB. The document bytes must be in PNG or JPEG format. If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes passed using the Bytes field.
@@ -285,6 +316,25 @@ declare namespace Textract {
285
316
  */
286
317
  S3Object?: S3Object;
287
318
  }
319
+ export interface DocumentGroup {
320
+ /**
321
+ * The type of document that Amazon Textract has detected. See LINK for a list of all types returned by Textract.
322
+ */
323
+ Type?: NonEmptyString;
324
+ /**
325
+ * An array that contains information about the pages of a document, defined by logical boundary.
326
+ */
327
+ SplitDocuments?: SplitDocumentList;
328
+ /**
329
+ * A list of the detected signatures found in a document group.
330
+ */
331
+ DetectedSignatures?: DetectedSignatureList;
332
+ /**
333
+ * A list of any expected signatures not found in a document group.
334
+ */
335
+ UndetectedSignatures?: UndetectedSignatureList;
336
+ }
337
+ export type DocumentGroupList = DocumentGroup[];
288
338
  export interface DocumentLocation {
289
339
  /**
290
340
  * The Amazon S3 bucket that contains the input document.
@@ -389,6 +439,15 @@ declare namespace Textract {
389
439
  */
390
440
  Confidence?: Percent;
391
441
  }
442
+ export interface Extraction {
443
+ /**
444
+ * Holds the structured data returned by AnalyzeDocument for lending documents.
445
+ */
446
+ LendingDocument?: LendingDocument;
447
+ ExpenseDocument?: ExpenseDocument;
448
+ IdentityDocument?: IdentityDocument;
449
+ }
450
+ export type ExtractionList = Extraction[];
392
451
  export type FeatureType = "TABLES"|"FORMS"|"QUERIES"|"SIGNATURES"|string;
393
452
  export type FeatureTypes = FeatureType[];
394
453
  export type Float = number;
@@ -535,6 +594,76 @@ declare namespace Textract {
535
594
  */
536
595
  AnalyzeExpenseModelVersion?: String;
537
596
  }
597
+ export interface GetLendingAnalysisRequest {
598
+ /**
599
+ * A unique identifier for the lending or text-detection job. The JobId is returned from StartLendingAnalysis. A JobId value is only valid for 7 days.
600
+ */
601
+ JobId: JobId;
602
+ /**
603
+ * The maximum number of results to return per paginated call. The largest value that you can specify is 30. If you specify a value greater than 30, a maximum of 30 results is returned. The default value is 30.
604
+ */
605
+ MaxResults?: MaxResults;
606
+ /**
607
+ * If the previous response was incomplete, Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of lending results.
608
+ */
609
+ NextToken?: PaginationToken;
610
+ }
611
+ export interface GetLendingAnalysisResponse {
612
+ DocumentMetadata?: DocumentMetadata;
613
+ /**
614
+ * The current status of the lending analysis job.
615
+ */
616
+ JobStatus?: JobStatus;
617
+ /**
618
+ * If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of lending results.
619
+ */
620
+ NextToken?: PaginationToken;
621
+ /**
622
+ * Holds the information returned by one of AmazonTextract's document analysis operations for the pinstripe.
623
+ */
624
+ Results?: LendingResultList;
625
+ /**
626
+ * A list of warnings that occurred during the lending analysis operation.
627
+ */
628
+ Warnings?: Warnings;
629
+ /**
630
+ * Returns if the lending analysis job could not be completed. Contains explanation for what error occurred.
631
+ */
632
+ StatusMessage?: StatusMessage;
633
+ /**
634
+ * The current model version of the Analyze Lending API.
635
+ */
636
+ AnalyzeLendingModelVersion?: String;
637
+ }
638
+ export interface GetLendingAnalysisSummaryRequest {
639
+ /**
640
+ * A unique identifier for the lending or text-detection job. The JobId is returned from StartLendingAnalysis. A JobId value is only valid for 7 days.
641
+ */
642
+ JobId: JobId;
643
+ }
644
+ export interface GetLendingAnalysisSummaryResponse {
645
+ DocumentMetadata?: DocumentMetadata;
646
+ /**
647
+ * The current status of the lending analysis job.
648
+ */
649
+ JobStatus?: JobStatus;
650
+ /**
651
+ * Contains summary information for documents grouped by type.
652
+ */
653
+ Summary?: LendingSummary;
654
+ /**
655
+ * A list of warnings that occurred during the lending analysis operation.
656
+ */
657
+ Warnings?: Warnings;
658
+ /**
659
+ * Returns if the lending analysis could not be completed. Contains explanation for what error occurred.
660
+ */
661
+ StatusMessage?: StatusMessage;
662
+ /**
663
+ * The current model version of the Analyze Lending API.
664
+ */
665
+ AnalyzeLendingModelVersion?: String;
666
+ }
538
667
  export type HumanLoopActivationConditionsEvaluationResults = string;
539
668
  export interface HumanLoopActivationOutput {
540
669
  /**
@@ -600,6 +729,69 @@ declare namespace Textract {
600
729
  export type JobStatus = "IN_PROGRESS"|"SUCCEEDED"|"FAILED"|"PARTIAL_SUCCESS"|string;
601
730
  export type JobTag = string;
602
731
  export type KMSKeyId = string;
732
+ export interface LendingDetection {
733
+ /**
734
+ * The text extracted for a detected value in a lending document.
735
+ */
736
+ Text?: String;
737
+ /**
738
+ * The selection status of a selection element, such as an option button or check box.
739
+ */
740
+ SelectionStatus?: SelectionStatus;
741
+ Geometry?: Geometry;
742
+ /**
743
+ * The confidence level for the text of a detected value in a lending document.
744
+ */
745
+ Confidence?: Percent;
746
+ }
747
+ export type LendingDetectionList = LendingDetection[];
748
+ export interface LendingDocument {
749
+ /**
750
+ * An array of LendingField objects.
751
+ */
752
+ LendingFields?: LendingFieldList;
753
+ /**
754
+ * A list of signatures detected in a lending document.
755
+ */
756
+ SignatureDetections?: SignatureDetectionList;
757
+ }
758
+ export interface LendingField {
759
+ /**
760
+ * The type of the lending document.
761
+ */
762
+ Type?: String;
763
+ KeyDetection?: LendingDetection;
764
+ /**
765
+ * An array of LendingDetection objects.
766
+ */
767
+ ValueDetections?: LendingDetectionList;
768
+ }
769
+ export type LendingFieldList = LendingField[];
770
+ export interface LendingResult {
771
+ /**
772
+ * The page number for a page, with regard to whole submission.
773
+ */
774
+ Page?: UInteger;
775
+ /**
776
+ * The classifier result for a given page.
777
+ */
778
+ PageClassification?: PageClassification;
779
+ /**
780
+ * An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
781
+ */
782
+ Extractions?: ExtractionList;
783
+ }
784
+ export type LendingResultList = LendingResult[];
785
+ export interface LendingSummary {
786
+ /**
787
+ * Contains an array of all DocumentGroup objects.
788
+ */
789
+ DocumentGroups?: DocumentGroupList;
790
+ /**
791
+ * UndetectedDocumentTypes.
792
+ */
793
+ UndetectedDocumentTypes?: UndetectedDocumentTypeList;
794
+ }
603
795
  export interface LineItemFields {
604
796
  /**
605
797
  * ExpenseFields used to show information from detected lines on a table.
@@ -650,6 +842,17 @@ declare namespace Textract {
650
842
  */
651
843
  S3Prefix?: S3ObjectName;
652
844
  }
845
+ export interface PageClassification {
846
+ /**
847
+ * The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.
848
+ */
849
+ PageType: PredictionList;
850
+ /**
851
+ * The page number the value was detected on, relative to Amazon Textract's starting position.
852
+ */
853
+ PageNumber: PredictionList;
854
+ }
855
+ export type PageList = UInteger[];
653
856
  export type Pages = UInteger[];
654
857
  export type PaginationToken = string;
655
858
  export type Percent = number;
@@ -664,6 +867,17 @@ declare namespace Textract {
664
867
  Y?: Float;
665
868
  }
666
869
  export type Polygon = Point[];
870
+ export interface Prediction {
871
+ /**
872
+ * The predicted value of a detected object.
873
+ */
874
+ Value?: NonEmptyString;
875
+ /**
876
+ * Amazon Textract's confidence in its predicted value.
877
+ */
878
+ Confidence?: Percent;
879
+ }
880
+ export type PredictionList = Prediction[];
667
881
  export type Queries = Query[];
668
882
  export interface QueriesConfig {
669
883
  /**
@@ -720,6 +934,25 @@ declare namespace Textract {
720
934
  export type S3ObjectVersion = string;
721
935
  export type SNSTopicArn = string;
722
936
  export type SelectionStatus = "SELECTED"|"NOT_SELECTED"|string;
937
+ export interface SignatureDetection {
938
+ /**
939
+ * The confidence, from 0 to 100, in the predicted values for a detected signature.
940
+ */
941
+ Confidence?: Percent;
942
+ Geometry?: Geometry;
943
+ }
944
+ export type SignatureDetectionList = SignatureDetection[];
945
+ export interface SplitDocument {
946
+ /**
947
+ * The index for a given document in a DocumentGroup of a specific Type.
948
+ */
949
+ Index?: UInteger;
950
+ /**
951
+ * An array of page numbers for a for a given document, ordered by logical boundary.
952
+ */
953
+ Pages?: PageList;
954
+ }
955
+ export type SplitDocumentList = SplitDocument[];
723
956
  export interface StartDocumentAnalysisRequest {
724
957
  /**
725
958
  * The location of the document to be processed.
@@ -821,11 +1054,42 @@ declare namespace Textract {
821
1054
  */
822
1055
  JobId?: JobId;
823
1056
  }
1057
+ export interface StartLendingAnalysisRequest {
1058
+ DocumentLocation: DocumentLocation;
1059
+ /**
1060
+ * The idempotent token that you use to identify the start request. If you use the same token with multiple StartLendingAnalysis requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidentally started more than once. For more information, see Calling Amazon Textract Asynchronous Operations.
1061
+ */
1062
+ ClientRequestToken?: ClientRequestToken;
1063
+ /**
1064
+ * An identifier that you specify to be included in the completion notification published to the Amazon SNS topic. For example, you can use JobTag to identify the type of document that the completion notification corresponds to (such as a tax form or a receipt).
1065
+ */
1066
+ JobTag?: JobTag;
1067
+ NotificationChannel?: NotificationChannel;
1068
+ OutputConfig?: OutputConfig;
1069
+ /**
1070
+ * The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side, using SSE-S3.
1071
+ */
1072
+ KMSKeyId?: KMSKeyId;
1073
+ }
1074
+ export interface StartLendingAnalysisResponse {
1075
+ /**
1076
+ * A unique identifier for the lending or text-detection job. The JobId is returned from StartLendingAnalysis. A JobId value is only valid for 7 days.
1077
+ */
1078
+ JobId?: JobId;
1079
+ }
824
1080
  export type StatusMessage = string;
825
1081
  export type String = string;
826
1082
  export type StringList = String[];
827
1083
  export type TextType = "HANDWRITING"|"PRINTED"|string;
828
1084
  export type UInteger = number;
1085
+ export type UndetectedDocumentTypeList = NonEmptyString[];
1086
+ export interface UndetectedSignature {
1087
+ /**
1088
+ * The page where a signature was expected but not found.
1089
+ */
1090
+ Page?: UInteger;
1091
+ }
1092
+ export type UndetectedSignatureList = UndetectedSignature[];
829
1093
  export type ValueType = "DATE"|string;
830
1094
  export interface Warning {
831
1095
  /**