aws-sdk-kinesis 1.65.0 → 1.66.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kinesis/async_client.rb +1 -1
- data/lib/aws-sdk-kinesis/client.rb +1 -1
- data/lib/aws-sdk-kinesis/endpoints.rb +32 -128
- data/lib/aws-sdk-kinesis/plugins/endpoints.rb +10 -1
- 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: 392577945a075c3c49ecdd6b30f05c0f3226d7891bb42d7b8847d5a1c60c5c19
|
4
|
+
data.tar.gz: 1d429e8e4532d8046295312e4a83e7691e489d8552dede3c3f81aa40cf66aa45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c845d1ed928b143b0ec374fb8a5ab36ec4ada5475c8ac6d522d6225c0b506037b9aaa124e2e6ae37dfa7bdb04397fdba9740e752fd3c9c6e5224d59640146538
|
7
|
+
data.tar.gz: 586c992bd6bc55f3c8adacf23642ec33845b4f2a37605bd05e00806fee2675e8a7d4a15068c379fec88da14af4d5357ec202757015f7fa5fb6af9054d162b196
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.66.0
|
@@ -14,14 +14,11 @@ module Aws::Kinesis
|
|
14
14
|
|
15
15
|
class AddTagsToStream
|
16
16
|
def self.build(context)
|
17
|
-
unless context.config.regional_endpoint
|
18
|
-
endpoint = context.config.endpoint.to_s
|
19
|
-
end
|
20
17
|
Aws::Kinesis::EndpointParameters.new(
|
21
18
|
region: context.config.region,
|
22
19
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
23
20
|
use_fips: context.config.use_fips_endpoint,
|
24
|
-
endpoint: endpoint,
|
21
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
25
22
|
stream_arn: context.params[:stream_arn],
|
26
23
|
operation_type: "control",
|
27
24
|
consumer_arn: nil,
|
@@ -32,14 +29,11 @@ module Aws::Kinesis
|
|
32
29
|
|
33
30
|
class CreateStream
|
34
31
|
def self.build(context)
|
35
|
-
unless context.config.regional_endpoint
|
36
|
-
endpoint = context.config.endpoint.to_s
|
37
|
-
end
|
38
32
|
Aws::Kinesis::EndpointParameters.new(
|
39
33
|
region: context.config.region,
|
40
34
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
41
35
|
use_fips: context.config.use_fips_endpoint,
|
42
|
-
endpoint: endpoint,
|
36
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
43
37
|
stream_arn: nil,
|
44
38
|
operation_type: nil,
|
45
39
|
consumer_arn: nil,
|
@@ -50,14 +44,11 @@ module Aws::Kinesis
|
|
50
44
|
|
51
45
|
class DecreaseStreamRetentionPeriod
|
52
46
|
def self.build(context)
|
53
|
-
unless context.config.regional_endpoint
|
54
|
-
endpoint = context.config.endpoint.to_s
|
55
|
-
end
|
56
47
|
Aws::Kinesis::EndpointParameters.new(
|
57
48
|
region: context.config.region,
|
58
49
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
59
50
|
use_fips: context.config.use_fips_endpoint,
|
60
|
-
endpoint: endpoint,
|
51
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
61
52
|
stream_arn: context.params[:stream_arn],
|
62
53
|
operation_type: "control",
|
63
54
|
consumer_arn: nil,
|
@@ -68,14 +59,11 @@ module Aws::Kinesis
|
|
68
59
|
|
69
60
|
class DeleteResourcePolicy
|
70
61
|
def self.build(context)
|
71
|
-
unless context.config.regional_endpoint
|
72
|
-
endpoint = context.config.endpoint.to_s
|
73
|
-
end
|
74
62
|
Aws::Kinesis::EndpointParameters.new(
|
75
63
|
region: context.config.region,
|
76
64
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
77
65
|
use_fips: context.config.use_fips_endpoint,
|
78
|
-
endpoint: endpoint,
|
66
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
79
67
|
stream_arn: nil,
|
80
68
|
operation_type: "control",
|
81
69
|
consumer_arn: nil,
|
@@ -86,14 +74,11 @@ module Aws::Kinesis
|
|
86
74
|
|
87
75
|
class DeleteStream
|
88
76
|
def self.build(context)
|
89
|
-
unless context.config.regional_endpoint
|
90
|
-
endpoint = context.config.endpoint.to_s
|
91
|
-
end
|
92
77
|
Aws::Kinesis::EndpointParameters.new(
|
93
78
|
region: context.config.region,
|
94
79
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
95
80
|
use_fips: context.config.use_fips_endpoint,
|
96
|
-
endpoint: endpoint,
|
81
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
97
82
|
stream_arn: context.params[:stream_arn],
|
98
83
|
operation_type: "control",
|
99
84
|
consumer_arn: nil,
|
@@ -104,14 +89,11 @@ module Aws::Kinesis
|
|
104
89
|
|
105
90
|
class DeregisterStreamConsumer
|
106
91
|
def self.build(context)
|
107
|
-
unless context.config.regional_endpoint
|
108
|
-
endpoint = context.config.endpoint.to_s
|
109
|
-
end
|
110
92
|
Aws::Kinesis::EndpointParameters.new(
|
111
93
|
region: context.config.region,
|
112
94
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
113
95
|
use_fips: context.config.use_fips_endpoint,
|
114
|
-
endpoint: endpoint,
|
96
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
115
97
|
stream_arn: context.params[:stream_arn],
|
116
98
|
operation_type: "control",
|
117
99
|
consumer_arn: context.params[:consumer_arn],
|
@@ -122,14 +104,11 @@ module Aws::Kinesis
|
|
122
104
|
|
123
105
|
class DescribeLimits
|
124
106
|
def self.build(context)
|
125
|
-
unless context.config.regional_endpoint
|
126
|
-
endpoint = context.config.endpoint.to_s
|
127
|
-
end
|
128
107
|
Aws::Kinesis::EndpointParameters.new(
|
129
108
|
region: context.config.region,
|
130
109
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
131
110
|
use_fips: context.config.use_fips_endpoint,
|
132
|
-
endpoint: endpoint,
|
111
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
133
112
|
stream_arn: nil,
|
134
113
|
operation_type: nil,
|
135
114
|
consumer_arn: nil,
|
@@ -140,14 +119,11 @@ module Aws::Kinesis
|
|
140
119
|
|
141
120
|
class DescribeStream
|
142
121
|
def self.build(context)
|
143
|
-
unless context.config.regional_endpoint
|
144
|
-
endpoint = context.config.endpoint.to_s
|
145
|
-
end
|
146
122
|
Aws::Kinesis::EndpointParameters.new(
|
147
123
|
region: context.config.region,
|
148
124
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
149
125
|
use_fips: context.config.use_fips_endpoint,
|
150
|
-
endpoint: endpoint,
|
126
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
151
127
|
stream_arn: context.params[:stream_arn],
|
152
128
|
operation_type: "control",
|
153
129
|
consumer_arn: nil,
|
@@ -158,14 +134,11 @@ module Aws::Kinesis
|
|
158
134
|
|
159
135
|
class DescribeStreamConsumer
|
160
136
|
def self.build(context)
|
161
|
-
unless context.config.regional_endpoint
|
162
|
-
endpoint = context.config.endpoint.to_s
|
163
|
-
end
|
164
137
|
Aws::Kinesis::EndpointParameters.new(
|
165
138
|
region: context.config.region,
|
166
139
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
167
140
|
use_fips: context.config.use_fips_endpoint,
|
168
|
-
endpoint: endpoint,
|
141
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
169
142
|
stream_arn: context.params[:stream_arn],
|
170
143
|
operation_type: "control",
|
171
144
|
consumer_arn: context.params[:consumer_arn],
|
@@ -176,14 +149,11 @@ module Aws::Kinesis
|
|
176
149
|
|
177
150
|
class DescribeStreamSummary
|
178
151
|
def self.build(context)
|
179
|
-
unless context.config.regional_endpoint
|
180
|
-
endpoint = context.config.endpoint.to_s
|
181
|
-
end
|
182
152
|
Aws::Kinesis::EndpointParameters.new(
|
183
153
|
region: context.config.region,
|
184
154
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
185
155
|
use_fips: context.config.use_fips_endpoint,
|
186
|
-
endpoint: endpoint,
|
156
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
187
157
|
stream_arn: context.params[:stream_arn],
|
188
158
|
operation_type: "control",
|
189
159
|
consumer_arn: nil,
|
@@ -194,14 +164,11 @@ module Aws::Kinesis
|
|
194
164
|
|
195
165
|
class DisableEnhancedMonitoring
|
196
166
|
def self.build(context)
|
197
|
-
unless context.config.regional_endpoint
|
198
|
-
endpoint = context.config.endpoint.to_s
|
199
|
-
end
|
200
167
|
Aws::Kinesis::EndpointParameters.new(
|
201
168
|
region: context.config.region,
|
202
169
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
203
170
|
use_fips: context.config.use_fips_endpoint,
|
204
|
-
endpoint: endpoint,
|
171
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
205
172
|
stream_arn: context.params[:stream_arn],
|
206
173
|
operation_type: "control",
|
207
174
|
consumer_arn: nil,
|
@@ -212,14 +179,11 @@ module Aws::Kinesis
|
|
212
179
|
|
213
180
|
class EnableEnhancedMonitoring
|
214
181
|
def self.build(context)
|
215
|
-
unless context.config.regional_endpoint
|
216
|
-
endpoint = context.config.endpoint.to_s
|
217
|
-
end
|
218
182
|
Aws::Kinesis::EndpointParameters.new(
|
219
183
|
region: context.config.region,
|
220
184
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
221
185
|
use_fips: context.config.use_fips_endpoint,
|
222
|
-
endpoint: endpoint,
|
186
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
223
187
|
stream_arn: context.params[:stream_arn],
|
224
188
|
operation_type: "control",
|
225
189
|
consumer_arn: nil,
|
@@ -230,14 +194,11 @@ module Aws::Kinesis
|
|
230
194
|
|
231
195
|
class GetRecords
|
232
196
|
def self.build(context)
|
233
|
-
unless context.config.regional_endpoint
|
234
|
-
endpoint = context.config.endpoint.to_s
|
235
|
-
end
|
236
197
|
Aws::Kinesis::EndpointParameters.new(
|
237
198
|
region: context.config.region,
|
238
199
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
239
200
|
use_fips: context.config.use_fips_endpoint,
|
240
|
-
endpoint: endpoint,
|
201
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
241
202
|
stream_arn: context.params[:stream_arn],
|
242
203
|
operation_type: "data",
|
243
204
|
consumer_arn: nil,
|
@@ -248,14 +209,11 @@ module Aws::Kinesis
|
|
248
209
|
|
249
210
|
class GetResourcePolicy
|
250
211
|
def self.build(context)
|
251
|
-
unless context.config.regional_endpoint
|
252
|
-
endpoint = context.config.endpoint.to_s
|
253
|
-
end
|
254
212
|
Aws::Kinesis::EndpointParameters.new(
|
255
213
|
region: context.config.region,
|
256
214
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
257
215
|
use_fips: context.config.use_fips_endpoint,
|
258
|
-
endpoint: endpoint,
|
216
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
259
217
|
stream_arn: nil,
|
260
218
|
operation_type: "control",
|
261
219
|
consumer_arn: nil,
|
@@ -266,14 +224,11 @@ module Aws::Kinesis
|
|
266
224
|
|
267
225
|
class GetShardIterator
|
268
226
|
def self.build(context)
|
269
|
-
unless context.config.regional_endpoint
|
270
|
-
endpoint = context.config.endpoint.to_s
|
271
|
-
end
|
272
227
|
Aws::Kinesis::EndpointParameters.new(
|
273
228
|
region: context.config.region,
|
274
229
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
275
230
|
use_fips: context.config.use_fips_endpoint,
|
276
|
-
endpoint: endpoint,
|
231
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
277
232
|
stream_arn: context.params[:stream_arn],
|
278
233
|
operation_type: "data",
|
279
234
|
consumer_arn: nil,
|
@@ -284,14 +239,11 @@ module Aws::Kinesis
|
|
284
239
|
|
285
240
|
class IncreaseStreamRetentionPeriod
|
286
241
|
def self.build(context)
|
287
|
-
unless context.config.regional_endpoint
|
288
|
-
endpoint = context.config.endpoint.to_s
|
289
|
-
end
|
290
242
|
Aws::Kinesis::EndpointParameters.new(
|
291
243
|
region: context.config.region,
|
292
244
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
293
245
|
use_fips: context.config.use_fips_endpoint,
|
294
|
-
endpoint: endpoint,
|
246
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
295
247
|
stream_arn: context.params[:stream_arn],
|
296
248
|
operation_type: "control",
|
297
249
|
consumer_arn: nil,
|
@@ -302,14 +254,11 @@ module Aws::Kinesis
|
|
302
254
|
|
303
255
|
class ListShards
|
304
256
|
def self.build(context)
|
305
|
-
unless context.config.regional_endpoint
|
306
|
-
endpoint = context.config.endpoint.to_s
|
307
|
-
end
|
308
257
|
Aws::Kinesis::EndpointParameters.new(
|
309
258
|
region: context.config.region,
|
310
259
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
311
260
|
use_fips: context.config.use_fips_endpoint,
|
312
|
-
endpoint: endpoint,
|
261
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
313
262
|
stream_arn: context.params[:stream_arn],
|
314
263
|
operation_type: "control",
|
315
264
|
consumer_arn: nil,
|
@@ -320,14 +269,11 @@ module Aws::Kinesis
|
|
320
269
|
|
321
270
|
class ListStreamConsumers
|
322
271
|
def self.build(context)
|
323
|
-
unless context.config.regional_endpoint
|
324
|
-
endpoint = context.config.endpoint.to_s
|
325
|
-
end
|
326
272
|
Aws::Kinesis::EndpointParameters.new(
|
327
273
|
region: context.config.region,
|
328
274
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
329
275
|
use_fips: context.config.use_fips_endpoint,
|
330
|
-
endpoint: endpoint,
|
276
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
331
277
|
stream_arn: context.params[:stream_arn],
|
332
278
|
operation_type: "control",
|
333
279
|
consumer_arn: nil,
|
@@ -338,14 +284,11 @@ module Aws::Kinesis
|
|
338
284
|
|
339
285
|
class ListStreams
|
340
286
|
def self.build(context)
|
341
|
-
unless context.config.regional_endpoint
|
342
|
-
endpoint = context.config.endpoint.to_s
|
343
|
-
end
|
344
287
|
Aws::Kinesis::EndpointParameters.new(
|
345
288
|
region: context.config.region,
|
346
289
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
347
290
|
use_fips: context.config.use_fips_endpoint,
|
348
|
-
endpoint: endpoint,
|
291
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
349
292
|
stream_arn: nil,
|
350
293
|
operation_type: nil,
|
351
294
|
consumer_arn: nil,
|
@@ -356,14 +299,11 @@ module Aws::Kinesis
|
|
356
299
|
|
357
300
|
class ListTagsForStream
|
358
301
|
def self.build(context)
|
359
|
-
unless context.config.regional_endpoint
|
360
|
-
endpoint = context.config.endpoint.to_s
|
361
|
-
end
|
362
302
|
Aws::Kinesis::EndpointParameters.new(
|
363
303
|
region: context.config.region,
|
364
304
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
365
305
|
use_fips: context.config.use_fips_endpoint,
|
366
|
-
endpoint: endpoint,
|
306
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
367
307
|
stream_arn: context.params[:stream_arn],
|
368
308
|
operation_type: "control",
|
369
309
|
consumer_arn: nil,
|
@@ -374,14 +314,11 @@ module Aws::Kinesis
|
|
374
314
|
|
375
315
|
class MergeShards
|
376
316
|
def self.build(context)
|
377
|
-
unless context.config.regional_endpoint
|
378
|
-
endpoint = context.config.endpoint.to_s
|
379
|
-
end
|
380
317
|
Aws::Kinesis::EndpointParameters.new(
|
381
318
|
region: context.config.region,
|
382
319
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
383
320
|
use_fips: context.config.use_fips_endpoint,
|
384
|
-
endpoint: endpoint,
|
321
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
385
322
|
stream_arn: context.params[:stream_arn],
|
386
323
|
operation_type: "control",
|
387
324
|
consumer_arn: nil,
|
@@ -392,14 +329,11 @@ module Aws::Kinesis
|
|
392
329
|
|
393
330
|
class PutRecord
|
394
331
|
def self.build(context)
|
395
|
-
unless context.config.regional_endpoint
|
396
|
-
endpoint = context.config.endpoint.to_s
|
397
|
-
end
|
398
332
|
Aws::Kinesis::EndpointParameters.new(
|
399
333
|
region: context.config.region,
|
400
334
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
401
335
|
use_fips: context.config.use_fips_endpoint,
|
402
|
-
endpoint: endpoint,
|
336
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
403
337
|
stream_arn: context.params[:stream_arn],
|
404
338
|
operation_type: "data",
|
405
339
|
consumer_arn: nil,
|
@@ -410,14 +344,11 @@ module Aws::Kinesis
|
|
410
344
|
|
411
345
|
class PutRecords
|
412
346
|
def self.build(context)
|
413
|
-
unless context.config.regional_endpoint
|
414
|
-
endpoint = context.config.endpoint.to_s
|
415
|
-
end
|
416
347
|
Aws::Kinesis::EndpointParameters.new(
|
417
348
|
region: context.config.region,
|
418
349
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
419
350
|
use_fips: context.config.use_fips_endpoint,
|
420
|
-
endpoint: endpoint,
|
351
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
421
352
|
stream_arn: context.params[:stream_arn],
|
422
353
|
operation_type: "data",
|
423
354
|
consumer_arn: nil,
|
@@ -428,14 +359,11 @@ module Aws::Kinesis
|
|
428
359
|
|
429
360
|
class PutResourcePolicy
|
430
361
|
def self.build(context)
|
431
|
-
unless context.config.regional_endpoint
|
432
|
-
endpoint = context.config.endpoint.to_s
|
433
|
-
end
|
434
362
|
Aws::Kinesis::EndpointParameters.new(
|
435
363
|
region: context.config.region,
|
436
364
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
437
365
|
use_fips: context.config.use_fips_endpoint,
|
438
|
-
endpoint: endpoint,
|
366
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
439
367
|
stream_arn: nil,
|
440
368
|
operation_type: "control",
|
441
369
|
consumer_arn: nil,
|
@@ -446,14 +374,11 @@ module Aws::Kinesis
|
|
446
374
|
|
447
375
|
class RegisterStreamConsumer
|
448
376
|
def self.build(context)
|
449
|
-
unless context.config.regional_endpoint
|
450
|
-
endpoint = context.config.endpoint.to_s
|
451
|
-
end
|
452
377
|
Aws::Kinesis::EndpointParameters.new(
|
453
378
|
region: context.config.region,
|
454
379
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
455
380
|
use_fips: context.config.use_fips_endpoint,
|
456
|
-
endpoint: endpoint,
|
381
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
457
382
|
stream_arn: context.params[:stream_arn],
|
458
383
|
operation_type: "control",
|
459
384
|
consumer_arn: nil,
|
@@ -464,14 +389,11 @@ module Aws::Kinesis
|
|
464
389
|
|
465
390
|
class RemoveTagsFromStream
|
466
391
|
def self.build(context)
|
467
|
-
unless context.config.regional_endpoint
|
468
|
-
endpoint = context.config.endpoint.to_s
|
469
|
-
end
|
470
392
|
Aws::Kinesis::EndpointParameters.new(
|
471
393
|
region: context.config.region,
|
472
394
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
473
395
|
use_fips: context.config.use_fips_endpoint,
|
474
|
-
endpoint: endpoint,
|
396
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
475
397
|
stream_arn: context.params[:stream_arn],
|
476
398
|
operation_type: "control",
|
477
399
|
consumer_arn: nil,
|
@@ -482,14 +404,11 @@ module Aws::Kinesis
|
|
482
404
|
|
483
405
|
class SplitShard
|
484
406
|
def self.build(context)
|
485
|
-
unless context.config.regional_endpoint
|
486
|
-
endpoint = context.config.endpoint.to_s
|
487
|
-
end
|
488
407
|
Aws::Kinesis::EndpointParameters.new(
|
489
408
|
region: context.config.region,
|
490
409
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
491
410
|
use_fips: context.config.use_fips_endpoint,
|
492
|
-
endpoint: endpoint,
|
411
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
493
412
|
stream_arn: context.params[:stream_arn],
|
494
413
|
operation_type: "control",
|
495
414
|
consumer_arn: nil,
|
@@ -500,14 +419,11 @@ module Aws::Kinesis
|
|
500
419
|
|
501
420
|
class StartStreamEncryption
|
502
421
|
def self.build(context)
|
503
|
-
unless context.config.regional_endpoint
|
504
|
-
endpoint = context.config.endpoint.to_s
|
505
|
-
end
|
506
422
|
Aws::Kinesis::EndpointParameters.new(
|
507
423
|
region: context.config.region,
|
508
424
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
509
425
|
use_fips: context.config.use_fips_endpoint,
|
510
|
-
endpoint: endpoint,
|
426
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
511
427
|
stream_arn: context.params[:stream_arn],
|
512
428
|
operation_type: "control",
|
513
429
|
consumer_arn: nil,
|
@@ -518,14 +434,11 @@ module Aws::Kinesis
|
|
518
434
|
|
519
435
|
class StopStreamEncryption
|
520
436
|
def self.build(context)
|
521
|
-
unless context.config.regional_endpoint
|
522
|
-
endpoint = context.config.endpoint.to_s
|
523
|
-
end
|
524
437
|
Aws::Kinesis::EndpointParameters.new(
|
525
438
|
region: context.config.region,
|
526
439
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
527
440
|
use_fips: context.config.use_fips_endpoint,
|
528
|
-
endpoint: endpoint,
|
441
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
529
442
|
stream_arn: context.params[:stream_arn],
|
530
443
|
operation_type: "control",
|
531
444
|
consumer_arn: nil,
|
@@ -536,14 +449,11 @@ module Aws::Kinesis
|
|
536
449
|
|
537
450
|
class SubscribeToShard
|
538
451
|
def self.build(context)
|
539
|
-
unless context.config.regional_endpoint
|
540
|
-
endpoint = context.config.endpoint.to_s
|
541
|
-
end
|
542
452
|
Aws::Kinesis::EndpointParameters.new(
|
543
453
|
region: context.config.region,
|
544
454
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
545
455
|
use_fips: context.config.use_fips_endpoint,
|
546
|
-
endpoint: endpoint,
|
456
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
547
457
|
stream_arn: nil,
|
548
458
|
operation_type: "data",
|
549
459
|
consumer_arn: context.params[:consumer_arn],
|
@@ -554,14 +464,11 @@ module Aws::Kinesis
|
|
554
464
|
|
555
465
|
class UpdateShardCount
|
556
466
|
def self.build(context)
|
557
|
-
unless context.config.regional_endpoint
|
558
|
-
endpoint = context.config.endpoint.to_s
|
559
|
-
end
|
560
467
|
Aws::Kinesis::EndpointParameters.new(
|
561
468
|
region: context.config.region,
|
562
469
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
563
470
|
use_fips: context.config.use_fips_endpoint,
|
564
|
-
endpoint: endpoint,
|
471
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
565
472
|
stream_arn: context.params[:stream_arn],
|
566
473
|
operation_type: "control",
|
567
474
|
consumer_arn: nil,
|
@@ -572,14 +479,11 @@ module Aws::Kinesis
|
|
572
479
|
|
573
480
|
class UpdateStreamMode
|
574
481
|
def self.build(context)
|
575
|
-
unless context.config.regional_endpoint
|
576
|
-
endpoint = context.config.endpoint.to_s
|
577
|
-
end
|
578
482
|
Aws::Kinesis::EndpointParameters.new(
|
579
483
|
region: context.config.region,
|
580
484
|
use_dual_stack: context.config.use_dualstack_endpoint,
|
581
485
|
use_fips: context.config.use_fips_endpoint,
|
582
|
-
endpoint: endpoint,
|
486
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
583
487
|
stream_arn: context.params[:stream_arn],
|
584
488
|
operation_type: "control",
|
585
489
|
consumer_arn: nil,
|
@@ -40,11 +40,20 @@ module Aws::Kinesis
|
|
40
40
|
context[:auth_scheme] =
|
41
41
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
42
42
|
|
43
|
-
@handler.call(context)
|
43
|
+
with_metrics(context) { @handler.call(context) }
|
44
44
|
end
|
45
45
|
|
46
46
|
private
|
47
47
|
|
48
|
+
def with_metrics(context, &block)
|
49
|
+
metrics = []
|
50
|
+
metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
|
51
|
+
if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
|
52
|
+
metrics << 'SIGV4A_SIGNING'
|
53
|
+
end
|
54
|
+
Aws::Plugins::UserAgent.metric(*metrics, &block)
|
55
|
+
end
|
56
|
+
|
48
57
|
def apply_endpoint_headers(context, headers)
|
49
58
|
headers.each do |key, values|
|
50
59
|
value = values
|
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.66.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-09-
|
11
|
+
date: 2024-09-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.205.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.205.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|