aws-sdk-transcribestreamingservice 1.15.0 → 1.16.1

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: 4b85b364b036d713dd14ca91ebfc8652c78a028505c69ff71f68e4dbef43fd33
4
- data.tar.gz: 768de24cbb18579513f9ece76487647e0d3a9cb5ee915052cd3923a8cc0e2431
3
+ metadata.gz: 690e695e6e40aa2926019b174e6b51629f8ebedc164b08bd1edb52c4b8e83689
4
+ data.tar.gz: 72f97beabab790f6ef164c72eb2e7b4d9765101b1ec31ceef8355029e6598700
5
5
  SHA512:
6
- metadata.gz: 356b3671f45c94df0653b77b991b24a83b138f2085ca8e9097368e956808df68af8281b112b02fe7d0f320ac1f8f0e1efb46933a1c68eecdb29b3382d97bb19b
7
- data.tar.gz: 11e61d542d875edb85fa8568f368adcffdc48f0ee71e8f424a5b129214397578b0861015ade55876b2485e74e4c4068718fc9d3f5823bb5f6250d98443884523
6
+ metadata.gz: 6d0f8503bf59b611da76270a64c2685b4da32c727e832158f30cb4f775753c30e0b67e6c9970bab57cf3c53850b73cc2406c0107bf0e6dffbb26574c43890d88
7
+ data.tar.gz: b680068a3822e89d722a6987a030a26ba8efb5ab0434fa9312df9346324a8adb6977fec8fa47b80fdbc00e6ef532e8f722ca870272177ac1e51141ae4c281fa5
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-transcribestreamingservice/event_streams'
47
47
  # @service
48
48
  module Aws::TranscribeStreamingService
49
49
 
50
- GEM_VERSION = '1.15.0'
50
+ GEM_VERSION = '1.16.1'
51
51
 
52
52
  end
@@ -23,6 +23,7 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
25
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
+ require 'aws-sdk-core/plugins/http_checksum.rb'
26
27
  require 'aws-sdk-core/plugins/invocation_id.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
@@ -52,6 +53,7 @@ module Aws::TranscribeStreamingService
52
53
  add_plugin(Aws::Plugins::StubResponses)
53
54
  add_plugin(Aws::Plugins::IdempotencyToken)
54
55
  add_plugin(Aws::Plugins::JsonvalueConverter)
56
+ add_plugin(Aws::Plugins::HttpChecksum)
55
57
  add_plugin(Aws::Plugins::InvocationId)
56
58
  add_plugin(Aws::Plugins::SignatureV4)
57
59
  add_plugin(Aws::Plugins::Protocols::RestJson)
@@ -116,7 +118,7 @@ module Aws::TranscribeStreamingService
116
118
  # @option options [String] :endpoint
117
119
  # The client endpoint is normally constructed from the `:region`
118
120
  # option. You should only configure an `:endpoint` when connecting
119
- # to test endpoints. This should be a valid HTTP(S) URI.
121
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
120
122
  #
121
123
  # @option options [Proc] :event_stream_handler
122
124
  # When an EventStream or Proc object is provided, it will be used as callback for each chunk of event stream response received along the way.
@@ -474,7 +476,7 @@ module Aws::TranscribeStreamingService
474
476
  http_response: Seahorse::Client::Http::AsyncResponse.new,
475
477
  config: config)
476
478
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
477
- context[:gem_version] = '1.15.0'
479
+ context[:gem_version] = '1.16.1'
478
480
  Seahorse::Client::Request.new(handlers, context)
479
481
  end
480
482
 
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
30
  require 'aws-sdk-core/plugins/event_stream_configuration.rb'
@@ -70,6 +71,7 @@ module Aws::TranscribeStreamingService
70
71
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
71
72
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
72
73
  add_plugin(Aws::Plugins::TransferEncoding)
74
+ add_plugin(Aws::Plugins::HttpChecksum)
73
75
  add_plugin(Aws::Plugins::SignatureV4)
74
76
  add_plugin(Aws::Plugins::Protocols::RestJson)
75
77
  add_plugin(Aws::Plugins::EventStreamConfiguration)
@@ -163,7 +165,7 @@ module Aws::TranscribeStreamingService
163
165
  # @option options [String] :endpoint
164
166
  # The client endpoint is normally constructed from the `:region`
165
167
  # option. You should only configure an `:endpoint` when connecting
166
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
167
169
  #
168
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
169
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -332,7 +334,7 @@ module Aws::TranscribeStreamingService
332
334
  params: params,
333
335
  config: config)
334
336
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
335
- context[:gem_version] = '1.15.0'
337
+ context[:gem_version] = '1.16.1'
336
338
  Seahorse::Client::Request.new(handlers, context)
337
339
  end
338
340
 
@@ -69,6 +69,10 @@ module Aws::TranscribeStreamingService
69
69
  @event_emitter.on(:initial_response, block) if block_given?
70
70
  end
71
71
 
72
+ def on_unknown_event(&block)
73
+ @event_emitter.on(:unknown_event, block) if block_given?
74
+ end
75
+
72
76
  def on_event(&block)
73
77
  on_transcript_event_event(&block)
74
78
  on_bad_request_exception_event(&block)
@@ -78,6 +82,7 @@ module Aws::TranscribeStreamingService
78
82
  on_service_unavailable_exception_event(&block)
79
83
  on_error_event(&block)
80
84
  on_initial_response_event(&block)
85
+ on_unknown_event(&block)
81
86
  end
82
87
 
83
88
  # @api private
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.15.0
4
+ version: 1.16.1
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-05-28 00:00:00.000000000 Z
11
+ date: 2020-06-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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement