aws-sdk-transcribestreamingservice 1.28.0 → 1.31.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 +21 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribestreamingservice.rb +1 -1
- data/lib/aws-sdk-transcribestreamingservice/async_client.rb +21 -3
- data/lib/aws-sdk-transcribestreamingservice/client.rb +1 -1
- data/lib/aws-sdk-transcribestreamingservice/client_api.rb +7 -0
- data/lib/aws-sdk-transcribestreamingservice/types.rb +42 -3
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad9999d142555e99e42cd1e24ee7e7503906ac84762f903572ee9eaf32b720db
|
4
|
+
data.tar.gz: 7c4295edd021769d42428886f04c1c2071abfce6e399e122c3bc8676854ee3a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f43900528e6a6b20c9dfe1e7f7f7a3b1fda1fd24d852c067611fdb93c485997cef2ae7b0a241b59bf508cd465c3c308815a1708218e7e0586af721bfd220af11
|
7
|
+
data.tar.gz: 8a999e7638b7191c7a47b768ef504f78d095a80b572dd3b489c7c0016678875dc0180e785ff321ed448dc74bbf91a557163c433f576a398c464ec64a797189b1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.31.0 (2021-07-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.30.0 (2021-07-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.29.1 (2021-07-14)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Issue - Remove `content-length` header from `AsyncClient`.
|
18
|
+
|
19
|
+
1.29.0 (2021-05-11)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Amazon Transcribe supports partial results stabilization for streaming transcription.
|
23
|
+
|
4
24
|
1.28.0 (2021-03-15)
|
5
25
|
------------------
|
6
26
|
|
@@ -155,4 +175,4 @@ Unreleased Changes
|
|
155
175
|
1.0.0 (2019-03-21)
|
156
176
|
------------------
|
157
177
|
|
158
|
-
* Feature - Initial release of `aws-sdk-transcribestreamingservice`.
|
178
|
+
* Feature - Initial release of `aws-sdk-transcribestreamingservice`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
@@ -12,7 +12,6 @@ if RUBY_VERSION >= '2.1'
|
|
12
12
|
require 'http/2'
|
13
13
|
rescue LoadError; end
|
14
14
|
end
|
15
|
-
require 'seahorse/client/plugins/content_length.rb'
|
16
15
|
require 'aws-sdk-core/plugins/credentials_configuration.rb'
|
17
16
|
require 'aws-sdk-core/plugins/logging.rb'
|
18
17
|
require 'aws-sdk-core/plugins/param_converter.rb'
|
@@ -42,7 +41,6 @@ module Aws::TranscribeStreamingService
|
|
42
41
|
|
43
42
|
set_api(ClientApi::API)
|
44
43
|
|
45
|
-
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
46
44
|
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
47
45
|
add_plugin(Aws::Plugins::Logging)
|
48
46
|
add_plugin(Aws::Plugins::ParamConverter)
|
@@ -572,6 +570,19 @@ module Aws::TranscribeStreamingService
|
|
572
570
|
# @option params [Integer] :number_of_channels
|
573
571
|
# The number of channels that are in your audio stream.
|
574
572
|
#
|
573
|
+
# @option params [Boolean] :enable_partial_results_stabilization
|
574
|
+
# When `true`, instructs Amazon Transcribe to present transcription
|
575
|
+
# results that have the partial results stabilized. Normally, any word
|
576
|
+
# or phrase from one partial result can change in a subsequent partial
|
577
|
+
# result. With partial results stabilization enabled, only the last few
|
578
|
+
# words of one partial result can change in another partial result.
|
579
|
+
#
|
580
|
+
# @option params [String] :partial_results_stability
|
581
|
+
# You can use this field to set the stability level of the transcription
|
582
|
+
# results. A higher stability level means that the transcription results
|
583
|
+
# are less likely to change. Higher stability levels can come with lower
|
584
|
+
# overall transcription accuracy.
|
585
|
+
#
|
575
586
|
# @return [Types::StartStreamTranscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
576
587
|
#
|
577
588
|
# * {Types::StartStreamTranscriptionResponse#request_id #request_id} => String
|
@@ -586,6 +597,8 @@ module Aws::TranscribeStreamingService
|
|
586
597
|
# * {Types::StartStreamTranscriptionResponse#show_speaker_label #show_speaker_label} => Boolean
|
587
598
|
# * {Types::StartStreamTranscriptionResponse#enable_channel_identification #enable_channel_identification} => Boolean
|
588
599
|
# * {Types::StartStreamTranscriptionResponse#number_of_channels #number_of_channels} => Integer
|
600
|
+
# * {Types::StartStreamTranscriptionResponse#enable_partial_results_stabilization #enable_partial_results_stabilization} => Boolean
|
601
|
+
# * {Types::StartStreamTranscriptionResponse#partial_results_stability #partial_results_stability} => String
|
589
602
|
#
|
590
603
|
# @example Bi-directional EventStream Operation Example
|
591
604
|
#
|
@@ -693,6 +706,8 @@ module Aws::TranscribeStreamingService
|
|
693
706
|
# show_speaker_label: false,
|
694
707
|
# enable_channel_identification: false,
|
695
708
|
# number_of_channels: 1,
|
709
|
+
# enable_partial_results_stabilization: false,
|
710
|
+
# partial_results_stability: "high", # accepts high, medium, low
|
696
711
|
# })
|
697
712
|
# # => Seahorse::Client::AsyncResponse
|
698
713
|
# async_resp.wait
|
@@ -727,6 +742,7 @@ module Aws::TranscribeStreamingService
|
|
727
742
|
# event.transcript.results[0].alternatives[0].items[0].vocabulary_filter_match #=> Boolean
|
728
743
|
# event.transcript.results[0].alternatives[0].items[0].speaker #=> String
|
729
744
|
# event.transcript.results[0].alternatives[0].items[0].confidence #=> Float
|
745
|
+
# event.transcript.results[0].alternatives[0].items[0].stable #=> Boolean
|
730
746
|
# event.transcript.results[0].channel_id #=> String
|
731
747
|
#
|
732
748
|
# For :bad_request_exception event available at #on_bad_request_exception_event callback and response eventstream enumerator:
|
@@ -749,6 +765,8 @@ module Aws::TranscribeStreamingService
|
|
749
765
|
# resp.show_speaker_label #=> Boolean
|
750
766
|
# resp.enable_channel_identification #=> Boolean
|
751
767
|
# resp.number_of_channels #=> Integer
|
768
|
+
# resp.enable_partial_results_stabilization #=> Boolean
|
769
|
+
# resp.partial_results_stability #=> String, one of "high", "medium", "low"
|
752
770
|
#
|
753
771
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscription AWS API Documentation
|
754
772
|
#
|
@@ -793,7 +811,7 @@ module Aws::TranscribeStreamingService
|
|
793
811
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
794
812
|
config: config)
|
795
813
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
796
|
-
context[:gem_version] = '1.
|
814
|
+
context[:gem_version] = '1.31.0'
|
797
815
|
Seahorse::Client::Request.new(handlers, context)
|
798
816
|
end
|
799
817
|
|
@@ -351,7 +351,7 @@ module Aws::TranscribeStreamingService
|
|
351
351
|
params: params,
|
352
352
|
config: config)
|
353
353
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
354
|
-
context[:gem_version] = '1.
|
354
|
+
context[:gem_version] = '1.31.0'
|
355
355
|
Seahorse::Client::Request.new(handlers, context)
|
356
356
|
end
|
357
357
|
|
@@ -44,12 +44,14 @@ module Aws::TranscribeStreamingService
|
|
44
44
|
MedicalTranscriptEvent = Shapes::StructureShape.new(name: 'MedicalTranscriptEvent')
|
45
45
|
MedicalTranscriptResultStream = Shapes::StructureShape.new(name: 'MedicalTranscriptResultStream')
|
46
46
|
NumberOfChannels = Shapes::IntegerShape.new(name: 'NumberOfChannels')
|
47
|
+
PartialResultsStability = Shapes::StringShape.new(name: 'PartialResultsStability')
|
47
48
|
RequestId = Shapes::StringShape.new(name: 'RequestId')
|
48
49
|
Result = Shapes::StructureShape.new(name: 'Result')
|
49
50
|
ResultList = Shapes::ListShape.new(name: 'ResultList')
|
50
51
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
51
52
|
SessionId = Shapes::StringShape.new(name: 'SessionId')
|
52
53
|
Specialty = Shapes::StringShape.new(name: 'Specialty')
|
54
|
+
Stable = Shapes::BooleanShape.new(name: 'Stable')
|
53
55
|
StartMedicalStreamTranscriptionRequest = Shapes::StructureShape.new(name: 'StartMedicalStreamTranscriptionRequest')
|
54
56
|
StartMedicalStreamTranscriptionResponse = Shapes::StructureShape.new(name: 'StartMedicalStreamTranscriptionResponse')
|
55
57
|
StartStreamTranscriptionRequest = Shapes::StructureShape.new(name: 'StartStreamTranscriptionRequest')
|
@@ -91,6 +93,7 @@ module Aws::TranscribeStreamingService
|
|
91
93
|
Item.add_member(:vocabulary_filter_match, Shapes::ShapeRef.new(shape: Boolean, location_name: "VocabularyFilterMatch"))
|
92
94
|
Item.add_member(:speaker, Shapes::ShapeRef.new(shape: String, location_name: "Speaker"))
|
93
95
|
Item.add_member(:confidence, Shapes::ShapeRef.new(shape: Confidence, location_name: "Confidence"))
|
96
|
+
Item.add_member(:stable, Shapes::ShapeRef.new(shape: Stable, location_name: "Stable"))
|
94
97
|
Item.struct_class = Types::Item
|
95
98
|
|
96
99
|
ItemList.member = Shapes::ShapeRef.new(shape: Item)
|
@@ -205,6 +208,8 @@ module Aws::TranscribeStreamingService
|
|
205
208
|
StartStreamTranscriptionRequest.add_member(:show_speaker_label, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-show-speaker-label"))
|
206
209
|
StartStreamTranscriptionRequest.add_member(:enable_channel_identification, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-enable-channel-identification"))
|
207
210
|
StartStreamTranscriptionRequest.add_member(:number_of_channels, Shapes::ShapeRef.new(shape: NumberOfChannels, location: "header", location_name: "x-amzn-transcribe-number-of-channels"))
|
211
|
+
StartStreamTranscriptionRequest.add_member(:enable_partial_results_stabilization, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-enable-partial-results-stabilization"))
|
212
|
+
StartStreamTranscriptionRequest.add_member(:partial_results_stability, Shapes::ShapeRef.new(shape: PartialResultsStability, location: "header", location_name: "x-amzn-transcribe-partial-results-stability"))
|
208
213
|
StartStreamTranscriptionRequest.struct_class = Types::StartStreamTranscriptionRequest
|
209
214
|
StartStreamTranscriptionRequest[:payload] = :audio_stream
|
210
215
|
StartStreamTranscriptionRequest[:payload_member] = StartStreamTranscriptionRequest.member(:audio_stream)
|
@@ -221,6 +226,8 @@ module Aws::TranscribeStreamingService
|
|
221
226
|
StartStreamTranscriptionResponse.add_member(:show_speaker_label, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-show-speaker-label"))
|
222
227
|
StartStreamTranscriptionResponse.add_member(:enable_channel_identification, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-enable-channel-identification"))
|
223
228
|
StartStreamTranscriptionResponse.add_member(:number_of_channels, Shapes::ShapeRef.new(shape: NumberOfChannels, location: "header", location_name: "x-amzn-transcribe-number-of-channels"))
|
229
|
+
StartStreamTranscriptionResponse.add_member(:enable_partial_results_stabilization, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-enable-partial-results-stabilization"))
|
230
|
+
StartStreamTranscriptionResponse.add_member(:partial_results_stability, Shapes::ShapeRef.new(shape: PartialResultsStability, location: "header", location_name: "x-amzn-transcribe-partial-results-stability"))
|
224
231
|
StartStreamTranscriptionResponse.struct_class = Types::StartStreamTranscriptionResponse
|
225
232
|
StartStreamTranscriptionResponse[:payload] = :transcript_result_stream
|
226
233
|
StartStreamTranscriptionResponse[:payload_member] = StartStreamTranscriptionResponse.member(:transcript_result_stream)
|
@@ -145,6 +145,12 @@ module Aws::TranscribeStreamingService
|
|
145
145
|
# transcribes.
|
146
146
|
# @return [Float]
|
147
147
|
#
|
148
|
+
# @!attribute [rw] stable
|
149
|
+
# If partial result stabilization has been enabled, indicates whether
|
150
|
+
# the word or phrase in the item is stable. If `Stable` is `true`, the
|
151
|
+
# result is stable.
|
152
|
+
# @return [Boolean]
|
153
|
+
#
|
148
154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/Item AWS API Documentation
|
149
155
|
#
|
150
156
|
class Item < Struct.new(
|
@@ -154,7 +160,8 @@ module Aws::TranscribeStreamingService
|
|
154
160
|
:content,
|
155
161
|
:vocabulary_filter_match,
|
156
162
|
:speaker,
|
157
|
-
:confidence
|
163
|
+
:confidence,
|
164
|
+
:stable)
|
158
165
|
SENSITIVE = []
|
159
166
|
include Aws::Structure
|
160
167
|
end
|
@@ -644,6 +651,8 @@ module Aws::TranscribeStreamingService
|
|
644
651
|
# show_speaker_label: false,
|
645
652
|
# enable_channel_identification: false,
|
646
653
|
# number_of_channels: 1,
|
654
|
+
# enable_partial_results_stabilization: false,
|
655
|
+
# partial_results_stability: "high", # accepts high, medium, low
|
647
656
|
# }
|
648
657
|
#
|
649
658
|
# @!attribute [rw] language_code
|
@@ -715,6 +724,22 @@ module Aws::TranscribeStreamingService
|
|
715
724
|
# The number of channels that are in your audio stream.
|
716
725
|
# @return [Integer]
|
717
726
|
#
|
727
|
+
# @!attribute [rw] enable_partial_results_stabilization
|
728
|
+
# When `true`, instructs Amazon Transcribe to present transcription
|
729
|
+
# results that have the partial results stabilized. Normally, any word
|
730
|
+
# or phrase from one partial result can change in a subsequent partial
|
731
|
+
# result. With partial results stabilization enabled, only the last
|
732
|
+
# few words of one partial result can change in another partial
|
733
|
+
# result.
|
734
|
+
# @return [Boolean]
|
735
|
+
#
|
736
|
+
# @!attribute [rw] partial_results_stability
|
737
|
+
# You can use this field to set the stability level of the
|
738
|
+
# transcription results. A higher stability level means that the
|
739
|
+
# transcription results are less likely to change. Higher stability
|
740
|
+
# levels can come with lower overall transcription accuracy.
|
741
|
+
# @return [String]
|
742
|
+
#
|
718
743
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscriptionRequest AWS API Documentation
|
719
744
|
#
|
720
745
|
class StartStreamTranscriptionRequest < Struct.new(
|
@@ -728,7 +753,9 @@ module Aws::TranscribeStreamingService
|
|
728
753
|
:vocabulary_filter_method,
|
729
754
|
:show_speaker_label,
|
730
755
|
:enable_channel_identification,
|
731
|
-
:number_of_channels
|
756
|
+
:number_of_channels,
|
757
|
+
:enable_partial_results_stabilization,
|
758
|
+
:partial_results_stability)
|
732
759
|
SENSITIVE = []
|
733
760
|
include Aws::Structure
|
734
761
|
end
|
@@ -783,6 +810,16 @@ module Aws::TranscribeStreamingService
|
|
783
810
|
# The number of channels identified in the stream.
|
784
811
|
# @return [Integer]
|
785
812
|
#
|
813
|
+
# @!attribute [rw] enable_partial_results_stabilization
|
814
|
+
# Shows whether partial results stabilization has been enabled in the
|
815
|
+
# stream.
|
816
|
+
# @return [Boolean]
|
817
|
+
#
|
818
|
+
# @!attribute [rw] partial_results_stability
|
819
|
+
# If partial results stabilization has been enabled in the stream,
|
820
|
+
# shows the stability level.
|
821
|
+
# @return [String]
|
822
|
+
#
|
786
823
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscriptionResponse AWS API Documentation
|
787
824
|
#
|
788
825
|
class StartStreamTranscriptionResponse < Struct.new(
|
@@ -797,7 +834,9 @@ module Aws::TranscribeStreamingService
|
|
797
834
|
:vocabulary_filter_method,
|
798
835
|
:show_speaker_label,
|
799
836
|
:enable_channel_identification,
|
800
|
-
:number_of_channels
|
837
|
+
:number_of_channels,
|
838
|
+
:enable_partial_results_stabilization,
|
839
|
+
:partial_results_stability)
|
801
840
|
SENSITIVE = []
|
802
841
|
include Aws::Structure
|
803
842
|
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.31.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: 2021-
|
11
|
+
date: 2021-07-30 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.119.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.119.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,8 +68,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
68
68
|
licenses:
|
69
69
|
- Apache-2.0
|
70
70
|
metadata:
|
71
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
72
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
71
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-transcribestreamingservice
|
72
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-transcribestreamingservice/CHANGELOG.md
|
73
73
|
post_install_message:
|
74
74
|
rdoc_options: []
|
75
75
|
require_paths:
|
@@ -85,8 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
|
-
|
89
|
-
rubygems_version: 2.7.6.2
|
88
|
+
rubygems_version: 3.1.6
|
90
89
|
signing_key:
|
91
90
|
specification_version: 4
|
92
91
|
summary: AWS SDK for Ruby - Amazon Transcribe Streaming Service
|