aws-sdk-transcribestreamingservice 1.73.0 → 1.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribestreamingservice/async_client.rb +263 -1
- data/lib/aws-sdk-transcribestreamingservice/client.rb +55 -1
- data/lib/aws-sdk-transcribestreamingservice/client_api.rb +189 -0
- data/lib/aws-sdk-transcribestreamingservice/endpoint_provider.rb +13 -17
- data/lib/aws-sdk-transcribestreamingservice/errors.rb +16 -0
- data/lib/aws-sdk-transcribestreamingservice/event_streams.rb +231 -6
- data/lib/aws-sdk-transcribestreamingservice/types.rb +797 -2
- data/lib/aws-sdk-transcribestreamingservice.rb +2 -2
- data/sig/client.rbs +29 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +147 -0
- metadata +2 -2
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:transcribestreamingservice)
|
|
23
23
|
# structure.
|
24
24
|
#
|
25
25
|
# transcribe_streaming_service = Aws::TranscribeStreamingService::Client.new
|
26
|
-
# resp = transcribe_streaming_service.
|
26
|
+
# resp = transcribe_streaming_service.get_medical_scribe_stream(params)
|
27
27
|
#
|
28
28
|
# See {Client} for more information.
|
29
29
|
#
|
@@ -56,7 +56,7 @@ module Aws::TranscribeStreamingService
|
|
56
56
|
autoload :AsyncClient, 'aws-sdk-transcribestreamingservice/async_client'
|
57
57
|
autoload :EventStreams, 'aws-sdk-transcribestreamingservice/event_streams'
|
58
58
|
|
59
|
-
GEM_VERSION = '1.
|
59
|
+
GEM_VERSION = '1.75.0'
|
60
60
|
|
61
61
|
end
|
62
62
|
|
data/sig/client.rbs
CHANGED
@@ -80,6 +80,16 @@ module Aws
|
|
80
80
|
| (?Hash[Symbol, untyped]) -> instance
|
81
81
|
|
82
82
|
|
83
|
+
interface _GetMedicalScribeStreamResponseSuccess
|
84
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMedicalScribeStreamResponse]
|
85
|
+
def medical_scribe_stream_details: () -> Types::MedicalScribeStreamDetails
|
86
|
+
end
|
87
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TranscribeStreamingService/Client.html#get_medical_scribe_stream-instance_method
|
88
|
+
def get_medical_scribe_stream: (
|
89
|
+
session_id: ::String
|
90
|
+
) -> _GetMedicalScribeStreamResponseSuccess
|
91
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMedicalScribeStreamResponseSuccess
|
92
|
+
|
83
93
|
interface _StartCallAnalyticsStreamTranscriptionResponseSuccess
|
84
94
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartCallAnalyticsStreamTranscriptionResponse]
|
85
95
|
def request_id: () -> ::String
|
@@ -117,6 +127,25 @@ module Aws
|
|
117
127
|
) ?{ (*untyped) -> void } -> _StartCallAnalyticsStreamTranscriptionResponseSuccess
|
118
128
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _StartCallAnalyticsStreamTranscriptionResponseSuccess
|
119
129
|
|
130
|
+
interface _StartMedicalScribeStreamResponseSuccess
|
131
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartMedicalScribeStreamResponse]
|
132
|
+
def session_id: () -> ::String
|
133
|
+
def request_id: () -> ::String
|
134
|
+
def language_code: () -> ("en-US")
|
135
|
+
def media_sample_rate_hertz: () -> ::Integer
|
136
|
+
def media_encoding: () -> ("pcm" | "ogg-opus" | "flac")
|
137
|
+
def result_stream: () -> Types::MedicalScribeResultStream
|
138
|
+
end
|
139
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TranscribeStreamingService/Client.html#start_medical_scribe_stream-instance_method
|
140
|
+
def start_medical_scribe_stream: (
|
141
|
+
?session_id: ::String,
|
142
|
+
language_code: ("en-US"),
|
143
|
+
media_sample_rate_hertz: ::Integer,
|
144
|
+
media_encoding: ("pcm" | "ogg-opus" | "flac"),
|
145
|
+
input_event_stream_hander: untyped
|
146
|
+
) ?{ (*untyped) -> void } -> _StartMedicalScribeStreamResponseSuccess
|
147
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _StartMedicalScribeStreamResponseSuccess
|
148
|
+
|
120
149
|
interface _StartMedicalStreamTranscriptionResponseSuccess
|
121
150
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartMedicalStreamTranscriptionResponse]
|
122
151
|
def request_id: () -> ::String
|
data/sig/errors.rbs
CHANGED
data/sig/types.rbs
CHANGED
@@ -67,6 +67,19 @@ module Aws::TranscribeStreamingService
|
|
67
67
|
SENSITIVE: []
|
68
68
|
end
|
69
69
|
|
70
|
+
class ClinicalNoteGenerationResult
|
71
|
+
attr_accessor clinical_note_output_location: ::String
|
72
|
+
attr_accessor transcript_output_location: ::String
|
73
|
+
attr_accessor status: ("IN_PROGRESS" | "FAILED" | "COMPLETED")
|
74
|
+
attr_accessor failure_reason: ::String
|
75
|
+
SENSITIVE: []
|
76
|
+
end
|
77
|
+
|
78
|
+
class ClinicalNoteGenerationSettings
|
79
|
+
attr_accessor output_bucket_name: ::String
|
80
|
+
SENSITIVE: []
|
81
|
+
end
|
82
|
+
|
70
83
|
class ConfigurationEvent
|
71
84
|
attr_accessor channel_definitions: ::Array[Types::ChannelDefinition]
|
72
85
|
attr_accessor post_call_analytics_settings: Types::PostCallAnalyticsSettings
|
@@ -90,6 +103,16 @@ module Aws::TranscribeStreamingService
|
|
90
103
|
SENSITIVE: []
|
91
104
|
end
|
92
105
|
|
106
|
+
class GetMedicalScribeStreamRequest
|
107
|
+
attr_accessor session_id: ::String
|
108
|
+
SENSITIVE: []
|
109
|
+
end
|
110
|
+
|
111
|
+
class GetMedicalScribeStreamResponse
|
112
|
+
attr_accessor medical_scribe_stream_details: Types::MedicalScribeStreamDetails
|
113
|
+
SENSITIVE: []
|
114
|
+
end
|
115
|
+
|
93
116
|
class InternalFailureException
|
94
117
|
attr_accessor message: ::String
|
95
118
|
attr_accessor event_type: untyped
|
@@ -161,6 +184,98 @@ module Aws::TranscribeStreamingService
|
|
161
184
|
SENSITIVE: []
|
162
185
|
end
|
163
186
|
|
187
|
+
class MedicalScribeAudioEvent
|
188
|
+
attr_accessor audio_chunk: ::String
|
189
|
+
attr_accessor event_type: untyped
|
190
|
+
SENSITIVE: []
|
191
|
+
end
|
192
|
+
|
193
|
+
class MedicalScribeChannelDefinition
|
194
|
+
attr_accessor channel_id: ::Integer
|
195
|
+
attr_accessor participant_role: ("PATIENT" | "CLINICIAN")
|
196
|
+
SENSITIVE: []
|
197
|
+
end
|
198
|
+
|
199
|
+
class MedicalScribeConfigurationEvent
|
200
|
+
attr_accessor vocabulary_name: ::String
|
201
|
+
attr_accessor vocabulary_filter_name: ::String
|
202
|
+
attr_accessor vocabulary_filter_method: ("remove" | "mask" | "tag")
|
203
|
+
attr_accessor resource_access_role_arn: ::String
|
204
|
+
attr_accessor channel_definitions: ::Array[Types::MedicalScribeChannelDefinition]
|
205
|
+
attr_accessor encryption_settings: Types::MedicalScribeEncryptionSettings
|
206
|
+
attr_accessor post_stream_analytics_settings: Types::MedicalScribePostStreamAnalyticsSettings
|
207
|
+
attr_accessor event_type: untyped
|
208
|
+
SENSITIVE: []
|
209
|
+
end
|
210
|
+
|
211
|
+
class MedicalScribeEncryptionSettings
|
212
|
+
attr_accessor kms_encryption_context: ::Hash[::String, ::String]
|
213
|
+
attr_accessor kms_key_id: ::String
|
214
|
+
SENSITIVE: []
|
215
|
+
end
|
216
|
+
|
217
|
+
class MedicalScribePostStreamAnalyticsResult
|
218
|
+
attr_accessor clinical_note_generation_result: Types::ClinicalNoteGenerationResult
|
219
|
+
SENSITIVE: []
|
220
|
+
end
|
221
|
+
|
222
|
+
class MedicalScribePostStreamAnalyticsSettings
|
223
|
+
attr_accessor clinical_note_generation_settings: Types::ClinicalNoteGenerationSettings
|
224
|
+
SENSITIVE: []
|
225
|
+
end
|
226
|
+
|
227
|
+
class MedicalScribeSessionControlEvent
|
228
|
+
attr_accessor type: ("END_OF_SESSION")
|
229
|
+
attr_accessor event_type: untyped
|
230
|
+
SENSITIVE: []
|
231
|
+
end
|
232
|
+
|
233
|
+
class MedicalScribeStreamDetails
|
234
|
+
attr_accessor session_id: ::String
|
235
|
+
attr_accessor stream_created_at: ::Time
|
236
|
+
attr_accessor stream_ended_at: ::Time
|
237
|
+
attr_accessor language_code: ("en-US")
|
238
|
+
attr_accessor media_sample_rate_hertz: ::Integer
|
239
|
+
attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
|
240
|
+
attr_accessor vocabulary_name: ::String
|
241
|
+
attr_accessor vocabulary_filter_name: ::String
|
242
|
+
attr_accessor vocabulary_filter_method: ("remove" | "mask" | "tag")
|
243
|
+
attr_accessor resource_access_role_arn: ::String
|
244
|
+
attr_accessor channel_definitions: ::Array[Types::MedicalScribeChannelDefinition]
|
245
|
+
attr_accessor encryption_settings: Types::MedicalScribeEncryptionSettings
|
246
|
+
attr_accessor stream_status: ("IN_PROGRESS" | "PAUSED" | "FAILED" | "COMPLETED")
|
247
|
+
attr_accessor post_stream_analytics_settings: Types::MedicalScribePostStreamAnalyticsSettings
|
248
|
+
attr_accessor post_stream_analytics_result: Types::MedicalScribePostStreamAnalyticsResult
|
249
|
+
SENSITIVE: []
|
250
|
+
end
|
251
|
+
|
252
|
+
class MedicalScribeTranscriptEvent
|
253
|
+
attr_accessor transcript_segment: Types::MedicalScribeTranscriptSegment
|
254
|
+
attr_accessor event_type: untyped
|
255
|
+
SENSITIVE: []
|
256
|
+
end
|
257
|
+
|
258
|
+
class MedicalScribeTranscriptItem
|
259
|
+
attr_accessor begin_audio_time: ::Float
|
260
|
+
attr_accessor end_audio_time: ::Float
|
261
|
+
attr_accessor type: ("pronunciation" | "punctuation")
|
262
|
+
attr_accessor confidence: ::Float
|
263
|
+
attr_accessor content: ::String
|
264
|
+
attr_accessor vocabulary_filter_match: bool
|
265
|
+
SENSITIVE: []
|
266
|
+
end
|
267
|
+
|
268
|
+
class MedicalScribeTranscriptSegment
|
269
|
+
attr_accessor segment_id: ::String
|
270
|
+
attr_accessor begin_audio_time: ::Float
|
271
|
+
attr_accessor end_audio_time: ::Float
|
272
|
+
attr_accessor content: ::String
|
273
|
+
attr_accessor items: ::Array[Types::MedicalScribeTranscriptItem]
|
274
|
+
attr_accessor is_partial: bool
|
275
|
+
attr_accessor channel_id: ::String
|
276
|
+
SENSITIVE: []
|
277
|
+
end
|
278
|
+
|
164
279
|
class MedicalTranscript
|
165
280
|
attr_accessor results: ::Array[Types::MedicalResult]
|
166
281
|
SENSITIVE: []
|
@@ -185,6 +300,11 @@ module Aws::TranscribeStreamingService
|
|
185
300
|
SENSITIVE: []
|
186
301
|
end
|
187
302
|
|
303
|
+
class ResourceNotFoundException
|
304
|
+
attr_accessor message: ::String
|
305
|
+
SENSITIVE: []
|
306
|
+
end
|
307
|
+
|
188
308
|
class Result
|
189
309
|
attr_accessor result_id: ::String
|
190
310
|
attr_accessor start_time: ::Float
|
@@ -240,6 +360,25 @@ module Aws::TranscribeStreamingService
|
|
240
360
|
SENSITIVE: []
|
241
361
|
end
|
242
362
|
|
363
|
+
class StartMedicalScribeStreamRequest
|
364
|
+
attr_accessor session_id: ::String
|
365
|
+
attr_accessor language_code: ("en-US")
|
366
|
+
attr_accessor media_sample_rate_hertz: ::Integer
|
367
|
+
attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
|
368
|
+
attr_accessor input_stream: Types::MedicalScribeInputStream
|
369
|
+
SENSITIVE: []
|
370
|
+
end
|
371
|
+
|
372
|
+
class StartMedicalScribeStreamResponse
|
373
|
+
attr_accessor session_id: ::String
|
374
|
+
attr_accessor request_id: ::String
|
375
|
+
attr_accessor language_code: ("en-US")
|
376
|
+
attr_accessor media_sample_rate_hertz: ::Integer
|
377
|
+
attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
|
378
|
+
attr_accessor result_stream: Types::MedicalScribeResultStream
|
379
|
+
SENSITIVE: []
|
380
|
+
end
|
381
|
+
|
243
382
|
class StartMedicalStreamTranscriptionRequest
|
244
383
|
attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA")
|
245
384
|
attr_accessor media_sample_rate_hertz: ::Integer
|
@@ -368,6 +507,14 @@ module Aws::TranscribeStreamingService
|
|
368
507
|
def event_types: () -> [:utterance_event, :category_event, :bad_request_exception, :limit_exceeded_exception, :internal_failure_exception, :conflict_exception, :service_unavailable_exception]
|
369
508
|
end
|
370
509
|
|
510
|
+
class MedicalScribeInputStream < Enumerator[untyped, untyped]
|
511
|
+
def event_types: () -> [:audio_event, :session_control_event, :configuration_event]
|
512
|
+
end
|
513
|
+
|
514
|
+
class MedicalScribeResultStream < Enumerator[untyped, untyped]
|
515
|
+
def event_types: () -> [:transcript_event, :bad_request_exception, :limit_exceeded_exception, :internal_failure_exception, :conflict_exception, :service_unavailable_exception]
|
516
|
+
end
|
517
|
+
|
371
518
|
class MedicalTranscriptResultStream < Enumerator[untyped, untyped]
|
372
519
|
def event_types: () -> [:transcript_event, :bad_request_exception, :limit_exceeded_exception, :internal_failure_exception, :conflict_exception, :service_unavailable_exception]
|
373
520
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-transcribestreamingservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.75.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: 2025-
|
11
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|