aws-sdk-textract 1.91.0 → 1.92.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-textract/client.rb +1 -1
- data/lib/aws-sdk-textract.rb +1 -1
- data/sig/client.rbs +8 -36
- data/sig/params.rbs +22 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d42cd709d44b98fdabec6d5ea2638186e7da3232e7d50c7962b0d6d750b9860
|
|
4
|
+
data.tar.gz: e85a94b8e8794c774dd86fb31a0f1d4c488938887d27f983b0dc3619fd2af797
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '090ad75e0a5e83f8c337687596a6ae99c603418097f46faac2390d6b9adb80f02ae156d59b1a30fb3f30f7949d2affb3ae5f655e8187ed0cf37d1ab88c45d7a0'
|
|
7
|
+
data.tar.gz: f5ab29b89c816f002c9cd959709922c9ac2034bb930b0fc60b014a4c8f08468adf760691af1682d98ff943d72b80f909c09c5c92f41000810cee6e40a032a9c5
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.92.0
|
data/lib/aws-sdk-textract.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -88,14 +88,7 @@ module Aws
|
|
|
88
88
|
end
|
|
89
89
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#analyze_document-instance_method
|
|
90
90
|
def analyze_document: (
|
|
91
|
-
document:
|
|
92
|
-
bytes: ::String?,
|
|
93
|
-
s3_object: {
|
|
94
|
-
bucket: ::String?,
|
|
95
|
-
name: ::String?,
|
|
96
|
-
version: ::String?
|
|
97
|
-
}?
|
|
98
|
-
},
|
|
91
|
+
document: Params::document,
|
|
99
92
|
feature_types: Array[("TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT")],
|
|
100
93
|
?human_loop_config: {
|
|
101
94
|
human_loop_name: ::String,
|
|
@@ -110,7 +103,7 @@ module Aws
|
|
|
110
103
|
text: ::String,
|
|
111
104
|
alias: ::String?,
|
|
112
105
|
pages: Array[::String]?
|
|
113
|
-
}
|
|
106
|
+
}
|
|
114
107
|
]
|
|
115
108
|
},
|
|
116
109
|
?adapters_config: {
|
|
@@ -119,7 +112,7 @@ module Aws
|
|
|
119
112
|
adapter_id: ::String,
|
|
120
113
|
pages: Array[::String]?,
|
|
121
114
|
version: ::String
|
|
122
|
-
}
|
|
115
|
+
}
|
|
123
116
|
]
|
|
124
117
|
}
|
|
125
118
|
) -> _AnalyzeDocumentResponseSuccess
|
|
@@ -132,14 +125,7 @@ module Aws
|
|
|
132
125
|
end
|
|
133
126
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#analyze_expense-instance_method
|
|
134
127
|
def analyze_expense: (
|
|
135
|
-
document:
|
|
136
|
-
bytes: ::String?,
|
|
137
|
-
s3_object: {
|
|
138
|
-
bucket: ::String?,
|
|
139
|
-
name: ::String?,
|
|
140
|
-
version: ::String?
|
|
141
|
-
}?
|
|
142
|
-
}
|
|
128
|
+
document: Params::document
|
|
143
129
|
) -> _AnalyzeExpenseResponseSuccess
|
|
144
130
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AnalyzeExpenseResponseSuccess
|
|
145
131
|
|
|
@@ -152,14 +138,7 @@ module Aws
|
|
|
152
138
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#analyze_id-instance_method
|
|
153
139
|
def analyze_id: (
|
|
154
140
|
document_pages: Array[
|
|
155
|
-
|
|
156
|
-
bytes: ::String?,
|
|
157
|
-
s3_object: {
|
|
158
|
-
bucket: ::String?,
|
|
159
|
-
name: ::String?,
|
|
160
|
-
version: ::String?
|
|
161
|
-
}?
|
|
162
|
-
},
|
|
141
|
+
Params::document
|
|
163
142
|
]
|
|
164
143
|
) -> _AnalyzeIDResponseSuccess
|
|
165
144
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AnalyzeIDResponseSuccess
|
|
@@ -231,14 +210,7 @@ module Aws
|
|
|
231
210
|
end
|
|
232
211
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Textract/Client.html#detect_document_text-instance_method
|
|
233
212
|
def detect_document_text: (
|
|
234
|
-
document:
|
|
235
|
-
bytes: ::String?,
|
|
236
|
-
s3_object: {
|
|
237
|
-
bucket: ::String?,
|
|
238
|
-
name: ::String?,
|
|
239
|
-
version: ::String?
|
|
240
|
-
}?
|
|
241
|
-
}
|
|
213
|
+
document: Params::document
|
|
242
214
|
) -> _DetectDocumentTextResponseSuccess
|
|
243
215
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectDocumentTextResponseSuccess
|
|
244
216
|
|
|
@@ -436,7 +408,7 @@ module Aws
|
|
|
436
408
|
text: ::String,
|
|
437
409
|
alias: ::String?,
|
|
438
410
|
pages: Array[::String]?
|
|
439
|
-
}
|
|
411
|
+
}
|
|
440
412
|
]
|
|
441
413
|
},
|
|
442
414
|
?adapters_config: {
|
|
@@ -445,7 +417,7 @@ module Aws
|
|
|
445
417
|
adapter_id: ::String,
|
|
446
418
|
pages: Array[::String]?,
|
|
447
419
|
version: ::String
|
|
448
|
-
}
|
|
420
|
+
}
|
|
449
421
|
]
|
|
450
422
|
}
|
|
451
423
|
) -> _StartDocumentAnalysisResponseSuccess
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module Textract
|
|
10
|
+
module Params
|
|
11
|
+
type document = {
|
|
12
|
+
bytes: ::String?,
|
|
13
|
+
s3_object: {
|
|
14
|
+
bucket: ::String?,
|
|
15
|
+
name: ::String?,
|
|
16
|
+
version: ::String?
|
|
17
|
+
}?
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-textract
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.92.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -67,6 +67,7 @@ files:
|
|
|
67
67
|
- lib/aws-sdk-textract/types.rb
|
|
68
68
|
- sig/client.rbs
|
|
69
69
|
- sig/errors.rbs
|
|
70
|
+
- sig/params.rbs
|
|
70
71
|
- sig/resource.rbs
|
|
71
72
|
- sig/types.rbs
|
|
72
73
|
- sig/waiters.rbs
|