aws-sdk-transcribestreamingservice 1.53.0 → 1.54.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribestreamingservice/async_client.rb +28 -3
- data/lib/aws-sdk-transcribestreamingservice/client.rb +1 -1
- data/lib/aws-sdk-transcribestreamingservice/client_api.rb +2 -0
- data/lib/aws-sdk-transcribestreamingservice/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-transcribestreamingservice/types.rb +32 -2
- data/lib/aws-sdk-transcribestreamingservice.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4597ec3a143889939099076c8b59d985db90970e8cd9b261d987b23e967772c3
|
4
|
+
data.tar.gz: 6654ae671cf795ae4f06481fb12a85a6f1b79f244d8c768af3432e7eddbcc7f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56e961fb3774f481ccc88beffd5dc14402cd15beae7c1eecd91020833b974816f11039e280a1acb8f21b8ec361fe3777c58d5d17133218e6cb25e621c790825a
|
7
|
+
data.tar.gz: 338583f597bc7cec0bf9c0db62ecfc89de2b756baf3938136576450a3560900cc601963c5ba50945e93e772b551f786472fc09cb334df558e0b2fc3589de9ec2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.54.0 (2023-11-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release enables customers to call the AWS Transcribe streaming service with the capability of identifying multiple languages in the stream.
|
8
|
+
|
4
9
|
1.53.0 (2023-09-27)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.54.0
|
@@ -1060,7 +1060,8 @@ module Aws::TranscribeStreamingService
|
|
1060
1060
|
#
|
1061
1061
|
# The following parameters are required:
|
1062
1062
|
#
|
1063
|
-
# * `language-code` or `identify-language`
|
1063
|
+
# * `language-code` or `identify-language` or
|
1064
|
+
# `identify-multiple-language`
|
1064
1065
|
#
|
1065
1066
|
# * `media-encoding`
|
1066
1067
|
#
|
@@ -1306,7 +1307,8 @@ module Aws::TranscribeStreamingService
|
|
1306
1307
|
# channel.
|
1307
1308
|
#
|
1308
1309
|
# Note that you must include either `LanguageCode` or `IdentifyLanguage`
|
1309
|
-
# in your request. If you include
|
1310
|
+
# or `IdentifyMultipleLanguages` in your request. If you include more
|
1311
|
+
# than one of these parameters, your transcription job fails.
|
1310
1312
|
#
|
1311
1313
|
# Streaming language identification can't be combined with custom
|
1312
1314
|
# language models or redaction.
|
@@ -1340,6 +1342,26 @@ module Aws::TranscribeStreamingService
|
|
1340
1342
|
# You can only use this parameter if you've included `IdentifyLanguage`
|
1341
1343
|
# and `LanguageOptions` in your request.
|
1342
1344
|
#
|
1345
|
+
# @option params [Boolean] :identify_multiple_languages
|
1346
|
+
# Enables automatic multi-language identification in your transcription
|
1347
|
+
# job request. Use this parameter if your stream contains more than one
|
1348
|
+
# language. If your stream contains only one language, use
|
1349
|
+
# IdentifyLanguage instead.
|
1350
|
+
#
|
1351
|
+
# If you include `IdentifyMultipleLanguages`, you can optionally include
|
1352
|
+
# a list of language codes, using `LanguageOptions`, that you think may
|
1353
|
+
# be present in your stream. Including `LanguageOptions` restricts
|
1354
|
+
# `IdentifyMultipleLanguages` to only the language options that you
|
1355
|
+
# specify, which can improve transcription accuracy.
|
1356
|
+
#
|
1357
|
+
# If you want to apply a custom vocabulary or a custom vocabulary filter
|
1358
|
+
# to your automatic multiple language identification request, include
|
1359
|
+
# `VocabularyNames` or `VocabularyFilterNames`.
|
1360
|
+
#
|
1361
|
+
# Note that you must include one of `LanguageCode`, `IdentifyLanguage`,
|
1362
|
+
# or `IdentifyMultipleLanguages` in your request. If you include more
|
1363
|
+
# than one of these parameters, your transcription job fails.
|
1364
|
+
#
|
1343
1365
|
# @option params [String] :vocabulary_names
|
1344
1366
|
# Specify the names of the custom vocabularies that you want to use when
|
1345
1367
|
# processing your transcription. Note that vocabulary names are case
|
@@ -1403,6 +1425,7 @@ module Aws::TranscribeStreamingService
|
|
1403
1425
|
# * {Types::StartStreamTranscriptionResponse#identify_language #identify_language} => Boolean
|
1404
1426
|
# * {Types::StartStreamTranscriptionResponse#language_options #language_options} => String
|
1405
1427
|
# * {Types::StartStreamTranscriptionResponse#preferred_language #preferred_language} => String
|
1428
|
+
# * {Types::StartStreamTranscriptionResponse#identify_multiple_languages #identify_multiple_languages} => Boolean
|
1406
1429
|
# * {Types::StartStreamTranscriptionResponse#vocabulary_names #vocabulary_names} => String
|
1407
1430
|
# * {Types::StartStreamTranscriptionResponse#vocabulary_filter_names #vocabulary_filter_names} => String
|
1408
1431
|
#
|
@@ -1522,6 +1545,7 @@ module Aws::TranscribeStreamingService
|
|
1522
1545
|
# identify_language: false,
|
1523
1546
|
# language_options: "LanguageOptions",
|
1524
1547
|
# preferred_language: "en-US", # accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR, zh-CN, hi-IN, th-TH
|
1548
|
+
# identify_multiple_languages: false,
|
1525
1549
|
# vocabulary_names: "VocabularyNames",
|
1526
1550
|
# vocabulary_filter_names: "VocabularyFilterNames",
|
1527
1551
|
# })
|
@@ -1601,6 +1625,7 @@ module Aws::TranscribeStreamingService
|
|
1601
1625
|
# resp.identify_language #=> Boolean
|
1602
1626
|
# resp.language_options #=> String
|
1603
1627
|
# resp.preferred_language #=> String, one of "en-US", "en-GB", "es-US", "fr-CA", "fr-FR", "en-AU", "it-IT", "de-DE", "pt-BR", "ja-JP", "ko-KR", "zh-CN", "hi-IN", "th-TH"
|
1628
|
+
# resp.identify_multiple_languages #=> Boolean
|
1604
1629
|
# resp.vocabulary_names #=> String
|
1605
1630
|
# resp.vocabulary_filter_names #=> String
|
1606
1631
|
#
|
@@ -1647,7 +1672,7 @@ module Aws::TranscribeStreamingService
|
|
1647
1672
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
1648
1673
|
config: config)
|
1649
1674
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
1650
|
-
context[:gem_version] = '1.
|
1675
|
+
context[:gem_version] = '1.54.0'
|
1651
1676
|
Seahorse::Client::Request.new(handlers, context)
|
1652
1677
|
end
|
1653
1678
|
|
@@ -412,7 +412,7 @@ module Aws::TranscribeStreamingService
|
|
412
412
|
params: params,
|
413
413
|
config: config)
|
414
414
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
415
|
-
context[:gem_version] = '1.
|
415
|
+
context[:gem_version] = '1.54.0'
|
416
416
|
Seahorse::Client::Request.new(handlers, context)
|
417
417
|
end
|
418
418
|
|
@@ -378,6 +378,7 @@ module Aws::TranscribeStreamingService
|
|
378
378
|
StartStreamTranscriptionRequest.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-identify-language"))
|
379
379
|
StartStreamTranscriptionRequest.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location: "header", location_name: "x-amzn-transcribe-language-options"))
|
380
380
|
StartStreamTranscriptionRequest.add_member(:preferred_language, Shapes::ShapeRef.new(shape: LanguageCode, location: "header", location_name: "x-amzn-transcribe-preferred-language"))
|
381
|
+
StartStreamTranscriptionRequest.add_member(:identify_multiple_languages, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-identify-multiple-languages"))
|
381
382
|
StartStreamTranscriptionRequest.add_member(:vocabulary_names, Shapes::ShapeRef.new(shape: VocabularyNames, location: "header", location_name: "x-amzn-transcribe-vocabulary-names"))
|
382
383
|
StartStreamTranscriptionRequest.add_member(:vocabulary_filter_names, Shapes::ShapeRef.new(shape: VocabularyFilterNames, location: "header", location_name: "x-amzn-transcribe-vocabulary-filter-names"))
|
383
384
|
StartStreamTranscriptionRequest.struct_class = Types::StartStreamTranscriptionRequest
|
@@ -405,6 +406,7 @@ module Aws::TranscribeStreamingService
|
|
405
406
|
StartStreamTranscriptionResponse.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-identify-language"))
|
406
407
|
StartStreamTranscriptionResponse.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location: "header", location_name: "x-amzn-transcribe-language-options"))
|
407
408
|
StartStreamTranscriptionResponse.add_member(:preferred_language, Shapes::ShapeRef.new(shape: LanguageCode, location: "header", location_name: "x-amzn-transcribe-preferred-language"))
|
409
|
+
StartStreamTranscriptionResponse.add_member(:identify_multiple_languages, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-identify-multiple-languages"))
|
408
410
|
StartStreamTranscriptionResponse.add_member(:vocabulary_names, Shapes::ShapeRef.new(shape: VocabularyNames, location: "header", location_name: "x-amzn-transcribe-vocabulary-names"))
|
409
411
|
StartStreamTranscriptionResponse.add_member(:vocabulary_filter_names, Shapes::ShapeRef.new(shape: VocabularyFilterNames, location: "header", location_name: "x-amzn-transcribe-vocabulary-filter-names"))
|
410
412
|
StartStreamTranscriptionResponse.struct_class = Types::StartStreamTranscriptionResponse
|
@@ -32,7 +32,7 @@ module Aws::TranscribeStreamingService
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -1675,8 +1675,9 @@ module Aws::TranscribeStreamingService
|
|
1675
1675
|
# audio channel.
|
1676
1676
|
#
|
1677
1677
|
# Note that you must include either `LanguageCode` or
|
1678
|
-
# `IdentifyLanguage` in your request.
|
1679
|
-
# your
|
1678
|
+
# `IdentifyLanguage` or `IdentifyMultipleLanguages` in your request.
|
1679
|
+
# If you include more than one of these parameters, your transcription
|
1680
|
+
# job fails.
|
1680
1681
|
#
|
1681
1682
|
# Streaming language identification can't be combined with custom
|
1682
1683
|
# language models or redaction.
|
@@ -1714,6 +1715,28 @@ module Aws::TranscribeStreamingService
|
|
1714
1715
|
# `IdentifyLanguage` and `LanguageOptions` in your request.
|
1715
1716
|
# @return [String]
|
1716
1717
|
#
|
1718
|
+
# @!attribute [rw] identify_multiple_languages
|
1719
|
+
# Enables automatic multi-language identification in your
|
1720
|
+
# transcription job request. Use this parameter if your stream
|
1721
|
+
# contains more than one language. If your stream contains only one
|
1722
|
+
# language, use IdentifyLanguage instead.
|
1723
|
+
#
|
1724
|
+
# If you include `IdentifyMultipleLanguages`, you can optionally
|
1725
|
+
# include a list of language codes, using `LanguageOptions`, that you
|
1726
|
+
# think may be present in your stream. Including `LanguageOptions`
|
1727
|
+
# restricts `IdentifyMultipleLanguages` to only the language options
|
1728
|
+
# that you specify, which can improve transcription accuracy.
|
1729
|
+
#
|
1730
|
+
# If you want to apply a custom vocabulary or a custom vocabulary
|
1731
|
+
# filter to your automatic multiple language identification request,
|
1732
|
+
# include `VocabularyNames` or `VocabularyFilterNames`.
|
1733
|
+
#
|
1734
|
+
# Note that you must include one of `LanguageCode`,
|
1735
|
+
# `IdentifyLanguage`, or `IdentifyMultipleLanguages` in your request.
|
1736
|
+
# If you include more than one of these parameters, your transcription
|
1737
|
+
# job fails.
|
1738
|
+
# @return [Boolean]
|
1739
|
+
#
|
1717
1740
|
# @!attribute [rw] vocabulary_names
|
1718
1741
|
# Specify the names of the custom vocabularies that you want to use
|
1719
1742
|
# when processing your transcription. Note that vocabulary names are
|
@@ -1780,6 +1803,7 @@ module Aws::TranscribeStreamingService
|
|
1780
1803
|
:identify_language,
|
1781
1804
|
:language_options,
|
1782
1805
|
:preferred_language,
|
1806
|
+
:identify_multiple_languages,
|
1783
1807
|
:vocabulary_names,
|
1784
1808
|
:vocabulary_filter_names)
|
1785
1809
|
SENSITIVE = []
|
@@ -1878,6 +1902,11 @@ module Aws::TranscribeStreamingService
|
|
1878
1902
|
# Provides the preferred language that you specified in your request.
|
1879
1903
|
# @return [String]
|
1880
1904
|
#
|
1905
|
+
# @!attribute [rw] identify_multiple_languages
|
1906
|
+
# Shows whether automatic multi-language identification was enabled
|
1907
|
+
# for your transcription.
|
1908
|
+
# @return [Boolean]
|
1909
|
+
#
|
1881
1910
|
# @!attribute [rw] vocabulary_names
|
1882
1911
|
# Provides the names of the custom vocabularies that you specified in
|
1883
1912
|
# your request.
|
@@ -1912,6 +1941,7 @@ module Aws::TranscribeStreamingService
|
|
1912
1941
|
:identify_language,
|
1913
1942
|
:language_options,
|
1914
1943
|
:preferred_language,
|
1944
|
+
:identify_multiple_languages,
|
1915
1945
|
:vocabulary_names,
|
1916
1946
|
:vocabulary_filter_names)
|
1917
1947
|
SENSITIVE = []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-transcribestreamingservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.54.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: 2023-
|
11
|
+
date: 2023-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|