aws-sdk-transcribestreamingservice 1.45.0 → 1.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribestreamingservice/async_client.rb +6 -1
- data/lib/aws-sdk-transcribestreamingservice/client.rb +6 -1
- data/lib/aws-sdk-transcribestreamingservice/endpoint_provider.rb +47 -116
- data/lib/aws-sdk-transcribestreamingservice/types.rb +0 -132
- data/lib/aws-sdk-transcribestreamingservice.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4864785d2456c6985b1602b71bdf4cdd0b2888495d92c49bafa79bcb2c18b9c1
|
4
|
+
data.tar.gz: 5ca3248c37787acc0399d9a3c36ef7a37ec2d0f3d2893a57ed0f5ae70d08e312
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1032e581894a7a970f611951c8dc7ffef8671b7369d551047042feadb05747c52ee018b8424eb1246ccb1aba5e244a71f40fd27905e5c2e6370426e78fd1bd8f
|
7
|
+
data.tar.gz: a9b9184cb0a67c9d322e5ed281b33fb76f7fef4d4260b92092b8186ea9a6fdcba9b56ce70eeee593a24e84840b8ae6bc4edd1516819da129d3bd405842c6caa5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.47.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.46.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.45.0 (2022-11-28)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
@@ -220,6 +220,11 @@ module Aws::TranscribeStreamingService
|
|
220
220
|
# in the future.
|
221
221
|
#
|
222
222
|
#
|
223
|
+
# @option options [String] :sdk_ua_app_id
|
224
|
+
# A unique and opaque application ID that is appended to the
|
225
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
226
|
+
# maximum length of 50.
|
227
|
+
#
|
223
228
|
# @option options [String] :secret_access_key
|
224
229
|
#
|
225
230
|
# @option options [String] :session_token
|
@@ -1627,7 +1632,7 @@ module Aws::TranscribeStreamingService
|
|
1627
1632
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
1628
1633
|
config: config)
|
1629
1634
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
1630
|
-
context[:gem_version] = '1.
|
1635
|
+
context[:gem_version] = '1.47.0'
|
1631
1636
|
Seahorse::Client::Request.new(handlers, context)
|
1632
1637
|
end
|
1633
1638
|
|
@@ -286,6 +286,11 @@ module Aws::TranscribeStreamingService
|
|
286
286
|
# in the future.
|
287
287
|
#
|
288
288
|
#
|
289
|
+
# @option options [String] :sdk_ua_app_id
|
290
|
+
# A unique and opaque application ID that is appended to the
|
291
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
292
|
+
# maximum length of 50.
|
293
|
+
#
|
289
294
|
# @option options [String] :secret_access_key
|
290
295
|
#
|
291
296
|
# @option options [String] :session_token
|
@@ -392,7 +397,7 @@ module Aws::TranscribeStreamingService
|
|
392
397
|
params: params,
|
393
398
|
config: config)
|
394
399
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
395
|
-
context[:gem_version] = '1.
|
400
|
+
context[:gem_version] = '1.47.0'
|
396
401
|
Seahorse::Client::Request.new(handlers, context)
|
397
402
|
end
|
398
403
|
|
@@ -9,124 +9,55 @@
|
|
9
9
|
|
10
10
|
module Aws::TranscribeStreamingService
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "transcribestreaming-ca-central-1")
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.ca-central-1.amazonaws.com", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "transcribestreaming-us-east-1")
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.us-east-1.amazonaws.com", headers: {}, properties: {})
|
40
|
+
end
|
41
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "transcribestreaming-us-east-2")
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.us-east-2.amazonaws.com", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "transcribestreaming-us-west-2")
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.us-west-2.amazonaws.com", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
48
|
+
end
|
49
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
50
|
+
end
|
51
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
52
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
53
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
54
|
+
end
|
55
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
56
|
+
end
|
57
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
58
|
end
|
22
|
-
|
23
|
-
end
|
59
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
60
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
61
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
|
41
|
-
UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
|
42
|
-
dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
|
43
|
-
UFMtY29tcGxpYW50IHJlZ2lvbm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ntSZWdpb259LntQYXJ0
|
121
|
-
aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMi
|
122
|
-
Ont9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25k
|
123
|
-
aXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQg
|
124
|
-
dGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0
|
125
|
-
eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7
|
126
|
-
InVybCI6Imh0dHBzOi8vdHJhbnNjcmliZXN0cmVhbWluZy57UmVnaW9ufS57
|
127
|
-
UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwi
|
128
|
-
aGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
|
129
|
-
|
130
|
-
JSON
|
131
62
|
end
|
132
63
|
end
|
@@ -47,13 +47,6 @@ module Aws::TranscribeStreamingService
|
|
47
47
|
#
|
48
48
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/event-stream.html
|
49
49
|
#
|
50
|
-
# @note When making an API call, you may pass AudioEvent
|
51
|
-
# data as a hash:
|
52
|
-
#
|
53
|
-
# {
|
54
|
-
# audio_chunk: "data",
|
55
|
-
# }
|
56
|
-
#
|
57
50
|
# @!attribute [rw] audio_chunk
|
58
51
|
# An audio blob that contains the next part of the audio that you want
|
59
52
|
# to transcribe. The maximum audio chunk size is 32 KB.
|
@@ -223,14 +216,6 @@ module Aws::TranscribeStreamingService
|
|
223
216
|
# `ParticipantRole` to `AGENT` (to indicate that it's the agent
|
224
217
|
# speaking).
|
225
218
|
#
|
226
|
-
# @note When making an API call, you may pass ChannelDefinition
|
227
|
-
# data as a hash:
|
228
|
-
#
|
229
|
-
# {
|
230
|
-
# channel_id: 1, # required
|
231
|
-
# participant_role: "AGENT", # required, accepts AGENT, CUSTOMER
|
232
|
-
# }
|
233
|
-
#
|
234
219
|
# @!attribute [rw] channel_id
|
235
220
|
# Specify the audio channel you want to define.
|
236
221
|
# @return [Integer]
|
@@ -277,24 +262,6 @@ module Aws::TranscribeStreamingService
|
|
277
262
|
# Allows you to set audio channel definitions and post-call analytics
|
278
263
|
# settings.
|
279
264
|
#
|
280
|
-
# @note When making an API call, you may pass ConfigurationEvent
|
281
|
-
# data as a hash:
|
282
|
-
#
|
283
|
-
# {
|
284
|
-
# channel_definitions: [
|
285
|
-
# {
|
286
|
-
# channel_id: 1, # required
|
287
|
-
# participant_role: "AGENT", # required, accepts AGENT, CUSTOMER
|
288
|
-
# },
|
289
|
-
# ],
|
290
|
-
# post_call_analytics_settings: {
|
291
|
-
# output_location: "String", # required
|
292
|
-
# data_access_role_arn: "String", # required
|
293
|
-
# content_redaction_output: "redacted", # accepts redacted, redacted_and_unredacted
|
294
|
-
# output_encryption_kms_key_id: "String",
|
295
|
-
# },
|
296
|
-
# }
|
297
|
-
#
|
298
265
|
# @!attribute [rw] channel_definitions
|
299
266
|
# Indicates which speaker is on which audio channel.
|
300
267
|
# @return [Array<Types::ChannelDefinition>]
|
@@ -754,16 +721,6 @@ module Aws::TranscribeStreamingService
|
|
754
721
|
# `ContentRedactionOutput`, `DataAccessRoleArn`, and `OutputLocation`
|
755
722
|
# are required fields.
|
756
723
|
#
|
757
|
-
# @note When making an API call, you may pass PostCallAnalyticsSettings
|
758
|
-
# data as a hash:
|
759
|
-
#
|
760
|
-
# {
|
761
|
-
# output_location: "String", # required
|
762
|
-
# data_access_role_arn: "String", # required
|
763
|
-
# content_redaction_output: "redacted", # accepts redacted, redacted_and_unredacted
|
764
|
-
# output_encryption_kms_key_id: "String",
|
765
|
-
# }
|
766
|
-
#
|
767
724
|
# @!attribute [rw] output_location
|
768
725
|
# The Amazon S3 location where you want your Call Analytics post-call
|
769
726
|
# transcription output stored. You can use any of the following
|
@@ -926,26 +883,6 @@ module Aws::TranscribeStreamingService
|
|
926
883
|
include Aws::Structure
|
927
884
|
end
|
928
885
|
|
929
|
-
# @note When making an API call, you may pass StartCallAnalyticsStreamTranscriptionRequest
|
930
|
-
# data as a hash:
|
931
|
-
#
|
932
|
-
# {
|
933
|
-
# language_code: "en-US", # required, accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR
|
934
|
-
# media_sample_rate_hertz: 1, # required
|
935
|
-
# media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
|
936
|
-
# vocabulary_name: "VocabularyName",
|
937
|
-
# session_id: "SessionId",
|
938
|
-
# input_event_stream_hander: EventStreams::AudioStream.new,
|
939
|
-
# vocabulary_filter_name: "VocabularyFilterName",
|
940
|
-
# vocabulary_filter_method: "remove", # accepts remove, mask, tag
|
941
|
-
# language_model_name: "ModelName",
|
942
|
-
# enable_partial_results_stabilization: false,
|
943
|
-
# partial_results_stability: "high", # accepts high, medium, low
|
944
|
-
# content_identification_type: "PII", # accepts PII
|
945
|
-
# content_redaction_type: "PII", # accepts PII
|
946
|
-
# pii_entity_types: "PiiEntityTypes",
|
947
|
-
# }
|
948
|
-
#
|
949
886
|
# @!attribute [rw] language_code
|
950
887
|
# Specify the language code that represents the language spoken in
|
951
888
|
# your audio.
|
@@ -1262,24 +1199,6 @@ module Aws::TranscribeStreamingService
|
|
1262
1199
|
include Aws::Structure
|
1263
1200
|
end
|
1264
1201
|
|
1265
|
-
# @note When making an API call, you may pass StartMedicalStreamTranscriptionRequest
|
1266
|
-
# data as a hash:
|
1267
|
-
#
|
1268
|
-
# {
|
1269
|
-
# 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, hi-IN, th-TH
|
1270
|
-
# media_sample_rate_hertz: 1, # required
|
1271
|
-
# media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
|
1272
|
-
# vocabulary_name: "VocabularyName",
|
1273
|
-
# specialty: "PRIMARYCARE", # required, accepts PRIMARYCARE, CARDIOLOGY, NEUROLOGY, ONCOLOGY, RADIOLOGY, UROLOGY
|
1274
|
-
# type: "CONVERSATION", # required, accepts CONVERSATION, DICTATION
|
1275
|
-
# show_speaker_label: false,
|
1276
|
-
# session_id: "SessionId",
|
1277
|
-
# input_event_stream_hander: EventStreams::AudioStream.new,
|
1278
|
-
# enable_channel_identification: false,
|
1279
|
-
# number_of_channels: 1,
|
1280
|
-
# content_identification_type: "PHI", # accepts PHI
|
1281
|
-
# }
|
1282
|
-
#
|
1283
1202
|
# @!attribute [rw] language_code
|
1284
1203
|
# Specify the language code that represents the language spoken in
|
1285
1204
|
# your audio.
|
@@ -1492,34 +1411,6 @@ module Aws::TranscribeStreamingService
|
|
1492
1411
|
include Aws::Structure
|
1493
1412
|
end
|
1494
1413
|
|
1495
|
-
# @note When making an API call, you may pass StartStreamTranscriptionRequest
|
1496
|
-
# data as a hash:
|
1497
|
-
#
|
1498
|
-
# {
|
1499
|
-
# language_code: "en-US", # 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, hi-IN, th-TH
|
1500
|
-
# media_sample_rate_hertz: 1, # required
|
1501
|
-
# media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
|
1502
|
-
# vocabulary_name: "VocabularyName",
|
1503
|
-
# session_id: "SessionId",
|
1504
|
-
# input_event_stream_hander: EventStreams::AudioStream.new,
|
1505
|
-
# vocabulary_filter_name: "VocabularyFilterName",
|
1506
|
-
# vocabulary_filter_method: "remove", # accepts remove, mask, tag
|
1507
|
-
# show_speaker_label: false,
|
1508
|
-
# enable_channel_identification: false,
|
1509
|
-
# number_of_channels: 1,
|
1510
|
-
# enable_partial_results_stabilization: false,
|
1511
|
-
# partial_results_stability: "high", # accepts high, medium, low
|
1512
|
-
# content_identification_type: "PII", # accepts PII
|
1513
|
-
# content_redaction_type: "PII", # accepts PII
|
1514
|
-
# pii_entity_types: "PiiEntityTypes",
|
1515
|
-
# language_model_name: "ModelName",
|
1516
|
-
# identify_language: false,
|
1517
|
-
# language_options: "LanguageOptions",
|
1518
|
-
# preferred_language: "en-US", # 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, hi-IN, th-TH
|
1519
|
-
# vocabulary_names: "VocabularyNames",
|
1520
|
-
# vocabulary_filter_names: "VocabularyFilterNames",
|
1521
|
-
# }
|
1522
|
-
#
|
1523
1414
|
# @!attribute [rw] language_code
|
1524
1415
|
# Specify the language code that represents the language spoken in
|
1525
1416
|
# your audio.
|
@@ -2175,29 +2066,6 @@ module Aws::TranscribeStreamingService
|
|
2175
2066
|
#
|
2176
2067
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html
|
2177
2068
|
#
|
2178
|
-
# @note When making an API call, you may pass AudioStream
|
2179
|
-
# data as a hash:
|
2180
|
-
#
|
2181
|
-
# {
|
2182
|
-
# audio_event: {
|
2183
|
-
# audio_chunk: "data",
|
2184
|
-
# },
|
2185
|
-
# configuration_event: {
|
2186
|
-
# channel_definitions: [
|
2187
|
-
# {
|
2188
|
-
# channel_id: 1, # required
|
2189
|
-
# participant_role: "AGENT", # required, accepts AGENT, CUSTOMER
|
2190
|
-
# },
|
2191
|
-
# ],
|
2192
|
-
# post_call_analytics_settings: {
|
2193
|
-
# output_location: "String", # required
|
2194
|
-
# data_access_role_arn: "String", # required
|
2195
|
-
# content_redaction_output: "redacted", # accepts redacted, redacted_and_unredacted
|
2196
|
-
# output_encryption_kms_key_id: "String",
|
2197
|
-
# },
|
2198
|
-
# },
|
2199
|
-
# }
|
2200
|
-
#
|
2201
2069
|
# EventStream is an Enumerator of Events.
|
2202
2070
|
# #event_types #=> Array, returns all modeled event types in the stream
|
2203
2071
|
#
|
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.47.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:
|
11
|
+
date: 2023-05-31 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.
|
22
|
+
version: 3.174.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.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|