aws-sdk-kinesis 1.69.0 → 1.71.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kinesis/async_client.rb +1 -1
- data/lib/aws-sdk-kinesis/client.rb +7 -7
- data/lib/aws-sdk-kinesis/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-kinesis/endpoints.rb +123 -246
- data/lib/aws-sdk-kinesis/plugins/endpoints.rb +1 -70
- data/lib/aws-sdk-kinesis.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: 62f42f8259f499c6cbe880bb5bba371b2d050f982f5119bd9afb5ccd0828fa40
|
4
|
+
data.tar.gz: e28ac1d8b006734d725bb4f209f29167fcb548fa41fac3170fccf4eed99df9d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ea8ca9e80bc6451fbcda1da3ac8e3e178becb65cc18ba2d50b4d56cb32c39f5ce5839d1369214cb7189d9630bca954592c7d30319fd03697e75cf4a1984ca25
|
7
|
+
data.tar.gz: 239a6e856481a3511d57c8ddbe37883a2053db04bd4a6d380bd18d11eb5a4ae70bcfb9474fba0bdb2c101eea80768cdefcde225b4d1c0f69662c1bdf26e6dd11
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.71.0 (2024-11-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.70.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.69.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.71.0
|
@@ -663,10 +663,10 @@ module Aws::Kinesis
|
|
663
663
|
# Delete a policy for the specified data stream or consumer. Request
|
664
664
|
# patterns can be one of the following:
|
665
665
|
#
|
666
|
-
# * Data stream pattern: `arn:aws.*:kinesis:.*:\d
|
666
|
+
# * Data stream pattern: `arn:aws.*:kinesis:.*:\d{12}:.*stream/\S+`
|
667
667
|
#
|
668
668
|
# * Consumer pattern:
|
669
|
-
# `^(arn):aws.*:kinesis:.*:\d
|
669
|
+
# `^(arn):aws.*:kinesis:.*:\d{12}:.*stream\/[a-zA-Z0-9_.-]+\/consumer\/[a-zA-Z0-9_.-]+:[0-9]+`
|
670
670
|
#
|
671
671
|
# @option params [required, String] :resource_arn
|
672
672
|
# The Amazon Resource Name (ARN) of the data stream or consumer.
|
@@ -1346,10 +1346,10 @@ module Aws::Kinesis
|
|
1346
1346
|
# Returns a policy attached to the specified data stream or consumer.
|
1347
1347
|
# Request patterns can be one of the following:
|
1348
1348
|
#
|
1349
|
-
# * Data stream pattern: `arn:aws.*:kinesis:.*:\d
|
1349
|
+
# * Data stream pattern: `arn:aws.*:kinesis:.*:\d{12}:.*stream/\S+`
|
1350
1350
|
#
|
1351
1351
|
# * Consumer pattern:
|
1352
|
-
# `^(arn):aws.*:kinesis:.*:\d
|
1352
|
+
# `^(arn):aws.*:kinesis:.*:\d{12}:.*stream\/[a-zA-Z0-9_.-]+\/consumer\/[a-zA-Z0-9_.-]+:[0-9]+`
|
1353
1353
|
#
|
1354
1354
|
# @option params [required, String] :resource_arn
|
1355
1355
|
# The Amazon Resource Name (ARN) of the data stream or consumer.
|
@@ -2285,10 +2285,10 @@ module Aws::Kinesis
|
|
2285
2285
|
#
|
2286
2286
|
# Request patterns can be one of the following:
|
2287
2287
|
#
|
2288
|
-
# * Data stream pattern: `arn:aws.*:kinesis:.*:\d
|
2288
|
+
# * Data stream pattern: `arn:aws.*:kinesis:.*:\d{12}:.*stream/\S+`
|
2289
2289
|
#
|
2290
2290
|
# * Consumer pattern:
|
2291
|
-
# `^(arn):aws.*:kinesis:.*:\d
|
2291
|
+
# `^(arn):aws.*:kinesis:.*:\d{12}:.*stream\/[a-zA-Z0-9_.-]+\/consumer\/[a-zA-Z0-9_.-]+:[0-9]+`
|
2292
2292
|
#
|
2293
2293
|
# For more information, see [Controlling Access to Amazon Kinesis Data
|
2294
2294
|
# Streams Resources Using IAM][1].
|
@@ -2854,7 +2854,7 @@ module Aws::Kinesis
|
|
2854
2854
|
tracer: tracer
|
2855
2855
|
)
|
2856
2856
|
context[:gem_name] = 'aws-sdk-kinesis'
|
2857
|
-
context[:gem_version] = '1.
|
2857
|
+
context[:gem_version] = '1.71.0'
|
2858
2858
|
Seahorse::Client::Request.new(handlers, context)
|
2859
2859
|
end
|
2860
2860
|
|
@@ -80,19 +80,22 @@ module Aws::Kinesis
|
|
80
80
|
self[:region] = options[:region]
|
81
81
|
self[:use_dual_stack] = options[:use_dual_stack]
|
82
82
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
83
|
-
if self[:use_dual_stack].nil?
|
84
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
85
|
-
end
|
86
83
|
self[:use_fips] = options[:use_fips]
|
87
84
|
self[:use_fips] = false if self[:use_fips].nil?
|
88
|
-
if self[:use_fips].nil?
|
89
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
90
|
-
end
|
91
85
|
self[:endpoint] = options[:endpoint]
|
92
86
|
self[:stream_arn] = options[:stream_arn]
|
93
87
|
self[:operation_type] = options[:operation_type]
|
94
88
|
self[:consumer_arn] = options[:consumer_arn]
|
95
89
|
self[:resource_arn] = options[:resource_arn]
|
96
90
|
end
|
91
|
+
|
92
|
+
def self.create(config, options={})
|
93
|
+
new({
|
94
|
+
region: config.region,
|
95
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
96
|
+
use_fips: config.use_fips_endpoint,
|
97
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
98
|
+
}.merge(options))
|
99
|
+
end
|
97
100
|
end
|
98
101
|
end
|
@@ -14,59 +14,29 @@ module Aws::Kinesis
|
|
14
14
|
|
15
15
|
class AddTagsToStream
|
16
16
|
def self.build(context)
|
17
|
-
Aws::Kinesis::EndpointParameters.
|
18
|
-
|
19
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
20
|
-
use_fips: context.config.use_fips_endpoint,
|
21
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
17
|
+
Aws::Kinesis::EndpointParameters.create(
|
18
|
+
context.config,
|
22
19
|
stream_arn: context.params[:stream_arn],
|
23
20
|
operation_type: "control",
|
24
|
-
consumer_arn: nil,
|
25
|
-
resource_arn: nil,
|
26
|
-
)
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
class CreateStream
|
31
|
-
def self.build(context)
|
32
|
-
Aws::Kinesis::EndpointParameters.new(
|
33
|
-
region: context.config.region,
|
34
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
35
|
-
use_fips: context.config.use_fips_endpoint,
|
36
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
37
|
-
stream_arn: nil,
|
38
|
-
operation_type: nil,
|
39
|
-
consumer_arn: nil,
|
40
|
-
resource_arn: nil,
|
41
21
|
)
|
42
22
|
end
|
43
23
|
end
|
44
24
|
|
45
25
|
class DecreaseStreamRetentionPeriod
|
46
26
|
def self.build(context)
|
47
|
-
Aws::Kinesis::EndpointParameters.
|
48
|
-
|
49
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
-
use_fips: context.config.use_fips_endpoint,
|
51
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
27
|
+
Aws::Kinesis::EndpointParameters.create(
|
28
|
+
context.config,
|
52
29
|
stream_arn: context.params[:stream_arn],
|
53
30
|
operation_type: "control",
|
54
|
-
consumer_arn: nil,
|
55
|
-
resource_arn: nil,
|
56
31
|
)
|
57
32
|
end
|
58
33
|
end
|
59
34
|
|
60
35
|
class DeleteResourcePolicy
|
61
36
|
def self.build(context)
|
62
|
-
Aws::Kinesis::EndpointParameters.
|
63
|
-
|
64
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
65
|
-
use_fips: context.config.use_fips_endpoint,
|
66
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
67
|
-
stream_arn: nil,
|
37
|
+
Aws::Kinesis::EndpointParameters.create(
|
38
|
+
context.config,
|
68
39
|
operation_type: "control",
|
69
|
-
consumer_arn: nil,
|
70
40
|
resource_arn: context.params[:resource_arn],
|
71
41
|
)
|
72
42
|
end
|
@@ -74,149 +44,91 @@ module Aws::Kinesis
|
|
74
44
|
|
75
45
|
class DeleteStream
|
76
46
|
def self.build(context)
|
77
|
-
Aws::Kinesis::EndpointParameters.
|
78
|
-
|
79
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
80
|
-
use_fips: context.config.use_fips_endpoint,
|
81
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
47
|
+
Aws::Kinesis::EndpointParameters.create(
|
48
|
+
context.config,
|
82
49
|
stream_arn: context.params[:stream_arn],
|
83
50
|
operation_type: "control",
|
84
|
-
consumer_arn: nil,
|
85
|
-
resource_arn: nil,
|
86
51
|
)
|
87
52
|
end
|
88
53
|
end
|
89
54
|
|
90
55
|
class DeregisterStreamConsumer
|
91
56
|
def self.build(context)
|
92
|
-
Aws::Kinesis::EndpointParameters.
|
93
|
-
|
94
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
95
|
-
use_fips: context.config.use_fips_endpoint,
|
96
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
57
|
+
Aws::Kinesis::EndpointParameters.create(
|
58
|
+
context.config,
|
97
59
|
stream_arn: context.params[:stream_arn],
|
98
60
|
operation_type: "control",
|
99
61
|
consumer_arn: context.params[:consumer_arn],
|
100
|
-
resource_arn: nil,
|
101
|
-
)
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
class DescribeLimits
|
106
|
-
def self.build(context)
|
107
|
-
Aws::Kinesis::EndpointParameters.new(
|
108
|
-
region: context.config.region,
|
109
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
110
|
-
use_fips: context.config.use_fips_endpoint,
|
111
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
112
|
-
stream_arn: nil,
|
113
|
-
operation_type: nil,
|
114
|
-
consumer_arn: nil,
|
115
|
-
resource_arn: nil,
|
116
62
|
)
|
117
63
|
end
|
118
64
|
end
|
119
65
|
|
120
66
|
class DescribeStream
|
121
67
|
def self.build(context)
|
122
|
-
Aws::Kinesis::EndpointParameters.
|
123
|
-
|
124
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
125
|
-
use_fips: context.config.use_fips_endpoint,
|
126
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
68
|
+
Aws::Kinesis::EndpointParameters.create(
|
69
|
+
context.config,
|
127
70
|
stream_arn: context.params[:stream_arn],
|
128
71
|
operation_type: "control",
|
129
|
-
consumer_arn: nil,
|
130
|
-
resource_arn: nil,
|
131
72
|
)
|
132
73
|
end
|
133
74
|
end
|
134
75
|
|
135
76
|
class DescribeStreamConsumer
|
136
77
|
def self.build(context)
|
137
|
-
Aws::Kinesis::EndpointParameters.
|
138
|
-
|
139
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
140
|
-
use_fips: context.config.use_fips_endpoint,
|
141
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
78
|
+
Aws::Kinesis::EndpointParameters.create(
|
79
|
+
context.config,
|
142
80
|
stream_arn: context.params[:stream_arn],
|
143
81
|
operation_type: "control",
|
144
82
|
consumer_arn: context.params[:consumer_arn],
|
145
|
-
resource_arn: nil,
|
146
83
|
)
|
147
84
|
end
|
148
85
|
end
|
149
86
|
|
150
87
|
class DescribeStreamSummary
|
151
88
|
def self.build(context)
|
152
|
-
Aws::Kinesis::EndpointParameters.
|
153
|
-
|
154
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
155
|
-
use_fips: context.config.use_fips_endpoint,
|
156
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
89
|
+
Aws::Kinesis::EndpointParameters.create(
|
90
|
+
context.config,
|
157
91
|
stream_arn: context.params[:stream_arn],
|
158
92
|
operation_type: "control",
|
159
|
-
consumer_arn: nil,
|
160
|
-
resource_arn: nil,
|
161
93
|
)
|
162
94
|
end
|
163
95
|
end
|
164
96
|
|
165
97
|
class DisableEnhancedMonitoring
|
166
98
|
def self.build(context)
|
167
|
-
Aws::Kinesis::EndpointParameters.
|
168
|
-
|
169
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
170
|
-
use_fips: context.config.use_fips_endpoint,
|
171
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
99
|
+
Aws::Kinesis::EndpointParameters.create(
|
100
|
+
context.config,
|
172
101
|
stream_arn: context.params[:stream_arn],
|
173
102
|
operation_type: "control",
|
174
|
-
consumer_arn: nil,
|
175
|
-
resource_arn: nil,
|
176
103
|
)
|
177
104
|
end
|
178
105
|
end
|
179
106
|
|
180
107
|
class EnableEnhancedMonitoring
|
181
108
|
def self.build(context)
|
182
|
-
Aws::Kinesis::EndpointParameters.
|
183
|
-
|
184
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
185
|
-
use_fips: context.config.use_fips_endpoint,
|
186
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
109
|
+
Aws::Kinesis::EndpointParameters.create(
|
110
|
+
context.config,
|
187
111
|
stream_arn: context.params[:stream_arn],
|
188
112
|
operation_type: "control",
|
189
|
-
consumer_arn: nil,
|
190
|
-
resource_arn: nil,
|
191
113
|
)
|
192
114
|
end
|
193
115
|
end
|
194
116
|
|
195
117
|
class GetRecords
|
196
118
|
def self.build(context)
|
197
|
-
Aws::Kinesis::EndpointParameters.
|
198
|
-
|
199
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
200
|
-
use_fips: context.config.use_fips_endpoint,
|
201
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
119
|
+
Aws::Kinesis::EndpointParameters.create(
|
120
|
+
context.config,
|
202
121
|
stream_arn: context.params[:stream_arn],
|
203
122
|
operation_type: "data",
|
204
|
-
consumer_arn: nil,
|
205
|
-
resource_arn: nil,
|
206
123
|
)
|
207
124
|
end
|
208
125
|
end
|
209
126
|
|
210
127
|
class GetResourcePolicy
|
211
128
|
def self.build(context)
|
212
|
-
Aws::Kinesis::EndpointParameters.
|
213
|
-
|
214
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
215
|
-
use_fips: context.config.use_fips_endpoint,
|
216
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
217
|
-
stream_arn: nil,
|
129
|
+
Aws::Kinesis::EndpointParameters.create(
|
130
|
+
context.config,
|
218
131
|
operation_type: "control",
|
219
|
-
consumer_arn: nil,
|
220
132
|
resource_arn: context.params[:resource_arn],
|
221
133
|
)
|
222
134
|
end
|
@@ -224,149 +136,89 @@ module Aws::Kinesis
|
|
224
136
|
|
225
137
|
class GetShardIterator
|
226
138
|
def self.build(context)
|
227
|
-
Aws::Kinesis::EndpointParameters.
|
228
|
-
|
229
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
230
|
-
use_fips: context.config.use_fips_endpoint,
|
231
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
139
|
+
Aws::Kinesis::EndpointParameters.create(
|
140
|
+
context.config,
|
232
141
|
stream_arn: context.params[:stream_arn],
|
233
142
|
operation_type: "data",
|
234
|
-
consumer_arn: nil,
|
235
|
-
resource_arn: nil,
|
236
143
|
)
|
237
144
|
end
|
238
145
|
end
|
239
146
|
|
240
147
|
class IncreaseStreamRetentionPeriod
|
241
148
|
def self.build(context)
|
242
|
-
Aws::Kinesis::EndpointParameters.
|
243
|
-
|
244
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
245
|
-
use_fips: context.config.use_fips_endpoint,
|
246
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
149
|
+
Aws::Kinesis::EndpointParameters.create(
|
150
|
+
context.config,
|
247
151
|
stream_arn: context.params[:stream_arn],
|
248
152
|
operation_type: "control",
|
249
|
-
consumer_arn: nil,
|
250
|
-
resource_arn: nil,
|
251
153
|
)
|
252
154
|
end
|
253
155
|
end
|
254
156
|
|
255
157
|
class ListShards
|
256
158
|
def self.build(context)
|
257
|
-
Aws::Kinesis::EndpointParameters.
|
258
|
-
|
259
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
-
use_fips: context.config.use_fips_endpoint,
|
261
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
159
|
+
Aws::Kinesis::EndpointParameters.create(
|
160
|
+
context.config,
|
262
161
|
stream_arn: context.params[:stream_arn],
|
263
162
|
operation_type: "control",
|
264
|
-
consumer_arn: nil,
|
265
|
-
resource_arn: nil,
|
266
163
|
)
|
267
164
|
end
|
268
165
|
end
|
269
166
|
|
270
167
|
class ListStreamConsumers
|
271
168
|
def self.build(context)
|
272
|
-
Aws::Kinesis::EndpointParameters.
|
273
|
-
|
274
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
275
|
-
use_fips: context.config.use_fips_endpoint,
|
276
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
169
|
+
Aws::Kinesis::EndpointParameters.create(
|
170
|
+
context.config,
|
277
171
|
stream_arn: context.params[:stream_arn],
|
278
172
|
operation_type: "control",
|
279
|
-
consumer_arn: nil,
|
280
|
-
resource_arn: nil,
|
281
|
-
)
|
282
|
-
end
|
283
|
-
end
|
284
|
-
|
285
|
-
class ListStreams
|
286
|
-
def self.build(context)
|
287
|
-
Aws::Kinesis::EndpointParameters.new(
|
288
|
-
region: context.config.region,
|
289
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
290
|
-
use_fips: context.config.use_fips_endpoint,
|
291
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
292
|
-
stream_arn: nil,
|
293
|
-
operation_type: nil,
|
294
|
-
consumer_arn: nil,
|
295
|
-
resource_arn: nil,
|
296
173
|
)
|
297
174
|
end
|
298
175
|
end
|
299
176
|
|
300
177
|
class ListTagsForStream
|
301
178
|
def self.build(context)
|
302
|
-
Aws::Kinesis::EndpointParameters.
|
303
|
-
|
304
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
305
|
-
use_fips: context.config.use_fips_endpoint,
|
306
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
179
|
+
Aws::Kinesis::EndpointParameters.create(
|
180
|
+
context.config,
|
307
181
|
stream_arn: context.params[:stream_arn],
|
308
182
|
operation_type: "control",
|
309
|
-
consumer_arn: nil,
|
310
|
-
resource_arn: nil,
|
311
183
|
)
|
312
184
|
end
|
313
185
|
end
|
314
186
|
|
315
187
|
class MergeShards
|
316
188
|
def self.build(context)
|
317
|
-
Aws::Kinesis::EndpointParameters.
|
318
|
-
|
319
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
320
|
-
use_fips: context.config.use_fips_endpoint,
|
321
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
189
|
+
Aws::Kinesis::EndpointParameters.create(
|
190
|
+
context.config,
|
322
191
|
stream_arn: context.params[:stream_arn],
|
323
192
|
operation_type: "control",
|
324
|
-
consumer_arn: nil,
|
325
|
-
resource_arn: nil,
|
326
193
|
)
|
327
194
|
end
|
328
195
|
end
|
329
196
|
|
330
197
|
class PutRecord
|
331
198
|
def self.build(context)
|
332
|
-
Aws::Kinesis::EndpointParameters.
|
333
|
-
|
334
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
335
|
-
use_fips: context.config.use_fips_endpoint,
|
336
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
199
|
+
Aws::Kinesis::EndpointParameters.create(
|
200
|
+
context.config,
|
337
201
|
stream_arn: context.params[:stream_arn],
|
338
202
|
operation_type: "data",
|
339
|
-
consumer_arn: nil,
|
340
|
-
resource_arn: nil,
|
341
203
|
)
|
342
204
|
end
|
343
205
|
end
|
344
206
|
|
345
207
|
class PutRecords
|
346
208
|
def self.build(context)
|
347
|
-
Aws::Kinesis::EndpointParameters.
|
348
|
-
|
349
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
350
|
-
use_fips: context.config.use_fips_endpoint,
|
351
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
209
|
+
Aws::Kinesis::EndpointParameters.create(
|
210
|
+
context.config,
|
352
211
|
stream_arn: context.params[:stream_arn],
|
353
212
|
operation_type: "data",
|
354
|
-
consumer_arn: nil,
|
355
|
-
resource_arn: nil,
|
356
213
|
)
|
357
214
|
end
|
358
215
|
end
|
359
216
|
|
360
217
|
class PutResourcePolicy
|
361
218
|
def self.build(context)
|
362
|
-
Aws::Kinesis::EndpointParameters.
|
363
|
-
|
364
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
365
|
-
use_fips: context.config.use_fips_endpoint,
|
366
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
367
|
-
stream_arn: nil,
|
219
|
+
Aws::Kinesis::EndpointParameters.create(
|
220
|
+
context.config,
|
368
221
|
operation_type: "control",
|
369
|
-
consumer_arn: nil,
|
370
222
|
resource_arn: context.params[:resource_arn],
|
371
223
|
)
|
372
224
|
end
|
@@ -374,123 +226,148 @@ module Aws::Kinesis
|
|
374
226
|
|
375
227
|
class RegisterStreamConsumer
|
376
228
|
def self.build(context)
|
377
|
-
Aws::Kinesis::EndpointParameters.
|
378
|
-
|
379
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
380
|
-
use_fips: context.config.use_fips_endpoint,
|
381
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
229
|
+
Aws::Kinesis::EndpointParameters.create(
|
230
|
+
context.config,
|
382
231
|
stream_arn: context.params[:stream_arn],
|
383
232
|
operation_type: "control",
|
384
|
-
consumer_arn: nil,
|
385
|
-
resource_arn: nil,
|
386
233
|
)
|
387
234
|
end
|
388
235
|
end
|
389
236
|
|
390
237
|
class RemoveTagsFromStream
|
391
238
|
def self.build(context)
|
392
|
-
Aws::Kinesis::EndpointParameters.
|
393
|
-
|
394
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
395
|
-
use_fips: context.config.use_fips_endpoint,
|
396
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
239
|
+
Aws::Kinesis::EndpointParameters.create(
|
240
|
+
context.config,
|
397
241
|
stream_arn: context.params[:stream_arn],
|
398
242
|
operation_type: "control",
|
399
|
-
consumer_arn: nil,
|
400
|
-
resource_arn: nil,
|
401
243
|
)
|
402
244
|
end
|
403
245
|
end
|
404
246
|
|
405
247
|
class SplitShard
|
406
248
|
def self.build(context)
|
407
|
-
Aws::Kinesis::EndpointParameters.
|
408
|
-
|
409
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
410
|
-
use_fips: context.config.use_fips_endpoint,
|
411
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
249
|
+
Aws::Kinesis::EndpointParameters.create(
|
250
|
+
context.config,
|
412
251
|
stream_arn: context.params[:stream_arn],
|
413
252
|
operation_type: "control",
|
414
|
-
consumer_arn: nil,
|
415
|
-
resource_arn: nil,
|
416
253
|
)
|
417
254
|
end
|
418
255
|
end
|
419
256
|
|
420
257
|
class StartStreamEncryption
|
421
258
|
def self.build(context)
|
422
|
-
Aws::Kinesis::EndpointParameters.
|
423
|
-
|
424
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
425
|
-
use_fips: context.config.use_fips_endpoint,
|
426
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
259
|
+
Aws::Kinesis::EndpointParameters.create(
|
260
|
+
context.config,
|
427
261
|
stream_arn: context.params[:stream_arn],
|
428
262
|
operation_type: "control",
|
429
|
-
consumer_arn: nil,
|
430
|
-
resource_arn: nil,
|
431
263
|
)
|
432
264
|
end
|
433
265
|
end
|
434
266
|
|
435
267
|
class StopStreamEncryption
|
436
268
|
def self.build(context)
|
437
|
-
Aws::Kinesis::EndpointParameters.
|
438
|
-
|
439
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
440
|
-
use_fips: context.config.use_fips_endpoint,
|
441
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
269
|
+
Aws::Kinesis::EndpointParameters.create(
|
270
|
+
context.config,
|
442
271
|
stream_arn: context.params[:stream_arn],
|
443
272
|
operation_type: "control",
|
444
|
-
consumer_arn: nil,
|
445
|
-
resource_arn: nil,
|
446
273
|
)
|
447
274
|
end
|
448
275
|
end
|
449
276
|
|
450
277
|
class SubscribeToShard
|
451
278
|
def self.build(context)
|
452
|
-
Aws::Kinesis::EndpointParameters.
|
453
|
-
|
454
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
455
|
-
use_fips: context.config.use_fips_endpoint,
|
456
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
457
|
-
stream_arn: nil,
|
279
|
+
Aws::Kinesis::EndpointParameters.create(
|
280
|
+
context.config,
|
458
281
|
operation_type: "data",
|
459
282
|
consumer_arn: context.params[:consumer_arn],
|
460
|
-
resource_arn: nil,
|
461
283
|
)
|
462
284
|
end
|
463
285
|
end
|
464
286
|
|
465
287
|
class UpdateShardCount
|
466
288
|
def self.build(context)
|
467
|
-
Aws::Kinesis::EndpointParameters.
|
468
|
-
|
469
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
470
|
-
use_fips: context.config.use_fips_endpoint,
|
471
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
289
|
+
Aws::Kinesis::EndpointParameters.create(
|
290
|
+
context.config,
|
472
291
|
stream_arn: context.params[:stream_arn],
|
473
292
|
operation_type: "control",
|
474
|
-
consumer_arn: nil,
|
475
|
-
resource_arn: nil,
|
476
293
|
)
|
477
294
|
end
|
478
295
|
end
|
479
296
|
|
480
297
|
class UpdateStreamMode
|
481
298
|
def self.build(context)
|
482
|
-
Aws::Kinesis::EndpointParameters.
|
483
|
-
|
484
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
485
|
-
use_fips: context.config.use_fips_endpoint,
|
486
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
299
|
+
Aws::Kinesis::EndpointParameters.create(
|
300
|
+
context.config,
|
487
301
|
stream_arn: context.params[:stream_arn],
|
488
302
|
operation_type: "control",
|
489
|
-
consumer_arn: nil,
|
490
|
-
resource_arn: nil,
|
491
303
|
)
|
492
304
|
end
|
493
305
|
end
|
494
306
|
|
307
|
+
|
308
|
+
def self.parameters_for_operation(context)
|
309
|
+
case context.operation_name
|
310
|
+
when :add_tags_to_stream
|
311
|
+
AddTagsToStream.build(context)
|
312
|
+
when :decrease_stream_retention_period
|
313
|
+
DecreaseStreamRetentionPeriod.build(context)
|
314
|
+
when :delete_resource_policy
|
315
|
+
DeleteResourcePolicy.build(context)
|
316
|
+
when :delete_stream
|
317
|
+
DeleteStream.build(context)
|
318
|
+
when :deregister_stream_consumer
|
319
|
+
DeregisterStreamConsumer.build(context)
|
320
|
+
when :describe_stream
|
321
|
+
DescribeStream.build(context)
|
322
|
+
when :describe_stream_consumer
|
323
|
+
DescribeStreamConsumer.build(context)
|
324
|
+
when :describe_stream_summary
|
325
|
+
DescribeStreamSummary.build(context)
|
326
|
+
when :disable_enhanced_monitoring
|
327
|
+
DisableEnhancedMonitoring.build(context)
|
328
|
+
when :enable_enhanced_monitoring
|
329
|
+
EnableEnhancedMonitoring.build(context)
|
330
|
+
when :get_records
|
331
|
+
GetRecords.build(context)
|
332
|
+
when :get_resource_policy
|
333
|
+
GetResourcePolicy.build(context)
|
334
|
+
when :get_shard_iterator
|
335
|
+
GetShardIterator.build(context)
|
336
|
+
when :increase_stream_retention_period
|
337
|
+
IncreaseStreamRetentionPeriod.build(context)
|
338
|
+
when :list_shards
|
339
|
+
ListShards.build(context)
|
340
|
+
when :list_stream_consumers
|
341
|
+
ListStreamConsumers.build(context)
|
342
|
+
when :list_tags_for_stream
|
343
|
+
ListTagsForStream.build(context)
|
344
|
+
when :merge_shards
|
345
|
+
MergeShards.build(context)
|
346
|
+
when :put_record
|
347
|
+
PutRecord.build(context)
|
348
|
+
when :put_records
|
349
|
+
PutRecords.build(context)
|
350
|
+
when :put_resource_policy
|
351
|
+
PutResourcePolicy.build(context)
|
352
|
+
when :register_stream_consumer
|
353
|
+
RegisterStreamConsumer.build(context)
|
354
|
+
when :remove_tags_from_stream
|
355
|
+
RemoveTagsFromStream.build(context)
|
356
|
+
when :split_shard
|
357
|
+
SplitShard.build(context)
|
358
|
+
when :start_stream_encryption
|
359
|
+
StartStreamEncryption.build(context)
|
360
|
+
when :stop_stream_encryption
|
361
|
+
StopStreamEncryption.build(context)
|
362
|
+
when :subscribe_to_shard
|
363
|
+
SubscribeToShard.build(context)
|
364
|
+
when :update_shard_count
|
365
|
+
UpdateShardCount.build(context)
|
366
|
+
when :update_stream_mode
|
367
|
+
UpdateStreamMode.build(context)
|
368
|
+
else
|
369
|
+
Aws::Kinesis::EndpointParameters.create(context.config)
|
370
|
+
end
|
371
|
+
end
|
495
372
|
end
|
496
373
|
end
|
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::Kinesis::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,75 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :add_tags_to_stream
|
74
|
-
Aws::Kinesis::Endpoints::AddTagsToStream.build(context)
|
75
|
-
when :create_stream
|
76
|
-
Aws::Kinesis::Endpoints::CreateStream.build(context)
|
77
|
-
when :decrease_stream_retention_period
|
78
|
-
Aws::Kinesis::Endpoints::DecreaseStreamRetentionPeriod.build(context)
|
79
|
-
when :delete_resource_policy
|
80
|
-
Aws::Kinesis::Endpoints::DeleteResourcePolicy.build(context)
|
81
|
-
when :delete_stream
|
82
|
-
Aws::Kinesis::Endpoints::DeleteStream.build(context)
|
83
|
-
when :deregister_stream_consumer
|
84
|
-
Aws::Kinesis::Endpoints::DeregisterStreamConsumer.build(context)
|
85
|
-
when :describe_limits
|
86
|
-
Aws::Kinesis::Endpoints::DescribeLimits.build(context)
|
87
|
-
when :describe_stream
|
88
|
-
Aws::Kinesis::Endpoints::DescribeStream.build(context)
|
89
|
-
when :describe_stream_consumer
|
90
|
-
Aws::Kinesis::Endpoints::DescribeStreamConsumer.build(context)
|
91
|
-
when :describe_stream_summary
|
92
|
-
Aws::Kinesis::Endpoints::DescribeStreamSummary.build(context)
|
93
|
-
when :disable_enhanced_monitoring
|
94
|
-
Aws::Kinesis::Endpoints::DisableEnhancedMonitoring.build(context)
|
95
|
-
when :enable_enhanced_monitoring
|
96
|
-
Aws::Kinesis::Endpoints::EnableEnhancedMonitoring.build(context)
|
97
|
-
when :get_records
|
98
|
-
Aws::Kinesis::Endpoints::GetRecords.build(context)
|
99
|
-
when :get_resource_policy
|
100
|
-
Aws::Kinesis::Endpoints::GetResourcePolicy.build(context)
|
101
|
-
when :get_shard_iterator
|
102
|
-
Aws::Kinesis::Endpoints::GetShardIterator.build(context)
|
103
|
-
when :increase_stream_retention_period
|
104
|
-
Aws::Kinesis::Endpoints::IncreaseStreamRetentionPeriod.build(context)
|
105
|
-
when :list_shards
|
106
|
-
Aws::Kinesis::Endpoints::ListShards.build(context)
|
107
|
-
when :list_stream_consumers
|
108
|
-
Aws::Kinesis::Endpoints::ListStreamConsumers.build(context)
|
109
|
-
when :list_streams
|
110
|
-
Aws::Kinesis::Endpoints::ListStreams.build(context)
|
111
|
-
when :list_tags_for_stream
|
112
|
-
Aws::Kinesis::Endpoints::ListTagsForStream.build(context)
|
113
|
-
when :merge_shards
|
114
|
-
Aws::Kinesis::Endpoints::MergeShards.build(context)
|
115
|
-
when :put_record
|
116
|
-
Aws::Kinesis::Endpoints::PutRecord.build(context)
|
117
|
-
when :put_records
|
118
|
-
Aws::Kinesis::Endpoints::PutRecords.build(context)
|
119
|
-
when :put_resource_policy
|
120
|
-
Aws::Kinesis::Endpoints::PutResourcePolicy.build(context)
|
121
|
-
when :register_stream_consumer
|
122
|
-
Aws::Kinesis::Endpoints::RegisterStreamConsumer.build(context)
|
123
|
-
when :remove_tags_from_stream
|
124
|
-
Aws::Kinesis::Endpoints::RemoveTagsFromStream.build(context)
|
125
|
-
when :split_shard
|
126
|
-
Aws::Kinesis::Endpoints::SplitShard.build(context)
|
127
|
-
when :start_stream_encryption
|
128
|
-
Aws::Kinesis::Endpoints::StartStreamEncryption.build(context)
|
129
|
-
when :stop_stream_encryption
|
130
|
-
Aws::Kinesis::Endpoints::StopStreamEncryption.build(context)
|
131
|
-
when :subscribe_to_shard
|
132
|
-
Aws::Kinesis::Endpoints::SubscribeToShard.build(context)
|
133
|
-
when :update_shard_count
|
134
|
-
Aws::Kinesis::Endpoints::UpdateShardCount.build(context)
|
135
|
-
when :update_stream_mode
|
136
|
-
Aws::Kinesis::Endpoints::UpdateStreamMode.build(context)
|
137
|
-
end
|
138
|
-
end
|
139
70
|
end
|
140
71
|
|
141
72
|
def add_handlers(handlers, _config)
|
data/lib/aws-sdk-kinesis.rb
CHANGED
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.71.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: 2024-
|
11
|
+
date: 2024-11-06 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.210.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.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|