aws-sdk-kinesis 1.23.0 → 1.24.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-kinesis.rb +1 -1
- data/lib/aws-sdk-kinesis/async_client.rb +4 -2
- data/lib/aws-sdk-kinesis/client.rb +4 -2
- data/lib/aws-sdk-kinesis/event_streams.rb +5 -0
- 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: 2ba4e8c14caa0cfe0abfbcd2731482d9ec682ef757a504720b6c85cdc1aca4a8
|
4
|
+
data.tar.gz: 5d0b6011eb09693dfcd138595c21d4f03c7d94c87c3a7d27a077b5b5af088a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fba20d0897358701b310fc0dc6f3922bdb34d23901661dc49e9e2f28db959b06038b6e59557570317b77729a8ff9002868ee9ce5c9f917c5b41964161159071b
|
7
|
+
data.tar.gz: 685b57bd16364d77729cdd355ff3e97584f82fed1acb0fb031939f735fb9d2df6e4c2a7cf6b3ee7ea3369a2fa5396b299f520c25ac68ee592dd9a4f88654d45c
|
data/lib/aws-sdk-kinesis.rb
CHANGED
@@ -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/json_rpc.rb'
|
@@ -52,6 +53,7 @@ module Aws::Kinesis
|
|
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::JsonRpc)
|
@@ -116,7 +118,7 @@ module Aws::Kinesis
|
|
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.
|
@@ -516,7 +518,7 @@ module Aws::Kinesis
|
|
516
518
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
517
519
|
config: config)
|
518
520
|
context[:gem_name] = 'aws-sdk-kinesis'
|
519
|
-
context[:gem_version] = '1.
|
521
|
+
context[:gem_version] = '1.24.1'
|
520
522
|
Seahorse::Client::Request.new(handlers, context)
|
521
523
|
end
|
522
524
|
|
@@ -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/json_rpc.rb'
|
29
30
|
require 'aws-sdk-core/plugins/event_stream_configuration.rb'
|
@@ -70,6 +71,7 @@ module Aws::Kinesis
|
|
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::JsonRpc)
|
75
77
|
add_plugin(Aws::Plugins::EventStreamConfiguration)
|
@@ -163,7 +165,7 @@ module Aws::Kinesis
|
|
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
|
@@ -2199,7 +2201,7 @@ module Aws::Kinesis
|
|
2199
2201
|
params: params,
|
2200
2202
|
config: config)
|
2201
2203
|
context[:gem_name] = 'aws-sdk-kinesis'
|
2202
|
-
context[:gem_version] = '1.
|
2204
|
+
context[:gem_version] = '1.24.1'
|
2203
2205
|
Seahorse::Client::Request.new(handlers, context)
|
2204
2206
|
end
|
2205
2207
|
|
@@ -61,6 +61,10 @@ module Aws::Kinesis
|
|
61
61
|
@event_emitter.on(:initial_response, block) if block_given?
|
62
62
|
end
|
63
63
|
|
64
|
+
def on_unknown_event(&block)
|
65
|
+
@event_emitter.on(:unknown_event, block) if block_given?
|
66
|
+
end
|
67
|
+
|
64
68
|
def on_event(&block)
|
65
69
|
on_subscribe_to_shard_event_event(&block)
|
66
70
|
on_resource_not_found_exception_event(&block)
|
@@ -74,6 +78,7 @@ module Aws::Kinesis
|
|
74
78
|
on_internal_failure_exception_event(&block)
|
75
79
|
on_error_event(&block)
|
76
80
|
on_initial_response_event(&block)
|
81
|
+
on_unknown_event(&block)
|
77
82
|
end
|
78
83
|
|
79
84
|
# @api private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kinesis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.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-
|
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.
|
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.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|