aws-sdk-transcribeservice 1.66.0 → 1.70.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribeservice/client.rb +60 -23
- 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: 07af4a675104149f0a77dab6d421b56d9a4d265e61318725f7f32ff88a25a53c
|
4
|
+
data.tar.gz: 7cb318035f0568427ffa0d6c9e07b68adcb80392a6e532b9f539a7a9944e8640
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b3fa1584f91a8c45deccb892c2ecf63cf91275fd2ce1fce746f4dcbfbbeaea3f51e9cd776e0b24bcb98fdfdcabaef6099a8d94567e91b725af1f4e768ca862f
|
7
|
+
data.tar.gz: 5a292ade811d134aa5c299e5143cb07494a0065119518f7cf03e2c2fca14399e817c206dc1217f0d56cd0f29e2076436f2aac481a624d02afeed812bc81e26df
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.70.0 (2022-01-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for granular PIIEntityTypes when using Batch ContentRedaction.
|
8
|
+
|
9
|
+
1.69.0 (2022-01-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amazon Transcribe.
|
13
|
+
|
14
|
+
1.68.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.67.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.66.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.0
|
@@ -27,6 +27,7 @@ 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'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::TranscribeService
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::TranscribeService
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::TranscribeService
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -305,7 +313,7 @@ module Aws::TranscribeService
|
|
305
313
|
# seconds to wait when opening a HTTP session before raising a
|
306
314
|
# `Timeout::Error`.
|
307
315
|
#
|
308
|
-
# @option options [
|
316
|
+
# @option options [Float] :http_read_timeout (60) The default
|
309
317
|
# number of seconds to wait for response data. This value can
|
310
318
|
# safely be set per-request on the session.
|
311
319
|
#
|
@@ -321,6 +329,9 @@ module Aws::TranscribeService
|
|
321
329
|
# disables this behaviour. This value can safely be set per
|
322
330
|
# request on the session.
|
323
331
|
#
|
332
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
333
|
+
# in seconds.
|
334
|
+
#
|
324
335
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
325
336
|
# HTTP debug output will be sent to the `:logger`.
|
326
337
|
#
|
@@ -603,9 +614,7 @@ module Aws::TranscribeService
|
|
603
614
|
# Region as the resource that you're calling. Enter information about
|
604
615
|
# your `VocabularyFileUri` in the following format:
|
605
616
|
#
|
606
|
-
# `
|
607
|
-
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
608
|
-
# `
|
617
|
+
# `https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>`
|
609
618
|
#
|
610
619
|
# The following is an example URI for a vocabulary file that is stored
|
611
620
|
# in Amazon S3:
|
@@ -621,7 +630,7 @@ module Aws::TranscribeService
|
|
621
630
|
#
|
622
631
|
#
|
623
632
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
624
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
633
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html
|
625
634
|
#
|
626
635
|
# @option params [Array<Types::Tag>] :tags
|
627
636
|
# Adds one or more tags, each in the form of a key:value pair, to a new
|
@@ -677,7 +686,7 @@ module Aws::TranscribeService
|
|
677
686
|
#
|
678
687
|
# @option params [required, String] :language_code
|
679
688
|
# The language code of the vocabulary entries. For a list of languages
|
680
|
-
# and their corresponding language codes, see
|
689
|
+
# and their corresponding language codes, see table-language-matrix.
|
681
690
|
#
|
682
691
|
# @option params [Array<String>] :phrases
|
683
692
|
# An array of strings that contains the vocabulary entries.
|
@@ -687,6 +696,14 @@ module Aws::TranscribeService
|
|
687
696
|
# custom vocabulary. The URI must be in the same region as the API
|
688
697
|
# endpoint that you are calling. The general form is:
|
689
698
|
#
|
699
|
+
# `https://s3.<Amazon Web
|
700
|
+
# Services-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>
|
701
|
+
# `
|
702
|
+
#
|
703
|
+
# For example:
|
704
|
+
#
|
705
|
+
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
706
|
+
#
|
690
707
|
# For more information about S3 object names, see [Object Keys][1] in
|
691
708
|
# the *Amazon S3 Developer Guide*.
|
692
709
|
#
|
@@ -696,7 +713,7 @@ module Aws::TranscribeService
|
|
696
713
|
#
|
697
714
|
#
|
698
715
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
699
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
716
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html
|
700
717
|
#
|
701
718
|
# @option params [Array<Types::Tag>] :tags
|
702
719
|
# Adds one or more tags, each in the form of a key:value pair, to a new
|
@@ -767,7 +784,7 @@ module Aws::TranscribeService
|
|
767
784
|
#
|
768
785
|
#
|
769
786
|
#
|
770
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
787
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
771
788
|
#
|
772
789
|
# @option params [String] :vocabulary_filter_file_uri
|
773
790
|
# The Amazon S3 location of a text file used as input to create the
|
@@ -783,7 +800,7 @@ module Aws::TranscribeService
|
|
783
800
|
#
|
784
801
|
#
|
785
802
|
#
|
786
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
803
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
787
804
|
#
|
788
805
|
# @option params [Array<Types::Tag>] :tags
|
789
806
|
# Adds one or more tags, each in the form of a key:value pair, to a new
|
@@ -1174,6 +1191,8 @@ module Aws::TranscribeService
|
|
1174
1191
|
# resp.call_analytics_job.settings.language_model_name #=> String
|
1175
1192
|
# resp.call_analytics_job.settings.content_redaction.redaction_type #=> String, one of "PII"
|
1176
1193
|
# resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
1194
|
+
# resp.call_analytics_job.settings.content_redaction.pii_entity_types #=> Array
|
1195
|
+
# 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"
|
1177
1196
|
# resp.call_analytics_job.settings.language_options #=> Array
|
1178
1197
|
# 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"
|
1179
1198
|
# resp.call_analytics_job.settings.language_id_settings #=> Hash
|
@@ -1335,6 +1354,8 @@ module Aws::TranscribeService
|
|
1335
1354
|
# resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
|
1336
1355
|
# resp.transcription_job.content_redaction.redaction_type #=> String, one of "PII"
|
1337
1356
|
# resp.transcription_job.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
1357
|
+
# resp.transcription_job.content_redaction.pii_entity_types #=> Array
|
1358
|
+
# 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"
|
1338
1359
|
# resp.transcription_job.identify_language #=> Boolean
|
1339
1360
|
# resp.transcription_job.language_options #=> Array
|
1340
1361
|
# 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"
|
@@ -1875,6 +1896,8 @@ module Aws::TranscribeService
|
|
1875
1896
|
# resp.transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
|
1876
1897
|
# resp.transcription_job_summaries[0].content_redaction.redaction_type #=> String, one of "PII"
|
1877
1898
|
# resp.transcription_job_summaries[0].content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
1899
|
+
# resp.transcription_job_summaries[0].content_redaction.pii_entity_types #=> Array
|
1900
|
+
# 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"
|
1878
1901
|
# resp.transcription_job_summaries[0].model_settings.language_model_name #=> String
|
1879
1902
|
# resp.transcription_job_summaries[0].identify_language #=> Boolean
|
1880
1903
|
# resp.transcription_job_summaries[0].identified_language_score #=> Float
|
@@ -2029,15 +2052,15 @@ module Aws::TranscribeService
|
|
2029
2052
|
#
|
2030
2053
|
# f you specify a path, Amazon Transcribe saves the output of the
|
2031
2054
|
# analytics job as
|
2032
|
-
# s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json
|
2055
|
+
# s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json.
|
2033
2056
|
#
|
2034
2057
|
# If you specify a folder, you must provide a trailing slash.
|
2035
2058
|
#
|
2036
|
-
# * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json
|
2059
|
+
# * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json.
|
2037
2060
|
#
|
2038
2061
|
# If you provide a path that has the filename specified, Amazon
|
2039
2062
|
# Transcribe saves the output of the analytics job as
|
2040
|
-
# s3://DOC-EXAMPLEBUCKET1/folder/filename.json
|
2063
|
+
# s3://DOC-EXAMPLEBUCKET1/folder/filename.json.
|
2041
2064
|
#
|
2042
2065
|
# You can specify an Amazon Web Services Key Management Service (KMS)
|
2043
2066
|
# key to encrypt the output of our analytics job using the
|
@@ -2066,8 +2089,8 @@ module Aws::TranscribeService
|
|
2066
2089
|
# another account: "arn:aws:kms:region:account
|
2067
2090
|
# ID:key/1234abcd-12ab-34cd-56ef1234567890ab"
|
2068
2091
|
#
|
2069
|
-
# * ARN of a KMS Key Alias:
|
2070
|
-
#
|
2092
|
+
# * ARN of a KMS Key Alias:
|
2093
|
+
# "arn:aws:kms:region:accountID:alias/ExampleAlias"
|
2071
2094
|
#
|
2072
2095
|
# If you don't specify an encryption key, the output of the call
|
2073
2096
|
# analytics job is encrypted with the default Amazon S3 key (SSE-S3).
|
@@ -2116,6 +2139,7 @@ module Aws::TranscribeService
|
|
2116
2139
|
# content_redaction: {
|
2117
2140
|
# redaction_type: "PII", # required, accepts PII
|
2118
2141
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
2142
|
+
# 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
|
2119
2143
|
# },
|
2120
2144
|
# 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
|
2121
2145
|
# language_id_settings: {
|
@@ -2157,6 +2181,8 @@ module Aws::TranscribeService
|
|
2157
2181
|
# resp.call_analytics_job.settings.language_model_name #=> String
|
2158
2182
|
# resp.call_analytics_job.settings.content_redaction.redaction_type #=> String, one of "PII"
|
2159
2183
|
# resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
2184
|
+
# resp.call_analytics_job.settings.content_redaction.pii_entity_types #=> Array
|
2185
|
+
# 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"
|
2160
2186
|
# resp.call_analytics_job.settings.language_options #=> Array
|
2161
2187
|
# 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"
|
2162
2188
|
# resp.call_analytics_job.settings.language_id_settings #=> Hash
|
@@ -2579,6 +2605,7 @@ module Aws::TranscribeService
|
|
2579
2605
|
# content_redaction: {
|
2580
2606
|
# redaction_type: "PII", # required, accepts PII
|
2581
2607
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
2608
|
+
# 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
|
2582
2609
|
# },
|
2583
2610
|
# identify_language: false,
|
2584
2611
|
# 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
|
@@ -2628,6 +2655,8 @@ module Aws::TranscribeService
|
|
2628
2655
|
# resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
|
2629
2656
|
# resp.transcription_job.content_redaction.redaction_type #=> String, one of "PII"
|
2630
2657
|
# resp.transcription_job.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
2658
|
+
# resp.transcription_job.content_redaction.pii_entity_types #=> Array
|
2659
|
+
# 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"
|
2631
2660
|
# resp.transcription_job.identify_language #=> Boolean
|
2632
2661
|
# resp.transcription_job.language_options #=> Array
|
2633
2662
|
# 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"
|
@@ -2895,7 +2924,7 @@ module Aws::TranscribeService
|
|
2895
2924
|
#
|
2896
2925
|
# @option params [required, String] :language_code
|
2897
2926
|
# The language code of the language used for the entries in the updated
|
2898
|
-
# vocabulary.
|
2927
|
+
# vocabulary. U.S. English (en-US) is the only valid language code in
|
2899
2928
|
# Amazon Transcribe Medical.
|
2900
2929
|
#
|
2901
2930
|
# @option params [String] :vocabulary_file_uri
|
@@ -2921,7 +2950,7 @@ module Aws::TranscribeService
|
|
2921
2950
|
#
|
2922
2951
|
#
|
2923
2952
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
2924
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
2953
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html
|
2925
2954
|
#
|
2926
2955
|
# @return [Types::UpdateMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2927
2956
|
#
|
@@ -2965,7 +2994,11 @@ module Aws::TranscribeService
|
|
2965
2994
|
#
|
2966
2995
|
# @option params [required, String] :language_code
|
2967
2996
|
# The language code of the vocabulary entries. For a list of languages
|
2968
|
-
# and their corresponding language codes, see
|
2997
|
+
# and their corresponding language codes, see [Supported languages][1].
|
2998
|
+
#
|
2999
|
+
#
|
3000
|
+
#
|
3001
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html
|
2969
3002
|
#
|
2970
3003
|
# @option params [Array<String>] :phrases
|
2971
3004
|
# An array of strings containing the vocabulary entries.
|
@@ -2973,10 +3006,14 @@ module Aws::TranscribeService
|
|
2973
3006
|
# @option params [String] :vocabulary_file_uri
|
2974
3007
|
# The S3 location of the text file that contains the definition of the
|
2975
3008
|
# custom vocabulary. The URI must be in the same region as the API
|
2976
|
-
# endpoint that you are calling. The general form is
|
3009
|
+
# endpoint that you are calling. The general form is:
|
3010
|
+
#
|
3011
|
+
# `https://s3.<aws-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>`
|
2977
3012
|
#
|
2978
3013
|
# For example:
|
2979
3014
|
#
|
3015
|
+
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
3016
|
+
#
|
2980
3017
|
# For more information about S3 object names, see [Object Keys][1] in
|
2981
3018
|
# the *Amazon S3 Developer Guide*.
|
2982
3019
|
#
|
@@ -2986,7 +3023,7 @@ module Aws::TranscribeService
|
|
2986
3023
|
#
|
2987
3024
|
#
|
2988
3025
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
2989
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
3026
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html
|
2990
3027
|
#
|
2991
3028
|
# @return [Types::UpdateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2992
3029
|
#
|
@@ -3037,7 +3074,7 @@ module Aws::TranscribeService
|
|
3037
3074
|
#
|
3038
3075
|
#
|
3039
3076
|
#
|
3040
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
3077
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
3041
3078
|
#
|
3042
3079
|
# @option params [String] :vocabulary_filter_file_uri
|
3043
3080
|
# The Amazon S3 location of a text file used as input to create the
|
@@ -3053,7 +3090,7 @@ module Aws::TranscribeService
|
|
3053
3090
|
#
|
3054
3091
|
#
|
3055
3092
|
#
|
3056
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
3093
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
3057
3094
|
#
|
3058
3095
|
# @return [Types::UpdateVocabularyFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3059
3096
|
#
|
@@ -3097,7 +3134,7 @@ module Aws::TranscribeService
|
|
3097
3134
|
params: params,
|
3098
3135
|
config: config)
|
3099
3136
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
3100
|
-
context[:gem_version] = '1.
|
3137
|
+
context[:gem_version] = '1.70.0'
|
3101
3138
|
Seahorse::Client::Request.new(handlers, context)
|
3102
3139
|
end
|
3103
3140
|
|
@@ -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.70.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-01-21 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.125.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.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|