aws-sdk-comprehend 1.18.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-comprehend.rb +1 -1
- data/lib/aws-sdk-comprehend/client.rb +171 -1
- data/lib/aws-sdk-comprehend/client_api.rb +47 -0
- data/lib/aws-sdk-comprehend/types.rb +275 -16
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4451c26d5a2a4b5c32c7e5cea5045fb488cd5d22
|
4
|
+
data.tar.gz: 8ede48503a1198466824135129326c75ae72f0e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d8f74910f7735e59c04d7aaf43628c11df1c3296e7891d5de1e6bf2007b89d5d840d04ea3cfca4d9fdf0560bf3dd4c0096cad5b04c984c3d12a6f034442f888
|
7
|
+
data.tar.gz: 5ebe7d3223700a6ae35cf52d87fbd69affa3ea94943831e99647e3d4bd3f0d76dbccff12d796c6290441d0fb124d54bdf9789d3f8b77b7f006fd582dbd9c14e2
|
data/lib/aws-sdk-comprehend.rb
CHANGED
@@ -23,6 +23,7 @@ require 'aws-sdk-core/plugins/idempotency_token.rb'
|
|
23
23
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
|
+
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
26
27
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
27
28
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
28
29
|
|
@@ -55,6 +56,7 @@ module Aws::Comprehend
|
|
55
56
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
56
57
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
57
58
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
|
+
add_plugin(Aws::Plugins::TransferEncoding)
|
58
60
|
add_plugin(Aws::Plugins::SignatureV4)
|
59
61
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
60
62
|
|
@@ -547,6 +549,15 @@ module Aws::Comprehend
|
|
547
549
|
# * Amazon Resource Name (ARN) of a KMS Key:
|
548
550
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
549
551
|
#
|
552
|
+
# @option params [Types::VpcConfig] :vpc_config
|
553
|
+
# Configuration parameters for an optional private Virtual Private Cloud
|
554
|
+
# (VPC) containing the resources you are using for your custom
|
555
|
+
# classifier. For more information, see [Amazon VPC][1].
|
556
|
+
#
|
557
|
+
#
|
558
|
+
#
|
559
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
560
|
+
#
|
550
561
|
# @return [Types::CreateDocumentClassifierResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
551
562
|
#
|
552
563
|
# * {Types::CreateDocumentClassifierResponse#document_classifier_arn #document_classifier_arn} => String
|
@@ -572,6 +583,10 @@ module Aws::Comprehend
|
|
572
583
|
# client_request_token: "ClientRequestTokenString",
|
573
584
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
574
585
|
# volume_kms_key_id: "KmsKeyId",
|
586
|
+
# vpc_config: {
|
587
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
588
|
+
# subnets: ["SubnetId"], # required
|
589
|
+
# },
|
575
590
|
# })
|
576
591
|
#
|
577
592
|
# @example Response structure
|
@@ -635,6 +650,15 @@ module Aws::Comprehend
|
|
635
650
|
# * Amazon Resource Name (ARN) of a KMS Key:
|
636
651
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
637
652
|
#
|
653
|
+
# @option params [Types::VpcConfig] :vpc_config
|
654
|
+
# Configuration parameters for an optional private Virtual Private Cloud
|
655
|
+
# (VPC) containing the resources you are using for your custom entity
|
656
|
+
# recognizer. For more information, see [Amazon VPC][1].
|
657
|
+
#
|
658
|
+
#
|
659
|
+
#
|
660
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
661
|
+
#
|
638
662
|
# @return [Types::CreateEntityRecognizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
639
663
|
#
|
640
664
|
# * {Types::CreateEntityRecognizerResponse#entity_recognizer_arn #entity_recognizer_arn} => String
|
@@ -669,6 +693,10 @@ module Aws::Comprehend
|
|
669
693
|
# client_request_token: "ClientRequestTokenString",
|
670
694
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
671
695
|
# volume_kms_key_id: "KmsKeyId",
|
696
|
+
# vpc_config: {
|
697
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
698
|
+
# subnets: ["SubnetId"], # required
|
699
|
+
# },
|
672
700
|
# })
|
673
701
|
#
|
674
702
|
# @example Response structure
|
@@ -779,6 +807,10 @@ module Aws::Comprehend
|
|
779
807
|
# resp.document_classification_job_properties.output_data_config.kms_key_id #=> String
|
780
808
|
# resp.document_classification_job_properties.data_access_role_arn #=> String
|
781
809
|
# resp.document_classification_job_properties.volume_kms_key_id #=> String
|
810
|
+
# resp.document_classification_job_properties.vpc_config.security_group_ids #=> Array
|
811
|
+
# resp.document_classification_job_properties.vpc_config.security_group_ids[0] #=> String
|
812
|
+
# resp.document_classification_job_properties.vpc_config.subnets #=> Array
|
813
|
+
# resp.document_classification_job_properties.vpc_config.subnets[0] #=> String
|
782
814
|
#
|
783
815
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDocumentClassificationJob AWS API Documentation
|
784
816
|
#
|
@@ -827,6 +859,10 @@ module Aws::Comprehend
|
|
827
859
|
# resp.document_classifier_properties.classifier_metadata.evaluation_metrics.f1_score #=> Float
|
828
860
|
# resp.document_classifier_properties.data_access_role_arn #=> String
|
829
861
|
# resp.document_classifier_properties.volume_kms_key_id #=> String
|
862
|
+
# resp.document_classifier_properties.vpc_config.security_group_ids #=> Array
|
863
|
+
# resp.document_classifier_properties.vpc_config.security_group_ids[0] #=> String
|
864
|
+
# resp.document_classifier_properties.vpc_config.subnets #=> Array
|
865
|
+
# resp.document_classifier_properties.vpc_config.subnets[0] #=> String
|
830
866
|
#
|
831
867
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDocumentClassifier AWS API Documentation
|
832
868
|
#
|
@@ -868,6 +904,10 @@ module Aws::Comprehend
|
|
868
904
|
# resp.dominant_language_detection_job_properties.output_data_config.kms_key_id #=> String
|
869
905
|
# resp.dominant_language_detection_job_properties.data_access_role_arn #=> String
|
870
906
|
# resp.dominant_language_detection_job_properties.volume_kms_key_id #=> String
|
907
|
+
# resp.dominant_language_detection_job_properties.vpc_config.security_group_ids #=> Array
|
908
|
+
# resp.dominant_language_detection_job_properties.vpc_config.security_group_ids[0] #=> String
|
909
|
+
# resp.dominant_language_detection_job_properties.vpc_config.subnets #=> Array
|
910
|
+
# resp.dominant_language_detection_job_properties.vpc_config.subnets[0] #=> String
|
871
911
|
#
|
872
912
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDominantLanguageDetectionJob AWS API Documentation
|
873
913
|
#
|
@@ -911,6 +951,10 @@ module Aws::Comprehend
|
|
911
951
|
# resp.entities_detection_job_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt"
|
912
952
|
# resp.entities_detection_job_properties.data_access_role_arn #=> String
|
913
953
|
# resp.entities_detection_job_properties.volume_kms_key_id #=> String
|
954
|
+
# resp.entities_detection_job_properties.vpc_config.security_group_ids #=> Array
|
955
|
+
# resp.entities_detection_job_properties.vpc_config.security_group_ids[0] #=> String
|
956
|
+
# resp.entities_detection_job_properties.vpc_config.subnets #=> Array
|
957
|
+
# resp.entities_detection_job_properties.vpc_config.subnets[0] #=> String
|
914
958
|
#
|
915
959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEntitiesDetectionJob AWS API Documentation
|
916
960
|
#
|
@@ -962,6 +1006,10 @@ module Aws::Comprehend
|
|
962
1006
|
# resp.entity_recognizer_properties.recognizer_metadata.entity_types[0].type #=> String
|
963
1007
|
# resp.entity_recognizer_properties.data_access_role_arn #=> String
|
964
1008
|
# resp.entity_recognizer_properties.volume_kms_key_id #=> String
|
1009
|
+
# resp.entity_recognizer_properties.vpc_config.security_group_ids #=> Array
|
1010
|
+
# resp.entity_recognizer_properties.vpc_config.security_group_ids[0] #=> String
|
1011
|
+
# resp.entity_recognizer_properties.vpc_config.subnets #=> Array
|
1012
|
+
# resp.entity_recognizer_properties.vpc_config.subnets[0] #=> String
|
965
1013
|
#
|
966
1014
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEntityRecognizer AWS API Documentation
|
967
1015
|
#
|
@@ -1004,6 +1052,10 @@ module Aws::Comprehend
|
|
1004
1052
|
# resp.key_phrases_detection_job_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt"
|
1005
1053
|
# resp.key_phrases_detection_job_properties.data_access_role_arn #=> String
|
1006
1054
|
# resp.key_phrases_detection_job_properties.volume_kms_key_id #=> String
|
1055
|
+
# resp.key_phrases_detection_job_properties.vpc_config.security_group_ids #=> Array
|
1056
|
+
# resp.key_phrases_detection_job_properties.vpc_config.security_group_ids[0] #=> String
|
1057
|
+
# resp.key_phrases_detection_job_properties.vpc_config.subnets #=> Array
|
1058
|
+
# resp.key_phrases_detection_job_properties.vpc_config.subnets[0] #=> String
|
1007
1059
|
#
|
1008
1060
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeKeyPhrasesDetectionJob AWS API Documentation
|
1009
1061
|
#
|
@@ -1046,6 +1098,10 @@ module Aws::Comprehend
|
|
1046
1098
|
# resp.sentiment_detection_job_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt"
|
1047
1099
|
# resp.sentiment_detection_job_properties.data_access_role_arn #=> String
|
1048
1100
|
# resp.sentiment_detection_job_properties.volume_kms_key_id #=> String
|
1101
|
+
# resp.sentiment_detection_job_properties.vpc_config.security_group_ids #=> Array
|
1102
|
+
# resp.sentiment_detection_job_properties.vpc_config.security_group_ids[0] #=> String
|
1103
|
+
# resp.sentiment_detection_job_properties.vpc_config.subnets #=> Array
|
1104
|
+
# resp.sentiment_detection_job_properties.vpc_config.subnets[0] #=> String
|
1049
1105
|
#
|
1050
1106
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeSentimentDetectionJob AWS API Documentation
|
1051
1107
|
#
|
@@ -1087,6 +1143,10 @@ module Aws::Comprehend
|
|
1087
1143
|
# resp.topics_detection_job_properties.number_of_topics #=> Integer
|
1088
1144
|
# resp.topics_detection_job_properties.data_access_role_arn #=> String
|
1089
1145
|
# resp.topics_detection_job_properties.volume_kms_key_id #=> String
|
1146
|
+
# resp.topics_detection_job_properties.vpc_config.security_group_ids #=> Array
|
1147
|
+
# resp.topics_detection_job_properties.vpc_config.security_group_ids[0] #=> String
|
1148
|
+
# resp.topics_detection_job_properties.vpc_config.subnets #=> Array
|
1149
|
+
# resp.topics_detection_job_properties.vpc_config.subnets[0] #=> String
|
1090
1150
|
#
|
1091
1151
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeTopicsDetectionJob AWS API Documentation
|
1092
1152
|
#
|
@@ -1342,6 +1402,10 @@ module Aws::Comprehend
|
|
1342
1402
|
# resp.document_classification_job_properties_list[0].output_data_config.kms_key_id #=> String
|
1343
1403
|
# resp.document_classification_job_properties_list[0].data_access_role_arn #=> String
|
1344
1404
|
# resp.document_classification_job_properties_list[0].volume_kms_key_id #=> String
|
1405
|
+
# resp.document_classification_job_properties_list[0].vpc_config.security_group_ids #=> Array
|
1406
|
+
# resp.document_classification_job_properties_list[0].vpc_config.security_group_ids[0] #=> String
|
1407
|
+
# resp.document_classification_job_properties_list[0].vpc_config.subnets #=> Array
|
1408
|
+
# resp.document_classification_job_properties_list[0].vpc_config.subnets[0] #=> String
|
1345
1409
|
# resp.next_token #=> String
|
1346
1410
|
#
|
1347
1411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDocumentClassificationJobs AWS API Documentation
|
@@ -1407,6 +1471,10 @@ module Aws::Comprehend
|
|
1407
1471
|
# resp.document_classifier_properties_list[0].classifier_metadata.evaluation_metrics.f1_score #=> Float
|
1408
1472
|
# resp.document_classifier_properties_list[0].data_access_role_arn #=> String
|
1409
1473
|
# resp.document_classifier_properties_list[0].volume_kms_key_id #=> String
|
1474
|
+
# resp.document_classifier_properties_list[0].vpc_config.security_group_ids #=> Array
|
1475
|
+
# resp.document_classifier_properties_list[0].vpc_config.security_group_ids[0] #=> String
|
1476
|
+
# resp.document_classifier_properties_list[0].vpc_config.subnets #=> Array
|
1477
|
+
# resp.document_classifier_properties_list[0].vpc_config.subnets[0] #=> String
|
1410
1478
|
# resp.next_token #=> String
|
1411
1479
|
#
|
1412
1480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDocumentClassifiers AWS API Documentation
|
@@ -1466,6 +1534,10 @@ module Aws::Comprehend
|
|
1466
1534
|
# resp.dominant_language_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
|
1467
1535
|
# resp.dominant_language_detection_job_properties_list[0].data_access_role_arn #=> String
|
1468
1536
|
# resp.dominant_language_detection_job_properties_list[0].volume_kms_key_id #=> String
|
1537
|
+
# resp.dominant_language_detection_job_properties_list[0].vpc_config.security_group_ids #=> Array
|
1538
|
+
# resp.dominant_language_detection_job_properties_list[0].vpc_config.security_group_ids[0] #=> String
|
1539
|
+
# resp.dominant_language_detection_job_properties_list[0].vpc_config.subnets #=> Array
|
1540
|
+
# resp.dominant_language_detection_job_properties_list[0].vpc_config.subnets[0] #=> String
|
1469
1541
|
# resp.next_token #=> String
|
1470
1542
|
#
|
1471
1543
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDominantLanguageDetectionJobs AWS API Documentation
|
@@ -1526,6 +1598,10 @@ module Aws::Comprehend
|
|
1526
1598
|
# resp.entities_detection_job_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt"
|
1527
1599
|
# resp.entities_detection_job_properties_list[0].data_access_role_arn #=> String
|
1528
1600
|
# resp.entities_detection_job_properties_list[0].volume_kms_key_id #=> String
|
1601
|
+
# resp.entities_detection_job_properties_list[0].vpc_config.security_group_ids #=> Array
|
1602
|
+
# resp.entities_detection_job_properties_list[0].vpc_config.security_group_ids[0] #=> String
|
1603
|
+
# resp.entities_detection_job_properties_list[0].vpc_config.subnets #=> Array
|
1604
|
+
# resp.entities_detection_job_properties_list[0].vpc_config.subnets[0] #=> String
|
1529
1605
|
# resp.next_token #=> String
|
1530
1606
|
#
|
1531
1607
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntitiesDetectionJobs AWS API Documentation
|
@@ -1600,6 +1676,10 @@ module Aws::Comprehend
|
|
1600
1676
|
# resp.entity_recognizer_properties_list[0].recognizer_metadata.entity_types[0].type #=> String
|
1601
1677
|
# resp.entity_recognizer_properties_list[0].data_access_role_arn #=> String
|
1602
1678
|
# resp.entity_recognizer_properties_list[0].volume_kms_key_id #=> String
|
1679
|
+
# resp.entity_recognizer_properties_list[0].vpc_config.security_group_ids #=> Array
|
1680
|
+
# resp.entity_recognizer_properties_list[0].vpc_config.security_group_ids[0] #=> String
|
1681
|
+
# resp.entity_recognizer_properties_list[0].vpc_config.subnets #=> Array
|
1682
|
+
# resp.entity_recognizer_properties_list[0].vpc_config.subnets[0] #=> String
|
1603
1683
|
# resp.next_token #=> String
|
1604
1684
|
#
|
1605
1685
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntityRecognizers AWS API Documentation
|
@@ -1659,6 +1739,10 @@ module Aws::Comprehend
|
|
1659
1739
|
# resp.key_phrases_detection_job_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt"
|
1660
1740
|
# resp.key_phrases_detection_job_properties_list[0].data_access_role_arn #=> String
|
1661
1741
|
# resp.key_phrases_detection_job_properties_list[0].volume_kms_key_id #=> String
|
1742
|
+
# resp.key_phrases_detection_job_properties_list[0].vpc_config.security_group_ids #=> Array
|
1743
|
+
# resp.key_phrases_detection_job_properties_list[0].vpc_config.security_group_ids[0] #=> String
|
1744
|
+
# resp.key_phrases_detection_job_properties_list[0].vpc_config.subnets #=> Array
|
1745
|
+
# resp.key_phrases_detection_job_properties_list[0].vpc_config.subnets[0] #=> String
|
1662
1746
|
# resp.next_token #=> String
|
1663
1747
|
#
|
1664
1748
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListKeyPhrasesDetectionJobs AWS API Documentation
|
@@ -1718,6 +1802,10 @@ module Aws::Comprehend
|
|
1718
1802
|
# resp.sentiment_detection_job_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt"
|
1719
1803
|
# resp.sentiment_detection_job_properties_list[0].data_access_role_arn #=> String
|
1720
1804
|
# resp.sentiment_detection_job_properties_list[0].volume_kms_key_id #=> String
|
1805
|
+
# resp.sentiment_detection_job_properties_list[0].vpc_config.security_group_ids #=> Array
|
1806
|
+
# resp.sentiment_detection_job_properties_list[0].vpc_config.security_group_ids[0] #=> String
|
1807
|
+
# resp.sentiment_detection_job_properties_list[0].vpc_config.subnets #=> Array
|
1808
|
+
# resp.sentiment_detection_job_properties_list[0].vpc_config.subnets[0] #=> String
|
1721
1809
|
# resp.next_token #=> String
|
1722
1810
|
#
|
1723
1811
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListSentimentDetectionJobs AWS API Documentation
|
@@ -1810,6 +1898,10 @@ module Aws::Comprehend
|
|
1810
1898
|
# resp.topics_detection_job_properties_list[0].number_of_topics #=> Integer
|
1811
1899
|
# resp.topics_detection_job_properties_list[0].data_access_role_arn #=> String
|
1812
1900
|
# resp.topics_detection_job_properties_list[0].volume_kms_key_id #=> String
|
1901
|
+
# resp.topics_detection_job_properties_list[0].vpc_config.security_group_ids #=> Array
|
1902
|
+
# resp.topics_detection_job_properties_list[0].vpc_config.security_group_ids[0] #=> String
|
1903
|
+
# resp.topics_detection_job_properties_list[0].vpc_config.subnets #=> Array
|
1904
|
+
# resp.topics_detection_job_properties_list[0].vpc_config.subnets[0] #=> String
|
1813
1905
|
# resp.next_token #=> String
|
1814
1906
|
#
|
1815
1907
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListTopicsDetectionJobs AWS API Documentation
|
@@ -1860,6 +1952,15 @@ module Aws::Comprehend
|
|
1860
1952
|
# * Amazon Resource Name (ARN) of a KMS Key:
|
1861
1953
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
1862
1954
|
#
|
1955
|
+
# @option params [Types::VpcConfig] :vpc_config
|
1956
|
+
# Configuration parameters for an optional private Virtual Private Cloud
|
1957
|
+
# (VPC) containing the resources you are using for your document
|
1958
|
+
# classification job. For more information, see [Amazon VPC][1].
|
1959
|
+
#
|
1960
|
+
#
|
1961
|
+
#
|
1962
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
1963
|
+
#
|
1863
1964
|
# @return [Types::StartDocumentClassificationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1864
1965
|
#
|
1865
1966
|
# * {Types::StartDocumentClassificationJobResponse#job_id #job_id} => String
|
@@ -1881,6 +1982,10 @@ module Aws::Comprehend
|
|
1881
1982
|
# data_access_role_arn: "IamRoleArn", # required
|
1882
1983
|
# client_request_token: "ClientRequestTokenString",
|
1883
1984
|
# volume_kms_key_id: "KmsKeyId",
|
1985
|
+
# vpc_config: {
|
1986
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
1987
|
+
# subnets: ["SubnetId"], # required
|
1988
|
+
# },
|
1884
1989
|
# })
|
1885
1990
|
#
|
1886
1991
|
# @example Response structure
|
@@ -1938,6 +2043,15 @@ module Aws::Comprehend
|
|
1938
2043
|
# * Amazon Resource Name (ARN) of a KMS Key:
|
1939
2044
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
1940
2045
|
#
|
2046
|
+
# @option params [Types::VpcConfig] :vpc_config
|
2047
|
+
# Configuration parameters for an optional private Virtual Private Cloud
|
2048
|
+
# (VPC) containing the resources you are using for your dominant
|
2049
|
+
# language detection job. For more information, see [Amazon VPC][1].
|
2050
|
+
#
|
2051
|
+
#
|
2052
|
+
#
|
2053
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
2054
|
+
#
|
1941
2055
|
# @return [Types::StartDominantLanguageDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1942
2056
|
#
|
1943
2057
|
# * {Types::StartDominantLanguageDetectionJobResponse#job_id #job_id} => String
|
@@ -1958,6 +2072,10 @@ module Aws::Comprehend
|
|
1958
2072
|
# job_name: "JobName",
|
1959
2073
|
# client_request_token: "ClientRequestTokenString",
|
1960
2074
|
# volume_kms_key_id: "KmsKeyId",
|
2075
|
+
# vpc_config: {
|
2076
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
2077
|
+
# subnets: ["SubnetId"], # required
|
2078
|
+
# },
|
1961
2079
|
# })
|
1962
2080
|
#
|
1963
2081
|
# @example Response structure
|
@@ -2032,6 +2150,15 @@ module Aws::Comprehend
|
|
2032
2150
|
# * Amazon Resource Name (ARN) of a KMS Key:
|
2033
2151
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
2034
2152
|
#
|
2153
|
+
# @option params [Types::VpcConfig] :vpc_config
|
2154
|
+
# Configuration parameters for an optional private Virtual Private Cloud
|
2155
|
+
# (VPC) containing the resources you are using for your entity detection
|
2156
|
+
# job. For more information, see [Amazon VPC][1].
|
2157
|
+
#
|
2158
|
+
#
|
2159
|
+
#
|
2160
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
2161
|
+
#
|
2035
2162
|
# @return [Types::StartEntitiesDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2036
2163
|
#
|
2037
2164
|
# * {Types::StartEntitiesDetectionJobResponse#job_id #job_id} => String
|
@@ -2054,6 +2181,10 @@ module Aws::Comprehend
|
|
2054
2181
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
2055
2182
|
# client_request_token: "ClientRequestTokenString",
|
2056
2183
|
# volume_kms_key_id: "KmsKeyId",
|
2184
|
+
# vpc_config: {
|
2185
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
2186
|
+
# subnets: ["SubnetId"], # required
|
2187
|
+
# },
|
2057
2188
|
# })
|
2058
2189
|
#
|
2059
2190
|
# @example Response structure
|
@@ -2114,6 +2245,15 @@ module Aws::Comprehend
|
|
2114
2245
|
# * Amazon Resource Name (ARN) of a KMS Key:
|
2115
2246
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
2116
2247
|
#
|
2248
|
+
# @option params [Types::VpcConfig] :vpc_config
|
2249
|
+
# Configuration parameters for an optional private Virtual Private Cloud
|
2250
|
+
# (VPC) containing the resources you are using for your key phrases
|
2251
|
+
# detection job. For more information, see [Amazon VPC][1].
|
2252
|
+
#
|
2253
|
+
#
|
2254
|
+
#
|
2255
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
2256
|
+
#
|
2117
2257
|
# @return [Types::StartKeyPhrasesDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2118
2258
|
#
|
2119
2259
|
# * {Types::StartKeyPhrasesDetectionJobResponse#job_id #job_id} => String
|
@@ -2135,6 +2275,10 @@ module Aws::Comprehend
|
|
2135
2275
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
2136
2276
|
# client_request_token: "ClientRequestTokenString",
|
2137
2277
|
# volume_kms_key_id: "KmsKeyId",
|
2278
|
+
# vpc_config: {
|
2279
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
2280
|
+
# subnets: ["SubnetId"], # required
|
2281
|
+
# },
|
2138
2282
|
# })
|
2139
2283
|
#
|
2140
2284
|
# @example Response structure
|
@@ -2195,6 +2339,15 @@ module Aws::Comprehend
|
|
2195
2339
|
# * Amazon Resource Name (ARN) of a KMS Key:
|
2196
2340
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
2197
2341
|
#
|
2342
|
+
# @option params [Types::VpcConfig] :vpc_config
|
2343
|
+
# Configuration parameters for an optional private Virtual Private Cloud
|
2344
|
+
# (VPC) containing the resources you are using for your sentiment
|
2345
|
+
# detection job. For more information, see [Amazon VPC][1].
|
2346
|
+
#
|
2347
|
+
#
|
2348
|
+
#
|
2349
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
2350
|
+
#
|
2198
2351
|
# @return [Types::StartSentimentDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2199
2352
|
#
|
2200
2353
|
# * {Types::StartSentimentDetectionJobResponse#job_id #job_id} => String
|
@@ -2216,6 +2369,10 @@ module Aws::Comprehend
|
|
2216
2369
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
2217
2370
|
# client_request_token: "ClientRequestTokenString",
|
2218
2371
|
# volume_kms_key_id: "KmsKeyId",
|
2372
|
+
# vpc_config: {
|
2373
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
2374
|
+
# subnets: ["SubnetId"], # required
|
2375
|
+
# },
|
2219
2376
|
# })
|
2220
2377
|
#
|
2221
2378
|
# @example Response structure
|
@@ -2278,6 +2435,15 @@ module Aws::Comprehend
|
|
2278
2435
|
# * Amazon Resource Name (ARN) of a KMS Key:
|
2279
2436
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
2280
2437
|
#
|
2438
|
+
# @option params [Types::VpcConfig] :vpc_config
|
2439
|
+
# Configuration parameters for an optional private Virtual Private Cloud
|
2440
|
+
# (VPC) containing the resources you are using for your topic detection
|
2441
|
+
# job. For more information, see [Amazon VPC][1].
|
2442
|
+
#
|
2443
|
+
#
|
2444
|
+
#
|
2445
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
2446
|
+
#
|
2281
2447
|
# @return [Types::StartTopicsDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2282
2448
|
#
|
2283
2449
|
# * {Types::StartTopicsDetectionJobResponse#job_id #job_id} => String
|
@@ -2299,6 +2465,10 @@ module Aws::Comprehend
|
|
2299
2465
|
# number_of_topics: 1,
|
2300
2466
|
# client_request_token: "ClientRequestTokenString",
|
2301
2467
|
# volume_kms_key_id: "KmsKeyId",
|
2468
|
+
# vpc_config: {
|
2469
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
2470
|
+
# subnets: ["SubnetId"], # required
|
2471
|
+
# },
|
2302
2472
|
# })
|
2303
2473
|
#
|
2304
2474
|
# @example Response structure
|
@@ -2624,7 +2794,7 @@ module Aws::Comprehend
|
|
2624
2794
|
params: params,
|
2625
2795
|
config: config)
|
2626
2796
|
context[:gem_name] = 'aws-sdk-comprehend'
|
2627
|
-
context[:gem_version] = '1.
|
2797
|
+
context[:gem_version] = '1.19.0'
|
2628
2798
|
Seahorse::Client::Request.new(handlers, context)
|
2629
2799
|
end
|
2630
2800
|
|
@@ -161,6 +161,8 @@ module Aws::Comprehend
|
|
161
161
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
162
162
|
ResourceUnavailableException = Shapes::StructureShape.new(name: 'ResourceUnavailableException')
|
163
163
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
164
|
+
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
165
|
+
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
164
166
|
SentimentDetectionJobFilter = Shapes::StructureShape.new(name: 'SentimentDetectionJobFilter')
|
165
167
|
SentimentDetectionJobProperties = Shapes::StructureShape.new(name: 'SentimentDetectionJobProperties')
|
166
168
|
SentimentDetectionJobPropertiesList = Shapes::ListShape.new(name: 'SentimentDetectionJobPropertiesList')
|
@@ -192,6 +194,8 @@ module Aws::Comprehend
|
|
192
194
|
StopTrainingEntityRecognizerResponse = Shapes::StructureShape.new(name: 'StopTrainingEntityRecognizerResponse')
|
193
195
|
String = Shapes::StringShape.new(name: 'String')
|
194
196
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
197
|
+
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
198
|
+
Subnets = Shapes::ListShape.new(name: 'Subnets')
|
195
199
|
SyntaxLanguageCode = Shapes::StringShape.new(name: 'SyntaxLanguageCode')
|
196
200
|
SyntaxToken = Shapes::StructureShape.new(name: 'SyntaxToken')
|
197
201
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
@@ -212,6 +216,7 @@ module Aws::Comprehend
|
|
212
216
|
UnsupportedLanguageException = Shapes::StructureShape.new(name: 'UnsupportedLanguageException')
|
213
217
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
214
218
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
219
|
+
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
215
220
|
|
216
221
|
BatchDetectDominantLanguageItemResult.add_member(:index, Shapes::ShapeRef.new(shape: Integer, location_name: "Index"))
|
217
222
|
BatchDetectDominantLanguageItemResult.add_member(:languages, Shapes::ShapeRef.new(shape: ListOfDominantLanguages, location_name: "Languages"))
|
@@ -300,6 +305,7 @@ module Aws::Comprehend
|
|
300
305
|
CreateDocumentClassifierRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
301
306
|
CreateDocumentClassifierRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
302
307
|
CreateDocumentClassifierRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
308
|
+
CreateDocumentClassifierRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
303
309
|
CreateDocumentClassifierRequest.struct_class = Types::CreateDocumentClassifierRequest
|
304
310
|
|
305
311
|
CreateDocumentClassifierResponse.add_member(:document_classifier_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, location_name: "DocumentClassifierArn"))
|
@@ -312,6 +318,7 @@ module Aws::Comprehend
|
|
312
318
|
CreateEntityRecognizerRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
313
319
|
CreateEntityRecognizerRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
314
320
|
CreateEntityRecognizerRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
321
|
+
CreateEntityRecognizerRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
315
322
|
CreateEntityRecognizerRequest.struct_class = Types::CreateEntityRecognizerRequest
|
316
323
|
|
317
324
|
CreateEntityRecognizerResponse.add_member(:entity_recognizer_arn, Shapes::ShapeRef.new(shape: EntityRecognizerArn, location_name: "EntityRecognizerArn"))
|
@@ -427,6 +434,7 @@ module Aws::Comprehend
|
|
427
434
|
DocumentClassificationJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
|
428
435
|
DocumentClassificationJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
429
436
|
DocumentClassificationJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
437
|
+
DocumentClassificationJobProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
430
438
|
DocumentClassificationJobProperties.struct_class = Types::DocumentClassificationJobProperties
|
431
439
|
|
432
440
|
DocumentClassificationJobPropertiesList.member = Shapes::ShapeRef.new(shape: DocumentClassificationJobProperties)
|
@@ -456,6 +464,7 @@ module Aws::Comprehend
|
|
456
464
|
DocumentClassifierProperties.add_member(:classifier_metadata, Shapes::ShapeRef.new(shape: ClassifierMetadata, location_name: "ClassifierMetadata"))
|
457
465
|
DocumentClassifierProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
458
466
|
DocumentClassifierProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
467
|
+
DocumentClassifierProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
459
468
|
DocumentClassifierProperties.struct_class = Types::DocumentClassifierProperties
|
460
469
|
|
461
470
|
DocumentClassifierPropertiesList.member = Shapes::ShapeRef.new(shape: DocumentClassifierProperties)
|
@@ -480,6 +489,7 @@ module Aws::Comprehend
|
|
480
489
|
DominantLanguageDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
|
481
490
|
DominantLanguageDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
482
491
|
DominantLanguageDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
492
|
+
DominantLanguageDetectionJobProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
483
493
|
DominantLanguageDetectionJobProperties.struct_class = Types::DominantLanguageDetectionJobProperties
|
484
494
|
|
485
495
|
DominantLanguageDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: DominantLanguageDetectionJobProperties)
|
@@ -502,6 +512,7 @@ module Aws::Comprehend
|
|
502
512
|
EntitiesDetectionJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
503
513
|
EntitiesDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
504
514
|
EntitiesDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
515
|
+
EntitiesDetectionJobProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
505
516
|
EntitiesDetectionJobProperties.struct_class = Types::EntitiesDetectionJobProperties
|
506
517
|
|
507
518
|
EntitiesDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: EntitiesDetectionJobProperties)
|
@@ -561,6 +572,7 @@ module Aws::Comprehend
|
|
561
572
|
EntityRecognizerProperties.add_member(:recognizer_metadata, Shapes::ShapeRef.new(shape: EntityRecognizerMetadata, location_name: "RecognizerMetadata"))
|
562
573
|
EntityRecognizerProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
563
574
|
EntityRecognizerProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
575
|
+
EntityRecognizerProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
564
576
|
EntityRecognizerProperties.struct_class = Types::EntityRecognizerProperties
|
565
577
|
|
566
578
|
EntityRecognizerPropertiesList.member = Shapes::ShapeRef.new(shape: EntityRecognizerProperties)
|
@@ -597,6 +609,7 @@ module Aws::Comprehend
|
|
597
609
|
KeyPhrasesDetectionJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
598
610
|
KeyPhrasesDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
599
611
|
KeyPhrasesDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
612
|
+
KeyPhrasesDetectionJobProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
600
613
|
KeyPhrasesDetectionJobProperties.struct_class = Types::KeyPhrasesDetectionJobProperties
|
601
614
|
|
602
615
|
KeyPhrasesDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: KeyPhrasesDetectionJobProperties)
|
@@ -706,6 +719,8 @@ module Aws::Comprehend
|
|
706
719
|
PartOfSpeechTag.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
707
720
|
PartOfSpeechTag.struct_class = Types::PartOfSpeechTag
|
708
721
|
|
722
|
+
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
|
723
|
+
|
709
724
|
SentimentDetectionJobFilter.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
710
725
|
SentimentDetectionJobFilter.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
711
726
|
SentimentDetectionJobFilter.add_member(:submit_time_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmitTimeBefore"))
|
@@ -723,6 +738,7 @@ module Aws::Comprehend
|
|
723
738
|
SentimentDetectionJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
724
739
|
SentimentDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
725
740
|
SentimentDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
741
|
+
SentimentDetectionJobProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
726
742
|
SentimentDetectionJobProperties.struct_class = Types::SentimentDetectionJobProperties
|
727
743
|
|
728
744
|
SentimentDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: SentimentDetectionJobProperties)
|
@@ -740,6 +756,7 @@ module Aws::Comprehend
|
|
740
756
|
StartDocumentClassificationJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
741
757
|
StartDocumentClassificationJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
742
758
|
StartDocumentClassificationJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
759
|
+
StartDocumentClassificationJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
743
760
|
StartDocumentClassificationJobRequest.struct_class = Types::StartDocumentClassificationJobRequest
|
744
761
|
|
745
762
|
StartDocumentClassificationJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
@@ -752,6 +769,7 @@ module Aws::Comprehend
|
|
752
769
|
StartDominantLanguageDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
753
770
|
StartDominantLanguageDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
754
771
|
StartDominantLanguageDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
772
|
+
StartDominantLanguageDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
755
773
|
StartDominantLanguageDetectionJobRequest.struct_class = Types::StartDominantLanguageDetectionJobRequest
|
756
774
|
|
757
775
|
StartDominantLanguageDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
@@ -766,6 +784,7 @@ module Aws::Comprehend
|
|
766
784
|
StartEntitiesDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
767
785
|
StartEntitiesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
768
786
|
StartEntitiesDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
787
|
+
StartEntitiesDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
769
788
|
StartEntitiesDetectionJobRequest.struct_class = Types::StartEntitiesDetectionJobRequest
|
770
789
|
|
771
790
|
StartEntitiesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
@@ -779,6 +798,7 @@ module Aws::Comprehend
|
|
779
798
|
StartKeyPhrasesDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
780
799
|
StartKeyPhrasesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
781
800
|
StartKeyPhrasesDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
801
|
+
StartKeyPhrasesDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
782
802
|
StartKeyPhrasesDetectionJobRequest.struct_class = Types::StartKeyPhrasesDetectionJobRequest
|
783
803
|
|
784
804
|
StartKeyPhrasesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
@@ -792,6 +812,7 @@ module Aws::Comprehend
|
|
792
812
|
StartSentimentDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
793
813
|
StartSentimentDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
794
814
|
StartSentimentDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
815
|
+
StartSentimentDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
795
816
|
StartSentimentDetectionJobRequest.struct_class = Types::StartSentimentDetectionJobRequest
|
796
817
|
|
797
818
|
StartSentimentDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
@@ -805,6 +826,7 @@ module Aws::Comprehend
|
|
805
826
|
StartTopicsDetectionJobRequest.add_member(:number_of_topics, Shapes::ShapeRef.new(shape: NumberOfTopicsInteger, location_name: "NumberOfTopics"))
|
806
827
|
StartTopicsDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
807
828
|
StartTopicsDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
829
|
+
StartTopicsDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
808
830
|
StartTopicsDetectionJobRequest.struct_class = Types::StartTopicsDetectionJobRequest
|
809
831
|
|
810
832
|
StartTopicsDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
@@ -851,6 +873,8 @@ module Aws::Comprehend
|
|
851
873
|
|
852
874
|
StringList.member = Shapes::ShapeRef.new(shape: String)
|
853
875
|
|
876
|
+
Subnets.member = Shapes::ShapeRef.new(shape: SubnetId)
|
877
|
+
|
854
878
|
SyntaxToken.add_member(:token_id, Shapes::ShapeRef.new(shape: Integer, location_name: "TokenId"))
|
855
879
|
SyntaxToken.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
|
856
880
|
SyntaxToken.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BeginOffset"))
|
@@ -889,6 +913,7 @@ module Aws::Comprehend
|
|
889
913
|
TopicsDetectionJobProperties.add_member(:number_of_topics, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfTopics"))
|
890
914
|
TopicsDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
891
915
|
TopicsDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
916
|
+
TopicsDetectionJobProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
892
917
|
TopicsDetectionJobProperties.struct_class = Types::TopicsDetectionJobProperties
|
893
918
|
|
894
919
|
TopicsDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: TopicsDetectionJobProperties)
|
@@ -899,6 +924,10 @@ module Aws::Comprehend
|
|
899
924
|
|
900
925
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
901
926
|
|
927
|
+
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
|
928
|
+
VpcConfig.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, required: true, location_name: "Subnets"))
|
929
|
+
VpcConfig.struct_class = Types::VpcConfig
|
930
|
+
|
902
931
|
|
903
932
|
# @api private
|
904
933
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -1207,6 +1236,12 @@ module Aws::Comprehend
|
|
1207
1236
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1208
1237
|
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
|
1209
1238
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1239
|
+
o[:pager] = Aws::Pager.new(
|
1240
|
+
limit_key: "max_results",
|
1241
|
+
tokens: {
|
1242
|
+
"next_token" => "next_token"
|
1243
|
+
}
|
1244
|
+
)
|
1210
1245
|
end)
|
1211
1246
|
|
1212
1247
|
api.add_operation(:list_document_classifiers, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1219,6 +1254,12 @@ module Aws::Comprehend
|
|
1219
1254
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1220
1255
|
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
|
1221
1256
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1257
|
+
o[:pager] = Aws::Pager.new(
|
1258
|
+
limit_key: "max_results",
|
1259
|
+
tokens: {
|
1260
|
+
"next_token" => "next_token"
|
1261
|
+
}
|
1262
|
+
)
|
1222
1263
|
end)
|
1223
1264
|
|
1224
1265
|
api.add_operation(:list_dominant_language_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1267,6 +1308,12 @@ module Aws::Comprehend
|
|
1267
1308
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1268
1309
|
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterException)
|
1269
1310
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1311
|
+
o[:pager] = Aws::Pager.new(
|
1312
|
+
limit_key: "max_results",
|
1313
|
+
tokens: {
|
1314
|
+
"next_token" => "next_token"
|
1315
|
+
}
|
1316
|
+
)
|
1270
1317
|
end)
|
1271
1318
|
|
1272
1319
|
api.add_operation(:list_key_phrases_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
@@ -475,6 +475,10 @@ module Aws::Comprehend
|
|
475
475
|
# client_request_token: "ClientRequestTokenString",
|
476
476
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
477
477
|
# volume_kms_key_id: "KmsKeyId",
|
478
|
+
# vpc_config: {
|
479
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
480
|
+
# subnets: ["SubnetId"], # required
|
481
|
+
# },
|
478
482
|
# }
|
479
483
|
#
|
480
484
|
# @!attribute [rw] document_classifier_name
|
@@ -530,6 +534,16 @@ module Aws::Comprehend
|
|
530
534
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
531
535
|
# @return [String]
|
532
536
|
#
|
537
|
+
# @!attribute [rw] vpc_config
|
538
|
+
# Configuration parameters for an optional private Virtual Private
|
539
|
+
# Cloud (VPC) containing the resources you are using for your custom
|
540
|
+
# classifier. For more information, see [Amazon VPC][1].
|
541
|
+
#
|
542
|
+
#
|
543
|
+
#
|
544
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
545
|
+
# @return [Types::VpcConfig]
|
546
|
+
#
|
533
547
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateDocumentClassifierRequest AWS API Documentation
|
534
548
|
#
|
535
549
|
class CreateDocumentClassifierRequest < Struct.new(
|
@@ -540,7 +554,8 @@ module Aws::Comprehend
|
|
540
554
|
:output_data_config,
|
541
555
|
:client_request_token,
|
542
556
|
:language_code,
|
543
|
-
:volume_kms_key_id
|
557
|
+
:volume_kms_key_id,
|
558
|
+
:vpc_config)
|
544
559
|
include Aws::Structure
|
545
560
|
end
|
546
561
|
|
@@ -587,6 +602,10 @@ module Aws::Comprehend
|
|
587
602
|
# client_request_token: "ClientRequestTokenString",
|
588
603
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
589
604
|
# volume_kms_key_id: "KmsKeyId",
|
605
|
+
# vpc_config: {
|
606
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
607
|
+
# subnets: ["SubnetId"], # required
|
608
|
+
# },
|
590
609
|
# }
|
591
610
|
#
|
592
611
|
# @!attribute [rw] recognizer_name
|
@@ -641,6 +660,16 @@ module Aws::Comprehend
|
|
641
660
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
642
661
|
# @return [String]
|
643
662
|
#
|
663
|
+
# @!attribute [rw] vpc_config
|
664
|
+
# Configuration parameters for an optional private Virtual Private
|
665
|
+
# Cloud (VPC) containing the resources you are using for your custom
|
666
|
+
# entity recognizer. For more information, see [Amazon VPC][1].
|
667
|
+
#
|
668
|
+
#
|
669
|
+
#
|
670
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
671
|
+
# @return [Types::VpcConfig]
|
672
|
+
#
|
644
673
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateEntityRecognizerRequest AWS API Documentation
|
645
674
|
#
|
646
675
|
class CreateEntityRecognizerRequest < Struct.new(
|
@@ -650,7 +679,8 @@ module Aws::Comprehend
|
|
650
679
|
:input_data_config,
|
651
680
|
:client_request_token,
|
652
681
|
:language_code,
|
653
|
-
:volume_kms_key_id
|
682
|
+
:volume_kms_key_id,
|
683
|
+
:vpc_config)
|
654
684
|
include Aws::Structure
|
655
685
|
end
|
656
686
|
|
@@ -1274,6 +1304,16 @@ module Aws::Comprehend
|
|
1274
1304
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
1275
1305
|
# @return [String]
|
1276
1306
|
#
|
1307
|
+
# @!attribute [rw] vpc_config
|
1308
|
+
# Configuration parameters for a private Virtual Private Cloud (VPC)
|
1309
|
+
# containing the resources you are using for your document
|
1310
|
+
# classification job. For more information, see [Amazon VPC][1].
|
1311
|
+
#
|
1312
|
+
#
|
1313
|
+
#
|
1314
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
1315
|
+
# @return [Types::VpcConfig]
|
1316
|
+
#
|
1277
1317
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DocumentClassificationJobProperties AWS API Documentation
|
1278
1318
|
#
|
1279
1319
|
class DocumentClassificationJobProperties < Struct.new(
|
@@ -1287,7 +1327,8 @@ module Aws::Comprehend
|
|
1287
1327
|
:input_data_config,
|
1288
1328
|
:output_data_config,
|
1289
1329
|
:data_access_role_arn,
|
1290
|
-
:volume_kms_key_id
|
1330
|
+
:volume_kms_key_id,
|
1331
|
+
:vpc_config)
|
1291
1332
|
include Aws::Structure
|
1292
1333
|
end
|
1293
1334
|
|
@@ -1488,6 +1529,16 @@ module Aws::Comprehend
|
|
1488
1529
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
1489
1530
|
# @return [String]
|
1490
1531
|
#
|
1532
|
+
# @!attribute [rw] vpc_config
|
1533
|
+
# Configuration parameters for a private Virtual Private Cloud (VPC)
|
1534
|
+
# containing the resources you are using for your custom classifier.
|
1535
|
+
# For more information, see [Amazon VPC][1].
|
1536
|
+
#
|
1537
|
+
#
|
1538
|
+
#
|
1539
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
1540
|
+
# @return [Types::VpcConfig]
|
1541
|
+
#
|
1491
1542
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DocumentClassifierProperties AWS API Documentation
|
1492
1543
|
#
|
1493
1544
|
class DocumentClassifierProperties < Struct.new(
|
@@ -1503,7 +1554,8 @@ module Aws::Comprehend
|
|
1503
1554
|
:output_data_config,
|
1504
1555
|
:classifier_metadata,
|
1505
1556
|
:data_access_role_arn,
|
1506
|
-
:volume_kms_key_id
|
1557
|
+
:volume_kms_key_id,
|
1558
|
+
:vpc_config)
|
1507
1559
|
include Aws::Structure
|
1508
1560
|
end
|
1509
1561
|
|
@@ -1636,6 +1688,16 @@ module Aws::Comprehend
|
|
1636
1688
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
1637
1689
|
# @return [String]
|
1638
1690
|
#
|
1691
|
+
# @!attribute [rw] vpc_config
|
1692
|
+
# Configuration parameters for a private Virtual Private Cloud (VPC)
|
1693
|
+
# containing the resources you are using for your dominant language
|
1694
|
+
# detection job. For more information, see [Amazon VPC][1].
|
1695
|
+
#
|
1696
|
+
#
|
1697
|
+
#
|
1698
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
1699
|
+
# @return [Types::VpcConfig]
|
1700
|
+
#
|
1639
1701
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DominantLanguageDetectionJobProperties AWS API Documentation
|
1640
1702
|
#
|
1641
1703
|
class DominantLanguageDetectionJobProperties < Struct.new(
|
@@ -1648,7 +1710,8 @@ module Aws::Comprehend
|
|
1648
1710
|
:input_data_config,
|
1649
1711
|
:output_data_config,
|
1650
1712
|
:data_access_role_arn,
|
1651
|
-
:volume_kms_key_id
|
1713
|
+
:volume_kms_key_id,
|
1714
|
+
:vpc_config)
|
1652
1715
|
include Aws::Structure
|
1653
1716
|
end
|
1654
1717
|
|
@@ -1762,6 +1825,16 @@ module Aws::Comprehend
|
|
1762
1825
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
1763
1826
|
# @return [String]
|
1764
1827
|
#
|
1828
|
+
# @!attribute [rw] vpc_config
|
1829
|
+
# Configuration parameters for a private Virtual Private Cloud (VPC)
|
1830
|
+
# containing the resources you are using for your entity detection
|
1831
|
+
# job. For more information, see [Amazon VPC][1].
|
1832
|
+
#
|
1833
|
+
#
|
1834
|
+
#
|
1835
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
1836
|
+
# @return [Types::VpcConfig]
|
1837
|
+
#
|
1765
1838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/EntitiesDetectionJobProperties AWS API Documentation
|
1766
1839
|
#
|
1767
1840
|
class EntitiesDetectionJobProperties < Struct.new(
|
@@ -1776,7 +1849,8 @@ module Aws::Comprehend
|
|
1776
1849
|
:output_data_config,
|
1777
1850
|
:language_code,
|
1778
1851
|
:data_access_role_arn,
|
1779
|
-
:volume_kms_key_id
|
1852
|
+
:volume_kms_key_id,
|
1853
|
+
:vpc_config)
|
1780
1854
|
include Aws::Structure
|
1781
1855
|
end
|
1782
1856
|
|
@@ -2116,6 +2190,16 @@ module Aws::Comprehend
|
|
2116
2190
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
2117
2191
|
# @return [String]
|
2118
2192
|
#
|
2193
|
+
# @!attribute [rw] vpc_config
|
2194
|
+
# Configuration parameters for a private Virtual Private Cloud (VPC)
|
2195
|
+
# containing the resources you are using for your custom entity
|
2196
|
+
# recognizer. For more information, see [Amazon VPC][1].
|
2197
|
+
#
|
2198
|
+
#
|
2199
|
+
#
|
2200
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
2201
|
+
# @return [Types::VpcConfig]
|
2202
|
+
#
|
2119
2203
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/EntityRecognizerProperties AWS API Documentation
|
2120
2204
|
#
|
2121
2205
|
class EntityRecognizerProperties < Struct.new(
|
@@ -2130,7 +2214,8 @@ module Aws::Comprehend
|
|
2130
2214
|
:input_data_config,
|
2131
2215
|
:recognizer_metadata,
|
2132
2216
|
:data_access_role_arn,
|
2133
|
-
:volume_kms_key_id
|
2217
|
+
:volume_kms_key_id,
|
2218
|
+
:vpc_config)
|
2134
2219
|
include Aws::Structure
|
2135
2220
|
end
|
2136
2221
|
|
@@ -2339,6 +2424,16 @@ module Aws::Comprehend
|
|
2339
2424
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
2340
2425
|
# @return [String]
|
2341
2426
|
#
|
2427
|
+
# @!attribute [rw] vpc_config
|
2428
|
+
# Configuration parameters for a private Virtual Private Cloud (VPC)
|
2429
|
+
# containing the resources you are using for your key phrases
|
2430
|
+
# detection job. For more information, see [Amazon VPC][1].
|
2431
|
+
#
|
2432
|
+
#
|
2433
|
+
#
|
2434
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
2435
|
+
# @return [Types::VpcConfig]
|
2436
|
+
#
|
2342
2437
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/KeyPhrasesDetectionJobProperties AWS API Documentation
|
2343
2438
|
#
|
2344
2439
|
class KeyPhrasesDetectionJobProperties < Struct.new(
|
@@ -2352,7 +2447,8 @@ module Aws::Comprehend
|
|
2352
2447
|
:output_data_config,
|
2353
2448
|
:language_code,
|
2354
2449
|
:data_access_role_arn,
|
2355
|
-
:volume_kms_key_id
|
2450
|
+
:volume_kms_key_id,
|
2451
|
+
:vpc_config)
|
2356
2452
|
include Aws::Structure
|
2357
2453
|
end
|
2358
2454
|
|
@@ -3001,6 +3097,16 @@ module Aws::Comprehend
|
|
3001
3097
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
3002
3098
|
# @return [String]
|
3003
3099
|
#
|
3100
|
+
# @!attribute [rw] vpc_config
|
3101
|
+
# Configuration parameters for a private Virtual Private Cloud (VPC)
|
3102
|
+
# containing the resources you are using for your sentiment detection
|
3103
|
+
# job. For more information, see [Amazon VPC][1].
|
3104
|
+
#
|
3105
|
+
#
|
3106
|
+
#
|
3107
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
3108
|
+
# @return [Types::VpcConfig]
|
3109
|
+
#
|
3004
3110
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/SentimentDetectionJobProperties AWS API Documentation
|
3005
3111
|
#
|
3006
3112
|
class SentimentDetectionJobProperties < Struct.new(
|
@@ -3014,7 +3120,8 @@ module Aws::Comprehend
|
|
3014
3120
|
:output_data_config,
|
3015
3121
|
:language_code,
|
3016
3122
|
:data_access_role_arn,
|
3017
|
-
:volume_kms_key_id
|
3123
|
+
:volume_kms_key_id,
|
3124
|
+
:vpc_config)
|
3018
3125
|
include Aws::Structure
|
3019
3126
|
end
|
3020
3127
|
|
@@ -3068,6 +3175,10 @@ module Aws::Comprehend
|
|
3068
3175
|
# data_access_role_arn: "IamRoleArn", # required
|
3069
3176
|
# client_request_token: "ClientRequestTokenString",
|
3070
3177
|
# volume_kms_key_id: "KmsKeyId",
|
3178
|
+
# vpc_config: {
|
3179
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
3180
|
+
# subnets: ["SubnetId"], # required
|
3181
|
+
# },
|
3071
3182
|
# }
|
3072
3183
|
#
|
3073
3184
|
# @!attribute [rw] job_name
|
@@ -3113,6 +3224,16 @@ module Aws::Comprehend
|
|
3113
3224
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
3114
3225
|
# @return [String]
|
3115
3226
|
#
|
3227
|
+
# @!attribute [rw] vpc_config
|
3228
|
+
# Configuration parameters for an optional private Virtual Private
|
3229
|
+
# Cloud (VPC) containing the resources you are using for your document
|
3230
|
+
# classification job. For more information, see [Amazon VPC][1].
|
3231
|
+
#
|
3232
|
+
#
|
3233
|
+
#
|
3234
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
3235
|
+
# @return [Types::VpcConfig]
|
3236
|
+
#
|
3116
3237
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartDocumentClassificationJobRequest AWS API Documentation
|
3117
3238
|
#
|
3118
3239
|
class StartDocumentClassificationJobRequest < Struct.new(
|
@@ -3122,7 +3243,8 @@ module Aws::Comprehend
|
|
3122
3243
|
:output_data_config,
|
3123
3244
|
:data_access_role_arn,
|
3124
3245
|
:client_request_token,
|
3125
|
-
:volume_kms_key_id
|
3246
|
+
:volume_kms_key_id,
|
3247
|
+
:vpc_config)
|
3126
3248
|
include Aws::Structure
|
3127
3249
|
end
|
3128
3250
|
|
@@ -3173,6 +3295,10 @@ module Aws::Comprehend
|
|
3173
3295
|
# job_name: "JobName",
|
3174
3296
|
# client_request_token: "ClientRequestTokenString",
|
3175
3297
|
# volume_kms_key_id: "KmsKeyId",
|
3298
|
+
# vpc_config: {
|
3299
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
3300
|
+
# subnets: ["SubnetId"], # required
|
3301
|
+
# },
|
3176
3302
|
# }
|
3177
3303
|
#
|
3178
3304
|
# @!attribute [rw] input_data_config
|
@@ -3218,6 +3344,16 @@ module Aws::Comprehend
|
|
3218
3344
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
3219
3345
|
# @return [String]
|
3220
3346
|
#
|
3347
|
+
# @!attribute [rw] vpc_config
|
3348
|
+
# Configuration parameters for an optional private Virtual Private
|
3349
|
+
# Cloud (VPC) containing the resources you are using for your dominant
|
3350
|
+
# language detection job. For more information, see [Amazon VPC][1].
|
3351
|
+
#
|
3352
|
+
#
|
3353
|
+
#
|
3354
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
3355
|
+
# @return [Types::VpcConfig]
|
3356
|
+
#
|
3221
3357
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartDominantLanguageDetectionJobRequest AWS API Documentation
|
3222
3358
|
#
|
3223
3359
|
class StartDominantLanguageDetectionJobRequest < Struct.new(
|
@@ -3226,7 +3362,8 @@ module Aws::Comprehend
|
|
3226
3362
|
:data_access_role_arn,
|
3227
3363
|
:job_name,
|
3228
3364
|
:client_request_token,
|
3229
|
-
:volume_kms_key_id
|
3365
|
+
:volume_kms_key_id,
|
3366
|
+
:vpc_config)
|
3230
3367
|
include Aws::Structure
|
3231
3368
|
end
|
3232
3369
|
|
@@ -3276,6 +3413,10 @@ module Aws::Comprehend
|
|
3276
3413
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
3277
3414
|
# client_request_token: "ClientRequestTokenString",
|
3278
3415
|
# volume_kms_key_id: "KmsKeyId",
|
3416
|
+
# vpc_config: {
|
3417
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
3418
|
+
# subnets: ["SubnetId"], # required
|
3419
|
+
# },
|
3279
3420
|
# }
|
3280
3421
|
#
|
3281
3422
|
# @!attribute [rw] input_data_config
|
@@ -3336,6 +3477,16 @@ module Aws::Comprehend
|
|
3336
3477
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
3337
3478
|
# @return [String]
|
3338
3479
|
#
|
3480
|
+
# @!attribute [rw] vpc_config
|
3481
|
+
# Configuration parameters for an optional private Virtual Private
|
3482
|
+
# Cloud (VPC) containing the resources you are using for your entity
|
3483
|
+
# detection job. For more information, see [Amazon VPC][1].
|
3484
|
+
#
|
3485
|
+
#
|
3486
|
+
#
|
3487
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
3488
|
+
# @return [Types::VpcConfig]
|
3489
|
+
#
|
3339
3490
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartEntitiesDetectionJobRequest AWS API Documentation
|
3340
3491
|
#
|
3341
3492
|
class StartEntitiesDetectionJobRequest < Struct.new(
|
@@ -3346,7 +3497,8 @@ module Aws::Comprehend
|
|
3346
3497
|
:entity_recognizer_arn,
|
3347
3498
|
:language_code,
|
3348
3499
|
:client_request_token,
|
3349
|
-
:volume_kms_key_id
|
3500
|
+
:volume_kms_key_id,
|
3501
|
+
:vpc_config)
|
3350
3502
|
include Aws::Structure
|
3351
3503
|
end
|
3352
3504
|
|
@@ -3400,6 +3552,10 @@ module Aws::Comprehend
|
|
3400
3552
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
3401
3553
|
# client_request_token: "ClientRequestTokenString",
|
3402
3554
|
# volume_kms_key_id: "KmsKeyId",
|
3555
|
+
# vpc_config: {
|
3556
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
3557
|
+
# subnets: ["SubnetId"], # required
|
3558
|
+
# },
|
3403
3559
|
# }
|
3404
3560
|
#
|
3405
3561
|
# @!attribute [rw] input_data_config
|
@@ -3451,6 +3607,16 @@ module Aws::Comprehend
|
|
3451
3607
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
3452
3608
|
# @return [String]
|
3453
3609
|
#
|
3610
|
+
# @!attribute [rw] vpc_config
|
3611
|
+
# Configuration parameters for an optional private Virtual Private
|
3612
|
+
# Cloud (VPC) containing the resources you are using for your key
|
3613
|
+
# phrases detection job. For more information, see [Amazon VPC][1].
|
3614
|
+
#
|
3615
|
+
#
|
3616
|
+
#
|
3617
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
3618
|
+
# @return [Types::VpcConfig]
|
3619
|
+
#
|
3454
3620
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartKeyPhrasesDetectionJobRequest AWS API Documentation
|
3455
3621
|
#
|
3456
3622
|
class StartKeyPhrasesDetectionJobRequest < Struct.new(
|
@@ -3460,7 +3626,8 @@ module Aws::Comprehend
|
|
3460
3626
|
:job_name,
|
3461
3627
|
:language_code,
|
3462
3628
|
:client_request_token,
|
3463
|
-
:volume_kms_key_id
|
3629
|
+
:volume_kms_key_id,
|
3630
|
+
:vpc_config)
|
3464
3631
|
include Aws::Structure
|
3465
3632
|
end
|
3466
3633
|
|
@@ -3509,6 +3676,10 @@ module Aws::Comprehend
|
|
3509
3676
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt
|
3510
3677
|
# client_request_token: "ClientRequestTokenString",
|
3511
3678
|
# volume_kms_key_id: "KmsKeyId",
|
3679
|
+
# vpc_config: {
|
3680
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
3681
|
+
# subnets: ["SubnetId"], # required
|
3682
|
+
# },
|
3512
3683
|
# }
|
3513
3684
|
#
|
3514
3685
|
# @!attribute [rw] input_data_config
|
@@ -3560,6 +3731,16 @@ module Aws::Comprehend
|
|
3560
3731
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
3561
3732
|
# @return [String]
|
3562
3733
|
#
|
3734
|
+
# @!attribute [rw] vpc_config
|
3735
|
+
# Configuration parameters for an optional private Virtual Private
|
3736
|
+
# Cloud (VPC) containing the resources you are using for your
|
3737
|
+
# sentiment detection job. For more information, see [Amazon VPC][1].
|
3738
|
+
#
|
3739
|
+
#
|
3740
|
+
#
|
3741
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
3742
|
+
# @return [Types::VpcConfig]
|
3743
|
+
#
|
3563
3744
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartSentimentDetectionJobRequest AWS API Documentation
|
3564
3745
|
#
|
3565
3746
|
class StartSentimentDetectionJobRequest < Struct.new(
|
@@ -3569,7 +3750,8 @@ module Aws::Comprehend
|
|
3569
3750
|
:job_name,
|
3570
3751
|
:language_code,
|
3571
3752
|
:client_request_token,
|
3572
|
-
:volume_kms_key_id
|
3753
|
+
:volume_kms_key_id,
|
3754
|
+
:vpc_config)
|
3573
3755
|
include Aws::Structure
|
3574
3756
|
end
|
3575
3757
|
|
@@ -3618,6 +3800,10 @@ module Aws::Comprehend
|
|
3618
3800
|
# number_of_topics: 1,
|
3619
3801
|
# client_request_token: "ClientRequestTokenString",
|
3620
3802
|
# volume_kms_key_id: "KmsKeyId",
|
3803
|
+
# vpc_config: {
|
3804
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
3805
|
+
# subnets: ["SubnetId"], # required
|
3806
|
+
# },
|
3621
3807
|
# }
|
3622
3808
|
#
|
3623
3809
|
# @!attribute [rw] input_data_config
|
@@ -3670,6 +3856,16 @@ module Aws::Comprehend
|
|
3670
3856
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
3671
3857
|
# @return [String]
|
3672
3858
|
#
|
3859
|
+
# @!attribute [rw] vpc_config
|
3860
|
+
# Configuration parameters for an optional private Virtual Private
|
3861
|
+
# Cloud (VPC) containing the resources you are using for your topic
|
3862
|
+
# detection job. For more information, see [Amazon VPC][1].
|
3863
|
+
#
|
3864
|
+
#
|
3865
|
+
#
|
3866
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
3867
|
+
# @return [Types::VpcConfig]
|
3868
|
+
#
|
3673
3869
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartTopicsDetectionJobRequest AWS API Documentation
|
3674
3870
|
#
|
3675
3871
|
class StartTopicsDetectionJobRequest < Struct.new(
|
@@ -3679,7 +3875,8 @@ module Aws::Comprehend
|
|
3679
3875
|
:job_name,
|
3680
3876
|
:number_of_topics,
|
3681
3877
|
:client_request_token,
|
3682
|
-
:volume_kms_key_id
|
3878
|
+
:volume_kms_key_id,
|
3879
|
+
:vpc_config)
|
3683
3880
|
include Aws::Structure
|
3684
3881
|
end
|
3685
3882
|
|
@@ -4119,6 +4316,16 @@ module Aws::Comprehend
|
|
4119
4316
|
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
4120
4317
|
# @return [String]
|
4121
4318
|
#
|
4319
|
+
# @!attribute [rw] vpc_config
|
4320
|
+
# Configuration parameters for a private Virtual Private Cloud (VPC)
|
4321
|
+
# containing the resources you are using for your topic detection job.
|
4322
|
+
# For more information, see [Amazon VPC][1].
|
4323
|
+
#
|
4324
|
+
#
|
4325
|
+
#
|
4326
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
4327
|
+
# @return [Types::VpcConfig]
|
4328
|
+
#
|
4122
4329
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/TopicsDetectionJobProperties AWS API Documentation
|
4123
4330
|
#
|
4124
4331
|
class TopicsDetectionJobProperties < Struct.new(
|
@@ -4132,7 +4339,8 @@ module Aws::Comprehend
|
|
4132
4339
|
:output_data_config,
|
4133
4340
|
:number_of_topics,
|
4134
4341
|
:data_access_role_arn,
|
4135
|
-
:volume_kms_key_id
|
4342
|
+
:volume_kms_key_id,
|
4343
|
+
:vpc_config)
|
4136
4344
|
include Aws::Structure
|
4137
4345
|
end
|
4138
4346
|
|
@@ -4169,5 +4377,56 @@ module Aws::Comprehend
|
|
4169
4377
|
#
|
4170
4378
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
4171
4379
|
|
4380
|
+
# Configuration parameters for an optional private Virtual Private Cloud
|
4381
|
+
# (VPC) containing the resources you are using for the job. For For more
|
4382
|
+
# information, see [Amazon VPC][1].
|
4383
|
+
#
|
4384
|
+
#
|
4385
|
+
#
|
4386
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
4387
|
+
#
|
4388
|
+
# @note When making an API call, you may pass VpcConfig
|
4389
|
+
# data as a hash:
|
4390
|
+
#
|
4391
|
+
# {
|
4392
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
4393
|
+
# subnets: ["SubnetId"], # required
|
4394
|
+
# }
|
4395
|
+
#
|
4396
|
+
# @!attribute [rw] security_group_ids
|
4397
|
+
# The ID number for a security group on an instance of your private
|
4398
|
+
# VPC. Security groups on your VPC function serve as a virtual
|
4399
|
+
# firewall to control inbound and outbound traffic and provides
|
4400
|
+
# security for the resources that you’ll be accessing on the VPC. This
|
4401
|
+
# ID number is preceded by "sg-", for instance:
|
4402
|
+
# "sg-03b388029b0a285ea". For more information, see [Security Groups
|
4403
|
+
# for your VPC][1].
|
4404
|
+
#
|
4405
|
+
#
|
4406
|
+
#
|
4407
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html
|
4408
|
+
# @return [Array<String>]
|
4409
|
+
#
|
4410
|
+
# @!attribute [rw] subnets
|
4411
|
+
# The ID for each subnet being used in your private VPC. This subnet
|
4412
|
+
# is a subset of the a range of IPv4 addresses used by the VPC and is
|
4413
|
+
# specific to a given availability zone in the VPC’s region. This ID
|
4414
|
+
# number is preceded by "subnet-", for instance:
|
4415
|
+
# "subnet-04ccf456919e69055". For more information, see [VPCs and
|
4416
|
+
# Subnets][1].
|
4417
|
+
#
|
4418
|
+
#
|
4419
|
+
#
|
4420
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
|
4421
|
+
# @return [Array<String>]
|
4422
|
+
#
|
4423
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/VpcConfig AWS API Documentation
|
4424
|
+
#
|
4425
|
+
class VpcConfig < Struct.new(
|
4426
|
+
:security_group_ids,
|
4427
|
+
:subnets)
|
4428
|
+
include Aws::Structure
|
4429
|
+
end
|
4430
|
+
|
4172
4431
|
end
|
4173
4432
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-comprehend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -59,7 +59,7 @@ files:
|
|
59
59
|
- lib/aws-sdk-comprehend/errors.rb
|
60
60
|
- lib/aws-sdk-comprehend/resource.rb
|
61
61
|
- lib/aws-sdk-comprehend/types.rb
|
62
|
-
homepage:
|
62
|
+
homepage: https://github.com/aws/aws-sdk-ruby
|
63
63
|
licenses:
|
64
64
|
- Apache-2.0
|
65
65
|
metadata:
|