aws-sdk-comprehend 1.48.0 → 1.49.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-comprehend.rb +1 -1
- data/lib/aws-sdk-comprehend/client.rb +129 -1
- data/lib/aws-sdk-comprehend/client_api.rb +32 -0
- data/lib/aws-sdk-comprehend/types.rb +345 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e84ed3b91bde0a46d306f27ef576c8d786121dce4ff08bce6eee7ee9cab9a1cc
|
4
|
+
data.tar.gz: fd48e0402e535df6409ef3f873bcb2b602454d11a13cff7c87ba072369282898
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4548e853d136310b906f1ed7026e31ce53615faf3ff65546f4496b1ea7e076026a626e73487caa7d541753039fd28687faca3dffd899079d85da16e7cba57ddb
|
7
|
+
data.tar.gz: 3932323d51c44ba763fabfa26d7beca99900f2848b653ae0c363f69c22b6542126df3902c07fdfe906a81050ba5992fc08eb57f4dc2e62c0525feac39fa6e4b5
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
data/lib/aws-sdk-comprehend.rb
CHANGED
@@ -1098,6 +1098,7 @@ module Aws::Comprehend
|
|
1098
1098
|
# @example Response structure
|
1099
1099
|
#
|
1100
1100
|
# resp.document_classification_job_properties.job_id #=> String
|
1101
|
+
# resp.document_classification_job_properties.job_arn #=> String
|
1101
1102
|
# resp.document_classification_job_properties.job_name #=> String
|
1102
1103
|
# resp.document_classification_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
1103
1104
|
# resp.document_classification_job_properties.message #=> String
|
@@ -1208,6 +1209,7 @@ module Aws::Comprehend
|
|
1208
1209
|
# @example Response structure
|
1209
1210
|
#
|
1210
1211
|
# resp.dominant_language_detection_job_properties.job_id #=> String
|
1212
|
+
# resp.dominant_language_detection_job_properties.job_arn #=> String
|
1211
1213
|
# resp.dominant_language_detection_job_properties.job_name #=> String
|
1212
1214
|
# resp.dominant_language_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
1213
1215
|
# resp.dominant_language_detection_job_properties.message #=> String
|
@@ -1290,6 +1292,7 @@ module Aws::Comprehend
|
|
1290
1292
|
# @example Response structure
|
1291
1293
|
#
|
1292
1294
|
# resp.entities_detection_job_properties.job_id #=> String
|
1295
|
+
# resp.entities_detection_job_properties.job_arn #=> String
|
1293
1296
|
# resp.entities_detection_job_properties.job_name #=> String
|
1294
1297
|
# resp.entities_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
1295
1298
|
# resp.entities_detection_job_properties.message #=> String
|
@@ -1400,6 +1403,7 @@ module Aws::Comprehend
|
|
1400
1403
|
# @example Response structure
|
1401
1404
|
#
|
1402
1405
|
# resp.events_detection_job_properties.job_id #=> String
|
1406
|
+
# resp.events_detection_job_properties.job_arn #=> String
|
1403
1407
|
# resp.events_detection_job_properties.job_name #=> String
|
1404
1408
|
# resp.events_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
1405
1409
|
# resp.events_detection_job_properties.message #=> String
|
@@ -1443,6 +1447,7 @@ module Aws::Comprehend
|
|
1443
1447
|
# @example Response structure
|
1444
1448
|
#
|
1445
1449
|
# resp.key_phrases_detection_job_properties.job_id #=> String
|
1450
|
+
# resp.key_phrases_detection_job_properties.job_arn #=> String
|
1446
1451
|
# resp.key_phrases_detection_job_properties.job_name #=> String
|
1447
1452
|
# resp.key_phrases_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
1448
1453
|
# resp.key_phrases_detection_job_properties.message #=> String
|
@@ -1489,6 +1494,7 @@ module Aws::Comprehend
|
|
1489
1494
|
# @example Response structure
|
1490
1495
|
#
|
1491
1496
|
# resp.pii_entities_detection_job_properties.job_id #=> String
|
1497
|
+
# resp.pii_entities_detection_job_properties.job_arn #=> String
|
1492
1498
|
# resp.pii_entities_detection_job_properties.job_name #=> String
|
1493
1499
|
# resp.pii_entities_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
1494
1500
|
# resp.pii_entities_detection_job_properties.message #=> String
|
@@ -1535,6 +1541,7 @@ module Aws::Comprehend
|
|
1535
1541
|
# @example Response structure
|
1536
1542
|
#
|
1537
1543
|
# resp.sentiment_detection_job_properties.job_id #=> String
|
1544
|
+
# resp.sentiment_detection_job_properties.job_arn #=> String
|
1538
1545
|
# resp.sentiment_detection_job_properties.job_name #=> String
|
1539
1546
|
# resp.sentiment_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
1540
1547
|
# resp.sentiment_detection_job_properties.message #=> String
|
@@ -1580,6 +1587,7 @@ module Aws::Comprehend
|
|
1580
1587
|
# @example Response structure
|
1581
1588
|
#
|
1582
1589
|
# resp.topics_detection_job_properties.job_id #=> String
|
1590
|
+
# resp.topics_detection_job_properties.job_arn #=> String
|
1583
1591
|
# resp.topics_detection_job_properties.job_name #=> String
|
1584
1592
|
# resp.topics_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
1585
1593
|
# resp.topics_detection_job_properties.message #=> String
|
@@ -1899,6 +1907,7 @@ module Aws::Comprehend
|
|
1899
1907
|
#
|
1900
1908
|
# resp.document_classification_job_properties_list #=> Array
|
1901
1909
|
# resp.document_classification_job_properties_list[0].job_id #=> String
|
1910
|
+
# resp.document_classification_job_properties_list[0].job_arn #=> String
|
1902
1911
|
# resp.document_classification_job_properties_list[0].job_name #=> String
|
1903
1912
|
# resp.document_classification_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
1904
1913
|
# resp.document_classification_job_properties_list[0].message #=> String
|
@@ -2048,6 +2057,7 @@ module Aws::Comprehend
|
|
2048
2057
|
#
|
2049
2058
|
# resp.dominant_language_detection_job_properties_list #=> Array
|
2050
2059
|
# resp.dominant_language_detection_job_properties_list[0].job_id #=> String
|
2060
|
+
# resp.dominant_language_detection_job_properties_list[0].job_arn #=> String
|
2051
2061
|
# resp.dominant_language_detection_job_properties_list[0].job_name #=> String
|
2052
2062
|
# resp.dominant_language_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
2053
2063
|
# resp.dominant_language_detection_job_properties_list[0].message #=> String
|
@@ -2167,6 +2177,7 @@ module Aws::Comprehend
|
|
2167
2177
|
#
|
2168
2178
|
# resp.entities_detection_job_properties_list #=> Array
|
2169
2179
|
# resp.entities_detection_job_properties_list[0].job_id #=> String
|
2180
|
+
# resp.entities_detection_job_properties_list[0].job_arn #=> String
|
2170
2181
|
# resp.entities_detection_job_properties_list[0].job_name #=> String
|
2171
2182
|
# resp.entities_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
2172
2183
|
# resp.entities_detection_job_properties_list[0].message #=> String
|
@@ -2322,6 +2333,7 @@ module Aws::Comprehend
|
|
2322
2333
|
#
|
2323
2334
|
# resp.events_detection_job_properties_list #=> Array
|
2324
2335
|
# resp.events_detection_job_properties_list[0].job_id #=> String
|
2336
|
+
# resp.events_detection_job_properties_list[0].job_arn #=> String
|
2325
2337
|
# resp.events_detection_job_properties_list[0].job_name #=> String
|
2326
2338
|
# resp.events_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
2327
2339
|
# resp.events_detection_job_properties_list[0].message #=> String
|
@@ -2384,6 +2396,7 @@ module Aws::Comprehend
|
|
2384
2396
|
#
|
2385
2397
|
# resp.key_phrases_detection_job_properties_list #=> Array
|
2386
2398
|
# resp.key_phrases_detection_job_properties_list[0].job_id #=> String
|
2399
|
+
# resp.key_phrases_detection_job_properties_list[0].job_arn #=> String
|
2387
2400
|
# resp.key_phrases_detection_job_properties_list[0].job_name #=> String
|
2388
2401
|
# resp.key_phrases_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
2389
2402
|
# resp.key_phrases_detection_job_properties_list[0].message #=> String
|
@@ -2446,6 +2459,7 @@ module Aws::Comprehend
|
|
2446
2459
|
#
|
2447
2460
|
# resp.pii_entities_detection_job_properties_list #=> Array
|
2448
2461
|
# resp.pii_entities_detection_job_properties_list[0].job_id #=> String
|
2462
|
+
# resp.pii_entities_detection_job_properties_list[0].job_arn #=> String
|
2449
2463
|
# resp.pii_entities_detection_job_properties_list[0].job_name #=> String
|
2450
2464
|
# resp.pii_entities_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
2451
2465
|
# resp.pii_entities_detection_job_properties_list[0].message #=> String
|
@@ -2511,6 +2525,7 @@ module Aws::Comprehend
|
|
2511
2525
|
#
|
2512
2526
|
# resp.sentiment_detection_job_properties_list #=> Array
|
2513
2527
|
# resp.sentiment_detection_job_properties_list[0].job_id #=> String
|
2528
|
+
# resp.sentiment_detection_job_properties_list[0].job_arn #=> String
|
2514
2529
|
# resp.sentiment_detection_job_properties_list[0].job_name #=> String
|
2515
2530
|
# resp.sentiment_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
2516
2531
|
# resp.sentiment_detection_job_properties_list[0].message #=> String
|
@@ -2609,6 +2624,7 @@ module Aws::Comprehend
|
|
2609
2624
|
#
|
2610
2625
|
# resp.topics_detection_job_properties_list #=> Array
|
2611
2626
|
# resp.topics_detection_job_properties_list[0].job_id #=> String
|
2627
|
+
# resp.topics_detection_job_properties_list[0].job_arn #=> String
|
2612
2628
|
# resp.topics_detection_job_properties_list[0].job_name #=> String
|
2613
2629
|
# resp.topics_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
2614
2630
|
# resp.topics_detection_job_properties_list[0].message #=> String
|
@@ -2684,9 +2700,16 @@ module Aws::Comprehend
|
|
2684
2700
|
#
|
2685
2701
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
2686
2702
|
#
|
2703
|
+
# @option params [Array<Types::Tag>] :tags
|
2704
|
+
# Tags to be associated with the document classification job. A tag is a
|
2705
|
+
# key-value pair that adds metadata to a resource used by Amazon
|
2706
|
+
# Comprehend. For example, a tag with "Sales" as the key might be
|
2707
|
+
# added to a resource to indicate its use by the sales department.
|
2708
|
+
#
|
2687
2709
|
# @return [Types::StartDocumentClassificationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2688
2710
|
#
|
2689
2711
|
# * {Types::StartDocumentClassificationJobResponse#job_id #job_id} => String
|
2712
|
+
# * {Types::StartDocumentClassificationJobResponse#job_arn #job_arn} => String
|
2690
2713
|
# * {Types::StartDocumentClassificationJobResponse#job_status #job_status} => String
|
2691
2714
|
#
|
2692
2715
|
# @example Request syntax with placeholder values
|
@@ -2709,11 +2732,18 @@ module Aws::Comprehend
|
|
2709
2732
|
# security_group_ids: ["SecurityGroupId"], # required
|
2710
2733
|
# subnets: ["SubnetId"], # required
|
2711
2734
|
# },
|
2735
|
+
# tags: [
|
2736
|
+
# {
|
2737
|
+
# key: "TagKey", # required
|
2738
|
+
# value: "TagValue",
|
2739
|
+
# },
|
2740
|
+
# ],
|
2712
2741
|
# })
|
2713
2742
|
#
|
2714
2743
|
# @example Response structure
|
2715
2744
|
#
|
2716
2745
|
# resp.job_id #=> String
|
2746
|
+
# resp.job_arn #=> String
|
2717
2747
|
# resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
2718
2748
|
#
|
2719
2749
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartDocumentClassificationJob AWS API Documentation
|
@@ -2775,9 +2805,16 @@ module Aws::Comprehend
|
|
2775
2805
|
#
|
2776
2806
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
2777
2807
|
#
|
2808
|
+
# @option params [Array<Types::Tag>] :tags
|
2809
|
+
# Tags to be associated with the dominant language detection job. A tag
|
2810
|
+
# is a key-value pair that adds metadata to a resource used by Amazon
|
2811
|
+
# Comprehend. For example, a tag with "Sales" as the key might be
|
2812
|
+
# added to a resource to indicate its use by the sales department.
|
2813
|
+
#
|
2778
2814
|
# @return [Types::StartDominantLanguageDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2779
2815
|
#
|
2780
2816
|
# * {Types::StartDominantLanguageDetectionJobResponse#job_id #job_id} => String
|
2817
|
+
# * {Types::StartDominantLanguageDetectionJobResponse#job_arn #job_arn} => String
|
2781
2818
|
# * {Types::StartDominantLanguageDetectionJobResponse#job_status #job_status} => String
|
2782
2819
|
#
|
2783
2820
|
# @example Request syntax with placeholder values
|
@@ -2799,11 +2836,18 @@ module Aws::Comprehend
|
|
2799
2836
|
# security_group_ids: ["SecurityGroupId"], # required
|
2800
2837
|
# subnets: ["SubnetId"], # required
|
2801
2838
|
# },
|
2839
|
+
# tags: [
|
2840
|
+
# {
|
2841
|
+
# key: "TagKey", # required
|
2842
|
+
# value: "TagValue",
|
2843
|
+
# },
|
2844
|
+
# ],
|
2802
2845
|
# })
|
2803
2846
|
#
|
2804
2847
|
# @example Response structure
|
2805
2848
|
#
|
2806
2849
|
# resp.job_id #=> String
|
2850
|
+
# resp.job_arn #=> String
|
2807
2851
|
# resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
2808
2852
|
#
|
2809
2853
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartDominantLanguageDetectionJob AWS API Documentation
|
@@ -2880,9 +2924,16 @@ module Aws::Comprehend
|
|
2880
2924
|
#
|
2881
2925
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
2882
2926
|
#
|
2927
|
+
# @option params [Array<Types::Tag>] :tags
|
2928
|
+
# Tags to be associated with the entities detection job. A tag is a
|
2929
|
+
# key-value pair that adds metadata to a resource used by Amazon
|
2930
|
+
# Comprehend. For example, a tag with "Sales" as the key might be
|
2931
|
+
# added to a resource to indicate its use by the sales department.
|
2932
|
+
#
|
2883
2933
|
# @return [Types::StartEntitiesDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2884
2934
|
#
|
2885
2935
|
# * {Types::StartEntitiesDetectionJobResponse#job_id #job_id} => String
|
2936
|
+
# * {Types::StartEntitiesDetectionJobResponse#job_arn #job_arn} => String
|
2886
2937
|
# * {Types::StartEntitiesDetectionJobResponse#job_status #job_status} => String
|
2887
2938
|
#
|
2888
2939
|
# @example Request syntax with placeholder values
|
@@ -2906,11 +2957,18 @@ module Aws::Comprehend
|
|
2906
2957
|
# security_group_ids: ["SecurityGroupId"], # required
|
2907
2958
|
# subnets: ["SubnetId"], # required
|
2908
2959
|
# },
|
2960
|
+
# tags: [
|
2961
|
+
# {
|
2962
|
+
# key: "TagKey", # required
|
2963
|
+
# value: "TagValue",
|
2964
|
+
# },
|
2965
|
+
# ],
|
2909
2966
|
# })
|
2910
2967
|
#
|
2911
2968
|
# @example Response structure
|
2912
2969
|
#
|
2913
2970
|
# resp.job_id #=> String
|
2971
|
+
# resp.job_arn #=> String
|
2914
2972
|
# resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
2915
2973
|
#
|
2916
2974
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartEntitiesDetectionJob AWS API Documentation
|
@@ -2952,9 +3010,16 @@ module Aws::Comprehend
|
|
2952
3010
|
# @option params [required, Array<String>] :target_event_types
|
2953
3011
|
# The types of events to detect in the input documents.
|
2954
3012
|
#
|
3013
|
+
# @option params [Array<Types::Tag>] :tags
|
3014
|
+
# Tags to be associated with the events detection job. A tag is a
|
3015
|
+
# key-value pair that adds metadata to a resource used by Amazon
|
3016
|
+
# Comprehend. For example, a tag with "Sales" as the key might be
|
3017
|
+
# added to a resource to indicate its use by the sales department.
|
3018
|
+
#
|
2955
3019
|
# @return [Types::StartEventsDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2956
3020
|
#
|
2957
3021
|
# * {Types::StartEventsDetectionJobResponse#job_id #job_id} => String
|
3022
|
+
# * {Types::StartEventsDetectionJobResponse#job_arn #job_arn} => String
|
2958
3023
|
# * {Types::StartEventsDetectionJobResponse#job_status #job_status} => String
|
2959
3024
|
#
|
2960
3025
|
# @example Request syntax with placeholder values
|
@@ -2973,11 +3038,18 @@ module Aws::Comprehend
|
|
2973
3038
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
2974
3039
|
# client_request_token: "ClientRequestTokenString",
|
2975
3040
|
# target_event_types: ["EventTypeString"], # required
|
3041
|
+
# tags: [
|
3042
|
+
# {
|
3043
|
+
# key: "TagKey", # required
|
3044
|
+
# value: "TagValue",
|
3045
|
+
# },
|
3046
|
+
# ],
|
2976
3047
|
# })
|
2977
3048
|
#
|
2978
3049
|
# @example Response structure
|
2979
3050
|
#
|
2980
3051
|
# resp.job_id #=> String
|
3052
|
+
# resp.job_arn #=> String
|
2981
3053
|
# resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
2982
3054
|
#
|
2983
3055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartEventsDetectionJob AWS API Documentation
|
@@ -3043,9 +3115,16 @@ module Aws::Comprehend
|
|
3043
3115
|
#
|
3044
3116
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
3045
3117
|
#
|
3118
|
+
# @option params [Array<Types::Tag>] :tags
|
3119
|
+
# Tags to be associated with the key phrases detection job. A tag is a
|
3120
|
+
# key-value pair that adds metadata to a resource used by Amazon
|
3121
|
+
# Comprehend. For example, a tag with "Sales" as the key might be
|
3122
|
+
# added to a resource to indicate its use by the sales department.
|
3123
|
+
#
|
3046
3124
|
# @return [Types::StartKeyPhrasesDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3047
3125
|
#
|
3048
3126
|
# * {Types::StartKeyPhrasesDetectionJobResponse#job_id #job_id} => String
|
3127
|
+
# * {Types::StartKeyPhrasesDetectionJobResponse#job_arn #job_arn} => String
|
3049
3128
|
# * {Types::StartKeyPhrasesDetectionJobResponse#job_status #job_status} => String
|
3050
3129
|
#
|
3051
3130
|
# @example Request syntax with placeholder values
|
@@ -3068,11 +3147,18 @@ module Aws::Comprehend
|
|
3068
3147
|
# security_group_ids: ["SecurityGroupId"], # required
|
3069
3148
|
# subnets: ["SubnetId"], # required
|
3070
3149
|
# },
|
3150
|
+
# tags: [
|
3151
|
+
# {
|
3152
|
+
# key: "TagKey", # required
|
3153
|
+
# value: "TagValue",
|
3154
|
+
# },
|
3155
|
+
# ],
|
3071
3156
|
# })
|
3072
3157
|
#
|
3073
3158
|
# @example Response structure
|
3074
3159
|
#
|
3075
3160
|
# resp.job_id #=> String
|
3161
|
+
# resp.job_arn #=> String
|
3076
3162
|
# resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
3077
3163
|
#
|
3078
3164
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartKeyPhrasesDetectionJob AWS API Documentation
|
@@ -3123,9 +3209,16 @@ module Aws::Comprehend
|
|
3123
3209
|
# **A suitable default value is auto-generated.** You should normally
|
3124
3210
|
# not need to pass this option.**
|
3125
3211
|
#
|
3212
|
+
# @option params [Array<Types::Tag>] :tags
|
3213
|
+
# Tags to be associated with the PII entities detection job. A tag is a
|
3214
|
+
# key-value pair that adds metadata to a resource used by Amazon
|
3215
|
+
# Comprehend. For example, a tag with "Sales" as the key might be
|
3216
|
+
# added to a resource to indicate its use by the sales department.
|
3217
|
+
#
|
3126
3218
|
# @return [Types::StartPiiEntitiesDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3127
3219
|
#
|
3128
3220
|
# * {Types::StartPiiEntitiesDetectionJobResponse#job_id #job_id} => String
|
3221
|
+
# * {Types::StartPiiEntitiesDetectionJobResponse#job_arn #job_arn} => String
|
3129
3222
|
# * {Types::StartPiiEntitiesDetectionJobResponse#job_status #job_status} => String
|
3130
3223
|
#
|
3131
3224
|
# @example Request syntax with placeholder values
|
@@ -3149,11 +3242,18 @@ module Aws::Comprehend
|
|
3149
3242
|
# job_name: "JobName",
|
3150
3243
|
# language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
|
3151
3244
|
# client_request_token: "ClientRequestTokenString",
|
3245
|
+
# tags: [
|
3246
|
+
# {
|
3247
|
+
# key: "TagKey", # required
|
3248
|
+
# value: "TagValue",
|
3249
|
+
# },
|
3250
|
+
# ],
|
3152
3251
|
# })
|
3153
3252
|
#
|
3154
3253
|
# @example Response structure
|
3155
3254
|
#
|
3156
3255
|
# resp.job_id #=> String
|
3256
|
+
# resp.job_arn #=> String
|
3157
3257
|
# resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
3158
3258
|
#
|
3159
3259
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartPiiEntitiesDetectionJob AWS API Documentation
|
@@ -3219,9 +3319,16 @@ module Aws::Comprehend
|
|
3219
3319
|
#
|
3220
3320
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
3221
3321
|
#
|
3322
|
+
# @option params [Array<Types::Tag>] :tags
|
3323
|
+
# Tags to be associated with the sentiment detection job. A tag is a
|
3324
|
+
# key-value pair that adds metadata to a resource used by Amazon
|
3325
|
+
# Comprehend. For example, a tag with "Sales" as the key might be
|
3326
|
+
# added to a resource to indicate its use by the sales department.
|
3327
|
+
#
|
3222
3328
|
# @return [Types::StartSentimentDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3223
3329
|
#
|
3224
3330
|
# * {Types::StartSentimentDetectionJobResponse#job_id #job_id} => String
|
3331
|
+
# * {Types::StartSentimentDetectionJobResponse#job_arn #job_arn} => String
|
3225
3332
|
# * {Types::StartSentimentDetectionJobResponse#job_status #job_status} => String
|
3226
3333
|
#
|
3227
3334
|
# @example Request syntax with placeholder values
|
@@ -3244,11 +3351,18 @@ module Aws::Comprehend
|
|
3244
3351
|
# security_group_ids: ["SecurityGroupId"], # required
|
3245
3352
|
# subnets: ["SubnetId"], # required
|
3246
3353
|
# },
|
3354
|
+
# tags: [
|
3355
|
+
# {
|
3356
|
+
# key: "TagKey", # required
|
3357
|
+
# value: "TagValue",
|
3358
|
+
# },
|
3359
|
+
# ],
|
3247
3360
|
# })
|
3248
3361
|
#
|
3249
3362
|
# @example Response structure
|
3250
3363
|
#
|
3251
3364
|
# resp.job_id #=> String
|
3365
|
+
# resp.job_arn #=> String
|
3252
3366
|
# resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
3253
3367
|
#
|
3254
3368
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartSentimentDetectionJob AWS API Documentation
|
@@ -3315,9 +3429,16 @@ module Aws::Comprehend
|
|
3315
3429
|
#
|
3316
3430
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
3317
3431
|
#
|
3432
|
+
# @option params [Array<Types::Tag>] :tags
|
3433
|
+
# Tags to be associated with the topics detection job. A tag is a
|
3434
|
+
# key-value pair that adds metadata to a resource used by Amazon
|
3435
|
+
# Comprehend. For example, a tag with "Sales" as the key might be
|
3436
|
+
# added to a resource to indicate its use by the sales department.
|
3437
|
+
#
|
3318
3438
|
# @return [Types::StartTopicsDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3319
3439
|
#
|
3320
3440
|
# * {Types::StartTopicsDetectionJobResponse#job_id #job_id} => String
|
3441
|
+
# * {Types::StartTopicsDetectionJobResponse#job_arn #job_arn} => String
|
3321
3442
|
# * {Types::StartTopicsDetectionJobResponse#job_status #job_status} => String
|
3322
3443
|
#
|
3323
3444
|
# @example Request syntax with placeholder values
|
@@ -3340,11 +3461,18 @@ module Aws::Comprehend
|
|
3340
3461
|
# security_group_ids: ["SecurityGroupId"], # required
|
3341
3462
|
# subnets: ["SubnetId"], # required
|
3342
3463
|
# },
|
3464
|
+
# tags: [
|
3465
|
+
# {
|
3466
|
+
# key: "TagKey", # required
|
3467
|
+
# value: "TagValue",
|
3468
|
+
# },
|
3469
|
+
# ],
|
3343
3470
|
# })
|
3344
3471
|
#
|
3345
3472
|
# @example Response structure
|
3346
3473
|
#
|
3347
3474
|
# resp.job_id #=> String
|
3475
|
+
# resp.job_arn #=> String
|
3348
3476
|
# resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
|
3349
3477
|
#
|
3350
3478
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartTopicsDetectionJob AWS API Documentation
|
@@ -3753,7 +3881,7 @@ module Aws::Comprehend
|
|
3753
3881
|
params: params,
|
3754
3882
|
config: config)
|
3755
3883
|
context[:gem_name] = 'aws-sdk-comprehend'
|
3756
|
-
context[:gem_version] = '1.
|
3884
|
+
context[:gem_version] = '1.49.0'
|
3757
3885
|
Seahorse::Client::Request.new(handlers, context)
|
3758
3886
|
end
|
3759
3887
|
|
@@ -584,6 +584,7 @@ module Aws::Comprehend
|
|
584
584
|
DocumentClassificationJobFilter.struct_class = Types::DocumentClassificationJobFilter
|
585
585
|
|
586
586
|
DocumentClassificationJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
587
|
+
DocumentClassificationJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
587
588
|
DocumentClassificationJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
588
589
|
DocumentClassificationJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
589
590
|
DocumentClassificationJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -651,6 +652,7 @@ module Aws::Comprehend
|
|
651
652
|
DominantLanguageDetectionJobFilter.struct_class = Types::DominantLanguageDetectionJobFilter
|
652
653
|
|
653
654
|
DominantLanguageDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
655
|
+
DominantLanguageDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
654
656
|
DominantLanguageDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
655
657
|
DominantLanguageDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
656
658
|
DominantLanguageDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -691,6 +693,7 @@ module Aws::Comprehend
|
|
691
693
|
EntitiesDetectionJobFilter.struct_class = Types::EntitiesDetectionJobFilter
|
692
694
|
|
693
695
|
EntitiesDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
696
|
+
EntitiesDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
694
697
|
EntitiesDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
695
698
|
EntitiesDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
696
699
|
EntitiesDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -795,6 +798,7 @@ module Aws::Comprehend
|
|
795
798
|
EventsDetectionJobFilter.struct_class = Types::EventsDetectionJobFilter
|
796
799
|
|
797
800
|
EventsDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
801
|
+
EventsDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
798
802
|
EventsDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
799
803
|
EventsDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
800
804
|
EventsDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -838,6 +842,7 @@ module Aws::Comprehend
|
|
838
842
|
KeyPhrasesDetectionJobFilter.struct_class = Types::KeyPhrasesDetectionJobFilter
|
839
843
|
|
840
844
|
KeyPhrasesDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
845
|
+
KeyPhrasesDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
841
846
|
KeyPhrasesDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
842
847
|
KeyPhrasesDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
843
848
|
KeyPhrasesDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -1005,6 +1010,7 @@ module Aws::Comprehend
|
|
1005
1010
|
PiiEntitiesDetectionJobFilter.struct_class = Types::PiiEntitiesDetectionJobFilter
|
1006
1011
|
|
1007
1012
|
PiiEntitiesDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1013
|
+
PiiEntitiesDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1008
1014
|
PiiEntitiesDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1009
1015
|
PiiEntitiesDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1010
1016
|
PiiEntitiesDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -1056,6 +1062,7 @@ module Aws::Comprehend
|
|
1056
1062
|
SentimentDetectionJobFilter.struct_class = Types::SentimentDetectionJobFilter
|
1057
1063
|
|
1058
1064
|
SentimentDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1065
|
+
SentimentDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1059
1066
|
SentimentDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1060
1067
|
SentimentDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1061
1068
|
SentimentDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -1085,9 +1092,11 @@ module Aws::Comprehend
|
|
1085
1092
|
StartDocumentClassificationJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1086
1093
|
StartDocumentClassificationJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1087
1094
|
StartDocumentClassificationJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1095
|
+
StartDocumentClassificationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1088
1096
|
StartDocumentClassificationJobRequest.struct_class = Types::StartDocumentClassificationJobRequest
|
1089
1097
|
|
1090
1098
|
StartDocumentClassificationJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1099
|
+
StartDocumentClassificationJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1091
1100
|
StartDocumentClassificationJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1092
1101
|
StartDocumentClassificationJobResponse.struct_class = Types::StartDocumentClassificationJobResponse
|
1093
1102
|
|
@@ -1098,9 +1107,11 @@ module Aws::Comprehend
|
|
1098
1107
|
StartDominantLanguageDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1099
1108
|
StartDominantLanguageDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1100
1109
|
StartDominantLanguageDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1110
|
+
StartDominantLanguageDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1101
1111
|
StartDominantLanguageDetectionJobRequest.struct_class = Types::StartDominantLanguageDetectionJobRequest
|
1102
1112
|
|
1103
1113
|
StartDominantLanguageDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1114
|
+
StartDominantLanguageDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1104
1115
|
StartDominantLanguageDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1105
1116
|
StartDominantLanguageDetectionJobResponse.struct_class = Types::StartDominantLanguageDetectionJobResponse
|
1106
1117
|
|
@@ -1113,9 +1124,11 @@ module Aws::Comprehend
|
|
1113
1124
|
StartEntitiesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1114
1125
|
StartEntitiesDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1115
1126
|
StartEntitiesDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1127
|
+
StartEntitiesDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1116
1128
|
StartEntitiesDetectionJobRequest.struct_class = Types::StartEntitiesDetectionJobRequest
|
1117
1129
|
|
1118
1130
|
StartEntitiesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1131
|
+
StartEntitiesDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1119
1132
|
StartEntitiesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1120
1133
|
StartEntitiesDetectionJobResponse.struct_class = Types::StartEntitiesDetectionJobResponse
|
1121
1134
|
|
@@ -1126,9 +1139,11 @@ module Aws::Comprehend
|
|
1126
1139
|
StartEventsDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
1127
1140
|
StartEventsDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1128
1141
|
StartEventsDetectionJobRequest.add_member(:target_event_types, Shapes::ShapeRef.new(shape: TargetEventTypes, required: true, location_name: "TargetEventTypes"))
|
1142
|
+
StartEventsDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1129
1143
|
StartEventsDetectionJobRequest.struct_class = Types::StartEventsDetectionJobRequest
|
1130
1144
|
|
1131
1145
|
StartEventsDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1146
|
+
StartEventsDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1132
1147
|
StartEventsDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1133
1148
|
StartEventsDetectionJobResponse.struct_class = Types::StartEventsDetectionJobResponse
|
1134
1149
|
|
@@ -1140,9 +1155,11 @@ module Aws::Comprehend
|
|
1140
1155
|
StartKeyPhrasesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1141
1156
|
StartKeyPhrasesDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1142
1157
|
StartKeyPhrasesDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1158
|
+
StartKeyPhrasesDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1143
1159
|
StartKeyPhrasesDetectionJobRequest.struct_class = Types::StartKeyPhrasesDetectionJobRequest
|
1144
1160
|
|
1145
1161
|
StartKeyPhrasesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1162
|
+
StartKeyPhrasesDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1146
1163
|
StartKeyPhrasesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1147
1164
|
StartKeyPhrasesDetectionJobResponse.struct_class = Types::StartKeyPhrasesDetectionJobResponse
|
1148
1165
|
|
@@ -1154,9 +1171,11 @@ module Aws::Comprehend
|
|
1154
1171
|
StartPiiEntitiesDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1155
1172
|
StartPiiEntitiesDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
1156
1173
|
StartPiiEntitiesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1174
|
+
StartPiiEntitiesDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1157
1175
|
StartPiiEntitiesDetectionJobRequest.struct_class = Types::StartPiiEntitiesDetectionJobRequest
|
1158
1176
|
|
1159
1177
|
StartPiiEntitiesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1178
|
+
StartPiiEntitiesDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1160
1179
|
StartPiiEntitiesDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1161
1180
|
StartPiiEntitiesDetectionJobResponse.struct_class = Types::StartPiiEntitiesDetectionJobResponse
|
1162
1181
|
|
@@ -1168,9 +1187,11 @@ module Aws::Comprehend
|
|
1168
1187
|
StartSentimentDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1169
1188
|
StartSentimentDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1170
1189
|
StartSentimentDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1190
|
+
StartSentimentDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1171
1191
|
StartSentimentDetectionJobRequest.struct_class = Types::StartSentimentDetectionJobRequest
|
1172
1192
|
|
1173
1193
|
StartSentimentDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1194
|
+
StartSentimentDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1174
1195
|
StartSentimentDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1175
1196
|
StartSentimentDetectionJobResponse.struct_class = Types::StartSentimentDetectionJobResponse
|
1176
1197
|
|
@@ -1182,9 +1203,11 @@ module Aws::Comprehend
|
|
1182
1203
|
StartTopicsDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1183
1204
|
StartTopicsDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
1184
1205
|
StartTopicsDetectionJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
1206
|
+
StartTopicsDetectionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1185
1207
|
StartTopicsDetectionJobRequest.struct_class = Types::StartTopicsDetectionJobRequest
|
1186
1208
|
|
1187
1209
|
StartTopicsDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1210
|
+
StartTopicsDetectionJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1188
1211
|
StartTopicsDetectionJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1189
1212
|
StartTopicsDetectionJobResponse.struct_class = Types::StartTopicsDetectionJobResponse
|
1190
1213
|
|
@@ -1284,6 +1307,7 @@ module Aws::Comprehend
|
|
1284
1307
|
TopicsDetectionJobFilter.struct_class = Types::TopicsDetectionJobFilter
|
1285
1308
|
|
1286
1309
|
TopicsDetectionJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
1310
|
+
TopicsDetectionJobProperties.add_member(:job_arn, Shapes::ShapeRef.new(shape: ComprehendArn, location_name: "JobArn"))
|
1287
1311
|
TopicsDetectionJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
1288
1312
|
TopicsDetectionJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
1289
1313
|
TopicsDetectionJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: AnyLengthString, location_name: "Message"))
|
@@ -1925,6 +1949,7 @@ module Aws::Comprehend
|
|
1925
1949
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1926
1950
|
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
1927
1951
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
1952
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1928
1953
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1929
1954
|
end)
|
1930
1955
|
|
@@ -1937,6 +1962,7 @@ module Aws::Comprehend
|
|
1937
1962
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1938
1963
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1939
1964
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
1965
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1940
1966
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1941
1967
|
end)
|
1942
1968
|
|
@@ -1951,6 +1977,7 @@ module Aws::Comprehend
|
|
1951
1977
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1952
1978
|
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
1953
1979
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
1980
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1954
1981
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1955
1982
|
end)
|
1956
1983
|
|
@@ -1963,6 +1990,7 @@ module Aws::Comprehend
|
|
1963
1990
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1964
1991
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1965
1992
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
1993
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1966
1994
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1967
1995
|
end)
|
1968
1996
|
|
@@ -1975,6 +2003,7 @@ module Aws::Comprehend
|
|
1975
2003
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1976
2004
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1977
2005
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2006
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1978
2007
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1979
2008
|
end)
|
1980
2009
|
|
@@ -1987,6 +2016,7 @@ module Aws::Comprehend
|
|
1987
2016
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1988
2017
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1989
2018
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2019
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1990
2020
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1991
2021
|
end)
|
1992
2022
|
|
@@ -1999,6 +2029,7 @@ module Aws::Comprehend
|
|
1999
2029
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2000
2030
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2001
2031
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2032
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
2002
2033
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2003
2034
|
end)
|
2004
2035
|
|
@@ -2011,6 +2042,7 @@ module Aws::Comprehend
|
|
2011
2042
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2012
2043
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2013
2044
|
o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
|
2045
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
2014
2046
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2015
2047
|
end)
|
2016
2048
|
|