aws-sdk-comprehend 1.45.0 → 1.46.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-comprehend.rb +1 -1
- data/lib/aws-sdk-comprehend/client.rb +36 -1
- data/lib/aws-sdk-comprehend/client_api.rb +6 -0
- data/lib/aws-sdk-comprehend/types.rb +73 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '088418cead855548dbd57d122157f5b504c114501ef15cd4729bbd02e716b4df'
|
4
|
+
data.tar.gz: 58d821e73b94b96e8cc05815d5ac862fefd13b978536b94a1c3af4db978c4425
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba6aa6e379509ab435d7d0dc5131c1eabb40ab7f74cb20564513428c048afaf6cc73e6d72c755106967debc828b4f93f62c07fdf6d06c2dd16404b4dccc73969
|
7
|
+
data.tar.gz: c32b9cbac8701ee3a004490976280fbf0c07d7d97fee656ee71217d6fb18c3119e7e661cd3044e08aa8d34ba0e9339b4ff0ee38c9c93fc015f520a6e98b87371
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.46.0
|
data/lib/aws-sdk-comprehend.rb
CHANGED
@@ -728,6 +728,16 @@ module Aws::Comprehend
|
|
728
728
|
# multiple labels for an individual document are separated by a
|
729
729
|
# delimiter. The default delimiter between labels is a pipe (\|).
|
730
730
|
#
|
731
|
+
# @option params [String] :model_kms_key_id
|
732
|
+
# ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
|
733
|
+
# uses to encrypt trained custom models. The ModelKmsKeyId can be either
|
734
|
+
# of the following formats:
|
735
|
+
#
|
736
|
+
# * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
|
737
|
+
#
|
738
|
+
# * Amazon Resource Name (ARN) of a KMS Key:
|
739
|
+
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
740
|
+
#
|
731
741
|
# @return [Types::CreateDocumentClassifierResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
732
742
|
#
|
733
743
|
# * {Types::CreateDocumentClassifierResponse#document_classifier_arn #document_classifier_arn} => String
|
@@ -766,6 +776,7 @@ module Aws::Comprehend
|
|
766
776
|
# subnets: ["SubnetId"], # required
|
767
777
|
# },
|
768
778
|
# mode: "MULTI_CLASS", # accepts MULTI_CLASS, MULTI_LABEL
|
779
|
+
# model_kms_key_id: "KmsKeyId",
|
769
780
|
# })
|
770
781
|
#
|
771
782
|
# @example Response structure
|
@@ -811,6 +822,12 @@ module Aws::Comprehend
|
|
811
822
|
# "Sales" as the key might be added to an endpoint to indicate its use
|
812
823
|
# by the sales department.
|
813
824
|
#
|
825
|
+
# @option params [String] :data_access_role_arn
|
826
|
+
# The Amazon Resource Name (ARN) of the AWS identity and Access
|
827
|
+
# Management (IAM) role that grants Amazon Comprehend read access to
|
828
|
+
# trained custom models encrypted with a customer managed key
|
829
|
+
# (ModelKmsKeyId).
|
830
|
+
#
|
814
831
|
# @return [Types::CreateEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
815
832
|
#
|
816
833
|
# * {Types::CreateEndpointResponse#endpoint_arn #endpoint_arn} => String
|
@@ -828,6 +845,7 @@ module Aws::Comprehend
|
|
828
845
|
# value: "TagValue",
|
829
846
|
# },
|
830
847
|
# ],
|
848
|
+
# data_access_role_arn: "IamRoleArn",
|
831
849
|
# })
|
832
850
|
#
|
833
851
|
# @example Response structure
|
@@ -902,6 +920,16 @@ module Aws::Comprehend
|
|
902
920
|
#
|
903
921
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
904
922
|
#
|
923
|
+
# @option params [String] :model_kms_key_id
|
924
|
+
# ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
|
925
|
+
# uses to encrypt trained custom models. The ModelKmsKeyId can be either
|
926
|
+
# of the following formats
|
927
|
+
#
|
928
|
+
# * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
|
929
|
+
#
|
930
|
+
# * Amazon Resource Name (ARN) of a KMS Key:
|
931
|
+
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
932
|
+
#
|
905
933
|
# @return [Types::CreateEntityRecognizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
906
934
|
#
|
907
935
|
# * {Types::CreateEntityRecognizerResponse#entity_recognizer_arn #entity_recognizer_arn} => String
|
@@ -947,6 +975,7 @@ module Aws::Comprehend
|
|
947
975
|
# security_group_ids: ["SecurityGroupId"], # required
|
948
976
|
# subnets: ["SubnetId"], # required
|
949
977
|
# },
|
978
|
+
# model_kms_key_id: "KmsKeyId",
|
950
979
|
# })
|
951
980
|
#
|
952
981
|
# @example Response structure
|
@@ -1148,6 +1177,7 @@ module Aws::Comprehend
|
|
1148
1177
|
# resp.document_classifier_properties.vpc_config.subnets #=> Array
|
1149
1178
|
# resp.document_classifier_properties.vpc_config.subnets[0] #=> String
|
1150
1179
|
# resp.document_classifier_properties.mode #=> String, one of "MULTI_CLASS", "MULTI_LABEL"
|
1180
|
+
# resp.document_classifier_properties.model_kms_key_id #=> String
|
1151
1181
|
#
|
1152
1182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDocumentClassifier AWS API Documentation
|
1153
1183
|
#
|
@@ -1229,6 +1259,7 @@ module Aws::Comprehend
|
|
1229
1259
|
# resp.endpoint_properties.current_inference_units #=> Integer
|
1230
1260
|
# resp.endpoint_properties.creation_time #=> Time
|
1231
1261
|
# resp.endpoint_properties.last_modified_time #=> Time
|
1262
|
+
# resp.endpoint_properties.data_access_role_arn #=> String
|
1232
1263
|
#
|
1233
1264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEndpoint AWS API Documentation
|
1234
1265
|
#
|
@@ -1340,6 +1371,7 @@ module Aws::Comprehend
|
|
1340
1371
|
# resp.entity_recognizer_properties.vpc_config.security_group_ids[0] #=> String
|
1341
1372
|
# resp.entity_recognizer_properties.vpc_config.subnets #=> Array
|
1342
1373
|
# resp.entity_recognizer_properties.vpc_config.subnets[0] #=> String
|
1374
|
+
# resp.entity_recognizer_properties.model_kms_key_id #=> String
|
1343
1375
|
#
|
1344
1376
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEntityRecognizer AWS API Documentation
|
1345
1377
|
#
|
@@ -1965,6 +1997,7 @@ module Aws::Comprehend
|
|
1965
1997
|
# resp.document_classifier_properties_list[0].vpc_config.subnets #=> Array
|
1966
1998
|
# resp.document_classifier_properties_list[0].vpc_config.subnets[0] #=> String
|
1967
1999
|
# resp.document_classifier_properties_list[0].mode #=> String, one of "MULTI_CLASS", "MULTI_LABEL"
|
2000
|
+
# resp.document_classifier_properties_list[0].model_kms_key_id #=> String
|
1968
2001
|
# resp.next_token #=> String
|
1969
2002
|
#
|
1970
2003
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDocumentClassifiers AWS API Documentation
|
@@ -2084,6 +2117,7 @@ module Aws::Comprehend
|
|
2084
2117
|
# resp.endpoint_properties_list[0].current_inference_units #=> Integer
|
2085
2118
|
# resp.endpoint_properties_list[0].creation_time #=> Time
|
2086
2119
|
# resp.endpoint_properties_list[0].last_modified_time #=> Time
|
2120
|
+
# resp.endpoint_properties_list[0].data_access_role_arn #=> String
|
2087
2121
|
# resp.next_token #=> String
|
2088
2122
|
#
|
2089
2123
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEndpoints AWS API Documentation
|
@@ -2239,6 +2273,7 @@ module Aws::Comprehend
|
|
2239
2273
|
# resp.entity_recognizer_properties_list[0].vpc_config.security_group_ids[0] #=> String
|
2240
2274
|
# resp.entity_recognizer_properties_list[0].vpc_config.subnets #=> Array
|
2241
2275
|
# resp.entity_recognizer_properties_list[0].vpc_config.subnets[0] #=> String
|
2276
|
+
# resp.entity_recognizer_properties_list[0].model_kms_key_id #=> String
|
2242
2277
|
# resp.next_token #=> String
|
2243
2278
|
#
|
2244
2279
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntityRecognizers AWS API Documentation
|
@@ -3718,7 +3753,7 @@ module Aws::Comprehend
|
|
3718
3753
|
params: params,
|
3719
3754
|
config: config)
|
3720
3755
|
context[:gem_name] = 'aws-sdk-comprehend'
|
3721
|
-
context[:gem_version] = '1.
|
3756
|
+
context[:gem_version] = '1.46.0'
|
3722
3757
|
Seahorse::Client::Request.new(handlers, context)
|
3723
3758
|
end
|
3724
3759
|
|
@@ -416,6 +416,7 @@ module Aws::Comprehend
|
|
416
416
|
CreateDocumentClassifierRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
417
417
|
CreateDocumentClassifierRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
418
418
|
CreateDocumentClassifierRequest.add_member(:mode, Shapes::ShapeRef.new(shape: DocumentClassifierMode, location_name: "Mode"))
|
419
|
+
CreateDocumentClassifierRequest.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "ModelKmsKeyId"))
|
419
420
|
CreateDocumentClassifierRequest.struct_class = Types::CreateDocumentClassifierRequest
|
420
421
|
|
421
422
|
CreateDocumentClassifierResponse.add_member(:document_classifier_arn, Shapes::ShapeRef.new(shape: DocumentClassifierArn, location_name: "DocumentClassifierArn"))
|
@@ -426,6 +427,7 @@ module Aws::Comprehend
|
|
426
427
|
CreateEndpointRequest.add_member(:desired_inference_units, Shapes::ShapeRef.new(shape: InferenceUnitsInteger, required: true, location_name: "DesiredInferenceUnits"))
|
427
428
|
CreateEndpointRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
428
429
|
CreateEndpointRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
430
|
+
CreateEndpointRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
429
431
|
CreateEndpointRequest.struct_class = Types::CreateEndpointRequest
|
430
432
|
|
431
433
|
CreateEndpointResponse.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: ComprehendEndpointArn, location_name: "EndpointArn"))
|
@@ -439,6 +441,7 @@ module Aws::Comprehend
|
|
439
441
|
CreateEntityRecognizerRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
440
442
|
CreateEntityRecognizerRequest.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
441
443
|
CreateEntityRecognizerRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
444
|
+
CreateEntityRecognizerRequest.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "ModelKmsKeyId"))
|
442
445
|
CreateEntityRecognizerRequest.struct_class = Types::CreateEntityRecognizerRequest
|
443
446
|
|
444
447
|
CreateEntityRecognizerResponse.add_member(:entity_recognizer_arn, Shapes::ShapeRef.new(shape: EntityRecognizerArn, location_name: "EntityRecognizerArn"))
|
@@ -628,6 +631,7 @@ module Aws::Comprehend
|
|
628
631
|
DocumentClassifierProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
629
632
|
DocumentClassifierProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
630
633
|
DocumentClassifierProperties.add_member(:mode, Shapes::ShapeRef.new(shape: DocumentClassifierMode, location_name: "Mode"))
|
634
|
+
DocumentClassifierProperties.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "ModelKmsKeyId"))
|
631
635
|
DocumentClassifierProperties.struct_class = Types::DocumentClassifierProperties
|
632
636
|
|
633
637
|
DocumentClassifierPropertiesList.member = Shapes::ShapeRef.new(shape: DocumentClassifierProperties)
|
@@ -675,6 +679,7 @@ module Aws::Comprehend
|
|
675
679
|
EndpointProperties.add_member(:current_inference_units, Shapes::ShapeRef.new(shape: InferenceUnitsInteger, location_name: "CurrentInferenceUnits"))
|
676
680
|
EndpointProperties.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
677
681
|
EndpointProperties.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
682
|
+
EndpointProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
678
683
|
EndpointProperties.struct_class = Types::EndpointProperties
|
679
684
|
|
680
685
|
EndpointPropertiesList.member = Shapes::ShapeRef.new(shape: EndpointProperties)
|
@@ -768,6 +773,7 @@ module Aws::Comprehend
|
|
768
773
|
EntityRecognizerProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
769
774
|
EntityRecognizerProperties.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
770
775
|
EntityRecognizerProperties.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
776
|
+
EntityRecognizerProperties.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "ModelKmsKeyId"))
|
771
777
|
EntityRecognizerProperties.struct_class = Types::EntityRecognizerProperties
|
772
778
|
|
773
779
|
EntityRecognizerPropertiesList.member = Shapes::ShapeRef.new(shape: EntityRecognizerProperties)
|
@@ -707,6 +707,7 @@ module Aws::Comprehend
|
|
707
707
|
# subnets: ["SubnetId"], # required
|
708
708
|
# },
|
709
709
|
# mode: "MULTI_CLASS", # accepts MULTI_CLASS, MULTI_LABEL
|
710
|
+
# model_kms_key_id: "KmsKeyId",
|
710
711
|
# }
|
711
712
|
#
|
712
713
|
# @!attribute [rw] document_classifier_name
|
@@ -783,6 +784,17 @@ module Aws::Comprehend
|
|
783
784
|
# delimiter. The default delimiter between labels is a pipe (\|).
|
784
785
|
# @return [String]
|
785
786
|
#
|
787
|
+
# @!attribute [rw] model_kms_key_id
|
788
|
+
# ID for the AWS Key Management Service (KMS) key that Amazon
|
789
|
+
# Comprehend uses to encrypt trained custom models. The ModelKmsKeyId
|
790
|
+
# can be either of the following formats:
|
791
|
+
#
|
792
|
+
# * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
|
793
|
+
#
|
794
|
+
# * Amazon Resource Name (ARN) of a KMS Key:
|
795
|
+
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
796
|
+
# @return [String]
|
797
|
+
#
|
786
798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateDocumentClassifierRequest AWS API Documentation
|
787
799
|
#
|
788
800
|
class CreateDocumentClassifierRequest < Struct.new(
|
@@ -795,7 +807,8 @@ module Aws::Comprehend
|
|
795
807
|
:language_code,
|
796
808
|
:volume_kms_key_id,
|
797
809
|
:vpc_config,
|
798
|
-
:mode
|
810
|
+
:mode,
|
811
|
+
:model_kms_key_id)
|
799
812
|
SENSITIVE = []
|
800
813
|
include Aws::Structure
|
801
814
|
end
|
@@ -827,6 +840,7 @@ module Aws::Comprehend
|
|
827
840
|
# value: "TagValue",
|
828
841
|
# },
|
829
842
|
# ],
|
843
|
+
# data_access_role_arn: "IamRoleArn",
|
830
844
|
# }
|
831
845
|
#
|
832
846
|
# @!attribute [rw] endpoint_name
|
@@ -861,6 +875,13 @@ module Aws::Comprehend
|
|
861
875
|
# indicate its use by the sales department.
|
862
876
|
# @return [Array<Types::Tag>]
|
863
877
|
#
|
878
|
+
# @!attribute [rw] data_access_role_arn
|
879
|
+
# The Amazon Resource Name (ARN) of the AWS identity and Access
|
880
|
+
# Management (IAM) role that grants Amazon Comprehend read access to
|
881
|
+
# trained custom models encrypted with a customer managed key
|
882
|
+
# (ModelKmsKeyId).
|
883
|
+
# @return [String]
|
884
|
+
#
|
864
885
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateEndpointRequest AWS API Documentation
|
865
886
|
#
|
866
887
|
class CreateEndpointRequest < Struct.new(
|
@@ -868,7 +889,8 @@ module Aws::Comprehend
|
|
868
889
|
:model_arn,
|
869
890
|
:desired_inference_units,
|
870
891
|
:client_request_token,
|
871
|
-
:tags
|
892
|
+
:tags,
|
893
|
+
:data_access_role_arn)
|
872
894
|
SENSITIVE = []
|
873
895
|
include Aws::Structure
|
874
896
|
end
|
@@ -927,6 +949,7 @@ module Aws::Comprehend
|
|
927
949
|
# security_group_ids: ["SecurityGroupId"], # required
|
928
950
|
# subnets: ["SubnetId"], # required
|
929
951
|
# },
|
952
|
+
# model_kms_key_id: "KmsKeyId",
|
930
953
|
# }
|
931
954
|
#
|
932
955
|
# @!attribute [rw] recognizer_name
|
@@ -993,6 +1016,17 @@ module Aws::Comprehend
|
|
993
1016
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
994
1017
|
# @return [Types::VpcConfig]
|
995
1018
|
#
|
1019
|
+
# @!attribute [rw] model_kms_key_id
|
1020
|
+
# ID for the AWS Key Management Service (KMS) key that Amazon
|
1021
|
+
# Comprehend uses to encrypt trained custom models. The ModelKmsKeyId
|
1022
|
+
# can be either of the following formats
|
1023
|
+
#
|
1024
|
+
# * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
|
1025
|
+
#
|
1026
|
+
# * Amazon Resource Name (ARN) of a KMS Key:
|
1027
|
+
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
1028
|
+
# @return [String]
|
1029
|
+
#
|
996
1030
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateEntityRecognizerRequest AWS API Documentation
|
997
1031
|
#
|
998
1032
|
class CreateEntityRecognizerRequest < Struct.new(
|
@@ -1003,7 +1037,8 @@ module Aws::Comprehend
|
|
1003
1037
|
:client_request_token,
|
1004
1038
|
:language_code,
|
1005
1039
|
:volume_kms_key_id,
|
1006
|
-
:vpc_config
|
1040
|
+
:vpc_config,
|
1041
|
+
:model_kms_key_id)
|
1007
1042
|
SENSITIVE = []
|
1008
1043
|
include Aws::Structure
|
1009
1044
|
end
|
@@ -2160,6 +2195,17 @@ module Aws::Comprehend
|
|
2160
2195
|
# mode and this cannot be changed once the classifier is trained.
|
2161
2196
|
# @return [String]
|
2162
2197
|
#
|
2198
|
+
# @!attribute [rw] model_kms_key_id
|
2199
|
+
# ID for the AWS Key Management Service (KMS) key that Amazon
|
2200
|
+
# Comprehend uses to encrypt trained custom models. The ModelKmsKeyId
|
2201
|
+
# can be either of the following formats:
|
2202
|
+
#
|
2203
|
+
# * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
|
2204
|
+
#
|
2205
|
+
# * Amazon Resource Name (ARN) of a KMS Key:
|
2206
|
+
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
2207
|
+
# @return [String]
|
2208
|
+
#
|
2163
2209
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DocumentClassifierProperties AWS API Documentation
|
2164
2210
|
#
|
2165
2211
|
class DocumentClassifierProperties < Struct.new(
|
@@ -2177,7 +2223,8 @@ module Aws::Comprehend
|
|
2177
2223
|
:data_access_role_arn,
|
2178
2224
|
:volume_kms_key_id,
|
2179
2225
|
:vpc_config,
|
2180
|
-
:mode
|
2226
|
+
:mode,
|
2227
|
+
:model_kms_key_id)
|
2181
2228
|
SENSITIVE = [:classifier_metadata]
|
2182
2229
|
include Aws::Structure
|
2183
2230
|
end
|
@@ -2447,6 +2494,13 @@ module Aws::Comprehend
|
|
2447
2494
|
# The date and time that the endpoint was last modified.
|
2448
2495
|
# @return [Time]
|
2449
2496
|
#
|
2497
|
+
# @!attribute [rw] data_access_role_arn
|
2498
|
+
# The Amazon Resource Name (ARN) of the AWS identity and Access
|
2499
|
+
# Management (IAM) role that grants Amazon Comprehend read access to
|
2500
|
+
# trained custom models encrypted with a customer managed key
|
2501
|
+
# (ModelKmsKeyId).
|
2502
|
+
# @return [String]
|
2503
|
+
#
|
2450
2504
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/EndpointProperties AWS API Documentation
|
2451
2505
|
#
|
2452
2506
|
class EndpointProperties < Struct.new(
|
@@ -2457,7 +2511,8 @@ module Aws::Comprehend
|
|
2457
2511
|
:desired_inference_units,
|
2458
2512
|
:current_inference_units,
|
2459
2513
|
:creation_time,
|
2460
|
-
:last_modified_time
|
2514
|
+
:last_modified_time,
|
2515
|
+
:data_access_role_arn)
|
2461
2516
|
SENSITIVE = []
|
2462
2517
|
include Aws::Structure
|
2463
2518
|
end
|
@@ -3050,6 +3105,17 @@ module Aws::Comprehend
|
|
3050
3105
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
|
3051
3106
|
# @return [Types::VpcConfig]
|
3052
3107
|
#
|
3108
|
+
# @!attribute [rw] model_kms_key_id
|
3109
|
+
# ID for the AWS Key Management Service (KMS) key that Amazon
|
3110
|
+
# Comprehend uses to encrypt trained custom models. The ModelKmsKeyId
|
3111
|
+
# can be either of the following formats:
|
3112
|
+
#
|
3113
|
+
# * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
|
3114
|
+
#
|
3115
|
+
# * Amazon Resource Name (ARN) of a KMS Key:
|
3116
|
+
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
3117
|
+
# @return [String]
|
3118
|
+
#
|
3053
3119
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/EntityRecognizerProperties AWS API Documentation
|
3054
3120
|
#
|
3055
3121
|
class EntityRecognizerProperties < Struct.new(
|
@@ -3065,7 +3131,8 @@ module Aws::Comprehend
|
|
3065
3131
|
:recognizer_metadata,
|
3066
3132
|
:data_access_role_arn,
|
3067
3133
|
:volume_kms_key_id,
|
3068
|
-
:vpc_config
|
3134
|
+
:vpc_config,
|
3135
|
+
:model_kms_key_id)
|
3069
3136
|
SENSITIVE = [:recognizer_metadata]
|
3070
3137
|
include Aws::Structure
|
3071
3138
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-comprehend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.46.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: 2021-03-
|
11
|
+
date: 2021-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
66
66
|
licenses:
|
67
67
|
- Apache-2.0
|
68
68
|
metadata:
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-comprehend
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-comprehend/CHANGELOG.md
|
71
71
|
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|