aws-sdk-transcribestreamingservice 1.24.0 → 1.29.0

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: 728ef1d0f1267f59a84f2f623af1875963689aadea2090675656dac21e9ac71b
4
- data.tar.gz: 62eeffcdb268c681bd31ff1d9ba171b127922956c4b6e1e4c3684c5d36169c41
3
+ metadata.gz: ab1bc6d3004e5760660539b8b283a9d312d182a91dd8a5c83a4efba1ccf1333b
4
+ data.tar.gz: 74053acacbe3857ea54716cad3ca1b4b42e3c3d7c900e342d37954e69bda3c1e
5
5
  SHA512:
6
- metadata.gz: 3d6679ae7783a568fc94d632999e9956a107de2d041f322e166995c6a18223c33aa2d5893461e750a4d68acbf1d8630569bb5fa040c11eb3c7bc46de37297ef2
7
- data.tar.gz: 4ba8a7960984cc65c2b9b4c380b10b874b81caca9faa716bbc7da0f6cf7a296aa6bacc787a58184d9095640d1646a80cbdf2c5d880247c8fb1694bec0f4f4336
6
+ metadata.gz: afc7be8799e8185db1b19f567f5cc8e03ea515409c542693e7de8fcff2727046deb3f37e637e59fddfd1cbd7ebfcafacc96b56b32544c94886d8c6e607d96d47
7
+ data.tar.gz: cb3bebee438b98e76502fdc917b671bf41e8db994d3eebde7bb42866b2e8907d08f19bdc7e3412e1b79cba11ceab147d47aa12838eca142874ccd12a9a38bc3e
data/CHANGELOG.md ADDED
@@ -0,0 +1,163 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.29.0 (2021-05-11)
5
+ ------------------
6
+
7
+ * Feature - Amazon Transcribe supports partial results stabilization for streaming transcription.
8
+
9
+ 1.28.0 (2021-03-15)
10
+ ------------------
11
+
12
+ * Feature - AWS Transcribe now supports real-time transcription for Chinese (zh-CN) and confidence scores in the transcription output.
13
+
14
+ 1.27.0 (2021-03-10)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.26.0 (2021-02-02)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.25.0 (2021-01-29)
25
+ ------------------
26
+
27
+ * Feature - Amazon Transcribe Streaming Medical now supports Protected Health Information (PHI) identification which enables you to identify PHI entities based on HIPAA Privacy Rule.
28
+
29
+ 1.24.0 (2020-11-24)
30
+ ------------------
31
+
32
+ * 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.
33
+
34
+ 1.23.0 (2020-11-04)
35
+ ------------------
36
+
37
+ * Feature - With this release, Amazon Transcribe now supports real-time transcription from audio sources in Italian (it-IT) and German(de-DE).
38
+
39
+ 1.22.0 (2020-09-30)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.21.0 (2020-09-17)
45
+ ------------------
46
+
47
+ * Feature - Amazon Transcribe now supports channel identification in real-time streaming, which enables you to transcribe multi-channel streaming audio.
48
+
49
+ 1.20.0 (2020-09-15)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.19.0 (2020-08-25)
55
+ ------------------
56
+
57
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
58
+
59
+ 1.18.0 (2020-08-19)
60
+ ------------------
61
+
62
+ * Feature - Amazon Transcribe and Amazon Transcribe Medical now enable you to identify different speakers in your real-time streams with speaker identification.
63
+
64
+ 1.17.0 (2020-06-23)
65
+ ------------------
66
+
67
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
68
+
69
+ 1.16.1 (2020-06-11)
70
+ ------------------
71
+
72
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
73
+
74
+ 1.16.0 (2020-06-10)
75
+ ------------------
76
+
77
+ * Issue - This version has been yanked. (#2327).
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.15.0 (2020-05-28)
81
+ ------------------
82
+
83
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
84
+
85
+ 1.14.0 (2020-05-20)
86
+ ------------------
87
+
88
+ * 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.
89
+
90
+ 1.13.0 (2020-05-07)
91
+ ------------------
92
+
93
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
94
+
95
+ 1.12.0 (2020-04-22)
96
+ ------------------
97
+
98
+ * Feature - Adding ServiceUnavailableException as one of the expected exceptions
99
+
100
+ 1.11.0 (2020-03-09)
101
+ ------------------
102
+
103
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
104
+
105
+ 1.10.0 (2019-10-25)
106
+ ------------------
107
+
108
+ * Feature - With this release, Amazon Transcribe Streaming now supports audio sources in Australian English (en-AU).
109
+
110
+ 1.9.0 (2019-10-23)
111
+ ------------------
112
+
113
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
114
+
115
+ 1.8.0 (2019-07-25)
116
+ ------------------
117
+
118
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
119
+
120
+ 1.7.0 (2019-07-01)
121
+ ------------------
122
+
123
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
124
+
125
+ 1.6.0 (2019-06-17)
126
+ ------------------
127
+
128
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
129
+
130
+ 1.5.0 (2019-05-21)
131
+ ------------------
132
+
133
+ * Feature - API update.
134
+
135
+ 1.4.0 (2019-05-15)
136
+ ------------------
137
+
138
+ * Feature - API update.
139
+
140
+ 1.3.0 (2019-05-14)
141
+ ------------------
142
+
143
+ * Feature - API update.
144
+
145
+ 1.2.0 (2019-04-18)
146
+ ------------------
147
+
148
+ * Feature - API update.
149
+
150
+ 1.1.0 (2019-04-05)
151
+ ------------------
152
+
153
+ * 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.
154
+
155
+ 1.0.1 (2019-03-26)
156
+ ------------------
157
+
158
+ * Issue - Remove debug message spam when `http-2` gem is not present.
159
+
160
+ 1.0.0 (2019-03-21)
161
+ ------------------
162
+
163
+ * 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.0
@@ -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.24.0'
53
+ GEM_VERSION = '1.29.0'
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
 
@@ -288,6 +288,10 @@ module Aws::TranscribeStreamingService
288
288
  # @option params [Integer] :number_of_channels
289
289
  # The number of channels that are in your audio stream.
290
290
  #
291
+ # @option params [String] :content_identification_type
292
+ # Set this field to `PHI` to identify personal health information in the
293
+ # transcription output.
294
+ #
291
295
  # @return [Types::StartMedicalStreamTranscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
292
296
  #
293
297
  # * {Types::StartMedicalStreamTranscriptionResponse#request_id #request_id} => String
@@ -302,6 +306,7 @@ module Aws::TranscribeStreamingService
302
306
  # * {Types::StartMedicalStreamTranscriptionResponse#transcript_result_stream #transcript_result_stream} => Types::MedicalTranscriptResultStream
303
307
  # * {Types::StartMedicalStreamTranscriptionResponse#enable_channel_identification #enable_channel_identification} => Boolean
304
308
  # * {Types::StartMedicalStreamTranscriptionResponse#number_of_channels #number_of_channels} => Integer
309
+ # * {Types::StartMedicalStreamTranscriptionResponse#content_identification_type #content_identification_type} => String
305
310
  #
306
311
  # @example Bi-directional EventStream Operation Example
307
312
  #
@@ -398,7 +403,7 @@ module Aws::TranscribeStreamingService
398
403
  # @example Request syntax with placeholder values
399
404
  #
400
405
  # async_resp = async_client.start_medical_stream_transcription({
401
- # 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
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, zh-CN
402
407
  # media_sample_rate_hertz: 1, # required
403
408
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
404
409
  # vocabulary_name: "VocabularyName",
@@ -409,6 +414,7 @@ module Aws::TranscribeStreamingService
409
414
  # input_event_stream_hander: EventStreams::AudioStream.new,
410
415
  # enable_channel_identification: false,
411
416
  # number_of_channels: 1,
417
+ # content_identification_type: "PHI", # accepts PHI
412
418
  # })
413
419
  # # => Seahorse::Client::AsyncResponse
414
420
  # async_resp.wait
@@ -418,7 +424,7 @@ module Aws::TranscribeStreamingService
418
424
  # @example Response structure
419
425
  #
420
426
  # resp.request_id #=> String
421
- # 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"
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", "zh-CN"
422
428
  # resp.media_sample_rate_hertz #=> Integer
423
429
  # resp.media_encoding #=> String, one of "pcm", "ogg-opus", "flac"
424
430
  # resp.vocabulary_name #=> String
@@ -445,6 +451,12 @@ module Aws::TranscribeStreamingService
445
451
  # event.transcript.results[0].alternatives[0].items[0].content #=> String
446
452
  # event.transcript.results[0].alternatives[0].items[0].confidence #=> Float
447
453
  # event.transcript.results[0].alternatives[0].items[0].speaker #=> String
454
+ # event.transcript.results[0].alternatives[0].entities #=> Array
455
+ # event.transcript.results[0].alternatives[0].entities[0].start_time #=> Float
456
+ # event.transcript.results[0].alternatives[0].entities[0].end_time #=> Float
457
+ # event.transcript.results[0].alternatives[0].entities[0].category #=> String
458
+ # event.transcript.results[0].alternatives[0].entities[0].content #=> String
459
+ # event.transcript.results[0].alternatives[0].entities[0].confidence #=> Float
448
460
  # event.transcript.results[0].channel_id #=> String
449
461
  #
450
462
  # For :bad_request_exception event available at #on_bad_request_exception_event callback and response eventstream enumerator:
@@ -464,6 +476,7 @@ module Aws::TranscribeStreamingService
464
476
  #
465
477
  # resp.enable_channel_identification #=> Boolean
466
478
  # resp.number_of_channels #=> Integer
479
+ # resp.content_identification_type #=> String, one of "PHI"
467
480
  #
468
481
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartMedicalStreamTranscription AWS API Documentation
469
482
  #
@@ -559,6 +572,19 @@ module Aws::TranscribeStreamingService
559
572
  # @option params [Integer] :number_of_channels
560
573
  # The number of channels that are in your audio stream.
561
574
  #
575
+ # @option params [Boolean] :enable_partial_results_stabilization
576
+ # When `true`, instructs Amazon Transcribe to present transcription
577
+ # results that have the partial results stabilized. Normally, any word
578
+ # or phrase from one partial result can change in a subsequent partial
579
+ # result. With partial results stabilization enabled, only the last few
580
+ # words of one partial result can change in another partial result.
581
+ #
582
+ # @option params [String] :partial_results_stability
583
+ # You can use this field to set the stability level of the transcription
584
+ # results. A higher stability level means that the transcription results
585
+ # are less likely to change. Higher stability levels can come with lower
586
+ # overall transcription accuracy.
587
+ #
562
588
  # @return [Types::StartStreamTranscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
563
589
  #
564
590
  # * {Types::StartStreamTranscriptionResponse#request_id #request_id} => String
@@ -573,6 +599,8 @@ module Aws::TranscribeStreamingService
573
599
  # * {Types::StartStreamTranscriptionResponse#show_speaker_label #show_speaker_label} => Boolean
574
600
  # * {Types::StartStreamTranscriptionResponse#enable_channel_identification #enable_channel_identification} => Boolean
575
601
  # * {Types::StartStreamTranscriptionResponse#number_of_channels #number_of_channels} => Integer
602
+ # * {Types::StartStreamTranscriptionResponse#enable_partial_results_stabilization #enable_partial_results_stabilization} => Boolean
603
+ # * {Types::StartStreamTranscriptionResponse#partial_results_stability #partial_results_stability} => String
576
604
  #
577
605
  # @example Bi-directional EventStream Operation Example
578
606
  #
@@ -669,7 +697,7 @@ module Aws::TranscribeStreamingService
669
697
  # @example Request syntax with placeholder values
670
698
  #
671
699
  # async_resp = async_client.start_stream_transcription({
672
- # 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
700
+ # 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
673
701
  # media_sample_rate_hertz: 1, # required
674
702
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
675
703
  # vocabulary_name: "VocabularyName",
@@ -680,6 +708,8 @@ module Aws::TranscribeStreamingService
680
708
  # show_speaker_label: false,
681
709
  # enable_channel_identification: false,
682
710
  # number_of_channels: 1,
711
+ # enable_partial_results_stabilization: false,
712
+ # partial_results_stability: "high", # accepts high, medium, low
683
713
  # })
684
714
  # # => Seahorse::Client::AsyncResponse
685
715
  # async_resp.wait
@@ -689,7 +719,7 @@ module Aws::TranscribeStreamingService
689
719
  # @example Response structure
690
720
  #
691
721
  # resp.request_id #=> String
692
- # 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"
722
+ # 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"
693
723
  # resp.media_sample_rate_hertz #=> Integer
694
724
  # resp.media_encoding #=> String, one of "pcm", "ogg-opus", "flac"
695
725
  # resp.vocabulary_name #=> String
@@ -713,6 +743,8 @@ module Aws::TranscribeStreamingService
713
743
  # event.transcript.results[0].alternatives[0].items[0].content #=> String
714
744
  # event.transcript.results[0].alternatives[0].items[0].vocabulary_filter_match #=> Boolean
715
745
  # event.transcript.results[0].alternatives[0].items[0].speaker #=> String
746
+ # event.transcript.results[0].alternatives[0].items[0].confidence #=> Float
747
+ # event.transcript.results[0].alternatives[0].items[0].stable #=> Boolean
716
748
  # event.transcript.results[0].channel_id #=> String
717
749
  #
718
750
  # For :bad_request_exception event available at #on_bad_request_exception_event callback and response eventstream enumerator:
@@ -735,6 +767,8 @@ module Aws::TranscribeStreamingService
735
767
  # resp.show_speaker_label #=> Boolean
736
768
  # resp.enable_channel_identification #=> Boolean
737
769
  # resp.number_of_channels #=> Integer
770
+ # resp.enable_partial_results_stabilization #=> Boolean
771
+ # resp.partial_results_stability #=> String, one of "high", "medium", "low"
738
772
  #
739
773
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscription AWS API Documentation
740
774
  #
@@ -779,7 +813,7 @@ module Aws::TranscribeStreamingService
779
813
  http_response: Seahorse::Client::Http::AsyncResponse.new,
780
814
  config: config)
781
815
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
782
- context[:gem_version] = '1.24.0'
816
+ context[:gem_version] = '1.29.0'
783
817
  Seahorse::Client::Request.new(handlers, context)
784
818
  end
785
819
 
@@ -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.24.0'
354
+ context[:gem_version] = '1.29.0'
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
 
@@ -33,6 +33,9 @@ module Aws::TranscribeStreamingService
33
33
  MediaSampleRateHertz = Shapes::IntegerShape.new(name: 'MediaSampleRateHertz')
34
34
  MedicalAlternative = Shapes::StructureShape.new(name: 'MedicalAlternative')
35
35
  MedicalAlternativeList = Shapes::ListShape.new(name: 'MedicalAlternativeList')
36
+ MedicalContentIdentificationType = Shapes::StringShape.new(name: 'MedicalContentIdentificationType')
37
+ MedicalEntity = Shapes::StructureShape.new(name: 'MedicalEntity')
38
+ MedicalEntityList = Shapes::ListShape.new(name: 'MedicalEntityList')
36
39
  MedicalItem = Shapes::StructureShape.new(name: 'MedicalItem')
37
40
  MedicalItemList = Shapes::ListShape.new(name: 'MedicalItemList')
38
41
  MedicalResult = Shapes::StructureShape.new(name: 'MedicalResult')
@@ -41,12 +44,14 @@ module Aws::TranscribeStreamingService
41
44
  MedicalTranscriptEvent = Shapes::StructureShape.new(name: 'MedicalTranscriptEvent')
42
45
  MedicalTranscriptResultStream = Shapes::StructureShape.new(name: 'MedicalTranscriptResultStream')
43
46
  NumberOfChannels = Shapes::IntegerShape.new(name: 'NumberOfChannels')
47
+ PartialResultsStability = Shapes::StringShape.new(name: 'PartialResultsStability')
44
48
  RequestId = Shapes::StringShape.new(name: 'RequestId')
45
49
  Result = Shapes::StructureShape.new(name: 'Result')
46
50
  ResultList = Shapes::ListShape.new(name: 'ResultList')
47
51
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
48
52
  SessionId = Shapes::StringShape.new(name: 'SessionId')
49
53
  Specialty = Shapes::StringShape.new(name: 'Specialty')
54
+ Stable = Shapes::BooleanShape.new(name: 'Stable')
50
55
  StartMedicalStreamTranscriptionRequest = Shapes::StructureShape.new(name: 'StartMedicalStreamTranscriptionRequest')
51
56
  StartMedicalStreamTranscriptionResponse = Shapes::StructureShape.new(name: 'StartMedicalStreamTranscriptionResponse')
52
57
  StartStreamTranscriptionRequest = Shapes::StructureShape.new(name: 'StartStreamTranscriptionRequest')
@@ -87,6 +92,8 @@ module Aws::TranscribeStreamingService
87
92
  Item.add_member(:content, Shapes::ShapeRef.new(shape: String, location_name: "Content"))
88
93
  Item.add_member(:vocabulary_filter_match, Shapes::ShapeRef.new(shape: Boolean, location_name: "VocabularyFilterMatch"))
89
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"))
90
97
  Item.struct_class = Types::Item
91
98
 
92
99
  ItemList.member = Shapes::ShapeRef.new(shape: Item)
@@ -96,10 +103,20 @@ module Aws::TranscribeStreamingService
96
103
 
97
104
  MedicalAlternative.add_member(:transcript, Shapes::ShapeRef.new(shape: String, location_name: "Transcript"))
98
105
  MedicalAlternative.add_member(:items, Shapes::ShapeRef.new(shape: MedicalItemList, location_name: "Items"))
106
+ MedicalAlternative.add_member(:entities, Shapes::ShapeRef.new(shape: MedicalEntityList, location_name: "Entities"))
99
107
  MedicalAlternative.struct_class = Types::MedicalAlternative
100
108
 
101
109
  MedicalAlternativeList.member = Shapes::ShapeRef.new(shape: MedicalAlternative)
102
110
 
111
+ MedicalEntity.add_member(:start_time, Shapes::ShapeRef.new(shape: Double, location_name: "StartTime"))
112
+ MedicalEntity.add_member(:end_time, Shapes::ShapeRef.new(shape: Double, location_name: "EndTime"))
113
+ MedicalEntity.add_member(:category, Shapes::ShapeRef.new(shape: String, location_name: "Category"))
114
+ MedicalEntity.add_member(:content, Shapes::ShapeRef.new(shape: String, location_name: "Content"))
115
+ MedicalEntity.add_member(:confidence, Shapes::ShapeRef.new(shape: Confidence, location_name: "Confidence"))
116
+ MedicalEntity.struct_class = Types::MedicalEntity
117
+
118
+ MedicalEntityList.member = Shapes::ShapeRef.new(shape: MedicalEntity)
119
+
103
120
  MedicalItem.add_member(:start_time, Shapes::ShapeRef.new(shape: Double, location_name: "StartTime"))
104
121
  MedicalItem.add_member(:end_time, Shapes::ShapeRef.new(shape: Double, location_name: "EndTime"))
105
122
  MedicalItem.add_member(:type, Shapes::ShapeRef.new(shape: ItemType, location_name: "Type"))
@@ -158,6 +175,7 @@ module Aws::TranscribeStreamingService
158
175
  StartMedicalStreamTranscriptionRequest.add_member(:audio_stream, Shapes::ShapeRef.new(shape: AudioStream, required: true, eventstream: true, location_name: "AudioStream"))
159
176
  StartMedicalStreamTranscriptionRequest.add_member(:enable_channel_identification, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-enable-channel-identification"))
160
177
  StartMedicalStreamTranscriptionRequest.add_member(:number_of_channels, Shapes::ShapeRef.new(shape: NumberOfChannels, location: "header", location_name: "x-amzn-transcribe-number-of-channels"))
178
+ StartMedicalStreamTranscriptionRequest.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: MedicalContentIdentificationType, location: "header", location_name: "x-amzn-transcribe-content-identification-type"))
161
179
  StartMedicalStreamTranscriptionRequest.struct_class = Types::StartMedicalStreamTranscriptionRequest
162
180
  StartMedicalStreamTranscriptionRequest[:payload] = :audio_stream
163
181
  StartMedicalStreamTranscriptionRequest[:payload_member] = StartMedicalStreamTranscriptionRequest.member(:audio_stream)
@@ -174,6 +192,7 @@ module Aws::TranscribeStreamingService
174
192
  StartMedicalStreamTranscriptionResponse.add_member(:transcript_result_stream, Shapes::ShapeRef.new(shape: MedicalTranscriptResultStream, eventstream: true, location_name: "TranscriptResultStream"))
175
193
  StartMedicalStreamTranscriptionResponse.add_member(:enable_channel_identification, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-enable-channel-identification"))
176
194
  StartMedicalStreamTranscriptionResponse.add_member(:number_of_channels, Shapes::ShapeRef.new(shape: NumberOfChannels, location: "header", location_name: "x-amzn-transcribe-number-of-channels"))
195
+ StartMedicalStreamTranscriptionResponse.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: MedicalContentIdentificationType, location: "header", location_name: "x-amzn-transcribe-content-identification-type"))
177
196
  StartMedicalStreamTranscriptionResponse.struct_class = Types::StartMedicalStreamTranscriptionResponse
178
197
  StartMedicalStreamTranscriptionResponse[:payload] = :transcript_result_stream
179
198
  StartMedicalStreamTranscriptionResponse[:payload_member] = StartMedicalStreamTranscriptionResponse.member(:transcript_result_stream)
@@ -189,6 +208,8 @@ module Aws::TranscribeStreamingService
189
208
  StartStreamTranscriptionRequest.add_member(:show_speaker_label, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-show-speaker-label"))
190
209
  StartStreamTranscriptionRequest.add_member(:enable_channel_identification, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-enable-channel-identification"))
191
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"))
192
213
  StartStreamTranscriptionRequest.struct_class = Types::StartStreamTranscriptionRequest
193
214
  StartStreamTranscriptionRequest[:payload] = :audio_stream
194
215
  StartStreamTranscriptionRequest[:payload_member] = StartStreamTranscriptionRequest.member(:audio_stream)
@@ -205,6 +226,8 @@ module Aws::TranscribeStreamingService
205
226
  StartStreamTranscriptionResponse.add_member(:show_speaker_label, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-show-speaker-label"))
206
227
  StartStreamTranscriptionResponse.add_member(:enable_channel_identification, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "x-amzn-transcribe-enable-channel-identification"))
207
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"))
208
231
  StartStreamTranscriptionResponse.struct_class = Types::StartStreamTranscriptionResponse
209
232
  StartStreamTranscriptionResponse[:payload] = :transcript_result_stream
210
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
 
@@ -17,7 +17,7 @@ module Aws::TranscribeStreamingService
17
17
 
18
18
  # @option params [String, StringIO, File] :audio_chunk
19
19
  # An audio blob that contains the next part of the audio that you want
20
- # to transcribe.
20
+ # to transcribe. The maximum audio chunk size is 32 KB.
21
21
  #
22
22
  def signal_audio_event_event(params = {})
23
23
  @event_emitter.emit(:audio_event, params)
@@ -41,7 +41,7 @@ module Aws::TranscribeStreamingService
41
41
 
42
42
  # @option params [String, StringIO, File] :audio_chunk
43
43
  # An audio blob that contains the next part of the audio that you want
44
- # to transcribe.
44
+ # to transcribe. The maximum audio chunk size is 32 KB.
45
45
  #
46
46
  def signal_audio_event_event(params = {})
47
47
  @event_emitter.emit(:audio_event, params)
@@ -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
  #
@@ -40,7 +44,7 @@ module Aws::TranscribeStreamingService
40
44
  #
41
45
  # @!attribute [rw] audio_chunk
42
46
  # An audio blob that contains the next part of the audio that you want
43
- # to transcribe.
47
+ # to transcribe. The maximum audio chunk size is 32 KB.
44
48
  # @return [String]
45
49
  #
46
50
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/AudioEvent AWS API Documentation
@@ -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
@@ -176,16 +195,63 @@ module Aws::TranscribeStreamingService
176
195
  # represents one or more interpretations of the input audio.
177
196
  # @return [Array<Types::MedicalItem>]
178
197
  #
198
+ # @!attribute [rw] entities
199
+ # Contains the medical entities identified as personal health
200
+ # information in the transcription output.
201
+ # @return [Array<Types::MedicalEntity>]
202
+ #
179
203
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/MedicalAlternative AWS API Documentation
180
204
  #
181
205
  class MedicalAlternative < Struct.new(
182
206
  :transcript,
183
- :items)
207
+ :items,
208
+ :entities)
184
209
  SENSITIVE = []
185
210
  include Aws::Structure
186
211
  end
187
212
 
188
- # A word or punctuation that is transcribed from the input audio.
213
+ # The medical entity identified as personal health information.
214
+ #
215
+ # @!attribute [rw] start_time
216
+ # The start time of the speech that was identified as a medical
217
+ # entity.
218
+ # @return [Float]
219
+ #
220
+ # @!attribute [rw] end_time
221
+ # The end time of the speech that was identified as a medical entity.
222
+ # @return [Float]
223
+ #
224
+ # @!attribute [rw] category
225
+ # The type of personal health information of the medical entity.
226
+ # @return [String]
227
+ #
228
+ # @!attribute [rw] content
229
+ # The word or words in the transcription output that have been
230
+ # identified as a medical entity.
231
+ # @return [String]
232
+ #
233
+ # @!attribute [rw] confidence
234
+ # A value between zero and one that Amazon Transcribe Medical assigned
235
+ # to the personal health information that it identified in the source
236
+ # audio. Larger values indicate that Amazon Transcribe Medical has
237
+ # higher confidence in the personal health information that it
238
+ # identified.
239
+ # @return [Float]
240
+ #
241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/MedicalEntity AWS API Documentation
242
+ #
243
+ class MedicalEntity < Struct.new(
244
+ :start_time,
245
+ :end_time,
246
+ :category,
247
+ :content,
248
+ :confidence)
249
+ SENSITIVE = []
250
+ include Aws::Structure
251
+ end
252
+
253
+ # A word, phrase, or punctuation mark that is transcribed from the input
254
+ # audio.
189
255
  #
190
256
  # @!attribute [rw] start_time
191
257
  # The number of seconds into an audio stream that indicates the
@@ -392,7 +458,7 @@ module Aws::TranscribeStreamingService
392
458
  # data as a hash:
393
459
  #
394
460
  # {
395
- # 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
396
462
  # media_sample_rate_hertz: 1, # required
397
463
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
398
464
  # vocabulary_name: "VocabularyName",
@@ -403,6 +469,7 @@ module Aws::TranscribeStreamingService
403
469
  # input_event_stream_hander: EventStreams::AudioStream.new,
404
470
  # enable_channel_identification: false,
405
471
  # number_of_channels: 1,
472
+ # content_identification_type: "PHI", # accepts PHI
406
473
  # }
407
474
  #
408
475
  # @!attribute [rw] language_code
@@ -468,6 +535,11 @@ module Aws::TranscribeStreamingService
468
535
  # The number of channels that are in your audio stream.
469
536
  # @return [Integer]
470
537
  #
538
+ # @!attribute [rw] content_identification_type
539
+ # Set this field to `PHI` to identify personal health information in
540
+ # the transcription output.
541
+ # @return [String]
542
+ #
471
543
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartMedicalStreamTranscriptionRequest AWS API Documentation
472
544
  #
473
545
  class StartMedicalStreamTranscriptionRequest < Struct.new(
@@ -481,7 +553,8 @@ module Aws::TranscribeStreamingService
481
553
  :session_id,
482
554
  :audio_stream,
483
555
  :enable_channel_identification,
484
- :number_of_channels)
556
+ :number_of_channels,
557
+ :content_identification_type)
485
558
  SENSITIVE = []
486
559
  include Aws::Structure
487
560
  end
@@ -538,6 +611,11 @@ module Aws::TranscribeStreamingService
538
611
  # The number of channels identified in the stream.
539
612
  # @return [Integer]
540
613
  #
614
+ # @!attribute [rw] content_identification_type
615
+ # If the value is `PHI`, indicates that you've configured your stream
616
+ # to identify personal health information.
617
+ # @return [String]
618
+ #
541
619
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartMedicalStreamTranscriptionResponse AWS API Documentation
542
620
  #
543
621
  class StartMedicalStreamTranscriptionResponse < Struct.new(
@@ -552,7 +630,8 @@ module Aws::TranscribeStreamingService
552
630
  :session_id,
553
631
  :transcript_result_stream,
554
632
  :enable_channel_identification,
555
- :number_of_channels)
633
+ :number_of_channels,
634
+ :content_identification_type)
556
635
  SENSITIVE = []
557
636
  include Aws::Structure
558
637
  end
@@ -561,7 +640,7 @@ module Aws::TranscribeStreamingService
561
640
  # data as a hash:
562
641
  #
563
642
  # {
564
- # 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
565
644
  # media_sample_rate_hertz: 1, # required
566
645
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
567
646
  # vocabulary_name: "VocabularyName",
@@ -572,6 +651,8 @@ module Aws::TranscribeStreamingService
572
651
  # show_speaker_label: false,
573
652
  # enable_channel_identification: false,
574
653
  # number_of_channels: 1,
654
+ # enable_partial_results_stabilization: false,
655
+ # partial_results_stability: "high", # accepts high, medium, low
575
656
  # }
576
657
  #
577
658
  # @!attribute [rw] language_code
@@ -643,6 +724,22 @@ module Aws::TranscribeStreamingService
643
724
  # The number of channels that are in your audio stream.
644
725
  # @return [Integer]
645
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
+ #
646
743
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscriptionRequest AWS API Documentation
647
744
  #
648
745
  class StartStreamTranscriptionRequest < Struct.new(
@@ -656,7 +753,9 @@ module Aws::TranscribeStreamingService
656
753
  :vocabulary_filter_method,
657
754
  :show_speaker_label,
658
755
  :enable_channel_identification,
659
- :number_of_channels)
756
+ :number_of_channels,
757
+ :enable_partial_results_stabilization,
758
+ :partial_results_stability)
660
759
  SENSITIVE = []
661
760
  include Aws::Structure
662
761
  end
@@ -711,6 +810,16 @@ module Aws::TranscribeStreamingService
711
810
  # The number of channels identified in the stream.
712
811
  # @return [Integer]
713
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
+ #
714
823
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscriptionResponse AWS API Documentation
715
824
  #
716
825
  class StartStreamTranscriptionResponse < Struct.new(
@@ -725,7 +834,9 @@ module Aws::TranscribeStreamingService
725
834
  :vocabulary_filter_method,
726
835
  :show_speaker_label,
727
836
  :enable_channel_identification,
728
- :number_of_channels)
837
+ :number_of_channels,
838
+ :enable_partial_results_stabilization,
839
+ :partial_results_stability)
729
840
  SENSITIVE = []
730
841
  include Aws::Structure
731
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.24.0
4
+ version: 1.29.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: 2020-11-24 00:00:00.000000000 Z
11
+ date: 2021-05-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.109.0
22
+ version: 3.112.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.109.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -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