aws-sdk-comprehend 1.15.0 → 1.16.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d90acedcad117f0969ca3d6724da324255a4aa3
4
- data.tar.gz: f251b7357503398f4a2094c7911be06904d37e3a
3
+ metadata.gz: 328a510eae0aee211314783cbe08ad064c4fbdbd
4
+ data.tar.gz: 58f5abb69616db4f130bb4810dfe9123bf0f3efb
5
5
  SHA512:
6
- metadata.gz: 75de7d75522610cb06680fe9f9957b32502a55045315e08d5f3a7a364dbac1eaca79810773cf3a4400dafc18f740cfd3f9f226699089b887f47d9b2ffce85ca5
7
- data.tar.gz: 119e994eef5ad0180d346728e902dcb19074008db6f7bb97e6cda53404257191b13b8b723ea52ea810240d6878e603f80f0e47fa1c19b868fb8408b52fe8b61a
6
+ metadata.gz: 52b677dc7e1dc539eb5a6198ac95bdbad44f21038261dd399147f44597aa4e939c4ad8a53127be81185fa03e84eadffd13e041fdcb8dc9fdc8fd72102a50433a
7
+ data.tar.gz: e1c25136aad244ea7b3db49d8c65e046080e0ce43d84b54262394202bab06fce556d07c21094e4b79cdfcc5f00bfab6c56295dc8e97b2bb310c309722c52abde
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-comprehend/customizations'
42
42
  # @service
43
43
  module Aws::Comprehend
44
44
 
45
- GEM_VERSION = '1.15.0'
45
+ GEM_VERSION = '1.16.0'
46
46
 
47
47
  end
@@ -209,6 +209,49 @@ module Aws::Comprehend
209
209
  # When `true`, request parameters are validated before
210
210
  # sending the request.
211
211
  #
212
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
213
+ # requests through. Formatted like 'http://proxy.com:123'.
214
+ #
215
+ # @option options [Float] :http_open_timeout (15) The number of
216
+ # seconds to wait when opening a HTTP session before rasing a
217
+ # `Timeout::Error`.
218
+ #
219
+ # @option options [Integer] :http_read_timeout (60) The default
220
+ # number of seconds to wait for response data. This value can
221
+ # safely be set
222
+ # per-request on the session yeidled by {#session_for}.
223
+ #
224
+ # @option options [Float] :http_idle_timeout (5) The number of
225
+ # seconds a connection is allowed to sit idble before it is
226
+ # considered stale. Stale connections are closed and removed
227
+ # from the pool before making a request.
228
+ #
229
+ # @option options [Float] :http_continue_timeout (1) The number of
230
+ # seconds to wait for a 100-continue response before sending the
231
+ # request body. This option has no effect unless the request has
232
+ # "Expect" header set to "100-continue". Defaults to `nil` which
233
+ # disables this behaviour. This value can safely be set per
234
+ # request on the session yeidled by {#session_for}.
235
+ #
236
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
237
+ # HTTP debug output will be sent to the `:logger`.
238
+ #
239
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
240
+ # SSL peer certificates are verified when establishing a
241
+ # connection.
242
+ #
243
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
244
+ # certificate authority bundle file that should be used when
245
+ # verifying peer certificates. If you do not pass
246
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
247
+ # will be used if available.
248
+ #
249
+ # @option options [String] :ssl_ca_directory Full path of the
250
+ # directory that contains the unbundled SSL certificate
251
+ # authority files for verifying peer certificates. If you do
252
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
253
+ # system default will be used if available.
254
+ #
212
255
  def initialize(*args)
213
256
  super
214
257
  end
@@ -221,7 +264,7 @@ module Aws::Comprehend
221
264
  #
222
265
  #
223
266
  #
224
- # [1]: http://docs.aws.amazon.com/comprehend/latest/dg/how-languages.html
267
+ # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/how-languages.html
225
268
  #
226
269
  # @option params [required, Array<String>] :text_list
227
270
  # A list containing the text of the input documents. The list can
@@ -483,6 +526,17 @@ module Aws::Comprehend
483
526
  # The language of the input documents. You can specify English ("en")
484
527
  # or Spanish ("es"). All documents must be in the same language.
485
528
  #
529
+ # @option params [String] :volume_kms_key_id
530
+ # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
531
+ # uses to encrypt data on the storage volume attached to the ML compute
532
+ # instance(s) that process the analysis job. The VolumeKmsKeyId can be
533
+ # either of the following formats:
534
+ #
535
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
536
+ #
537
+ # * Amazon Resource Name (ARN) of a KMS Key:
538
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
539
+ #
486
540
  # @return [Types::CreateDocumentClassifierResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
487
541
  #
488
542
  # * {Types::CreateDocumentClassifierResponse#document_classifier_arn #document_classifier_arn} => String
@@ -497,6 +551,7 @@ module Aws::Comprehend
497
551
  # },
498
552
  # client_request_token: "ClientRequestTokenString",
499
553
  # language_code: "en", # required, accepts en, es, fr, de, it, pt
554
+ # volume_kms_key_id: "KmsKeyId",
500
555
  # })
501
556
  #
502
557
  # @example Response structure
@@ -543,6 +598,17 @@ module Aws::Comprehend
543
598
  # The language of the input documents. All documents must be in the same
544
599
  # language. Only English ("en") is currently supported.
545
600
  #
601
+ # @option params [String] :volume_kms_key_id
602
+ # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
603
+ # uses to encrypt data on the storage volume attached to the ML compute
604
+ # instance(s) that process the analysis job. The VolumeKmsKeyId can be
605
+ # either of the following formats:
606
+ #
607
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
608
+ #
609
+ # * Amazon Resource Name (ARN) of a KMS Key:
610
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
611
+ #
546
612
  # @return [Types::CreateEntityRecognizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
547
613
  #
548
614
  # * {Types::CreateEntityRecognizerResponse#entity_recognizer_arn #entity_recognizer_arn} => String
@@ -570,6 +636,7 @@ module Aws::Comprehend
570
636
  # },
571
637
  # client_request_token: "ClientRequestTokenString",
572
638
  # language_code: "en", # required, accepts en, es, fr, de, it, pt
639
+ # volume_kms_key_id: "KmsKeyId",
573
640
  # })
574
641
  #
575
642
  # @example Response structure
@@ -677,7 +744,9 @@ module Aws::Comprehend
677
744
  # resp.document_classification_job_properties.input_data_config.s3_uri #=> String
678
745
  # resp.document_classification_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
679
746
  # resp.document_classification_job_properties.output_data_config.s3_uri #=> String
747
+ # resp.document_classification_job_properties.output_data_config.kms_key_id #=> String
680
748
  # resp.document_classification_job_properties.data_access_role_arn #=> String
749
+ # resp.document_classification_job_properties.volume_kms_key_id #=> String
681
750
  #
682
751
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDocumentClassificationJob AWS API Documentation
683
752
  #
@@ -723,6 +792,7 @@ module Aws::Comprehend
723
792
  # resp.document_classifier_properties.classifier_metadata.evaluation_metrics.recall #=> Float
724
793
  # resp.document_classifier_properties.classifier_metadata.evaluation_metrics.f1_score #=> Float
725
794
  # resp.document_classifier_properties.data_access_role_arn #=> String
795
+ # resp.document_classifier_properties.volume_kms_key_id #=> String
726
796
  #
727
797
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDocumentClassifier AWS API Documentation
728
798
  #
@@ -761,7 +831,9 @@ module Aws::Comprehend
761
831
  # resp.dominant_language_detection_job_properties.input_data_config.s3_uri #=> String
762
832
  # resp.dominant_language_detection_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
763
833
  # resp.dominant_language_detection_job_properties.output_data_config.s3_uri #=> String
834
+ # resp.dominant_language_detection_job_properties.output_data_config.kms_key_id #=> String
764
835
  # resp.dominant_language_detection_job_properties.data_access_role_arn #=> String
836
+ # resp.dominant_language_detection_job_properties.volume_kms_key_id #=> String
765
837
  #
766
838
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDominantLanguageDetectionJob AWS API Documentation
767
839
  #
@@ -801,8 +873,10 @@ module Aws::Comprehend
801
873
  # resp.entities_detection_job_properties.input_data_config.s3_uri #=> String
802
874
  # resp.entities_detection_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
803
875
  # resp.entities_detection_job_properties.output_data_config.s3_uri #=> String
876
+ # resp.entities_detection_job_properties.output_data_config.kms_key_id #=> String
804
877
  # resp.entities_detection_job_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt"
805
878
  # resp.entities_detection_job_properties.data_access_role_arn #=> String
879
+ # resp.entities_detection_job_properties.volume_kms_key_id #=> String
806
880
  #
807
881
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEntitiesDetectionJob AWS API Documentation
808
882
  #
@@ -853,6 +927,7 @@ module Aws::Comprehend
853
927
  # resp.entity_recognizer_properties.recognizer_metadata.entity_types #=> Array
854
928
  # resp.entity_recognizer_properties.recognizer_metadata.entity_types[0].type #=> String
855
929
  # resp.entity_recognizer_properties.data_access_role_arn #=> String
930
+ # resp.entity_recognizer_properties.volume_kms_key_id #=> String
856
931
  #
857
932
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEntityRecognizer AWS API Documentation
858
933
  #
@@ -891,8 +966,10 @@ module Aws::Comprehend
891
966
  # resp.key_phrases_detection_job_properties.input_data_config.s3_uri #=> String
892
967
  # resp.key_phrases_detection_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
893
968
  # resp.key_phrases_detection_job_properties.output_data_config.s3_uri #=> String
969
+ # resp.key_phrases_detection_job_properties.output_data_config.kms_key_id #=> String
894
970
  # resp.key_phrases_detection_job_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt"
895
971
  # resp.key_phrases_detection_job_properties.data_access_role_arn #=> String
972
+ # resp.key_phrases_detection_job_properties.volume_kms_key_id #=> String
896
973
  #
897
974
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeKeyPhrasesDetectionJob AWS API Documentation
898
975
  #
@@ -931,8 +1008,10 @@ module Aws::Comprehend
931
1008
  # resp.sentiment_detection_job_properties.input_data_config.s3_uri #=> String
932
1009
  # resp.sentiment_detection_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
933
1010
  # resp.sentiment_detection_job_properties.output_data_config.s3_uri #=> String
1011
+ # resp.sentiment_detection_job_properties.output_data_config.kms_key_id #=> String
934
1012
  # resp.sentiment_detection_job_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt"
935
1013
  # resp.sentiment_detection_job_properties.data_access_role_arn #=> String
1014
+ # resp.sentiment_detection_job_properties.volume_kms_key_id #=> String
936
1015
  #
937
1016
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeSentimentDetectionJob AWS API Documentation
938
1017
  #
@@ -970,7 +1049,10 @@ module Aws::Comprehend
970
1049
  # resp.topics_detection_job_properties.input_data_config.s3_uri #=> String
971
1050
  # resp.topics_detection_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
972
1051
  # resp.topics_detection_job_properties.output_data_config.s3_uri #=> String
1052
+ # resp.topics_detection_job_properties.output_data_config.kms_key_id #=> String
973
1053
  # resp.topics_detection_job_properties.number_of_topics #=> Integer
1054
+ # resp.topics_detection_job_properties.data_access_role_arn #=> String
1055
+ # resp.topics_detection_job_properties.volume_kms_key_id #=> String
974
1056
  #
975
1057
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeTopicsDetectionJob AWS API Documentation
976
1058
  #
@@ -987,7 +1069,7 @@ module Aws::Comprehend
987
1069
  #
988
1070
  #
989
1071
  #
990
- # [1]: http://docs.aws.amazon.com/comprehend/latest/dg/how-languages.html
1072
+ # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/how-languages.html
991
1073
  #
992
1074
  # @option params [required, String] :text
993
1075
  # A UTF-8 text string. Each string should contain at least 20 characters
@@ -1223,7 +1305,9 @@ module Aws::Comprehend
1223
1305
  # resp.document_classification_job_properties_list[0].input_data_config.s3_uri #=> String
1224
1306
  # resp.document_classification_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1225
1307
  # resp.document_classification_job_properties_list[0].output_data_config.s3_uri #=> String
1308
+ # resp.document_classification_job_properties_list[0].output_data_config.kms_key_id #=> String
1226
1309
  # resp.document_classification_job_properties_list[0].data_access_role_arn #=> String
1310
+ # resp.document_classification_job_properties_list[0].volume_kms_key_id #=> String
1227
1311
  # resp.next_token #=> String
1228
1312
  #
1229
1313
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDocumentClassificationJobs AWS API Documentation
@@ -1286,6 +1370,7 @@ module Aws::Comprehend
1286
1370
  # resp.document_classifier_properties_list[0].classifier_metadata.evaluation_metrics.recall #=> Float
1287
1371
  # resp.document_classifier_properties_list[0].classifier_metadata.evaluation_metrics.f1_score #=> Float
1288
1372
  # resp.document_classifier_properties_list[0].data_access_role_arn #=> String
1373
+ # resp.document_classifier_properties_list[0].volume_kms_key_id #=> String
1289
1374
  # resp.next_token #=> String
1290
1375
  #
1291
1376
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDocumentClassifiers AWS API Documentation
@@ -1342,7 +1427,9 @@ module Aws::Comprehend
1342
1427
  # resp.dominant_language_detection_job_properties_list[0].input_data_config.s3_uri #=> String
1343
1428
  # resp.dominant_language_detection_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1344
1429
  # resp.dominant_language_detection_job_properties_list[0].output_data_config.s3_uri #=> String
1430
+ # resp.dominant_language_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
1345
1431
  # resp.dominant_language_detection_job_properties_list[0].data_access_role_arn #=> String
1432
+ # resp.dominant_language_detection_job_properties_list[0].volume_kms_key_id #=> String
1346
1433
  # resp.next_token #=> String
1347
1434
  #
1348
1435
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDominantLanguageDetectionJobs AWS API Documentation
@@ -1399,8 +1486,10 @@ module Aws::Comprehend
1399
1486
  # resp.entities_detection_job_properties_list[0].input_data_config.s3_uri #=> String
1400
1487
  # resp.entities_detection_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1401
1488
  # resp.entities_detection_job_properties_list[0].output_data_config.s3_uri #=> String
1489
+ # resp.entities_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
1402
1490
  # resp.entities_detection_job_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt"
1403
1491
  # resp.entities_detection_job_properties_list[0].data_access_role_arn #=> String
1492
+ # resp.entities_detection_job_properties_list[0].volume_kms_key_id #=> String
1404
1493
  # resp.next_token #=> String
1405
1494
  #
1406
1495
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntitiesDetectionJobs AWS API Documentation
@@ -1474,6 +1563,7 @@ module Aws::Comprehend
1474
1563
  # resp.entity_recognizer_properties_list[0].recognizer_metadata.entity_types #=> Array
1475
1564
  # resp.entity_recognizer_properties_list[0].recognizer_metadata.entity_types[0].type #=> String
1476
1565
  # resp.entity_recognizer_properties_list[0].data_access_role_arn #=> String
1566
+ # resp.entity_recognizer_properties_list[0].volume_kms_key_id #=> String
1477
1567
  # resp.next_token #=> String
1478
1568
  #
1479
1569
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntityRecognizers AWS API Documentation
@@ -1529,8 +1619,10 @@ module Aws::Comprehend
1529
1619
  # resp.key_phrases_detection_job_properties_list[0].input_data_config.s3_uri #=> String
1530
1620
  # resp.key_phrases_detection_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1531
1621
  # resp.key_phrases_detection_job_properties_list[0].output_data_config.s3_uri #=> String
1622
+ # resp.key_phrases_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
1532
1623
  # resp.key_phrases_detection_job_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt"
1533
1624
  # resp.key_phrases_detection_job_properties_list[0].data_access_role_arn #=> String
1625
+ # resp.key_phrases_detection_job_properties_list[0].volume_kms_key_id #=> String
1534
1626
  # resp.next_token #=> String
1535
1627
  #
1536
1628
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListKeyPhrasesDetectionJobs AWS API Documentation
@@ -1586,8 +1678,10 @@ module Aws::Comprehend
1586
1678
  # resp.sentiment_detection_job_properties_list[0].input_data_config.s3_uri #=> String
1587
1679
  # resp.sentiment_detection_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1588
1680
  # resp.sentiment_detection_job_properties_list[0].output_data_config.s3_uri #=> String
1681
+ # resp.sentiment_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
1589
1682
  # resp.sentiment_detection_job_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt"
1590
1683
  # resp.sentiment_detection_job_properties_list[0].data_access_role_arn #=> String
1684
+ # resp.sentiment_detection_job_properties_list[0].volume_kms_key_id #=> String
1591
1685
  # resp.next_token #=> String
1592
1686
  #
1593
1687
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListSentimentDetectionJobs AWS API Documentation
@@ -1643,7 +1737,10 @@ module Aws::Comprehend
1643
1737
  # resp.topics_detection_job_properties_list[0].input_data_config.s3_uri #=> String
1644
1738
  # resp.topics_detection_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1645
1739
  # resp.topics_detection_job_properties_list[0].output_data_config.s3_uri #=> String
1740
+ # resp.topics_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
1646
1741
  # resp.topics_detection_job_properties_list[0].number_of_topics #=> Integer
1742
+ # resp.topics_detection_job_properties_list[0].data_access_role_arn #=> String
1743
+ # resp.topics_detection_job_properties_list[0].volume_kms_key_id #=> String
1647
1744
  # resp.next_token #=> String
1648
1745
  #
1649
1746
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListTopicsDetectionJobs AWS API Documentation
@@ -1683,6 +1780,17 @@ module Aws::Comprehend
1683
1780
  # **A suitable default value is auto-generated.** You should normally
1684
1781
  # not need to pass this option.**
1685
1782
  #
1783
+ # @option params [String] :volume_kms_key_id
1784
+ # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
1785
+ # uses to encrypt data on the storage volume attached to the ML compute
1786
+ # instance(s) that process the analysis job. The VolumeKmsKeyId can be
1787
+ # either of the following formats:
1788
+ #
1789
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
1790
+ #
1791
+ # * Amazon Resource Name (ARN) of a KMS Key:
1792
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
1793
+ #
1686
1794
  # @return [Types::StartDocumentClassificationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1687
1795
  #
1688
1796
  # * {Types::StartDocumentClassificationJobResponse#job_id #job_id} => String
@@ -1699,9 +1807,11 @@ module Aws::Comprehend
1699
1807
  # },
1700
1808
  # output_data_config: { # required
1701
1809
  # s3_uri: "S3Uri", # required
1810
+ # kms_key_id: "KmsKeyId",
1702
1811
  # },
1703
1812
  # data_access_role_arn: "IamRoleArn", # required
1704
1813
  # client_request_token: "ClientRequestTokenString",
1814
+ # volume_kms_key_id: "KmsKeyId",
1705
1815
  # })
1706
1816
  #
1707
1817
  # @example Response structure
@@ -1748,6 +1858,17 @@ module Aws::Comprehend
1748
1858
  # **A suitable default value is auto-generated.** You should normally
1749
1859
  # not need to pass this option.**
1750
1860
  #
1861
+ # @option params [String] :volume_kms_key_id
1862
+ # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
1863
+ # uses to encrypt data on the storage volume attached to the ML compute
1864
+ # instance(s) that process the analysis job. The VolumeKmsKeyId can be
1865
+ # either of the following formats:
1866
+ #
1867
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
1868
+ #
1869
+ # * Amazon Resource Name (ARN) of a KMS Key:
1870
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
1871
+ #
1751
1872
  # @return [Types::StartDominantLanguageDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1752
1873
  #
1753
1874
  # * {Types::StartDominantLanguageDetectionJobResponse#job_id #job_id} => String
@@ -1762,10 +1883,12 @@ module Aws::Comprehend
1762
1883
  # },
1763
1884
  # output_data_config: { # required
1764
1885
  # s3_uri: "S3Uri", # required
1886
+ # kms_key_id: "KmsKeyId",
1765
1887
  # },
1766
1888
  # data_access_role_arn: "IamRoleArn", # required
1767
1889
  # job_name: "JobName",
1768
1890
  # client_request_token: "ClientRequestTokenString",
1891
+ # volume_kms_key_id: "KmsKeyId",
1769
1892
  # })
1770
1893
  #
1771
1894
  # @example Response structure
@@ -1829,6 +1952,17 @@ module Aws::Comprehend
1829
1952
  # **A suitable default value is auto-generated.** You should normally
1830
1953
  # not need to pass this option.**
1831
1954
  #
1955
+ # @option params [String] :volume_kms_key_id
1956
+ # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
1957
+ # uses to encrypt data on the storage volume attached to the ML compute
1958
+ # instance(s) that process the analysis job. The VolumeKmsKeyId can be
1959
+ # either of the following formats:
1960
+ #
1961
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
1962
+ #
1963
+ # * Amazon Resource Name (ARN) of a KMS Key:
1964
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
1965
+ #
1832
1966
  # @return [Types::StartEntitiesDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1833
1967
  #
1834
1968
  # * {Types::StartEntitiesDetectionJobResponse#job_id #job_id} => String
@@ -1843,12 +1977,14 @@ module Aws::Comprehend
1843
1977
  # },
1844
1978
  # output_data_config: { # required
1845
1979
  # s3_uri: "S3Uri", # required
1980
+ # kms_key_id: "KmsKeyId",
1846
1981
  # },
1847
1982
  # data_access_role_arn: "IamRoleArn", # required
1848
1983
  # job_name: "JobName",
1849
1984
  # entity_recognizer_arn: "EntityRecognizerArn",
1850
1985
  # language_code: "en", # required, accepts en, es, fr, de, it, pt
1851
1986
  # client_request_token: "ClientRequestTokenString",
1987
+ # volume_kms_key_id: "KmsKeyId",
1852
1988
  # })
1853
1989
  #
1854
1990
  # @example Response structure
@@ -1898,6 +2034,17 @@ module Aws::Comprehend
1898
2034
  # **A suitable default value is auto-generated.** You should normally
1899
2035
  # not need to pass this option.**
1900
2036
  #
2037
+ # @option params [String] :volume_kms_key_id
2038
+ # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
2039
+ # uses to encrypt data on the storage volume attached to the ML compute
2040
+ # instance(s) that process the analysis job. The VolumeKmsKeyId can be
2041
+ # either of the following formats:
2042
+ #
2043
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
2044
+ #
2045
+ # * Amazon Resource Name (ARN) of a KMS Key:
2046
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
2047
+ #
1901
2048
  # @return [Types::StartKeyPhrasesDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1902
2049
  #
1903
2050
  # * {Types::StartKeyPhrasesDetectionJobResponse#job_id #job_id} => String
@@ -1912,11 +2059,13 @@ module Aws::Comprehend
1912
2059
  # },
1913
2060
  # output_data_config: { # required
1914
2061
  # s3_uri: "S3Uri", # required
2062
+ # kms_key_id: "KmsKeyId",
1915
2063
  # },
1916
2064
  # data_access_role_arn: "IamRoleArn", # required
1917
2065
  # job_name: "JobName",
1918
2066
  # language_code: "en", # required, accepts en, es, fr, de, it, pt
1919
2067
  # client_request_token: "ClientRequestTokenString",
2068
+ # volume_kms_key_id: "KmsKeyId",
1920
2069
  # })
1921
2070
  #
1922
2071
  # @example Response structure
@@ -1966,6 +2115,17 @@ module Aws::Comprehend
1966
2115
  # **A suitable default value is auto-generated.** You should normally
1967
2116
  # not need to pass this option.**
1968
2117
  #
2118
+ # @option params [String] :volume_kms_key_id
2119
+ # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
2120
+ # uses to encrypt data on the storage volume attached to the ML compute
2121
+ # instance(s) that process the analysis job. The VolumeKmsKeyId can be
2122
+ # either of the following formats:
2123
+ #
2124
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
2125
+ #
2126
+ # * Amazon Resource Name (ARN) of a KMS Key:
2127
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
2128
+ #
1969
2129
  # @return [Types::StartSentimentDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1970
2130
  #
1971
2131
  # * {Types::StartSentimentDetectionJobResponse#job_id #job_id} => String
@@ -1980,11 +2140,13 @@ module Aws::Comprehend
1980
2140
  # },
1981
2141
  # output_data_config: { # required
1982
2142
  # s3_uri: "S3Uri", # required
2143
+ # kms_key_id: "KmsKeyId",
1983
2144
  # },
1984
2145
  # data_access_role_arn: "IamRoleArn", # required
1985
2146
  # job_name: "JobName",
1986
2147
  # language_code: "en", # required, accepts en, es, fr, de, it, pt
1987
2148
  # client_request_token: "ClientRequestTokenString",
2149
+ # volume_kms_key_id: "KmsKeyId",
1988
2150
  # })
1989
2151
  #
1990
2152
  # @example Response structure
@@ -2036,6 +2198,17 @@ module Aws::Comprehend
2036
2198
  # **A suitable default value is auto-generated.** You should normally
2037
2199
  # not need to pass this option.**
2038
2200
  #
2201
+ # @option params [String] :volume_kms_key_id
2202
+ # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
2203
+ # uses to encrypt data on the storage volume attached to the ML compute
2204
+ # instance(s) that process the analysis job. The VolumeKmsKeyId can be
2205
+ # either of the following formats:
2206
+ #
2207
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
2208
+ #
2209
+ # * Amazon Resource Name (ARN) of a KMS Key:
2210
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
2211
+ #
2039
2212
  # @return [Types::StartTopicsDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2040
2213
  #
2041
2214
  # * {Types::StartTopicsDetectionJobResponse#job_id #job_id} => String
@@ -2050,11 +2223,13 @@ module Aws::Comprehend
2050
2223
  # },
2051
2224
  # output_data_config: { # required
2052
2225
  # s3_uri: "S3Uri", # required
2226
+ # kms_key_id: "KmsKeyId",
2053
2227
  # },
2054
2228
  # data_access_role_arn: "IamRoleArn", # required
2055
2229
  # job_name: "JobName",
2056
2230
  # number_of_topics: 1,
2057
2231
  # client_request_token: "ClientRequestTokenString",
2232
+ # volume_kms_key_id: "KmsKeyId",
2058
2233
  # })
2059
2234
  #
2060
2235
  # @example Response structure
@@ -2312,7 +2487,7 @@ module Aws::Comprehend
2312
2487
  params: params,
2313
2488
  config: config)
2314
2489
  context[:gem_name] = 'aws-sdk-comprehend'
2315
- context[:gem_version] = '1.15.0'
2490
+ context[:gem_version] = '1.16.0'
2316
2491
  Seahorse::Client::Request.new(handlers, context)
2317
2492
  end
2318
2493
 
@@ -117,6 +117,8 @@ module Aws::Comprehend
117
117
  KeyPhrasesDetectionJobFilter = Shapes::StructureShape.new(name: 'KeyPhrasesDetectionJobFilter')
118
118
  KeyPhrasesDetectionJobProperties = Shapes::StructureShape.new(name: 'KeyPhrasesDetectionJobProperties')
119
119
  KeyPhrasesDetectionJobPropertiesList = Shapes::ListShape.new(name: 'KeyPhrasesDetectionJobPropertiesList')
120
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
121
+ KmsKeyValidationException = Shapes::StructureShape.new(name: 'KmsKeyValidationException')
120
122
  LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
121
123
  ListDocumentClassificationJobsRequest = Shapes::StructureShape.new(name: 'ListDocumentClassificationJobsRequest')
122
124
  ListDocumentClassificationJobsResponse = Shapes::StructureShape.new(name: 'ListDocumentClassificationJobsResponse')
@@ -279,6 +281,7 @@ module Aws::Comprehend
279
281
  CreateDocumentClassifierRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: DocumentClassifierInputDataConfig, required: true, location_name: "InputDataConfig"))
280
282
  CreateDocumentClassifierRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
281
283
  CreateDocumentClassifierRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
284
+ CreateDocumentClassifierRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
282
285
  CreateDocumentClassifierRequest.struct_class = Types::CreateDocumentClassifierRequest
283
286
 
284
287
  CreateDocumentClassifierResponse.add_member(:document_classifier_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, location_name: "DocumentClassifierArn"))
@@ -289,6 +292,7 @@ module Aws::Comprehend
289
292
  CreateEntityRecognizerRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: EntityRecognizerInputDataConfig, required: true, location_name: "InputDataConfig"))
290
293
  CreateEntityRecognizerRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
291
294
  CreateEntityRecognizerRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
295
+ CreateEntityRecognizerRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
292
296
  CreateEntityRecognizerRequest.struct_class = Types::CreateEntityRecognizerRequest
293
297
 
294
298
  CreateEntityRecognizerResponse.add_member(:entity_recognizer_arn, Shapes::ShapeRef.new(shape: EntityRecognizerArn, location_name: "EntityRecognizerArn"))
@@ -403,6 +407,7 @@ module Aws::Comprehend
403
407
  DocumentClassificationJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
404
408
  DocumentClassificationJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
405
409
  DocumentClassificationJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
410
+ DocumentClassificationJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
406
411
  DocumentClassificationJobProperties.struct_class = Types::DocumentClassificationJobProperties
407
412
 
408
413
  DocumentClassificationJobPropertiesList.member = Shapes::ShapeRef.new(shape: DocumentClassificationJobProperties)
@@ -426,6 +431,7 @@ module Aws::Comprehend
426
431
  DocumentClassifierProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: DocumentClassifierInputDataConfig, location_name: "InputDataConfig"))
427
432
  DocumentClassifierProperties.add_member(:classifier_metadata, Shapes::ShapeRef.new(shape: ClassifierMetadata, location_name: "ClassifierMetadata"))
428
433
  DocumentClassifierProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
434
+ DocumentClassifierProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
429
435
  DocumentClassifierProperties.struct_class = Types::DocumentClassifierProperties
430
436
 
431
437
  DocumentClassifierPropertiesList.member = Shapes::ShapeRef.new(shape: DocumentClassifierProperties)
@@ -449,6 +455,7 @@ module Aws::Comprehend
449
455
  DominantLanguageDetectionJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
450
456
  DominantLanguageDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
451
457
  DominantLanguageDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
458
+ DominantLanguageDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
452
459
  DominantLanguageDetectionJobProperties.struct_class = Types::DominantLanguageDetectionJobProperties
453
460
 
454
461
  DominantLanguageDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: DominantLanguageDetectionJobProperties)
@@ -470,6 +477,7 @@ module Aws::Comprehend
470
477
  EntitiesDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
471
478
  EntitiesDetectionJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
472
479
  EntitiesDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
480
+ EntitiesDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
473
481
  EntitiesDetectionJobProperties.struct_class = Types::EntitiesDetectionJobProperties
474
482
 
475
483
  EntitiesDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: EntitiesDetectionJobProperties)
@@ -528,6 +536,7 @@ module Aws::Comprehend
528
536
  EntityRecognizerProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: EntityRecognizerInputDataConfig, location_name: "InputDataConfig"))
529
537
  EntityRecognizerProperties.add_member(:recognizer_metadata, Shapes::ShapeRef.new(shape: EntityRecognizerMetadata, location_name: "RecognizerMetadata"))
530
538
  EntityRecognizerProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
539
+ EntityRecognizerProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
531
540
  EntityRecognizerProperties.struct_class = Types::EntityRecognizerProperties
532
541
 
533
542
  EntityRecognizerPropertiesList.member = Shapes::ShapeRef.new(shape: EntityRecognizerProperties)
@@ -563,6 +572,7 @@ module Aws::Comprehend
563
572
  KeyPhrasesDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
564
573
  KeyPhrasesDetectionJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
565
574
  KeyPhrasesDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
575
+ KeyPhrasesDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
566
576
  KeyPhrasesDetectionJobProperties.struct_class = Types::KeyPhrasesDetectionJobProperties
567
577
 
568
578
  KeyPhrasesDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: KeyPhrasesDetectionJobProperties)
@@ -658,6 +668,7 @@ module Aws::Comprehend
658
668
  ListTopicsDetectionJobsResponse.struct_class = Types::ListTopicsDetectionJobsResponse
659
669
 
660
670
  OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
671
+ OutputDataConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
661
672
  OutputDataConfig.struct_class = Types::OutputDataConfig
662
673
 
663
674
  PartOfSpeechTag.add_member(:tag, Shapes::ShapeRef.new(shape: PartOfSpeechTagType, location_name: "Tag"))
@@ -680,6 +691,7 @@ module Aws::Comprehend
680
691
  SentimentDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
681
692
  SentimentDetectionJobProperties.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
682
693
  SentimentDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
694
+ SentimentDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
683
695
  SentimentDetectionJobProperties.struct_class = Types::SentimentDetectionJobProperties
684
696
 
685
697
  SentimentDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: SentimentDetectionJobProperties)
@@ -696,6 +708,7 @@ module Aws::Comprehend
696
708
  StartDocumentClassificationJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
697
709
  StartDocumentClassificationJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
698
710
  StartDocumentClassificationJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
711
+ StartDocumentClassificationJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
699
712
  StartDocumentClassificationJobRequest.struct_class = Types::StartDocumentClassificationJobRequest
700
713
 
701
714
  StartDocumentClassificationJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
@@ -707,6 +720,7 @@ module Aws::Comprehend
707
720
  StartDominantLanguageDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
708
721
  StartDominantLanguageDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
709
722
  StartDominantLanguageDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
723
+ StartDominantLanguageDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
710
724
  StartDominantLanguageDetectionJobRequest.struct_class = Types::StartDominantLanguageDetectionJobRequest
711
725
 
712
726
  StartDominantLanguageDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
@@ -720,6 +734,7 @@ module Aws::Comprehend
720
734
  StartEntitiesDetectionJobRequest.add_member(:entity_recognizer_arn, Shapes::ShapeRef.new(shape: EntityRecognizerArn, location_name: "EntityRecognizerArn"))
721
735
  StartEntitiesDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
722
736
  StartEntitiesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
737
+ StartEntitiesDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
723
738
  StartEntitiesDetectionJobRequest.struct_class = Types::StartEntitiesDetectionJobRequest
724
739
 
725
740
  StartEntitiesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
@@ -732,6 +747,7 @@ module Aws::Comprehend
732
747
  StartKeyPhrasesDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
733
748
  StartKeyPhrasesDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
734
749
  StartKeyPhrasesDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
750
+ StartKeyPhrasesDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
735
751
  StartKeyPhrasesDetectionJobRequest.struct_class = Types::StartKeyPhrasesDetectionJobRequest
736
752
 
737
753
  StartKeyPhrasesDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
@@ -744,6 +760,7 @@ module Aws::Comprehend
744
760
  StartSentimentDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
745
761
  StartSentimentDetectionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
746
762
  StartSentimentDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
763
+ StartSentimentDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
747
764
  StartSentimentDetectionJobRequest.struct_class = Types::StartSentimentDetectionJobRequest
748
765
 
749
766
  StartSentimentDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
@@ -756,6 +773,7 @@ module Aws::Comprehend
756
773
  StartTopicsDetectionJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
757
774
  StartTopicsDetectionJobRequest.add_member(:number_of_topics, Shapes::ShapeRef.new(shape: NumberOfTopicsInteger, location_name: "NumberOfTopics"))
758
775
  StartTopicsDetectionJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
776
+ StartTopicsDetectionJobRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
759
777
  StartTopicsDetectionJobRequest.struct_class = Types::StartTopicsDetectionJobRequest
760
778
 
761
779
  StartTopicsDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
@@ -824,6 +842,8 @@ module Aws::Comprehend
824
842
  TopicsDetectionJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
825
843
  TopicsDetectionJobProperties.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "OutputDataConfig"))
826
844
  TopicsDetectionJobProperties.add_member(:number_of_topics, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfTopics"))
845
+ TopicsDetectionJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
846
+ TopicsDetectionJobProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
827
847
  TopicsDetectionJobProperties.struct_class = Types::TopicsDetectionJobProperties
828
848
 
829
849
  TopicsDetectionJobPropertiesList.member = Shapes::ShapeRef.new(shape: TopicsDetectionJobProperties)
@@ -922,6 +942,7 @@ module Aws::Comprehend
922
942
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
923
943
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
924
944
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedLanguageException)
945
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
925
946
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
926
947
  end)
927
948
 
@@ -936,6 +957,7 @@ module Aws::Comprehend
936
957
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
937
958
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
938
959
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedLanguageException)
960
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
939
961
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
940
962
  end)
941
963
 
@@ -1258,6 +1280,7 @@ module Aws::Comprehend
1258
1280
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1259
1281
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1260
1282
  o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
1283
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
1261
1284
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1262
1285
  end)
1263
1286
 
@@ -1269,6 +1292,7 @@ module Aws::Comprehend
1269
1292
  o.output = Shapes::ShapeRef.new(shape: StartDominantLanguageDetectionJobResponse)
1270
1293
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1271
1294
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1295
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
1272
1296
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1273
1297
  end)
1274
1298
 
@@ -1282,6 +1306,7 @@ module Aws::Comprehend
1282
1306
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1283
1307
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1284
1308
  o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
1309
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
1285
1310
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1286
1311
  end)
1287
1312
 
@@ -1293,6 +1318,7 @@ module Aws::Comprehend
1293
1318
  o.output = Shapes::ShapeRef.new(shape: StartKeyPhrasesDetectionJobResponse)
1294
1319
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1295
1320
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1321
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
1296
1322
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1297
1323
  end)
1298
1324
 
@@ -1304,6 +1330,7 @@ module Aws::Comprehend
1304
1330
  o.output = Shapes::ShapeRef.new(shape: StartSentimentDetectionJobResponse)
1305
1331
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1306
1332
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1333
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
1307
1334
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1308
1335
  end)
1309
1336
 
@@ -1315,6 +1342,7 @@ module Aws::Comprehend
1315
1342
  o.output = Shapes::ShapeRef.new(shape: StartTopicsDetectionJobResponse)
1316
1343
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1317
1344
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1345
+ o.errors << Shapes::ShapeRef.new(shape: KmsKeyValidationException)
1318
1346
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1319
1347
  end)
1320
1348
 
@@ -464,6 +464,7 @@ module Aws::Comprehend
464
464
  # },
465
465
  # client_request_token: "ClientRequestTokenString",
466
466
  # language_code: "en", # required, accepts en, es, fr, de, it, pt
467
+ # volume_kms_key_id: "KmsKeyId",
467
468
  # }
468
469
  #
469
470
  # @!attribute [rw] document_classifier_name
@@ -494,6 +495,18 @@ module Aws::Comprehend
494
495
  # language.
495
496
  # @return [String]
496
497
  #
498
+ # @!attribute [rw] volume_kms_key_id
499
+ # ID for the AWS Key Management Service (KMS) key that Amazon
500
+ # Comprehend uses to encrypt data on the storage volume attached to
501
+ # the ML compute instance(s) that process the analysis job. The
502
+ # VolumeKmsKeyId can be either of the following formats:
503
+ #
504
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
505
+ #
506
+ # * Amazon Resource Name (ARN) of a KMS Key:
507
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
508
+ # @return [String]
509
+ #
497
510
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateDocumentClassifierRequest AWS API Documentation
498
511
  #
499
512
  class CreateDocumentClassifierRequest < Struct.new(
@@ -501,7 +514,8 @@ module Aws::Comprehend
501
514
  :data_access_role_arn,
502
515
  :input_data_config,
503
516
  :client_request_token,
504
- :language_code)
517
+ :language_code,
518
+ :volume_kms_key_id)
505
519
  include Aws::Structure
506
520
  end
507
521
 
@@ -541,6 +555,7 @@ module Aws::Comprehend
541
555
  # },
542
556
  # client_request_token: "ClientRequestTokenString",
543
557
  # language_code: "en", # required, accepts en, es, fr, de, it, pt
558
+ # volume_kms_key_id: "KmsKeyId",
544
559
  # }
545
560
  #
546
561
  # @!attribute [rw] recognizer_name
@@ -575,6 +590,18 @@ module Aws::Comprehend
575
590
  # same language. Only English ("en") is currently supported.
576
591
  # @return [String]
577
592
  #
593
+ # @!attribute [rw] volume_kms_key_id
594
+ # ID for the AWS Key Management Service (KMS) key that Amazon
595
+ # Comprehend uses to encrypt data on the storage volume attached to
596
+ # the ML compute instance(s) that process the analysis job. The
597
+ # VolumeKmsKeyId can be either of the following formats:
598
+ #
599
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
600
+ #
601
+ # * Amazon Resource Name (ARN) of a KMS Key:
602
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
603
+ # @return [String]
604
+ #
578
605
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateEntityRecognizerRequest AWS API Documentation
579
606
  #
580
607
  class CreateEntityRecognizerRequest < Struct.new(
@@ -582,7 +609,8 @@ module Aws::Comprehend
582
609
  :data_access_role_arn,
583
610
  :input_data_config,
584
611
  :client_request_token,
585
- :language_code)
612
+ :language_code,
613
+ :volume_kms_key_id)
586
614
  include Aws::Structure
587
615
  end
588
616
 
@@ -1194,6 +1222,18 @@ module Aws::Comprehend
1194
1222
  # your input data.
1195
1223
  # @return [String]
1196
1224
  #
1225
+ # @!attribute [rw] volume_kms_key_id
1226
+ # ID for the AWS Key Management Service (KMS) key that Amazon
1227
+ # Comprehend uses to encrypt data on the storage volume attached to
1228
+ # the ML compute instance(s) that process the analysis job. The
1229
+ # VolumeKmsKeyId can be either of the following formats:
1230
+ #
1231
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
1232
+ #
1233
+ # * Amazon Resource Name (ARN) of a KMS Key:
1234
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
1235
+ # @return [String]
1236
+ #
1197
1237
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DocumentClassificationJobProperties AWS API Documentation
1198
1238
  #
1199
1239
  class DocumentClassificationJobProperties < Struct.new(
@@ -1206,7 +1246,8 @@ module Aws::Comprehend
1206
1246
  :document_classifier_arn,
1207
1247
  :input_data_config,
1208
1248
  :output_data_config,
1209
- :data_access_role_arn)
1249
+ :data_access_role_arn,
1250
+ :volume_kms_key_id)
1210
1251
  include Aws::Structure
1211
1252
  end
1212
1253
 
@@ -1342,6 +1383,18 @@ module Aws::Comprehend
1342
1383
  # data.
1343
1384
  # @return [String]
1344
1385
  #
1386
+ # @!attribute [rw] volume_kms_key_id
1387
+ # ID for the AWS Key Management Service (KMS) key that Amazon
1388
+ # Comprehend uses to encrypt data on the storage volume attached to
1389
+ # the ML compute instance(s) that process the analysis job. The
1390
+ # VolumeKmsKeyId can be either of the following formats:
1391
+ #
1392
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
1393
+ #
1394
+ # * Amazon Resource Name (ARN) of a KMS Key:
1395
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
1396
+ # @return [String]
1397
+ #
1345
1398
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DocumentClassifierProperties AWS API Documentation
1346
1399
  #
1347
1400
  class DocumentClassifierProperties < Struct.new(
@@ -1355,7 +1408,8 @@ module Aws::Comprehend
1355
1408
  :training_end_time,
1356
1409
  :input_data_config,
1357
1410
  :classifier_metadata,
1358
- :data_access_role_arn)
1411
+ :data_access_role_arn,
1412
+ :volume_kms_key_id)
1359
1413
  include Aws::Structure
1360
1414
  end
1361
1415
 
@@ -1476,6 +1530,18 @@ module Aws::Comprehend
1476
1530
  # access to your input data.
1477
1531
  # @return [String]
1478
1532
  #
1533
+ # @!attribute [rw] volume_kms_key_id
1534
+ # ID for the AWS Key Management Service (KMS) key that Amazon
1535
+ # Comprehend uses to encrypt data on the storage volume attached to
1536
+ # the ML compute instance(s) that process the analysis job. The
1537
+ # VolumeKmsKeyId can be either of the following formats:
1538
+ #
1539
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
1540
+ #
1541
+ # * Amazon Resource Name (ARN) of a KMS Key:
1542
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
1543
+ # @return [String]
1544
+ #
1479
1545
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DominantLanguageDetectionJobProperties AWS API Documentation
1480
1546
  #
1481
1547
  class DominantLanguageDetectionJobProperties < Struct.new(
@@ -1487,7 +1553,8 @@ module Aws::Comprehend
1487
1553
  :end_time,
1488
1554
  :input_data_config,
1489
1555
  :output_data_config,
1490
- :data_access_role_arn)
1556
+ :data_access_role_arn,
1557
+ :volume_kms_key_id)
1491
1558
  include Aws::Structure
1492
1559
  end
1493
1560
 
@@ -1589,6 +1656,18 @@ module Aws::Comprehend
1589
1656
  # access to your input data.
1590
1657
  # @return [String]
1591
1658
  #
1659
+ # @!attribute [rw] volume_kms_key_id
1660
+ # ID for the AWS Key Management Service (KMS) key that Amazon
1661
+ # Comprehend uses to encrypt data on the storage volume attached to
1662
+ # the ML compute instance(s) that process the analysis job. The
1663
+ # VolumeKmsKeyId can be either of the following formats:
1664
+ #
1665
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
1666
+ #
1667
+ # * Amazon Resource Name (ARN) of a KMS Key:
1668
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
1669
+ # @return [String]
1670
+ #
1592
1671
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/EntitiesDetectionJobProperties AWS API Documentation
1593
1672
  #
1594
1673
  class EntitiesDetectionJobProperties < Struct.new(
@@ -1602,7 +1681,8 @@ module Aws::Comprehend
1602
1681
  :input_data_config,
1603
1682
  :output_data_config,
1604
1683
  :language_code,
1605
- :data_access_role_arn)
1684
+ :data_access_role_arn,
1685
+ :volume_kms_key_id)
1606
1686
  include Aws::Structure
1607
1687
  end
1608
1688
 
@@ -1930,6 +2010,18 @@ module Aws::Comprehend
1930
2010
  # data.
1931
2011
  # @return [String]
1932
2012
  #
2013
+ # @!attribute [rw] volume_kms_key_id
2014
+ # ID for the AWS Key Management Service (KMS) key that Amazon
2015
+ # Comprehend uses to encrypt data on the storage volume attached to
2016
+ # the ML compute instance(s) that process the analysis job. The
2017
+ # VolumeKmsKeyId can be either of the following formats:
2018
+ #
2019
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
2020
+ #
2021
+ # * Amazon Resource Name (ARN) of a KMS Key:
2022
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
2023
+ # @return [String]
2024
+ #
1933
2025
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/EntityRecognizerProperties AWS API Documentation
1934
2026
  #
1935
2027
  class EntityRecognizerProperties < Struct.new(
@@ -1943,7 +2035,8 @@ module Aws::Comprehend
1943
2035
  :training_end_time,
1944
2036
  :input_data_config,
1945
2037
  :recognizer_metadata,
1946
- :data_access_role_arn)
2038
+ :data_access_role_arn,
2039
+ :volume_kms_key_id)
1947
2040
  include Aws::Structure
1948
2041
  end
1949
2042
 
@@ -2140,6 +2233,18 @@ module Aws::Comprehend
2140
2233
  # access to your input data.
2141
2234
  # @return [String]
2142
2235
  #
2236
+ # @!attribute [rw] volume_kms_key_id
2237
+ # ID for the AWS Key Management Service (KMS) key that Amazon
2238
+ # Comprehend uses to encrypt data on the storage volume attached to
2239
+ # the ML compute instance(s) that process the analysis job. The
2240
+ # VolumeKmsKeyId can be either of the following formats:
2241
+ #
2242
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
2243
+ #
2244
+ # * Amazon Resource Name (ARN) of a KMS Key:
2245
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
2246
+ # @return [String]
2247
+ #
2143
2248
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/KeyPhrasesDetectionJobProperties AWS API Documentation
2144
2249
  #
2145
2250
  class KeyPhrasesDetectionJobProperties < Struct.new(
@@ -2152,7 +2257,8 @@ module Aws::Comprehend
2152
2257
  :input_data_config,
2153
2258
  :output_data_config,
2154
2259
  :language_code,
2155
- :data_access_role_arn)
2260
+ :data_access_role_arn,
2261
+ :volume_kms_key_id)
2156
2262
  include Aws::Structure
2157
2263
  end
2158
2264
 
@@ -2594,6 +2700,7 @@ module Aws::Comprehend
2594
2700
  #
2595
2701
  # {
2596
2702
  # s3_uri: "S3Uri", # required
2703
+ # kms_key_id: "KmsKeyId",
2597
2704
  # }
2598
2705
  #
2599
2706
  # @!attribute [rw] s3_uri
@@ -2609,10 +2716,27 @@ module Aws::Comprehend
2609
2716
  # is a compressed archive that contains the ouput of the operation.
2610
2717
  # @return [String]
2611
2718
  #
2719
+ # @!attribute [rw] kms_key_id
2720
+ # ID for the AWS Key Management Service (KMS) key that Amazon
2721
+ # Comprehend uses to encrypt the output results from an analysis job.
2722
+ # The KmsKeyId can be one of the following formats:
2723
+ #
2724
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
2725
+ #
2726
+ # * Amazon Resource Name (ARN) of a KMS Key:
2727
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
2728
+ #
2729
+ # * KMS Key Alias: `"alias/ExampleAlias"`
2730
+ #
2731
+ # * ARN of a KMS Key Alias:
2732
+ # `"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"`
2733
+ # @return [String]
2734
+ #
2612
2735
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/OutputDataConfig AWS API Documentation
2613
2736
  #
2614
2737
  class OutputDataConfig < Struct.new(
2615
- :s3_uri)
2738
+ :s3_uri,
2739
+ :kms_key_id)
2616
2740
  include Aws::Structure
2617
2741
  end
2618
2742
 
@@ -2731,6 +2855,18 @@ module Aws::Comprehend
2731
2855
  # access to your input data.
2732
2856
  # @return [String]
2733
2857
  #
2858
+ # @!attribute [rw] volume_kms_key_id
2859
+ # ID for the AWS Key Management Service (KMS) key that Amazon
2860
+ # Comprehend uses to encrypt data on the storage volume attached to
2861
+ # the ML compute instance(s) that process the analysis job. The
2862
+ # VolumeKmsKeyId can be either of the following formats:
2863
+ #
2864
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
2865
+ #
2866
+ # * Amazon Resource Name (ARN) of a KMS Key:
2867
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
2868
+ # @return [String]
2869
+ #
2734
2870
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/SentimentDetectionJobProperties AWS API Documentation
2735
2871
  #
2736
2872
  class SentimentDetectionJobProperties < Struct.new(
@@ -2743,7 +2879,8 @@ module Aws::Comprehend
2743
2879
  :input_data_config,
2744
2880
  :output_data_config,
2745
2881
  :language_code,
2746
- :data_access_role_arn)
2882
+ :data_access_role_arn,
2883
+ :volume_kms_key_id)
2747
2884
  include Aws::Structure
2748
2885
  end
2749
2886
 
@@ -2792,9 +2929,11 @@ module Aws::Comprehend
2792
2929
  # },
2793
2930
  # output_data_config: { # required
2794
2931
  # s3_uri: "S3Uri", # required
2932
+ # kms_key_id: "KmsKeyId",
2795
2933
  # },
2796
2934
  # data_access_role_arn: "IamRoleArn", # required
2797
2935
  # client_request_token: "ClientRequestTokenString",
2936
+ # volume_kms_key_id: "KmsKeyId",
2798
2937
  # }
2799
2938
  #
2800
2939
  # @!attribute [rw] job_name
@@ -2828,6 +2967,18 @@ module Aws::Comprehend
2828
2967
  # not need to pass this option.
2829
2968
  # @return [String]
2830
2969
  #
2970
+ # @!attribute [rw] volume_kms_key_id
2971
+ # ID for the AWS Key Management Service (KMS) key that Amazon
2972
+ # Comprehend uses to encrypt data on the storage volume attached to
2973
+ # the ML compute instance(s) that process the analysis job. The
2974
+ # VolumeKmsKeyId can be either of the following formats:
2975
+ #
2976
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
2977
+ #
2978
+ # * Amazon Resource Name (ARN) of a KMS Key:
2979
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
2980
+ # @return [String]
2981
+ #
2831
2982
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartDocumentClassificationJobRequest AWS API Documentation
2832
2983
  #
2833
2984
  class StartDocumentClassificationJobRequest < Struct.new(
@@ -2836,7 +2987,8 @@ module Aws::Comprehend
2836
2987
  :input_data_config,
2837
2988
  :output_data_config,
2838
2989
  :data_access_role_arn,
2839
- :client_request_token)
2990
+ :client_request_token,
2991
+ :volume_kms_key_id)
2840
2992
  include Aws::Structure
2841
2993
  end
2842
2994
 
@@ -2881,10 +3033,12 @@ module Aws::Comprehend
2881
3033
  # },
2882
3034
  # output_data_config: { # required
2883
3035
  # s3_uri: "S3Uri", # required
3036
+ # kms_key_id: "KmsKeyId",
2884
3037
  # },
2885
3038
  # data_access_role_arn: "IamRoleArn", # required
2886
3039
  # job_name: "JobName",
2887
3040
  # client_request_token: "ClientRequestTokenString",
3041
+ # volume_kms_key_id: "KmsKeyId",
2888
3042
  # }
2889
3043
  #
2890
3044
  # @!attribute [rw] input_data_config
@@ -2918,6 +3072,18 @@ module Aws::Comprehend
2918
3072
  # not need to pass this option.
2919
3073
  # @return [String]
2920
3074
  #
3075
+ # @!attribute [rw] volume_kms_key_id
3076
+ # ID for the AWS Key Management Service (KMS) key that Amazon
3077
+ # Comprehend uses to encrypt data on the storage volume attached to
3078
+ # the ML compute instance(s) that process the analysis job. The
3079
+ # VolumeKmsKeyId can be either of the following formats:
3080
+ #
3081
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
3082
+ #
3083
+ # * Amazon Resource Name (ARN) of a KMS Key:
3084
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
3085
+ # @return [String]
3086
+ #
2921
3087
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartDominantLanguageDetectionJobRequest AWS API Documentation
2922
3088
  #
2923
3089
  class StartDominantLanguageDetectionJobRequest < Struct.new(
@@ -2925,7 +3091,8 @@ module Aws::Comprehend
2925
3091
  :output_data_config,
2926
3092
  :data_access_role_arn,
2927
3093
  :job_name,
2928
- :client_request_token)
3094
+ :client_request_token,
3095
+ :volume_kms_key_id)
2929
3096
  include Aws::Structure
2930
3097
  end
2931
3098
 
@@ -2967,12 +3134,14 @@ module Aws::Comprehend
2967
3134
  # },
2968
3135
  # output_data_config: { # required
2969
3136
  # s3_uri: "S3Uri", # required
3137
+ # kms_key_id: "KmsKeyId",
2970
3138
  # },
2971
3139
  # data_access_role_arn: "IamRoleArn", # required
2972
3140
  # job_name: "JobName",
2973
3141
  # entity_recognizer_arn: "EntityRecognizerArn",
2974
3142
  # language_code: "en", # required, accepts en, es, fr, de, it, pt
2975
3143
  # client_request_token: "ClientRequestTokenString",
3144
+ # volume_kms_key_id: "KmsKeyId",
2976
3145
  # }
2977
3146
  #
2978
3147
  # @!attribute [rw] input_data_config
@@ -3021,6 +3190,18 @@ module Aws::Comprehend
3021
3190
  # not need to pass this option.
3022
3191
  # @return [String]
3023
3192
  #
3193
+ # @!attribute [rw] volume_kms_key_id
3194
+ # ID for the AWS Key Management Service (KMS) key that Amazon
3195
+ # Comprehend uses to encrypt data on the storage volume attached to
3196
+ # the ML compute instance(s) that process the analysis job. The
3197
+ # VolumeKmsKeyId can be either of the following formats:
3198
+ #
3199
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
3200
+ #
3201
+ # * Amazon Resource Name (ARN) of a KMS Key:
3202
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
3203
+ # @return [String]
3204
+ #
3024
3205
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartEntitiesDetectionJobRequest AWS API Documentation
3025
3206
  #
3026
3207
  class StartEntitiesDetectionJobRequest < Struct.new(
@@ -3030,7 +3211,8 @@ module Aws::Comprehend
3030
3211
  :job_name,
3031
3212
  :entity_recognizer_arn,
3032
3213
  :language_code,
3033
- :client_request_token)
3214
+ :client_request_token,
3215
+ :volume_kms_key_id)
3034
3216
  include Aws::Structure
3035
3217
  end
3036
3218
 
@@ -3077,11 +3259,13 @@ module Aws::Comprehend
3077
3259
  # },
3078
3260
  # output_data_config: { # required
3079
3261
  # s3_uri: "S3Uri", # required
3262
+ # kms_key_id: "KmsKeyId",
3080
3263
  # },
3081
3264
  # data_access_role_arn: "IamRoleArn", # required
3082
3265
  # job_name: "JobName",
3083
3266
  # language_code: "en", # required, accepts en, es, fr, de, it, pt
3084
3267
  # client_request_token: "ClientRequestTokenString",
3268
+ # volume_kms_key_id: "KmsKeyId",
3085
3269
  # }
3086
3270
  #
3087
3271
  # @!attribute [rw] input_data_config
@@ -3121,6 +3305,18 @@ module Aws::Comprehend
3121
3305
  # not need to pass this option.
3122
3306
  # @return [String]
3123
3307
  #
3308
+ # @!attribute [rw] volume_kms_key_id
3309
+ # ID for the AWS Key Management Service (KMS) key that Amazon
3310
+ # Comprehend uses to encrypt data on the storage volume attached to
3311
+ # the ML compute instance(s) that process the analysis job. The
3312
+ # VolumeKmsKeyId can be either of the following formats:
3313
+ #
3314
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
3315
+ #
3316
+ # * Amazon Resource Name (ARN) of a KMS Key:
3317
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
3318
+ # @return [String]
3319
+ #
3124
3320
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartKeyPhrasesDetectionJobRequest AWS API Documentation
3125
3321
  #
3126
3322
  class StartKeyPhrasesDetectionJobRequest < Struct.new(
@@ -3129,7 +3325,8 @@ module Aws::Comprehend
3129
3325
  :data_access_role_arn,
3130
3326
  :job_name,
3131
3327
  :language_code,
3132
- :client_request_token)
3328
+ :client_request_token,
3329
+ :volume_kms_key_id)
3133
3330
  include Aws::Structure
3134
3331
  end
3135
3332
 
@@ -3171,11 +3368,13 @@ module Aws::Comprehend
3171
3368
  # },
3172
3369
  # output_data_config: { # required
3173
3370
  # s3_uri: "S3Uri", # required
3371
+ # kms_key_id: "KmsKeyId",
3174
3372
  # },
3175
3373
  # data_access_role_arn: "IamRoleArn", # required
3176
3374
  # job_name: "JobName",
3177
3375
  # language_code: "en", # required, accepts en, es, fr, de, it, pt
3178
3376
  # client_request_token: "ClientRequestTokenString",
3377
+ # volume_kms_key_id: "KmsKeyId",
3179
3378
  # }
3180
3379
  #
3181
3380
  # @!attribute [rw] input_data_config
@@ -3215,6 +3414,18 @@ module Aws::Comprehend
3215
3414
  # not need to pass this option.
3216
3415
  # @return [String]
3217
3416
  #
3417
+ # @!attribute [rw] volume_kms_key_id
3418
+ # ID for the AWS Key Management Service (KMS) key that Amazon
3419
+ # Comprehend uses to encrypt data on the storage volume attached to
3420
+ # the ML compute instance(s) that process the analysis job. The
3421
+ # VolumeKmsKeyId can be either of the following formats:
3422
+ #
3423
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
3424
+ #
3425
+ # * Amazon Resource Name (ARN) of a KMS Key:
3426
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
3427
+ # @return [String]
3428
+ #
3218
3429
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartSentimentDetectionJobRequest AWS API Documentation
3219
3430
  #
3220
3431
  class StartSentimentDetectionJobRequest < Struct.new(
@@ -3223,7 +3434,8 @@ module Aws::Comprehend
3223
3434
  :data_access_role_arn,
3224
3435
  :job_name,
3225
3436
  :language_code,
3226
- :client_request_token)
3437
+ :client_request_token,
3438
+ :volume_kms_key_id)
3227
3439
  include Aws::Structure
3228
3440
  end
3229
3441
 
@@ -3265,11 +3477,13 @@ module Aws::Comprehend
3265
3477
  # },
3266
3478
  # output_data_config: { # required
3267
3479
  # s3_uri: "S3Uri", # required
3480
+ # kms_key_id: "KmsKeyId",
3268
3481
  # },
3269
3482
  # data_access_role_arn: "IamRoleArn", # required
3270
3483
  # job_name: "JobName",
3271
3484
  # number_of_topics: 1,
3272
3485
  # client_request_token: "ClientRequestTokenString",
3486
+ # volume_kms_key_id: "KmsKeyId",
3273
3487
  # }
3274
3488
  #
3275
3489
  # @!attribute [rw] input_data_config
@@ -3310,6 +3524,18 @@ module Aws::Comprehend
3310
3524
  # not need to pass this option.
3311
3525
  # @return [String]
3312
3526
  #
3527
+ # @!attribute [rw] volume_kms_key_id
3528
+ # ID for the AWS Key Management Service (KMS) key that Amazon
3529
+ # Comprehend uses to encrypt data on the storage volume attached to
3530
+ # the ML compute instance(s) that process the analysis job. The
3531
+ # VolumeKmsKeyId can be either of the following formats:
3532
+ #
3533
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
3534
+ #
3535
+ # * Amazon Resource Name (ARN) of a KMS Key:
3536
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
3537
+ # @return [String]
3538
+ #
3313
3539
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartTopicsDetectionJobRequest AWS API Documentation
3314
3540
  #
3315
3541
  class StartTopicsDetectionJobRequest < Struct.new(
@@ -3318,7 +3544,8 @@ module Aws::Comprehend
3318
3544
  :data_access_role_arn,
3319
3545
  :job_name,
3320
3546
  :number_of_topics,
3321
- :client_request_token)
3547
+ :client_request_token,
3548
+ :volume_kms_key_id)
3322
3549
  include Aws::Structure
3323
3550
  end
3324
3551
 
@@ -3667,6 +3894,24 @@ module Aws::Comprehend
3667
3894
  # detection job. The default is 10.
3668
3895
  # @return [Integer]
3669
3896
  #
3897
+ # @!attribute [rw] data_access_role_arn
3898
+ # The Amazon Resource Name (ARN) of the AWS Identity and Management
3899
+ # (IAM) role that grants Amazon Comprehend read access to your input
3900
+ # data.
3901
+ # @return [String]
3902
+ #
3903
+ # @!attribute [rw] volume_kms_key_id
3904
+ # ID for the AWS Key Management Service (KMS) key that Amazon
3905
+ # Comprehend uses to encrypt data on the storage volume attached to
3906
+ # the ML compute instance(s) that process the analysis job. The
3907
+ # VolumeKmsKeyId can be either of the following formats:
3908
+ #
3909
+ # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
3910
+ #
3911
+ # * Amazon Resource Name (ARN) of a KMS Key:
3912
+ # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
3913
+ # @return [String]
3914
+ #
3670
3915
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/TopicsDetectionJobProperties AWS API Documentation
3671
3916
  #
3672
3917
  class TopicsDetectionJobProperties < Struct.new(
@@ -3678,7 +3923,9 @@ module Aws::Comprehend
3678
3923
  :end_time,
3679
3924
  :input_data_config,
3680
3925
  :output_data_config,
3681
- :number_of_topics)
3926
+ :number_of_topics,
3927
+ :data_access_role_arn,
3928
+ :volume_kms_key_id)
3682
3929
  include Aws::Structure
3683
3930
  end
3684
3931
 
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.15.0
4
+ version: 1.16.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-03-21 00:00:00.000000000 Z
11
+ date: 2019-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core