aws-sdk-comprehend 1.46.0 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +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
- data/lib/aws-sdk-comprehend.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6b8c990eb8f22c9347bb33832a67cbb7decb7c3e2d3e26f5c55645c6f66112e
|
4
|
+
data.tar.gz: 3480e954c55a8a1fa34a2fc713e7ef70fef60b6b788e4962037b186bad2941d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77a1b79f708c26bd95b417c884e8c0fc4c3245e20b4eca2ee4f6cd7a65c9c712617ad6a5123a080ce72bab677cbc41b880103a360253ee84c35eb43e327db97b
|
7
|
+
data.tar.gz: ae140ad7047606ac4e7db331f20aaf81825caa98909f8e39e235ea3d741405e854d38f3d39a04cfb478ec23a32e80e829e4c5df688685698b160ba2e2a380e17
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.50.0 (2021-09-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.49.0 (2021-08-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add tagging support for Comprehend async inference job.
|
13
|
+
|
14
|
+
1.48.0 (2021-07-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.47.0 (2021-07-28)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.46.0 (2021-03-31)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.50.0
|
@@ -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.50.0'
|
3757
3885
|
Seahorse::Client::Request.new(handlers, context)
|
3758
3886
|
end
|
3759
3887
|
|