aws-sdk-transcribeservice 1.65.0 → 1.69.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 +57 -23
- data/lib/aws-sdk-transcribeservice/types.rb +63 -45
- 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: c9c82e922887a1d45426f1dfce8169e8998eec9ee752a20bbb9deeff9facb53f
|
4
|
+
data.tar.gz: fe1a76c24a25d56ea0f32bc92de6052e517aebb07748294a343b10fbfea8f7e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b559471e85df2353767793d0480542929fe46628ac7cb63e7ce93dea7e26860be8f5456cea14b10a19b4cedbec117a6011a8d09a4d39868ad318e6cba3a8174b
|
7
|
+
data.tar.gz: 7545755dc4c9b4c56610d9bfa046c02edb2014afb52f541e44f60dc542aaa0db7e591de3a93023546bf47d87fdb1f9277e6a676624a34ee1a779ea58842ecded
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.69.0 (2022-01-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for Amazon Transcribe.
|
8
|
+
|
9
|
+
1.68.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.67.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.66.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.65.0 (2021-10-29)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.69.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.
|
@@ -285,6 +293,15 @@ module Aws::TranscribeService
|
|
285
293
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
294
|
# requests are made, and retries are disabled.
|
287
295
|
#
|
296
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
297
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
298
|
+
# will be used if available.
|
299
|
+
#
|
300
|
+
# @option options [Boolean] :use_fips_endpoint
|
301
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
302
|
+
# When a `fips` region is used, the region is normalized and this config
|
303
|
+
# is set to `true`.
|
304
|
+
#
|
288
305
|
# @option options [Boolean] :validate_params (true)
|
289
306
|
# When `true`, request parameters are validated before
|
290
307
|
# sending the request.
|
@@ -296,7 +313,7 @@ module Aws::TranscribeService
|
|
296
313
|
# seconds to wait when opening a HTTP session before raising a
|
297
314
|
# `Timeout::Error`.
|
298
315
|
#
|
299
|
-
# @option options [
|
316
|
+
# @option options [Float] :http_read_timeout (60) The default
|
300
317
|
# number of seconds to wait for response data. This value can
|
301
318
|
# safely be set per-request on the session.
|
302
319
|
#
|
@@ -312,6 +329,9 @@ module Aws::TranscribeService
|
|
312
329
|
# disables this behaviour. This value can safely be set per
|
313
330
|
# request on the session.
|
314
331
|
#
|
332
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
333
|
+
# in seconds.
|
334
|
+
#
|
315
335
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
316
336
|
# HTTP debug output will be sent to the `:logger`.
|
317
337
|
#
|
@@ -594,9 +614,7 @@ module Aws::TranscribeService
|
|
594
614
|
# Region as the resource that you're calling. Enter information about
|
595
615
|
# your `VocabularyFileUri` in the following format:
|
596
616
|
#
|
597
|
-
# `
|
598
|
-
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
599
|
-
# `
|
617
|
+
# `https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>`
|
600
618
|
#
|
601
619
|
# The following is an example URI for a vocabulary file that is stored
|
602
620
|
# in Amazon S3:
|
@@ -612,7 +630,7 @@ module Aws::TranscribeService
|
|
612
630
|
#
|
613
631
|
#
|
614
632
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
615
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
633
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html
|
616
634
|
#
|
617
635
|
# @option params [Array<Types::Tag>] :tags
|
618
636
|
# Adds one or more tags, each in the form of a key:value pair, to a new
|
@@ -668,7 +686,7 @@ module Aws::TranscribeService
|
|
668
686
|
#
|
669
687
|
# @option params [required, String] :language_code
|
670
688
|
# The language code of the vocabulary entries. For a list of languages
|
671
|
-
# and their corresponding language codes, see
|
689
|
+
# and their corresponding language codes, see table-language-matrix.
|
672
690
|
#
|
673
691
|
# @option params [Array<String>] :phrases
|
674
692
|
# An array of strings that contains the vocabulary entries.
|
@@ -678,6 +696,14 @@ module Aws::TranscribeService
|
|
678
696
|
# custom vocabulary. The URI must be in the same region as the API
|
679
697
|
# endpoint that you are calling. The general form is:
|
680
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
|
+
#
|
681
707
|
# For more information about S3 object names, see [Object Keys][1] in
|
682
708
|
# the *Amazon S3 Developer Guide*.
|
683
709
|
#
|
@@ -687,7 +713,7 @@ module Aws::TranscribeService
|
|
687
713
|
#
|
688
714
|
#
|
689
715
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
690
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
716
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html
|
691
717
|
#
|
692
718
|
# @option params [Array<Types::Tag>] :tags
|
693
719
|
# Adds one or more tags, each in the form of a key:value pair, to a new
|
@@ -758,7 +784,7 @@ module Aws::TranscribeService
|
|
758
784
|
#
|
759
785
|
#
|
760
786
|
#
|
761
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
787
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
762
788
|
#
|
763
789
|
# @option params [String] :vocabulary_filter_file_uri
|
764
790
|
# The Amazon S3 location of a text file used as input to create the
|
@@ -774,7 +800,7 @@ module Aws::TranscribeService
|
|
774
800
|
#
|
775
801
|
#
|
776
802
|
#
|
777
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
803
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
778
804
|
#
|
779
805
|
# @option params [Array<Types::Tag>] :tags
|
780
806
|
# Adds one or more tags, each in the form of a key:value pair, to a new
|
@@ -2020,15 +2046,15 @@ module Aws::TranscribeService
|
|
2020
2046
|
#
|
2021
2047
|
# f you specify a path, Amazon Transcribe saves the output of the
|
2022
2048
|
# analytics job as
|
2023
|
-
# s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json
|
2049
|
+
# s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json.
|
2024
2050
|
#
|
2025
2051
|
# If you specify a folder, you must provide a trailing slash.
|
2026
2052
|
#
|
2027
|
-
# * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json
|
2053
|
+
# * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json.
|
2028
2054
|
#
|
2029
2055
|
# If you provide a path that has the filename specified, Amazon
|
2030
2056
|
# Transcribe saves the output of the analytics job as
|
2031
|
-
# s3://DOC-EXAMPLEBUCKET1/folder/filename.json
|
2057
|
+
# s3://DOC-EXAMPLEBUCKET1/folder/filename.json.
|
2032
2058
|
#
|
2033
2059
|
# You can specify an Amazon Web Services Key Management Service (KMS)
|
2034
2060
|
# key to encrypt the output of our analytics job using the
|
@@ -2057,8 +2083,8 @@ module Aws::TranscribeService
|
|
2057
2083
|
# another account: "arn:aws:kms:region:account
|
2058
2084
|
# ID:key/1234abcd-12ab-34cd-56ef1234567890ab"
|
2059
2085
|
#
|
2060
|
-
# * ARN of a KMS Key Alias:
|
2061
|
-
#
|
2086
|
+
# * ARN of a KMS Key Alias:
|
2087
|
+
# "arn:aws:kms:region:accountID:alias/ExampleAlias"
|
2062
2088
|
#
|
2063
2089
|
# If you don't specify an encryption key, the output of the call
|
2064
2090
|
# analytics job is encrypted with the default Amazon S3 key (SSE-S3).
|
@@ -2886,7 +2912,7 @@ module Aws::TranscribeService
|
|
2886
2912
|
#
|
2887
2913
|
# @option params [required, String] :language_code
|
2888
2914
|
# The language code of the language used for the entries in the updated
|
2889
|
-
# vocabulary.
|
2915
|
+
# vocabulary. U.S. English (en-US) is the only valid language code in
|
2890
2916
|
# Amazon Transcribe Medical.
|
2891
2917
|
#
|
2892
2918
|
# @option params [String] :vocabulary_file_uri
|
@@ -2912,7 +2938,7 @@ module Aws::TranscribeService
|
|
2912
2938
|
#
|
2913
2939
|
#
|
2914
2940
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
2915
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
2941
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html
|
2916
2942
|
#
|
2917
2943
|
# @return [Types::UpdateMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2918
2944
|
#
|
@@ -2956,7 +2982,11 @@ module Aws::TranscribeService
|
|
2956
2982
|
#
|
2957
2983
|
# @option params [required, String] :language_code
|
2958
2984
|
# The language code of the vocabulary entries. For a list of languages
|
2959
|
-
# and their corresponding language codes, see
|
2985
|
+
# and their corresponding language codes, see [Supported languages][1].
|
2986
|
+
#
|
2987
|
+
#
|
2988
|
+
#
|
2989
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html
|
2960
2990
|
#
|
2961
2991
|
# @option params [Array<String>] :phrases
|
2962
2992
|
# An array of strings containing the vocabulary entries.
|
@@ -2964,10 +2994,14 @@ module Aws::TranscribeService
|
|
2964
2994
|
# @option params [String] :vocabulary_file_uri
|
2965
2995
|
# The S3 location of the text file that contains the definition of the
|
2966
2996
|
# custom vocabulary. The URI must be in the same region as the API
|
2967
|
-
# endpoint that you are calling. The general form is
|
2997
|
+
# endpoint that you are calling. The general form is:
|
2998
|
+
#
|
2999
|
+
# `https://s3.<aws-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>`
|
2968
3000
|
#
|
2969
3001
|
# For example:
|
2970
3002
|
#
|
3003
|
+
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
3004
|
+
#
|
2971
3005
|
# For more information about S3 object names, see [Object Keys][1] in
|
2972
3006
|
# the *Amazon S3 Developer Guide*.
|
2973
3007
|
#
|
@@ -2977,7 +3011,7 @@ module Aws::TranscribeService
|
|
2977
3011
|
#
|
2978
3012
|
#
|
2979
3013
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
2980
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
3014
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html
|
2981
3015
|
#
|
2982
3016
|
# @return [Types::UpdateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2983
3017
|
#
|
@@ -3028,7 +3062,7 @@ module Aws::TranscribeService
|
|
3028
3062
|
#
|
3029
3063
|
#
|
3030
3064
|
#
|
3031
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
3065
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
3032
3066
|
#
|
3033
3067
|
# @option params [String] :vocabulary_filter_file_uri
|
3034
3068
|
# The Amazon S3 location of a text file used as input to create the
|
@@ -3044,7 +3078,7 @@ module Aws::TranscribeService
|
|
3044
3078
|
#
|
3045
3079
|
#
|
3046
3080
|
#
|
3047
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
3081
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
3048
3082
|
#
|
3049
3083
|
# @return [Types::UpdateVocabularyFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3050
3084
|
#
|
@@ -3088,7 +3122,7 @@ module Aws::TranscribeService
|
|
3088
3122
|
params: params,
|
3089
3123
|
config: config)
|
3090
3124
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
3091
|
-
context[:gem_version] = '1.
|
3125
|
+
context[:gem_version] = '1.69.0'
|
3092
3126
|
Seahorse::Client::Request.new(handlers, context)
|
3093
3127
|
end
|
3094
3128
|
|
@@ -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
|
@@ -296,12 +295,12 @@ module Aws::TranscribeService
|
|
296
295
|
# Amazon Transcribe will use machine learning to identify the language
|
297
296
|
# for you. To improve the ability of Amazon Transcribe to correctly
|
298
297
|
# identify the language, you can provide an array of the languages
|
299
|
-
# that can be present in the audio. Refer to [Supported languages
|
300
|
-
#
|
298
|
+
# that can be present in the audio. Refer to [Supported languages][1]
|
299
|
+
# for additional information.
|
301
300
|
#
|
302
301
|
#
|
303
302
|
#
|
304
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
303
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html
|
305
304
|
# @return [Array<String>]
|
306
305
|
#
|
307
306
|
# @!attribute [rw] language_id_settings
|
@@ -724,9 +723,7 @@ module Aws::TranscribeService
|
|
724
723
|
# Region as the resource that you're calling. Enter information about
|
725
724
|
# your `VocabularyFileUri` in the following format:
|
726
725
|
#
|
727
|
-
# `
|
728
|
-
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
729
|
-
# `
|
726
|
+
# `https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>`
|
730
727
|
#
|
731
728
|
# The following is an example URI for a vocabulary file that is stored
|
732
729
|
# in Amazon S3:
|
@@ -742,7 +739,7 @@ module Aws::TranscribeService
|
|
742
739
|
#
|
743
740
|
#
|
744
741
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
745
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
742
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html
|
746
743
|
# @return [String]
|
747
744
|
#
|
748
745
|
# @!attribute [rw] tags
|
@@ -838,7 +835,7 @@ module Aws::TranscribeService
|
|
838
835
|
#
|
839
836
|
#
|
840
837
|
#
|
841
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
838
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
842
839
|
# @return [Array<String>]
|
843
840
|
#
|
844
841
|
# @!attribute [rw] vocabulary_filter_file_uri
|
@@ -855,7 +852,7 @@ module Aws::TranscribeService
|
|
855
852
|
#
|
856
853
|
#
|
857
854
|
#
|
858
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
855
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
859
856
|
# @return [String]
|
860
857
|
#
|
861
858
|
# @!attribute [rw] tags
|
@@ -923,7 +920,7 @@ module Aws::TranscribeService
|
|
923
920
|
#
|
924
921
|
# @!attribute [rw] language_code
|
925
922
|
# The language code of the vocabulary entries. For a list of languages
|
926
|
-
# and their corresponding language codes, see
|
923
|
+
# and their corresponding language codes, see table-language-matrix.
|
927
924
|
# @return [String]
|
928
925
|
#
|
929
926
|
# @!attribute [rw] phrases
|
@@ -935,6 +932,14 @@ module Aws::TranscribeService
|
|
935
932
|
# custom vocabulary. The URI must be in the same region as the API
|
936
933
|
# endpoint that you are calling. The general form is:
|
937
934
|
#
|
935
|
+
# `https://s3.<Amazon Web
|
936
|
+
# Services-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>
|
937
|
+
# `
|
938
|
+
#
|
939
|
+
# For example:
|
940
|
+
#
|
941
|
+
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
942
|
+
#
|
938
943
|
# For more information about S3 object names, see [Object Keys][1] in
|
939
944
|
# the *Amazon S3 Developer Guide*.
|
940
945
|
#
|
@@ -944,7 +949,7 @@ module Aws::TranscribeService
|
|
944
949
|
#
|
945
950
|
#
|
946
951
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
947
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
952
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html
|
948
953
|
# @return [String]
|
949
954
|
#
|
950
955
|
# @!attribute [rw] tags
|
@@ -1676,22 +1681,22 @@ module Aws::TranscribeService
|
|
1676
1681
|
# @!attribute [rw] vocabulary_name
|
1677
1682
|
# The name of the vocabulary you want to use when processing your
|
1678
1683
|
# transcription job. The vocabulary you specify must have the same
|
1679
|
-
# language
|
1680
|
-
# match, the vocabulary
|
1684
|
+
# language codes as the transcription job; if the languages don't
|
1685
|
+
# match, the vocabulary isn't applied.
|
1681
1686
|
# @return [String]
|
1682
1687
|
#
|
1683
1688
|
# @!attribute [rw] vocabulary_filter_name
|
1684
1689
|
# The name of the vocabulary filter you want to use when transcribing
|
1685
|
-
# your audio. The filter you specify must have the same language
|
1690
|
+
# your audio. The filter you specify must have the same language codes
|
1686
1691
|
# as the transcription job; if the languages don't match, the
|
1687
|
-
# vocabulary filter
|
1692
|
+
# vocabulary filter isn't be applied.
|
1688
1693
|
# @return [String]
|
1689
1694
|
#
|
1690
1695
|
# @!attribute [rw] language_model_name
|
1691
1696
|
# The name of the language model you want to use when transcribing
|
1692
|
-
# your audio. The model you specify must have the same language
|
1697
|
+
# your audio. The model you specify must have the same language codes
|
1693
1698
|
# as the transcription job; if the languages don't match, the
|
1694
|
-
# language model
|
1699
|
+
# language model isn't be applied.
|
1695
1700
|
# @return [String]
|
1696
1701
|
#
|
1697
1702
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/LanguageIdSettings AWS API Documentation
|
@@ -2388,8 +2393,14 @@ module Aws::TranscribeService
|
|
2388
2393
|
# the same region as the API endpoint that you are calling. The
|
2389
2394
|
# general form is:
|
2390
2395
|
#
|
2396
|
+
# ` s3://<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>`
|
2397
|
+
#
|
2391
2398
|
# For example:
|
2392
2399
|
#
|
2400
|
+
# `s3://AWSDOC-EXAMPLE-BUCKET/example.mp4`
|
2401
|
+
#
|
2402
|
+
# `s3://AWSDOC-EXAMPLE-BUCKET/mediadocs/example.mp4`
|
2403
|
+
#
|
2393
2404
|
# For more information about S3 object names, see [Object Keys][1] in
|
2394
2405
|
# the *Amazon S3 Developer Guide*.
|
2395
2406
|
#
|
@@ -2453,9 +2464,7 @@ module Aws::TranscribeService
|
|
2453
2464
|
#
|
2454
2465
|
# If you don't specify the sample rate, Amazon Transcribe Medical
|
2455
2466
|
# 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.
|
2467
|
+
# must match the rate detected by Amazon Transcribe Medical.
|
2459
2468
|
# @return [Integer]
|
2460
2469
|
#
|
2461
2470
|
# @!attribute [rw] media_format
|
@@ -2512,13 +2521,13 @@ module Aws::TranscribeService
|
|
2512
2521
|
# * `Invalid file size: file size too large`- The size of your audio
|
2513
2522
|
# file is larger than what Amazon Transcribe Medical can process.
|
2514
2523
|
# For more information, see [Guidelines and Quotas][1] in the
|
2515
|
-
# *Amazon Transcribe Medical Guide
|
2524
|
+
# *Amazon Transcribe Medical Guide*.
|
2516
2525
|
#
|
2517
2526
|
# * `Invalid number of channels: number of channels too large`- Your
|
2518
2527
|
# audio contains more channels than Amazon Transcribe Medical is
|
2519
2528
|
# configured to process. To request additional channels, see [Amazon
|
2520
2529
|
# Transcribe Medical Endpoints and Quotas][2] in the *Amazon Web
|
2521
|
-
# Services General Reference
|
2530
|
+
# Services General Reference*.
|
2522
2531
|
#
|
2523
2532
|
#
|
2524
2533
|
#
|
@@ -2709,7 +2718,7 @@ module Aws::TranscribeService
|
|
2709
2718
|
#
|
2710
2719
|
# You can't set both `ShowSpeakerLabels` and `ChannelIdentification`
|
2711
2720
|
# in the same request. If you set both, your request returns a
|
2712
|
-
# `BadRequestException
|
2721
|
+
# `BadRequestException`.
|
2713
2722
|
# @return [Boolean]
|
2714
2723
|
#
|
2715
2724
|
# @!attribute [rw] show_alternatives
|
@@ -3187,15 +3196,15 @@ module Aws::TranscribeService
|
|
3187
3196
|
#
|
3188
3197
|
# f you specify a path, Amazon Transcribe saves the output of the
|
3189
3198
|
# analytics job as
|
3190
|
-
# s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json
|
3199
|
+
# s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json.
|
3191
3200
|
#
|
3192
3201
|
# If you specify a folder, you must provide a trailing slash.
|
3193
3202
|
#
|
3194
|
-
# * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json
|
3203
|
+
# * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json.
|
3195
3204
|
#
|
3196
3205
|
# If you provide a path that has the filename specified, Amazon
|
3197
3206
|
# Transcribe saves the output of the analytics job as
|
3198
|
-
# s3://DOC-EXAMPLEBUCKET1/folder/filename.json
|
3207
|
+
# s3://DOC-EXAMPLEBUCKET1/folder/filename.json.
|
3199
3208
|
#
|
3200
3209
|
# You can specify an Amazon Web Services Key Management Service (KMS)
|
3201
3210
|
# key to encrypt the output of our analytics job using the
|
@@ -3225,8 +3234,8 @@ module Aws::TranscribeService
|
|
3225
3234
|
# another account: "arn:aws:kms:region:account
|
3226
3235
|
# ID:key/1234abcd-12ab-34cd-56ef1234567890ab"
|
3227
3236
|
#
|
3228
|
-
# * ARN of a KMS Key Alias:
|
3229
|
-
#
|
3237
|
+
# * ARN of a KMS Key Alias:
|
3238
|
+
# "arn:aws:kms:region:accountID:alias/ExampleAlias"
|
3230
3239
|
#
|
3231
3240
|
# If you don't specify an encryption key, the output of the call
|
3232
3241
|
# analytics job is encrypted with the default Amazon S3 key (SSE-S3).
|
@@ -3799,7 +3808,7 @@ module Aws::TranscribeService
|
|
3799
3808
|
#
|
3800
3809
|
# @!attribute [rw] formats
|
3801
3810
|
# Specify the output format for your subtitle file; if you select both
|
3802
|
-
# SRT and VTT formats, two output files are
|
3811
|
+
# SRT and VTT formats, two output files are generated.
|
3803
3812
|
# @return [Array<String>]
|
3804
3813
|
#
|
3805
3814
|
# @!attribute [rw] subtitle_file_uris
|
@@ -4011,8 +4020,8 @@ module Aws::TranscribeService
|
|
4011
4020
|
# @return [String]
|
4012
4021
|
#
|
4013
4022
|
# @!attribute [rw] media_sample_rate_hertz
|
4014
|
-
# The sample rate, in Hertz, of the audio track in the input
|
4015
|
-
# file.
|
4023
|
+
# The sample rate, in Hertz (Hz), of the audio track in the input
|
4024
|
+
# media file.
|
4016
4025
|
# @return [Integer]
|
4017
4026
|
#
|
4018
4027
|
# @!attribute [rw] media_format
|
@@ -4130,7 +4139,7 @@ module Aws::TranscribeService
|
|
4130
4139
|
# Language-specific settings that can be specified when language
|
4131
4140
|
# identification is enabled for your transcription job. These settings
|
4132
4141
|
# include `VocabularyName`, `VocabularyFilterName`, and
|
4133
|
-
# `LanguageModelName
|
4142
|
+
# `LanguageModelName`.
|
4134
4143
|
# @return [Hash<String,Types::LanguageIdSettings>]
|
4135
4144
|
#
|
4136
4145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJob AWS API Documentation
|
@@ -4415,7 +4424,7 @@ module Aws::TranscribeService
|
|
4415
4424
|
#
|
4416
4425
|
# @!attribute [rw] language_code
|
4417
4426
|
# The language code of the language used for the entries in the
|
4418
|
-
# updated vocabulary.
|
4427
|
+
# updated vocabulary. U.S. English (en-US) is the only valid language
|
4419
4428
|
# code in Amazon Transcribe Medical.
|
4420
4429
|
# @return [String]
|
4421
4430
|
#
|
@@ -4442,7 +4451,7 @@ module Aws::TranscribeService
|
|
4442
4451
|
#
|
4443
4452
|
#
|
4444
4453
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
4445
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
4454
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html
|
4446
4455
|
# @return [String]
|
4447
4456
|
#
|
4448
4457
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateMedicalVocabularyRequest AWS API Documentation
|
@@ -4511,7 +4520,7 @@ module Aws::TranscribeService
|
|
4511
4520
|
#
|
4512
4521
|
#
|
4513
4522
|
#
|
4514
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
4523
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
4515
4524
|
# @return [Array<String>]
|
4516
4525
|
#
|
4517
4526
|
# @!attribute [rw] vocabulary_filter_file_uri
|
@@ -4528,7 +4537,7 @@ module Aws::TranscribeService
|
|
4528
4537
|
#
|
4529
4538
|
#
|
4530
4539
|
#
|
4531
|
-
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
4540
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html
|
4532
4541
|
# @return [String]
|
4533
4542
|
#
|
4534
4543
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilterRequest AWS API Documentation
|
@@ -4581,7 +4590,12 @@ module Aws::TranscribeService
|
|
4581
4590
|
#
|
4582
4591
|
# @!attribute [rw] language_code
|
4583
4592
|
# The language code of the vocabulary entries. For a list of languages
|
4584
|
-
# and their corresponding language codes, see
|
4593
|
+
# and their corresponding language codes, see [Supported
|
4594
|
+
# languages][1].
|
4595
|
+
#
|
4596
|
+
#
|
4597
|
+
#
|
4598
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html
|
4585
4599
|
# @return [String]
|
4586
4600
|
#
|
4587
4601
|
# @!attribute [rw] phrases
|
@@ -4591,10 +4605,14 @@ module Aws::TranscribeService
|
|
4591
4605
|
# @!attribute [rw] vocabulary_file_uri
|
4592
4606
|
# The S3 location of the text file that contains the definition of the
|
4593
4607
|
# custom vocabulary. The URI must be in the same region as the API
|
4594
|
-
# endpoint that you are calling. The general form is
|
4608
|
+
# endpoint that you are calling. The general form is:
|
4609
|
+
#
|
4610
|
+
# `https://s3.<aws-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>`
|
4595
4611
|
#
|
4596
4612
|
# For example:
|
4597
4613
|
#
|
4614
|
+
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
4615
|
+
#
|
4598
4616
|
# For more information about S3 object names, see [Object Keys][1] in
|
4599
4617
|
# the *Amazon S3 Developer Guide*.
|
4600
4618
|
#
|
@@ -4604,7 +4622,7 @@ module Aws::TranscribeService
|
|
4604
4622
|
#
|
4605
4623
|
#
|
4606
4624
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
4607
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/
|
4625
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html
|
4608
4626
|
# @return [String]
|
4609
4627
|
#
|
4610
4628
|
# @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.69.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-10 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
|