aws-sdk-transcribestreamingservice 1.39.0 → 1.42.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribestreamingservice/async_client.rb +56 -14
- data/lib/aws-sdk-transcribestreamingservice/client.rb +5 -1
- data/lib/aws-sdk-transcribestreamingservice/client_api.rb +6 -0
- data/lib/aws-sdk-transcribestreamingservice/types.rb +80 -28
- data/lib/aws-sdk-transcribestreamingservice.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: 6584e31351b0ac83d5b294ba62e3b28a9808aa355844ab409cb6dc4fea8b4975
|
4
|
+
data.tar.gz: de6551137336e4ec913ed02619faae6a42af4d0e473ecd45252891a26bfae349
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88f421c05150eaf15827793fe3b722719e0cc70b125dbada129a71eccbd6c24c211b7edb01e2395915b4fca95c5a9a50e2f12d9a9bd88b1c18fafccab93529f6
|
7
|
+
data.tar.gz: a829779ec423c2659333783050db8d5cc1e88476dfbbb0cbc3fe1d4ed42c605659a73ffc4128840fd227a9f1cbc268baf9442175033a1fc16d07ec2d25d123f0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.42.0 (2022-03-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Transcribe StartTranscription API now supports additional parameters for Language Identification feature: customVocabularies and customFilterVocabularies
|
8
|
+
|
9
|
+
1.41.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.40.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.39.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
@@ -23,7 +23,9 @@ require 'aws-sdk-core/plugins/stub_responses.rb'
|
|
23
23
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
24
24
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
25
25
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
26
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
26
27
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
28
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
27
29
|
require 'aws-sdk-core/plugins/invocation_id.rb'
|
28
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
29
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
@@ -53,7 +55,9 @@ module Aws::TranscribeStreamingService
|
|
53
55
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
54
56
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
55
57
|
add_plugin(Aws::Plugins::HttpChecksum)
|
58
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
56
59
|
add_plugin(Aws::Plugins::DefaultsMode)
|
60
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
57
61
|
add_plugin(Aws::Plugins::InvocationId)
|
58
62
|
add_plugin(Aws::Plugins::SignatureV4)
|
59
63
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
@@ -259,7 +263,9 @@ module Aws::TranscribeStreamingService
|
|
259
263
|
# Amazon Transcribe Medical, this is US English (en-US).
|
260
264
|
#
|
261
265
|
# @option params [required, Integer] :media_sample_rate_hertz
|
262
|
-
# The sample rate of the input audio in Hertz.
|
266
|
+
# The sample rate of the input audio (in Hertz). Amazon Transcribe
|
267
|
+
# medical supports a range from 16,000 Hz to 48,000 Hz. Note that the
|
268
|
+
# sample rate you specify must match that of your audio.
|
263
269
|
#
|
264
270
|
# @option params [required, String] :media_encoding
|
265
271
|
# The encoding used for the input audio.
|
@@ -543,16 +549,22 @@ module Aws::TranscribeStreamingService
|
|
543
549
|
# The language code of the input audio stream.
|
544
550
|
#
|
545
551
|
# @option params [required, Integer] :media_sample_rate_hertz
|
546
|
-
# The sample rate
|
547
|
-
#
|
548
|
-
#
|
552
|
+
# The sample rate of the input audio (in Hertz). Low-quality audio, such
|
553
|
+
# as telephone audio, is typically around 8,000 Hz. High-quality audio
|
554
|
+
# typically ranges from 16,000 Hz to 48,000 Hz. Note that the sample
|
555
|
+
# rate you specify must match that of your audio.
|
549
556
|
#
|
550
557
|
# @option params [required, String] :media_encoding
|
551
558
|
# The encoding used for the input audio.
|
552
559
|
#
|
553
560
|
# @option params [String] :vocabulary_name
|
554
|
-
# The name of the vocabulary to use
|
555
|
-
#
|
561
|
+
# The name of the custom vocabulary you want to use with your
|
562
|
+
# transcription.
|
563
|
+
#
|
564
|
+
# This operation is not intended for use in conjunction with the
|
565
|
+
# `IdentifyLanguage` operation. If you're using `IdentifyLanguage` in
|
566
|
+
# your request and want to use one or more custom vocabularies with your
|
567
|
+
# transcription, use the `VocabularyNames` operation instead.
|
556
568
|
#
|
557
569
|
# @option params [String] :session_id
|
558
570
|
# A identifier for the transcription session. Use this parameter when
|
@@ -561,9 +573,13 @@ module Aws::TranscribeStreamingService
|
|
561
573
|
# response.
|
562
574
|
#
|
563
575
|
# @option params [String] :vocabulary_filter_name
|
564
|
-
# The name of the vocabulary filter you
|
565
|
-
#
|
566
|
-
#
|
576
|
+
# The name of the vocabulary filter you want to use with your
|
577
|
+
# transcription.
|
578
|
+
#
|
579
|
+
# This operation is not intended for use in conjunction with the
|
580
|
+
# `IdentifyLanguage` operation. If you're using `IdentifyLanguage` in
|
581
|
+
# your request and want to use one or more vocabulary filters with your
|
582
|
+
# transcription, use the `VocabularyFilterNames` operation instead.
|
567
583
|
#
|
568
584
|
# @option params [String] :vocabulary_filter_method
|
569
585
|
# The manner in which you use your vocabulary filter to filter words in
|
@@ -584,10 +600,6 @@ module Aws::TranscribeStreamingService
|
|
584
600
|
# Amazon Transcribe also produces a transcription of each item. An item
|
585
601
|
# includes the start time, end time, and any alternative transcriptions.
|
586
602
|
#
|
587
|
-
# You can't set both `ShowSpeakerLabel` and
|
588
|
-
# `EnableChannelIdentification` in the same request. If you set both,
|
589
|
-
# your request returns a `BadRequestException`.
|
590
|
-
#
|
591
603
|
# @option params [Integer] :number_of_channels
|
592
604
|
# The number of channels that are in your audio stream.
|
593
605
|
#
|
@@ -663,6 +675,30 @@ module Aws::TranscribeStreamingService
|
|
663
675
|
# You can only use this parameter if you've set `IdentifyLanguage` to
|
664
676
|
# `true`in your request.
|
665
677
|
#
|
678
|
+
# @option params [String] :vocabulary_names
|
679
|
+
# The names of the custom vocabularies you want to use with your
|
680
|
+
# transcription.
|
681
|
+
#
|
682
|
+
# Note that if the custom vocabularies you specify are in languages that
|
683
|
+
# don't match the language identified in your media, your job fails.
|
684
|
+
#
|
685
|
+
# This operation is only intended for use in conjunction with the
|
686
|
+
# `IdentifyLanguage` operation. If you're not using `IdentifyLanguage`
|
687
|
+
# in your request and want to use a custom vocabulary with your
|
688
|
+
# transcription, use the `VocabularyName` operation instead.
|
689
|
+
#
|
690
|
+
# @option params [String] :vocabulary_filter_names
|
691
|
+
# The names of the vocabulary filters you want to use with your
|
692
|
+
# transcription.
|
693
|
+
#
|
694
|
+
# Note that if the vocabulary filters you specify are in languages that
|
695
|
+
# don't match the language identified in your media, your job fails.
|
696
|
+
#
|
697
|
+
# This operation is only intended for use in conjunction with the
|
698
|
+
# `IdentifyLanguage` operation. If you're not using `IdentifyLanguage`
|
699
|
+
# in your request and want to use a vocabulary filter with your
|
700
|
+
# transcription, use the `VocabularyFilterName` operation instead.
|
701
|
+
#
|
666
702
|
# @return [Types::StartStreamTranscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
667
703
|
#
|
668
704
|
# * {Types::StartStreamTranscriptionResponse#request_id #request_id} => String
|
@@ -686,6 +722,8 @@ module Aws::TranscribeStreamingService
|
|
686
722
|
# * {Types::StartStreamTranscriptionResponse#identify_language #identify_language} => Boolean
|
687
723
|
# * {Types::StartStreamTranscriptionResponse#language_options #language_options} => String
|
688
724
|
# * {Types::StartStreamTranscriptionResponse#preferred_language #preferred_language} => String
|
725
|
+
# * {Types::StartStreamTranscriptionResponse#vocabulary_names #vocabulary_names} => String
|
726
|
+
# * {Types::StartStreamTranscriptionResponse#vocabulary_filter_names #vocabulary_filter_names} => String
|
689
727
|
#
|
690
728
|
# @example Bi-directional EventStream Operation Example
|
691
729
|
#
|
@@ -802,6 +840,8 @@ module Aws::TranscribeStreamingService
|
|
802
840
|
# identify_language: false,
|
803
841
|
# language_options: "LanguageOptions",
|
804
842
|
# 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
|
843
|
+
# vocabulary_names: "VocabularyNames",
|
844
|
+
# vocabulary_filter_names: "VocabularyFilterNames",
|
805
845
|
# })
|
806
846
|
# # => Seahorse::Client::AsyncResponse
|
807
847
|
# async_resp.wait
|
@@ -879,6 +919,8 @@ module Aws::TranscribeStreamingService
|
|
879
919
|
# resp.identify_language #=> Boolean
|
880
920
|
# resp.language_options #=> String
|
881
921
|
# 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"
|
922
|
+
# resp.vocabulary_names #=> String
|
923
|
+
# resp.vocabulary_filter_names #=> String
|
882
924
|
#
|
883
925
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscription AWS API Documentation
|
884
926
|
#
|
@@ -923,7 +965,7 @@ module Aws::TranscribeStreamingService
|
|
923
965
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
924
966
|
config: config)
|
925
967
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
926
|
-
context[:gem_version] = '1.
|
968
|
+
context[:gem_version] = '1.42.0'
|
927
969
|
Seahorse::Client::Request.new(handlers, context)
|
928
970
|
end
|
929
971
|
|
@@ -27,7 +27,9 @@ 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/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
require 'aws-sdk-core/plugins/event_stream_configuration.rb'
|
@@ -75,7 +77,9 @@ module Aws::TranscribeStreamingService
|
|
75
77
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
80
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
81
|
add_plugin(Aws::Plugins::DefaultsMode)
|
82
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
79
83
|
add_plugin(Aws::Plugins::SignatureV4)
|
80
84
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
81
85
|
add_plugin(Aws::Plugins::EventStreamConfiguration)
|
@@ -371,7 +375,7 @@ module Aws::TranscribeStreamingService
|
|
371
375
|
params: params,
|
372
376
|
config: config)
|
373
377
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
374
|
-
context[:gem_version] = '1.
|
378
|
+
context[:gem_version] = '1.42.0'
|
375
379
|
Seahorse::Client::Request.new(handlers, context)
|
376
380
|
end
|
377
381
|
|
@@ -72,7 +72,9 @@ module Aws::TranscribeStreamingService
|
|
72
72
|
Type = Shapes::StringShape.new(name: 'Type')
|
73
73
|
VocabularyFilterMethod = Shapes::StringShape.new(name: 'VocabularyFilterMethod')
|
74
74
|
VocabularyFilterName = Shapes::StringShape.new(name: 'VocabularyFilterName')
|
75
|
+
VocabularyFilterNames = Shapes::StringShape.new(name: 'VocabularyFilterNames')
|
75
76
|
VocabularyName = Shapes::StringShape.new(name: 'VocabularyName')
|
77
|
+
VocabularyNames = Shapes::StringShape.new(name: 'VocabularyNames')
|
76
78
|
|
77
79
|
Alternative.add_member(:transcript, Shapes::ShapeRef.new(shape: String, location_name: "Transcript"))
|
78
80
|
Alternative.add_member(:items, Shapes::ShapeRef.new(shape: ItemList, location_name: "Items"))
|
@@ -245,6 +247,8 @@ module Aws::TranscribeStreamingService
|
|
245
247
|
StartStreamTranscriptionRequest.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-identify-language"))
|
246
248
|
StartStreamTranscriptionRequest.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location: "header", location_name: "x-amzn-transcribe-language-options"))
|
247
249
|
StartStreamTranscriptionRequest.add_member(:preferred_language, Shapes::ShapeRef.new(shape: LanguageCode, location: "header", location_name: "x-amzn-transcribe-preferred-language"))
|
250
|
+
StartStreamTranscriptionRequest.add_member(:vocabulary_names, Shapes::ShapeRef.new(shape: VocabularyNames, location: "header", location_name: "x-amzn-transcribe-vocabulary-names"))
|
251
|
+
StartStreamTranscriptionRequest.add_member(:vocabulary_filter_names, Shapes::ShapeRef.new(shape: VocabularyFilterNames, location: "header", location_name: "x-amzn-transcribe-vocabulary-filter-names"))
|
248
252
|
StartStreamTranscriptionRequest.struct_class = Types::StartStreamTranscriptionRequest
|
249
253
|
StartStreamTranscriptionRequest[:payload] = :audio_stream
|
250
254
|
StartStreamTranscriptionRequest[:payload_member] = StartStreamTranscriptionRequest.member(:audio_stream)
|
@@ -270,6 +274,8 @@ module Aws::TranscribeStreamingService
|
|
270
274
|
StartStreamTranscriptionResponse.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-identify-language"))
|
271
275
|
StartStreamTranscriptionResponse.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location: "header", location_name: "x-amzn-transcribe-language-options"))
|
272
276
|
StartStreamTranscriptionResponse.add_member(:preferred_language, Shapes::ShapeRef.new(shape: LanguageCode, location: "header", location_name: "x-amzn-transcribe-preferred-language"))
|
277
|
+
StartStreamTranscriptionResponse.add_member(:vocabulary_names, Shapes::ShapeRef.new(shape: VocabularyNames, location: "header", location_name: "x-amzn-transcribe-vocabulary-names"))
|
278
|
+
StartStreamTranscriptionResponse.add_member(:vocabulary_filter_names, Shapes::ShapeRef.new(shape: VocabularyFilterNames, location: "header", location_name: "x-amzn-transcribe-vocabulary-filter-names"))
|
273
279
|
StartStreamTranscriptionResponse.struct_class = Types::StartStreamTranscriptionResponse
|
274
280
|
StartStreamTranscriptionResponse[:payload] = :transcript_result_stream
|
275
281
|
StartStreamTranscriptionResponse[:payload_member] = StartStreamTranscriptionResponse.member(:transcript_result_stream)
|
@@ -567,7 +567,9 @@ module Aws::TranscribeStreamingService
|
|
567
567
|
# @return [String]
|
568
568
|
#
|
569
569
|
# @!attribute [rw] media_sample_rate_hertz
|
570
|
-
# The sample rate of the input audio in Hertz.
|
570
|
+
# The sample rate of the input audio (in Hertz). Amazon Transcribe
|
571
|
+
# medical supports a range from 16,000 Hz to 48,000 Hz. Note that the
|
572
|
+
# sample rate you specify must match that of your audio.
|
571
573
|
# @return [Integer]
|
572
574
|
#
|
573
575
|
# @!attribute [rw] media_encoding
|
@@ -657,7 +659,7 @@ module Aws::TranscribeStreamingService
|
|
657
659
|
# @return [String]
|
658
660
|
#
|
659
661
|
# @!attribute [rw] media_sample_rate_hertz
|
660
|
-
# The sample rate of the input audio in Hertz.
|
662
|
+
# The sample rate of the input audio, in Hertz (Hz).
|
661
663
|
# @return [Integer]
|
662
664
|
#
|
663
665
|
# @!attribute [rw] media_encoding
|
@@ -748,6 +750,8 @@ module Aws::TranscribeStreamingService
|
|
748
750
|
# identify_language: false,
|
749
751
|
# language_options: "LanguageOptions",
|
750
752
|
# 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
|
753
|
+
# vocabulary_names: "VocabularyNames",
|
754
|
+
# vocabulary_filter_names: "VocabularyFilterNames",
|
751
755
|
# }
|
752
756
|
#
|
753
757
|
# @!attribute [rw] language_code
|
@@ -755,9 +759,10 @@ module Aws::TranscribeStreamingService
|
|
755
759
|
# @return [String]
|
756
760
|
#
|
757
761
|
# @!attribute [rw] media_sample_rate_hertz
|
758
|
-
# The sample rate
|
759
|
-
#
|
760
|
-
#
|
762
|
+
# The sample rate of the input audio (in Hertz). Low-quality audio,
|
763
|
+
# such as telephone audio, is typically around 8,000 Hz. High-quality
|
764
|
+
# audio typically ranges from 16,000 Hz to 48,000 Hz. Note that the
|
765
|
+
# sample rate you specify must match that of your audio.
|
761
766
|
# @return [Integer]
|
762
767
|
#
|
763
768
|
# @!attribute [rw] media_encoding
|
@@ -765,8 +770,13 @@ module Aws::TranscribeStreamingService
|
|
765
770
|
# @return [String]
|
766
771
|
#
|
767
772
|
# @!attribute [rw] vocabulary_name
|
768
|
-
# The name of the vocabulary to use
|
769
|
-
#
|
773
|
+
# The name of the custom vocabulary you want to use with your
|
774
|
+
# transcription.
|
775
|
+
#
|
776
|
+
# This operation is not intended for use in conjunction with the
|
777
|
+
# `IdentifyLanguage` operation. If you're using `IdentifyLanguage` in
|
778
|
+
# your request and want to use one or more custom vocabularies with
|
779
|
+
# your transcription, use the `VocabularyNames` operation instead.
|
770
780
|
# @return [String]
|
771
781
|
#
|
772
782
|
# @!attribute [rw] session_id
|
@@ -782,9 +792,14 @@ module Aws::TranscribeStreamingService
|
|
782
792
|
# @return [Types::AudioStream]
|
783
793
|
#
|
784
794
|
# @!attribute [rw] vocabulary_filter_name
|
785
|
-
# The name of the vocabulary filter you
|
786
|
-
#
|
787
|
-
#
|
795
|
+
# The name of the vocabulary filter you want to use with your
|
796
|
+
# transcription.
|
797
|
+
#
|
798
|
+
# This operation is not intended for use in conjunction with the
|
799
|
+
# `IdentifyLanguage` operation. If you're using `IdentifyLanguage` in
|
800
|
+
# your request and want to use one or more vocabulary filters with
|
801
|
+
# your transcription, use the `VocabularyFilterNames` operation
|
802
|
+
# instead.
|
788
803
|
# @return [String]
|
789
804
|
#
|
790
805
|
# @!attribute [rw] vocabulary_filter_method
|
@@ -808,10 +823,6 @@ module Aws::TranscribeStreamingService
|
|
808
823
|
# Amazon Transcribe also produces a transcription of each item. An
|
809
824
|
# item includes the start time, end time, and any alternative
|
810
825
|
# transcriptions.
|
811
|
-
#
|
812
|
-
# You can't set both `ShowSpeakerLabel` and
|
813
|
-
# `EnableChannelIdentification` in the same request. If you set both,
|
814
|
-
# your request returns a `BadRequestException`.
|
815
826
|
# @return [Boolean]
|
816
827
|
#
|
817
828
|
# @!attribute [rw] number_of_channels
|
@@ -901,6 +912,36 @@ module Aws::TranscribeStreamingService
|
|
901
912
|
# `true`in your request.
|
902
913
|
# @return [String]
|
903
914
|
#
|
915
|
+
# @!attribute [rw] vocabulary_names
|
916
|
+
# The names of the custom vocabularies you want to use with your
|
917
|
+
# transcription.
|
918
|
+
#
|
919
|
+
# Note that if the custom vocabularies you specify are in languages
|
920
|
+
# that don't match the language identified in your media, your job
|
921
|
+
# fails.
|
922
|
+
#
|
923
|
+
# This operation is only intended for use in conjunction with the
|
924
|
+
# `IdentifyLanguage` operation. If you're not using
|
925
|
+
# `IdentifyLanguage` in your request and want to use a custom
|
926
|
+
# vocabulary with your transcription, use the `VocabularyName`
|
927
|
+
# operation instead.
|
928
|
+
# @return [String]
|
929
|
+
#
|
930
|
+
# @!attribute [rw] vocabulary_filter_names
|
931
|
+
# The names of the vocabulary filters you want to use with your
|
932
|
+
# transcription.
|
933
|
+
#
|
934
|
+
# Note that if the vocabulary filters you specify are in languages
|
935
|
+
# that don't match the language identified in your media, your job
|
936
|
+
# fails.
|
937
|
+
#
|
938
|
+
# This operation is only intended for use in conjunction with the
|
939
|
+
# `IdentifyLanguage` operation. If you're not using
|
940
|
+
# `IdentifyLanguage` in your request and want to use a vocabulary
|
941
|
+
# filter with your transcription, use the `VocabularyFilterName`
|
942
|
+
# operation instead.
|
943
|
+
# @return [String]
|
944
|
+
#
|
904
945
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscriptionRequest AWS API Documentation
|
905
946
|
#
|
906
947
|
class StartStreamTranscriptionRequest < Struct.new(
|
@@ -923,13 +964,15 @@ module Aws::TranscribeStreamingService
|
|
923
964
|
:language_model_name,
|
924
965
|
:identify_language,
|
925
966
|
:language_options,
|
926
|
-
:preferred_language
|
967
|
+
:preferred_language,
|
968
|
+
:vocabulary_names,
|
969
|
+
:vocabulary_filter_names)
|
927
970
|
SENSITIVE = []
|
928
971
|
include Aws::Structure
|
929
972
|
end
|
930
973
|
|
931
974
|
# @!attribute [rw] request_id
|
932
|
-
# An identifier for the
|
975
|
+
# An identifier for the transcription.
|
933
976
|
# @return [String]
|
934
977
|
#
|
935
978
|
# @!attribute [rw] language_code
|
@@ -937,9 +980,7 @@ module Aws::TranscribeStreamingService
|
|
937
980
|
# @return [String]
|
938
981
|
#
|
939
982
|
# @!attribute [rw] media_sample_rate_hertz
|
940
|
-
# The sample rate, in Hertz (Hz), for the input audio stream.
|
941
|
-
# 8,000 Hz for low quality audio and 16,000 Hz or higher for high
|
942
|
-
# quality audio.
|
983
|
+
# The sample rate, in Hertz (Hz), for the input audio stream.
|
943
984
|
# @return [Integer]
|
944
985
|
#
|
945
986
|
# @!attribute [rw] media_encoding
|
@@ -947,7 +988,7 @@ module Aws::TranscribeStreamingService
|
|
947
988
|
# @return [String]
|
948
989
|
#
|
949
990
|
# @!attribute [rw] vocabulary_name
|
950
|
-
# The name of the vocabulary used when processing the stream.
|
991
|
+
# The name of the custom vocabulary used when processing the stream.
|
951
992
|
# @return [String]
|
952
993
|
#
|
953
994
|
# @!attribute [rw] session_id
|
@@ -960,19 +1001,20 @@ module Aws::TranscribeStreamingService
|
|
960
1001
|
# @return [Types::TranscriptResultStream]
|
961
1002
|
#
|
962
1003
|
# @!attribute [rw] vocabulary_filter_name
|
963
|
-
# The name of the vocabulary filter used
|
1004
|
+
# The name of the vocabulary filter used when processing the stream.
|
964
1005
|
# @return [String]
|
965
1006
|
#
|
966
1007
|
# @!attribute [rw] vocabulary_filter_method
|
967
|
-
# The vocabulary filtering method used
|
1008
|
+
# The vocabulary filtering method used when processing the stream.
|
968
1009
|
# @return [String]
|
969
1010
|
#
|
970
1011
|
# @!attribute [rw] show_speaker_label
|
971
|
-
# Shows whether speaker identification was enabled in the
|
1012
|
+
# Shows whether speaker identification was enabled in the
|
1013
|
+
# transcription.
|
972
1014
|
# @return [Boolean]
|
973
1015
|
#
|
974
1016
|
# @!attribute [rw] enable_channel_identification
|
975
|
-
# Shows whether channel identification
|
1017
|
+
# Shows whether channel identification was enabled in the stream.
|
976
1018
|
# @return [Boolean]
|
977
1019
|
#
|
978
1020
|
# @!attribute [rw] number_of_channels
|
@@ -980,8 +1022,8 @@ module Aws::TranscribeStreamingService
|
|
980
1022
|
# @return [Integer]
|
981
1023
|
#
|
982
1024
|
# @!attribute [rw] enable_partial_results_stabilization
|
983
|
-
# Shows whether partial results stabilization
|
984
|
-
#
|
1025
|
+
# Shows whether partial results stabilization was enabled in the
|
1026
|
+
# transcription.
|
985
1027
|
# @return [Boolean]
|
986
1028
|
#
|
987
1029
|
# @!attribute [rw] partial_results_stability
|
@@ -1002,7 +1044,7 @@ module Aws::TranscribeStreamingService
|
|
1002
1044
|
# @return [String]
|
1003
1045
|
#
|
1004
1046
|
# @!attribute [rw] language_model_name
|
1005
|
-
# The name of the language model used in
|
1047
|
+
# The name of the custom language model used in the transcription.
|
1006
1048
|
# @return [String]
|
1007
1049
|
#
|
1008
1050
|
# @!attribute [rw] identify_language
|
@@ -1018,6 +1060,14 @@ module Aws::TranscribeStreamingService
|
|
1018
1060
|
# The preferred language you specified in your request.
|
1019
1061
|
# @return [String]
|
1020
1062
|
#
|
1063
|
+
# @!attribute [rw] vocabulary_names
|
1064
|
+
# The name of the custom vocabulary used when processing the stream.
|
1065
|
+
# @return [String]
|
1066
|
+
#
|
1067
|
+
# @!attribute [rw] vocabulary_filter_names
|
1068
|
+
# The name of the vocabulary filter used when processing the stream.
|
1069
|
+
# @return [String]
|
1070
|
+
#
|
1021
1071
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscriptionResponse AWS API Documentation
|
1022
1072
|
#
|
1023
1073
|
class StartStreamTranscriptionResponse < Struct.new(
|
@@ -1041,7 +1091,9 @@ module Aws::TranscribeStreamingService
|
|
1041
1091
|
:language_model_name,
|
1042
1092
|
:identify_language,
|
1043
1093
|
:language_options,
|
1044
|
-
:preferred_language
|
1094
|
+
:preferred_language,
|
1095
|
+
:vocabulary_names,
|
1096
|
+
:vocabulary_filter_names)
|
1045
1097
|
SENSITIVE = []
|
1046
1098
|
include Aws::Structure
|
1047
1099
|
end
|
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.42.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-03-11 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.127.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.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|