aws-sdk-comprehend 1.27.0 → 1.28.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 +1 -1
- data/lib/aws-sdk-comprehend/client.rb +262 -32
- data/lib/aws-sdk-comprehend/client_api.rb +169 -0
- data/lib/aws-sdk-comprehend/types.rb +384 -39
- metadata +2 -2
@@ -107,10 +107,8 @@ module Aws::Comprehend
|
|
107
107
|
#
|
108
108
|
# @!attribute [rw] language_code
|
109
109
|
# The language of the input documents. You can specify any of the
|
110
|
-
# primary languages supported by Amazon Comprehend
|
111
|
-
#
|
112
|
-
# ("it"), or Portuguese ("pt"). All documents must be in the same
|
113
|
-
# language.
|
110
|
+
# primary languages supported by Amazon Comprehend. All documents must
|
111
|
+
# be in the same language.
|
114
112
|
# @return [String]
|
115
113
|
#
|
116
114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectEntitiesRequest AWS API Documentation
|
@@ -179,10 +177,8 @@ module Aws::Comprehend
|
|
179
177
|
#
|
180
178
|
# @!attribute [rw] language_code
|
181
179
|
# The language of the input documents. You can specify any of the
|
182
|
-
# primary languages supported by Amazon Comprehend
|
183
|
-
#
|
184
|
-
# ("it"), or Portuguese ("pt"). All documents must be in the same
|
185
|
-
# language.
|
180
|
+
# primary languages supported by Amazon Comprehend. All documents must
|
181
|
+
# be in the same language.
|
186
182
|
# @return [String]
|
187
183
|
#
|
188
184
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectKeyPhrasesRequest AWS API Documentation
|
@@ -256,10 +252,8 @@ module Aws::Comprehend
|
|
256
252
|
#
|
257
253
|
# @!attribute [rw] language_code
|
258
254
|
# The language of the input documents. You can specify any of the
|
259
|
-
# primary languages supported by Amazon Comprehend
|
260
|
-
#
|
261
|
-
# ("it"), or Portuguese ("pt"). All documents must be in the same
|
262
|
-
# language.
|
255
|
+
# primary languages supported by Amazon Comprehend. All documents must
|
256
|
+
# be in the same language.
|
263
257
|
# @return [String]
|
264
258
|
#
|
265
259
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectSentimentRequest AWS API Documentation
|
@@ -328,7 +322,7 @@ module Aws::Comprehend
|
|
328
322
|
#
|
329
323
|
# @!attribute [rw] language_code
|
330
324
|
# The language of the input documents. You can specify any of the
|
331
|
-
#
|
325
|
+
# following languages supported by Amazon Comprehend: German ("de"),
|
332
326
|
# English ("en"), Spanish ("es"), French ("fr"), Italian
|
333
327
|
# ("it"), or Portuguese ("pt"). All documents must be in the same
|
334
328
|
# language.
|
@@ -474,6 +468,45 @@ module Aws::Comprehend
|
|
474
468
|
include Aws::Structure
|
475
469
|
end
|
476
470
|
|
471
|
+
# @note When making an API call, you may pass ClassifyDocumentRequest
|
472
|
+
# data as a hash:
|
473
|
+
#
|
474
|
+
# {
|
475
|
+
# text: "String", # required
|
476
|
+
# endpoint_arn: "DocumentClassifierEndpointArn", # required
|
477
|
+
# }
|
478
|
+
#
|
479
|
+
# @!attribute [rw] text
|
480
|
+
# The document text to be analyzed.
|
481
|
+
# @return [String]
|
482
|
+
#
|
483
|
+
# @!attribute [rw] endpoint_arn
|
484
|
+
# The Amazon Resource Number (ARN) of the endpoint.
|
485
|
+
# @return [String]
|
486
|
+
#
|
487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ClassifyDocumentRequest AWS API Documentation
|
488
|
+
#
|
489
|
+
class ClassifyDocumentRequest < Struct.new(
|
490
|
+
:text,
|
491
|
+
:endpoint_arn)
|
492
|
+
include Aws::Structure
|
493
|
+
end
|
494
|
+
|
495
|
+
# @!attribute [rw] classes
|
496
|
+
# The classes used by the document being analyzed. These are used for
|
497
|
+
# multi-class trained models. Individual classes are mutually
|
498
|
+
# exclusive and each document is expected to have only a single class
|
499
|
+
# assigned to it. For example, an animal can be a dog or a cat, but
|
500
|
+
# not both at the same time.
|
501
|
+
# @return [Array<Types::DocumentClass>]
|
502
|
+
#
|
503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ClassifyDocumentResponse AWS API Documentation
|
504
|
+
#
|
505
|
+
class ClassifyDocumentResponse < Struct.new(
|
506
|
+
:classes)
|
507
|
+
include Aws::Structure
|
508
|
+
end
|
509
|
+
|
477
510
|
# Concurrent modification of the tags associated with an Amazon
|
478
511
|
# Comprehend resource is not supported.
|
479
512
|
#
|
@@ -552,7 +585,7 @@ module Aws::Comprehend
|
|
552
585
|
#
|
553
586
|
# @!attribute [rw] language_code
|
554
587
|
# The language of the input documents. You can specify any of the
|
555
|
-
#
|
588
|
+
# following languages supported by Amazon Comprehend: German ("de"),
|
556
589
|
# English ("en"), Spanish ("es"), French ("fr"), Italian
|
557
590
|
# ("it"), or Portuguese ("pt"). All documents must be in the same
|
558
591
|
# language.
|
@@ -607,6 +640,76 @@ module Aws::Comprehend
|
|
607
640
|
include Aws::Structure
|
608
641
|
end
|
609
642
|
|
643
|
+
# @note When making an API call, you may pass CreateEndpointRequest
|
644
|
+
# data as a hash:
|
645
|
+
#
|
646
|
+
# {
|
647
|
+
# endpoint_name: "ComprehendEndpointName", # required
|
648
|
+
# model_arn: "ComprehendModelArn", # required
|
649
|
+
# desired_inference_units: 1, # required
|
650
|
+
# client_request_token: "ClientRequestTokenString",
|
651
|
+
# tags: [
|
652
|
+
# {
|
653
|
+
# key: "TagKey", # required
|
654
|
+
# value: "TagValue",
|
655
|
+
# },
|
656
|
+
# ],
|
657
|
+
# }
|
658
|
+
#
|
659
|
+
# @!attribute [rw] endpoint_name
|
660
|
+
# This is the descriptive suffix that becomes part of the
|
661
|
+
# `EndpointArn` used for all subsequent requests to this resource.
|
662
|
+
# @return [String]
|
663
|
+
#
|
664
|
+
# @!attribute [rw] model_arn
|
665
|
+
# The Amazon Resource Number (ARN) of the model to which the endpoint
|
666
|
+
# will be attached.
|
667
|
+
# @return [String]
|
668
|
+
#
|
669
|
+
# @!attribute [rw] desired_inference_units
|
670
|
+
# The desired number of inference units to be used by the model using
|
671
|
+
# this endpoint. Each inference unit represents of a throughput of 100
|
672
|
+
# characters per second.
|
673
|
+
# @return [Integer]
|
674
|
+
#
|
675
|
+
# @!attribute [rw] client_request_token
|
676
|
+
# An idempotency token provided by the customer. If this token matches
|
677
|
+
# a previous endpoint creation request, Amazon Comprehend will not
|
678
|
+
# return a `ResourceInUseException`.
|
679
|
+
#
|
680
|
+
# **A suitable default value is auto-generated.** You should normally
|
681
|
+
# not need to pass this option.
|
682
|
+
# @return [String]
|
683
|
+
#
|
684
|
+
# @!attribute [rw] tags
|
685
|
+
# Tags associated with the endpoint being created. A tag is a
|
686
|
+
# key-value pair that adds metadata to the endpoint. For example, a
|
687
|
+
# tag with "Sales" as the key might be added to an endpoint to
|
688
|
+
# indicate its use by the sales department.
|
689
|
+
# @return [Array<Types::Tag>]
|
690
|
+
#
|
691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateEndpointRequest AWS API Documentation
|
692
|
+
#
|
693
|
+
class CreateEndpointRequest < Struct.new(
|
694
|
+
:endpoint_name,
|
695
|
+
:model_arn,
|
696
|
+
:desired_inference_units,
|
697
|
+
:client_request_token,
|
698
|
+
:tags)
|
699
|
+
include Aws::Structure
|
700
|
+
end
|
701
|
+
|
702
|
+
# @!attribute [rw] endpoint_arn
|
703
|
+
# The Amazon Resource Number (ARN) of the endpoint being created.
|
704
|
+
# @return [String]
|
705
|
+
#
|
706
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateEndpointResponse AWS API Documentation
|
707
|
+
#
|
708
|
+
class CreateEndpointResponse < Struct.new(
|
709
|
+
:endpoint_arn)
|
710
|
+
include Aws::Structure
|
711
|
+
end
|
712
|
+
|
610
713
|
# @note When making an API call, you may pass CreateEntityRecognizerRequest
|
611
714
|
# data as a hash:
|
612
715
|
#
|
@@ -755,6 +858,28 @@ module Aws::Comprehend
|
|
755
858
|
#
|
756
859
|
class DeleteDocumentClassifierResponse < Aws::EmptyStructure; end
|
757
860
|
|
861
|
+
# @note When making an API call, you may pass DeleteEndpointRequest
|
862
|
+
# data as a hash:
|
863
|
+
#
|
864
|
+
# {
|
865
|
+
# endpoint_arn: "ComprehendEndpointArn", # required
|
866
|
+
# }
|
867
|
+
#
|
868
|
+
# @!attribute [rw] endpoint_arn
|
869
|
+
# The Amazon Resource Number (ARN) of the endpoint being deleted.
|
870
|
+
# @return [String]
|
871
|
+
#
|
872
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DeleteEndpointRequest AWS API Documentation
|
873
|
+
#
|
874
|
+
class DeleteEndpointRequest < Struct.new(
|
875
|
+
:endpoint_arn)
|
876
|
+
include Aws::Structure
|
877
|
+
end
|
878
|
+
|
879
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DeleteEndpointResponse AWS API Documentation
|
880
|
+
#
|
881
|
+
class DeleteEndpointResponse < Aws::EmptyStructure; end
|
882
|
+
|
758
883
|
# @note When making an API call, you may pass DeleteEntityRecognizerRequest
|
759
884
|
# data as a hash:
|
760
885
|
#
|
@@ -871,6 +996,35 @@ module Aws::Comprehend
|
|
871
996
|
include Aws::Structure
|
872
997
|
end
|
873
998
|
|
999
|
+
# @note When making an API call, you may pass DescribeEndpointRequest
|
1000
|
+
# data as a hash:
|
1001
|
+
#
|
1002
|
+
# {
|
1003
|
+
# endpoint_arn: "ComprehendEndpointArn", # required
|
1004
|
+
# }
|
1005
|
+
#
|
1006
|
+
# @!attribute [rw] endpoint_arn
|
1007
|
+
# The Amazon Resource Number (ARN) of the endpoint being described.
|
1008
|
+
# @return [String]
|
1009
|
+
#
|
1010
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEndpointRequest AWS API Documentation
|
1011
|
+
#
|
1012
|
+
class DescribeEndpointRequest < Struct.new(
|
1013
|
+
:endpoint_arn)
|
1014
|
+
include Aws::Structure
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
# @!attribute [rw] endpoint_properties
|
1018
|
+
# Describes information associated with the specific endpoint.
|
1019
|
+
# @return [Types::EndpointProperties]
|
1020
|
+
#
|
1021
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEndpointResponse AWS API Documentation
|
1022
|
+
#
|
1023
|
+
class DescribeEndpointResponse < Struct.new(
|
1024
|
+
:endpoint_properties)
|
1025
|
+
include Aws::Structure
|
1026
|
+
end
|
1027
|
+
|
874
1028
|
# @note When making an API call, you may pass DescribeEntitiesDetectionJobRequest
|
875
1029
|
# data as a hash:
|
876
1030
|
#
|
@@ -1077,10 +1231,8 @@ module Aws::Comprehend
|
|
1077
1231
|
#
|
1078
1232
|
# @!attribute [rw] language_code
|
1079
1233
|
# The language of the input documents. You can specify any of the
|
1080
|
-
# primary languages supported by Amazon Comprehend
|
1081
|
-
#
|
1082
|
-
# ("it"), or Portuguese ("pt"). All documents must be in the same
|
1083
|
-
# language.
|
1234
|
+
# primary languages supported by Amazon Comprehend. All documents must
|
1235
|
+
# be in the same language.
|
1084
1236
|
# @return [String]
|
1085
1237
|
#
|
1086
1238
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectEntitiesRequest AWS API Documentation
|
@@ -1121,10 +1273,8 @@ module Aws::Comprehend
|
|
1121
1273
|
#
|
1122
1274
|
# @!attribute [rw] language_code
|
1123
1275
|
# The language of the input documents. You can specify any of the
|
1124
|
-
# primary languages supported by Amazon Comprehend
|
1125
|
-
#
|
1126
|
-
# ("it"), or Portuguese ("pt"). All documents must be in the same
|
1127
|
-
# language.
|
1276
|
+
# primary languages supported by Amazon Comprehend. All documents must
|
1277
|
+
# be in the same language.
|
1128
1278
|
# @return [String]
|
1129
1279
|
#
|
1130
1280
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectKeyPhrasesRequest AWS API Documentation
|
@@ -1165,10 +1315,8 @@ module Aws::Comprehend
|
|
1165
1315
|
#
|
1166
1316
|
# @!attribute [rw] language_code
|
1167
1317
|
# The language of the input documents. You can specify any of the
|
1168
|
-
# primary languages supported by Amazon Comprehend
|
1169
|
-
#
|
1170
|
-
# ("it"), or Portuguese ("pt"). All documents must be in the same
|
1171
|
-
# language.
|
1318
|
+
# primary languages supported by Amazon Comprehend. All documents must
|
1319
|
+
# be in the same language.
|
1172
1320
|
# @return [String]
|
1173
1321
|
#
|
1174
1322
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectSentimentRequest AWS API Documentation
|
@@ -1212,7 +1360,7 @@ module Aws::Comprehend
|
|
1212
1360
|
#
|
1213
1361
|
# @!attribute [rw] language_code
|
1214
1362
|
# The language code of the input documents. You can specify any of the
|
1215
|
-
#
|
1363
|
+
# following languages supported by Amazon Comprehend: German ("de"),
|
1216
1364
|
# English ("en"), Spanish ("es"), French ("fr"), Italian
|
1217
1365
|
# ("it"), or Portuguese ("pt").
|
1218
1366
|
# @return [String]
|
@@ -1240,6 +1388,25 @@ module Aws::Comprehend
|
|
1240
1388
|
include Aws::Structure
|
1241
1389
|
end
|
1242
1390
|
|
1391
|
+
# Specifies the class that categorizes the document being analyzed
|
1392
|
+
#
|
1393
|
+
# @!attribute [rw] name
|
1394
|
+
# The name of the class.
|
1395
|
+
# @return [String]
|
1396
|
+
#
|
1397
|
+
# @!attribute [rw] score
|
1398
|
+
# The confidence score that Amazon Comprehend has this class correctly
|
1399
|
+
# attributed.
|
1400
|
+
# @return [Float]
|
1401
|
+
#
|
1402
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DocumentClass AWS API Documentation
|
1403
|
+
#
|
1404
|
+
class DocumentClass < Struct.new(
|
1405
|
+
:name,
|
1406
|
+
:score)
|
1407
|
+
include Aws::Structure
|
1408
|
+
end
|
1409
|
+
|
1243
1410
|
# Provides information for filtering a list of document classification
|
1244
1411
|
# jobs. For more information, see the operation. You can provide only
|
1245
1412
|
# one filter parameter in each request.
|
@@ -1759,6 +1926,104 @@ module Aws::Comprehend
|
|
1759
1926
|
include Aws::Structure
|
1760
1927
|
end
|
1761
1928
|
|
1929
|
+
# The filter used to determine which endpoints are are returned. You can
|
1930
|
+
# filter jobs on their name, model, status, or the date and time that
|
1931
|
+
# they were created. You can only set one filter at a time.
|
1932
|
+
#
|
1933
|
+
# @note When making an API call, you may pass EndpointFilter
|
1934
|
+
# data as a hash:
|
1935
|
+
#
|
1936
|
+
# {
|
1937
|
+
# model_arn: "ComprehendModelArn",
|
1938
|
+
# status: "CREATING", # accepts CREATING, DELETING, FAILED, IN_SERVICE, UPDATING
|
1939
|
+
# creation_time_before: Time.now,
|
1940
|
+
# creation_time_after: Time.now,
|
1941
|
+
# }
|
1942
|
+
#
|
1943
|
+
# @!attribute [rw] model_arn
|
1944
|
+
# The Amazon Resource Number (ARN) of the model to which the endpoint
|
1945
|
+
# is attached.
|
1946
|
+
# @return [String]
|
1947
|
+
#
|
1948
|
+
# @!attribute [rw] status
|
1949
|
+
# Specifies the status of the endpoint being returned. Possible values
|
1950
|
+
# are: Creating, Ready, Updating, Deleting, Failed.
|
1951
|
+
# @return [String]
|
1952
|
+
#
|
1953
|
+
# @!attribute [rw] creation_time_before
|
1954
|
+
# Specifies a date before which the returned endpoint or endpoints
|
1955
|
+
# were created.
|
1956
|
+
# @return [Time]
|
1957
|
+
#
|
1958
|
+
# @!attribute [rw] creation_time_after
|
1959
|
+
# Specifies a date after which the returned endpoint or endpoints were
|
1960
|
+
# created.
|
1961
|
+
# @return [Time]
|
1962
|
+
#
|
1963
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/EndpointFilter AWS API Documentation
|
1964
|
+
#
|
1965
|
+
class EndpointFilter < Struct.new(
|
1966
|
+
:model_arn,
|
1967
|
+
:status,
|
1968
|
+
:creation_time_before,
|
1969
|
+
:creation_time_after)
|
1970
|
+
include Aws::Structure
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
# Specifies information about the specified endpoint.
|
1974
|
+
#
|
1975
|
+
# @!attribute [rw] endpoint_arn
|
1976
|
+
# The Amazon Resource Number (ARN) of the endpoint.
|
1977
|
+
# @return [String]
|
1978
|
+
#
|
1979
|
+
# @!attribute [rw] status
|
1980
|
+
# Specifies the status of the endpoint. Because the endpoint updates
|
1981
|
+
# and creation are asynchronous, so customers will need to wait for
|
1982
|
+
# the endpoint to be `Ready` status before making inference requests.
|
1983
|
+
# @return [String]
|
1984
|
+
#
|
1985
|
+
# @!attribute [rw] message
|
1986
|
+
# Specifies a reason for failure in cases of `Failed` status.
|
1987
|
+
# @return [String]
|
1988
|
+
#
|
1989
|
+
# @!attribute [rw] model_arn
|
1990
|
+
# The Amazon Resource Number (ARN) of the model to which the endpoint
|
1991
|
+
# is attached.
|
1992
|
+
# @return [String]
|
1993
|
+
#
|
1994
|
+
# @!attribute [rw] desired_inference_units
|
1995
|
+
# The desired number of inference units to be used by the model using
|
1996
|
+
# this endpoint. Each inference unit represents of a throughput of 100
|
1997
|
+
# characters per second.
|
1998
|
+
# @return [Integer]
|
1999
|
+
#
|
2000
|
+
# @!attribute [rw] current_inference_units
|
2001
|
+
# The number of inference units currently used by the model using this
|
2002
|
+
# endpoint.
|
2003
|
+
# @return [Integer]
|
2004
|
+
#
|
2005
|
+
# @!attribute [rw] creation_time
|
2006
|
+
# The creation date and time of the endpoint.
|
2007
|
+
# @return [Time]
|
2008
|
+
#
|
2009
|
+
# @!attribute [rw] last_modified_time
|
2010
|
+
# The date and time that the endpoint was last modified.
|
2011
|
+
# @return [Time]
|
2012
|
+
#
|
2013
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/EndpointProperties AWS API Documentation
|
2014
|
+
#
|
2015
|
+
class EndpointProperties < Struct.new(
|
2016
|
+
:endpoint_arn,
|
2017
|
+
:status,
|
2018
|
+
:message,
|
2019
|
+
:model_arn,
|
2020
|
+
:desired_inference_units,
|
2021
|
+
:current_inference_units,
|
2022
|
+
:creation_time,
|
2023
|
+
:last_modified_time)
|
2024
|
+
include Aws::Structure
|
2025
|
+
end
|
2026
|
+
|
1762
2027
|
# Provides information for filtering a list of dominant language
|
1763
2028
|
# detection jobs. For more information, see the operation.
|
1764
2029
|
#
|
@@ -2766,6 +3031,61 @@ module Aws::Comprehend
|
|
2766
3031
|
include Aws::Structure
|
2767
3032
|
end
|
2768
3033
|
|
3034
|
+
# @note When making an API call, you may pass ListEndpointsRequest
|
3035
|
+
# data as a hash:
|
3036
|
+
#
|
3037
|
+
# {
|
3038
|
+
# filter: {
|
3039
|
+
# model_arn: "ComprehendModelArn",
|
3040
|
+
# status: "CREATING", # accepts CREATING, DELETING, FAILED, IN_SERVICE, UPDATING
|
3041
|
+
# creation_time_before: Time.now,
|
3042
|
+
# creation_time_after: Time.now,
|
3043
|
+
# },
|
3044
|
+
# next_token: "String",
|
3045
|
+
# max_results: 1,
|
3046
|
+
# }
|
3047
|
+
#
|
3048
|
+
# @!attribute [rw] filter
|
3049
|
+
# Filters the endpoints that are returned. You can filter endpoints on
|
3050
|
+
# their name, model, status, or the date and time that they were
|
3051
|
+
# created. You can only set one filter at a time.
|
3052
|
+
# @return [Types::EndpointFilter]
|
3053
|
+
#
|
3054
|
+
# @!attribute [rw] next_token
|
3055
|
+
# Identifies the next page of results to return.
|
3056
|
+
# @return [String]
|
3057
|
+
#
|
3058
|
+
# @!attribute [rw] max_results
|
3059
|
+
# The maximum number of results to return in each page. The default is
|
3060
|
+
# 100.
|
3061
|
+
# @return [Integer]
|
3062
|
+
#
|
3063
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEndpointsRequest AWS API Documentation
|
3064
|
+
#
|
3065
|
+
class ListEndpointsRequest < Struct.new(
|
3066
|
+
:filter,
|
3067
|
+
:next_token,
|
3068
|
+
:max_results)
|
3069
|
+
include Aws::Structure
|
3070
|
+
end
|
3071
|
+
|
3072
|
+
# @!attribute [rw] endpoint_properties_list
|
3073
|
+
# Displays a list of endpoint properties being retrieved by the
|
3074
|
+
# service in response to the request.
|
3075
|
+
# @return [Array<Types::EndpointProperties>]
|
3076
|
+
#
|
3077
|
+
# @!attribute [rw] next_token
|
3078
|
+
# Identifies the next page of results to return.
|
3079
|
+
# @return [String]
|
3080
|
+
#
|
3081
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEndpointsResponse AWS API Documentation
|
3082
|
+
#
|
3083
|
+
class ListEndpointsResponse < Struct.new(
|
3084
|
+
:endpoint_properties_list,
|
3085
|
+
:next_token)
|
3086
|
+
include Aws::Structure
|
3087
|
+
end
|
3088
|
+
|
2769
3089
|
# @note When making an API call, you may pass ListEntitiesDetectionJobsRequest
|
2770
3090
|
# data as a hash:
|
2771
3091
|
#
|
@@ -3657,10 +3977,9 @@ module Aws::Comprehend
|
|
3657
3977
|
# @!attribute [rw] language_code
|
3658
3978
|
# The language of the input documents. All documents must be in the
|
3659
3979
|
# same language. You can specify any of the languages supported by
|
3660
|
-
# Amazon Comprehend
|
3661
|
-
#
|
3662
|
-
#
|
3663
|
-
# and the language used for training the model is used instead.
|
3980
|
+
# Amazon Comprehend. If custom entities recognition is used, this
|
3981
|
+
# parameter is ignored and the language used for training the model is
|
3982
|
+
# used instead.
|
3664
3983
|
# @return [String]
|
3665
3984
|
#
|
3666
3985
|
# @!attribute [rw] client_request_token
|
@@ -3789,10 +4108,8 @@ module Aws::Comprehend
|
|
3789
4108
|
#
|
3790
4109
|
# @!attribute [rw] language_code
|
3791
4110
|
# The language of the input documents. You can specify any of the
|
3792
|
-
# primary languages supported by Amazon Comprehend
|
3793
|
-
#
|
3794
|
-
# ("it"), or Portuguese ("pt"). All documents must be in the same
|
3795
|
-
# language.
|
4111
|
+
# primary languages supported by Amazon Comprehend. All documents must
|
4112
|
+
# be in the same language.
|
3796
4113
|
# @return [String]
|
3797
4114
|
#
|
3798
4115
|
# @!attribute [rw] client_request_token
|
@@ -3915,10 +4232,8 @@ module Aws::Comprehend
|
|
3915
4232
|
#
|
3916
4233
|
# @!attribute [rw] language_code
|
3917
4234
|
# The language of the input documents. You can specify any of the
|
3918
|
-
# primary languages supported by Amazon Comprehend
|
3919
|
-
#
|
3920
|
-
# ("it"), or Portuguese ("pt"). All documents must be in the same
|
3921
|
-
# language.
|
4235
|
+
# primary languages supported by Amazon Comprehend. All documents must
|
4236
|
+
# be in the same language.
|
3922
4237
|
# @return [String]
|
3923
4238
|
#
|
3924
4239
|
# @!attribute [rw] client_request_token
|
@@ -4654,6 +4969,36 @@ module Aws::Comprehend
|
|
4654
4969
|
#
|
4655
4970
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
4656
4971
|
|
4972
|
+
# @note When making an API call, you may pass UpdateEndpointRequest
|
4973
|
+
# data as a hash:
|
4974
|
+
#
|
4975
|
+
# {
|
4976
|
+
# endpoint_arn: "ComprehendEndpointArn", # required
|
4977
|
+
# desired_inference_units: 1, # required
|
4978
|
+
# }
|
4979
|
+
#
|
4980
|
+
# @!attribute [rw] endpoint_arn
|
4981
|
+
# The Amazon Resource Number (ARN) of the endpoint being updated.
|
4982
|
+
# @return [String]
|
4983
|
+
#
|
4984
|
+
# @!attribute [rw] desired_inference_units
|
4985
|
+
# The desired number of inference units to be used by the model using
|
4986
|
+
# this endpoint. Each inference unit represents of a throughput of 100
|
4987
|
+
# characters per second.
|
4988
|
+
# @return [Integer]
|
4989
|
+
#
|
4990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/UpdateEndpointRequest AWS API Documentation
|
4991
|
+
#
|
4992
|
+
class UpdateEndpointRequest < Struct.new(
|
4993
|
+
:endpoint_arn,
|
4994
|
+
:desired_inference_units)
|
4995
|
+
include Aws::Structure
|
4996
|
+
end
|
4997
|
+
|
4998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/UpdateEndpointResponse AWS API Documentation
|
4999
|
+
#
|
5000
|
+
class UpdateEndpointResponse < Aws::EmptyStructure; end
|
5001
|
+
|
4657
5002
|
# Configuration parameters for an optional private Virtual Private Cloud
|
4658
5003
|
# (VPC) containing the resources you are using for the job. For For more
|
4659
5004
|
# information, see [Amazon VPC][1].
|