aws-sdk-transcribestreamingservice 1.56.0 → 1.58.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,379 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::TranscribeStreamingService
9
+ module Types
10
+
11
+ class Alternative
12
+ attr_accessor transcript: ::String
13
+ attr_accessor items: ::Array[Types::Item]
14
+ attr_accessor entities: ::Array[Types::Entity]
15
+ SENSITIVE: []
16
+ end
17
+
18
+ class AudioEvent
19
+ attr_accessor audio_chunk: ::String
20
+ attr_accessor event_type: untyped
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class BadRequestException
25
+ attr_accessor message: ::String
26
+ attr_accessor event_type: untyped
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class CallAnalyticsEntity
31
+ attr_accessor begin_offset_millis: ::Integer
32
+ attr_accessor end_offset_millis: ::Integer
33
+ attr_accessor category: ::String
34
+ attr_accessor type: ::String
35
+ attr_accessor content: ::String
36
+ attr_accessor confidence: ::Float
37
+ SENSITIVE: []
38
+ end
39
+
40
+ class CallAnalyticsItem
41
+ attr_accessor begin_offset_millis: ::Integer
42
+ attr_accessor end_offset_millis: ::Integer
43
+ attr_accessor type: ("pronunciation" | "punctuation")
44
+ attr_accessor content: ::String
45
+ attr_accessor confidence: ::Float
46
+ attr_accessor vocabulary_filter_match: bool
47
+ attr_accessor stable: bool
48
+ SENSITIVE: []
49
+ end
50
+
51
+ class CategoryEvent
52
+ attr_accessor matched_categories: ::Array[::String]
53
+ attr_accessor matched_details: ::Hash[::String, Types::PointsOfInterest]
54
+ attr_accessor event_type: untyped
55
+ SENSITIVE: []
56
+ end
57
+
58
+ class ChannelDefinition
59
+ attr_accessor channel_id: ::Integer
60
+ attr_accessor participant_role: ("AGENT" | "CUSTOMER")
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class CharacterOffsets
65
+ attr_accessor begin: ::Integer
66
+ attr_accessor end: ::Integer
67
+ SENSITIVE: []
68
+ end
69
+
70
+ class ConfigurationEvent
71
+ attr_accessor channel_definitions: ::Array[Types::ChannelDefinition]
72
+ attr_accessor post_call_analytics_settings: Types::PostCallAnalyticsSettings
73
+ attr_accessor event_type: untyped
74
+ SENSITIVE: []
75
+ end
76
+
77
+ class ConflictException
78
+ attr_accessor message: ::String
79
+ attr_accessor event_type: untyped
80
+ SENSITIVE: []
81
+ end
82
+
83
+ class Entity
84
+ attr_accessor start_time: ::Float
85
+ attr_accessor end_time: ::Float
86
+ attr_accessor category: ::String
87
+ attr_accessor type: ::String
88
+ attr_accessor content: ::String
89
+ attr_accessor confidence: ::Float
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class InternalFailureException
94
+ attr_accessor message: ::String
95
+ attr_accessor event_type: untyped
96
+ SENSITIVE: []
97
+ end
98
+
99
+ class IssueDetected
100
+ attr_accessor character_offsets: Types::CharacterOffsets
101
+ SENSITIVE: []
102
+ end
103
+
104
+ class Item
105
+ attr_accessor start_time: ::Float
106
+ attr_accessor end_time: ::Float
107
+ attr_accessor type: ("pronunciation" | "punctuation")
108
+ attr_accessor content: ::String
109
+ attr_accessor vocabulary_filter_match: bool
110
+ attr_accessor speaker: ::String
111
+ attr_accessor confidence: ::Float
112
+ attr_accessor stable: bool
113
+ SENSITIVE: []
114
+ end
115
+
116
+ class LanguageWithScore
117
+ 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" | "hi-IN" | "th-TH")
118
+ attr_accessor score: ::Float
119
+ SENSITIVE: []
120
+ end
121
+
122
+ class LimitExceededException
123
+ attr_accessor message: ::String
124
+ attr_accessor event_type: untyped
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class MedicalAlternative
129
+ attr_accessor transcript: ::String
130
+ attr_accessor items: ::Array[Types::MedicalItem]
131
+ attr_accessor entities: ::Array[Types::MedicalEntity]
132
+ SENSITIVE: []
133
+ end
134
+
135
+ class MedicalEntity
136
+ attr_accessor start_time: ::Float
137
+ attr_accessor end_time: ::Float
138
+ attr_accessor category: ::String
139
+ attr_accessor content: ::String
140
+ attr_accessor confidence: ::Float
141
+ SENSITIVE: []
142
+ end
143
+
144
+ class MedicalItem
145
+ attr_accessor start_time: ::Float
146
+ attr_accessor end_time: ::Float
147
+ attr_accessor type: ("pronunciation" | "punctuation")
148
+ attr_accessor content: ::String
149
+ attr_accessor confidence: ::Float
150
+ attr_accessor speaker: ::String
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class MedicalResult
155
+ attr_accessor result_id: ::String
156
+ attr_accessor start_time: ::Float
157
+ attr_accessor end_time: ::Float
158
+ attr_accessor is_partial: bool
159
+ attr_accessor alternatives: ::Array[Types::MedicalAlternative]
160
+ attr_accessor channel_id: ::String
161
+ SENSITIVE: []
162
+ end
163
+
164
+ class MedicalTranscript
165
+ attr_accessor results: ::Array[Types::MedicalResult]
166
+ SENSITIVE: []
167
+ end
168
+
169
+ class MedicalTranscriptEvent
170
+ attr_accessor transcript: Types::MedicalTranscript
171
+ attr_accessor event_type: untyped
172
+ SENSITIVE: []
173
+ end
174
+
175
+ class PointsOfInterest
176
+ attr_accessor timestamp_ranges: ::Array[Types::TimestampRange]
177
+ SENSITIVE: []
178
+ end
179
+
180
+ class PostCallAnalyticsSettings
181
+ attr_accessor output_location: ::String
182
+ attr_accessor data_access_role_arn: ::String
183
+ attr_accessor content_redaction_output: ("redacted" | "redacted_and_unredacted")
184
+ attr_accessor output_encryption_kms_key_id: ::String
185
+ SENSITIVE: []
186
+ end
187
+
188
+ class Result
189
+ attr_accessor result_id: ::String
190
+ attr_accessor start_time: ::Float
191
+ attr_accessor end_time: ::Float
192
+ attr_accessor is_partial: bool
193
+ attr_accessor alternatives: ::Array[Types::Alternative]
194
+ attr_accessor channel_id: ::String
195
+ 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" | "hi-IN" | "th-TH")
196
+ attr_accessor language_identification: ::Array[Types::LanguageWithScore]
197
+ SENSITIVE: []
198
+ end
199
+
200
+ class ServiceUnavailableException
201
+ attr_accessor message: ::String
202
+ attr_accessor event_type: untyped
203
+ SENSITIVE: []
204
+ end
205
+
206
+ class StartCallAnalyticsStreamTranscriptionRequest
207
+ attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR")
208
+ attr_accessor media_sample_rate_hertz: ::Integer
209
+ attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
210
+ attr_accessor vocabulary_name: ::String
211
+ attr_accessor session_id: ::String
212
+ attr_accessor audio_stream: Types::AudioStream
213
+ attr_accessor vocabulary_filter_name: ::String
214
+ attr_accessor vocabulary_filter_method: ("remove" | "mask" | "tag")
215
+ attr_accessor language_model_name: ::String
216
+ attr_accessor enable_partial_results_stabilization: bool
217
+ attr_accessor partial_results_stability: ("high" | "medium" | "low")
218
+ attr_accessor content_identification_type: ("PII")
219
+ attr_accessor content_redaction_type: ("PII")
220
+ attr_accessor pii_entity_types: ::String
221
+ SENSITIVE: []
222
+ end
223
+
224
+ class StartCallAnalyticsStreamTranscriptionResponse
225
+ attr_accessor request_id: ::String
226
+ attr_accessor language_code: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR")
227
+ attr_accessor media_sample_rate_hertz: ::Integer
228
+ attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
229
+ attr_accessor vocabulary_name: ::String
230
+ attr_accessor session_id: ::String
231
+ attr_accessor call_analytics_transcript_result_stream: Types::CallAnalyticsTranscriptResultStream
232
+ attr_accessor vocabulary_filter_name: ::String
233
+ attr_accessor vocabulary_filter_method: ("remove" | "mask" | "tag")
234
+ attr_accessor language_model_name: ::String
235
+ attr_accessor enable_partial_results_stabilization: bool
236
+ attr_accessor partial_results_stability: ("high" | "medium" | "low")
237
+ attr_accessor content_identification_type: ("PII")
238
+ attr_accessor content_redaction_type: ("PII")
239
+ attr_accessor pii_entity_types: ::String
240
+ SENSITIVE: []
241
+ end
242
+
243
+ class StartMedicalStreamTranscriptionRequest
244
+ 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" | "hi-IN" | "th-TH")
245
+ attr_accessor media_sample_rate_hertz: ::Integer
246
+ attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
247
+ attr_accessor vocabulary_name: ::String
248
+ attr_accessor specialty: ("PRIMARYCARE" | "CARDIOLOGY" | "NEUROLOGY" | "ONCOLOGY" | "RADIOLOGY" | "UROLOGY")
249
+ attr_accessor type: ("CONVERSATION" | "DICTATION")
250
+ attr_accessor show_speaker_label: bool
251
+ attr_accessor session_id: ::String
252
+ attr_accessor audio_stream: Types::AudioStream
253
+ attr_accessor enable_channel_identification: bool
254
+ attr_accessor number_of_channels: ::Integer
255
+ attr_accessor content_identification_type: ("PHI")
256
+ SENSITIVE: []
257
+ end
258
+
259
+ class StartMedicalStreamTranscriptionResponse
260
+ attr_accessor request_id: ::String
261
+ 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" | "hi-IN" | "th-TH")
262
+ attr_accessor media_sample_rate_hertz: ::Integer
263
+ attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
264
+ attr_accessor vocabulary_name: ::String
265
+ attr_accessor specialty: ("PRIMARYCARE" | "CARDIOLOGY" | "NEUROLOGY" | "ONCOLOGY" | "RADIOLOGY" | "UROLOGY")
266
+ attr_accessor type: ("CONVERSATION" | "DICTATION")
267
+ attr_accessor show_speaker_label: bool
268
+ attr_accessor session_id: ::String
269
+ attr_accessor transcript_result_stream: Types::MedicalTranscriptResultStream
270
+ attr_accessor enable_channel_identification: bool
271
+ attr_accessor number_of_channels: ::Integer
272
+ attr_accessor content_identification_type: ("PHI")
273
+ SENSITIVE: []
274
+ end
275
+
276
+ class StartStreamTranscriptionRequest
277
+ 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" | "hi-IN" | "th-TH")
278
+ attr_accessor media_sample_rate_hertz: ::Integer
279
+ attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
280
+ attr_accessor vocabulary_name: ::String
281
+ attr_accessor session_id: ::String
282
+ attr_accessor audio_stream: Types::AudioStream
283
+ attr_accessor vocabulary_filter_name: ::String
284
+ attr_accessor vocabulary_filter_method: ("remove" | "mask" | "tag")
285
+ attr_accessor show_speaker_label: bool
286
+ attr_accessor enable_channel_identification: bool
287
+ attr_accessor number_of_channels: ::Integer
288
+ attr_accessor enable_partial_results_stabilization: bool
289
+ attr_accessor partial_results_stability: ("high" | "medium" | "low")
290
+ attr_accessor content_identification_type: ("PII")
291
+ attr_accessor content_redaction_type: ("PII")
292
+ attr_accessor pii_entity_types: ::String
293
+ attr_accessor language_model_name: ::String
294
+ attr_accessor identify_language: bool
295
+ attr_accessor language_options: ::String
296
+ attr_accessor preferred_language: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
297
+ attr_accessor identify_multiple_languages: bool
298
+ attr_accessor vocabulary_names: ::String
299
+ attr_accessor vocabulary_filter_names: ::String
300
+ SENSITIVE: []
301
+ end
302
+
303
+ class StartStreamTranscriptionResponse
304
+ attr_accessor request_id: ::String
305
+ 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" | "hi-IN" | "th-TH")
306
+ attr_accessor media_sample_rate_hertz: ::Integer
307
+ attr_accessor media_encoding: ("pcm" | "ogg-opus" | "flac")
308
+ attr_accessor vocabulary_name: ::String
309
+ attr_accessor session_id: ::String
310
+ attr_accessor transcript_result_stream: Types::TranscriptResultStream
311
+ attr_accessor vocabulary_filter_name: ::String
312
+ attr_accessor vocabulary_filter_method: ("remove" | "mask" | "tag")
313
+ attr_accessor show_speaker_label: bool
314
+ attr_accessor enable_channel_identification: bool
315
+ attr_accessor number_of_channels: ::Integer
316
+ attr_accessor enable_partial_results_stabilization: bool
317
+ attr_accessor partial_results_stability: ("high" | "medium" | "low")
318
+ attr_accessor content_identification_type: ("PII")
319
+ attr_accessor content_redaction_type: ("PII")
320
+ attr_accessor pii_entity_types: ::String
321
+ attr_accessor language_model_name: ::String
322
+ attr_accessor identify_language: bool
323
+ attr_accessor language_options: ::String
324
+ attr_accessor preferred_language: ("en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "hi-IN" | "th-TH")
325
+ attr_accessor identify_multiple_languages: bool
326
+ attr_accessor vocabulary_names: ::String
327
+ attr_accessor vocabulary_filter_names: ::String
328
+ SENSITIVE: []
329
+ end
330
+
331
+ class TimestampRange
332
+ attr_accessor begin_offset_millis: ::Integer
333
+ attr_accessor end_offset_millis: ::Integer
334
+ SENSITIVE: []
335
+ end
336
+
337
+ class Transcript
338
+ attr_accessor results: ::Array[Types::Result]
339
+ SENSITIVE: []
340
+ end
341
+
342
+ class TranscriptEvent
343
+ attr_accessor transcript: Types::Transcript
344
+ attr_accessor event_type: untyped
345
+ SENSITIVE: []
346
+ end
347
+
348
+ class UtteranceEvent
349
+ attr_accessor utterance_id: ::String
350
+ attr_accessor is_partial: bool
351
+ attr_accessor participant_role: ("AGENT" | "CUSTOMER")
352
+ attr_accessor begin_offset_millis: ::Integer
353
+ attr_accessor end_offset_millis: ::Integer
354
+ attr_accessor transcript: ::String
355
+ attr_accessor items: ::Array[Types::CallAnalyticsItem]
356
+ attr_accessor entities: ::Array[Types::CallAnalyticsEntity]
357
+ attr_accessor sentiment: ("POSITIVE" | "NEGATIVE" | "MIXED" | "NEUTRAL")
358
+ attr_accessor issues_detected: ::Array[Types::IssueDetected]
359
+ attr_accessor event_type: untyped
360
+ SENSITIVE: []
361
+ end
362
+
363
+ class AudioStream < Enumerator[untyped, untyped]
364
+ def event_types: () -> [:audio_event, :configuration_event]
365
+ end
366
+
367
+ class CallAnalyticsTranscriptResultStream < Enumerator[untyped, untyped]
368
+ def event_types: () -> [:utterance_event, :category_event, :bad_request_exception, :limit_exceeded_exception, :internal_failure_exception, :conflict_exception, :service_unavailable_exception]
369
+ end
370
+
371
+ class MedicalTranscriptResultStream < Enumerator[untyped, untyped]
372
+ def event_types: () -> [:transcript_event, :bad_request_exception, :limit_exceeded_exception, :internal_failure_exception, :conflict_exception, :service_unavailable_exception]
373
+ end
374
+
375
+ class TranscriptResultStream < Enumerator[untyped, untyped]
376
+ def event_types: () -> [:transcript_event, :bad_request_exception, :limit_exceeded_exception, :internal_failure_exception, :conflict_exception, :service_unavailable_exception]
377
+ end
378
+ end
379
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module TranscribeStreamingService
10
+ module Waiters
11
+ end
12
+ end
13
+ 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.56.0
4
+ version: 1.58.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.188.0
22
+ version: 3.193.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.188.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -68,13 +68,18 @@ files:
68
68
  - lib/aws-sdk-transcribestreamingservice/plugins/endpoints.rb
69
69
  - lib/aws-sdk-transcribestreamingservice/resource.rb
70
70
  - lib/aws-sdk-transcribestreamingservice/types.rb
71
+ - sig/client.rbs
72
+ - sig/errors.rbs
73
+ - sig/resource.rbs
74
+ - sig/types.rbs
75
+ - sig/waiters.rbs
71
76
  homepage: https://github.com/aws/aws-sdk-ruby
72
77
  licenses:
73
78
  - Apache-2.0
74
79
  metadata:
75
80
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-transcribestreamingservice
76
81
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-transcribestreamingservice/CHANGELOG.md
77
- post_install_message:
82
+ post_install_message:
78
83
  rdoc_options: []
79
84
  require_paths:
80
85
  - lib
@@ -89,8 +94,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
94
  - !ruby/object:Gem::Version
90
95
  version: '0'
91
96
  requirements: []
92
- rubygems_version: 3.1.6
93
- signing_key:
97
+ rubygems_version: 3.4.10
98
+ signing_key:
94
99
  specification_version: 4
95
100
  summary: AWS SDK for Ruby - Amazon Transcribe Streaming Service
96
101
  test_files: []