aws-sdk-comprehend 1.66.0 → 1.67.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
  SHA256:
3
- metadata.gz: '0390340a6b231a1b4bb183c07f02e9d3570e85ce0052eda6ec39c6caf8856c66'
4
- data.tar.gz: 9d470de209260ed3d4f8871a55bdd2622b8a0f910fd387e4ab9b895d0f982316
3
+ metadata.gz: 98cca79ad616409a627fb408bf9d57dde00f6ae9f610d0b2347cb53172595630
4
+ data.tar.gz: 37bf33b746207ed09a41855ec47bac27e7bf7d9618ef40927f7ad89234d2d4ab
5
5
  SHA512:
6
- metadata.gz: dc7e9a365dc88ae34054d6d03d5171708d3baa86d09e201ccb0afafd9579dbe42c7f3f27f280442ee0d37b105e6875e6cf2fc819002073ecff96a6a0485e3d0c
7
- data.tar.gz: b7ab28ad53e884b3b07205e89852e718e5741657023cd3c9819577df1141d9a434b8ef9df30709777a2cad314e58e167a145469cb5b19bc733952c30ada5638c
6
+ metadata.gz: ee8117be4044e5ded7fd37ff794c2de556a4f47beec32abee11ffb61a9f7a82ea440c21cec9f1ab7389ad67a8ede376e975cb2b54bf0065e2e224c0ba005aa04
7
+ data.tar.gz: ff0b87b8396361b18eaf86b3b907b99e20ca83f1777216fa1446dfe6debac2f6ac769e50d066d0c47474472e408d404a85277ad9224db88833303b00148d1eb0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.67.0 (2023-03-24)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new field (FlywheelArn) to the EntitiesDetectionJobProperties object. The FlywheelArn field is returned in the DescribeEntitiesDetectionJob and ListEntitiesDetectionJobs responses when the EntitiesDetection job is started with a FlywheelArn instead of an EntityRecognizerArn .
8
+
4
9
  1.66.0 (2023-02-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.66.0
1
+ 1.67.0
@@ -542,12 +542,6 @@ module Aws::Comprehend
542
542
  # list can contain a maximum of 25 documents. The maximum size of each
543
543
  # document is 5 KB.
544
544
  #
545
- # <note markdown="1"> Amazon Comprehend performs real-time sentiment analysis on the first
546
- # 500 characters of the input text and ignores any additional text in
547
- # the input.
548
- #
549
- # </note>
550
- #
551
545
  # @option params [required, String] :language_code
552
546
  # The language of the input documents. You can specify any of the
553
547
  # primary languages supported by Amazon Comprehend. All documents must
@@ -969,13 +963,12 @@ module Aws::Comprehend
969
963
  # The version name given to the newly created classifier. Version names
970
964
  # can have a maximum of 256 characters. Alphanumeric characters, hyphens
971
965
  # (-) and underscores (\_) are allowed. The version name must be unique
972
- # among all models with the same classifier name in the account/AWS
973
- # Region.
966
+ # among all models with the same classifier name in the Amazon Web
967
+ # Services account/Amazon Web Services Region.
974
968
  #
975
969
  # @option params [required, String] :data_access_role_arn
976
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
977
- # Management (IAM) role that grants Amazon Comprehend read access to
978
- # your input data.
970
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
971
+ # Comprehend read access to your input data.
979
972
  #
980
973
  # @option params [Array<Types::Tag>] :tags
981
974
  # Tags to associate with the document classifier. A tag is a key-value
@@ -1003,10 +996,10 @@ module Aws::Comprehend
1003
996
  # same language.
1004
997
  #
1005
998
  # @option params [String] :volume_kms_key_id
1006
- # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
1007
- # uses to encrypt data on the storage volume attached to the ML compute
1008
- # instance(s) that process the analysis job. The VolumeKmsKeyId can be
1009
- # either of the following formats:
999
+ # ID for the Amazon Web Services Key Management Service (KMS) key that
1000
+ # Amazon Comprehend uses to encrypt data on the storage volume attached
1001
+ # to the ML compute instance(s) that process the analysis job. The
1002
+ # VolumeKmsKeyId can be either of the following formats:
1010
1003
  #
1011
1004
  # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
1012
1005
  #
@@ -1031,9 +1024,9 @@ module Aws::Comprehend
1031
1024
  # delimiter. The default delimiter between labels is a pipe (\|).
1032
1025
  #
1033
1026
  # @option params [String] :model_kms_key_id
1034
- # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
1035
- # uses to encrypt trained custom models. The ModelKmsKeyId can be either
1036
- # of the following formats:
1027
+ # ID for the KMS key that Amazon Comprehend uses to encrypt trained
1028
+ # custom models. The ModelKmsKeyId can be either of the following
1029
+ # formats:
1037
1030
  #
1038
1031
  # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
1039
1032
  #
@@ -1042,8 +1035,8 @@ module Aws::Comprehend
1042
1035
  #
1043
1036
  # @option params [String] :model_policy
1044
1037
  # The resource-based policy to attach to your custom document classifier
1045
- # model. You can use this policy to allow another AWS account to import
1046
- # your custom model.
1038
+ # model. You can use this policy to allow another Amazon Web Services
1039
+ # account to import your custom model.
1047
1040
  #
1048
1041
  # Provide your policy as a JSON body that you enter as a UTF-8 encoded
1049
1042
  # string without line breaks. To provide valid JSON, enclose the
@@ -1156,10 +1149,9 @@ module Aws::Comprehend
1156
1149
  # department.
1157
1150
  #
1158
1151
  # @option params [String] :data_access_role_arn
1159
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
1160
- # Management (IAM) role that grants Amazon Comprehend read access to
1161
- # trained custom models encrypted with a customer managed key
1162
- # (ModelKmsKeyId).
1152
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
1153
+ # Comprehend read access to trained custom models encrypted with a
1154
+ # customer managed key (ModelKmsKeyId).
1163
1155
  #
1164
1156
  # @option params [String] :flywheel_arn
1165
1157
  # The Amazon Resource Number (ARN) of the flywheel to which the endpoint
@@ -1209,19 +1201,17 @@ module Aws::Comprehend
1209
1201
  # The name given to the newly created recognizer. Recognizer names can
1210
1202
  # be a maximum of 256 characters. Alphanumeric characters, hyphens (-)
1211
1203
  # and underscores (\_) are allowed. The name must be unique in the
1212
- # account/region.
1204
+ # account/Region.
1213
1205
  #
1214
1206
  # @option params [String] :version_name
1215
1207
  # The version name given to the newly created recognizer. Version names
1216
1208
  # can be a maximum of 256 characters. Alphanumeric characters, hyphens
1217
1209
  # (-) and underscores (\_) are allowed. The version name must be unique
1218
- # among all models with the same recognizer name in the account/ AWS
1219
- # Region.
1210
+ # among all models with the same recognizer name in the account/Region.
1220
1211
  #
1221
1212
  # @option params [required, String] :data_access_role_arn
1222
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
1223
- # Management (IAM) role that grants Amazon Comprehend read access to
1224
- # your input data.
1213
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
1214
+ # Comprehend read access to your input data.
1225
1215
  #
1226
1216
  # @option params [Array<Types::Tag>] :tags
1227
1217
  # Tags to associate with the entity recognizer. A tag is a key-value
@@ -1231,7 +1221,7 @@ module Aws::Comprehend
1231
1221
  #
1232
1222
  # @option params [required, Types::EntityRecognizerInputDataConfig] :input_data_config
1233
1223
  # Specifies the format and location of the input data. The S3 bucket
1234
- # containing the input data must be located in the same region as the
1224
+ # containing the input data must be located in the same Region as the
1235
1225
  # entity recognizer being created.
1236
1226
  #
1237
1227
  # @option params [String] :client_request_token
@@ -1249,10 +1239,10 @@ module Aws::Comprehend
1249
1239
  # language. All training documents must be in the same language.
1250
1240
  #
1251
1241
  # @option params [String] :volume_kms_key_id
1252
- # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
1253
- # uses to encrypt data on the storage volume attached to the ML compute
1254
- # instance(s) that process the analysis job. The VolumeKmsKeyId can be
1255
- # either of the following formats:
1242
+ # ID for the Amazon Web Services Key Management Service (KMS) key that
1243
+ # Amazon Comprehend uses to encrypt data on the storage volume attached
1244
+ # to the ML compute instance(s) that process the analysis job. The
1245
+ # VolumeKmsKeyId can be either of the following formats:
1256
1246
  #
1257
1247
  # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
1258
1248
  #
@@ -1269,9 +1259,9 @@ module Aws::Comprehend
1269
1259
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
1270
1260
  #
1271
1261
  # @option params [String] :model_kms_key_id
1272
- # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
1273
- # uses to encrypt trained custom models. The ModelKmsKeyId can be either
1274
- # of the following formats:
1262
+ # ID for the KMS key that Amazon Comprehend uses to encrypt trained
1263
+ # custom models. The ModelKmsKeyId can be either of the following
1264
+ # formats:
1275
1265
  #
1276
1266
  # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
1277
1267
  #
@@ -1280,8 +1270,8 @@ module Aws::Comprehend
1280
1270
  #
1281
1271
  # @option params [String] :model_policy
1282
1272
  # The JSON resource-based policy to attach to your custom entity
1283
- # recognizer model. You can use this policy to allow another AWS account
1284
- # to import your custom model.
1273
+ # recognizer model. You can use this policy to allow another Amazon Web
1274
+ # Services account to import your custom model.
1285
1275
  #
1286
1276
  # Provide your JSON as a UTF-8 encoded string without line breaks. To
1287
1277
  # provide valid JSON for your policy, enclose the attribute names and
@@ -1366,10 +1356,10 @@ module Aws::Comprehend
1366
1356
  req.send_request(options)
1367
1357
  end
1368
1358
 
1369
- # A flywheel is an AWS resource that orchestrates the ongoing training
1370
- # of a model for custom classification or custom entity recognition. You
1371
- # can create a flywheel to start with an existing trained model, or
1372
- # Comprehend can create and train a new model.
1359
+ # A flywheel is an Amazon Web Services resource that orchestrates the
1360
+ # ongoing training of a model for custom classification or custom entity
1361
+ # recognition. You can create a flywheel to start with an existing
1362
+ # trained model, or Comprehend can create and train a new model.
1373
1363
  #
1374
1364
  # When you create the flywheel, Comprehend creates a data lake in your
1375
1365
  # account. The data lake holds the training data and test data for all
@@ -1398,9 +1388,9 @@ module Aws::Comprehend
1398
1388
  # Resource Number (ARN) of the model version.
1399
1389
  #
1400
1390
  # @option params [required, String] :data_access_role_arn
1401
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
1402
- # Management (IAM) role that grants Amazon Comprehend the permissions
1403
- # required to access the flywheel data in the data lake.
1391
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
1392
+ # Comprehend the permissions required to access the flywheel data in the
1393
+ # data lake.
1404
1394
  #
1405
1395
  # @option params [Types::TaskConfig] :task_config
1406
1396
  # Configuration about the custom classifier associated with the
@@ -1752,7 +1742,7 @@ module Aws::Comprehend
1752
1742
  #
1753
1743
  # resp.document_classifier_properties.document_classifier_arn #=> String
1754
1744
  # resp.document_classifier_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
1755
- # resp.document_classifier_properties.status #=> String, one of "SUBMITTED", "TRAINING", "DELETING", "STOP_REQUESTED", "STOPPED", "IN_ERROR", "TRAINED"
1745
+ # resp.document_classifier_properties.status #=> String, one of "SUBMITTED", "TRAINING", "DELETING", "STOP_REQUESTED", "STOPPED", "IN_ERROR", "TRAINED", "TRAINED_WITH_WARNING"
1756
1746
  # resp.document_classifier_properties.message #=> String
1757
1747
  # resp.document_classifier_properties.submit_time #=> Time
1758
1748
  # resp.document_classifier_properties.end_time #=> Time
@@ -1944,6 +1934,7 @@ module Aws::Comprehend
1944
1934
  # resp.entities_detection_job_properties.vpc_config.security_group_ids[0] #=> String
1945
1935
  # resp.entities_detection_job_properties.vpc_config.subnets #=> Array
1946
1936
  # resp.entities_detection_job_properties.vpc_config.subnets[0] #=> String
1937
+ # resp.entities_detection_job_properties.flywheel_arn #=> String
1947
1938
  #
1948
1939
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEntitiesDetectionJob AWS API Documentation
1949
1940
  #
@@ -1975,7 +1966,7 @@ module Aws::Comprehend
1975
1966
  #
1976
1967
  # resp.entity_recognizer_properties.entity_recognizer_arn #=> String
1977
1968
  # resp.entity_recognizer_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
1978
- # resp.entity_recognizer_properties.status #=> String, one of "SUBMITTED", "TRAINING", "DELETING", "STOP_REQUESTED", "STOPPED", "IN_ERROR", "TRAINED"
1969
+ # resp.entity_recognizer_properties.status #=> String, one of "SUBMITTED", "TRAINING", "DELETING", "STOP_REQUESTED", "STOPPED", "IN_ERROR", "TRAINED", "TRAINED_WITH_WARNING"
1979
1970
  # resp.entity_recognizer_properties.message #=> String
1980
1971
  # resp.entity_recognizer_properties.submit_time #=> Time
1981
1972
  # resp.entity_recognizer_properties.end_time #=> Time
@@ -2757,12 +2748,6 @@ module Aws::Comprehend
2757
2748
  # @option params [required, String] :text
2758
2749
  # A UTF-8 text string. The maximum string size is 5 KB.
2759
2750
  #
2760
- # <note markdown="1"> Amazon Comprehend performs real-time sentiment analysis on the first
2761
- # 500 characters of the input text and ignores any additional text in
2762
- # the input.
2763
- #
2764
- # </note>
2765
- #
2766
2751
  # @option params [required, String] :language_code
2767
2752
  # The language of the input documents. You can specify any of the
2768
2753
  # primary languages supported by Amazon Comprehend. All documents must
@@ -2900,15 +2885,15 @@ module Aws::Comprehend
2900
2885
  end
2901
2886
 
2902
2887
  # Creates a new custom model that replicates a source custom model that
2903
- # you import. The source model can be in your AWS account or another
2904
- # one.
2888
+ # you import. The source model can be in your Amazon Web Services
2889
+ # account or another one.
2905
2890
  #
2906
- # If the source model is in another AWS account, then it must have a
2907
- # resource-based policy that authorizes you to import it.
2891
+ # If the source model is in another Amazon Web Services account, then it
2892
+ # must have a resource-based policy that authorizes you to import it.
2908
2893
  #
2909
- # The source model must be in the same AWS region that you're using
2910
- # when you import. You can't import a model that's in a different
2911
- # region.
2894
+ # The source model must be in the same Amazon Web Services Region that
2895
+ # you're using when you import. You can't import a model that's in a
2896
+ # different Region.
2912
2897
  #
2913
2898
  # @option params [required, String] :source_model_arn
2914
2899
  # The Amazon Resource Name (ARN) of the custom model to import.
@@ -2922,12 +2907,12 @@ module Aws::Comprehend
2922
2907
  # import. Version names can have a maximum of 256 characters.
2923
2908
  # Alphanumeric characters, hyphens (-) and underscores (\_) are allowed.
2924
2909
  # The version name must be unique among all models with the same
2925
- # classifier name in the account/AWS Region.
2910
+ # classifier name in the account/Region.
2926
2911
  #
2927
2912
  # @option params [String] :model_kms_key_id
2928
- # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
2929
- # uses to encrypt trained custom models. The ModelKmsKeyId can be either
2930
- # of the following formats:
2913
+ # ID for the KMS key that Amazon Comprehend uses to encrypt trained
2914
+ # custom models. The ModelKmsKeyId can be either of the following
2915
+ # formats:
2931
2916
  #
2932
2917
  # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
2933
2918
  #
@@ -2935,10 +2920,9 @@ module Aws::Comprehend
2935
2920
  # `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
2936
2921
  #
2937
2922
  # @option params [String] :data_access_role_arn
2938
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
2939
- # Management (IAM) role that grants Amazon Comprehend permission to use
2940
- # Amazon Key Management Service (KMS) to encrypt or decrypt the custom
2941
- # model.
2923
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
2924
+ # Comprehend permission to use Amazon Key Management Service (KMS) to
2925
+ # encrypt or decrypt the custom model.
2942
2926
  #
2943
2927
  # @option params [Array<Types::Tag>] :tags
2944
2928
  # Tags to associate with the custom model that is created by this
@@ -2980,7 +2964,7 @@ module Aws::Comprehend
2980
2964
  req.send_request(options)
2981
2965
  end
2982
2966
 
2983
- # List the datasets that you have configured in this region. For more
2967
+ # List the datasets that you have configured in this Region. For more
2984
2968
  # information about datasets, see [ Flywheel overview][1] in the *Amazon
2985
2969
  # Comprehend Developer Guide*.
2986
2970
  #
@@ -3148,7 +3132,7 @@ module Aws::Comprehend
3148
3132
  # resp.document_classifier_summaries_list[0].number_of_versions #=> Integer
3149
3133
  # resp.document_classifier_summaries_list[0].latest_version_created_at #=> Time
3150
3134
  # resp.document_classifier_summaries_list[0].latest_version_name #=> String
3151
- # resp.document_classifier_summaries_list[0].latest_version_status #=> String, one of "SUBMITTED", "TRAINING", "DELETING", "STOP_REQUESTED", "STOPPED", "IN_ERROR", "TRAINED"
3135
+ # resp.document_classifier_summaries_list[0].latest_version_status #=> String, one of "SUBMITTED", "TRAINING", "DELETING", "STOP_REQUESTED", "STOPPED", "IN_ERROR", "TRAINED", "TRAINED_WITH_WARNING"
3152
3136
  # resp.next_token #=> String
3153
3137
  #
3154
3138
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDocumentClassifierSummaries AWS API Documentation
@@ -3185,7 +3169,7 @@ module Aws::Comprehend
3185
3169
  #
3186
3170
  # resp = client.list_document_classifiers({
3187
3171
  # filter: {
3188
- # status: "SUBMITTED", # accepts SUBMITTED, TRAINING, DELETING, STOP_REQUESTED, STOPPED, IN_ERROR, TRAINED
3172
+ # status: "SUBMITTED", # accepts SUBMITTED, TRAINING, DELETING, STOP_REQUESTED, STOPPED, IN_ERROR, TRAINED, TRAINED_WITH_WARNING
3189
3173
  # document_classifier_name: "ComprehendArnName",
3190
3174
  # submit_time_before: Time.now,
3191
3175
  # submit_time_after: Time.now,
@@ -3199,7 +3183,7 @@ module Aws::Comprehend
3199
3183
  # resp.document_classifier_properties_list #=> Array
3200
3184
  # resp.document_classifier_properties_list[0].document_classifier_arn #=> String
3201
3185
  # resp.document_classifier_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
3202
- # resp.document_classifier_properties_list[0].status #=> String, one of "SUBMITTED", "TRAINING", "DELETING", "STOP_REQUESTED", "STOPPED", "IN_ERROR", "TRAINED"
3186
+ # resp.document_classifier_properties_list[0].status #=> String, one of "SUBMITTED", "TRAINING", "DELETING", "STOP_REQUESTED", "STOPPED", "IN_ERROR", "TRAINED", "TRAINED_WITH_WARNING"
3203
3187
  # resp.document_classifier_properties_list[0].message #=> String
3204
3188
  # resp.document_classifier_properties_list[0].submit_time #=> Time
3205
3189
  # resp.document_classifier_properties_list[0].end_time #=> Time
@@ -3448,6 +3432,7 @@ module Aws::Comprehend
3448
3432
  # resp.entities_detection_job_properties_list[0].vpc_config.security_group_ids[0] #=> String
3449
3433
  # resp.entities_detection_job_properties_list[0].vpc_config.subnets #=> Array
3450
3434
  # resp.entities_detection_job_properties_list[0].vpc_config.subnets[0] #=> String
3435
+ # resp.entities_detection_job_properties_list[0].flywheel_arn #=> String
3451
3436
  # resp.next_token #=> String
3452
3437
  #
3453
3438
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntitiesDetectionJobs AWS API Documentation
@@ -3490,7 +3475,7 @@ module Aws::Comprehend
3490
3475
  # resp.entity_recognizer_summaries_list[0].number_of_versions #=> Integer
3491
3476
  # resp.entity_recognizer_summaries_list[0].latest_version_created_at #=> Time
3492
3477
  # resp.entity_recognizer_summaries_list[0].latest_version_name #=> String
3493
- # resp.entity_recognizer_summaries_list[0].latest_version_status #=> String, one of "SUBMITTED", "TRAINING", "DELETING", "STOP_REQUESTED", "STOPPED", "IN_ERROR", "TRAINED"
3478
+ # resp.entity_recognizer_summaries_list[0].latest_version_status #=> String, one of "SUBMITTED", "TRAINING", "DELETING", "STOP_REQUESTED", "STOPPED", "IN_ERROR", "TRAINED", "TRAINED_WITH_WARNING"
3494
3479
  # resp.next_token #=> String
3495
3480
  #
3496
3481
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntityRecognizerSummaries AWS API Documentation
@@ -3534,7 +3519,7 @@ module Aws::Comprehend
3534
3519
  #
3535
3520
  # resp = client.list_entity_recognizers({
3536
3521
  # filter: {
3537
- # status: "SUBMITTED", # accepts SUBMITTED, TRAINING, DELETING, STOP_REQUESTED, STOPPED, IN_ERROR, TRAINED
3522
+ # status: "SUBMITTED", # accepts SUBMITTED, TRAINING, DELETING, STOP_REQUESTED, STOPPED, IN_ERROR, TRAINED, TRAINED_WITH_WARNING
3538
3523
  # recognizer_name: "ComprehendArnName",
3539
3524
  # submit_time_before: Time.now,
3540
3525
  # submit_time_after: Time.now,
@@ -3548,7 +3533,7 @@ module Aws::Comprehend
3548
3533
  # resp.entity_recognizer_properties_list #=> Array
3549
3534
  # resp.entity_recognizer_properties_list[0].entity_recognizer_arn #=> String
3550
3535
  # resp.entity_recognizer_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
3551
- # resp.entity_recognizer_properties_list[0].status #=> String, one of "SUBMITTED", "TRAINING", "DELETING", "STOP_REQUESTED", "STOPPED", "IN_ERROR", "TRAINED"
3536
+ # resp.entity_recognizer_properties_list[0].status #=> String, one of "SUBMITTED", "TRAINING", "DELETING", "STOP_REQUESTED", "STOPPED", "IN_ERROR", "TRAINED", "TRAINED_WITH_WARNING"
3552
3537
  # resp.entity_recognizer_properties_list[0].message #=> String
3553
3538
  # resp.entity_recognizer_properties_list[0].submit_time #=> Time
3554
3539
  # resp.entity_recognizer_properties_list[0].end_time #=> Time
@@ -4179,9 +4164,9 @@ module Aws::Comprehend
4179
4164
  end
4180
4165
 
4181
4166
  # Attaches a resource-based policy to a custom model. You can use this
4182
- # policy to authorize an entity in another AWS account to import the
4183
- # custom model, which replicates it in Amazon Comprehend in their
4184
- # account.
4167
+ # policy to authorize an entity in another Amazon Web Services account
4168
+ # to import the custom model, which replicates it in Amazon Comprehend
4169
+ # in their account.
4185
4170
  #
4186
4171
  # @option params [required, String] :resource_arn
4187
4172
  # The Amazon Resource Name (ARN) of the custom model to attach the
@@ -4250,9 +4235,8 @@ module Aws::Comprehend
4250
4235
  # Specifies where to send the output files.
4251
4236
  #
4252
4237
  # @option params [required, String] :data_access_role_arn
4253
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
4254
- # Management (IAM) role that grants Amazon Comprehend read access to
4255
- # your input data.
4238
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
4239
+ # Comprehend read access to your input data.
4256
4240
  #
4257
4241
  # @option params [String] :client_request_token
4258
4242
  # A unique identifier for the request. If you do not set the client
@@ -4262,10 +4246,10 @@ module Aws::Comprehend
4262
4246
  # not need to pass this option.**
4263
4247
  #
4264
4248
  # @option params [String] :volume_kms_key_id
4265
- # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
4266
- # uses to encrypt data on the storage volume attached to the ML compute
4267
- # instance(s) that process the analysis job. The VolumeKmsKeyId can be
4268
- # either of the following formats:
4249
+ # ID for the Amazon Web Services Key Management Service (KMS) key that
4250
+ # Amazon Comprehend uses to encrypt data on the storage volume attached
4251
+ # to the ML compute instance(s) that process the analysis job. The
4252
+ # VolumeKmsKeyId can be either of the following formats:
4269
4253
  #
4270
4254
  # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
4271
4255
  #
@@ -4359,14 +4343,13 @@ module Aws::Comprehend
4359
4343
  # Specifies where to send the output files.
4360
4344
  #
4361
4345
  # @option params [required, String] :data_access_role_arn
4362
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
4363
- # Management (IAM) role that grants Amazon Comprehend read access to
4364
- # your input data. For more information, see
4365
- # [https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions][1].
4346
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
4347
+ # Comprehend read access to your input data. For more information, see
4348
+ # [Role-based permissions][1].
4366
4349
  #
4367
4350
  #
4368
4351
  #
4369
- # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions
4352
+ # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/security_iam_id-based-policy-examples.html#auth-role-permissions
4370
4353
  #
4371
4354
  # @option params [String] :job_name
4372
4355
  # An identifier for the job.
@@ -4379,10 +4362,10 @@ module Aws::Comprehend
4379
4362
  # not need to pass this option.**
4380
4363
  #
4381
4364
  # @option params [String] :volume_kms_key_id
4382
- # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
4383
- # uses to encrypt data on the storage volume attached to the ML compute
4384
- # instance(s) that process the analysis job. The VolumeKmsKeyId can be
4385
- # either of the following formats:
4365
+ # ID for the Amazon Web Services Key Management Service (KMS) key that
4366
+ # Amazon Comprehend uses to encrypt data on the storage volume attached
4367
+ # to the ML compute instance(s) that process the analysis job. The
4368
+ # VolumeKmsKeyId can be either of the following formats:
4386
4369
  #
4387
4370
  # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
4388
4371
  #
@@ -4472,14 +4455,13 @@ module Aws::Comprehend
4472
4455
  # Specifies where to send the output files.
4473
4456
  #
4474
4457
  # @option params [required, String] :data_access_role_arn
4475
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
4476
- # Management (IAM) role that grants Amazon Comprehend read access to
4477
- # your input data. For more information, see
4478
- # [https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions][1].
4458
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
4459
+ # Comprehend read access to your input data. For more information, see
4460
+ # [Role-based permissions][1].
4479
4461
  #
4480
4462
  #
4481
4463
  #
4482
- # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions
4464
+ # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/security_iam_id-based-policy-examples.html#auth-role-permissions
4483
4465
  #
4484
4466
  # @option params [String] :job_name
4485
4467
  # The identifier of the job.
@@ -4503,10 +4485,10 @@ module Aws::Comprehend
4503
4485
  # not need to pass this option.**
4504
4486
  #
4505
4487
  # @option params [String] :volume_kms_key_id
4506
- # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
4507
- # uses to encrypt data on the storage volume attached to the ML compute
4508
- # instance(s) that process the analysis job. The VolumeKmsKeyId can be
4509
- # either of the following formats:
4488
+ # ID for the Amazon Web Services Key Management Service (KMS) key that
4489
+ # Amazon Comprehend uses to encrypt data on the storage volume attached
4490
+ # to the ML compute instance(s) that process the analysis job. The
4491
+ # VolumeKmsKeyId can be either of the following formats:
4510
4492
  #
4511
4493
  # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
4512
4494
  #
@@ -4600,9 +4582,8 @@ module Aws::Comprehend
4600
4582
  # Specifies where to send the output files.
4601
4583
  #
4602
4584
  # @option params [required, String] :data_access_role_arn
4603
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
4604
- # Management (IAM) role that grants Amazon Comprehend read access to
4605
- # your input data.
4585
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
4586
+ # Comprehend read access to your input data.
4606
4587
  #
4607
4588
  # @option params [String] :job_name
4608
4589
  # The identifier of the events detection job.
@@ -4727,14 +4708,13 @@ module Aws::Comprehend
4727
4708
  # Specifies where to send the output files.
4728
4709
  #
4729
4710
  # @option params [required, String] :data_access_role_arn
4730
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
4731
- # Management (IAM) role that grants Amazon Comprehend read access to
4732
- # your input data. For more information, see
4733
- # [https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions][1].
4711
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
4712
+ # Comprehend read access to your input data. For more information, see
4713
+ # [Role-based permissions][1].
4734
4714
  #
4735
4715
  #
4736
4716
  #
4737
- # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions
4717
+ # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/security_iam_id-based-policy-examples.html#auth-role-permissions
4738
4718
  #
4739
4719
  # @option params [String] :job_name
4740
4720
  # The identifier of the job.
@@ -4752,10 +4732,10 @@ module Aws::Comprehend
4752
4732
  # not need to pass this option.**
4753
4733
  #
4754
4734
  # @option params [String] :volume_kms_key_id
4755
- # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
4756
- # uses to encrypt data on the storage volume attached to the ML compute
4757
- # instance(s) that process the analysis job. The VolumeKmsKeyId can be
4758
- # either of the following formats:
4735
+ # ID for the Amazon Web Services Key Management Service (KMS) key that
4736
+ # Amazon Comprehend uses to encrypt data on the storage volume attached
4737
+ # to the ML compute instance(s) that process the analysis job. The
4738
+ # VolumeKmsKeyId can be either of the following formats:
4759
4739
  #
4760
4740
  # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
4761
4741
  #
@@ -4853,9 +4833,8 @@ module Aws::Comprehend
4853
4833
  # definition that includes the `PiiEntityTypes` parameter.
4854
4834
  #
4855
4835
  # @option params [required, String] :data_access_role_arn
4856
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
4857
- # Management (IAM) role that grants Amazon Comprehend read access to
4858
- # your input data.
4836
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
4837
+ # Comprehend read access to your input data.
4859
4838
  #
4860
4839
  # @option params [String] :job_name
4861
4840
  # The identifier of the job.
@@ -4942,14 +4921,13 @@ module Aws::Comprehend
4942
4921
  # Specifies where to send the output files.
4943
4922
  #
4944
4923
  # @option params [required, String] :data_access_role_arn
4945
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
4946
- # Management (IAM) role that grants Amazon Comprehend read access to
4947
- # your input data. For more information, see
4948
- # [https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions][1].
4924
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
4925
+ # Comprehend read access to your input data. For more information, see
4926
+ # [Role-based permissions][1].
4949
4927
  #
4950
4928
  #
4951
4929
  #
4952
- # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions
4930
+ # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/security_iam_id-based-policy-examples.html#auth-role-permissions
4953
4931
  #
4954
4932
  # @option params [String] :job_name
4955
4933
  # The identifier of the job.
@@ -4967,10 +4945,10 @@ module Aws::Comprehend
4967
4945
  # not need to pass this option.**
4968
4946
  #
4969
4947
  # @option params [String] :volume_kms_key_id
4970
- # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
4971
- # uses to encrypt data on the storage volume attached to the ML compute
4972
- # instance(s) that process the analysis job. The VolumeKmsKeyId can be
4973
- # either of the following formats:
4948
+ # ID for the Amazon Web Services Key Management Service (KMS) key that
4949
+ # Amazon Comprehend uses to encrypt data on the storage volume attached
4950
+ # to the ML compute instance(s) that process the analysis job. The
4951
+ # VolumeKmsKeyId can be either of the following formats:
4974
4952
  #
4975
4953
  # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
4976
4954
  #
@@ -5059,10 +5037,9 @@ module Aws::Comprehend
5059
5037
  # Specifies where to send the output files.
5060
5038
  #
5061
5039
  # @option params [required, String] :data_access_role_arn
5062
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
5063
- # Management (IAM) role that grants Amazon Comprehend read access to
5064
- # your input data. For more information, see [Role-based
5065
- # permissions][1].
5040
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
5041
+ # Comprehend read access to your input data. For more information, see
5042
+ # [Role-based permissions][1].
5066
5043
  #
5067
5044
  #
5068
5045
  #
@@ -5175,14 +5152,13 @@ module Aws::Comprehend
5175
5152
  # documents associated with each topic
5176
5153
  #
5177
5154
  # @option params [required, String] :data_access_role_arn
5178
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
5179
- # Management (IAM) role that grants Amazon Comprehend read access to
5180
- # your input data. For more information, see
5181
- # [https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions][1].
5155
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
5156
+ # Comprehend read access to your input data. For more information, see
5157
+ # [Role-based permissions][1].
5182
5158
  #
5183
5159
  #
5184
5160
  #
5185
- # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions
5161
+ # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/security_iam_id-based-policy-examples.html#auth-role-permissions
5186
5162
  #
5187
5163
  # @option params [String] :job_name
5188
5164
  # The identifier of the job.
@@ -5198,10 +5174,10 @@ module Aws::Comprehend
5198
5174
  # not need to pass this option.**
5199
5175
  #
5200
5176
  # @option params [String] :volume_kms_key_id
5201
- # ID for the AWS Key Management Service (KMS) key that Amazon Comprehend
5202
- # uses to encrypt data on the storage volume attached to the ML compute
5203
- # instance(s) that process the analysis job. The VolumeKmsKeyId can be
5204
- # either of the following formats:
5177
+ # ID for the Amazon Web Services Key Management Service (KMS) key that
5178
+ # Amazon Comprehend uses to encrypt data on the storage volume attached
5179
+ # to the ML compute instance(s) that process the analysis job. The
5180
+ # VolumeKmsKeyId can be either of the following formats:
5205
5181
  #
5206
5182
  # * KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"`
5207
5183
  #
@@ -5736,9 +5712,8 @@ module Aws::Comprehend
5736
5712
  # The Amazon Resource Number (ARN) of the active model version.
5737
5713
  #
5738
5714
  # @option params [String] :data_access_role_arn
5739
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
5740
- # Management (IAM) role that grants Amazon Comprehend permission to
5741
- # access the flywheel data.
5715
+ # The Amazon Resource Name (ARN) of the IAM role that grants Amazon
5716
+ # Comprehend permission to access the flywheel data.
5742
5717
  #
5743
5718
  # @option params [Types::UpdateDataSecurityConfig] :data_security_config
5744
5719
  # Flywheel data security configuration.
@@ -5811,7 +5786,7 @@ module Aws::Comprehend
5811
5786
  params: params,
5812
5787
  config: config)
5813
5788
  context[:gem_name] = 'aws-sdk-comprehend'
5814
- context[:gem_version] = '1.66.0'
5789
+ context[:gem_version] = '1.67.0'
5815
5790
  Seahorse::Client::Request.new(handlers, context)
5816
5791
  end
5817
5792