aws-sdk-comprehend 1.30.0 → 1.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-comprehend.rb +3 -1
- data/lib/aws-sdk-comprehend/client.rb +55 -21
- data/lib/aws-sdk-comprehend/client_api.rb +21 -15
- data/lib/aws-sdk-comprehend/errors.rb +2 -0
- data/lib/aws-sdk-comprehend/resource.rb +3 -7
- data/lib/aws-sdk-comprehend/types.rb +207 -25
- metadata +6 -5
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Comprehend
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::Comprehend::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::Comprehend::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::Comprehend::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -25,6 +27,7 @@ module Aws::Comprehend
|
|
25
27
|
class BatchDetectDominantLanguageItemResult < Struct.new(
|
26
28
|
:index,
|
27
29
|
:languages)
|
30
|
+
SENSITIVE = []
|
28
31
|
include Aws::Structure
|
29
32
|
end
|
30
33
|
|
@@ -32,7 +35,7 @@ module Aws::Comprehend
|
|
32
35
|
# data as a hash:
|
33
36
|
#
|
34
37
|
# {
|
35
|
-
# text_list: ["
|
38
|
+
# text_list: ["CustomerInputString"], # required
|
36
39
|
# }
|
37
40
|
#
|
38
41
|
# @!attribute [rw] text_list
|
@@ -46,6 +49,7 @@ module Aws::Comprehend
|
|
46
49
|
#
|
47
50
|
class BatchDetectDominantLanguageRequest < Struct.new(
|
48
51
|
:text_list)
|
52
|
+
SENSITIVE = [:text_list]
|
49
53
|
include Aws::Structure
|
50
54
|
end
|
51
55
|
|
@@ -68,6 +72,7 @@ module Aws::Comprehend
|
|
68
72
|
class BatchDetectDominantLanguageResponse < Struct.new(
|
69
73
|
:result_list,
|
70
74
|
:error_list)
|
75
|
+
SENSITIVE = []
|
71
76
|
include Aws::Structure
|
72
77
|
end
|
73
78
|
|
@@ -88,6 +93,7 @@ module Aws::Comprehend
|
|
88
93
|
class BatchDetectEntitiesItemResult < Struct.new(
|
89
94
|
:index,
|
90
95
|
:entities)
|
96
|
+
SENSITIVE = []
|
91
97
|
include Aws::Structure
|
92
98
|
end
|
93
99
|
|
@@ -95,7 +101,7 @@ module Aws::Comprehend
|
|
95
101
|
# data as a hash:
|
96
102
|
#
|
97
103
|
# {
|
98
|
-
# text_list: ["
|
104
|
+
# text_list: ["CustomerInputString"], # required
|
99
105
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
100
106
|
# }
|
101
107
|
#
|
@@ -116,6 +122,7 @@ module Aws::Comprehend
|
|
116
122
|
class BatchDetectEntitiesRequest < Struct.new(
|
117
123
|
:text_list,
|
118
124
|
:language_code)
|
125
|
+
SENSITIVE = [:text_list]
|
119
126
|
include Aws::Structure
|
120
127
|
end
|
121
128
|
|
@@ -138,6 +145,7 @@ module Aws::Comprehend
|
|
138
145
|
class BatchDetectEntitiesResponse < Struct.new(
|
139
146
|
:result_list,
|
140
147
|
:error_list)
|
148
|
+
SENSITIVE = []
|
141
149
|
include Aws::Structure
|
142
150
|
end
|
143
151
|
|
@@ -158,6 +166,7 @@ module Aws::Comprehend
|
|
158
166
|
class BatchDetectKeyPhrasesItemResult < Struct.new(
|
159
167
|
:index,
|
160
168
|
:key_phrases)
|
169
|
+
SENSITIVE = []
|
161
170
|
include Aws::Structure
|
162
171
|
end
|
163
172
|
|
@@ -165,7 +174,7 @@ module Aws::Comprehend
|
|
165
174
|
# data as a hash:
|
166
175
|
#
|
167
176
|
# {
|
168
|
-
# text_list: ["
|
177
|
+
# text_list: ["CustomerInputString"], # required
|
169
178
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
170
179
|
# }
|
171
180
|
#
|
@@ -186,6 +195,7 @@ module Aws::Comprehend
|
|
186
195
|
class BatchDetectKeyPhrasesRequest < Struct.new(
|
187
196
|
:text_list,
|
188
197
|
:language_code)
|
198
|
+
SENSITIVE = [:text_list]
|
189
199
|
include Aws::Structure
|
190
200
|
end
|
191
201
|
|
@@ -208,6 +218,7 @@ module Aws::Comprehend
|
|
208
218
|
class BatchDetectKeyPhrasesResponse < Struct.new(
|
209
219
|
:result_list,
|
210
220
|
:error_list)
|
221
|
+
SENSITIVE = []
|
211
222
|
include Aws::Structure
|
212
223
|
end
|
213
224
|
|
@@ -233,6 +244,7 @@ module Aws::Comprehend
|
|
233
244
|
:index,
|
234
245
|
:sentiment,
|
235
246
|
:sentiment_score)
|
247
|
+
SENSITIVE = []
|
236
248
|
include Aws::Structure
|
237
249
|
end
|
238
250
|
|
@@ -240,7 +252,7 @@ module Aws::Comprehend
|
|
240
252
|
# data as a hash:
|
241
253
|
#
|
242
254
|
# {
|
243
|
-
# text_list: ["
|
255
|
+
# text_list: ["CustomerInputString"], # required
|
244
256
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
245
257
|
# }
|
246
258
|
#
|
@@ -261,6 +273,7 @@ module Aws::Comprehend
|
|
261
273
|
class BatchDetectSentimentRequest < Struct.new(
|
262
274
|
:text_list,
|
263
275
|
:language_code)
|
276
|
+
SENSITIVE = [:text_list]
|
264
277
|
include Aws::Structure
|
265
278
|
end
|
266
279
|
|
@@ -283,6 +296,7 @@ module Aws::Comprehend
|
|
283
296
|
class BatchDetectSentimentResponse < Struct.new(
|
284
297
|
:result_list,
|
285
298
|
:error_list)
|
299
|
+
SENSITIVE = []
|
286
300
|
include Aws::Structure
|
287
301
|
end
|
288
302
|
|
@@ -303,6 +317,7 @@ module Aws::Comprehend
|
|
303
317
|
class BatchDetectSyntaxItemResult < Struct.new(
|
304
318
|
:index,
|
305
319
|
:syntax_tokens)
|
320
|
+
SENSITIVE = []
|
306
321
|
include Aws::Structure
|
307
322
|
end
|
308
323
|
|
@@ -310,7 +325,7 @@ module Aws::Comprehend
|
|
310
325
|
# data as a hash:
|
311
326
|
#
|
312
327
|
# {
|
313
|
-
# text_list: ["
|
328
|
+
# text_list: ["CustomerInputString"], # required
|
314
329
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
315
330
|
# }
|
316
331
|
#
|
@@ -333,6 +348,7 @@ module Aws::Comprehend
|
|
333
348
|
class BatchDetectSyntaxRequest < Struct.new(
|
334
349
|
:text_list,
|
335
350
|
:language_code)
|
351
|
+
SENSITIVE = [:text_list]
|
336
352
|
include Aws::Structure
|
337
353
|
end
|
338
354
|
|
@@ -355,6 +371,7 @@ module Aws::Comprehend
|
|
355
371
|
class BatchDetectSyntaxResponse < Struct.new(
|
356
372
|
:result_list,
|
357
373
|
:error_list)
|
374
|
+
SENSITIVE = []
|
358
375
|
include Aws::Structure
|
359
376
|
end
|
360
377
|
|
@@ -380,6 +397,7 @@ module Aws::Comprehend
|
|
380
397
|
:index,
|
381
398
|
:error_code,
|
382
399
|
:error_message)
|
400
|
+
SENSITIVE = []
|
383
401
|
include Aws::Structure
|
384
402
|
end
|
385
403
|
|
@@ -393,6 +411,7 @@ module Aws::Comprehend
|
|
393
411
|
#
|
394
412
|
class BatchSizeLimitExceededException < Struct.new(
|
395
413
|
:message)
|
414
|
+
SENSITIVE = []
|
396
415
|
include Aws::Structure
|
397
416
|
end
|
398
417
|
|
@@ -469,6 +488,7 @@ module Aws::Comprehend
|
|
469
488
|
:micro_recall,
|
470
489
|
:micro_f1_score,
|
471
490
|
:hamming_loss)
|
491
|
+
SENSITIVE = []
|
472
492
|
include Aws::Structure
|
473
493
|
end
|
474
494
|
|
@@ -487,7 +507,7 @@ module Aws::Comprehend
|
|
487
507
|
# @!attribute [rw] number_of_test_documents
|
488
508
|
# The number of documents in the input data that were used to test the
|
489
509
|
# classifier. Typically this is 10 to 20 percent of the input
|
490
|
-
# documents.
|
510
|
+
# documents, up to 10,000 documents.
|
491
511
|
# @return [Integer]
|
492
512
|
#
|
493
513
|
# @!attribute [rw] evaluation_metrics
|
@@ -502,6 +522,7 @@ module Aws::Comprehend
|
|
502
522
|
:number_of_trained_documents,
|
503
523
|
:number_of_test_documents,
|
504
524
|
:evaluation_metrics)
|
525
|
+
SENSITIVE = []
|
505
526
|
include Aws::Structure
|
506
527
|
end
|
507
528
|
|
@@ -509,7 +530,7 @@ module Aws::Comprehend
|
|
509
530
|
# data as a hash:
|
510
531
|
#
|
511
532
|
# {
|
512
|
-
# text: "
|
533
|
+
# text: "CustomerInputString", # required
|
513
534
|
# endpoint_arn: "DocumentClassifierEndpointArn", # required
|
514
535
|
# }
|
515
536
|
#
|
@@ -526,6 +547,7 @@ module Aws::Comprehend
|
|
526
547
|
class ClassifyDocumentRequest < Struct.new(
|
527
548
|
:text,
|
528
549
|
:endpoint_arn)
|
550
|
+
SENSITIVE = [:text]
|
529
551
|
include Aws::Structure
|
530
552
|
end
|
531
553
|
|
@@ -551,6 +573,7 @@ module Aws::Comprehend
|
|
551
573
|
class ClassifyDocumentResponse < Struct.new(
|
552
574
|
:classes,
|
553
575
|
:labels)
|
576
|
+
SENSITIVE = []
|
554
577
|
include Aws::Structure
|
555
578
|
end
|
556
579
|
|
@@ -564,6 +587,7 @@ module Aws::Comprehend
|
|
564
587
|
#
|
565
588
|
class ConcurrentModificationException < Struct.new(
|
566
589
|
:message)
|
590
|
+
SENSITIVE = []
|
567
591
|
include Aws::Structure
|
568
592
|
end
|
569
593
|
|
@@ -684,6 +708,7 @@ module Aws::Comprehend
|
|
684
708
|
:volume_kms_key_id,
|
685
709
|
:vpc_config,
|
686
710
|
:mode)
|
711
|
+
SENSITIVE = []
|
687
712
|
include Aws::Structure
|
688
713
|
end
|
689
714
|
|
@@ -696,6 +721,7 @@ module Aws::Comprehend
|
|
696
721
|
#
|
697
722
|
class CreateDocumentClassifierResponse < Struct.new(
|
698
723
|
:document_classifier_arn)
|
724
|
+
SENSITIVE = []
|
699
725
|
include Aws::Structure
|
700
726
|
end
|
701
727
|
|
@@ -755,6 +781,7 @@ module Aws::Comprehend
|
|
755
781
|
:desired_inference_units,
|
756
782
|
:client_request_token,
|
757
783
|
:tags)
|
784
|
+
SENSITIVE = []
|
758
785
|
include Aws::Structure
|
759
786
|
end
|
760
787
|
|
@@ -766,6 +793,7 @@ module Aws::Comprehend
|
|
766
793
|
#
|
767
794
|
class CreateEndpointResponse < Struct.new(
|
768
795
|
:endpoint_arn)
|
796
|
+
SENSITIVE = []
|
769
797
|
include Aws::Structure
|
770
798
|
end
|
771
799
|
|
@@ -879,6 +907,7 @@ module Aws::Comprehend
|
|
879
907
|
:language_code,
|
880
908
|
:volume_kms_key_id,
|
881
909
|
:vpc_config)
|
910
|
+
SENSITIVE = []
|
882
911
|
include Aws::Structure
|
883
912
|
end
|
884
913
|
|
@@ -891,6 +920,7 @@ module Aws::Comprehend
|
|
891
920
|
#
|
892
921
|
class CreateEntityRecognizerResponse < Struct.new(
|
893
922
|
:entity_recognizer_arn)
|
923
|
+
SENSITIVE = []
|
894
924
|
include Aws::Structure
|
895
925
|
end
|
896
926
|
|
@@ -910,6 +940,7 @@ module Aws::Comprehend
|
|
910
940
|
#
|
911
941
|
class DeleteDocumentClassifierRequest < Struct.new(
|
912
942
|
:document_classifier_arn)
|
943
|
+
SENSITIVE = []
|
913
944
|
include Aws::Structure
|
914
945
|
end
|
915
946
|
|
@@ -932,6 +963,7 @@ module Aws::Comprehend
|
|
932
963
|
#
|
933
964
|
class DeleteEndpointRequest < Struct.new(
|
934
965
|
:endpoint_arn)
|
966
|
+
SENSITIVE = []
|
935
967
|
include Aws::Structure
|
936
968
|
end
|
937
969
|
|
@@ -955,6 +987,7 @@ module Aws::Comprehend
|
|
955
987
|
#
|
956
988
|
class DeleteEntityRecognizerRequest < Struct.new(
|
957
989
|
:entity_recognizer_arn)
|
990
|
+
SENSITIVE = []
|
958
991
|
include Aws::Structure
|
959
992
|
end
|
960
993
|
|
@@ -978,6 +1011,7 @@ module Aws::Comprehend
|
|
978
1011
|
#
|
979
1012
|
class DescribeDocumentClassificationJobRequest < Struct.new(
|
980
1013
|
:job_id)
|
1014
|
+
SENSITIVE = []
|
981
1015
|
include Aws::Structure
|
982
1016
|
end
|
983
1017
|
|
@@ -990,6 +1024,7 @@ module Aws::Comprehend
|
|
990
1024
|
#
|
991
1025
|
class DescribeDocumentClassificationJobResponse < Struct.new(
|
992
1026
|
:document_classification_job_properties)
|
1027
|
+
SENSITIVE = []
|
993
1028
|
include Aws::Structure
|
994
1029
|
end
|
995
1030
|
|
@@ -1009,6 +1044,7 @@ module Aws::Comprehend
|
|
1009
1044
|
#
|
1010
1045
|
class DescribeDocumentClassifierRequest < Struct.new(
|
1011
1046
|
:document_classifier_arn)
|
1047
|
+
SENSITIVE = []
|
1012
1048
|
include Aws::Structure
|
1013
1049
|
end
|
1014
1050
|
|
@@ -1021,6 +1057,7 @@ module Aws::Comprehend
|
|
1021
1057
|
#
|
1022
1058
|
class DescribeDocumentClassifierResponse < Struct.new(
|
1023
1059
|
:document_classifier_properties)
|
1060
|
+
SENSITIVE = []
|
1024
1061
|
include Aws::Structure
|
1025
1062
|
end
|
1026
1063
|
|
@@ -1040,6 +1077,7 @@ module Aws::Comprehend
|
|
1040
1077
|
#
|
1041
1078
|
class DescribeDominantLanguageDetectionJobRequest < Struct.new(
|
1042
1079
|
:job_id)
|
1080
|
+
SENSITIVE = []
|
1043
1081
|
include Aws::Structure
|
1044
1082
|
end
|
1045
1083
|
|
@@ -1052,6 +1090,7 @@ module Aws::Comprehend
|
|
1052
1090
|
#
|
1053
1091
|
class DescribeDominantLanguageDetectionJobResponse < Struct.new(
|
1054
1092
|
:dominant_language_detection_job_properties)
|
1093
|
+
SENSITIVE = []
|
1055
1094
|
include Aws::Structure
|
1056
1095
|
end
|
1057
1096
|
|
@@ -1070,6 +1109,7 @@ module Aws::Comprehend
|
|
1070
1109
|
#
|
1071
1110
|
class DescribeEndpointRequest < Struct.new(
|
1072
1111
|
:endpoint_arn)
|
1112
|
+
SENSITIVE = []
|
1073
1113
|
include Aws::Structure
|
1074
1114
|
end
|
1075
1115
|
|
@@ -1081,6 +1121,7 @@ module Aws::Comprehend
|
|
1081
1121
|
#
|
1082
1122
|
class DescribeEndpointResponse < Struct.new(
|
1083
1123
|
:endpoint_properties)
|
1124
|
+
SENSITIVE = []
|
1084
1125
|
include Aws::Structure
|
1085
1126
|
end
|
1086
1127
|
|
@@ -1100,6 +1141,7 @@ module Aws::Comprehend
|
|
1100
1141
|
#
|
1101
1142
|
class DescribeEntitiesDetectionJobRequest < Struct.new(
|
1102
1143
|
:job_id)
|
1144
|
+
SENSITIVE = []
|
1103
1145
|
include Aws::Structure
|
1104
1146
|
end
|
1105
1147
|
|
@@ -1112,6 +1154,7 @@ module Aws::Comprehend
|
|
1112
1154
|
#
|
1113
1155
|
class DescribeEntitiesDetectionJobResponse < Struct.new(
|
1114
1156
|
:entities_detection_job_properties)
|
1157
|
+
SENSITIVE = []
|
1115
1158
|
include Aws::Structure
|
1116
1159
|
end
|
1117
1160
|
|
@@ -1131,6 +1174,7 @@ module Aws::Comprehend
|
|
1131
1174
|
#
|
1132
1175
|
class DescribeEntityRecognizerRequest < Struct.new(
|
1133
1176
|
:entity_recognizer_arn)
|
1177
|
+
SENSITIVE = []
|
1134
1178
|
include Aws::Structure
|
1135
1179
|
end
|
1136
1180
|
|
@@ -1142,6 +1186,7 @@ module Aws::Comprehend
|
|
1142
1186
|
#
|
1143
1187
|
class DescribeEntityRecognizerResponse < Struct.new(
|
1144
1188
|
:entity_recognizer_properties)
|
1189
|
+
SENSITIVE = []
|
1145
1190
|
include Aws::Structure
|
1146
1191
|
end
|
1147
1192
|
|
@@ -1161,6 +1206,7 @@ module Aws::Comprehend
|
|
1161
1206
|
#
|
1162
1207
|
class DescribeKeyPhrasesDetectionJobRequest < Struct.new(
|
1163
1208
|
:job_id)
|
1209
|
+
SENSITIVE = []
|
1164
1210
|
include Aws::Structure
|
1165
1211
|
end
|
1166
1212
|
|
@@ -1173,6 +1219,7 @@ module Aws::Comprehend
|
|
1173
1219
|
#
|
1174
1220
|
class DescribeKeyPhrasesDetectionJobResponse < Struct.new(
|
1175
1221
|
:key_phrases_detection_job_properties)
|
1222
|
+
SENSITIVE = []
|
1176
1223
|
include Aws::Structure
|
1177
1224
|
end
|
1178
1225
|
|
@@ -1192,6 +1239,7 @@ module Aws::Comprehend
|
|
1192
1239
|
#
|
1193
1240
|
class DescribeSentimentDetectionJobRequest < Struct.new(
|
1194
1241
|
:job_id)
|
1242
|
+
SENSITIVE = []
|
1195
1243
|
include Aws::Structure
|
1196
1244
|
end
|
1197
1245
|
|
@@ -1204,6 +1252,7 @@ module Aws::Comprehend
|
|
1204
1252
|
#
|
1205
1253
|
class DescribeSentimentDetectionJobResponse < Struct.new(
|
1206
1254
|
:sentiment_detection_job_properties)
|
1255
|
+
SENSITIVE = []
|
1207
1256
|
include Aws::Structure
|
1208
1257
|
end
|
1209
1258
|
|
@@ -1222,6 +1271,7 @@ module Aws::Comprehend
|
|
1222
1271
|
#
|
1223
1272
|
class DescribeTopicsDetectionJobRequest < Struct.new(
|
1224
1273
|
:job_id)
|
1274
|
+
SENSITIVE = []
|
1225
1275
|
include Aws::Structure
|
1226
1276
|
end
|
1227
1277
|
|
@@ -1233,6 +1283,7 @@ module Aws::Comprehend
|
|
1233
1283
|
#
|
1234
1284
|
class DescribeTopicsDetectionJobResponse < Struct.new(
|
1235
1285
|
:topics_detection_job_properties)
|
1286
|
+
SENSITIVE = []
|
1236
1287
|
include Aws::Structure
|
1237
1288
|
end
|
1238
1289
|
|
@@ -1240,7 +1291,7 @@ module Aws::Comprehend
|
|
1240
1291
|
# data as a hash:
|
1241
1292
|
#
|
1242
1293
|
# {
|
1243
|
-
# text: "
|
1294
|
+
# text: "CustomerInputString", # required
|
1244
1295
|
# }
|
1245
1296
|
#
|
1246
1297
|
# @!attribute [rw] text
|
@@ -1253,6 +1304,7 @@ module Aws::Comprehend
|
|
1253
1304
|
#
|
1254
1305
|
class DetectDominantLanguageRequest < Struct.new(
|
1255
1306
|
:text)
|
1307
|
+
SENSITIVE = [:text]
|
1256
1308
|
include Aws::Structure
|
1257
1309
|
end
|
1258
1310
|
|
@@ -1272,6 +1324,7 @@ module Aws::Comprehend
|
|
1272
1324
|
#
|
1273
1325
|
class DetectDominantLanguageResponse < Struct.new(
|
1274
1326
|
:languages)
|
1327
|
+
SENSITIVE = []
|
1275
1328
|
include Aws::Structure
|
1276
1329
|
end
|
1277
1330
|
|
@@ -1279,8 +1332,9 @@ module Aws::Comprehend
|
|
1279
1332
|
# data as a hash:
|
1280
1333
|
#
|
1281
1334
|
# {
|
1282
|
-
# text: "
|
1283
|
-
# language_code: "en", #
|
1335
|
+
# text: "CustomerInputString", # required
|
1336
|
+
# language_code: "en", # accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
1337
|
+
# endpoint_arn: "EntityRecognizerEndpointArn",
|
1284
1338
|
# }
|
1285
1339
|
#
|
1286
1340
|
# @!attribute [rw] text
|
@@ -1292,13 +1346,31 @@ module Aws::Comprehend
|
|
1292
1346
|
# The language of the input documents. You can specify any of the
|
1293
1347
|
# primary languages supported by Amazon Comprehend. All documents must
|
1294
1348
|
# be in the same language.
|
1349
|
+
#
|
1350
|
+
# If your request includes the endpoint for a custom entity
|
1351
|
+
# recognition model, Amazon Comprehend uses the language of your
|
1352
|
+
# custom model, and it ignores any language code that you specify
|
1353
|
+
# here.
|
1354
|
+
# @return [String]
|
1355
|
+
#
|
1356
|
+
# @!attribute [rw] endpoint_arn
|
1357
|
+
# The Amazon Resource Name of an endpoint that is associated with a
|
1358
|
+
# custom entity recognition model. Provide an endpoint if you want to
|
1359
|
+
# detect entities by using your own custom model instead of the
|
1360
|
+
# default model that is used by Amazon Comprehend.
|
1361
|
+
#
|
1362
|
+
# If you specify an endpoint, Amazon Comprehend uses the language of
|
1363
|
+
# your custom model, and it ignores any language code that you provide
|
1364
|
+
# in your request.
|
1295
1365
|
# @return [String]
|
1296
1366
|
#
|
1297
1367
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectEntitiesRequest AWS API Documentation
|
1298
1368
|
#
|
1299
1369
|
class DetectEntitiesRequest < Struct.new(
|
1300
1370
|
:text,
|
1301
|
-
:language_code
|
1371
|
+
:language_code,
|
1372
|
+
:endpoint_arn)
|
1373
|
+
SENSITIVE = [:text]
|
1302
1374
|
include Aws::Structure
|
1303
1375
|
end
|
1304
1376
|
|
@@ -1306,14 +1378,19 @@ module Aws::Comprehend
|
|
1306
1378
|
# A collection of entities identified in the input text. For each
|
1307
1379
|
# entity, the response provides the entity text, entity type, where
|
1308
1380
|
# the entity text begins and ends, and the level of confidence that
|
1309
|
-
# Amazon Comprehend has in the detection.
|
1310
|
-
#
|
1381
|
+
# Amazon Comprehend has in the detection.
|
1382
|
+
#
|
1383
|
+
# If your request uses a custom entity recognition model, Amazon
|
1384
|
+
# Comprehend detects the entities that the model is trained to
|
1385
|
+
# recognize. Otherwise, it detects the default entity types. For a
|
1386
|
+
# list of default entity types, see how-entities.
|
1311
1387
|
# @return [Array<Types::Entity>]
|
1312
1388
|
#
|
1313
1389
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectEntitiesResponse AWS API Documentation
|
1314
1390
|
#
|
1315
1391
|
class DetectEntitiesResponse < Struct.new(
|
1316
1392
|
:entities)
|
1393
|
+
SENSITIVE = []
|
1317
1394
|
include Aws::Structure
|
1318
1395
|
end
|
1319
1396
|
|
@@ -1321,7 +1398,7 @@ module Aws::Comprehend
|
|
1321
1398
|
# data as a hash:
|
1322
1399
|
#
|
1323
1400
|
# {
|
1324
|
-
# text: "
|
1401
|
+
# text: "CustomerInputString", # required
|
1325
1402
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
1326
1403
|
# }
|
1327
1404
|
#
|
@@ -1341,6 +1418,7 @@ module Aws::Comprehend
|
|
1341
1418
|
class DetectKeyPhrasesRequest < Struct.new(
|
1342
1419
|
:text,
|
1343
1420
|
:language_code)
|
1421
|
+
SENSITIVE = [:text]
|
1344
1422
|
include Aws::Structure
|
1345
1423
|
end
|
1346
1424
|
|
@@ -1356,6 +1434,7 @@ module Aws::Comprehend
|
|
1356
1434
|
#
|
1357
1435
|
class DetectKeyPhrasesResponse < Struct.new(
|
1358
1436
|
:key_phrases)
|
1437
|
+
SENSITIVE = []
|
1359
1438
|
include Aws::Structure
|
1360
1439
|
end
|
1361
1440
|
|
@@ -1363,7 +1442,7 @@ module Aws::Comprehend
|
|
1363
1442
|
# data as a hash:
|
1364
1443
|
#
|
1365
1444
|
# {
|
1366
|
-
# text: "
|
1445
|
+
# text: "CustomerInputString", # required
|
1367
1446
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
1368
1447
|
# }
|
1369
1448
|
#
|
@@ -1383,6 +1462,7 @@ module Aws::Comprehend
|
|
1383
1462
|
class DetectSentimentRequest < Struct.new(
|
1384
1463
|
:text,
|
1385
1464
|
:language_code)
|
1465
|
+
SENSITIVE = [:text]
|
1386
1466
|
include Aws::Structure
|
1387
1467
|
end
|
1388
1468
|
|
@@ -1401,6 +1481,7 @@ module Aws::Comprehend
|
|
1401
1481
|
class DetectSentimentResponse < Struct.new(
|
1402
1482
|
:sentiment,
|
1403
1483
|
:sentiment_score)
|
1484
|
+
SENSITIVE = []
|
1404
1485
|
include Aws::Structure
|
1405
1486
|
end
|
1406
1487
|
|
@@ -1408,7 +1489,7 @@ module Aws::Comprehend
|
|
1408
1489
|
# data as a hash:
|
1409
1490
|
#
|
1410
1491
|
# {
|
1411
|
-
# text: "
|
1492
|
+
# text: "CustomerInputString", # required
|
1412
1493
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
1413
1494
|
# }
|
1414
1495
|
#
|
@@ -1429,6 +1510,7 @@ module Aws::Comprehend
|
|
1429
1510
|
class DetectSyntaxRequest < Struct.new(
|
1430
1511
|
:text,
|
1431
1512
|
:language_code)
|
1513
|
+
SENSITIVE = [:text]
|
1432
1514
|
include Aws::Structure
|
1433
1515
|
end
|
1434
1516
|
|
@@ -1444,6 +1526,7 @@ module Aws::Comprehend
|
|
1444
1526
|
#
|
1445
1527
|
class DetectSyntaxResponse < Struct.new(
|
1446
1528
|
:syntax_tokens)
|
1529
|
+
SENSITIVE = []
|
1447
1530
|
include Aws::Structure
|
1448
1531
|
end
|
1449
1532
|
|
@@ -1463,6 +1546,7 @@ module Aws::Comprehend
|
|
1463
1546
|
class DocumentClass < Struct.new(
|
1464
1547
|
:name,
|
1465
1548
|
:score)
|
1549
|
+
SENSITIVE = []
|
1466
1550
|
include Aws::Structure
|
1467
1551
|
end
|
1468
1552
|
|
@@ -1491,14 +1575,14 @@ module Aws::Comprehend
|
|
1491
1575
|
#
|
1492
1576
|
# @!attribute [rw] submit_time_before
|
1493
1577
|
# Filters the list of jobs based on the time that the job was
|
1494
|
-
# submitted for processing. Returns only jobs submitted
|
1578
|
+
# submitted for processing. Returns only jobs submitted before the
|
1495
1579
|
# specified time. Jobs are returned in ascending order, oldest to
|
1496
1580
|
# newest.
|
1497
1581
|
# @return [Time]
|
1498
1582
|
#
|
1499
1583
|
# @!attribute [rw] submit_time_after
|
1500
1584
|
# Filters the list of jobs based on the time that the job was
|
1501
|
-
# submitted for processing. Returns only jobs submitted
|
1585
|
+
# submitted for processing. Returns only jobs submitted after the
|
1502
1586
|
# specified time. Jobs are returned in descending order, newest to
|
1503
1587
|
# oldest.
|
1504
1588
|
# @return [Time]
|
@@ -1510,6 +1594,7 @@ module Aws::Comprehend
|
|
1510
1594
|
:job_status,
|
1511
1595
|
:submit_time_before,
|
1512
1596
|
:submit_time_after)
|
1597
|
+
SENSITIVE = []
|
1513
1598
|
include Aws::Structure
|
1514
1599
|
end
|
1515
1600
|
|
@@ -1599,6 +1684,7 @@ module Aws::Comprehend
|
|
1599
1684
|
:data_access_role_arn,
|
1600
1685
|
:volume_kms_key_id,
|
1601
1686
|
:vpc_config)
|
1687
|
+
SENSITIVE = []
|
1602
1688
|
include Aws::Structure
|
1603
1689
|
end
|
1604
1690
|
|
@@ -1639,6 +1725,7 @@ module Aws::Comprehend
|
|
1639
1725
|
:status,
|
1640
1726
|
:submit_time_before,
|
1641
1727
|
:submit_time_after)
|
1728
|
+
SENSITIVE = []
|
1642
1729
|
include Aws::Structure
|
1643
1730
|
end
|
1644
1731
|
|
@@ -1682,6 +1769,7 @@ module Aws::Comprehend
|
|
1682
1769
|
class DocumentClassifierInputDataConfig < Struct.new(
|
1683
1770
|
:s3_uri,
|
1684
1771
|
:label_delimiter)
|
1772
|
+
SENSITIVE = []
|
1685
1773
|
include Aws::Structure
|
1686
1774
|
end
|
1687
1775
|
|
@@ -1730,6 +1818,7 @@ module Aws::Comprehend
|
|
1730
1818
|
class DocumentClassifierOutputDataConfig < Struct.new(
|
1731
1819
|
:s3_uri,
|
1732
1820
|
:kms_key_id)
|
1821
|
+
SENSITIVE = []
|
1733
1822
|
include Aws::Structure
|
1734
1823
|
end
|
1735
1824
|
|
@@ -1846,6 +1935,7 @@ module Aws::Comprehend
|
|
1846
1935
|
:volume_kms_key_id,
|
1847
1936
|
:vpc_config,
|
1848
1937
|
:mode)
|
1938
|
+
SENSITIVE = [:classifier_metadata]
|
1849
1939
|
include Aws::Structure
|
1850
1940
|
end
|
1851
1941
|
|
@@ -1866,6 +1956,7 @@ module Aws::Comprehend
|
|
1866
1956
|
class DocumentLabel < Struct.new(
|
1867
1957
|
:name,
|
1868
1958
|
:score)
|
1959
|
+
SENSITIVE = []
|
1869
1960
|
include Aws::Structure
|
1870
1961
|
end
|
1871
1962
|
|
@@ -1893,6 +1984,7 @@ module Aws::Comprehend
|
|
1893
1984
|
class DominantLanguage < Struct.new(
|
1894
1985
|
:language_code,
|
1895
1986
|
:score)
|
1987
|
+
SENSITIVE = []
|
1896
1988
|
include Aws::Structure
|
1897
1989
|
end
|
1898
1990
|
|
@@ -1939,6 +2031,7 @@ module Aws::Comprehend
|
|
1939
2031
|
:job_status,
|
1940
2032
|
:submit_time_before,
|
1941
2033
|
:submit_time_after)
|
2034
|
+
SENSITIVE = []
|
1942
2035
|
include Aws::Structure
|
1943
2036
|
end
|
1944
2037
|
|
@@ -2022,6 +2115,7 @@ module Aws::Comprehend
|
|
2022
2115
|
:data_access_role_arn,
|
2023
2116
|
:volume_kms_key_id,
|
2024
2117
|
:vpc_config)
|
2118
|
+
SENSITIVE = []
|
2025
2119
|
include Aws::Structure
|
2026
2120
|
end
|
2027
2121
|
|
@@ -2066,6 +2160,7 @@ module Aws::Comprehend
|
|
2066
2160
|
:status,
|
2067
2161
|
:creation_time_before,
|
2068
2162
|
:creation_time_after)
|
2163
|
+
SENSITIVE = []
|
2069
2164
|
include Aws::Structure
|
2070
2165
|
end
|
2071
2166
|
|
@@ -2120,6 +2215,7 @@ module Aws::Comprehend
|
|
2120
2215
|
:current_inference_units,
|
2121
2216
|
:creation_time,
|
2122
2217
|
:last_modified_time)
|
2218
|
+
SENSITIVE = []
|
2123
2219
|
include Aws::Structure
|
2124
2220
|
end
|
2125
2221
|
|
@@ -2166,6 +2262,7 @@ module Aws::Comprehend
|
|
2166
2262
|
:job_status,
|
2167
2263
|
:submit_time_before,
|
2168
2264
|
:submit_time_after)
|
2265
|
+
SENSITIVE = []
|
2169
2266
|
include Aws::Structure
|
2170
2267
|
end
|
2171
2268
|
|
@@ -2259,6 +2356,7 @@ module Aws::Comprehend
|
|
2259
2356
|
:data_access_role_arn,
|
2260
2357
|
:volume_kms_key_id,
|
2261
2358
|
:vpc_config)
|
2359
|
+
SENSITIVE = []
|
2262
2360
|
include Aws::Structure
|
2263
2361
|
end
|
2264
2362
|
|
@@ -2302,6 +2400,7 @@ module Aws::Comprehend
|
|
2302
2400
|
:text,
|
2303
2401
|
:begin_offset,
|
2304
2402
|
:end_offset)
|
2403
|
+
SENSITIVE = []
|
2305
2404
|
include Aws::Structure
|
2306
2405
|
end
|
2307
2406
|
|
@@ -2324,6 +2423,7 @@ module Aws::Comprehend
|
|
2324
2423
|
#
|
2325
2424
|
class EntityRecognizerAnnotations < Struct.new(
|
2326
2425
|
:s3_uri)
|
2426
|
+
SENSITIVE = []
|
2327
2427
|
include Aws::Structure
|
2328
2428
|
end
|
2329
2429
|
|
@@ -2346,6 +2446,7 @@ module Aws::Comprehend
|
|
2346
2446
|
#
|
2347
2447
|
class EntityRecognizerDocuments < Struct.new(
|
2348
2448
|
:s3_uri)
|
2449
|
+
SENSITIVE = []
|
2349
2450
|
include Aws::Structure
|
2350
2451
|
end
|
2351
2452
|
|
@@ -2368,6 +2469,7 @@ module Aws::Comprehend
|
|
2368
2469
|
#
|
2369
2470
|
class EntityRecognizerEntityList < Struct.new(
|
2370
2471
|
:s3_uri)
|
2472
|
+
SENSITIVE = []
|
2371
2473
|
include Aws::Structure
|
2372
2474
|
end
|
2373
2475
|
|
@@ -2398,6 +2500,7 @@ module Aws::Comprehend
|
|
2398
2500
|
:precision,
|
2399
2501
|
:recall,
|
2400
2502
|
:f1_score)
|
2503
|
+
SENSITIVE = []
|
2401
2504
|
include Aws::Structure
|
2402
2505
|
end
|
2403
2506
|
|
@@ -2438,6 +2541,7 @@ module Aws::Comprehend
|
|
2438
2541
|
:status,
|
2439
2542
|
:submit_time_before,
|
2440
2543
|
:submit_time_after)
|
2544
|
+
SENSITIVE = []
|
2441
2545
|
include Aws::Structure
|
2442
2546
|
end
|
2443
2547
|
|
@@ -2488,6 +2592,7 @@ module Aws::Comprehend
|
|
2488
2592
|
:documents,
|
2489
2593
|
:annotations,
|
2490
2594
|
:entity_list)
|
2595
|
+
SENSITIVE = []
|
2491
2596
|
include Aws::Structure
|
2492
2597
|
end
|
2493
2598
|
|
@@ -2520,6 +2625,7 @@ module Aws::Comprehend
|
|
2520
2625
|
:number_of_test_documents,
|
2521
2626
|
:evaluation_metrics,
|
2522
2627
|
:entity_types)
|
2628
|
+
SENSITIVE = []
|
2523
2629
|
include Aws::Structure
|
2524
2630
|
end
|
2525
2631
|
|
@@ -2547,6 +2653,7 @@ module Aws::Comprehend
|
|
2547
2653
|
:type,
|
2548
2654
|
:evaluation_metrics,
|
2549
2655
|
:number_of_train_mentions)
|
2656
|
+
SENSITIVE = []
|
2550
2657
|
include Aws::Structure
|
2551
2658
|
end
|
2552
2659
|
|
@@ -2638,6 +2745,7 @@ module Aws::Comprehend
|
|
2638
2745
|
:data_access_role_arn,
|
2639
2746
|
:volume_kms_key_id,
|
2640
2747
|
:vpc_config)
|
2748
|
+
SENSITIVE = [:recognizer_metadata]
|
2641
2749
|
include Aws::Structure
|
2642
2750
|
end
|
2643
2751
|
|
@@ -2671,6 +2779,7 @@ module Aws::Comprehend
|
|
2671
2779
|
:precision,
|
2672
2780
|
:recall,
|
2673
2781
|
:f1_score)
|
2782
|
+
SENSITIVE = []
|
2674
2783
|
include Aws::Structure
|
2675
2784
|
end
|
2676
2785
|
|
@@ -2691,6 +2800,7 @@ module Aws::Comprehend
|
|
2691
2800
|
#
|
2692
2801
|
class EntityTypesListItem < Struct.new(
|
2693
2802
|
:type)
|
2803
|
+
SENSITIVE = []
|
2694
2804
|
include Aws::Structure
|
2695
2805
|
end
|
2696
2806
|
|
@@ -2733,6 +2843,7 @@ module Aws::Comprehend
|
|
2733
2843
|
class InputDataConfig < Struct.new(
|
2734
2844
|
:s3_uri,
|
2735
2845
|
:input_format)
|
2846
|
+
SENSITIVE = []
|
2736
2847
|
include Aws::Structure
|
2737
2848
|
end
|
2738
2849
|
|
@@ -2745,6 +2856,7 @@ module Aws::Comprehend
|
|
2745
2856
|
#
|
2746
2857
|
class InternalServerException < Struct.new(
|
2747
2858
|
:message)
|
2859
|
+
SENSITIVE = []
|
2748
2860
|
include Aws::Structure
|
2749
2861
|
end
|
2750
2862
|
|
@@ -2758,6 +2870,7 @@ module Aws::Comprehend
|
|
2758
2870
|
#
|
2759
2871
|
class InvalidFilterException < Struct.new(
|
2760
2872
|
:message)
|
2873
|
+
SENSITIVE = []
|
2761
2874
|
include Aws::Structure
|
2762
2875
|
end
|
2763
2876
|
|
@@ -2770,6 +2883,7 @@ module Aws::Comprehend
|
|
2770
2883
|
#
|
2771
2884
|
class InvalidRequestException < Struct.new(
|
2772
2885
|
:message)
|
2886
|
+
SENSITIVE = []
|
2773
2887
|
include Aws::Structure
|
2774
2888
|
end
|
2775
2889
|
|
@@ -2782,6 +2896,7 @@ module Aws::Comprehend
|
|
2782
2896
|
#
|
2783
2897
|
class JobNotFoundException < Struct.new(
|
2784
2898
|
:message)
|
2899
|
+
SENSITIVE = []
|
2785
2900
|
include Aws::Structure
|
2786
2901
|
end
|
2787
2902
|
|
@@ -2820,6 +2935,7 @@ module Aws::Comprehend
|
|
2820
2935
|
:text,
|
2821
2936
|
:begin_offset,
|
2822
2937
|
:end_offset)
|
2938
|
+
SENSITIVE = []
|
2823
2939
|
include Aws::Structure
|
2824
2940
|
end
|
2825
2941
|
|
@@ -2866,6 +2982,7 @@ module Aws::Comprehend
|
|
2866
2982
|
:job_status,
|
2867
2983
|
:submit_time_before,
|
2868
2984
|
:submit_time_after)
|
2985
|
+
SENSITIVE = []
|
2869
2986
|
include Aws::Structure
|
2870
2987
|
end
|
2871
2988
|
|
@@ -2953,6 +3070,7 @@ module Aws::Comprehend
|
|
2953
3070
|
:data_access_role_arn,
|
2954
3071
|
:volume_kms_key_id,
|
2955
3072
|
:vpc_config)
|
3073
|
+
SENSITIVE = []
|
2956
3074
|
include Aws::Structure
|
2957
3075
|
end
|
2958
3076
|
|
@@ -2966,6 +3084,7 @@ module Aws::Comprehend
|
|
2966
3084
|
#
|
2967
3085
|
class KmsKeyValidationException < Struct.new(
|
2968
3086
|
:message)
|
3087
|
+
SENSITIVE = []
|
2969
3088
|
include Aws::Structure
|
2970
3089
|
end
|
2971
3090
|
|
@@ -3004,6 +3123,7 @@ module Aws::Comprehend
|
|
3004
3123
|
:filter,
|
3005
3124
|
:next_token,
|
3006
3125
|
:max_results)
|
3126
|
+
SENSITIVE = []
|
3007
3127
|
include Aws::Structure
|
3008
3128
|
end
|
3009
3129
|
|
@@ -3020,6 +3140,7 @@ module Aws::Comprehend
|
|
3020
3140
|
class ListDocumentClassificationJobsResponse < Struct.new(
|
3021
3141
|
:document_classification_job_properties_list,
|
3022
3142
|
:next_token)
|
3143
|
+
SENSITIVE = []
|
3023
3144
|
include Aws::Structure
|
3024
3145
|
end
|
3025
3146
|
|
@@ -3057,6 +3178,7 @@ module Aws::Comprehend
|
|
3057
3178
|
:filter,
|
3058
3179
|
:next_token,
|
3059
3180
|
:max_results)
|
3181
|
+
SENSITIVE = []
|
3060
3182
|
include Aws::Structure
|
3061
3183
|
end
|
3062
3184
|
|
@@ -3073,6 +3195,7 @@ module Aws::Comprehend
|
|
3073
3195
|
class ListDocumentClassifiersResponse < Struct.new(
|
3074
3196
|
:document_classifier_properties_list,
|
3075
3197
|
:next_token)
|
3198
|
+
SENSITIVE = []
|
3076
3199
|
include Aws::Structure
|
3077
3200
|
end
|
3078
3201
|
|
@@ -3111,6 +3234,7 @@ module Aws::Comprehend
|
|
3111
3234
|
:filter,
|
3112
3235
|
:next_token,
|
3113
3236
|
:max_results)
|
3237
|
+
SENSITIVE = []
|
3114
3238
|
include Aws::Structure
|
3115
3239
|
end
|
3116
3240
|
|
@@ -3127,6 +3251,7 @@ module Aws::Comprehend
|
|
3127
3251
|
class ListDominantLanguageDetectionJobsResponse < Struct.new(
|
3128
3252
|
:dominant_language_detection_job_properties_list,
|
3129
3253
|
:next_token)
|
3254
|
+
SENSITIVE = []
|
3130
3255
|
include Aws::Structure
|
3131
3256
|
end
|
3132
3257
|
|
@@ -3165,6 +3290,7 @@ module Aws::Comprehend
|
|
3165
3290
|
:filter,
|
3166
3291
|
:next_token,
|
3167
3292
|
:max_results)
|
3293
|
+
SENSITIVE = []
|
3168
3294
|
include Aws::Structure
|
3169
3295
|
end
|
3170
3296
|
|
@@ -3182,6 +3308,7 @@ module Aws::Comprehend
|
|
3182
3308
|
class ListEndpointsResponse < Struct.new(
|
3183
3309
|
:endpoint_properties_list,
|
3184
3310
|
:next_token)
|
3311
|
+
SENSITIVE = []
|
3185
3312
|
include Aws::Structure
|
3186
3313
|
end
|
3187
3314
|
|
@@ -3220,6 +3347,7 @@ module Aws::Comprehend
|
|
3220
3347
|
:filter,
|
3221
3348
|
:next_token,
|
3222
3349
|
:max_results)
|
3350
|
+
SENSITIVE = []
|
3223
3351
|
include Aws::Structure
|
3224
3352
|
end
|
3225
3353
|
|
@@ -3236,6 +3364,7 @@ module Aws::Comprehend
|
|
3236
3364
|
class ListEntitiesDetectionJobsResponse < Struct.new(
|
3237
3365
|
:entities_detection_job_properties_list,
|
3238
3366
|
:next_token)
|
3367
|
+
SENSITIVE = []
|
3239
3368
|
include Aws::Structure
|
3240
3369
|
end
|
3241
3370
|
|
@@ -3273,6 +3402,7 @@ module Aws::Comprehend
|
|
3273
3402
|
:filter,
|
3274
3403
|
:next_token,
|
3275
3404
|
:max_results)
|
3405
|
+
SENSITIVE = []
|
3276
3406
|
include Aws::Structure
|
3277
3407
|
end
|
3278
3408
|
|
@@ -3289,6 +3419,7 @@ module Aws::Comprehend
|
|
3289
3419
|
class ListEntityRecognizersResponse < Struct.new(
|
3290
3420
|
:entity_recognizer_properties_list,
|
3291
3421
|
:next_token)
|
3422
|
+
SENSITIVE = []
|
3292
3423
|
include Aws::Structure
|
3293
3424
|
end
|
3294
3425
|
|
@@ -3327,6 +3458,7 @@ module Aws::Comprehend
|
|
3327
3458
|
:filter,
|
3328
3459
|
:next_token,
|
3329
3460
|
:max_results)
|
3461
|
+
SENSITIVE = []
|
3330
3462
|
include Aws::Structure
|
3331
3463
|
end
|
3332
3464
|
|
@@ -3343,6 +3475,7 @@ module Aws::Comprehend
|
|
3343
3475
|
class ListKeyPhrasesDetectionJobsResponse < Struct.new(
|
3344
3476
|
:key_phrases_detection_job_properties_list,
|
3345
3477
|
:next_token)
|
3478
|
+
SENSITIVE = []
|
3346
3479
|
include Aws::Structure
|
3347
3480
|
end
|
3348
3481
|
|
@@ -3381,6 +3514,7 @@ module Aws::Comprehend
|
|
3381
3514
|
:filter,
|
3382
3515
|
:next_token,
|
3383
3516
|
:max_results)
|
3517
|
+
SENSITIVE = []
|
3384
3518
|
include Aws::Structure
|
3385
3519
|
end
|
3386
3520
|
|
@@ -3397,6 +3531,7 @@ module Aws::Comprehend
|
|
3397
3531
|
class ListSentimentDetectionJobsResponse < Struct.new(
|
3398
3532
|
:sentiment_detection_job_properties_list,
|
3399
3533
|
:next_token)
|
3534
|
+
SENSITIVE = []
|
3400
3535
|
include Aws::Structure
|
3401
3536
|
end
|
3402
3537
|
|
@@ -3416,6 +3551,7 @@ module Aws::Comprehend
|
|
3416
3551
|
#
|
3417
3552
|
class ListTagsForResourceRequest < Struct.new(
|
3418
3553
|
:resource_arn)
|
3554
|
+
SENSITIVE = []
|
3419
3555
|
include Aws::Structure
|
3420
3556
|
end
|
3421
3557
|
|
@@ -3437,6 +3573,7 @@ module Aws::Comprehend
|
|
3437
3573
|
class ListTagsForResourceResponse < Struct.new(
|
3438
3574
|
:resource_arn,
|
3439
3575
|
:tags)
|
3576
|
+
SENSITIVE = []
|
3440
3577
|
include Aws::Structure
|
3441
3578
|
end
|
3442
3579
|
|
@@ -3475,6 +3612,7 @@ module Aws::Comprehend
|
|
3475
3612
|
:filter,
|
3476
3613
|
:next_token,
|
3477
3614
|
:max_results)
|
3615
|
+
SENSITIVE = []
|
3478
3616
|
include Aws::Structure
|
3479
3617
|
end
|
3480
3618
|
|
@@ -3491,6 +3629,7 @@ module Aws::Comprehend
|
|
3491
3629
|
class ListTopicsDetectionJobsResponse < Struct.new(
|
3492
3630
|
:topics_detection_job_properties_list,
|
3493
3631
|
:next_token)
|
3632
|
+
SENSITIVE = []
|
3494
3633
|
include Aws::Structure
|
3495
3634
|
end
|
3496
3635
|
|
@@ -3539,6 +3678,7 @@ module Aws::Comprehend
|
|
3539
3678
|
class OutputDataConfig < Struct.new(
|
3540
3679
|
:s3_uri,
|
3541
3680
|
:kms_key_id)
|
3681
|
+
SENSITIVE = []
|
3542
3682
|
include Aws::Structure
|
3543
3683
|
end
|
3544
3684
|
|
@@ -3561,11 +3701,12 @@ module Aws::Comprehend
|
|
3561
3701
|
class PartOfSpeechTag < Struct.new(
|
3562
3702
|
:tag,
|
3563
3703
|
:score)
|
3704
|
+
SENSITIVE = []
|
3564
3705
|
include Aws::Structure
|
3565
3706
|
end
|
3566
3707
|
|
3567
|
-
# The specified name is already in use. Use a different name
|
3568
|
-
# your request again.
|
3708
|
+
# The specified resource name is already in use. Use a different name
|
3709
|
+
# and try your request again.
|
3569
3710
|
#
|
3570
3711
|
# @!attribute [rw] message
|
3571
3712
|
# @return [String]
|
@@ -3574,12 +3715,12 @@ module Aws::Comprehend
|
|
3574
3715
|
#
|
3575
3716
|
class ResourceInUseException < Struct.new(
|
3576
3717
|
:message)
|
3718
|
+
SENSITIVE = []
|
3577
3719
|
include Aws::Structure
|
3578
3720
|
end
|
3579
3721
|
|
3580
|
-
# The maximum number of
|
3581
|
-
#
|
3582
|
-
# again.
|
3722
|
+
# The maximum number of resources per account has been exceeded. Review
|
3723
|
+
# the resources, and then try your request again.
|
3583
3724
|
#
|
3584
3725
|
# @!attribute [rw] message
|
3585
3726
|
# @return [String]
|
@@ -3588,6 +3729,7 @@ module Aws::Comprehend
|
|
3588
3729
|
#
|
3589
3730
|
class ResourceLimitExceededException < Struct.new(
|
3590
3731
|
:message)
|
3732
|
+
SENSITIVE = []
|
3591
3733
|
include Aws::Structure
|
3592
3734
|
end
|
3593
3735
|
|
@@ -3601,11 +3743,12 @@ module Aws::Comprehend
|
|
3601
3743
|
#
|
3602
3744
|
class ResourceNotFoundException < Struct.new(
|
3603
3745
|
:message)
|
3746
|
+
SENSITIVE = []
|
3604
3747
|
include Aws::Structure
|
3605
3748
|
end
|
3606
3749
|
|
3607
|
-
# The specified resource is not available. Check
|
3608
|
-
#
|
3750
|
+
# The specified resource is not available. Check the resource and try
|
3751
|
+
# your request again.
|
3609
3752
|
#
|
3610
3753
|
# @!attribute [rw] message
|
3611
3754
|
# @return [String]
|
@@ -3614,6 +3757,7 @@ module Aws::Comprehend
|
|
3614
3757
|
#
|
3615
3758
|
class ResourceUnavailableException < Struct.new(
|
3616
3759
|
:message)
|
3760
|
+
SENSITIVE = []
|
3617
3761
|
include Aws::Structure
|
3618
3762
|
end
|
3619
3763
|
|
@@ -3660,6 +3804,7 @@ module Aws::Comprehend
|
|
3660
3804
|
:job_status,
|
3661
3805
|
:submit_time_before,
|
3662
3806
|
:submit_time_after)
|
3807
|
+
SENSITIVE = []
|
3663
3808
|
include Aws::Structure
|
3664
3809
|
end
|
3665
3810
|
|
@@ -3747,6 +3892,7 @@ module Aws::Comprehend
|
|
3747
3892
|
:data_access_role_arn,
|
3748
3893
|
:volume_kms_key_id,
|
3749
3894
|
:vpc_config)
|
3895
|
+
SENSITIVE = []
|
3750
3896
|
include Aws::Structure
|
3751
3897
|
end
|
3752
3898
|
|
@@ -3780,6 +3926,7 @@ module Aws::Comprehend
|
|
3780
3926
|
:negative,
|
3781
3927
|
:neutral,
|
3782
3928
|
:mixed)
|
3929
|
+
SENSITIVE = []
|
3783
3930
|
include Aws::Structure
|
3784
3931
|
end
|
3785
3932
|
|
@@ -3870,6 +4017,7 @@ module Aws::Comprehend
|
|
3870
4017
|
:client_request_token,
|
3871
4018
|
:volume_kms_key_id,
|
3872
4019
|
:vpc_config)
|
4020
|
+
SENSITIVE = []
|
3873
4021
|
include Aws::Structure
|
3874
4022
|
end
|
3875
4023
|
|
@@ -3901,6 +4049,7 @@ module Aws::Comprehend
|
|
3901
4049
|
class StartDocumentClassificationJobResponse < Struct.new(
|
3902
4050
|
:job_id,
|
3903
4051
|
:job_status)
|
4052
|
+
SENSITIVE = []
|
3904
4053
|
include Aws::Structure
|
3905
4054
|
end
|
3906
4055
|
|
@@ -3989,6 +4138,7 @@ module Aws::Comprehend
|
|
3989
4138
|
:client_request_token,
|
3990
4139
|
:volume_kms_key_id,
|
3991
4140
|
:vpc_config)
|
4141
|
+
SENSITIVE = []
|
3992
4142
|
include Aws::Structure
|
3993
4143
|
end
|
3994
4144
|
|
@@ -4017,6 +4167,7 @@ module Aws::Comprehend
|
|
4017
4167
|
class StartDominantLanguageDetectionJobResponse < Struct.new(
|
4018
4168
|
:job_id,
|
4019
4169
|
:job_status)
|
4170
|
+
SENSITIVE = []
|
4020
4171
|
include Aws::Structure
|
4021
4172
|
end
|
4022
4173
|
|
@@ -4123,6 +4274,7 @@ module Aws::Comprehend
|
|
4123
4274
|
:client_request_token,
|
4124
4275
|
:volume_kms_key_id,
|
4125
4276
|
:vpc_config)
|
4277
|
+
SENSITIVE = []
|
4126
4278
|
include Aws::Structure
|
4127
4279
|
end
|
4128
4280
|
|
@@ -4156,6 +4308,7 @@ module Aws::Comprehend
|
|
4156
4308
|
class StartEntitiesDetectionJobResponse < Struct.new(
|
4157
4309
|
:job_id,
|
4158
4310
|
:job_status)
|
4311
|
+
SENSITIVE = []
|
4159
4312
|
include Aws::Structure
|
4160
4313
|
end
|
4161
4314
|
|
@@ -4252,6 +4405,7 @@ module Aws::Comprehend
|
|
4252
4405
|
:client_request_token,
|
4253
4406
|
:volume_kms_key_id,
|
4254
4407
|
:vpc_config)
|
4408
|
+
SENSITIVE = []
|
4255
4409
|
include Aws::Structure
|
4256
4410
|
end
|
4257
4411
|
|
@@ -4280,6 +4434,7 @@ module Aws::Comprehend
|
|
4280
4434
|
class StartKeyPhrasesDetectionJobResponse < Struct.new(
|
4281
4435
|
:job_id,
|
4282
4436
|
:job_status)
|
4437
|
+
SENSITIVE = []
|
4283
4438
|
include Aws::Structure
|
4284
4439
|
end
|
4285
4440
|
|
@@ -4376,6 +4531,7 @@ module Aws::Comprehend
|
|
4376
4531
|
:client_request_token,
|
4377
4532
|
:volume_kms_key_id,
|
4378
4533
|
:vpc_config)
|
4534
|
+
SENSITIVE = []
|
4379
4535
|
include Aws::Structure
|
4380
4536
|
end
|
4381
4537
|
|
@@ -4404,6 +4560,7 @@ module Aws::Comprehend
|
|
4404
4560
|
class StartSentimentDetectionJobResponse < Struct.new(
|
4405
4561
|
:job_id,
|
4406
4562
|
:job_status)
|
4563
|
+
SENSITIVE = []
|
4407
4564
|
include Aws::Structure
|
4408
4565
|
end
|
4409
4566
|
|
@@ -4501,6 +4658,7 @@ module Aws::Comprehend
|
|
4501
4658
|
:client_request_token,
|
4502
4659
|
:volume_kms_key_id,
|
4503
4660
|
:vpc_config)
|
4661
|
+
SENSITIVE = []
|
4504
4662
|
include Aws::Structure
|
4505
4663
|
end
|
4506
4664
|
|
@@ -4529,6 +4687,7 @@ module Aws::Comprehend
|
|
4529
4687
|
class StartTopicsDetectionJobResponse < Struct.new(
|
4530
4688
|
:job_id,
|
4531
4689
|
:job_status)
|
4690
|
+
SENSITIVE = []
|
4532
4691
|
include Aws::Structure
|
4533
4692
|
end
|
4534
4693
|
|
@@ -4547,6 +4706,7 @@ module Aws::Comprehend
|
|
4547
4706
|
#
|
4548
4707
|
class StopDominantLanguageDetectionJobRequest < Struct.new(
|
4549
4708
|
:job_id)
|
4709
|
+
SENSITIVE = []
|
4550
4710
|
include Aws::Structure
|
4551
4711
|
end
|
4552
4712
|
|
@@ -4565,6 +4725,7 @@ module Aws::Comprehend
|
|
4565
4725
|
class StopDominantLanguageDetectionJobResponse < Struct.new(
|
4566
4726
|
:job_id,
|
4567
4727
|
:job_status)
|
4728
|
+
SENSITIVE = []
|
4568
4729
|
include Aws::Structure
|
4569
4730
|
end
|
4570
4731
|
|
@@ -4583,6 +4744,7 @@ module Aws::Comprehend
|
|
4583
4744
|
#
|
4584
4745
|
class StopEntitiesDetectionJobRequest < Struct.new(
|
4585
4746
|
:job_id)
|
4747
|
+
SENSITIVE = []
|
4586
4748
|
include Aws::Structure
|
4587
4749
|
end
|
4588
4750
|
|
@@ -4601,6 +4763,7 @@ module Aws::Comprehend
|
|
4601
4763
|
class StopEntitiesDetectionJobResponse < Struct.new(
|
4602
4764
|
:job_id,
|
4603
4765
|
:job_status)
|
4766
|
+
SENSITIVE = []
|
4604
4767
|
include Aws::Structure
|
4605
4768
|
end
|
4606
4769
|
|
@@ -4619,6 +4782,7 @@ module Aws::Comprehend
|
|
4619
4782
|
#
|
4620
4783
|
class StopKeyPhrasesDetectionJobRequest < Struct.new(
|
4621
4784
|
:job_id)
|
4785
|
+
SENSITIVE = []
|
4622
4786
|
include Aws::Structure
|
4623
4787
|
end
|
4624
4788
|
|
@@ -4637,6 +4801,7 @@ module Aws::Comprehend
|
|
4637
4801
|
class StopKeyPhrasesDetectionJobResponse < Struct.new(
|
4638
4802
|
:job_id,
|
4639
4803
|
:job_status)
|
4804
|
+
SENSITIVE = []
|
4640
4805
|
include Aws::Structure
|
4641
4806
|
end
|
4642
4807
|
|
@@ -4655,6 +4820,7 @@ module Aws::Comprehend
|
|
4655
4820
|
#
|
4656
4821
|
class StopSentimentDetectionJobRequest < Struct.new(
|
4657
4822
|
:job_id)
|
4823
|
+
SENSITIVE = []
|
4658
4824
|
include Aws::Structure
|
4659
4825
|
end
|
4660
4826
|
|
@@ -4673,6 +4839,7 @@ module Aws::Comprehend
|
|
4673
4839
|
class StopSentimentDetectionJobResponse < Struct.new(
|
4674
4840
|
:job_id,
|
4675
4841
|
:job_status)
|
4842
|
+
SENSITIVE = []
|
4676
4843
|
include Aws::Structure
|
4677
4844
|
end
|
4678
4845
|
|
@@ -4692,6 +4859,7 @@ module Aws::Comprehend
|
|
4692
4859
|
#
|
4693
4860
|
class StopTrainingDocumentClassifierRequest < Struct.new(
|
4694
4861
|
:document_classifier_arn)
|
4862
|
+
SENSITIVE = []
|
4695
4863
|
include Aws::Structure
|
4696
4864
|
end
|
4697
4865
|
|
@@ -4715,6 +4883,7 @@ module Aws::Comprehend
|
|
4715
4883
|
#
|
4716
4884
|
class StopTrainingEntityRecognizerRequest < Struct.new(
|
4717
4885
|
:entity_recognizer_arn)
|
4886
|
+
SENSITIVE = []
|
4718
4887
|
include Aws::Structure
|
4719
4888
|
end
|
4720
4889
|
|
@@ -4758,6 +4927,7 @@ module Aws::Comprehend
|
|
4758
4927
|
:begin_offset,
|
4759
4928
|
:end_offset,
|
4760
4929
|
:part_of_speech)
|
4930
|
+
SENSITIVE = []
|
4761
4931
|
include Aws::Structure
|
4762
4932
|
end
|
4763
4933
|
|
@@ -4795,6 +4965,7 @@ module Aws::Comprehend
|
|
4795
4965
|
class Tag < Struct.new(
|
4796
4966
|
:key,
|
4797
4967
|
:value)
|
4968
|
+
SENSITIVE = []
|
4798
4969
|
include Aws::Structure
|
4799
4970
|
end
|
4800
4971
|
|
@@ -4827,6 +4998,7 @@ module Aws::Comprehend
|
|
4827
4998
|
class TagResourceRequest < Struct.new(
|
4828
4999
|
:resource_arn,
|
4829
5000
|
:tags)
|
5001
|
+
SENSITIVE = []
|
4830
5002
|
include Aws::Structure
|
4831
5003
|
end
|
4832
5004
|
|
@@ -4843,6 +5015,7 @@ module Aws::Comprehend
|
|
4843
5015
|
#
|
4844
5016
|
class TextSizeLimitExceededException < Struct.new(
|
4845
5017
|
:message)
|
5018
|
+
SENSITIVE = []
|
4846
5019
|
include Aws::Structure
|
4847
5020
|
end
|
4848
5021
|
|
@@ -4855,6 +5028,7 @@ module Aws::Comprehend
|
|
4855
5028
|
#
|
4856
5029
|
class TooManyRequestsException < Struct.new(
|
4857
5030
|
:message)
|
5031
|
+
SENSITIVE = []
|
4858
5032
|
include Aws::Structure
|
4859
5033
|
end
|
4860
5034
|
|
@@ -4868,6 +5042,7 @@ module Aws::Comprehend
|
|
4868
5042
|
#
|
4869
5043
|
class TooManyTagKeysException < Struct.new(
|
4870
5044
|
:message)
|
5045
|
+
SENSITIVE = []
|
4871
5046
|
include Aws::Structure
|
4872
5047
|
end
|
4873
5048
|
|
@@ -4882,6 +5057,7 @@ module Aws::Comprehend
|
|
4882
5057
|
#
|
4883
5058
|
class TooManyTagsException < Struct.new(
|
4884
5059
|
:message)
|
5060
|
+
SENSITIVE = []
|
4885
5061
|
include Aws::Structure
|
4886
5062
|
end
|
4887
5063
|
|
@@ -4927,6 +5103,7 @@ module Aws::Comprehend
|
|
4927
5103
|
:job_status,
|
4928
5104
|
:submit_time_before,
|
4929
5105
|
:submit_time_after)
|
5106
|
+
SENSITIVE = []
|
4930
5107
|
include Aws::Structure
|
4931
5108
|
end
|
4932
5109
|
|
@@ -5016,6 +5193,7 @@ module Aws::Comprehend
|
|
5016
5193
|
:data_access_role_arn,
|
5017
5194
|
:volume_kms_key_id,
|
5018
5195
|
:vpc_config)
|
5196
|
+
SENSITIVE = []
|
5019
5197
|
include Aws::Structure
|
5020
5198
|
end
|
5021
5199
|
|
@@ -5032,6 +5210,7 @@ module Aws::Comprehend
|
|
5032
5210
|
#
|
5033
5211
|
class UnsupportedLanguageException < Struct.new(
|
5034
5212
|
:message)
|
5213
|
+
SENSITIVE = []
|
5035
5214
|
include Aws::Structure
|
5036
5215
|
end
|
5037
5216
|
|
@@ -5061,6 +5240,7 @@ module Aws::Comprehend
|
|
5061
5240
|
class UntagResourceRequest < Struct.new(
|
5062
5241
|
:resource_arn,
|
5063
5242
|
:tag_keys)
|
5243
|
+
SENSITIVE = []
|
5064
5244
|
include Aws::Structure
|
5065
5245
|
end
|
5066
5246
|
|
@@ -5091,6 +5271,7 @@ module Aws::Comprehend
|
|
5091
5271
|
class UpdateEndpointRequest < Struct.new(
|
5092
5272
|
:endpoint_arn,
|
5093
5273
|
:desired_inference_units)
|
5274
|
+
SENSITIVE = []
|
5094
5275
|
include Aws::Structure
|
5095
5276
|
end
|
5096
5277
|
|
@@ -5146,6 +5327,7 @@ module Aws::Comprehend
|
|
5146
5327
|
class VpcConfig < Struct.new(
|
5147
5328
|
:security_group_ids,
|
5148
5329
|
:subnets)
|
5330
|
+
SENSITIVE = []
|
5149
5331
|
include Aws::Structure
|
5150
5332
|
end
|
5151
5333
|
|