aws-sdk-comprehend 1.32.0 → 1.37.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 +4 -2
- data/lib/aws-sdk-comprehend/client.rb +61 -25
- 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 +2 -0
- data/lib/aws-sdk-comprehend/types.rb +215 -30
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4fb3f7488cd480d7681c044f6040c13d0c88ba65b427f90c0a149c6efcd6103
|
4
|
+
data.tar.gz: 16771694de681d932a0a3f03385c32e01a093a80d1927d2fcfdb30c023ddba58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7daea9d2a96bb4df5b9ac44190a60d592ef37383af2693b2a7d6d35362acd2040e6fa8d2d1d804e066d1959e9a4e54997f74037a7f224b403c70fe599ce72859
|
7
|
+
data.tar.gz: 7c2677947ff9a6d0f2c64141e044b0ff85fc20c3151451933ee9a15ca65a298c334f78cd5a7c8367318c696542c821c4044cfc443a819d74445c006b8a80c893
|
data/lib/aws-sdk-comprehend.rb
CHANGED
@@ -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:
|
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-comprehend/customizations'
|
|
42
44
|
#
|
43
45
|
# See {Errors} for more information.
|
44
46
|
#
|
45
|
-
#
|
47
|
+
# @!group service
|
46
48
|
module Aws::Comprehend
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.37.0'
|
49
51
|
|
50
52
|
end
|
@@ -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:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::Comprehend
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -81,13 +85,28 @@ module Aws::Comprehend
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::Comprehend
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::Comprehend
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -340,7 +359,7 @@ module Aws::Comprehend
|
|
340
359
|
# @example Request syntax with placeholder values
|
341
360
|
#
|
342
361
|
# resp = client.batch_detect_dominant_language({
|
343
|
-
# text_list: ["
|
362
|
+
# text_list: ["CustomerInputString"], # required
|
344
363
|
# })
|
345
364
|
#
|
346
365
|
# @example Response structure
|
@@ -386,7 +405,7 @@ module Aws::Comprehend
|
|
386
405
|
# @example Request syntax with placeholder values
|
387
406
|
#
|
388
407
|
# resp = client.batch_detect_entities({
|
389
|
-
# text_list: ["
|
408
|
+
# text_list: ["CustomerInputString"], # required
|
390
409
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
391
410
|
# })
|
392
411
|
#
|
@@ -434,7 +453,7 @@ module Aws::Comprehend
|
|
434
453
|
# @example Request syntax with placeholder values
|
435
454
|
#
|
436
455
|
# resp = client.batch_detect_key_phrases({
|
437
|
-
# text_list: ["
|
456
|
+
# text_list: ["CustomerInputString"], # required
|
438
457
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
439
458
|
# })
|
440
459
|
#
|
@@ -483,7 +502,7 @@ module Aws::Comprehend
|
|
483
502
|
# @example Request syntax with placeholder values
|
484
503
|
#
|
485
504
|
# resp = client.batch_detect_sentiment({
|
486
|
-
# text_list: ["
|
505
|
+
# text_list: ["CustomerInputString"], # required
|
487
506
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
488
507
|
# })
|
489
508
|
#
|
@@ -533,7 +552,7 @@ module Aws::Comprehend
|
|
533
552
|
# @example Request syntax with placeholder values
|
534
553
|
#
|
535
554
|
# resp = client.batch_detect_syntax({
|
536
|
-
# text_list: ["
|
555
|
+
# text_list: ["CustomerInputString"], # required
|
537
556
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
538
557
|
# })
|
539
558
|
#
|
@@ -580,7 +599,7 @@ module Aws::Comprehend
|
|
580
599
|
# @example Request syntax with placeholder values
|
581
600
|
#
|
582
601
|
# resp = client.classify_document({
|
583
|
-
# text: "
|
602
|
+
# text: "CustomerInputString", # required
|
584
603
|
# endpoint_arn: "DocumentClassifierEndpointArn", # required
|
585
604
|
# })
|
586
605
|
#
|
@@ -603,7 +622,7 @@ module Aws::Comprehend
|
|
603
622
|
end
|
604
623
|
|
605
624
|
# Creates a new document classifier that you can use to categorize
|
606
|
-
# documents. To create a classifier you provide a set of training
|
625
|
+
# documents. To create a classifier, you provide a set of training
|
607
626
|
# documents that labeled with the categories that you want to use. After
|
608
627
|
# the classifier is trained you can use it to categorize a set of
|
609
628
|
# labeled documents into the categories. For more information, see
|
@@ -813,8 +832,10 @@ module Aws::Comprehend
|
|
813
832
|
# not need to pass this option.**
|
814
833
|
#
|
815
834
|
# @option params [required, String] :language_code
|
816
|
-
#
|
817
|
-
#
|
835
|
+
# You can specify any of the following languages supported by Amazon
|
836
|
+
# Comprehend: English ("en"), Spanish ("es"), French ("fr"),
|
837
|
+
# Italian ("it"), German ("de"), or Portuguese ("pt"). All
|
838
|
+
# documents must be in the same language.
|
818
839
|
#
|
819
840
|
# @option params [String] :volume_kms_key_id
|
820
841
|
# ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
|
@@ -1423,7 +1444,7 @@ module Aws::Comprehend
|
|
1423
1444
|
# @example Request syntax with placeholder values
|
1424
1445
|
#
|
1425
1446
|
# resp = client.detect_dominant_language({
|
1426
|
-
# text: "
|
1447
|
+
# text: "CustomerInputString", # required
|
1427
1448
|
# })
|
1428
1449
|
#
|
1429
1450
|
# @example Response structure
|
@@ -1448,11 +1469,25 @@ module Aws::Comprehend
|
|
1448
1469
|
# A UTF-8 text string. Each string must contain fewer that 5,000 bytes
|
1449
1470
|
# of UTF-8 encoded characters.
|
1450
1471
|
#
|
1451
|
-
# @option params [
|
1472
|
+
# @option params [String] :language_code
|
1452
1473
|
# The language of the input documents. You can specify any of the
|
1453
1474
|
# primary languages supported by Amazon Comprehend. All documents must
|
1454
1475
|
# be in the same language.
|
1455
1476
|
#
|
1477
|
+
# If your request includes the endpoint for a custom entity recognition
|
1478
|
+
# model, Amazon Comprehend uses the language of your custom model, and
|
1479
|
+
# it ignores any language code that you specify here.
|
1480
|
+
#
|
1481
|
+
# @option params [String] :endpoint_arn
|
1482
|
+
# The Amazon Resource Name of an endpoint that is associated with a
|
1483
|
+
# custom entity recognition model. Provide an endpoint if you want to
|
1484
|
+
# detect entities by using your own custom model instead of the default
|
1485
|
+
# model that is used by Amazon Comprehend.
|
1486
|
+
#
|
1487
|
+
# If you specify an endpoint, Amazon Comprehend uses the language of
|
1488
|
+
# your custom model, and it ignores any language code that you provide
|
1489
|
+
# in your request.
|
1490
|
+
#
|
1456
1491
|
# @return [Types::DetectEntitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1457
1492
|
#
|
1458
1493
|
# * {Types::DetectEntitiesResponse#entities #entities} => Array<Types::Entity>
|
@@ -1460,8 +1495,9 @@ module Aws::Comprehend
|
|
1460
1495
|
# @example Request syntax with placeholder values
|
1461
1496
|
#
|
1462
1497
|
# resp = client.detect_entities({
|
1463
|
-
# text: "
|
1464
|
-
# language_code: "en", #
|
1498
|
+
# text: "CustomerInputString", # required
|
1499
|
+
# language_code: "en", # accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
1500
|
+
# endpoint_arn: "EntityRecognizerEndpointArn",
|
1465
1501
|
# })
|
1466
1502
|
#
|
1467
1503
|
# @example Response structure
|
@@ -1500,7 +1536,7 @@ module Aws::Comprehend
|
|
1500
1536
|
# @example Request syntax with placeholder values
|
1501
1537
|
#
|
1502
1538
|
# resp = client.detect_key_phrases({
|
1503
|
-
# text: "
|
1539
|
+
# text: "CustomerInputString", # required
|
1504
1540
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
1505
1541
|
# })
|
1506
1542
|
#
|
@@ -1541,7 +1577,7 @@ module Aws::Comprehend
|
|
1541
1577
|
# @example Request syntax with placeholder values
|
1542
1578
|
#
|
1543
1579
|
# resp = client.detect_sentiment({
|
1544
|
-
# text: "
|
1580
|
+
# text: "CustomerInputString", # required
|
1545
1581
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
1546
1582
|
# })
|
1547
1583
|
#
|
@@ -1582,7 +1618,7 @@ module Aws::Comprehend
|
|
1582
1618
|
# @example Request syntax with placeholder values
|
1583
1619
|
#
|
1584
1620
|
# resp = client.detect_syntax({
|
1585
|
-
# text: "
|
1621
|
+
# text: "CustomerInputString", # required
|
1586
1622
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
1587
1623
|
# })
|
1588
1624
|
#
|
@@ -3154,7 +3190,7 @@ module Aws::Comprehend
|
|
3154
3190
|
params: params,
|
3155
3191
|
config: config)
|
3156
3192
|
context[:gem_name] = 'aws-sdk-comprehend'
|
3157
|
-
context[:gem_version] = '1.
|
3193
|
+
context[:gem_version] = '1.37.0'
|
3158
3194
|
Seahorse::Client::Request.new(handlers, context)
|
3159
3195
|
end
|
3160
3196
|
|
@@ -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:
|
@@ -47,6 +49,8 @@ module Aws::Comprehend
|
|
47
49
|
CreateEndpointResponse = Shapes::StructureShape.new(name: 'CreateEndpointResponse')
|
48
50
|
CreateEntityRecognizerRequest = Shapes::StructureShape.new(name: 'CreateEntityRecognizerRequest')
|
49
51
|
CreateEntityRecognizerResponse = Shapes::StructureShape.new(name: 'CreateEntityRecognizerResponse')
|
52
|
+
CustomerInputString = Shapes::StringShape.new(name: 'CustomerInputString')
|
53
|
+
CustomerInputStringList = Shapes::ListShape.new(name: 'CustomerInputStringList')
|
50
54
|
DeleteDocumentClassifierRequest = Shapes::StructureShape.new(name: 'DeleteDocumentClassifierRequest')
|
51
55
|
DeleteDocumentClassifierResponse = Shapes::StructureShape.new(name: 'DeleteDocumentClassifierResponse')
|
52
56
|
DeleteEndpointRequest = Shapes::StructureShape.new(name: 'DeleteEndpointRequest')
|
@@ -110,6 +114,7 @@ module Aws::Comprehend
|
|
110
114
|
EntityRecognizerAnnotations = Shapes::StructureShape.new(name: 'EntityRecognizerAnnotations')
|
111
115
|
EntityRecognizerArn = Shapes::StringShape.new(name: 'EntityRecognizerArn')
|
112
116
|
EntityRecognizerDocuments = Shapes::StructureShape.new(name: 'EntityRecognizerDocuments')
|
117
|
+
EntityRecognizerEndpointArn = Shapes::StringShape.new(name: 'EntityRecognizerEndpointArn')
|
113
118
|
EntityRecognizerEntityList = Shapes::StructureShape.new(name: 'EntityRecognizerEntityList')
|
114
119
|
EntityRecognizerEvaluationMetrics = Shapes::StructureShape.new(name: 'EntityRecognizerEvaluationMetrics')
|
115
120
|
EntityRecognizerFilter = Shapes::StructureShape.new(name: 'EntityRecognizerFilter')
|
@@ -219,7 +224,6 @@ module Aws::Comprehend
|
|
219
224
|
StopTrainingEntityRecognizerRequest = Shapes::StructureShape.new(name: 'StopTrainingEntityRecognizerRequest')
|
220
225
|
StopTrainingEntityRecognizerResponse = Shapes::StructureShape.new(name: 'StopTrainingEntityRecognizerResponse')
|
221
226
|
String = Shapes::StringShape.new(name: 'String')
|
222
|
-
StringList = Shapes::ListShape.new(name: 'StringList')
|
223
227
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
224
228
|
Subnets = Shapes::ListShape.new(name: 'Subnets')
|
225
229
|
SyntaxLanguageCode = Shapes::StringShape.new(name: 'SyntaxLanguageCode')
|
@@ -250,7 +254,7 @@ module Aws::Comprehend
|
|
250
254
|
BatchDetectDominantLanguageItemResult.add_member(:languages, Shapes::ShapeRef.new(shape: ListOfDominantLanguages, location_name: "Languages"))
|
251
255
|
BatchDetectDominantLanguageItemResult.struct_class = Types::BatchDetectDominantLanguageItemResult
|
252
256
|
|
253
|
-
BatchDetectDominantLanguageRequest.add_member(:text_list, Shapes::ShapeRef.new(shape:
|
257
|
+
BatchDetectDominantLanguageRequest.add_member(:text_list, Shapes::ShapeRef.new(shape: CustomerInputStringList, required: true, location_name: "TextList"))
|
254
258
|
BatchDetectDominantLanguageRequest.struct_class = Types::BatchDetectDominantLanguageRequest
|
255
259
|
|
256
260
|
BatchDetectDominantLanguageResponse.add_member(:result_list, Shapes::ShapeRef.new(shape: ListOfDetectDominantLanguageResult, required: true, location_name: "ResultList"))
|
@@ -261,7 +265,7 @@ module Aws::Comprehend
|
|
261
265
|
BatchDetectEntitiesItemResult.add_member(:entities, Shapes::ShapeRef.new(shape: ListOfEntities, location_name: "Entities"))
|
262
266
|
BatchDetectEntitiesItemResult.struct_class = Types::BatchDetectEntitiesItemResult
|
263
267
|
|
264
|
-
BatchDetectEntitiesRequest.add_member(:text_list, Shapes::ShapeRef.new(shape:
|
268
|
+
BatchDetectEntitiesRequest.add_member(:text_list, Shapes::ShapeRef.new(shape: CustomerInputStringList, required: true, location_name: "TextList"))
|
265
269
|
BatchDetectEntitiesRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
266
270
|
BatchDetectEntitiesRequest.struct_class = Types::BatchDetectEntitiesRequest
|
267
271
|
|
@@ -273,7 +277,7 @@ module Aws::Comprehend
|
|
273
277
|
BatchDetectKeyPhrasesItemResult.add_member(:key_phrases, Shapes::ShapeRef.new(shape: ListOfKeyPhrases, location_name: "KeyPhrases"))
|
274
278
|
BatchDetectKeyPhrasesItemResult.struct_class = Types::BatchDetectKeyPhrasesItemResult
|
275
279
|
|
276
|
-
BatchDetectKeyPhrasesRequest.add_member(:text_list, Shapes::ShapeRef.new(shape:
|
280
|
+
BatchDetectKeyPhrasesRequest.add_member(:text_list, Shapes::ShapeRef.new(shape: CustomerInputStringList, required: true, location_name: "TextList"))
|
277
281
|
BatchDetectKeyPhrasesRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
278
282
|
BatchDetectKeyPhrasesRequest.struct_class = Types::BatchDetectKeyPhrasesRequest
|
279
283
|
|
@@ -286,7 +290,7 @@ module Aws::Comprehend
|
|
286
290
|
BatchDetectSentimentItemResult.add_member(:sentiment_score, Shapes::ShapeRef.new(shape: SentimentScore, location_name: "SentimentScore"))
|
287
291
|
BatchDetectSentimentItemResult.struct_class = Types::BatchDetectSentimentItemResult
|
288
292
|
|
289
|
-
BatchDetectSentimentRequest.add_member(:text_list, Shapes::ShapeRef.new(shape:
|
293
|
+
BatchDetectSentimentRequest.add_member(:text_list, Shapes::ShapeRef.new(shape: CustomerInputStringList, required: true, location_name: "TextList"))
|
290
294
|
BatchDetectSentimentRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
291
295
|
BatchDetectSentimentRequest.struct_class = Types::BatchDetectSentimentRequest
|
292
296
|
|
@@ -298,7 +302,7 @@ module Aws::Comprehend
|
|
298
302
|
BatchDetectSyntaxItemResult.add_member(:syntax_tokens, Shapes::ShapeRef.new(shape: ListOfSyntaxTokens, location_name: "SyntaxTokens"))
|
299
303
|
BatchDetectSyntaxItemResult.struct_class = Types::BatchDetectSyntaxItemResult
|
300
304
|
|
301
|
-
BatchDetectSyntaxRequest.add_member(:text_list, Shapes::ShapeRef.new(shape:
|
305
|
+
BatchDetectSyntaxRequest.add_member(:text_list, Shapes::ShapeRef.new(shape: CustomerInputStringList, required: true, location_name: "TextList"))
|
302
306
|
BatchDetectSyntaxRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: SyntaxLanguageCode, required: true, location_name: "LanguageCode"))
|
303
307
|
BatchDetectSyntaxRequest.struct_class = Types::BatchDetectSyntaxRequest
|
304
308
|
|
@@ -332,7 +336,7 @@ module Aws::Comprehend
|
|
332
336
|
ClassifierMetadata.add_member(:evaluation_metrics, Shapes::ShapeRef.new(shape: ClassifierEvaluationMetrics, location_name: "EvaluationMetrics"))
|
333
337
|
ClassifierMetadata.struct_class = Types::ClassifierMetadata
|
334
338
|
|
335
|
-
ClassifyDocumentRequest.add_member(:text, Shapes::ShapeRef.new(shape:
|
339
|
+
ClassifyDocumentRequest.add_member(:text, Shapes::ShapeRef.new(shape: CustomerInputString, required: true, location_name: "Text"))
|
336
340
|
ClassifyDocumentRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: DocumentClassifierEndpointArn, required: true, location_name: "EndpointArn"))
|
337
341
|
ClassifyDocumentRequest.struct_class = Types::ClassifyDocumentRequest
|
338
342
|
|
@@ -381,6 +385,8 @@ module Aws::Comprehend
|
|
381
385
|
CreateEntityRecognizerResponse.add_member(:entity_recognizer_arn, Shapes::ShapeRef.new(shape: EntityRecognizerArn, location_name: "EntityRecognizerArn"))
|
382
386
|
CreateEntityRecognizerResponse.struct_class = Types::CreateEntityRecognizerResponse
|
383
387
|
|
388
|
+
CustomerInputStringList.member = Shapes::ShapeRef.new(shape: CustomerInputString)
|
389
|
+
|
384
390
|
DeleteDocumentClassifierRequest.add_member(:document_classifier_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, required: true, location_name: "DocumentClassifierArn"))
|
385
391
|
DeleteDocumentClassifierRequest.struct_class = Types::DeleteDocumentClassifierRequest
|
386
392
|
|
@@ -450,27 +456,28 @@ module Aws::Comprehend
|
|
450
456
|
DescribeTopicsDetectionJobResponse.add_member(:topics_detection_job_properties, Shapes::ShapeRef.new(shape: TopicsDetectionJobProperties, location_name: "TopicsDetectionJobProperties"))
|
451
457
|
DescribeTopicsDetectionJobResponse.struct_class = Types::DescribeTopicsDetectionJobResponse
|
452
458
|
|
453
|
-
DetectDominantLanguageRequest.add_member(:text, Shapes::ShapeRef.new(shape:
|
459
|
+
DetectDominantLanguageRequest.add_member(:text, Shapes::ShapeRef.new(shape: CustomerInputString, required: true, location_name: "Text"))
|
454
460
|
DetectDominantLanguageRequest.struct_class = Types::DetectDominantLanguageRequest
|
455
461
|
|
456
462
|
DetectDominantLanguageResponse.add_member(:languages, Shapes::ShapeRef.new(shape: ListOfDominantLanguages, location_name: "Languages"))
|
457
463
|
DetectDominantLanguageResponse.struct_class = Types::DetectDominantLanguageResponse
|
458
464
|
|
459
|
-
DetectEntitiesRequest.add_member(:text, Shapes::ShapeRef.new(shape:
|
460
|
-
DetectEntitiesRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode,
|
465
|
+
DetectEntitiesRequest.add_member(:text, Shapes::ShapeRef.new(shape: CustomerInputString, required: true, location_name: "Text"))
|
466
|
+
DetectEntitiesRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
467
|
+
DetectEntitiesRequest.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: EntityRecognizerEndpointArn, location_name: "EndpointArn"))
|
461
468
|
DetectEntitiesRequest.struct_class = Types::DetectEntitiesRequest
|
462
469
|
|
463
470
|
DetectEntitiesResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ListOfEntities, location_name: "Entities"))
|
464
471
|
DetectEntitiesResponse.struct_class = Types::DetectEntitiesResponse
|
465
472
|
|
466
|
-
DetectKeyPhrasesRequest.add_member(:text, Shapes::ShapeRef.new(shape:
|
473
|
+
DetectKeyPhrasesRequest.add_member(:text, Shapes::ShapeRef.new(shape: CustomerInputString, required: true, location_name: "Text"))
|
467
474
|
DetectKeyPhrasesRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
468
475
|
DetectKeyPhrasesRequest.struct_class = Types::DetectKeyPhrasesRequest
|
469
476
|
|
470
477
|
DetectKeyPhrasesResponse.add_member(:key_phrases, Shapes::ShapeRef.new(shape: ListOfKeyPhrases, location_name: "KeyPhrases"))
|
471
478
|
DetectKeyPhrasesResponse.struct_class = Types::DetectKeyPhrasesResponse
|
472
479
|
|
473
|
-
DetectSentimentRequest.add_member(:text, Shapes::ShapeRef.new(shape:
|
480
|
+
DetectSentimentRequest.add_member(:text, Shapes::ShapeRef.new(shape: CustomerInputString, required: true, location_name: "Text"))
|
474
481
|
DetectSentimentRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
475
482
|
DetectSentimentRequest.struct_class = Types::DetectSentimentRequest
|
476
483
|
|
@@ -478,7 +485,7 @@ module Aws::Comprehend
|
|
478
485
|
DetectSentimentResponse.add_member(:sentiment_score, Shapes::ShapeRef.new(shape: SentimentScore, location_name: "SentimentScore"))
|
479
486
|
DetectSentimentResponse.struct_class = Types::DetectSentimentResponse
|
480
487
|
|
481
|
-
DetectSyntaxRequest.add_member(:text, Shapes::ShapeRef.new(shape:
|
488
|
+
DetectSyntaxRequest.add_member(:text, Shapes::ShapeRef.new(shape: CustomerInputString, required: true, location_name: "Text"))
|
482
489
|
DetectSyntaxRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: SyntaxLanguageCode, required: true, location_name: "LanguageCode"))
|
483
490
|
DetectSyntaxRequest.struct_class = Types::DetectSyntaxRequest
|
484
491
|
|
@@ -1014,8 +1021,6 @@ module Aws::Comprehend
|
|
1014
1021
|
|
1015
1022
|
StopTrainingEntityRecognizerResponse.struct_class = Types::StopTrainingEntityRecognizerResponse
|
1016
1023
|
|
1017
|
-
StringList.member = Shapes::ShapeRef.new(shape: String)
|
1018
|
-
|
1019
1024
|
Subnets.member = Shapes::ShapeRef.new(shape: SubnetId)
|
1020
1025
|
|
1021
1026
|
SyntaxToken.add_member(:token_id, Shapes::ShapeRef.new(shape: Integer, location_name: "TokenId"))
|
@@ -1402,6 +1407,7 @@ module Aws::Comprehend
|
|
1402
1407
|
o.input = Shapes::ShapeRef.new(shape: DetectEntitiesRequest)
|
1403
1408
|
o.output = Shapes::ShapeRef.new(shape: DetectEntitiesResponse)
|
1404
1409
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1410
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
1405
1411
|
o.errors << Shapes::ShapeRef.new(shape: TextSizeLimitExceededException)
|
1406
1412
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedLanguageException)
|
1407
1413
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -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
|
|
@@ -842,8 +870,10 @@ module Aws::Comprehend
|
|
842
870
|
# @return [String]
|
843
871
|
#
|
844
872
|
# @!attribute [rw] language_code
|
845
|
-
#
|
846
|
-
#
|
873
|
+
# You can specify any of the following languages supported by Amazon
|
874
|
+
# Comprehend: English ("en"), Spanish ("es"), French ("fr"),
|
875
|
+
# Italian ("it"), German ("de"), or Portuguese ("pt"). All
|
876
|
+
# documents must be in the same language.
|
847
877
|
# @return [String]
|
848
878
|
#
|
849
879
|
# @!attribute [rw] volume_kms_key_id
|
@@ -879,6 +909,7 @@ module Aws::Comprehend
|
|
879
909
|
:language_code,
|
880
910
|
:volume_kms_key_id,
|
881
911
|
:vpc_config)
|
912
|
+
SENSITIVE = []
|
882
913
|
include Aws::Structure
|
883
914
|
end
|
884
915
|
|
@@ -891,6 +922,7 @@ module Aws::Comprehend
|
|
891
922
|
#
|
892
923
|
class CreateEntityRecognizerResponse < Struct.new(
|
893
924
|
:entity_recognizer_arn)
|
925
|
+
SENSITIVE = []
|
894
926
|
include Aws::Structure
|
895
927
|
end
|
896
928
|
|
@@ -910,6 +942,7 @@ module Aws::Comprehend
|
|
910
942
|
#
|
911
943
|
class DeleteDocumentClassifierRequest < Struct.new(
|
912
944
|
:document_classifier_arn)
|
945
|
+
SENSITIVE = []
|
913
946
|
include Aws::Structure
|
914
947
|
end
|
915
948
|
|
@@ -932,6 +965,7 @@ module Aws::Comprehend
|
|
932
965
|
#
|
933
966
|
class DeleteEndpointRequest < Struct.new(
|
934
967
|
:endpoint_arn)
|
968
|
+
SENSITIVE = []
|
935
969
|
include Aws::Structure
|
936
970
|
end
|
937
971
|
|
@@ -955,6 +989,7 @@ module Aws::Comprehend
|
|
955
989
|
#
|
956
990
|
class DeleteEntityRecognizerRequest < Struct.new(
|
957
991
|
:entity_recognizer_arn)
|
992
|
+
SENSITIVE = []
|
958
993
|
include Aws::Structure
|
959
994
|
end
|
960
995
|
|
@@ -978,6 +1013,7 @@ module Aws::Comprehend
|
|
978
1013
|
#
|
979
1014
|
class DescribeDocumentClassificationJobRequest < Struct.new(
|
980
1015
|
:job_id)
|
1016
|
+
SENSITIVE = []
|
981
1017
|
include Aws::Structure
|
982
1018
|
end
|
983
1019
|
|
@@ -990,6 +1026,7 @@ module Aws::Comprehend
|
|
990
1026
|
#
|
991
1027
|
class DescribeDocumentClassificationJobResponse < Struct.new(
|
992
1028
|
:document_classification_job_properties)
|
1029
|
+
SENSITIVE = []
|
993
1030
|
include Aws::Structure
|
994
1031
|
end
|
995
1032
|
|
@@ -1009,6 +1046,7 @@ module Aws::Comprehend
|
|
1009
1046
|
#
|
1010
1047
|
class DescribeDocumentClassifierRequest < Struct.new(
|
1011
1048
|
:document_classifier_arn)
|
1049
|
+
SENSITIVE = []
|
1012
1050
|
include Aws::Structure
|
1013
1051
|
end
|
1014
1052
|
|
@@ -1021,6 +1059,7 @@ module Aws::Comprehend
|
|
1021
1059
|
#
|
1022
1060
|
class DescribeDocumentClassifierResponse < Struct.new(
|
1023
1061
|
:document_classifier_properties)
|
1062
|
+
SENSITIVE = []
|
1024
1063
|
include Aws::Structure
|
1025
1064
|
end
|
1026
1065
|
|
@@ -1040,6 +1079,7 @@ module Aws::Comprehend
|
|
1040
1079
|
#
|
1041
1080
|
class DescribeDominantLanguageDetectionJobRequest < Struct.new(
|
1042
1081
|
:job_id)
|
1082
|
+
SENSITIVE = []
|
1043
1083
|
include Aws::Structure
|
1044
1084
|
end
|
1045
1085
|
|
@@ -1052,6 +1092,7 @@ module Aws::Comprehend
|
|
1052
1092
|
#
|
1053
1093
|
class DescribeDominantLanguageDetectionJobResponse < Struct.new(
|
1054
1094
|
:dominant_language_detection_job_properties)
|
1095
|
+
SENSITIVE = []
|
1055
1096
|
include Aws::Structure
|
1056
1097
|
end
|
1057
1098
|
|
@@ -1070,6 +1111,7 @@ module Aws::Comprehend
|
|
1070
1111
|
#
|
1071
1112
|
class DescribeEndpointRequest < Struct.new(
|
1072
1113
|
:endpoint_arn)
|
1114
|
+
SENSITIVE = []
|
1073
1115
|
include Aws::Structure
|
1074
1116
|
end
|
1075
1117
|
|
@@ -1081,6 +1123,7 @@ module Aws::Comprehend
|
|
1081
1123
|
#
|
1082
1124
|
class DescribeEndpointResponse < Struct.new(
|
1083
1125
|
:endpoint_properties)
|
1126
|
+
SENSITIVE = []
|
1084
1127
|
include Aws::Structure
|
1085
1128
|
end
|
1086
1129
|
|
@@ -1100,6 +1143,7 @@ module Aws::Comprehend
|
|
1100
1143
|
#
|
1101
1144
|
class DescribeEntitiesDetectionJobRequest < Struct.new(
|
1102
1145
|
:job_id)
|
1146
|
+
SENSITIVE = []
|
1103
1147
|
include Aws::Structure
|
1104
1148
|
end
|
1105
1149
|
|
@@ -1112,6 +1156,7 @@ module Aws::Comprehend
|
|
1112
1156
|
#
|
1113
1157
|
class DescribeEntitiesDetectionJobResponse < Struct.new(
|
1114
1158
|
:entities_detection_job_properties)
|
1159
|
+
SENSITIVE = []
|
1115
1160
|
include Aws::Structure
|
1116
1161
|
end
|
1117
1162
|
|
@@ -1131,6 +1176,7 @@ module Aws::Comprehend
|
|
1131
1176
|
#
|
1132
1177
|
class DescribeEntityRecognizerRequest < Struct.new(
|
1133
1178
|
:entity_recognizer_arn)
|
1179
|
+
SENSITIVE = []
|
1134
1180
|
include Aws::Structure
|
1135
1181
|
end
|
1136
1182
|
|
@@ -1142,6 +1188,7 @@ module Aws::Comprehend
|
|
1142
1188
|
#
|
1143
1189
|
class DescribeEntityRecognizerResponse < Struct.new(
|
1144
1190
|
:entity_recognizer_properties)
|
1191
|
+
SENSITIVE = []
|
1145
1192
|
include Aws::Structure
|
1146
1193
|
end
|
1147
1194
|
|
@@ -1161,6 +1208,7 @@ module Aws::Comprehend
|
|
1161
1208
|
#
|
1162
1209
|
class DescribeKeyPhrasesDetectionJobRequest < Struct.new(
|
1163
1210
|
:job_id)
|
1211
|
+
SENSITIVE = []
|
1164
1212
|
include Aws::Structure
|
1165
1213
|
end
|
1166
1214
|
|
@@ -1173,6 +1221,7 @@ module Aws::Comprehend
|
|
1173
1221
|
#
|
1174
1222
|
class DescribeKeyPhrasesDetectionJobResponse < Struct.new(
|
1175
1223
|
:key_phrases_detection_job_properties)
|
1224
|
+
SENSITIVE = []
|
1176
1225
|
include Aws::Structure
|
1177
1226
|
end
|
1178
1227
|
|
@@ -1192,6 +1241,7 @@ module Aws::Comprehend
|
|
1192
1241
|
#
|
1193
1242
|
class DescribeSentimentDetectionJobRequest < Struct.new(
|
1194
1243
|
:job_id)
|
1244
|
+
SENSITIVE = []
|
1195
1245
|
include Aws::Structure
|
1196
1246
|
end
|
1197
1247
|
|
@@ -1204,6 +1254,7 @@ module Aws::Comprehend
|
|
1204
1254
|
#
|
1205
1255
|
class DescribeSentimentDetectionJobResponse < Struct.new(
|
1206
1256
|
:sentiment_detection_job_properties)
|
1257
|
+
SENSITIVE = []
|
1207
1258
|
include Aws::Structure
|
1208
1259
|
end
|
1209
1260
|
|
@@ -1222,6 +1273,7 @@ module Aws::Comprehend
|
|
1222
1273
|
#
|
1223
1274
|
class DescribeTopicsDetectionJobRequest < Struct.new(
|
1224
1275
|
:job_id)
|
1276
|
+
SENSITIVE = []
|
1225
1277
|
include Aws::Structure
|
1226
1278
|
end
|
1227
1279
|
|
@@ -1233,6 +1285,7 @@ module Aws::Comprehend
|
|
1233
1285
|
#
|
1234
1286
|
class DescribeTopicsDetectionJobResponse < Struct.new(
|
1235
1287
|
:topics_detection_job_properties)
|
1288
|
+
SENSITIVE = []
|
1236
1289
|
include Aws::Structure
|
1237
1290
|
end
|
1238
1291
|
|
@@ -1240,7 +1293,7 @@ module Aws::Comprehend
|
|
1240
1293
|
# data as a hash:
|
1241
1294
|
#
|
1242
1295
|
# {
|
1243
|
-
# text: "
|
1296
|
+
# text: "CustomerInputString", # required
|
1244
1297
|
# }
|
1245
1298
|
#
|
1246
1299
|
# @!attribute [rw] text
|
@@ -1253,6 +1306,7 @@ module Aws::Comprehend
|
|
1253
1306
|
#
|
1254
1307
|
class DetectDominantLanguageRequest < Struct.new(
|
1255
1308
|
:text)
|
1309
|
+
SENSITIVE = [:text]
|
1256
1310
|
include Aws::Structure
|
1257
1311
|
end
|
1258
1312
|
|
@@ -1272,6 +1326,7 @@ module Aws::Comprehend
|
|
1272
1326
|
#
|
1273
1327
|
class DetectDominantLanguageResponse < Struct.new(
|
1274
1328
|
:languages)
|
1329
|
+
SENSITIVE = []
|
1275
1330
|
include Aws::Structure
|
1276
1331
|
end
|
1277
1332
|
|
@@ -1279,8 +1334,9 @@ module Aws::Comprehend
|
|
1279
1334
|
# data as a hash:
|
1280
1335
|
#
|
1281
1336
|
# {
|
1282
|
-
# text: "
|
1283
|
-
# language_code: "en", #
|
1337
|
+
# text: "CustomerInputString", # required
|
1338
|
+
# language_code: "en", # accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
1339
|
+
# endpoint_arn: "EntityRecognizerEndpointArn",
|
1284
1340
|
# }
|
1285
1341
|
#
|
1286
1342
|
# @!attribute [rw] text
|
@@ -1292,13 +1348,31 @@ module Aws::Comprehend
|
|
1292
1348
|
# The language of the input documents. You can specify any of the
|
1293
1349
|
# primary languages supported by Amazon Comprehend. All documents must
|
1294
1350
|
# be in the same language.
|
1351
|
+
#
|
1352
|
+
# If your request includes the endpoint for a custom entity
|
1353
|
+
# recognition model, Amazon Comprehend uses the language of your
|
1354
|
+
# custom model, and it ignores any language code that you specify
|
1355
|
+
# here.
|
1356
|
+
# @return [String]
|
1357
|
+
#
|
1358
|
+
# @!attribute [rw] endpoint_arn
|
1359
|
+
# The Amazon Resource Name of an endpoint that is associated with a
|
1360
|
+
# custom entity recognition model. Provide an endpoint if you want to
|
1361
|
+
# detect entities by using your own custom model instead of the
|
1362
|
+
# default model that is used by Amazon Comprehend.
|
1363
|
+
#
|
1364
|
+
# If you specify an endpoint, Amazon Comprehend uses the language of
|
1365
|
+
# your custom model, and it ignores any language code that you provide
|
1366
|
+
# in your request.
|
1295
1367
|
# @return [String]
|
1296
1368
|
#
|
1297
1369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectEntitiesRequest AWS API Documentation
|
1298
1370
|
#
|
1299
1371
|
class DetectEntitiesRequest < Struct.new(
|
1300
1372
|
:text,
|
1301
|
-
:language_code
|
1373
|
+
:language_code,
|
1374
|
+
:endpoint_arn)
|
1375
|
+
SENSITIVE = [:text]
|
1302
1376
|
include Aws::Structure
|
1303
1377
|
end
|
1304
1378
|
|
@@ -1306,14 +1380,19 @@ module Aws::Comprehend
|
|
1306
1380
|
# A collection of entities identified in the input text. For each
|
1307
1381
|
# entity, the response provides the entity text, entity type, where
|
1308
1382
|
# the entity text begins and ends, and the level of confidence that
|
1309
|
-
# Amazon Comprehend has in the detection.
|
1310
|
-
#
|
1383
|
+
# Amazon Comprehend has in the detection.
|
1384
|
+
#
|
1385
|
+
# If your request uses a custom entity recognition model, Amazon
|
1386
|
+
# Comprehend detects the entities that the model is trained to
|
1387
|
+
# recognize. Otherwise, it detects the default entity types. For a
|
1388
|
+
# list of default entity types, see how-entities.
|
1311
1389
|
# @return [Array<Types::Entity>]
|
1312
1390
|
#
|
1313
1391
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectEntitiesResponse AWS API Documentation
|
1314
1392
|
#
|
1315
1393
|
class DetectEntitiesResponse < Struct.new(
|
1316
1394
|
:entities)
|
1395
|
+
SENSITIVE = []
|
1317
1396
|
include Aws::Structure
|
1318
1397
|
end
|
1319
1398
|
|
@@ -1321,7 +1400,7 @@ module Aws::Comprehend
|
|
1321
1400
|
# data as a hash:
|
1322
1401
|
#
|
1323
1402
|
# {
|
1324
|
-
# text: "
|
1403
|
+
# text: "CustomerInputString", # required
|
1325
1404
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
1326
1405
|
# }
|
1327
1406
|
#
|
@@ -1341,6 +1420,7 @@ module Aws::Comprehend
|
|
1341
1420
|
class DetectKeyPhrasesRequest < Struct.new(
|
1342
1421
|
:text,
|
1343
1422
|
:language_code)
|
1423
|
+
SENSITIVE = [:text]
|
1344
1424
|
include Aws::Structure
|
1345
1425
|
end
|
1346
1426
|
|
@@ -1356,6 +1436,7 @@ module Aws::Comprehend
|
|
1356
1436
|
#
|
1357
1437
|
class DetectKeyPhrasesResponse < Struct.new(
|
1358
1438
|
:key_phrases)
|
1439
|
+
SENSITIVE = []
|
1359
1440
|
include Aws::Structure
|
1360
1441
|
end
|
1361
1442
|
|
@@ -1363,7 +1444,7 @@ module Aws::Comprehend
|
|
1363
1444
|
# data as a hash:
|
1364
1445
|
#
|
1365
1446
|
# {
|
1366
|
-
# text: "
|
1447
|
+
# text: "CustomerInputString", # required
|
1367
1448
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
1368
1449
|
# }
|
1369
1450
|
#
|
@@ -1383,6 +1464,7 @@ module Aws::Comprehend
|
|
1383
1464
|
class DetectSentimentRequest < Struct.new(
|
1384
1465
|
:text,
|
1385
1466
|
:language_code)
|
1467
|
+
SENSITIVE = [:text]
|
1386
1468
|
include Aws::Structure
|
1387
1469
|
end
|
1388
1470
|
|
@@ -1401,6 +1483,7 @@ module Aws::Comprehend
|
|
1401
1483
|
class DetectSentimentResponse < Struct.new(
|
1402
1484
|
:sentiment,
|
1403
1485
|
:sentiment_score)
|
1486
|
+
SENSITIVE = []
|
1404
1487
|
include Aws::Structure
|
1405
1488
|
end
|
1406
1489
|
|
@@ -1408,7 +1491,7 @@ module Aws::Comprehend
|
|
1408
1491
|
# data as a hash:
|
1409
1492
|
#
|
1410
1493
|
# {
|
1411
|
-
# text: "
|
1494
|
+
# text: "CustomerInputString", # required
|
1412
1495
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
1413
1496
|
# }
|
1414
1497
|
#
|
@@ -1429,6 +1512,7 @@ module Aws::Comprehend
|
|
1429
1512
|
class DetectSyntaxRequest < Struct.new(
|
1430
1513
|
:text,
|
1431
1514
|
:language_code)
|
1515
|
+
SENSITIVE = [:text]
|
1432
1516
|
include Aws::Structure
|
1433
1517
|
end
|
1434
1518
|
|
@@ -1444,6 +1528,7 @@ module Aws::Comprehend
|
|
1444
1528
|
#
|
1445
1529
|
class DetectSyntaxResponse < Struct.new(
|
1446
1530
|
:syntax_tokens)
|
1531
|
+
SENSITIVE = []
|
1447
1532
|
include Aws::Structure
|
1448
1533
|
end
|
1449
1534
|
|
@@ -1463,6 +1548,7 @@ module Aws::Comprehend
|
|
1463
1548
|
class DocumentClass < Struct.new(
|
1464
1549
|
:name,
|
1465
1550
|
:score)
|
1551
|
+
SENSITIVE = []
|
1466
1552
|
include Aws::Structure
|
1467
1553
|
end
|
1468
1554
|
|
@@ -1491,14 +1577,14 @@ module Aws::Comprehend
|
|
1491
1577
|
#
|
1492
1578
|
# @!attribute [rw] submit_time_before
|
1493
1579
|
# Filters the list of jobs based on the time that the job was
|
1494
|
-
# submitted for processing. Returns only jobs submitted
|
1580
|
+
# submitted for processing. Returns only jobs submitted before the
|
1495
1581
|
# specified time. Jobs are returned in ascending order, oldest to
|
1496
1582
|
# newest.
|
1497
1583
|
# @return [Time]
|
1498
1584
|
#
|
1499
1585
|
# @!attribute [rw] submit_time_after
|
1500
1586
|
# Filters the list of jobs based on the time that the job was
|
1501
|
-
# submitted for processing. Returns only jobs submitted
|
1587
|
+
# submitted for processing. Returns only jobs submitted after the
|
1502
1588
|
# specified time. Jobs are returned in descending order, newest to
|
1503
1589
|
# oldest.
|
1504
1590
|
# @return [Time]
|
@@ -1510,6 +1596,7 @@ module Aws::Comprehend
|
|
1510
1596
|
:job_status,
|
1511
1597
|
:submit_time_before,
|
1512
1598
|
:submit_time_after)
|
1599
|
+
SENSITIVE = []
|
1513
1600
|
include Aws::Structure
|
1514
1601
|
end
|
1515
1602
|
|
@@ -1599,6 +1686,7 @@ module Aws::Comprehend
|
|
1599
1686
|
:data_access_role_arn,
|
1600
1687
|
:volume_kms_key_id,
|
1601
1688
|
:vpc_config)
|
1689
|
+
SENSITIVE = []
|
1602
1690
|
include Aws::Structure
|
1603
1691
|
end
|
1604
1692
|
|
@@ -1639,6 +1727,7 @@ module Aws::Comprehend
|
|
1639
1727
|
:status,
|
1640
1728
|
:submit_time_before,
|
1641
1729
|
:submit_time_after)
|
1730
|
+
SENSITIVE = []
|
1642
1731
|
include Aws::Structure
|
1643
1732
|
end
|
1644
1733
|
|
@@ -1682,6 +1771,7 @@ module Aws::Comprehend
|
|
1682
1771
|
class DocumentClassifierInputDataConfig < Struct.new(
|
1683
1772
|
:s3_uri,
|
1684
1773
|
:label_delimiter)
|
1774
|
+
SENSITIVE = []
|
1685
1775
|
include Aws::Structure
|
1686
1776
|
end
|
1687
1777
|
|
@@ -1730,6 +1820,7 @@ module Aws::Comprehend
|
|
1730
1820
|
class DocumentClassifierOutputDataConfig < Struct.new(
|
1731
1821
|
:s3_uri,
|
1732
1822
|
:kms_key_id)
|
1823
|
+
SENSITIVE = []
|
1733
1824
|
include Aws::Structure
|
1734
1825
|
end
|
1735
1826
|
|
@@ -1846,6 +1937,7 @@ module Aws::Comprehend
|
|
1846
1937
|
:volume_kms_key_id,
|
1847
1938
|
:vpc_config,
|
1848
1939
|
:mode)
|
1940
|
+
SENSITIVE = [:classifier_metadata]
|
1849
1941
|
include Aws::Structure
|
1850
1942
|
end
|
1851
1943
|
|
@@ -1866,6 +1958,7 @@ module Aws::Comprehend
|
|
1866
1958
|
class DocumentLabel < Struct.new(
|
1867
1959
|
:name,
|
1868
1960
|
:score)
|
1961
|
+
SENSITIVE = []
|
1869
1962
|
include Aws::Structure
|
1870
1963
|
end
|
1871
1964
|
|
@@ -1893,6 +1986,7 @@ module Aws::Comprehend
|
|
1893
1986
|
class DominantLanguage < Struct.new(
|
1894
1987
|
:language_code,
|
1895
1988
|
:score)
|
1989
|
+
SENSITIVE = []
|
1896
1990
|
include Aws::Structure
|
1897
1991
|
end
|
1898
1992
|
|
@@ -1939,6 +2033,7 @@ module Aws::Comprehend
|
|
1939
2033
|
:job_status,
|
1940
2034
|
:submit_time_before,
|
1941
2035
|
:submit_time_after)
|
2036
|
+
SENSITIVE = []
|
1942
2037
|
include Aws::Structure
|
1943
2038
|
end
|
1944
2039
|
|
@@ -2022,6 +2117,7 @@ module Aws::Comprehend
|
|
2022
2117
|
:data_access_role_arn,
|
2023
2118
|
:volume_kms_key_id,
|
2024
2119
|
:vpc_config)
|
2120
|
+
SENSITIVE = []
|
2025
2121
|
include Aws::Structure
|
2026
2122
|
end
|
2027
2123
|
|
@@ -2066,6 +2162,7 @@ module Aws::Comprehend
|
|
2066
2162
|
:status,
|
2067
2163
|
:creation_time_before,
|
2068
2164
|
:creation_time_after)
|
2165
|
+
SENSITIVE = []
|
2069
2166
|
include Aws::Structure
|
2070
2167
|
end
|
2071
2168
|
|
@@ -2120,6 +2217,7 @@ module Aws::Comprehend
|
|
2120
2217
|
:current_inference_units,
|
2121
2218
|
:creation_time,
|
2122
2219
|
:last_modified_time)
|
2220
|
+
SENSITIVE = []
|
2123
2221
|
include Aws::Structure
|
2124
2222
|
end
|
2125
2223
|
|
@@ -2166,6 +2264,7 @@ module Aws::Comprehend
|
|
2166
2264
|
:job_status,
|
2167
2265
|
:submit_time_before,
|
2168
2266
|
:submit_time_after)
|
2267
|
+
SENSITIVE = []
|
2169
2268
|
include Aws::Structure
|
2170
2269
|
end
|
2171
2270
|
|
@@ -2259,6 +2358,7 @@ module Aws::Comprehend
|
|
2259
2358
|
:data_access_role_arn,
|
2260
2359
|
:volume_kms_key_id,
|
2261
2360
|
:vpc_config)
|
2361
|
+
SENSITIVE = []
|
2262
2362
|
include Aws::Structure
|
2263
2363
|
end
|
2264
2364
|
|
@@ -2302,6 +2402,7 @@ module Aws::Comprehend
|
|
2302
2402
|
:text,
|
2303
2403
|
:begin_offset,
|
2304
2404
|
:end_offset)
|
2405
|
+
SENSITIVE = []
|
2305
2406
|
include Aws::Structure
|
2306
2407
|
end
|
2307
2408
|
|
@@ -2324,6 +2425,7 @@ module Aws::Comprehend
|
|
2324
2425
|
#
|
2325
2426
|
class EntityRecognizerAnnotations < Struct.new(
|
2326
2427
|
:s3_uri)
|
2428
|
+
SENSITIVE = []
|
2327
2429
|
include Aws::Structure
|
2328
2430
|
end
|
2329
2431
|
|
@@ -2346,6 +2448,7 @@ module Aws::Comprehend
|
|
2346
2448
|
#
|
2347
2449
|
class EntityRecognizerDocuments < Struct.new(
|
2348
2450
|
:s3_uri)
|
2451
|
+
SENSITIVE = []
|
2349
2452
|
include Aws::Structure
|
2350
2453
|
end
|
2351
2454
|
|
@@ -2368,6 +2471,7 @@ module Aws::Comprehend
|
|
2368
2471
|
#
|
2369
2472
|
class EntityRecognizerEntityList < Struct.new(
|
2370
2473
|
:s3_uri)
|
2474
|
+
SENSITIVE = []
|
2371
2475
|
include Aws::Structure
|
2372
2476
|
end
|
2373
2477
|
|
@@ -2398,6 +2502,7 @@ module Aws::Comprehend
|
|
2398
2502
|
:precision,
|
2399
2503
|
:recall,
|
2400
2504
|
:f1_score)
|
2505
|
+
SENSITIVE = []
|
2401
2506
|
include Aws::Structure
|
2402
2507
|
end
|
2403
2508
|
|
@@ -2438,6 +2543,7 @@ module Aws::Comprehend
|
|
2438
2543
|
:status,
|
2439
2544
|
:submit_time_before,
|
2440
2545
|
:submit_time_after)
|
2546
|
+
SENSITIVE = []
|
2441
2547
|
include Aws::Structure
|
2442
2548
|
end
|
2443
2549
|
|
@@ -2465,7 +2571,7 @@ module Aws::Comprehend
|
|
2465
2571
|
#
|
2466
2572
|
# @!attribute [rw] entity_types
|
2467
2573
|
# The entity types in the input data for an entity recognizer. A
|
2468
|
-
# maximum of
|
2574
|
+
# maximum of 25 entity types can be used at one time to train an
|
2469
2575
|
# entity recognizer.
|
2470
2576
|
# @return [Array<Types::EntityTypesListItem>]
|
2471
2577
|
#
|
@@ -2488,6 +2594,7 @@ module Aws::Comprehend
|
|
2488
2594
|
:documents,
|
2489
2595
|
:annotations,
|
2490
2596
|
:entity_list)
|
2597
|
+
SENSITIVE = []
|
2491
2598
|
include Aws::Structure
|
2492
2599
|
end
|
2493
2600
|
|
@@ -2520,6 +2627,7 @@ module Aws::Comprehend
|
|
2520
2627
|
:number_of_test_documents,
|
2521
2628
|
:evaluation_metrics,
|
2522
2629
|
:entity_types)
|
2630
|
+
SENSITIVE = []
|
2523
2631
|
include Aws::Structure
|
2524
2632
|
end
|
2525
2633
|
|
@@ -2547,6 +2655,7 @@ module Aws::Comprehend
|
|
2547
2655
|
:type,
|
2548
2656
|
:evaluation_metrics,
|
2549
2657
|
:number_of_train_mentions)
|
2658
|
+
SENSITIVE = []
|
2550
2659
|
include Aws::Structure
|
2551
2660
|
end
|
2552
2661
|
|
@@ -2638,6 +2747,7 @@ module Aws::Comprehend
|
|
2638
2747
|
:data_access_role_arn,
|
2639
2748
|
:volume_kms_key_id,
|
2640
2749
|
:vpc_config)
|
2750
|
+
SENSITIVE = [:recognizer_metadata]
|
2641
2751
|
include Aws::Structure
|
2642
2752
|
end
|
2643
2753
|
|
@@ -2671,6 +2781,7 @@ module Aws::Comprehend
|
|
2671
2781
|
:precision,
|
2672
2782
|
:recall,
|
2673
2783
|
:f1_score)
|
2784
|
+
SENSITIVE = []
|
2674
2785
|
include Aws::Structure
|
2675
2786
|
end
|
2676
2787
|
|
@@ -2691,6 +2802,7 @@ module Aws::Comprehend
|
|
2691
2802
|
#
|
2692
2803
|
class EntityTypesListItem < Struct.new(
|
2693
2804
|
:type)
|
2805
|
+
SENSITIVE = []
|
2694
2806
|
include Aws::Structure
|
2695
2807
|
end
|
2696
2808
|
|
@@ -2733,6 +2845,7 @@ module Aws::Comprehend
|
|
2733
2845
|
class InputDataConfig < Struct.new(
|
2734
2846
|
:s3_uri,
|
2735
2847
|
:input_format)
|
2848
|
+
SENSITIVE = []
|
2736
2849
|
include Aws::Structure
|
2737
2850
|
end
|
2738
2851
|
|
@@ -2745,6 +2858,7 @@ module Aws::Comprehend
|
|
2745
2858
|
#
|
2746
2859
|
class InternalServerException < Struct.new(
|
2747
2860
|
:message)
|
2861
|
+
SENSITIVE = []
|
2748
2862
|
include Aws::Structure
|
2749
2863
|
end
|
2750
2864
|
|
@@ -2758,6 +2872,7 @@ module Aws::Comprehend
|
|
2758
2872
|
#
|
2759
2873
|
class InvalidFilterException < Struct.new(
|
2760
2874
|
:message)
|
2875
|
+
SENSITIVE = []
|
2761
2876
|
include Aws::Structure
|
2762
2877
|
end
|
2763
2878
|
|
@@ -2770,6 +2885,7 @@ module Aws::Comprehend
|
|
2770
2885
|
#
|
2771
2886
|
class InvalidRequestException < Struct.new(
|
2772
2887
|
:message)
|
2888
|
+
SENSITIVE = []
|
2773
2889
|
include Aws::Structure
|
2774
2890
|
end
|
2775
2891
|
|
@@ -2782,6 +2898,7 @@ module Aws::Comprehend
|
|
2782
2898
|
#
|
2783
2899
|
class JobNotFoundException < Struct.new(
|
2784
2900
|
:message)
|
2901
|
+
SENSITIVE = []
|
2785
2902
|
include Aws::Structure
|
2786
2903
|
end
|
2787
2904
|
|
@@ -2820,6 +2937,7 @@ module Aws::Comprehend
|
|
2820
2937
|
:text,
|
2821
2938
|
:begin_offset,
|
2822
2939
|
:end_offset)
|
2940
|
+
SENSITIVE = []
|
2823
2941
|
include Aws::Structure
|
2824
2942
|
end
|
2825
2943
|
|
@@ -2866,6 +2984,7 @@ module Aws::Comprehend
|
|
2866
2984
|
:job_status,
|
2867
2985
|
:submit_time_before,
|
2868
2986
|
:submit_time_after)
|
2987
|
+
SENSITIVE = []
|
2869
2988
|
include Aws::Structure
|
2870
2989
|
end
|
2871
2990
|
|
@@ -2953,6 +3072,7 @@ module Aws::Comprehend
|
|
2953
3072
|
:data_access_role_arn,
|
2954
3073
|
:volume_kms_key_id,
|
2955
3074
|
:vpc_config)
|
3075
|
+
SENSITIVE = []
|
2956
3076
|
include Aws::Structure
|
2957
3077
|
end
|
2958
3078
|
|
@@ -2966,6 +3086,7 @@ module Aws::Comprehend
|
|
2966
3086
|
#
|
2967
3087
|
class KmsKeyValidationException < Struct.new(
|
2968
3088
|
:message)
|
3089
|
+
SENSITIVE = []
|
2969
3090
|
include Aws::Structure
|
2970
3091
|
end
|
2971
3092
|
|
@@ -3004,6 +3125,7 @@ module Aws::Comprehend
|
|
3004
3125
|
:filter,
|
3005
3126
|
:next_token,
|
3006
3127
|
:max_results)
|
3128
|
+
SENSITIVE = []
|
3007
3129
|
include Aws::Structure
|
3008
3130
|
end
|
3009
3131
|
|
@@ -3020,6 +3142,7 @@ module Aws::Comprehend
|
|
3020
3142
|
class ListDocumentClassificationJobsResponse < Struct.new(
|
3021
3143
|
:document_classification_job_properties_list,
|
3022
3144
|
:next_token)
|
3145
|
+
SENSITIVE = []
|
3023
3146
|
include Aws::Structure
|
3024
3147
|
end
|
3025
3148
|
|
@@ -3057,6 +3180,7 @@ module Aws::Comprehend
|
|
3057
3180
|
:filter,
|
3058
3181
|
:next_token,
|
3059
3182
|
:max_results)
|
3183
|
+
SENSITIVE = []
|
3060
3184
|
include Aws::Structure
|
3061
3185
|
end
|
3062
3186
|
|
@@ -3073,6 +3197,7 @@ module Aws::Comprehend
|
|
3073
3197
|
class ListDocumentClassifiersResponse < Struct.new(
|
3074
3198
|
:document_classifier_properties_list,
|
3075
3199
|
:next_token)
|
3200
|
+
SENSITIVE = []
|
3076
3201
|
include Aws::Structure
|
3077
3202
|
end
|
3078
3203
|
|
@@ -3111,6 +3236,7 @@ module Aws::Comprehend
|
|
3111
3236
|
:filter,
|
3112
3237
|
:next_token,
|
3113
3238
|
:max_results)
|
3239
|
+
SENSITIVE = []
|
3114
3240
|
include Aws::Structure
|
3115
3241
|
end
|
3116
3242
|
|
@@ -3127,6 +3253,7 @@ module Aws::Comprehend
|
|
3127
3253
|
class ListDominantLanguageDetectionJobsResponse < Struct.new(
|
3128
3254
|
:dominant_language_detection_job_properties_list,
|
3129
3255
|
:next_token)
|
3256
|
+
SENSITIVE = []
|
3130
3257
|
include Aws::Structure
|
3131
3258
|
end
|
3132
3259
|
|
@@ -3165,6 +3292,7 @@ module Aws::Comprehend
|
|
3165
3292
|
:filter,
|
3166
3293
|
:next_token,
|
3167
3294
|
:max_results)
|
3295
|
+
SENSITIVE = []
|
3168
3296
|
include Aws::Structure
|
3169
3297
|
end
|
3170
3298
|
|
@@ -3182,6 +3310,7 @@ module Aws::Comprehend
|
|
3182
3310
|
class ListEndpointsResponse < Struct.new(
|
3183
3311
|
:endpoint_properties_list,
|
3184
3312
|
:next_token)
|
3313
|
+
SENSITIVE = []
|
3185
3314
|
include Aws::Structure
|
3186
3315
|
end
|
3187
3316
|
|
@@ -3220,6 +3349,7 @@ module Aws::Comprehend
|
|
3220
3349
|
:filter,
|
3221
3350
|
:next_token,
|
3222
3351
|
:max_results)
|
3352
|
+
SENSITIVE = []
|
3223
3353
|
include Aws::Structure
|
3224
3354
|
end
|
3225
3355
|
|
@@ -3236,6 +3366,7 @@ module Aws::Comprehend
|
|
3236
3366
|
class ListEntitiesDetectionJobsResponse < Struct.new(
|
3237
3367
|
:entities_detection_job_properties_list,
|
3238
3368
|
:next_token)
|
3369
|
+
SENSITIVE = []
|
3239
3370
|
include Aws::Structure
|
3240
3371
|
end
|
3241
3372
|
|
@@ -3273,6 +3404,7 @@ module Aws::Comprehend
|
|
3273
3404
|
:filter,
|
3274
3405
|
:next_token,
|
3275
3406
|
:max_results)
|
3407
|
+
SENSITIVE = []
|
3276
3408
|
include Aws::Structure
|
3277
3409
|
end
|
3278
3410
|
|
@@ -3289,6 +3421,7 @@ module Aws::Comprehend
|
|
3289
3421
|
class ListEntityRecognizersResponse < Struct.new(
|
3290
3422
|
:entity_recognizer_properties_list,
|
3291
3423
|
:next_token)
|
3424
|
+
SENSITIVE = []
|
3292
3425
|
include Aws::Structure
|
3293
3426
|
end
|
3294
3427
|
|
@@ -3327,6 +3460,7 @@ module Aws::Comprehend
|
|
3327
3460
|
:filter,
|
3328
3461
|
:next_token,
|
3329
3462
|
:max_results)
|
3463
|
+
SENSITIVE = []
|
3330
3464
|
include Aws::Structure
|
3331
3465
|
end
|
3332
3466
|
|
@@ -3343,6 +3477,7 @@ module Aws::Comprehend
|
|
3343
3477
|
class ListKeyPhrasesDetectionJobsResponse < Struct.new(
|
3344
3478
|
:key_phrases_detection_job_properties_list,
|
3345
3479
|
:next_token)
|
3480
|
+
SENSITIVE = []
|
3346
3481
|
include Aws::Structure
|
3347
3482
|
end
|
3348
3483
|
|
@@ -3381,6 +3516,7 @@ module Aws::Comprehend
|
|
3381
3516
|
:filter,
|
3382
3517
|
:next_token,
|
3383
3518
|
:max_results)
|
3519
|
+
SENSITIVE = []
|
3384
3520
|
include Aws::Structure
|
3385
3521
|
end
|
3386
3522
|
|
@@ -3397,6 +3533,7 @@ module Aws::Comprehend
|
|
3397
3533
|
class ListSentimentDetectionJobsResponse < Struct.new(
|
3398
3534
|
:sentiment_detection_job_properties_list,
|
3399
3535
|
:next_token)
|
3536
|
+
SENSITIVE = []
|
3400
3537
|
include Aws::Structure
|
3401
3538
|
end
|
3402
3539
|
|
@@ -3416,6 +3553,7 @@ module Aws::Comprehend
|
|
3416
3553
|
#
|
3417
3554
|
class ListTagsForResourceRequest < Struct.new(
|
3418
3555
|
:resource_arn)
|
3556
|
+
SENSITIVE = []
|
3419
3557
|
include Aws::Structure
|
3420
3558
|
end
|
3421
3559
|
|
@@ -3437,6 +3575,7 @@ module Aws::Comprehend
|
|
3437
3575
|
class ListTagsForResourceResponse < Struct.new(
|
3438
3576
|
:resource_arn,
|
3439
3577
|
:tags)
|
3578
|
+
SENSITIVE = []
|
3440
3579
|
include Aws::Structure
|
3441
3580
|
end
|
3442
3581
|
|
@@ -3475,6 +3614,7 @@ module Aws::Comprehend
|
|
3475
3614
|
:filter,
|
3476
3615
|
:next_token,
|
3477
3616
|
:max_results)
|
3617
|
+
SENSITIVE = []
|
3478
3618
|
include Aws::Structure
|
3479
3619
|
end
|
3480
3620
|
|
@@ -3491,6 +3631,7 @@ module Aws::Comprehend
|
|
3491
3631
|
class ListTopicsDetectionJobsResponse < Struct.new(
|
3492
3632
|
:topics_detection_job_properties_list,
|
3493
3633
|
:next_token)
|
3634
|
+
SENSITIVE = []
|
3494
3635
|
include Aws::Structure
|
3495
3636
|
end
|
3496
3637
|
|
@@ -3539,6 +3680,7 @@ module Aws::Comprehend
|
|
3539
3680
|
class OutputDataConfig < Struct.new(
|
3540
3681
|
:s3_uri,
|
3541
3682
|
:kms_key_id)
|
3683
|
+
SENSITIVE = []
|
3542
3684
|
include Aws::Structure
|
3543
3685
|
end
|
3544
3686
|
|
@@ -3561,11 +3703,12 @@ module Aws::Comprehend
|
|
3561
3703
|
class PartOfSpeechTag < Struct.new(
|
3562
3704
|
:tag,
|
3563
3705
|
:score)
|
3706
|
+
SENSITIVE = []
|
3564
3707
|
include Aws::Structure
|
3565
3708
|
end
|
3566
3709
|
|
3567
|
-
# The specified name is already in use. Use a different name
|
3568
|
-
# your request again.
|
3710
|
+
# The specified resource name is already in use. Use a different name
|
3711
|
+
# and try your request again.
|
3569
3712
|
#
|
3570
3713
|
# @!attribute [rw] message
|
3571
3714
|
# @return [String]
|
@@ -3574,12 +3717,12 @@ module Aws::Comprehend
|
|
3574
3717
|
#
|
3575
3718
|
class ResourceInUseException < Struct.new(
|
3576
3719
|
:message)
|
3720
|
+
SENSITIVE = []
|
3577
3721
|
include Aws::Structure
|
3578
3722
|
end
|
3579
3723
|
|
3580
|
-
# The maximum number of
|
3581
|
-
#
|
3582
|
-
# again.
|
3724
|
+
# The maximum number of resources per account has been exceeded. Review
|
3725
|
+
# the resources, and then try your request again.
|
3583
3726
|
#
|
3584
3727
|
# @!attribute [rw] message
|
3585
3728
|
# @return [String]
|
@@ -3588,6 +3731,7 @@ module Aws::Comprehend
|
|
3588
3731
|
#
|
3589
3732
|
class ResourceLimitExceededException < Struct.new(
|
3590
3733
|
:message)
|
3734
|
+
SENSITIVE = []
|
3591
3735
|
include Aws::Structure
|
3592
3736
|
end
|
3593
3737
|
|
@@ -3601,11 +3745,12 @@ module Aws::Comprehend
|
|
3601
3745
|
#
|
3602
3746
|
class ResourceNotFoundException < Struct.new(
|
3603
3747
|
:message)
|
3748
|
+
SENSITIVE = []
|
3604
3749
|
include Aws::Structure
|
3605
3750
|
end
|
3606
3751
|
|
3607
|
-
# The specified resource is not available. Check
|
3608
|
-
#
|
3752
|
+
# The specified resource is not available. Check the resource and try
|
3753
|
+
# your request again.
|
3609
3754
|
#
|
3610
3755
|
# @!attribute [rw] message
|
3611
3756
|
# @return [String]
|
@@ -3614,6 +3759,7 @@ module Aws::Comprehend
|
|
3614
3759
|
#
|
3615
3760
|
class ResourceUnavailableException < Struct.new(
|
3616
3761
|
:message)
|
3762
|
+
SENSITIVE = []
|
3617
3763
|
include Aws::Structure
|
3618
3764
|
end
|
3619
3765
|
|
@@ -3660,6 +3806,7 @@ module Aws::Comprehend
|
|
3660
3806
|
:job_status,
|
3661
3807
|
:submit_time_before,
|
3662
3808
|
:submit_time_after)
|
3809
|
+
SENSITIVE = []
|
3663
3810
|
include Aws::Structure
|
3664
3811
|
end
|
3665
3812
|
|
@@ -3747,6 +3894,7 @@ module Aws::Comprehend
|
|
3747
3894
|
:data_access_role_arn,
|
3748
3895
|
:volume_kms_key_id,
|
3749
3896
|
:vpc_config)
|
3897
|
+
SENSITIVE = []
|
3750
3898
|
include Aws::Structure
|
3751
3899
|
end
|
3752
3900
|
|
@@ -3780,6 +3928,7 @@ module Aws::Comprehend
|
|
3780
3928
|
:negative,
|
3781
3929
|
:neutral,
|
3782
3930
|
:mixed)
|
3931
|
+
SENSITIVE = []
|
3783
3932
|
include Aws::Structure
|
3784
3933
|
end
|
3785
3934
|
|
@@ -3870,6 +4019,7 @@ module Aws::Comprehend
|
|
3870
4019
|
:client_request_token,
|
3871
4020
|
:volume_kms_key_id,
|
3872
4021
|
:vpc_config)
|
4022
|
+
SENSITIVE = []
|
3873
4023
|
include Aws::Structure
|
3874
4024
|
end
|
3875
4025
|
|
@@ -3901,6 +4051,7 @@ module Aws::Comprehend
|
|
3901
4051
|
class StartDocumentClassificationJobResponse < Struct.new(
|
3902
4052
|
:job_id,
|
3903
4053
|
:job_status)
|
4054
|
+
SENSITIVE = []
|
3904
4055
|
include Aws::Structure
|
3905
4056
|
end
|
3906
4057
|
|
@@ -3989,6 +4140,7 @@ module Aws::Comprehend
|
|
3989
4140
|
:client_request_token,
|
3990
4141
|
:volume_kms_key_id,
|
3991
4142
|
:vpc_config)
|
4143
|
+
SENSITIVE = []
|
3992
4144
|
include Aws::Structure
|
3993
4145
|
end
|
3994
4146
|
|
@@ -4017,6 +4169,7 @@ module Aws::Comprehend
|
|
4017
4169
|
class StartDominantLanguageDetectionJobResponse < Struct.new(
|
4018
4170
|
:job_id,
|
4019
4171
|
:job_status)
|
4172
|
+
SENSITIVE = []
|
4020
4173
|
include Aws::Structure
|
4021
4174
|
end
|
4022
4175
|
|
@@ -4123,6 +4276,7 @@ module Aws::Comprehend
|
|
4123
4276
|
:client_request_token,
|
4124
4277
|
:volume_kms_key_id,
|
4125
4278
|
:vpc_config)
|
4279
|
+
SENSITIVE = []
|
4126
4280
|
include Aws::Structure
|
4127
4281
|
end
|
4128
4282
|
|
@@ -4156,6 +4310,7 @@ module Aws::Comprehend
|
|
4156
4310
|
class StartEntitiesDetectionJobResponse < Struct.new(
|
4157
4311
|
:job_id,
|
4158
4312
|
:job_status)
|
4313
|
+
SENSITIVE = []
|
4159
4314
|
include Aws::Structure
|
4160
4315
|
end
|
4161
4316
|
|
@@ -4252,6 +4407,7 @@ module Aws::Comprehend
|
|
4252
4407
|
:client_request_token,
|
4253
4408
|
:volume_kms_key_id,
|
4254
4409
|
:vpc_config)
|
4410
|
+
SENSITIVE = []
|
4255
4411
|
include Aws::Structure
|
4256
4412
|
end
|
4257
4413
|
|
@@ -4280,6 +4436,7 @@ module Aws::Comprehend
|
|
4280
4436
|
class StartKeyPhrasesDetectionJobResponse < Struct.new(
|
4281
4437
|
:job_id,
|
4282
4438
|
:job_status)
|
4439
|
+
SENSITIVE = []
|
4283
4440
|
include Aws::Structure
|
4284
4441
|
end
|
4285
4442
|
|
@@ -4376,6 +4533,7 @@ module Aws::Comprehend
|
|
4376
4533
|
:client_request_token,
|
4377
4534
|
:volume_kms_key_id,
|
4378
4535
|
:vpc_config)
|
4536
|
+
SENSITIVE = []
|
4379
4537
|
include Aws::Structure
|
4380
4538
|
end
|
4381
4539
|
|
@@ -4404,6 +4562,7 @@ module Aws::Comprehend
|
|
4404
4562
|
class StartSentimentDetectionJobResponse < Struct.new(
|
4405
4563
|
:job_id,
|
4406
4564
|
:job_status)
|
4565
|
+
SENSITIVE = []
|
4407
4566
|
include Aws::Structure
|
4408
4567
|
end
|
4409
4568
|
|
@@ -4501,6 +4660,7 @@ module Aws::Comprehend
|
|
4501
4660
|
:client_request_token,
|
4502
4661
|
:volume_kms_key_id,
|
4503
4662
|
:vpc_config)
|
4663
|
+
SENSITIVE = []
|
4504
4664
|
include Aws::Structure
|
4505
4665
|
end
|
4506
4666
|
|
@@ -4529,6 +4689,7 @@ module Aws::Comprehend
|
|
4529
4689
|
class StartTopicsDetectionJobResponse < Struct.new(
|
4530
4690
|
:job_id,
|
4531
4691
|
:job_status)
|
4692
|
+
SENSITIVE = []
|
4532
4693
|
include Aws::Structure
|
4533
4694
|
end
|
4534
4695
|
|
@@ -4547,6 +4708,7 @@ module Aws::Comprehend
|
|
4547
4708
|
#
|
4548
4709
|
class StopDominantLanguageDetectionJobRequest < Struct.new(
|
4549
4710
|
:job_id)
|
4711
|
+
SENSITIVE = []
|
4550
4712
|
include Aws::Structure
|
4551
4713
|
end
|
4552
4714
|
|
@@ -4565,6 +4727,7 @@ module Aws::Comprehend
|
|
4565
4727
|
class StopDominantLanguageDetectionJobResponse < Struct.new(
|
4566
4728
|
:job_id,
|
4567
4729
|
:job_status)
|
4730
|
+
SENSITIVE = []
|
4568
4731
|
include Aws::Structure
|
4569
4732
|
end
|
4570
4733
|
|
@@ -4583,6 +4746,7 @@ module Aws::Comprehend
|
|
4583
4746
|
#
|
4584
4747
|
class StopEntitiesDetectionJobRequest < Struct.new(
|
4585
4748
|
:job_id)
|
4749
|
+
SENSITIVE = []
|
4586
4750
|
include Aws::Structure
|
4587
4751
|
end
|
4588
4752
|
|
@@ -4601,6 +4765,7 @@ module Aws::Comprehend
|
|
4601
4765
|
class StopEntitiesDetectionJobResponse < Struct.new(
|
4602
4766
|
:job_id,
|
4603
4767
|
:job_status)
|
4768
|
+
SENSITIVE = []
|
4604
4769
|
include Aws::Structure
|
4605
4770
|
end
|
4606
4771
|
|
@@ -4619,6 +4784,7 @@ module Aws::Comprehend
|
|
4619
4784
|
#
|
4620
4785
|
class StopKeyPhrasesDetectionJobRequest < Struct.new(
|
4621
4786
|
:job_id)
|
4787
|
+
SENSITIVE = []
|
4622
4788
|
include Aws::Structure
|
4623
4789
|
end
|
4624
4790
|
|
@@ -4637,6 +4803,7 @@ module Aws::Comprehend
|
|
4637
4803
|
class StopKeyPhrasesDetectionJobResponse < Struct.new(
|
4638
4804
|
:job_id,
|
4639
4805
|
:job_status)
|
4806
|
+
SENSITIVE = []
|
4640
4807
|
include Aws::Structure
|
4641
4808
|
end
|
4642
4809
|
|
@@ -4655,6 +4822,7 @@ module Aws::Comprehend
|
|
4655
4822
|
#
|
4656
4823
|
class StopSentimentDetectionJobRequest < Struct.new(
|
4657
4824
|
:job_id)
|
4825
|
+
SENSITIVE = []
|
4658
4826
|
include Aws::Structure
|
4659
4827
|
end
|
4660
4828
|
|
@@ -4673,6 +4841,7 @@ module Aws::Comprehend
|
|
4673
4841
|
class StopSentimentDetectionJobResponse < Struct.new(
|
4674
4842
|
:job_id,
|
4675
4843
|
:job_status)
|
4844
|
+
SENSITIVE = []
|
4676
4845
|
include Aws::Structure
|
4677
4846
|
end
|
4678
4847
|
|
@@ -4692,6 +4861,7 @@ module Aws::Comprehend
|
|
4692
4861
|
#
|
4693
4862
|
class StopTrainingDocumentClassifierRequest < Struct.new(
|
4694
4863
|
:document_classifier_arn)
|
4864
|
+
SENSITIVE = []
|
4695
4865
|
include Aws::Structure
|
4696
4866
|
end
|
4697
4867
|
|
@@ -4715,6 +4885,7 @@ module Aws::Comprehend
|
|
4715
4885
|
#
|
4716
4886
|
class StopTrainingEntityRecognizerRequest < Struct.new(
|
4717
4887
|
:entity_recognizer_arn)
|
4888
|
+
SENSITIVE = []
|
4718
4889
|
include Aws::Structure
|
4719
4890
|
end
|
4720
4891
|
|
@@ -4758,6 +4929,7 @@ module Aws::Comprehend
|
|
4758
4929
|
:begin_offset,
|
4759
4930
|
:end_offset,
|
4760
4931
|
:part_of_speech)
|
4932
|
+
SENSITIVE = []
|
4761
4933
|
include Aws::Structure
|
4762
4934
|
end
|
4763
4935
|
|
@@ -4795,6 +4967,7 @@ module Aws::Comprehend
|
|
4795
4967
|
class Tag < Struct.new(
|
4796
4968
|
:key,
|
4797
4969
|
:value)
|
4970
|
+
SENSITIVE = []
|
4798
4971
|
include Aws::Structure
|
4799
4972
|
end
|
4800
4973
|
|
@@ -4827,6 +5000,7 @@ module Aws::Comprehend
|
|
4827
5000
|
class TagResourceRequest < Struct.new(
|
4828
5001
|
:resource_arn,
|
4829
5002
|
:tags)
|
5003
|
+
SENSITIVE = []
|
4830
5004
|
include Aws::Structure
|
4831
5005
|
end
|
4832
5006
|
|
@@ -4843,6 +5017,7 @@ module Aws::Comprehend
|
|
4843
5017
|
#
|
4844
5018
|
class TextSizeLimitExceededException < Struct.new(
|
4845
5019
|
:message)
|
5020
|
+
SENSITIVE = []
|
4846
5021
|
include Aws::Structure
|
4847
5022
|
end
|
4848
5023
|
|
@@ -4855,6 +5030,7 @@ module Aws::Comprehend
|
|
4855
5030
|
#
|
4856
5031
|
class TooManyRequestsException < Struct.new(
|
4857
5032
|
:message)
|
5033
|
+
SENSITIVE = []
|
4858
5034
|
include Aws::Structure
|
4859
5035
|
end
|
4860
5036
|
|
@@ -4868,6 +5044,7 @@ module Aws::Comprehend
|
|
4868
5044
|
#
|
4869
5045
|
class TooManyTagKeysException < Struct.new(
|
4870
5046
|
:message)
|
5047
|
+
SENSITIVE = []
|
4871
5048
|
include Aws::Structure
|
4872
5049
|
end
|
4873
5050
|
|
@@ -4882,6 +5059,7 @@ module Aws::Comprehend
|
|
4882
5059
|
#
|
4883
5060
|
class TooManyTagsException < Struct.new(
|
4884
5061
|
:message)
|
5062
|
+
SENSITIVE = []
|
4885
5063
|
include Aws::Structure
|
4886
5064
|
end
|
4887
5065
|
|
@@ -4927,6 +5105,7 @@ module Aws::Comprehend
|
|
4927
5105
|
:job_status,
|
4928
5106
|
:submit_time_before,
|
4929
5107
|
:submit_time_after)
|
5108
|
+
SENSITIVE = []
|
4930
5109
|
include Aws::Structure
|
4931
5110
|
end
|
4932
5111
|
|
@@ -5016,13 +5195,15 @@ module Aws::Comprehend
|
|
5016
5195
|
:data_access_role_arn,
|
5017
5196
|
:volume_kms_key_id,
|
5018
5197
|
:vpc_config)
|
5198
|
+
SENSITIVE = []
|
5019
5199
|
include Aws::Structure
|
5020
5200
|
end
|
5021
5201
|
|
5022
5202
|
# Amazon Comprehend can't process the language of the input text. For
|
5023
5203
|
# all custom entity recognition APIs (such as `CreateEntityRecognizer`),
|
5024
|
-
# only English
|
5025
|
-
#
|
5204
|
+
# only English, Spanish, French, Italian, German, or Portuguese are
|
5205
|
+
# accepted. For most other APIs, such as those for Custom
|
5206
|
+
# Classification, Amazon Comprehend accepts text in all supported
|
5026
5207
|
# languages. For a list of supported languages, see supported-languages.
|
5027
5208
|
#
|
5028
5209
|
# @!attribute [rw] message
|
@@ -5032,6 +5213,7 @@ module Aws::Comprehend
|
|
5032
5213
|
#
|
5033
5214
|
class UnsupportedLanguageException < Struct.new(
|
5034
5215
|
:message)
|
5216
|
+
SENSITIVE = []
|
5035
5217
|
include Aws::Structure
|
5036
5218
|
end
|
5037
5219
|
|
@@ -5061,6 +5243,7 @@ module Aws::Comprehend
|
|
5061
5243
|
class UntagResourceRequest < Struct.new(
|
5062
5244
|
:resource_arn,
|
5063
5245
|
:tag_keys)
|
5246
|
+
SENSITIVE = []
|
5064
5247
|
include Aws::Structure
|
5065
5248
|
end
|
5066
5249
|
|
@@ -5091,6 +5274,7 @@ module Aws::Comprehend
|
|
5091
5274
|
class UpdateEndpointRequest < Struct.new(
|
5092
5275
|
:endpoint_arn,
|
5093
5276
|
:desired_inference_units)
|
5277
|
+
SENSITIVE = []
|
5094
5278
|
include Aws::Structure
|
5095
5279
|
end
|
5096
5280
|
|
@@ -5146,6 +5330,7 @@ module Aws::Comprehend
|
|
5146
5330
|
class VpcConfig < Struct.new(
|
5147
5331
|
:security_group_ids,
|
5148
5332
|
:subnets)
|
5333
|
+
SENSITIVE = []
|
5149
5334
|
include Aws::Structure
|
5150
5335
|
end
|
5151
5336
|
|