aws-sdk-transcribestreamingservice 1.27.0 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84a2259056a3a83ec8c651abd8af61848fafffa0096ee79edb4e06598a689d5b
4
- data.tar.gz: e8815f850835ac8bac0f2887248d3158a17f716a222a48627522b676416b90da
3
+ metadata.gz: 845dc2ba5af048efb54a3c55f3184fdd1f2eebeb61d3aa1e74c0c42dbc8299f9
4
+ data.tar.gz: 985db130dbddfde3aa46336e77abeadcf83b6f838d349cedb6cf8956611a421d
5
5
  SHA512:
6
- metadata.gz: 90ae4d0908cd98818faa8269e124148f9ea490d2f53b68117df3284b20bde172c18588553dae11bdbdf290008d491de82e4330d7fdeb46a928d9baf00a0d95e5
7
- data.tar.gz: 15c470e0ce0d0cb41ec376fc491eb5faad47e91aecb5184039debcde9993a0a6a8da13acd77c1b62b1e3200486c36d34876e3284ceb9858eb7d917554c66201b
6
+ metadata.gz: f9450ceb4fcaf1deb70c2bcd7adb8255daadf0af6486c07d123b99a3f849af8fb0d9a0afd4215253fcdea3817db67c636996c532336f469da37319b05a98aeac
7
+ data.tar.gz: 75faad136b9752be8af43e04212a6e9adb30238bbf6b41dc4beb9516e9774dea17af02a6796bd79aeeba619cf4e6dc46c51372010bca6a185f3f0d6aab437af7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2021-03-15)
5
+ ------------------
6
+
7
+ * Feature - AWS Transcribe now supports real-time transcription for Chinese (zh-CN) and confidence scores in the transcription output.
8
+
4
9
  1.27.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
1
+ 1.28.0
@@ -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.27.0'
53
+ GEM_VERSION = '1.28.0'
54
54
 
55
55
  end
@@ -403,7 +403,7 @@ module Aws::TranscribeStreamingService
403
403
  # @example Request syntax with placeholder values
404
404
  #
405
405
  # 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
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
407
407
  # media_sample_rate_hertz: 1, # required
408
408
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
409
409
  # vocabulary_name: "VocabularyName",
@@ -424,7 +424,7 @@ module Aws::TranscribeStreamingService
424
424
  # @example Response structure
425
425
  #
426
426
  # 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"
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"
428
428
  # resp.media_sample_rate_hertz #=> Integer
429
429
  # resp.media_encoding #=> String, one of "pcm", "ogg-opus", "flac"
430
430
  # resp.vocabulary_name #=> String
@@ -682,7 +682,7 @@ module Aws::TranscribeStreamingService
682
682
  # @example Request syntax with placeholder values
683
683
  #
684
684
  # 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
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, zh-CN
686
686
  # media_sample_rate_hertz: 1, # required
687
687
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
688
688
  # vocabulary_name: "VocabularyName",
@@ -702,7 +702,7 @@ module Aws::TranscribeStreamingService
702
702
  # @example Response structure
703
703
  #
704
704
  # 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"
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", "zh-CN"
706
706
  # resp.media_sample_rate_hertz #=> Integer
707
707
  # resp.media_encoding #=> String, one of "pcm", "ogg-opus", "flac"
708
708
  # resp.vocabulary_name #=> String
@@ -726,6 +726,7 @@ module Aws::TranscribeStreamingService
726
726
  # event.transcript.results[0].alternatives[0].items[0].content #=> String
727
727
  # event.transcript.results[0].alternatives[0].items[0].vocabulary_filter_match #=> Boolean
728
728
  # event.transcript.results[0].alternatives[0].items[0].speaker #=> String
729
+ # event.transcript.results[0].alternatives[0].items[0].confidence #=> Float
729
730
  # event.transcript.results[0].channel_id #=> String
730
731
  #
731
732
  # For :bad_request_exception event available at #on_bad_request_exception_event callback and response eventstream enumerator:
@@ -792,7 +793,7 @@ module Aws::TranscribeStreamingService
792
793
  http_response: Seahorse::Client::Http::AsyncResponse.new,
793
794
  config: config)
794
795
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
795
- context[:gem_version] = '1.27.0'
796
+ context[:gem_version] = '1.28.0'
796
797
  Seahorse::Client::Request.new(handlers, context)
797
798
  end
798
799
 
@@ -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.27.0'
354
+ context[:gem_version] = '1.28.0'
355
355
  Seahorse::Client::Request.new(handlers, context)
356
356
  end
357
357
 
@@ -90,6 +90,7 @@ module Aws::TranscribeStreamingService
90
90
  Item.add_member(:content, Shapes::ShapeRef.new(shape: String, location_name: "Content"))
91
91
  Item.add_member(:vocabulary_filter_match, Shapes::ShapeRef.new(shape: Boolean, location_name: "VocabularyFilterMatch"))
92
92
  Item.add_member(:speaker, Shapes::ShapeRef.new(shape: String, location_name: "Speaker"))
93
+ Item.add_member(:confidence, Shapes::ShapeRef.new(shape: Confidence, location_name: "Confidence"))
93
94
  Item.struct_class = Types::Item
94
95
 
95
96
  ItemList.member = Shapes::ShapeRef.new(shape: Item)
@@ -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,12 @@ 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
+ #
137
148
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/Item AWS API Documentation
138
149
  #
139
150
  class Item < Struct.new(
@@ -142,7 +153,8 @@ module Aws::TranscribeStreamingService
142
153
  :type,
143
154
  :content,
144
155
  :vocabulary_filter_match,
145
- :speaker)
156
+ :speaker,
157
+ :confidence)
146
158
  SENSITIVE = []
147
159
  include Aws::Structure
148
160
  end
@@ -231,7 +243,8 @@ module Aws::TranscribeStreamingService
231
243
  include Aws::Structure
232
244
  end
233
245
 
234
- # A word or punctuation that is transcribed from the input audio.
246
+ # A word, phrase, or punctuation mark that is transcribed from the input
247
+ # audio.
235
248
  #
236
249
  # @!attribute [rw] start_time
237
250
  # The number of seconds into an audio stream that indicates the
@@ -438,7 +451,7 @@ module Aws::TranscribeStreamingService
438
451
  # data as a hash:
439
452
  #
440
453
  # {
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
454
+ # 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
455
  # media_sample_rate_hertz: 1, # required
443
456
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
444
457
  # vocabulary_name: "VocabularyName",
@@ -620,7 +633,7 @@ module Aws::TranscribeStreamingService
620
633
  # data as a hash:
621
634
  #
622
635
  # {
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
636
+ # 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
637
  # media_sample_rate_hertz: 1, # required
625
638
  # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
626
639
  # vocabulary_name: "VocabularyName",
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.27.0
4
+ version: 1.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core