@aws-sdk/client-textract 3.36.0 → 3.39.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/CHANGELOG.md +45 -0
- package/dist-cjs/Textract.js +30 -5
- package/dist-cjs/TextractClient.js +0 -10
- package/dist-cjs/commands/AnalyzeDocumentCommand.js +0 -54
- package/dist-cjs/commands/AnalyzeExpenseCommand.js +0 -37
- package/dist-cjs/commands/DetectDocumentTextCommand.js +0 -34
- package/dist-cjs/commands/GetDocumentAnalysisCommand.js +0 -68
- package/dist-cjs/commands/GetDocumentTextDetectionCommand.js +0 -48
- package/dist-cjs/commands/GetExpenseAnalysisCommand.js +36 -0
- package/dist-cjs/commands/StartDocumentAnalysisCommand.js +0 -41
- package/dist-cjs/commands/StartDocumentTextDetectionCommand.js +0 -40
- package/dist-cjs/commands/StartExpenseAnalysisCommand.js +36 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoints.js +42 -3
- package/dist-cjs/index.js +3 -9
- package/dist-cjs/models/models_0.js +26 -149
- package/dist-cjs/protocols/Aws_json1_1.js +306 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/Textract.js +30 -0
- package/dist-es/commands/GetExpenseAnalysisCommand.js +39 -0
- package/dist-es/commands/StartExpenseAnalysisCommand.js +39 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoints.js +42 -3
- package/dist-es/index.js +3 -9
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/protocols/Aws_json1_1.js +314 -0
- package/dist-types/Textract.d.ts +47 -2
- package/dist-types/TextractClient.d.ts +4 -2
- package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +51 -0
- package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +50 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/index.d.ts +3 -9
- package/dist-types/models/models_0.d.ts +123 -2
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/Textract.d.ts +18 -180
- package/dist-types/ts3.4/TextractClient.d.ts +28 -93
- package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +2 -64
- package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +3 -9
- package/dist-types/ts3.4/models/models_0.d.ts +253 -893
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
package/dist-cjs/endpoints.js
CHANGED
|
@@ -2,7 +2,36 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
-
const regionHash = {
|
|
5
|
+
const regionHash = {
|
|
6
|
+
"fips-ca-central-1": {
|
|
7
|
+
hostname: "textract-fips.ca-central-1.amazonaws.com",
|
|
8
|
+
signingRegion: "ca-central-1",
|
|
9
|
+
},
|
|
10
|
+
"fips-us-east-1": {
|
|
11
|
+
hostname: "textract-fips.us-east-1.amazonaws.com",
|
|
12
|
+
signingRegion: "us-east-1",
|
|
13
|
+
},
|
|
14
|
+
"fips-us-east-2": {
|
|
15
|
+
hostname: "textract-fips.us-east-2.amazonaws.com",
|
|
16
|
+
signingRegion: "us-east-2",
|
|
17
|
+
},
|
|
18
|
+
"fips-us-gov-east-1": {
|
|
19
|
+
hostname: "textract-fips.us-gov-east-1.amazonaws.com",
|
|
20
|
+
signingRegion: "us-gov-east-1",
|
|
21
|
+
},
|
|
22
|
+
"fips-us-gov-west-1": {
|
|
23
|
+
hostname: "textract-fips.us-gov-west-1.amazonaws.com",
|
|
24
|
+
signingRegion: "us-gov-west-1",
|
|
25
|
+
},
|
|
26
|
+
"fips-us-west-1": {
|
|
27
|
+
hostname: "textract-fips.us-west-1.amazonaws.com",
|
|
28
|
+
signingRegion: "us-west-1",
|
|
29
|
+
},
|
|
30
|
+
"fips-us-west-2": {
|
|
31
|
+
hostname: "textract-fips.us-west-2.amazonaws.com",
|
|
32
|
+
signingRegion: "us-west-2",
|
|
33
|
+
},
|
|
34
|
+
};
|
|
6
35
|
const partitionHash = {
|
|
7
36
|
aws: {
|
|
8
37
|
regions: [
|
|
@@ -21,6 +50,11 @@ const partitionHash = {
|
|
|
21
50
|
"eu-west-1",
|
|
22
51
|
"eu-west-2",
|
|
23
52
|
"eu-west-3",
|
|
53
|
+
"fips-ca-central-1",
|
|
54
|
+
"fips-us-east-1",
|
|
55
|
+
"fips-us-east-2",
|
|
56
|
+
"fips-us-west-1",
|
|
57
|
+
"fips-us-west-2",
|
|
24
58
|
"me-south-1",
|
|
25
59
|
"sa-east-1",
|
|
26
60
|
"us-east-1",
|
|
@@ -28,22 +62,27 @@ const partitionHash = {
|
|
|
28
62
|
"us-west-1",
|
|
29
63
|
"us-west-2",
|
|
30
64
|
],
|
|
65
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
31
66
|
hostname: "textract.{region}.amazonaws.com",
|
|
32
67
|
},
|
|
33
68
|
"aws-cn": {
|
|
34
69
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
70
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
35
71
|
hostname: "textract.{region}.amazonaws.com.cn",
|
|
36
72
|
},
|
|
37
73
|
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
74
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
75
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
39
76
|
hostname: "textract.{region}.c2s.ic.gov",
|
|
40
77
|
},
|
|
41
78
|
"aws-iso-b": {
|
|
42
79
|
regions: ["us-isob-east-1"],
|
|
80
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
43
81
|
hostname: "textract.{region}.sc2s.sgov.gov",
|
|
44
82
|
},
|
|
45
83
|
"aws-us-gov": {
|
|
46
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
84
|
+
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
85
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
47
86
|
hostname: "textract.{region}.amazonaws.com",
|
|
48
87
|
},
|
|
49
88
|
};
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./TextractClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./Textract"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./commands/GetDocumentAnalysisCommand"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./commands/GetDocumentTextDetectionCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./commands/StartDocumentAnalysisCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/StartDocumentTextDetectionCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./TextractClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
@@ -1,30 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.StartDocumentTextDetectionResponse = exports.StartDocumentTextDetectionRequest = exports.StartDocumentAnalysisResponse = exports.StartDocumentAnalysisRequest = exports.OutputConfig = exports.NotificationChannel = exports.LimitExceededException = void 0;
|
|
3
|
+
exports.GetExpenseAnalysisRequest = exports.GetDocumentTextDetectionResponse = exports.GetDocumentTextDetectionRequest = exports.InvalidKMSKeyException = exports.InvalidJobIdException = exports.GetDocumentAnalysisResponse = exports.Warning = exports.JobStatus = exports.GetDocumentAnalysisRequest = exports.DocumentLocation = exports.DetectDocumentTextResponse = exports.DetectDocumentTextRequest = exports.AnalyzeExpenseResponse = exports.ExpenseDocument = exports.LineItemGroup = exports.LineItemFields = exports.ExpenseField = exports.ExpenseType = exports.ExpenseDetection = exports.AnalyzeExpenseRequest = exports.UnsupportedDocumentException = exports.ThrottlingException = exports.ProvisionedThroughputExceededException = exports.InvalidS3ObjectException = exports.InvalidParameterException = exports.InternalServerError = exports.HumanLoopQuotaExceededException = exports.DocumentTooLargeException = exports.BadDocumentException = exports.AnalyzeDocumentResponse = exports.HumanLoopActivationOutput = exports.DocumentMetadata = exports.Block = exports.TextType = exports.SelectionStatus = exports.Relationship = exports.RelationshipType = exports.Geometry = exports.Point = exports.BoundingBox = exports.EntityType = exports.BlockType = exports.AnalyzeDocumentRequest = exports.HumanLoopConfig = exports.HumanLoopDataAttributes = exports.ContentClassifier = exports.FeatureType = exports.Document = exports.S3Object = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.StartExpenseAnalysisResponse = exports.StartExpenseAnalysisRequest = exports.StartDocumentTextDetectionResponse = exports.StartDocumentTextDetectionRequest = exports.StartDocumentAnalysisResponse = exports.StartDocumentAnalysisRequest = exports.OutputConfig = exports.NotificationChannel = exports.LimitExceededException = exports.IdempotentParameterMismatchException = exports.GetExpenseAnalysisResponse = void 0;
|
|
5
5
|
var AccessDeniedException;
|
|
6
6
|
(function (AccessDeniedException) {
|
|
7
|
-
/**
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
7
|
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
11
8
|
...obj,
|
|
12
9
|
});
|
|
13
10
|
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
14
11
|
var S3Object;
|
|
15
12
|
(function (S3Object) {
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
13
|
S3Object.filterSensitiveLog = (obj) => ({
|
|
20
14
|
...obj,
|
|
21
15
|
});
|
|
22
16
|
})(S3Object = exports.S3Object || (exports.S3Object = {}));
|
|
23
17
|
var Document;
|
|
24
18
|
(function (Document) {
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
28
19
|
Document.filterSensitiveLog = (obj) => ({
|
|
29
20
|
...obj,
|
|
30
21
|
});
|
|
@@ -41,27 +32,18 @@ var ContentClassifier;
|
|
|
41
32
|
})(ContentClassifier = exports.ContentClassifier || (exports.ContentClassifier = {}));
|
|
42
33
|
var HumanLoopDataAttributes;
|
|
43
34
|
(function (HumanLoopDataAttributes) {
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
35
|
HumanLoopDataAttributes.filterSensitiveLog = (obj) => ({
|
|
48
36
|
...obj,
|
|
49
37
|
});
|
|
50
38
|
})(HumanLoopDataAttributes = exports.HumanLoopDataAttributes || (exports.HumanLoopDataAttributes = {}));
|
|
51
39
|
var HumanLoopConfig;
|
|
52
40
|
(function (HumanLoopConfig) {
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
56
41
|
HumanLoopConfig.filterSensitiveLog = (obj) => ({
|
|
57
42
|
...obj,
|
|
58
43
|
});
|
|
59
44
|
})(HumanLoopConfig = exports.HumanLoopConfig || (exports.HumanLoopConfig = {}));
|
|
60
45
|
var AnalyzeDocumentRequest;
|
|
61
46
|
(function (AnalyzeDocumentRequest) {
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
47
|
AnalyzeDocumentRequest.filterSensitiveLog = (obj) => ({
|
|
66
48
|
...obj,
|
|
67
49
|
});
|
|
@@ -83,27 +65,18 @@ var EntityType;
|
|
|
83
65
|
})(EntityType = exports.EntityType || (exports.EntityType = {}));
|
|
84
66
|
var BoundingBox;
|
|
85
67
|
(function (BoundingBox) {
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
68
|
BoundingBox.filterSensitiveLog = (obj) => ({
|
|
90
69
|
...obj,
|
|
91
70
|
});
|
|
92
71
|
})(BoundingBox = exports.BoundingBox || (exports.BoundingBox = {}));
|
|
93
72
|
var Point;
|
|
94
73
|
(function (Point) {
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
74
|
Point.filterSensitiveLog = (obj) => ({
|
|
99
75
|
...obj,
|
|
100
76
|
});
|
|
101
77
|
})(Point = exports.Point || (exports.Point = {}));
|
|
102
78
|
var Geometry;
|
|
103
79
|
(function (Geometry) {
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
80
|
Geometry.filterSensitiveLog = (obj) => ({
|
|
108
81
|
...obj,
|
|
109
82
|
});
|
|
@@ -116,9 +89,6 @@ var RelationshipType;
|
|
|
116
89
|
})(RelationshipType = exports.RelationshipType || (exports.RelationshipType = {}));
|
|
117
90
|
var Relationship;
|
|
118
91
|
(function (Relationship) {
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
92
|
Relationship.filterSensitiveLog = (obj) => ({
|
|
123
93
|
...obj,
|
|
124
94
|
});
|
|
@@ -135,225 +105,150 @@ var TextType;
|
|
|
135
105
|
})(TextType = exports.TextType || (exports.TextType = {}));
|
|
136
106
|
var Block;
|
|
137
107
|
(function (Block) {
|
|
138
|
-
/**
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
141
108
|
Block.filterSensitiveLog = (obj) => ({
|
|
142
109
|
...obj,
|
|
143
110
|
});
|
|
144
111
|
})(Block = exports.Block || (exports.Block = {}));
|
|
145
112
|
var DocumentMetadata;
|
|
146
113
|
(function (DocumentMetadata) {
|
|
147
|
-
/**
|
|
148
|
-
* @internal
|
|
149
|
-
*/
|
|
150
114
|
DocumentMetadata.filterSensitiveLog = (obj) => ({
|
|
151
115
|
...obj,
|
|
152
116
|
});
|
|
153
117
|
})(DocumentMetadata = exports.DocumentMetadata || (exports.DocumentMetadata = {}));
|
|
154
118
|
var HumanLoopActivationOutput;
|
|
155
119
|
(function (HumanLoopActivationOutput) {
|
|
156
|
-
/**
|
|
157
|
-
* @internal
|
|
158
|
-
*/
|
|
159
120
|
HumanLoopActivationOutput.filterSensitiveLog = (obj) => ({
|
|
160
121
|
...obj,
|
|
161
122
|
});
|
|
162
123
|
})(HumanLoopActivationOutput = exports.HumanLoopActivationOutput || (exports.HumanLoopActivationOutput = {}));
|
|
163
124
|
var AnalyzeDocumentResponse;
|
|
164
125
|
(function (AnalyzeDocumentResponse) {
|
|
165
|
-
/**
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
168
126
|
AnalyzeDocumentResponse.filterSensitiveLog = (obj) => ({
|
|
169
127
|
...obj,
|
|
170
128
|
});
|
|
171
129
|
})(AnalyzeDocumentResponse = exports.AnalyzeDocumentResponse || (exports.AnalyzeDocumentResponse = {}));
|
|
172
130
|
var BadDocumentException;
|
|
173
131
|
(function (BadDocumentException) {
|
|
174
|
-
/**
|
|
175
|
-
* @internal
|
|
176
|
-
*/
|
|
177
132
|
BadDocumentException.filterSensitiveLog = (obj) => ({
|
|
178
133
|
...obj,
|
|
179
134
|
});
|
|
180
135
|
})(BadDocumentException = exports.BadDocumentException || (exports.BadDocumentException = {}));
|
|
181
136
|
var DocumentTooLargeException;
|
|
182
137
|
(function (DocumentTooLargeException) {
|
|
183
|
-
/**
|
|
184
|
-
* @internal
|
|
185
|
-
*/
|
|
186
138
|
DocumentTooLargeException.filterSensitiveLog = (obj) => ({
|
|
187
139
|
...obj,
|
|
188
140
|
});
|
|
189
141
|
})(DocumentTooLargeException = exports.DocumentTooLargeException || (exports.DocumentTooLargeException = {}));
|
|
190
142
|
var HumanLoopQuotaExceededException;
|
|
191
143
|
(function (HumanLoopQuotaExceededException) {
|
|
192
|
-
/**
|
|
193
|
-
* @internal
|
|
194
|
-
*/
|
|
195
144
|
HumanLoopQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
196
145
|
...obj,
|
|
197
146
|
});
|
|
198
147
|
})(HumanLoopQuotaExceededException = exports.HumanLoopQuotaExceededException || (exports.HumanLoopQuotaExceededException = {}));
|
|
199
148
|
var InternalServerError;
|
|
200
149
|
(function (InternalServerError) {
|
|
201
|
-
/**
|
|
202
|
-
* @internal
|
|
203
|
-
*/
|
|
204
150
|
InternalServerError.filterSensitiveLog = (obj) => ({
|
|
205
151
|
...obj,
|
|
206
152
|
});
|
|
207
153
|
})(InternalServerError = exports.InternalServerError || (exports.InternalServerError = {}));
|
|
208
154
|
var InvalidParameterException;
|
|
209
155
|
(function (InvalidParameterException) {
|
|
210
|
-
/**
|
|
211
|
-
* @internal
|
|
212
|
-
*/
|
|
213
156
|
InvalidParameterException.filterSensitiveLog = (obj) => ({
|
|
214
157
|
...obj,
|
|
215
158
|
});
|
|
216
159
|
})(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
|
|
217
160
|
var InvalidS3ObjectException;
|
|
218
161
|
(function (InvalidS3ObjectException) {
|
|
219
|
-
/**
|
|
220
|
-
* @internal
|
|
221
|
-
*/
|
|
222
162
|
InvalidS3ObjectException.filterSensitiveLog = (obj) => ({
|
|
223
163
|
...obj,
|
|
224
164
|
});
|
|
225
165
|
})(InvalidS3ObjectException = exports.InvalidS3ObjectException || (exports.InvalidS3ObjectException = {}));
|
|
226
166
|
var ProvisionedThroughputExceededException;
|
|
227
167
|
(function (ProvisionedThroughputExceededException) {
|
|
228
|
-
/**
|
|
229
|
-
* @internal
|
|
230
|
-
*/
|
|
231
168
|
ProvisionedThroughputExceededException.filterSensitiveLog = (obj) => ({
|
|
232
169
|
...obj,
|
|
233
170
|
});
|
|
234
171
|
})(ProvisionedThroughputExceededException = exports.ProvisionedThroughputExceededException || (exports.ProvisionedThroughputExceededException = {}));
|
|
235
172
|
var ThrottlingException;
|
|
236
173
|
(function (ThrottlingException) {
|
|
237
|
-
/**
|
|
238
|
-
* @internal
|
|
239
|
-
*/
|
|
240
174
|
ThrottlingException.filterSensitiveLog = (obj) => ({
|
|
241
175
|
...obj,
|
|
242
176
|
});
|
|
243
177
|
})(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
|
|
244
178
|
var UnsupportedDocumentException;
|
|
245
179
|
(function (UnsupportedDocumentException) {
|
|
246
|
-
/**
|
|
247
|
-
* @internal
|
|
248
|
-
*/
|
|
249
180
|
UnsupportedDocumentException.filterSensitiveLog = (obj) => ({
|
|
250
181
|
...obj,
|
|
251
182
|
});
|
|
252
183
|
})(UnsupportedDocumentException = exports.UnsupportedDocumentException || (exports.UnsupportedDocumentException = {}));
|
|
253
184
|
var AnalyzeExpenseRequest;
|
|
254
185
|
(function (AnalyzeExpenseRequest) {
|
|
255
|
-
/**
|
|
256
|
-
* @internal
|
|
257
|
-
*/
|
|
258
186
|
AnalyzeExpenseRequest.filterSensitiveLog = (obj) => ({
|
|
259
187
|
...obj,
|
|
260
188
|
});
|
|
261
189
|
})(AnalyzeExpenseRequest = exports.AnalyzeExpenseRequest || (exports.AnalyzeExpenseRequest = {}));
|
|
262
190
|
var ExpenseDetection;
|
|
263
191
|
(function (ExpenseDetection) {
|
|
264
|
-
/**
|
|
265
|
-
* @internal
|
|
266
|
-
*/
|
|
267
192
|
ExpenseDetection.filterSensitiveLog = (obj) => ({
|
|
268
193
|
...obj,
|
|
269
194
|
});
|
|
270
195
|
})(ExpenseDetection = exports.ExpenseDetection || (exports.ExpenseDetection = {}));
|
|
271
196
|
var ExpenseType;
|
|
272
197
|
(function (ExpenseType) {
|
|
273
|
-
/**
|
|
274
|
-
* @internal
|
|
275
|
-
*/
|
|
276
198
|
ExpenseType.filterSensitiveLog = (obj) => ({
|
|
277
199
|
...obj,
|
|
278
200
|
});
|
|
279
201
|
})(ExpenseType = exports.ExpenseType || (exports.ExpenseType = {}));
|
|
280
202
|
var ExpenseField;
|
|
281
203
|
(function (ExpenseField) {
|
|
282
|
-
/**
|
|
283
|
-
* @internal
|
|
284
|
-
*/
|
|
285
204
|
ExpenseField.filterSensitiveLog = (obj) => ({
|
|
286
205
|
...obj,
|
|
287
206
|
});
|
|
288
207
|
})(ExpenseField = exports.ExpenseField || (exports.ExpenseField = {}));
|
|
289
208
|
var LineItemFields;
|
|
290
209
|
(function (LineItemFields) {
|
|
291
|
-
/**
|
|
292
|
-
* @internal
|
|
293
|
-
*/
|
|
294
210
|
LineItemFields.filterSensitiveLog = (obj) => ({
|
|
295
211
|
...obj,
|
|
296
212
|
});
|
|
297
213
|
})(LineItemFields = exports.LineItemFields || (exports.LineItemFields = {}));
|
|
298
214
|
var LineItemGroup;
|
|
299
215
|
(function (LineItemGroup) {
|
|
300
|
-
/**
|
|
301
|
-
* @internal
|
|
302
|
-
*/
|
|
303
216
|
LineItemGroup.filterSensitiveLog = (obj) => ({
|
|
304
217
|
...obj,
|
|
305
218
|
});
|
|
306
219
|
})(LineItemGroup = exports.LineItemGroup || (exports.LineItemGroup = {}));
|
|
307
220
|
var ExpenseDocument;
|
|
308
221
|
(function (ExpenseDocument) {
|
|
309
|
-
/**
|
|
310
|
-
* @internal
|
|
311
|
-
*/
|
|
312
222
|
ExpenseDocument.filterSensitiveLog = (obj) => ({
|
|
313
223
|
...obj,
|
|
314
224
|
});
|
|
315
225
|
})(ExpenseDocument = exports.ExpenseDocument || (exports.ExpenseDocument = {}));
|
|
316
226
|
var AnalyzeExpenseResponse;
|
|
317
227
|
(function (AnalyzeExpenseResponse) {
|
|
318
|
-
/**
|
|
319
|
-
* @internal
|
|
320
|
-
*/
|
|
321
228
|
AnalyzeExpenseResponse.filterSensitiveLog = (obj) => ({
|
|
322
229
|
...obj,
|
|
323
230
|
});
|
|
324
231
|
})(AnalyzeExpenseResponse = exports.AnalyzeExpenseResponse || (exports.AnalyzeExpenseResponse = {}));
|
|
325
232
|
var DetectDocumentTextRequest;
|
|
326
233
|
(function (DetectDocumentTextRequest) {
|
|
327
|
-
/**
|
|
328
|
-
* @internal
|
|
329
|
-
*/
|
|
330
234
|
DetectDocumentTextRequest.filterSensitiveLog = (obj) => ({
|
|
331
235
|
...obj,
|
|
332
236
|
});
|
|
333
237
|
})(DetectDocumentTextRequest = exports.DetectDocumentTextRequest || (exports.DetectDocumentTextRequest = {}));
|
|
334
238
|
var DetectDocumentTextResponse;
|
|
335
239
|
(function (DetectDocumentTextResponse) {
|
|
336
|
-
/**
|
|
337
|
-
* @internal
|
|
338
|
-
*/
|
|
339
240
|
DetectDocumentTextResponse.filterSensitiveLog = (obj) => ({
|
|
340
241
|
...obj,
|
|
341
242
|
});
|
|
342
243
|
})(DetectDocumentTextResponse = exports.DetectDocumentTextResponse || (exports.DetectDocumentTextResponse = {}));
|
|
343
244
|
var DocumentLocation;
|
|
344
245
|
(function (DocumentLocation) {
|
|
345
|
-
/**
|
|
346
|
-
* @internal
|
|
347
|
-
*/
|
|
348
246
|
DocumentLocation.filterSensitiveLog = (obj) => ({
|
|
349
247
|
...obj,
|
|
350
248
|
});
|
|
351
249
|
})(DocumentLocation = exports.DocumentLocation || (exports.DocumentLocation = {}));
|
|
352
250
|
var GetDocumentAnalysisRequest;
|
|
353
251
|
(function (GetDocumentAnalysisRequest) {
|
|
354
|
-
/**
|
|
355
|
-
* @internal
|
|
356
|
-
*/
|
|
357
252
|
GetDocumentAnalysisRequest.filterSensitiveLog = (obj) => ({
|
|
358
253
|
...obj,
|
|
359
254
|
});
|
|
@@ -367,127 +262,109 @@ var JobStatus;
|
|
|
367
262
|
})(JobStatus = exports.JobStatus || (exports.JobStatus = {}));
|
|
368
263
|
var Warning;
|
|
369
264
|
(function (Warning) {
|
|
370
|
-
/**
|
|
371
|
-
* @internal
|
|
372
|
-
*/
|
|
373
265
|
Warning.filterSensitiveLog = (obj) => ({
|
|
374
266
|
...obj,
|
|
375
267
|
});
|
|
376
268
|
})(Warning = exports.Warning || (exports.Warning = {}));
|
|
377
269
|
var GetDocumentAnalysisResponse;
|
|
378
270
|
(function (GetDocumentAnalysisResponse) {
|
|
379
|
-
/**
|
|
380
|
-
* @internal
|
|
381
|
-
*/
|
|
382
271
|
GetDocumentAnalysisResponse.filterSensitiveLog = (obj) => ({
|
|
383
272
|
...obj,
|
|
384
273
|
});
|
|
385
274
|
})(GetDocumentAnalysisResponse = exports.GetDocumentAnalysisResponse || (exports.GetDocumentAnalysisResponse = {}));
|
|
386
275
|
var InvalidJobIdException;
|
|
387
276
|
(function (InvalidJobIdException) {
|
|
388
|
-
/**
|
|
389
|
-
* @internal
|
|
390
|
-
*/
|
|
391
277
|
InvalidJobIdException.filterSensitiveLog = (obj) => ({
|
|
392
278
|
...obj,
|
|
393
279
|
});
|
|
394
280
|
})(InvalidJobIdException = exports.InvalidJobIdException || (exports.InvalidJobIdException = {}));
|
|
395
281
|
var InvalidKMSKeyException;
|
|
396
282
|
(function (InvalidKMSKeyException) {
|
|
397
|
-
/**
|
|
398
|
-
* @internal
|
|
399
|
-
*/
|
|
400
283
|
InvalidKMSKeyException.filterSensitiveLog = (obj) => ({
|
|
401
284
|
...obj,
|
|
402
285
|
});
|
|
403
286
|
})(InvalidKMSKeyException = exports.InvalidKMSKeyException || (exports.InvalidKMSKeyException = {}));
|
|
404
287
|
var GetDocumentTextDetectionRequest;
|
|
405
288
|
(function (GetDocumentTextDetectionRequest) {
|
|
406
|
-
/**
|
|
407
|
-
* @internal
|
|
408
|
-
*/
|
|
409
289
|
GetDocumentTextDetectionRequest.filterSensitiveLog = (obj) => ({
|
|
410
290
|
...obj,
|
|
411
291
|
});
|
|
412
292
|
})(GetDocumentTextDetectionRequest = exports.GetDocumentTextDetectionRequest || (exports.GetDocumentTextDetectionRequest = {}));
|
|
413
293
|
var GetDocumentTextDetectionResponse;
|
|
414
294
|
(function (GetDocumentTextDetectionResponse) {
|
|
415
|
-
/**
|
|
416
|
-
* @internal
|
|
417
|
-
*/
|
|
418
295
|
GetDocumentTextDetectionResponse.filterSensitiveLog = (obj) => ({
|
|
419
296
|
...obj,
|
|
420
297
|
});
|
|
421
298
|
})(GetDocumentTextDetectionResponse = exports.GetDocumentTextDetectionResponse || (exports.GetDocumentTextDetectionResponse = {}));
|
|
299
|
+
var GetExpenseAnalysisRequest;
|
|
300
|
+
(function (GetExpenseAnalysisRequest) {
|
|
301
|
+
GetExpenseAnalysisRequest.filterSensitiveLog = (obj) => ({
|
|
302
|
+
...obj,
|
|
303
|
+
});
|
|
304
|
+
})(GetExpenseAnalysisRequest = exports.GetExpenseAnalysisRequest || (exports.GetExpenseAnalysisRequest = {}));
|
|
305
|
+
var GetExpenseAnalysisResponse;
|
|
306
|
+
(function (GetExpenseAnalysisResponse) {
|
|
307
|
+
GetExpenseAnalysisResponse.filterSensitiveLog = (obj) => ({
|
|
308
|
+
...obj,
|
|
309
|
+
});
|
|
310
|
+
})(GetExpenseAnalysisResponse = exports.GetExpenseAnalysisResponse || (exports.GetExpenseAnalysisResponse = {}));
|
|
422
311
|
var IdempotentParameterMismatchException;
|
|
423
312
|
(function (IdempotentParameterMismatchException) {
|
|
424
|
-
/**
|
|
425
|
-
* @internal
|
|
426
|
-
*/
|
|
427
313
|
IdempotentParameterMismatchException.filterSensitiveLog = (obj) => ({
|
|
428
314
|
...obj,
|
|
429
315
|
});
|
|
430
316
|
})(IdempotentParameterMismatchException = exports.IdempotentParameterMismatchException || (exports.IdempotentParameterMismatchException = {}));
|
|
431
317
|
var LimitExceededException;
|
|
432
318
|
(function (LimitExceededException) {
|
|
433
|
-
/**
|
|
434
|
-
* @internal
|
|
435
|
-
*/
|
|
436
319
|
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
437
320
|
...obj,
|
|
438
321
|
});
|
|
439
322
|
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
440
323
|
var NotificationChannel;
|
|
441
324
|
(function (NotificationChannel) {
|
|
442
|
-
/**
|
|
443
|
-
* @internal
|
|
444
|
-
*/
|
|
445
325
|
NotificationChannel.filterSensitiveLog = (obj) => ({
|
|
446
326
|
...obj,
|
|
447
327
|
});
|
|
448
328
|
})(NotificationChannel = exports.NotificationChannel || (exports.NotificationChannel = {}));
|
|
449
329
|
var OutputConfig;
|
|
450
330
|
(function (OutputConfig) {
|
|
451
|
-
/**
|
|
452
|
-
* @internal
|
|
453
|
-
*/
|
|
454
331
|
OutputConfig.filterSensitiveLog = (obj) => ({
|
|
455
332
|
...obj,
|
|
456
333
|
});
|
|
457
334
|
})(OutputConfig = exports.OutputConfig || (exports.OutputConfig = {}));
|
|
458
335
|
var StartDocumentAnalysisRequest;
|
|
459
336
|
(function (StartDocumentAnalysisRequest) {
|
|
460
|
-
/**
|
|
461
|
-
* @internal
|
|
462
|
-
*/
|
|
463
337
|
StartDocumentAnalysisRequest.filterSensitiveLog = (obj) => ({
|
|
464
338
|
...obj,
|
|
465
339
|
});
|
|
466
340
|
})(StartDocumentAnalysisRequest = exports.StartDocumentAnalysisRequest || (exports.StartDocumentAnalysisRequest = {}));
|
|
467
341
|
var StartDocumentAnalysisResponse;
|
|
468
342
|
(function (StartDocumentAnalysisResponse) {
|
|
469
|
-
/**
|
|
470
|
-
* @internal
|
|
471
|
-
*/
|
|
472
343
|
StartDocumentAnalysisResponse.filterSensitiveLog = (obj) => ({
|
|
473
344
|
...obj,
|
|
474
345
|
});
|
|
475
346
|
})(StartDocumentAnalysisResponse = exports.StartDocumentAnalysisResponse || (exports.StartDocumentAnalysisResponse = {}));
|
|
476
347
|
var StartDocumentTextDetectionRequest;
|
|
477
348
|
(function (StartDocumentTextDetectionRequest) {
|
|
478
|
-
/**
|
|
479
|
-
* @internal
|
|
480
|
-
*/
|
|
481
349
|
StartDocumentTextDetectionRequest.filterSensitiveLog = (obj) => ({
|
|
482
350
|
...obj,
|
|
483
351
|
});
|
|
484
352
|
})(StartDocumentTextDetectionRequest = exports.StartDocumentTextDetectionRequest || (exports.StartDocumentTextDetectionRequest = {}));
|
|
485
353
|
var StartDocumentTextDetectionResponse;
|
|
486
354
|
(function (StartDocumentTextDetectionResponse) {
|
|
487
|
-
/**
|
|
488
|
-
* @internal
|
|
489
|
-
*/
|
|
490
355
|
StartDocumentTextDetectionResponse.filterSensitiveLog = (obj) => ({
|
|
491
356
|
...obj,
|
|
492
357
|
});
|
|
493
358
|
})(StartDocumentTextDetectionResponse = exports.StartDocumentTextDetectionResponse || (exports.StartDocumentTextDetectionResponse = {}));
|
|
359
|
+
var StartExpenseAnalysisRequest;
|
|
360
|
+
(function (StartExpenseAnalysisRequest) {
|
|
361
|
+
StartExpenseAnalysisRequest.filterSensitiveLog = (obj) => ({
|
|
362
|
+
...obj,
|
|
363
|
+
});
|
|
364
|
+
})(StartExpenseAnalysisRequest = exports.StartExpenseAnalysisRequest || (exports.StartExpenseAnalysisRequest = {}));
|
|
365
|
+
var StartExpenseAnalysisResponse;
|
|
366
|
+
(function (StartExpenseAnalysisResponse) {
|
|
367
|
+
StartExpenseAnalysisResponse.filterSensitiveLog = (obj) => ({
|
|
368
|
+
...obj,
|
|
369
|
+
});
|
|
370
|
+
})(StartExpenseAnalysisResponse = exports.StartExpenseAnalysisResponse || (exports.StartExpenseAnalysisResponse = {}));
|