aws-sdk-comprehend 1.60.0 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-comprehend/client.rb +58 -21
- data/lib/aws-sdk-comprehend/types.rb +32 -14
- data/lib/aws-sdk-comprehend.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e9506b07c0fd74a91d95eb651618788bde3605dbe23762423c4e241644bcc3c8
|
|
4
|
+
data.tar.gz: '0094e85d2ff29db0389c55662ac90e94ccdd3b08076b56d09a7e94ee8a2efdba'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 61ed9fc9bbe5d1c330e70d64564ba6beb6eccbd6a8e25cd8be9e1e896536a44d930138c626a2054f90302d33fb2894115a777abd6e1ad12cb0bcbe787f980efe
|
|
7
|
+
data.tar.gz: faa8ad043980f18673d0f31f286713e60dba7b5af54e6a69befac5fd9894be4f1cd73c45b3507772c88a04189b5764523ce964938db5976f4aef0300aaae5738
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.61.0
|
|
@@ -462,7 +462,7 @@ module Aws::Comprehend
|
|
|
462
462
|
# @option params [required, Array<String>] :text_list
|
|
463
463
|
# A list containing the text of the input documents. The list can
|
|
464
464
|
# contain a maximum of 25 documents. Each document must contain fewer
|
|
465
|
-
#
|
|
465
|
+
# than 5,000 bytes of UTF-8 encoded characters.
|
|
466
466
|
#
|
|
467
467
|
# @option params [required, String] :language_code
|
|
468
468
|
# The language of the input documents. You can specify any of the
|
|
@@ -613,7 +613,12 @@ module Aws::Comprehend
|
|
|
613
613
|
# The document text to be analyzed.
|
|
614
614
|
#
|
|
615
615
|
# @option params [required, String] :endpoint_arn
|
|
616
|
-
# The Amazon Resource Number (ARN) of the endpoint.
|
|
616
|
+
# The Amazon Resource Number (ARN) of the endpoint. For information
|
|
617
|
+
# about endpoints, see [Managing endpoints][1].
|
|
618
|
+
#
|
|
619
|
+
#
|
|
620
|
+
#
|
|
621
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html
|
|
617
622
|
#
|
|
618
623
|
# @return [Types::ClassifyDocumentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
619
624
|
#
|
|
@@ -655,7 +660,8 @@ module Aws::Comprehend
|
|
|
655
660
|
# (PII) entity labels.
|
|
656
661
|
#
|
|
657
662
|
# @option params [required, String] :language_code
|
|
658
|
-
# The language of the input documents.
|
|
663
|
+
# The language of the input documents. Currently, English is the only
|
|
664
|
+
# valid language.
|
|
659
665
|
#
|
|
660
666
|
# @return [Types::ContainsPiiEntitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
661
667
|
#
|
|
@@ -671,7 +677,7 @@ module Aws::Comprehend
|
|
|
671
677
|
# @example Response structure
|
|
672
678
|
#
|
|
673
679
|
# resp.labels #=> Array
|
|
674
|
-
# resp.labels[0].name #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "DATE_TIME", "PASSPORT_NUMBER", "DRIVER_ID", "URL", "AGE", "USERNAME", "PASSWORD", "AWS_ACCESS_KEY", "AWS_SECRET_KEY", "IP_ADDRESS", "MAC_ADDRESS", "ALL"
|
|
680
|
+
# resp.labels[0].name #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "DATE_TIME", "PASSPORT_NUMBER", "DRIVER_ID", "URL", "AGE", "USERNAME", "PASSWORD", "AWS_ACCESS_KEY", "AWS_SECRET_KEY", "IP_ADDRESS", "MAC_ADDRESS", "ALL", "LICENSE_PLATE", "VEHICLE_IDENTIFICATION_NUMBER", "UK_NATIONAL_INSURANCE_NUMBER", "CA_SOCIAL_INSURANCE_NUMBER", "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER", "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER", "IN_PERMANENT_ACCOUNT_NUMBER", "IN_NREGA", "INTERNATIONAL_BANK_ACCOUNT_NUMBER", "SWIFT_CODE", "UK_NATIONAL_HEALTH_SERVICE_NUMBER", "CA_HEALTH_NUMBER", "IN_AADHAAR", "IN_VOTER_NUMBER"
|
|
675
681
|
# resp.labels[0].score #=> Float
|
|
676
682
|
#
|
|
677
683
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ContainsPiiEntities AWS API Documentation
|
|
@@ -849,7 +855,12 @@ module Aws::Comprehend
|
|
|
849
855
|
end
|
|
850
856
|
|
|
851
857
|
# Creates a model-specific endpoint for synchronous inference for a
|
|
852
|
-
# previously trained custom model
|
|
858
|
+
# previously trained custom model For information about endpoints, see
|
|
859
|
+
# [Managing endpoints][1].
|
|
860
|
+
#
|
|
861
|
+
#
|
|
862
|
+
#
|
|
863
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html
|
|
853
864
|
#
|
|
854
865
|
# @option params [required, String] :endpoint_name
|
|
855
866
|
# This is the descriptive suffix that becomes part of the `EndpointArn`
|
|
@@ -1115,7 +1126,11 @@ module Aws::Comprehend
|
|
|
1115
1126
|
|
|
1116
1127
|
# Deletes a model-specific endpoint for a previously-trained custom
|
|
1117
1128
|
# model. All endpoints must be deleted in order for the model to be
|
|
1118
|
-
# deleted.
|
|
1129
|
+
# deleted. For information about endpoints, see [Managing endpoints][1].
|
|
1130
|
+
#
|
|
1131
|
+
#
|
|
1132
|
+
#
|
|
1133
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html
|
|
1119
1134
|
#
|
|
1120
1135
|
# @option params [required, String] :endpoint_arn
|
|
1121
1136
|
# The Amazon Resource Number (ARN) of the endpoint being deleted.
|
|
@@ -1368,7 +1383,12 @@ module Aws::Comprehend
|
|
|
1368
1383
|
end
|
|
1369
1384
|
|
|
1370
1385
|
# Gets the properties associated with a specific endpoint. Use this
|
|
1371
|
-
# operation to get the status of an endpoint.
|
|
1386
|
+
# operation to get the status of an endpoint. For information about
|
|
1387
|
+
# endpoints, see [Managing endpoints][1].
|
|
1388
|
+
#
|
|
1389
|
+
#
|
|
1390
|
+
#
|
|
1391
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html
|
|
1372
1392
|
#
|
|
1373
1393
|
# @option params [required, String] :endpoint_arn
|
|
1374
1394
|
# The Amazon Resource Number (ARN) of the endpoint being described.
|
|
@@ -1664,7 +1684,7 @@ module Aws::Comprehend
|
|
|
1664
1684
|
# resp.pii_entities_detection_job_properties.output_data_config.s3_uri #=> String
|
|
1665
1685
|
# resp.pii_entities_detection_job_properties.output_data_config.kms_key_id #=> String
|
|
1666
1686
|
# resp.pii_entities_detection_job_properties.redaction_config.pii_entity_types #=> Array
|
|
1667
|
-
# resp.pii_entities_detection_job_properties.redaction_config.pii_entity_types[0] #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "DATE_TIME", "PASSPORT_NUMBER", "DRIVER_ID", "URL", "AGE", "USERNAME", "PASSWORD", "AWS_ACCESS_KEY", "AWS_SECRET_KEY", "IP_ADDRESS", "MAC_ADDRESS", "ALL"
|
|
1687
|
+
# resp.pii_entities_detection_job_properties.redaction_config.pii_entity_types[0] #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "DATE_TIME", "PASSPORT_NUMBER", "DRIVER_ID", "URL", "AGE", "USERNAME", "PASSWORD", "AWS_ACCESS_KEY", "AWS_SECRET_KEY", "IP_ADDRESS", "MAC_ADDRESS", "ALL", "LICENSE_PLATE", "VEHICLE_IDENTIFICATION_NUMBER", "UK_NATIONAL_INSURANCE_NUMBER", "CA_SOCIAL_INSURANCE_NUMBER", "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER", "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER", "IN_PERMANENT_ACCOUNT_NUMBER", "IN_NREGA", "INTERNATIONAL_BANK_ACCOUNT_NUMBER", "SWIFT_CODE", "UK_NATIONAL_HEALTH_SERVICE_NUMBER", "CA_HEALTH_NUMBER", "IN_AADHAAR", "IN_VOTER_NUMBER"
|
|
1668
1688
|
# resp.pii_entities_detection_job_properties.redaction_config.mask_mode #=> String, one of "MASK", "REPLACE_WITH_PII_ENTITY_TYPE"
|
|
1669
1689
|
# resp.pii_entities_detection_job_properties.redaction_config.mask_character #=> String
|
|
1670
1690
|
# resp.pii_entities_detection_job_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
|
|
@@ -1930,6 +1950,12 @@ module Aws::Comprehend
|
|
|
1930
1950
|
# your custom model, and it ignores any language code that you provide
|
|
1931
1951
|
# in your request.
|
|
1932
1952
|
#
|
|
1953
|
+
# For information about endpoints, see [Managing endpoints][1].
|
|
1954
|
+
#
|
|
1955
|
+
#
|
|
1956
|
+
#
|
|
1957
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html
|
|
1958
|
+
#
|
|
1933
1959
|
# @return [Types::DetectEntitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1934
1960
|
#
|
|
1935
1961
|
# * {Types::DetectEntitiesResponse#entities #entities} => Array<Types::Entity>
|
|
@@ -2007,7 +2033,8 @@ module Aws::Comprehend
|
|
|
2007
2033
|
# of UTF-8 encoded characters.
|
|
2008
2034
|
#
|
|
2009
2035
|
# @option params [required, String] :language_code
|
|
2010
|
-
# The language of the input documents.
|
|
2036
|
+
# The language of the input documents. Currently, English is the only
|
|
2037
|
+
# valid language.
|
|
2011
2038
|
#
|
|
2012
2039
|
# @return [Types::DetectPiiEntitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2013
2040
|
#
|
|
@@ -2024,7 +2051,7 @@ module Aws::Comprehend
|
|
|
2024
2051
|
#
|
|
2025
2052
|
# resp.entities #=> Array
|
|
2026
2053
|
# resp.entities[0].score #=> Float
|
|
2027
|
-
# resp.entities[0].type #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "DATE_TIME", "PASSPORT_NUMBER", "DRIVER_ID", "URL", "AGE", "USERNAME", "PASSWORD", "AWS_ACCESS_KEY", "AWS_SECRET_KEY", "IP_ADDRESS", "MAC_ADDRESS", "ALL"
|
|
2054
|
+
# resp.entities[0].type #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "DATE_TIME", "PASSPORT_NUMBER", "DRIVER_ID", "URL", "AGE", "USERNAME", "PASSWORD", "AWS_ACCESS_KEY", "AWS_SECRET_KEY", "IP_ADDRESS", "MAC_ADDRESS", "ALL", "LICENSE_PLATE", "VEHICLE_IDENTIFICATION_NUMBER", "UK_NATIONAL_INSURANCE_NUMBER", "CA_SOCIAL_INSURANCE_NUMBER", "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER", "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER", "IN_PERMANENT_ACCOUNT_NUMBER", "IN_NREGA", "INTERNATIONAL_BANK_ACCOUNT_NUMBER", "SWIFT_CODE", "UK_NATIONAL_HEALTH_SERVICE_NUMBER", "CA_HEALTH_NUMBER", "IN_AADHAAR", "IN_VOTER_NUMBER"
|
|
2028
2055
|
# resp.entities[0].begin_offset #=> Integer
|
|
2029
2056
|
# resp.entities[0].end_offset #=> Integer
|
|
2030
2057
|
#
|
|
@@ -2476,7 +2503,12 @@ module Aws::Comprehend
|
|
|
2476
2503
|
req.send_request(options)
|
|
2477
2504
|
end
|
|
2478
2505
|
|
|
2479
|
-
# Gets a list of all existing endpoints that you've created.
|
|
2506
|
+
# Gets a list of all existing endpoints that you've created. For
|
|
2507
|
+
# information about endpoints, see [Managing endpoints][1].
|
|
2508
|
+
#
|
|
2509
|
+
#
|
|
2510
|
+
#
|
|
2511
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html
|
|
2480
2512
|
#
|
|
2481
2513
|
# @option params [Types::EndpointFilter] :filter
|
|
2482
2514
|
# Filters the endpoints that are returned. You can filter endpoints on
|
|
@@ -2933,7 +2965,7 @@ module Aws::Comprehend
|
|
|
2933
2965
|
# resp.pii_entities_detection_job_properties_list[0].output_data_config.s3_uri #=> String
|
|
2934
2966
|
# resp.pii_entities_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
|
|
2935
2967
|
# resp.pii_entities_detection_job_properties_list[0].redaction_config.pii_entity_types #=> Array
|
|
2936
|
-
# resp.pii_entities_detection_job_properties_list[0].redaction_config.pii_entity_types[0] #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "DATE_TIME", "PASSPORT_NUMBER", "DRIVER_ID", "URL", "AGE", "USERNAME", "PASSWORD", "AWS_ACCESS_KEY", "AWS_SECRET_KEY", "IP_ADDRESS", "MAC_ADDRESS", "ALL"
|
|
2968
|
+
# resp.pii_entities_detection_job_properties_list[0].redaction_config.pii_entity_types[0] #=> String, one of "BANK_ACCOUNT_NUMBER", "BANK_ROUTING", "CREDIT_DEBIT_NUMBER", "CREDIT_DEBIT_CVV", "CREDIT_DEBIT_EXPIRY", "PIN", "EMAIL", "ADDRESS", "NAME", "PHONE", "SSN", "DATE_TIME", "PASSPORT_NUMBER", "DRIVER_ID", "URL", "AGE", "USERNAME", "PASSWORD", "AWS_ACCESS_KEY", "AWS_SECRET_KEY", "IP_ADDRESS", "MAC_ADDRESS", "ALL", "LICENSE_PLATE", "VEHICLE_IDENTIFICATION_NUMBER", "UK_NATIONAL_INSURANCE_NUMBER", "CA_SOCIAL_INSURANCE_NUMBER", "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER", "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER", "IN_PERMANENT_ACCOUNT_NUMBER", "IN_NREGA", "INTERNATIONAL_BANK_ACCOUNT_NUMBER", "SWIFT_CODE", "UK_NATIONAL_HEALTH_SERVICE_NUMBER", "CA_HEALTH_NUMBER", "IN_AADHAAR", "IN_VOTER_NUMBER"
|
|
2937
2969
|
# resp.pii_entities_detection_job_properties_list[0].redaction_config.mask_mode #=> String, one of "MASK", "REPLACE_WITH_PII_ENTITY_TYPE"
|
|
2938
2970
|
# resp.pii_entities_detection_job_properties_list[0].redaction_config.mask_character #=> String
|
|
2939
2971
|
# resp.pii_entities_detection_job_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
|
|
@@ -3821,7 +3853,8 @@ module Aws::Comprehend
|
|
|
3821
3853
|
# The identifier of the job.
|
|
3822
3854
|
#
|
|
3823
3855
|
# @option params [required, String] :language_code
|
|
3824
|
-
# The language of the input documents.
|
|
3856
|
+
# The language of the input documents. Currently, English is the only
|
|
3857
|
+
# valid language.
|
|
3825
3858
|
#
|
|
3826
3859
|
# @option params [String] :client_request_token
|
|
3827
3860
|
# A unique identifier for the request. If you don't set the client
|
|
@@ -3860,7 +3893,7 @@ module Aws::Comprehend
|
|
|
3860
3893
|
# },
|
|
3861
3894
|
# mode: "ONLY_REDACTION", # required, accepts ONLY_REDACTION, ONLY_OFFSETS
|
|
3862
3895
|
# redaction_config: {
|
|
3863
|
-
# pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, DATE_TIME, PASSPORT_NUMBER, DRIVER_ID, URL, AGE, USERNAME, PASSWORD, AWS_ACCESS_KEY, AWS_SECRET_KEY, IP_ADDRESS, MAC_ADDRESS, ALL
|
|
3896
|
+
# pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, DATE_TIME, PASSPORT_NUMBER, DRIVER_ID, URL, AGE, USERNAME, PASSWORD, AWS_ACCESS_KEY, AWS_SECRET_KEY, IP_ADDRESS, MAC_ADDRESS, ALL, LICENSE_PLATE, VEHICLE_IDENTIFICATION_NUMBER, UK_NATIONAL_INSURANCE_NUMBER, CA_SOCIAL_INSURANCE_NUMBER, US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER, UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER, IN_PERMANENT_ACCOUNT_NUMBER, IN_NREGA, INTERNATIONAL_BANK_ACCOUNT_NUMBER, SWIFT_CODE, UK_NATIONAL_HEALTH_SERVICE_NUMBER, CA_HEALTH_NUMBER, IN_AADHAAR, IN_VOTER_NUMBER
|
|
3864
3897
|
# mask_mode: "MASK", # accepts MASK, REPLACE_WITH_PII_ENTITY_TYPE
|
|
3865
3898
|
# mask_character: "MaskCharacter",
|
|
3866
3899
|
# },
|
|
@@ -4029,9 +4062,8 @@ module Aws::Comprehend
|
|
|
4029
4062
|
# The identifier of the job.
|
|
4030
4063
|
#
|
|
4031
4064
|
# @option params [required, String] :language_code
|
|
4032
|
-
# The language of the input documents.
|
|
4033
|
-
#
|
|
4034
|
-
# be in the same language.
|
|
4065
|
+
# The language of the input documents. Currently, English is the only
|
|
4066
|
+
# valid language.
|
|
4035
4067
|
#
|
|
4036
4068
|
# @option params [String] :client_request_token
|
|
4037
4069
|
# A unique identifier for the request. If you don't set the client
|
|
@@ -4423,7 +4455,7 @@ module Aws::Comprehend
|
|
|
4423
4455
|
|
|
4424
4456
|
# Stops a sentiment detection job in progress.
|
|
4425
4457
|
#
|
|
4426
|
-
# If the job state is `IN_PROGRESS
|
|
4458
|
+
# If the job state is `IN_PROGRESS`, the job is marked for termination
|
|
4427
4459
|
# and put into the `STOP_REQUESTED` state. If the job completes before
|
|
4428
4460
|
# it can be stopped, it is put into the `COMPLETED` state; otherwise the
|
|
4429
4461
|
# job is be stopped and put into the `STOPPED` state.
|
|
@@ -4465,7 +4497,7 @@ module Aws::Comprehend
|
|
|
4465
4497
|
|
|
4466
4498
|
# Stops a targeted sentiment detection job in progress.
|
|
4467
4499
|
#
|
|
4468
|
-
# If the job state is `IN_PROGRESS
|
|
4500
|
+
# If the job state is `IN_PROGRESS`, the job is marked for termination
|
|
4469
4501
|
# and put into the `STOP_REQUESTED` state. If the job completes before
|
|
4470
4502
|
# it can be stopped, it is put into the `COMPLETED` state; otherwise the
|
|
4471
4503
|
# job is be stopped and put into the `STOPPED` state.
|
|
@@ -4633,7 +4665,12 @@ module Aws::Comprehend
|
|
|
4633
4665
|
req.send_request(options)
|
|
4634
4666
|
end
|
|
4635
4667
|
|
|
4636
|
-
# Updates information about the specified endpoint.
|
|
4668
|
+
# Updates information about the specified endpoint. For information
|
|
4669
|
+
# about endpoints, see [Managing endpoints][1].
|
|
4670
|
+
#
|
|
4671
|
+
#
|
|
4672
|
+
#
|
|
4673
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html
|
|
4637
4674
|
#
|
|
4638
4675
|
# @option params [required, String] :endpoint_arn
|
|
4639
4676
|
# The Amazon Resource Number (ARN) of the endpoint being updated.
|
|
@@ -4683,7 +4720,7 @@ module Aws::Comprehend
|
|
|
4683
4720
|
params: params,
|
|
4684
4721
|
config: config)
|
|
4685
4722
|
context[:gem_name] = 'aws-sdk-comprehend'
|
|
4686
|
-
context[:gem_version] = '1.
|
|
4723
|
+
context[:gem_version] = '1.61.0'
|
|
4687
4724
|
Seahorse::Client::Request.new(handlers, context)
|
|
4688
4725
|
end
|
|
4689
4726
|
|
|
@@ -268,7 +268,7 @@ module Aws::Comprehend
|
|
|
268
268
|
# @!attribute [rw] text_list
|
|
269
269
|
# A list containing the text of the input documents. The list can
|
|
270
270
|
# contain a maximum of 25 documents. Each document must contain fewer
|
|
271
|
-
#
|
|
271
|
+
# than 5,000 bytes of UTF-8 encoded characters.
|
|
272
272
|
# @return [Array<String>]
|
|
273
273
|
#
|
|
274
274
|
# @!attribute [rw] language_code
|
|
@@ -626,7 +626,12 @@ module Aws::Comprehend
|
|
|
626
626
|
# @return [String]
|
|
627
627
|
#
|
|
628
628
|
# @!attribute [rw] endpoint_arn
|
|
629
|
-
# The Amazon Resource Number (ARN) of the endpoint.
|
|
629
|
+
# The Amazon Resource Number (ARN) of the endpoint. For information
|
|
630
|
+
# about endpoints, see [Managing endpoints][1].
|
|
631
|
+
#
|
|
632
|
+
#
|
|
633
|
+
#
|
|
634
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html
|
|
630
635
|
# @return [String]
|
|
631
636
|
#
|
|
632
637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ClassifyDocumentRequest AWS API Documentation
|
|
@@ -693,7 +698,8 @@ module Aws::Comprehend
|
|
|
693
698
|
# @return [String]
|
|
694
699
|
#
|
|
695
700
|
# @!attribute [rw] language_code
|
|
696
|
-
# The language of the input documents.
|
|
701
|
+
# The language of the input documents. Currently, English is the only
|
|
702
|
+
# valid language.
|
|
697
703
|
# @return [String]
|
|
698
704
|
#
|
|
699
705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ContainsPiiEntitiesRequest AWS API Documentation
|
|
@@ -1789,6 +1795,12 @@ module Aws::Comprehend
|
|
|
1789
1795
|
# If you specify an endpoint, Amazon Comprehend uses the language of
|
|
1790
1796
|
# your custom model, and it ignores any language code that you provide
|
|
1791
1797
|
# in your request.
|
|
1798
|
+
#
|
|
1799
|
+
# For information about endpoints, see [Managing endpoints][1].
|
|
1800
|
+
#
|
|
1801
|
+
#
|
|
1802
|
+
#
|
|
1803
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html
|
|
1792
1804
|
# @return [String]
|
|
1793
1805
|
#
|
|
1794
1806
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectEntitiesRequest AWS API Documentation
|
|
@@ -1879,7 +1891,8 @@ module Aws::Comprehend
|
|
|
1879
1891
|
# @return [String]
|
|
1880
1892
|
#
|
|
1881
1893
|
# @!attribute [rw] language_code
|
|
1882
|
-
# The language of the input documents.
|
|
1894
|
+
# The language of the input documents. Currently, English is the only
|
|
1895
|
+
# valid language.
|
|
1883
1896
|
# @return [String]
|
|
1884
1897
|
#
|
|
1885
1898
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectPiiEntitiesRequest AWS API Documentation
|
|
@@ -2147,7 +2160,7 @@ module Aws::Comprehend
|
|
|
2147
2160
|
#
|
|
2148
2161
|
#
|
|
2149
2162
|
#
|
|
2150
|
-
# [1]: https://docs.aws.amazon.com/
|
|
2163
|
+
# [1]: https://docs.aws.amazon.com/vppc/latest/userguide/what-is-amazon-vpc.html
|
|
2151
2164
|
# @return [Types::VpcConfig]
|
|
2152
2165
|
#
|
|
2153
2166
|
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DocumentClassificationJobProperties AWS API Documentation
|
|
@@ -2220,7 +2233,7 @@ module Aws::Comprehend
|
|
|
2220
2233
|
# The input properties for training a document classifier.
|
|
2221
2234
|
#
|
|
2222
2235
|
# For more information on how the input file is formatted, see
|
|
2223
|
-
#
|
|
2236
|
+
# prep-classifier-data.
|
|
2224
2237
|
#
|
|
2225
2238
|
# @note When making an API call, you may pass DocumentClassifierInputDataConfig
|
|
2226
2239
|
# data as a hash:
|
|
@@ -2449,7 +2462,7 @@ module Aws::Comprehend
|
|
|
2449
2462
|
#
|
|
2450
2463
|
#
|
|
2451
2464
|
#
|
|
2452
|
-
# [1]: https://docs.aws.amazon.com/
|
|
2465
|
+
# [1]: https://docs.aws.amazon.com/vppc/latest/userguide/what-is-amazon-vpc.html
|
|
2453
2466
|
# @return [Types::VpcConfig]
|
|
2454
2467
|
#
|
|
2455
2468
|
# @!attribute [rw] mode
|
|
@@ -2826,7 +2839,12 @@ module Aws::Comprehend
|
|
|
2826
2839
|
include Aws::Structure
|
|
2827
2840
|
end
|
|
2828
2841
|
|
|
2829
|
-
# Specifies information about the specified endpoint.
|
|
2842
|
+
# Specifies information about the specified endpoint. For information
|
|
2843
|
+
# about endpoints, see [Managing endpoints][1].
|
|
2844
|
+
#
|
|
2845
|
+
#
|
|
2846
|
+
#
|
|
2847
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html
|
|
2830
2848
|
#
|
|
2831
2849
|
# @!attribute [rw] endpoint_arn
|
|
2832
2850
|
# The Amazon Resource Number (ARN) of the endpoint.
|
|
@@ -5359,7 +5377,7 @@ module Aws::Comprehend
|
|
|
5359
5377
|
# data as a hash:
|
|
5360
5378
|
#
|
|
5361
5379
|
# {
|
|
5362
|
-
# pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, DATE_TIME, PASSPORT_NUMBER, DRIVER_ID, URL, AGE, USERNAME, PASSWORD, AWS_ACCESS_KEY, AWS_SECRET_KEY, IP_ADDRESS, MAC_ADDRESS, ALL
|
|
5380
|
+
# pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, DATE_TIME, PASSPORT_NUMBER, DRIVER_ID, URL, AGE, USERNAME, PASSWORD, AWS_ACCESS_KEY, AWS_SECRET_KEY, IP_ADDRESS, MAC_ADDRESS, ALL, LICENSE_PLATE, VEHICLE_IDENTIFICATION_NUMBER, UK_NATIONAL_INSURANCE_NUMBER, CA_SOCIAL_INSURANCE_NUMBER, US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER, UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER, IN_PERMANENT_ACCOUNT_NUMBER, IN_NREGA, INTERNATIONAL_BANK_ACCOUNT_NUMBER, SWIFT_CODE, UK_NATIONAL_HEALTH_SERVICE_NUMBER, CA_HEALTH_NUMBER, IN_AADHAAR, IN_VOTER_NUMBER
|
|
5363
5381
|
# mask_mode: "MASK", # accepts MASK, REPLACE_WITH_PII_ENTITY_TYPE
|
|
5364
5382
|
# mask_character: "MaskCharacter",
|
|
5365
5383
|
# }
|
|
@@ -6405,7 +6423,7 @@ module Aws::Comprehend
|
|
|
6405
6423
|
# },
|
|
6406
6424
|
# mode: "ONLY_REDACTION", # required, accepts ONLY_REDACTION, ONLY_OFFSETS
|
|
6407
6425
|
# redaction_config: {
|
|
6408
|
-
# pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, DATE_TIME, PASSPORT_NUMBER, DRIVER_ID, URL, AGE, USERNAME, PASSWORD, AWS_ACCESS_KEY, AWS_SECRET_KEY, IP_ADDRESS, MAC_ADDRESS, ALL
|
|
6426
|
+
# pii_entity_types: ["BANK_ACCOUNT_NUMBER"], # accepts BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN, DATE_TIME, PASSPORT_NUMBER, DRIVER_ID, URL, AGE, USERNAME, PASSWORD, AWS_ACCESS_KEY, AWS_SECRET_KEY, IP_ADDRESS, MAC_ADDRESS, ALL, LICENSE_PLATE, VEHICLE_IDENTIFICATION_NUMBER, UK_NATIONAL_INSURANCE_NUMBER, CA_SOCIAL_INSURANCE_NUMBER, US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER, UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER, IN_PERMANENT_ACCOUNT_NUMBER, IN_NREGA, INTERNATIONAL_BANK_ACCOUNT_NUMBER, SWIFT_CODE, UK_NATIONAL_HEALTH_SERVICE_NUMBER, CA_HEALTH_NUMBER, IN_AADHAAR, IN_VOTER_NUMBER
|
|
6409
6427
|
# mask_mode: "MASK", # accepts MASK, REPLACE_WITH_PII_ENTITY_TYPE
|
|
6410
6428
|
# mask_character: "MaskCharacter",
|
|
6411
6429
|
# },
|
|
@@ -6454,7 +6472,8 @@ module Aws::Comprehend
|
|
|
6454
6472
|
# @return [String]
|
|
6455
6473
|
#
|
|
6456
6474
|
# @!attribute [rw] language_code
|
|
6457
|
-
# The language of the input documents.
|
|
6475
|
+
# The language of the input documents. Currently, English is the only
|
|
6476
|
+
# valid language.
|
|
6458
6477
|
# @return [String]
|
|
6459
6478
|
#
|
|
6460
6479
|
# @!attribute [rw] client_request_token
|
|
@@ -6736,9 +6755,8 @@ module Aws::Comprehend
|
|
|
6736
6755
|
# @return [String]
|
|
6737
6756
|
#
|
|
6738
6757
|
# @!attribute [rw] language_code
|
|
6739
|
-
# The language of the input documents.
|
|
6740
|
-
#
|
|
6741
|
-
# be in the same language.
|
|
6758
|
+
# The language of the input documents. Currently, English is the only
|
|
6759
|
+
# valid language.
|
|
6742
6760
|
# @return [String]
|
|
6743
6761
|
#
|
|
6744
6762
|
# @!attribute [rw] client_request_token
|
data/lib/aws-sdk-comprehend.rb
CHANGED
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.61.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: 2022-
|
|
11
|
+
date: 2022-05-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|