aws-sdk-transcribeservice 1.67.0 → 1.71.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribeservice/client.rb +59 -22
- data/lib/aws-sdk-transcribeservice/client_api.rb +5 -0
- data/lib/aws-sdk-transcribeservice/types.rb +74 -46
- data/lib/aws-sdk-transcribeservice.rb +1 -1
- 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: 7f61f541d971164a9a39a14f94f8fce9a9ac77de5018ba2e607d2120dba21420
|
4
|
+
data.tar.gz: 456616d4934c4d10c479b36228313349be2c956105acb751830ec0314932309a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0253cb2f7e927b1e40beef94f0bc368b77a303d6f5626bdde4bc66da7d07b6262a2f86ea3c5afd0ddf4bcfe54155c73b111da00f939803c8ce40b626c1668320
|
7
|
+
data.tar.gz: 4f1c4d23173a04625d49db37dc7c7d1fe648d54a2222588c8a4970a1ce98572e25fa9d49bf85de6c5c8c7431d1a02adabe864dd569208c33be6f5fd727c1b0c5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.71.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.70.0 (2022-01-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add support for granular PIIEntityTypes when using Batch ContentRedaction.
|
13
|
+
|
14
|
+
1.69.0 (2022-01-10)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation updates for Amazon Transcribe.
|
18
|
+
|
19
|
+
1.68.0 (2021-12-21)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.67.0 (2021-11-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.71.0
|
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::TranscribeService
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
82
|
|
@@ -175,6 +179,10 @@ module Aws::TranscribeService
|
|
175
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
178
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
187
|
# Set to true to disable SDK automatically adding host prefix
|
180
188
|
# to default service endpoint when available.
|
@@ -307,7 +315,7 @@ module Aws::TranscribeService
|
|
307
315
|
# seconds to wait when opening a HTTP session before raising a
|
308
316
|
# `Timeout::Error`.
|
309
317
|
#
|
310
|
-
# @option options [
|
318
|
+
# @option options [Float] :http_read_timeout (60) The default
|
311
319
|
# number of seconds to wait for response data. This value can
|
312
320
|
# safely be set per-request on the session.
|
313
321
|
#
|
@@ -323,6 +331,9 @@ module Aws::TranscribeService
|
|
323
331
|
# disables this behaviour. This value can safely be set per
|
324
332
|
# request on the session.
|
325
333
|
#
|
334
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
335
|
+
# in seconds.
|
336
|
+
#
|
326
337
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
327
338
|
# HTTP debug output will be sent to the `:logger`.
|
328
339
|
#
|
@@ -605,9 +616,7 @@ module Aws::TranscribeService
|
|
605
616
|
# Region as the resource that you're calling. Enter information about
|
606
617
|
# your `VocabularyFileUri` in the following format:
|
607
618
|
#
|
608
|
-
# `
|
609
|
-
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
610
|
-
# `
|
619
|
+
# `https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>`
|
611
620
|
#
|
612
621
|
# The following is an example URI for a vocabulary file that is stored
|
613
622
|
# in Amazon S3:
|
@@ -623,7 +632,7 @@ module Aws::TranscribeService
|
|
623
632
|
#
|
624
633
|
#
|
625
634
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
626
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
635
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html
|
627
636
|
#
|
628
637
|
# @option params [Array<Types::Tag>] :tags
|
629
638
|
# Adds one or more tags, each in the form of a key:value pair, to a new
|
@@ -679,7 +688,7 @@ module Aws::TranscribeService
|
|
679
688
|
#
|
680
689
|
# @option params [required, String] :language_code
|
681
690
|
# The language code of the vocabulary entries. For a list of languages
|
682
|
-
# and their corresponding language codes, see
|
691
|
+
# and their corresponding language codes, see table-language-matrix.
|
683
692
|
#
|
684
693
|
# @option params [Array<String>] :phrases
|
685
694
|
# An array of strings that contains the vocabulary entries.
|
@@ -689,6 +698,14 @@ module Aws::TranscribeService
|
|
689
698
|
# custom vocabulary. The URI must be in the same region as the API
|
690
699
|
# endpoint that you are calling. The general form is:
|
691
700
|
#
|
701
|
+
# `https://s3.<Amazon Web
|
702
|
+
# Services-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>
|
703
|
+
# `
|
704
|
+
#
|
705
|
+
# For example:
|
706
|
+
#
|
707
|
+
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
708
|
+
#
|
692
709
|
# For more information about S3 object names, see [Object Keys][1] in
|
693
710
|
# the *Amazon S3 Developer Guide*.
|
694
711
|
#
|
@@ -698,7 +715,7 @@ module Aws::TranscribeService
|
|
698
715
|
#
|
699
716
|
#
|
700
717
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
701
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
718
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html
|
702
719
|
#
|
703
720
|
# @option params [Array<Types::Tag>] :tags
|
704
721
|
# Adds one or more tags, each in the form of a key:value pair, to a new
|
@@ -769,7 +786,7 @@ module Aws::TranscribeService
|
|
769
786
|
#
|
770
787
|
#
|
771
788
|
#
|
772
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
789
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
773
790
|
#
|
774
791
|
# @option params [String] :vocabulary_filter_file_uri
|
775
792
|
# The Amazon S3 location of a text file used as input to create the
|
@@ -785,7 +802,7 @@ module Aws::TranscribeService
|
|
785
802
|
#
|
786
803
|
#
|
787
804
|
#
|
788
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
805
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
789
806
|
#
|
790
807
|
# @option params [Array<Types::Tag>] :tags
|
791
808
|
# Adds one or more tags, each in the form of a key:value pair, to a new
|
@@ -1176,6 +1193,8 @@ module Aws::TranscribeService
|
|
1176
1193
|
# resp.call_analytics_job.settings.language_model_name #=> String
|
1177
1194
|
# resp.call_analytics_job.settings.content_redaction.redaction_type #=> String, one of "PII"
|
1178
1195
|
# resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
1196
|
+
# resp.call_analytics_job.settings.content_redaction.pii_entity_types #=> Array
|
1197
|
+
# resp.call_analytics_job.settings.content_redaction.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", "ALL"
|
1179
1198
|
# resp.call_analytics_job.settings.language_options #=> Array
|
1180
1199
|
# resp.call_analytics_job.settings.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
|
1181
1200
|
# resp.call_analytics_job.settings.language_id_settings #=> Hash
|
@@ -1337,6 +1356,8 @@ module Aws::TranscribeService
|
|
1337
1356
|
# resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
|
1338
1357
|
# resp.transcription_job.content_redaction.redaction_type #=> String, one of "PII"
|
1339
1358
|
# resp.transcription_job.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
1359
|
+
# resp.transcription_job.content_redaction.pii_entity_types #=> Array
|
1360
|
+
# resp.transcription_job.content_redaction.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", "ALL"
|
1340
1361
|
# resp.transcription_job.identify_language #=> Boolean
|
1341
1362
|
# resp.transcription_job.language_options #=> Array
|
1342
1363
|
# resp.transcription_job.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
|
@@ -1877,6 +1898,8 @@ module Aws::TranscribeService
|
|
1877
1898
|
# resp.transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
|
1878
1899
|
# resp.transcription_job_summaries[0].content_redaction.redaction_type #=> String, one of "PII"
|
1879
1900
|
# resp.transcription_job_summaries[0].content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
1901
|
+
# resp.transcription_job_summaries[0].content_redaction.pii_entity_types #=> Array
|
1902
|
+
# resp.transcription_job_summaries[0].content_redaction.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", "ALL"
|
1880
1903
|
# resp.transcription_job_summaries[0].model_settings.language_model_name #=> String
|
1881
1904
|
# resp.transcription_job_summaries[0].identify_language #=> Boolean
|
1882
1905
|
# resp.transcription_job_summaries[0].identified_language_score #=> Float
|
@@ -2031,15 +2054,15 @@ module Aws::TranscribeService
|
|
2031
2054
|
#
|
2032
2055
|
# f you specify a path, Amazon Transcribe saves the output of the
|
2033
2056
|
# analytics job as
|
2034
|
-
# s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json
|
2057
|
+
# s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json.
|
2035
2058
|
#
|
2036
2059
|
# If you specify a folder, you must provide a trailing slash.
|
2037
2060
|
#
|
2038
|
-
# * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json
|
2061
|
+
# * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json.
|
2039
2062
|
#
|
2040
2063
|
# If you provide a path that has the filename specified, Amazon
|
2041
2064
|
# Transcribe saves the output of the analytics job as
|
2042
|
-
# s3://DOC-EXAMPLEBUCKET1/folder/filename.json
|
2065
|
+
# s3://DOC-EXAMPLEBUCKET1/folder/filename.json.
|
2043
2066
|
#
|
2044
2067
|
# You can specify an Amazon Web Services Key Management Service (KMS)
|
2045
2068
|
# key to encrypt the output of our analytics job using the
|
@@ -2068,8 +2091,8 @@ module Aws::TranscribeService
|
|
2068
2091
|
# another account: "arn:aws:kms:region:account
|
2069
2092
|
# ID:key/1234abcd-12ab-34cd-56ef1234567890ab"
|
2070
2093
|
#
|
2071
|
-
# * ARN of a KMS Key Alias:
|
2072
|
-
#
|
2094
|
+
# * ARN of a KMS Key Alias:
|
2095
|
+
# "arn:aws:kms:region:accountID:alias/ExampleAlias"
|
2073
2096
|
#
|
2074
2097
|
# If you don't specify an encryption key, the output of the call
|
2075
2098
|
# analytics job is encrypted with the default Amazon S3 key (SSE-S3).
|
@@ -2118,6 +2141,7 @@ module Aws::TranscribeService
|
|
2118
2141
|
# content_redaction: {
|
2119
2142
|
# redaction_type: "PII", # required, accepts PII
|
2120
2143
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
2144
|
+
# 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, ALL
|
2121
2145
|
# },
|
2122
2146
|
# language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
|
2123
2147
|
# language_id_settings: {
|
@@ -2159,6 +2183,8 @@ module Aws::TranscribeService
|
|
2159
2183
|
# resp.call_analytics_job.settings.language_model_name #=> String
|
2160
2184
|
# resp.call_analytics_job.settings.content_redaction.redaction_type #=> String, one of "PII"
|
2161
2185
|
# resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
2186
|
+
# resp.call_analytics_job.settings.content_redaction.pii_entity_types #=> Array
|
2187
|
+
# resp.call_analytics_job.settings.content_redaction.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", "ALL"
|
2162
2188
|
# resp.call_analytics_job.settings.language_options #=> Array
|
2163
2189
|
# resp.call_analytics_job.settings.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
|
2164
2190
|
# resp.call_analytics_job.settings.language_id_settings #=> Hash
|
@@ -2581,6 +2607,7 @@ module Aws::TranscribeService
|
|
2581
2607
|
# content_redaction: {
|
2582
2608
|
# redaction_type: "PII", # required, accepts PII
|
2583
2609
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
2610
|
+
# 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, ALL
|
2584
2611
|
# },
|
2585
2612
|
# identify_language: false,
|
2586
2613
|
# language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
|
@@ -2630,6 +2657,8 @@ module Aws::TranscribeService
|
|
2630
2657
|
# resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
|
2631
2658
|
# resp.transcription_job.content_redaction.redaction_type #=> String, one of "PII"
|
2632
2659
|
# resp.transcription_job.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
2660
|
+
# resp.transcription_job.content_redaction.pii_entity_types #=> Array
|
2661
|
+
# resp.transcription_job.content_redaction.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", "ALL"
|
2633
2662
|
# resp.transcription_job.identify_language #=> Boolean
|
2634
2663
|
# resp.transcription_job.language_options #=> Array
|
2635
2664
|
# resp.transcription_job.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
|
@@ -2897,7 +2926,7 @@ module Aws::TranscribeService
|
|
2897
2926
|
#
|
2898
2927
|
# @option params [required, String] :language_code
|
2899
2928
|
# The language code of the language used for the entries in the updated
|
2900
|
-
# vocabulary.
|
2929
|
+
# vocabulary. U.S. English (en-US) is the only valid language code in
|
2901
2930
|
# Amazon Transcribe Medical.
|
2902
2931
|
#
|
2903
2932
|
# @option params [String] :vocabulary_file_uri
|
@@ -2923,7 +2952,7 @@ module Aws::TranscribeService
|
|
2923
2952
|
#
|
2924
2953
|
#
|
2925
2954
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
2926
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
2955
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html
|
2927
2956
|
#
|
2928
2957
|
# @return [Types::UpdateMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2929
2958
|
#
|
@@ -2967,7 +2996,11 @@ module Aws::TranscribeService
|
|
2967
2996
|
#
|
2968
2997
|
# @option params [required, String] :language_code
|
2969
2998
|
# The language code of the vocabulary entries. For a list of languages
|
2970
|
-
# and their corresponding language codes, see
|
2999
|
+
# and their corresponding language codes, see [Supported languages][1].
|
3000
|
+
#
|
3001
|
+
#
|
3002
|
+
#
|
3003
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html
|
2971
3004
|
#
|
2972
3005
|
# @option params [Array<String>] :phrases
|
2973
3006
|
# An array of strings containing the vocabulary entries.
|
@@ -2975,10 +3008,14 @@ module Aws::TranscribeService
|
|
2975
3008
|
# @option params [String] :vocabulary_file_uri
|
2976
3009
|
# The S3 location of the text file that contains the definition of the
|
2977
3010
|
# custom vocabulary. The URI must be in the same region as the API
|
2978
|
-
# endpoint that you are calling. The general form is
|
3011
|
+
# endpoint that you are calling. The general form is:
|
3012
|
+
#
|
3013
|
+
# `https://s3.<aws-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>`
|
2979
3014
|
#
|
2980
3015
|
# For example:
|
2981
3016
|
#
|
3017
|
+
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
3018
|
+
#
|
2982
3019
|
# For more information about S3 object names, see [Object Keys][1] in
|
2983
3020
|
# the *Amazon S3 Developer Guide*.
|
2984
3021
|
#
|
@@ -2988,7 +3025,7 @@ module Aws::TranscribeService
|
|
2988
3025
|
#
|
2989
3026
|
#
|
2990
3027
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
2991
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
3028
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html
|
2992
3029
|
#
|
2993
3030
|
# @return [Types::UpdateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2994
3031
|
#
|
@@ -3039,7 +3076,7 @@ module Aws::TranscribeService
|
|
3039
3076
|
#
|
3040
3077
|
#
|
3041
3078
|
#
|
3042
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
3079
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
3043
3080
|
#
|
3044
3081
|
# @option params [String] :vocabulary_filter_file_uri
|
3045
3082
|
# The Amazon S3 location of a text file used as input to create the
|
@@ -3055,7 +3092,7 @@ module Aws::TranscribeService
|
|
3055
3092
|
#
|
3056
3093
|
#
|
3057
3094
|
#
|
3058
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
3095
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
3059
3096
|
#
|
3060
3097
|
# @return [Types::UpdateVocabularyFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3061
3098
|
#
|
@@ -3099,7 +3136,7 @@ module Aws::TranscribeService
|
|
3099
3136
|
params: params,
|
3100
3137
|
config: config)
|
3101
3138
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
3102
|
-
context[:gem_version] = '1.
|
3139
|
+
context[:gem_version] = '1.71.0'
|
3103
3140
|
Seahorse::Client::Request.new(handlers, context)
|
3104
3141
|
end
|
3105
3142
|
|
@@ -129,6 +129,8 @@ module Aws::TranscribeService
|
|
129
129
|
Percentage = Shapes::IntegerShape.new(name: 'Percentage')
|
130
130
|
Phrase = Shapes::StringShape.new(name: 'Phrase')
|
131
131
|
Phrases = Shapes::ListShape.new(name: 'Phrases')
|
132
|
+
PiiEntityType = Shapes::StringShape.new(name: 'PiiEntityType')
|
133
|
+
PiiEntityTypes = Shapes::ListShape.new(name: 'PiiEntityTypes')
|
132
134
|
RedactionOutput = Shapes::StringShape.new(name: 'RedactionOutput')
|
133
135
|
RedactionType = Shapes::StringShape.new(name: 'RedactionType')
|
134
136
|
RelativeTimeRange = Shapes::StructureShape.new(name: 'RelativeTimeRange')
|
@@ -257,6 +259,7 @@ module Aws::TranscribeService
|
|
257
259
|
|
258
260
|
ContentRedaction.add_member(:redaction_type, Shapes::ShapeRef.new(shape: RedactionType, required: true, location_name: "RedactionType"))
|
259
261
|
ContentRedaction.add_member(:redaction_output, Shapes::ShapeRef.new(shape: RedactionOutput, required: true, location_name: "RedactionOutput"))
|
262
|
+
ContentRedaction.add_member(:pii_entity_types, Shapes::ShapeRef.new(shape: PiiEntityTypes, location_name: "PiiEntityTypes"))
|
260
263
|
ContentRedaction.struct_class = Types::ContentRedaction
|
261
264
|
|
262
265
|
CreateCallAnalyticsCategoryRequest.add_member(:category_name, Shapes::ShapeRef.new(shape: CategoryName, required: true, location_name: "CategoryName"))
|
@@ -607,6 +610,8 @@ module Aws::TranscribeService
|
|
607
610
|
|
608
611
|
Phrases.member = Shapes::ShapeRef.new(shape: Phrase)
|
609
612
|
|
613
|
+
PiiEntityTypes.member = Shapes::ShapeRef.new(shape: PiiEntityType)
|
614
|
+
|
610
615
|
RelativeTimeRange.add_member(:start_percentage, Shapes::ShapeRef.new(shape: Percentage, location_name: "StartPercentage"))
|
611
616
|
RelativeTimeRange.add_member(:end_percentage, Shapes::ShapeRef.new(shape: Percentage, location_name: "EndPercentage"))
|
612
617
|
RelativeTimeRange.add_member(:first, Shapes::ShapeRef.new(shape: Percentage, location_name: "First"))
|
@@ -50,13 +50,13 @@ module Aws::TranscribeService
|
|
50
50
|
#
|
51
51
|
# @!attribute [rw] first
|
52
52
|
# A time range from the beginning of the call to the value that
|
53
|
-
# you've specified. For example, if you specify 100000
|
53
|
+
# you've specified. For example, if you specify `100000`, the time
|
54
54
|
# range is set to the first 100,000 milliseconds of the call.
|
55
55
|
# @return [Integer]
|
56
56
|
#
|
57
57
|
# @!attribute [rw] last
|
58
58
|
# A time range from the value that you've specified to the end of the
|
59
|
-
# call. For example, if you specify 100000
|
59
|
+
# call. For example, if you specify `100000`, the time range is set to
|
60
60
|
# the last 100,000 milliseconds of the call.
|
61
61
|
# @return [Integer]
|
62
62
|
#
|
@@ -107,12 +107,11 @@ module Aws::TranscribeService
|
|
107
107
|
# identify the language. To improve the accuracy of language
|
108
108
|
# identification, you can provide an array containing the possible
|
109
109
|
# language codes for the language spoken in your audio. Refer to
|
110
|
-
# [Supported languages
|
111
|
-
# additional information.
|
110
|
+
# [Supported languages][1] for additional information.
|
112
111
|
#
|
113
112
|
#
|
114
113
|
#
|
115
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
114
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html
|
116
115
|
# @return [String]
|
117
116
|
#
|
118
117
|
# @!attribute [rw] media_sample_rate_hertz
|
@@ -198,7 +197,7 @@ module Aws::TranscribeService
|
|
198
197
|
# language that it identified in the source audio. This value appears
|
199
198
|
# only when you don't provide a single language code. Larger values
|
200
199
|
# indicate that Amazon Transcribe has higher confidence in the
|
201
|
-
# language that it identified
|
200
|
+
# language that it identified.
|
202
201
|
# @return [Float]
|
203
202
|
#
|
204
203
|
# @!attribute [rw] settings
|
@@ -246,6 +245,7 @@ module Aws::TranscribeService
|
|
246
245
|
# content_redaction: {
|
247
246
|
# redaction_type: "PII", # required, accepts PII
|
248
247
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
248
|
+
# 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, ALL
|
249
249
|
# },
|
250
250
|
# language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
|
251
251
|
# language_id_settings: {
|
@@ -296,12 +296,12 @@ module Aws::TranscribeService
|
|
296
296
|
# Amazon Transcribe will use machine learning to identify the language
|
297
297
|
# for you. To improve the ability of Amazon Transcribe to correctly
|
298
298
|
# identify the language, you can provide an array of the languages
|
299
|
-
# that can be present in the audio. Refer to [Supported languages
|
300
|
-
#
|
299
|
+
# that can be present in the audio. Refer to [Supported languages][1]
|
300
|
+
# for additional information.
|
301
301
|
#
|
302
302
|
#
|
303
303
|
#
|
304
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
304
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html
|
305
305
|
# @return [Array<String>]
|
306
306
|
#
|
307
307
|
# @!attribute [rw] language_id_settings
|
@@ -451,6 +451,7 @@ module Aws::TranscribeService
|
|
451
451
|
# {
|
452
452
|
# redaction_type: "PII", # required, accepts PII
|
453
453
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
454
|
+
# 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, ALL
|
454
455
|
# }
|
455
456
|
#
|
456
457
|
# @!attribute [rw] redaction_type
|
@@ -469,11 +470,17 @@ module Aws::TranscribeService
|
|
469
470
|
# both the redacted and unredacted transcripts.
|
470
471
|
# @return [String]
|
471
472
|
#
|
473
|
+
# @!attribute [rw] pii_entity_types
|
474
|
+
# The types of personally identifiable information (PII) you want to
|
475
|
+
# redact in your transcript.
|
476
|
+
# @return [Array<String>]
|
477
|
+
#
|
472
478
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ContentRedaction AWS API Documentation
|
473
479
|
#
|
474
480
|
class ContentRedaction < Struct.new(
|
475
481
|
:redaction_type,
|
476
|
-
:redaction_output
|
482
|
+
:redaction_output,
|
483
|
+
:pii_entity_types)
|
477
484
|
SENSITIVE = []
|
478
485
|
include Aws::Structure
|
479
486
|
end
|
@@ -724,9 +731,7 @@ module Aws::TranscribeService
|
|
724
731
|
# Region as the resource that you're calling. Enter information about
|
725
732
|
# your `VocabularyFileUri` in the following format:
|
726
733
|
#
|
727
|
-
# `
|
728
|
-
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
729
|
-
# `
|
734
|
+
# `https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>`
|
730
735
|
#
|
731
736
|
# The following is an example URI for a vocabulary file that is stored
|
732
737
|
# in Amazon S3:
|
@@ -742,7 +747,7 @@ module Aws::TranscribeService
|
|
742
747
|
#
|
743
748
|
#
|
744
749
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
745
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
750
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html
|
746
751
|
# @return [String]
|
747
752
|
#
|
748
753
|
# @!attribute [rw] tags
|
@@ -838,7 +843,7 @@ module Aws::TranscribeService
|
|
838
843
|
#
|
839
844
|
#
|
840
845
|
#
|
841
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
846
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
842
847
|
# @return [Array<String>]
|
843
848
|
#
|
844
849
|
# @!attribute [rw] vocabulary_filter_file_uri
|
@@ -855,7 +860,7 @@ module Aws::TranscribeService
|
|
855
860
|
#
|
856
861
|
#
|
857
862
|
#
|
858
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
863
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
859
864
|
# @return [String]
|
860
865
|
#
|
861
866
|
# @!attribute [rw] tags
|
@@ -923,7 +928,7 @@ module Aws::TranscribeService
|
|
923
928
|
#
|
924
929
|
# @!attribute [rw] language_code
|
925
930
|
# The language code of the vocabulary entries. For a list of languages
|
926
|
-
# and their corresponding language codes, see
|
931
|
+
# and their corresponding language codes, see table-language-matrix.
|
927
932
|
# @return [String]
|
928
933
|
#
|
929
934
|
# @!attribute [rw] phrases
|
@@ -935,6 +940,14 @@ module Aws::TranscribeService
|
|
935
940
|
# custom vocabulary. The URI must be in the same region as the API
|
936
941
|
# endpoint that you are calling. The general form is:
|
937
942
|
#
|
943
|
+
# `https://s3.<Amazon Web
|
944
|
+
# Services-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>
|
945
|
+
# `
|
946
|
+
#
|
947
|
+
# For example:
|
948
|
+
#
|
949
|
+
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
950
|
+
#
|
938
951
|
# For more information about S3 object names, see [Object Keys][1] in
|
939
952
|
# the *Amazon S3 Developer Guide*.
|
940
953
|
#
|
@@ -944,7 +957,7 @@ module Aws::TranscribeService
|
|
944
957
|
#
|
945
958
|
#
|
946
959
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
947
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
960
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html
|
948
961
|
# @return [String]
|
949
962
|
#
|
950
963
|
# @!attribute [rw] tags
|
@@ -1676,22 +1689,22 @@ module Aws::TranscribeService
|
|
1676
1689
|
# @!attribute [rw] vocabulary_name
|
1677
1690
|
# The name of the vocabulary you want to use when processing your
|
1678
1691
|
# transcription job. The vocabulary you specify must have the same
|
1679
|
-
# language
|
1680
|
-
# match, the vocabulary
|
1692
|
+
# language codes as the transcription job; if the languages don't
|
1693
|
+
# match, the vocabulary isn't applied.
|
1681
1694
|
# @return [String]
|
1682
1695
|
#
|
1683
1696
|
# @!attribute [rw] vocabulary_filter_name
|
1684
1697
|
# The name of the vocabulary filter you want to use when transcribing
|
1685
|
-
# your audio. The filter you specify must have the same language
|
1698
|
+
# your audio. The filter you specify must have the same language codes
|
1686
1699
|
# as the transcription job; if the languages don't match, the
|
1687
|
-
# vocabulary filter
|
1700
|
+
# vocabulary filter isn't be applied.
|
1688
1701
|
# @return [String]
|
1689
1702
|
#
|
1690
1703
|
# @!attribute [rw] language_model_name
|
1691
1704
|
# The name of the language model you want to use when transcribing
|
1692
|
-
# your audio. The model you specify must have the same language
|
1705
|
+
# your audio. The model you specify must have the same language codes
|
1693
1706
|
# as the transcription job; if the languages don't match, the
|
1694
|
-
# language model
|
1707
|
+
# language model isn't be applied.
|
1695
1708
|
# @return [String]
|
1696
1709
|
#
|
1697
1710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/LanguageIdSettings AWS API Documentation
|
@@ -2388,8 +2401,14 @@ module Aws::TranscribeService
|
|
2388
2401
|
# the same region as the API endpoint that you are calling. The
|
2389
2402
|
# general form is:
|
2390
2403
|
#
|
2404
|
+
# ` s3://<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>`
|
2405
|
+
#
|
2391
2406
|
# For example:
|
2392
2407
|
#
|
2408
|
+
# `s3://AWSDOC-EXAMPLE-BUCKET/example.mp4`
|
2409
|
+
#
|
2410
|
+
# `s3://AWSDOC-EXAMPLE-BUCKET/mediadocs/example.mp4`
|
2411
|
+
#
|
2393
2412
|
# For more information about S3 object names, see [Object Keys][1] in
|
2394
2413
|
# the *Amazon S3 Developer Guide*.
|
2395
2414
|
#
|
@@ -2453,9 +2472,7 @@ module Aws::TranscribeService
|
|
2453
2472
|
#
|
2454
2473
|
# If you don't specify the sample rate, Amazon Transcribe Medical
|
2455
2474
|
# determines it for you. If you choose to specify the sample rate, it
|
2456
|
-
# must match the rate detected by Amazon Transcribe Medical.
|
2457
|
-
# cases, you should leave the `MedicalMediaSampleHertz` blank and let
|
2458
|
-
# Amazon Transcribe Medical determine the sample rate.
|
2475
|
+
# must match the rate detected by Amazon Transcribe Medical.
|
2459
2476
|
# @return [Integer]
|
2460
2477
|
#
|
2461
2478
|
# @!attribute [rw] media_format
|
@@ -2512,13 +2529,13 @@ module Aws::TranscribeService
|
|
2512
2529
|
# * `Invalid file size: file size too large`- The size of your audio
|
2513
2530
|
# file is larger than what Amazon Transcribe Medical can process.
|
2514
2531
|
# For more information, see [Guidelines and Quotas][1] in the
|
2515
|
-
# *Amazon Transcribe Medical Guide
|
2532
|
+
# *Amazon Transcribe Medical Guide*.
|
2516
2533
|
#
|
2517
2534
|
# * `Invalid number of channels: number of channels too large`- Your
|
2518
2535
|
# audio contains more channels than Amazon Transcribe Medical is
|
2519
2536
|
# configured to process. To request additional channels, see [Amazon
|
2520
2537
|
# Transcribe Medical Endpoints and Quotas][2] in the *Amazon Web
|
2521
|
-
# Services General Reference
|
2538
|
+
# Services General Reference*.
|
2522
2539
|
#
|
2523
2540
|
#
|
2524
2541
|
#
|
@@ -2709,7 +2726,7 @@ module Aws::TranscribeService
|
|
2709
2726
|
#
|
2710
2727
|
# You can't set both `ShowSpeakerLabels` and `ChannelIdentification`
|
2711
2728
|
# in the same request. If you set both, your request returns a
|
2712
|
-
# `BadRequestException
|
2729
|
+
# `BadRequestException`.
|
2713
2730
|
# @return [Boolean]
|
2714
2731
|
#
|
2715
2732
|
# @!attribute [rw] show_alternatives
|
@@ -3143,6 +3160,7 @@ module Aws::TranscribeService
|
|
3143
3160
|
# content_redaction: {
|
3144
3161
|
# redaction_type: "PII", # required, accepts PII
|
3145
3162
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
3163
|
+
# 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, ALL
|
3146
3164
|
# },
|
3147
3165
|
# language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
|
3148
3166
|
# language_id_settings: {
|
@@ -3187,15 +3205,15 @@ module Aws::TranscribeService
|
|
3187
3205
|
#
|
3188
3206
|
# f you specify a path, Amazon Transcribe saves the output of the
|
3189
3207
|
# analytics job as
|
3190
|
-
# s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json
|
3208
|
+
# s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json.
|
3191
3209
|
#
|
3192
3210
|
# If you specify a folder, you must provide a trailing slash.
|
3193
3211
|
#
|
3194
|
-
# * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json
|
3212
|
+
# * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json.
|
3195
3213
|
#
|
3196
3214
|
# If you provide a path that has the filename specified, Amazon
|
3197
3215
|
# Transcribe saves the output of the analytics job as
|
3198
|
-
# s3://DOC-EXAMPLEBUCKET1/folder/filename.json
|
3216
|
+
# s3://DOC-EXAMPLEBUCKET1/folder/filename.json.
|
3199
3217
|
#
|
3200
3218
|
# You can specify an Amazon Web Services Key Management Service (KMS)
|
3201
3219
|
# key to encrypt the output of our analytics job using the
|
@@ -3225,8 +3243,8 @@ module Aws::TranscribeService
|
|
3225
3243
|
# another account: "arn:aws:kms:region:account
|
3226
3244
|
# ID:key/1234abcd-12ab-34cd-56ef1234567890ab"
|
3227
3245
|
#
|
3228
|
-
# * ARN of a KMS Key Alias:
|
3229
|
-
#
|
3246
|
+
# * ARN of a KMS Key Alias:
|
3247
|
+
# "arn:aws:kms:region:accountID:alias/ExampleAlias"
|
3230
3248
|
#
|
3231
3249
|
# If you don't specify an encryption key, the output of the call
|
3232
3250
|
# analytics job is encrypted with the default Amazon S3 key (SSE-S3).
|
@@ -3535,6 +3553,7 @@ module Aws::TranscribeService
|
|
3535
3553
|
# content_redaction: {
|
3536
3554
|
# redaction_type: "PII", # required, accepts PII
|
3537
3555
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
3556
|
+
# 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, ALL
|
3538
3557
|
# },
|
3539
3558
|
# identify_language: false,
|
3540
3559
|
# language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
|
@@ -3799,7 +3818,7 @@ module Aws::TranscribeService
|
|
3799
3818
|
#
|
3800
3819
|
# @!attribute [rw] formats
|
3801
3820
|
# Specify the output format for your subtitle file; if you select both
|
3802
|
-
# SRT and VTT formats, two output files are
|
3821
|
+
# SRT and VTT formats, two output files are generated.
|
3803
3822
|
# @return [Array<String>]
|
3804
3823
|
#
|
3805
3824
|
# @!attribute [rw] subtitle_file_uris
|
@@ -4011,8 +4030,8 @@ module Aws::TranscribeService
|
|
4011
4030
|
# @return [String]
|
4012
4031
|
#
|
4013
4032
|
# @!attribute [rw] media_sample_rate_hertz
|
4014
|
-
# The sample rate, in Hertz, of the audio track in the input
|
4015
|
-
# file.
|
4033
|
+
# The sample rate, in Hertz (Hz), of the audio track in the input
|
4034
|
+
# media file.
|
4016
4035
|
# @return [Integer]
|
4017
4036
|
#
|
4018
4037
|
# @!attribute [rw] media_format
|
@@ -4130,7 +4149,7 @@ module Aws::TranscribeService
|
|
4130
4149
|
# Language-specific settings that can be specified when language
|
4131
4150
|
# identification is enabled for your transcription job. These settings
|
4132
4151
|
# include `VocabularyName`, `VocabularyFilterName`, and
|
4133
|
-
# `LanguageModelName
|
4152
|
+
# `LanguageModelName`.
|
4134
4153
|
# @return [Hash<String,Types::LanguageIdSettings>]
|
4135
4154
|
#
|
4136
4155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJob AWS API Documentation
|
@@ -4415,7 +4434,7 @@ module Aws::TranscribeService
|
|
4415
4434
|
#
|
4416
4435
|
# @!attribute [rw] language_code
|
4417
4436
|
# The language code of the language used for the entries in the
|
4418
|
-
# updated vocabulary.
|
4437
|
+
# updated vocabulary. U.S. English (en-US) is the only valid language
|
4419
4438
|
# code in Amazon Transcribe Medical.
|
4420
4439
|
# @return [String]
|
4421
4440
|
#
|
@@ -4442,7 +4461,7 @@ module Aws::TranscribeService
|
|
4442
4461
|
#
|
4443
4462
|
#
|
4444
4463
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
4445
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
4464
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html
|
4446
4465
|
# @return [String]
|
4447
4466
|
#
|
4448
4467
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateMedicalVocabularyRequest AWS API Documentation
|
@@ -4511,7 +4530,7 @@ module Aws::TranscribeService
|
|
4511
4530
|
#
|
4512
4531
|
#
|
4513
4532
|
#
|
4514
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
4533
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
4515
4534
|
# @return [Array<String>]
|
4516
4535
|
#
|
4517
4536
|
# @!attribute [rw] vocabulary_filter_file_uri
|
@@ -4528,7 +4547,7 @@ module Aws::TranscribeService
|
|
4528
4547
|
#
|
4529
4548
|
#
|
4530
4549
|
#
|
4531
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
4550
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
4532
4551
|
# @return [String]
|
4533
4552
|
#
|
4534
4553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilterRequest AWS API Documentation
|
@@ -4581,7 +4600,12 @@ module Aws::TranscribeService
|
|
4581
4600
|
#
|
4582
4601
|
# @!attribute [rw] language_code
|
4583
4602
|
# The language code of the vocabulary entries. For a list of languages
|
4584
|
-
# and their corresponding language codes, see
|
4603
|
+
# and their corresponding language codes, see [Supported
|
4604
|
+
# languages][1].
|
4605
|
+
#
|
4606
|
+
#
|
4607
|
+
#
|
4608
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html
|
4585
4609
|
# @return [String]
|
4586
4610
|
#
|
4587
4611
|
# @!attribute [rw] phrases
|
@@ -4591,10 +4615,14 @@ module Aws::TranscribeService
|
|
4591
4615
|
# @!attribute [rw] vocabulary_file_uri
|
4592
4616
|
# The S3 location of the text file that contains the definition of the
|
4593
4617
|
# custom vocabulary. The URI must be in the same region as the API
|
4594
|
-
# endpoint that you are calling. The general form is
|
4618
|
+
# endpoint that you are calling. The general form is:
|
4619
|
+
#
|
4620
|
+
# `https://s3.<aws-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>`
|
4595
4621
|
#
|
4596
4622
|
# For example:
|
4597
4623
|
#
|
4624
|
+
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
4625
|
+
#
|
4598
4626
|
# For more information about S3 object names, see [Object Keys][1] in
|
4599
4627
|
# the *Amazon S3 Developer Guide*.
|
4600
4628
|
#
|
@@ -4604,7 +4632,7 @@ module Aws::TranscribeService
|
|
4604
4632
|
#
|
4605
4633
|
#
|
4606
4634
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
4607
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
4635
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html
|
4608
4636
|
# @return [String]
|
4609
4637
|
#
|
4610
4638
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyRequest AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-transcribeservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.71.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:
|
11
|
+
date: 2022-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.126.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|