aws-sdk-transcribestreamingservice 1.26.0 → 1.29.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6413d41941067a1fb874036db659c1c44e4cc4336c050579e9005c3e319b8fe
4
- data.tar.gz: c1392dfdf79b69d70917382ed2ba0c9a02927e13b5c120794102e23f7bc8a7b5
3
+ metadata.gz: a3b5d4cfaa51a687157a45c7b4cb86282228d0c2026bf18354154c28dccff8e2
4
+ data.tar.gz: 67069ad82e1d59cce01fb7a3b2ccfdc0fb9634c4cd5d8d9eabbc626ec4292786
5
5
  SHA512:
6
- metadata.gz: 695d7a4a9e815ef686d8e610991908b626cab3047ad599db777ecb0bd378d2c51687b575b531d7f57f6684b5b792308582bc334fc2c687f9740a3fd316e166b5
7
- data.tar.gz: e728d705704fa09500029c2bbbee0fa4c12f48467a832e532dd8644b0a002d95d2e6742915be45fab3acda4e23d55f234934669410f5e8544df63fb3473706bc
6
+ metadata.gz: d0ef9b633b10abdaa69bfc3c7b07f85804c323af12f23d272af43aac32620cfcfee5218f5a970efe83d5141a34cef0ce6698c9cd54d145e021ed1ce5d85585a6
7
+ data.tar.gz: 5cf0813c13e6b7762b5865be4665987544071dfe4074a6f32238a4fc84032fc49ebb37ff85a2de26c903c01cfaed405460fe4a76b31fde7e9fa9c77344768cae
data/CHANGELOG.md ADDED
@@ -0,0 +1,168 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.29.1 (2021-07-14)
5
+ ------------------
6
+
7
+ * Issue - Remove `content-length` header from `AsyncClient`.
8
+
9
+ 1.29.0 (2021-05-11)
10
+ ------------------
11
+
12
+ * Feature - Amazon Transcribe supports partial results stabilization for streaming transcription.
13
+
14
+ 1.28.0 (2021-03-15)
15
+ ------------------
16
+
17
+ * Feature - AWS Transcribe now supports real-time transcription for Chinese (zh-CN) and confidence scores in the transcription output.
18
+
19
+ 1.27.0 (2021-03-10)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.26.0 (2021-02-02)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.25.0 (2021-01-29)
30
+ ------------------
31
+
32
+ * Feature - Amazon Transcribe Streaming Medical now supports Protected Health Information (PHI) identification which enables you to identify PHI entities based on HIPAA Privacy Rule.
33
+
34
+ 1.24.0 (2020-11-24)
35
+ ------------------
36
+
37
+ * Feature - Amazon Transcribe Medical streaming added medical specialties and HTTP/2 support. Amazon Transcribe streaming supports additional languages. Both support OGG/OPUS and FLAC codecs for streaming.
38
+
39
+ 1.23.0 (2020-11-04)
40
+ ------------------
41
+
42
+ * Feature - With this release, Amazon Transcribe now supports real-time transcription from audio sources in Italian (it-IT) and German(de-DE).
43
+
44
+ 1.22.0 (2020-09-30)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.21.0 (2020-09-17)
50
+ ------------------
51
+
52
+ * Feature - Amazon Transcribe now supports channel identification in real-time streaming, which enables you to transcribe multi-channel streaming audio.
53
+
54
+ 1.20.0 (2020-09-15)
55
+ ------------------
56
+
57
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
58
+
59
+ 1.19.0 (2020-08-25)
60
+ ------------------
61
+
62
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
63
+
64
+ 1.18.0 (2020-08-19)
65
+ ------------------
66
+
67
+ * Feature - Amazon Transcribe and Amazon Transcribe Medical now enable you to identify different speakers in your real-time streams with speaker identification.
68
+
69
+ 1.17.0 (2020-06-23)
70
+ ------------------
71
+
72
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
73
+
74
+ 1.16.1 (2020-06-11)
75
+ ------------------
76
+
77
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
78
+
79
+ 1.16.0 (2020-06-10)
80
+ ------------------
81
+
82
+ * Issue - This version has been yanked. (#2327).
83
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
84
+
85
+ 1.15.0 (2020-05-28)
86
+ ------------------
87
+
88
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
89
+
90
+ 1.14.0 (2020-05-20)
91
+ ------------------
92
+
93
+ * Feature - This release adds support for vocabulary filtering in streaming with which you can filter unwanted words from the real-time transcription results. Visit https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html to learn more.
94
+
95
+ 1.13.0 (2020-05-07)
96
+ ------------------
97
+
98
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
99
+
100
+ 1.12.0 (2020-04-22)
101
+ ------------------
102
+
103
+ * Feature - Adding ServiceUnavailableException as one of the expected exceptions
104
+
105
+ 1.11.0 (2020-03-09)
106
+ ------------------
107
+
108
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
109
+
110
+ 1.10.0 (2019-10-25)
111
+ ------------------
112
+
113
+ * Feature - With this release, Amazon Transcribe Streaming now supports audio sources in Australian English (en-AU).
114
+
115
+ 1.9.0 (2019-10-23)
116
+ ------------------
117
+
118
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
119
+
120
+ 1.8.0 (2019-07-25)
121
+ ------------------
122
+
123
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
124
+
125
+ 1.7.0 (2019-07-01)
126
+ ------------------
127
+
128
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
129
+
130
+ 1.6.0 (2019-06-17)
131
+ ------------------
132
+
133
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
134
+
135
+ 1.5.0 (2019-05-21)
136
+ ------------------
137
+
138
+ * Feature - API update.
139
+
140
+ 1.4.0 (2019-05-15)
141
+ ------------------
142
+
143
+ * Feature - API update.
144
+
145
+ 1.3.0 (2019-05-14)
146
+ ------------------
147
+
148
+ * Feature - API update.
149
+
150
+ 1.2.0 (2019-04-18)
151
+ ------------------
152
+
153
+ * Feature - API update.
154
+
155
+ 1.1.0 (2019-04-05)
156
+ ------------------
157
+
158
+ * Feature - Amazon Transcribe now supports GB English, CA French and FR French which expands upon the existing language support for US English and US Spanish.
159
+
160
+ 1.0.1 (2019-03-26)
161
+ ------------------
162
+
163
+ * Issue - Remove debug message spam when `http-2` gem is not present.
164
+
165
+ 1.0.0 (2019-03-21)
166
+ ------------------
167
+
168
+ * Feature - Initial release of `aws-sdk-transcribestreamingservice`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.29.1
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-transcribestreamingservice/event_streams'
50
50
  # @!group service
51
51
  module Aws::TranscribeStreamingService
52
52
 
53
- GEM_VERSION = '1.26.0'
53
+ GEM_VERSION = '1.29.1'
54
54
 
55
55
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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)
@@ -403,7 +401,7 @@ module Aws::TranscribeStreamingService
403
401
  # @example Request syntax with placeholder values
404
402
  #
405
403
  # async_resp = async_client.start_medical_stream_transcription({
406
- # language_code: "en-US", # required, accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR
404
+ # language_code: "en-US", # required, 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
407
405
  # media_sample_rate_hertz: 1, # required
408
406
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
409
407
  # vocabulary_name: "VocabularyName",
@@ -424,7 +422,7 @@ module Aws::TranscribeStreamingService
424
422
  # @example Response structure
425
423
  #
426
424
  # resp.request_id #=> String
427
- # resp.language_code #=> 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"
425
+ # resp.language_code #=> 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"
428
426
  # resp.media_sample_rate_hertz #=> Integer
429
427
  # resp.media_encoding #=> String, one of "pcm", "ogg-opus", "flac"
430
428
  # resp.vocabulary_name #=> String
@@ -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
  #
@@ -682,7 +695,7 @@ module Aws::TranscribeStreamingService
682
695
  # @example Request syntax with placeholder values
683
696
  #
684
697
  # async_resp = async_client.start_stream_transcription({
685
- # language_code: "en-US", # required, accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR
698
+ # language_code: "en-US", # required, 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
686
699
  # media_sample_rate_hertz: 1, # required
687
700
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
688
701
  # vocabulary_name: "VocabularyName",
@@ -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
@@ -702,7 +717,7 @@ module Aws::TranscribeStreamingService
702
717
  # @example Response structure
703
718
  #
704
719
  # resp.request_id #=> String
705
- # resp.language_code #=> 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"
720
+ # resp.language_code #=> 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"
706
721
  # resp.media_sample_rate_hertz #=> Integer
707
722
  # resp.media_encoding #=> String, one of "pcm", "ogg-opus", "flac"
708
723
  # resp.vocabulary_name #=> String
@@ -726,6 +741,8 @@ module Aws::TranscribeStreamingService
726
741
  # event.transcript.results[0].alternatives[0].items[0].content #=> String
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
744
+ # event.transcript.results[0].alternatives[0].items[0].confidence #=> Float
745
+ # event.transcript.results[0].alternatives[0].items[0].stable #=> Boolean
729
746
  # event.transcript.results[0].channel_id #=> String
730
747
  #
731
748
  # For :bad_request_exception event available at #on_bad_request_exception_event callback and response eventstream enumerator:
@@ -748,6 +765,8 @@ module Aws::TranscribeStreamingService
748
765
  # resp.show_speaker_label #=> Boolean
749
766
  # resp.enable_channel_identification #=> Boolean
750
767
  # resp.number_of_channels #=> Integer
768
+ # resp.enable_partial_results_stabilization #=> Boolean
769
+ # resp.partial_results_stability #=> String, one of "high", "medium", "low"
751
770
  #
752
771
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscription AWS API Documentation
753
772
  #
@@ -792,7 +811,7 @@ module Aws::TranscribeStreamingService
792
811
  http_response: Seahorse::Client::Http::AsyncResponse.new,
793
812
  config: config)
794
813
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
795
- context[:gem_version] = '1.26.0'
814
+ context[:gem_version] = '1.29.1'
796
815
  Seahorse::Client::Request.new(handlers, context)
797
816
  end
798
817
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.26.0'
354
+ context[:gem_version] = '1.29.1'
355
355
  Seahorse::Client::Request.new(handlers, context)
356
356
  end
357
357
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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')
@@ -90,6 +92,8 @@ module Aws::TranscribeStreamingService
90
92
  Item.add_member(:content, Shapes::ShapeRef.new(shape: String, location_name: "Content"))
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"))
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"))
93
97
  Item.struct_class = Types::Item
94
98
 
95
99
  ItemList.member = Shapes::ShapeRef.new(shape: Item)
@@ -204,6 +208,8 @@ module Aws::TranscribeStreamingService
204
208
  StartStreamTranscriptionRequest.add_member(:show_speaker_label, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-show-speaker-label"))
205
209
  StartStreamTranscriptionRequest.add_member(:enable_channel_identification, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-enable-channel-identification"))
206
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"))
207
213
  StartStreamTranscriptionRequest.struct_class = Types::StartStreamTranscriptionRequest
208
214
  StartStreamTranscriptionRequest[:payload] = :audio_stream
209
215
  StartStreamTranscriptionRequest[:payload_member] = StartStreamTranscriptionRequest.member(:audio_stream)
@@ -220,6 +226,8 @@ module Aws::TranscribeStreamingService
220
226
  StartStreamTranscriptionResponse.add_member(:show_speaker_label, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-show-speaker-label"))
221
227
  StartStreamTranscriptionResponse.add_member(:enable_channel_identification, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-enable-channel-identification"))
222
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"))
223
231
  StartStreamTranscriptionResponse.struct_class = Types::StartStreamTranscriptionResponse
224
232
  StartStreamTranscriptionResponse[:payload] = :transcript_result_stream
225
233
  StartStreamTranscriptionResponse[:payload_member] = StartStreamTranscriptionResponse.member(:transcript_result_stream)
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -31,6 +31,10 @@ module Aws::TranscribeStreamingService
31
31
 
32
32
  # Provides a wrapper for the audio chunks that you are sending.
33
33
  #
34
+ # For information on audio encoding in Amazon Transcribe, see input. For
35
+ # information on audio encoding formats in Amazon Transcribe Medical,
36
+ # see input-med.
37
+ #
34
38
  # @note When making an API call, you may pass AudioEvent
35
39
  # data as a hash:
36
40
  #
@@ -101,7 +105,8 @@ module Aws::TranscribeStreamingService
101
105
  include Aws::Structure
102
106
  end
103
107
 
104
- # A word or phrase transcribed from the input audio.
108
+ # A word, phrase, or punctuation mark that is transcribed from the input
109
+ # audio.
105
110
  #
106
111
  # @!attribute [rw] start_time
107
112
  # The offset from the beginning of the audio stream to the beginning
@@ -134,6 +139,18 @@ module Aws::TranscribeStreamingService
134
139
  # in the real-time stream.
135
140
  # @return [String]
136
141
  #
142
+ # @!attribute [rw] confidence
143
+ # A value between 0 and 1 for an item that is a confidence score that
144
+ # Amazon Transcribe assigns to each word or phrase that it
145
+ # transcribes.
146
+ # @return [Float]
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
+ #
137
154
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/Item AWS API Documentation
138
155
  #
139
156
  class Item < Struct.new(
@@ -142,7 +159,9 @@ module Aws::TranscribeStreamingService
142
159
  :type,
143
160
  :content,
144
161
  :vocabulary_filter_match,
145
- :speaker)
162
+ :speaker,
163
+ :confidence,
164
+ :stable)
146
165
  SENSITIVE = []
147
166
  include Aws::Structure
148
167
  end
@@ -231,7 +250,8 @@ module Aws::TranscribeStreamingService
231
250
  include Aws::Structure
232
251
  end
233
252
 
234
- # A word or punctuation that is transcribed from the input audio.
253
+ # A word, phrase, or punctuation mark that is transcribed from the input
254
+ # audio.
235
255
  #
236
256
  # @!attribute [rw] start_time
237
257
  # The number of seconds into an audio stream that indicates the
@@ -438,7 +458,7 @@ module Aws::TranscribeStreamingService
438
458
  # data as a hash:
439
459
  #
440
460
  # {
441
- # language_code: "en-US", # required, accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR
461
+ # language_code: "en-US", # required, 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
442
462
  # media_sample_rate_hertz: 1, # required
443
463
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
444
464
  # vocabulary_name: "VocabularyName",
@@ -620,7 +640,7 @@ module Aws::TranscribeStreamingService
620
640
  # data as a hash:
621
641
  #
622
642
  # {
623
- # language_code: "en-US", # required, accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR
643
+ # language_code: "en-US", # required, 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
624
644
  # media_sample_rate_hertz: 1, # required
625
645
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
626
646
  # vocabulary_name: "VocabularyName",
@@ -631,6 +651,8 @@ module Aws::TranscribeStreamingService
631
651
  # show_speaker_label: false,
632
652
  # enable_channel_identification: false,
633
653
  # number_of_channels: 1,
654
+ # enable_partial_results_stabilization: false,
655
+ # partial_results_stability: "high", # accepts high, medium, low
634
656
  # }
635
657
  #
636
658
  # @!attribute [rw] language_code
@@ -702,6 +724,22 @@ module Aws::TranscribeStreamingService
702
724
  # The number of channels that are in your audio stream.
703
725
  # @return [Integer]
704
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
+ #
705
743
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscriptionRequest AWS API Documentation
706
744
  #
707
745
  class StartStreamTranscriptionRequest < Struct.new(
@@ -715,7 +753,9 @@ module Aws::TranscribeStreamingService
715
753
  :vocabulary_filter_method,
716
754
  :show_speaker_label,
717
755
  :enable_channel_identification,
718
- :number_of_channels)
756
+ :number_of_channels,
757
+ :enable_partial_results_stabilization,
758
+ :partial_results_stability)
719
759
  SENSITIVE = []
720
760
  include Aws::Structure
721
761
  end
@@ -770,6 +810,16 @@ module Aws::TranscribeStreamingService
770
810
  # The number of channels identified in the stream.
771
811
  # @return [Integer]
772
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
+ #
773
823
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscriptionResponse AWS API Documentation
774
824
  #
775
825
  class StartStreamTranscriptionResponse < Struct.new(
@@ -784,7 +834,9 @@ module Aws::TranscribeStreamingService
784
834
  :vocabulary_filter_method,
785
835
  :show_speaker_label,
786
836
  :enable_channel_identification,
787
- :number_of_channels)
837
+ :number_of_channels,
838
+ :enable_partial_results_stabilization,
839
+ :partial_results_stability)
788
840
  SENSITIVE = []
789
841
  include Aws::Structure
790
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.26.0
4
+ version: 1.29.1
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-02-02 00:00:00.000000000 Z
11
+ date: 2021-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for Amazon Transcribe Streaming Service. This gem
48
48
  is part of the AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-transcribestreamingservice.rb
56
59
  - lib/aws-sdk-transcribestreamingservice/async_client.rb
57
60
  - lib/aws-sdk-transcribestreamingservice/client.rb
@@ -65,8 +68,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
65
68
  licenses:
66
69
  - Apache-2.0
67
70
  metadata:
68
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-transcribestreamingservice
69
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-transcribestreamingservice/CHANGELOG.md
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
70
73
  post_install_message:
71
74
  rdoc_options: []
72
75
  require_paths:
@@ -82,8 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
85
  - !ruby/object:Gem::Version
83
86
  version: '0'
84
87
  requirements: []
85
- rubyforge_project:
86
- rubygems_version: 2.7.6.2
88
+ rubygems_version: 3.1.6
87
89
  signing_key:
88
90
  specification_version: 4
89
91
  summary: AWS SDK for Ruby - Amazon Transcribe Streaming Service