aws-sdk-transcribestreamingservice 1.41.0 → 1.42.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribestreamingservice/async_client.rb +52 -14
- data/lib/aws-sdk-transcribestreamingservice/client.rb +1 -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 +2 -2
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,11 @@
|
|
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
|
+
|
4
9
|
1.41.0 (2022-02-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
@@ -263,7 +263,9 @@ module Aws::TranscribeStreamingService
|
|
263
263
|
# Amazon Transcribe Medical, this is US English (en-US).
|
264
264
|
#
|
265
265
|
# @option params [required, Integer] :media_sample_rate_hertz
|
266
|
-
# 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.
|
267
269
|
#
|
268
270
|
# @option params [required, String] :media_encoding
|
269
271
|
# The encoding used for the input audio.
|
@@ -547,16 +549,22 @@ module Aws::TranscribeStreamingService
|
|
547
549
|
# The language code of the input audio stream.
|
548
550
|
#
|
549
551
|
# @option params [required, Integer] :media_sample_rate_hertz
|
550
|
-
# The sample rate
|
551
|
-
#
|
552
|
-
#
|
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.
|
553
556
|
#
|
554
557
|
# @option params [required, String] :media_encoding
|
555
558
|
# The encoding used for the input audio.
|
556
559
|
#
|
557
560
|
# @option params [String] :vocabulary_name
|
558
|
-
# The name of the vocabulary to use
|
559
|
-
#
|
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.
|
560
568
|
#
|
561
569
|
# @option params [String] :session_id
|
562
570
|
# A identifier for the transcription session. Use this parameter when
|
@@ -565,9 +573,13 @@ module Aws::TranscribeStreamingService
|
|
565
573
|
# response.
|
566
574
|
#
|
567
575
|
# @option params [String] :vocabulary_filter_name
|
568
|
-
# The name of the vocabulary filter you
|
569
|
-
#
|
570
|
-
#
|
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.
|
571
583
|
#
|
572
584
|
# @option params [String] :vocabulary_filter_method
|
573
585
|
# The manner in which you use your vocabulary filter to filter words in
|
@@ -588,10 +600,6 @@ module Aws::TranscribeStreamingService
|
|
588
600
|
# Amazon Transcribe also produces a transcription of each item. An item
|
589
601
|
# includes the start time, end time, and any alternative transcriptions.
|
590
602
|
#
|
591
|
-
# You can't set both `ShowSpeakerLabel` and
|
592
|
-
# `EnableChannelIdentification` in the same request. If you set both,
|
593
|
-
# your request returns a `BadRequestException`.
|
594
|
-
#
|
595
603
|
# @option params [Integer] :number_of_channels
|
596
604
|
# The number of channels that are in your audio stream.
|
597
605
|
#
|
@@ -667,6 +675,30 @@ module Aws::TranscribeStreamingService
|
|
667
675
|
# You can only use this parameter if you've set `IdentifyLanguage` to
|
668
676
|
# `true`in your request.
|
669
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
|
+
#
|
670
702
|
# @return [Types::StartStreamTranscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
671
703
|
#
|
672
704
|
# * {Types::StartStreamTranscriptionResponse#request_id #request_id} => String
|
@@ -690,6 +722,8 @@ module Aws::TranscribeStreamingService
|
|
690
722
|
# * {Types::StartStreamTranscriptionResponse#identify_language #identify_language} => Boolean
|
691
723
|
# * {Types::StartStreamTranscriptionResponse#language_options #language_options} => String
|
692
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
|
693
727
|
#
|
694
728
|
# @example Bi-directional EventStream Operation Example
|
695
729
|
#
|
@@ -806,6 +840,8 @@ module Aws::TranscribeStreamingService
|
|
806
840
|
# identify_language: false,
|
807
841
|
# language_options: "LanguageOptions",
|
808
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",
|
809
845
|
# })
|
810
846
|
# # => Seahorse::Client::AsyncResponse
|
811
847
|
# async_resp.wait
|
@@ -883,6 +919,8 @@ module Aws::TranscribeStreamingService
|
|
883
919
|
# resp.identify_language #=> Boolean
|
884
920
|
# resp.language_options #=> String
|
885
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
|
886
924
|
#
|
887
925
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscription AWS API Documentation
|
888
926
|
#
|
@@ -927,7 +965,7 @@ module Aws::TranscribeStreamingService
|
|
927
965
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
928
966
|
config: config)
|
929
967
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
930
|
-
context[:gem_version] = '1.
|
968
|
+
context[:gem_version] = '1.42.0'
|
931
969
|
Seahorse::Client::Request.new(handlers, context)
|
932
970
|
end
|
933
971
|
|
@@ -375,7 +375,7 @@ module Aws::TranscribeStreamingService
|
|
375
375
|
params: params,
|
376
376
|
config: config)
|
377
377
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
378
|
-
context[:gem_version] = '1.
|
378
|
+
context[:gem_version] = '1.42.0'
|
379
379
|
Seahorse::Client::Request.new(handlers, context)
|
380
380
|
end
|
381
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: 2022-
|
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
|