aws-sdk-kinesis 1.65.0 → 1.67.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ab460b1847a884545a2c42dea8d77b1caf6e1ff04e00ae8c071039cd7f4337d
4
- data.tar.gz: 8e9d7f751c8f5f0ddc4b581acdaaecb5813a33e6e342265020ae7dc8a1d84545
3
+ metadata.gz: 8a92561b05df89676963fadbe301a516abec730ac13668dd02f36432c6f3a56a
4
+ data.tar.gz: 54d535b537d94b74c4a90ec606cb9c964c12728228edd5400549124b73bd9e5e
5
5
  SHA512:
6
- metadata.gz: f464ea9fe185a5ad48b5909429dd8ce29888db961a291cc18905669f08633ee51b79b819feaa1d1e7728c14a332aedecaa6bab627271f1b31a224367d4012a56
7
- data.tar.gz: 5846f25165b476b2a90f2a08c0a0e85e9ba4bf47fdc95ecfc06209efd5ecca3f7018a8cc45aabf11eb9172b371495ee76cc709c5507e866c554a42484f5e809f
6
+ metadata.gz: 340013f1d311627b841395deedbda3c967584ff9faf35dfb998cfe20ab6d9ab5dd51d21820797b391aca70459f7d19896ed67c9cfe9d039c70a5f63f0d7bd1ad
7
+ data.tar.gz: 90bb3add0c0d09c3dcc2b80a02091a31f05b8ee5e74cbb48ffc12d90a7764515bbfa64f279e9134ce88b9d6c2f4e3ce385a521b8fa53b17a6688b65456ac2264
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.67.0 (2024-09-20)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.66.0 (2024-09-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.65.0 (2024-09-10)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.65.0
1
+ 1.67.0
@@ -102,13 +102,15 @@ module Aws::Kinesis
102
102
  # locations will be searched for credentials:
103
103
  #
104
104
  # * `Aws.config[:credentials]`
105
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
106
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
105
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
106
+ # `:account_id` options.
107
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
108
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
107
109
  # * `~/.aws/credentials`
108
110
  # * `~/.aws/config`
109
111
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
110
112
  # are very aggressive. Construct and pass an instance of
111
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
113
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
112
114
  # enable retries and extended timeouts. Instance profile credential
113
115
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
114
116
  # to true.
@@ -127,6 +129,8 @@ module Aws::Kinesis
127
129
  #
128
130
  # @option options [String] :access_key_id
129
131
  #
132
+ # @option options [String] :account_id
133
+ #
130
134
  # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
131
135
  # Used only in `adaptive` retry mode. When true, the request will sleep
132
136
  # until there is sufficent client side capacity to retry the request.
@@ -314,7 +318,9 @@ module Aws::Kinesis
314
318
  # sending the request.
315
319
  #
316
320
  # @option options [Aws::Kinesis::EndpointProvider] :endpoint_provider
317
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Kinesis::EndpointParameters`
321
+ # The endpoint provider used to resolve endpoints. Any object that responds to
322
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
323
+ # `Aws::Kinesis::EndpointParameters`.
318
324
  #
319
325
  # @option options [Integer] :connection_read_timeout (60)
320
326
  # Connection read timeout in seconds, defaults to 60 sec.
@@ -681,7 +687,7 @@ module Aws::Kinesis
681
687
  tracer: tracer
682
688
  )
683
689
  context[:gem_name] = 'aws-sdk-kinesis'
684
- context[:gem_version] = '1.65.0'
690
+ context[:gem_version] = '1.67.0'
685
691
  Seahorse::Client::Request.new(handlers, context)
686
692
  end
687
693
 
@@ -132,13 +132,15 @@ module Aws::Kinesis
132
132
  # locations will be searched for credentials:
133
133
  #
134
134
  # * `Aws.config[:credentials]`
135
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
136
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
135
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
136
+ # `:account_id` options.
137
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
138
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
137
139
  # * `~/.aws/credentials`
138
140
  # * `~/.aws/config`
139
141
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
140
142
  # are very aggressive. Construct and pass an instance of
141
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
143
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
142
144
  # enable retries and extended timeouts. Instance profile credential
143
145
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
144
146
  # to true.
@@ -157,6 +159,8 @@ module Aws::Kinesis
157
159
  #
158
160
  # @option options [String] :access_key_id
159
161
  #
162
+ # @option options [String] :account_id
163
+ #
160
164
  # @option options [Boolean] :active_endpoint_cache (false)
161
165
  # When set to `true`, a thread polling for endpoints will be running in
162
166
  # the background every 60 secs (default). Defaults to `false`.
@@ -387,7 +391,9 @@ module Aws::Kinesis
387
391
  # sending the request.
388
392
  #
389
393
  # @option options [Aws::Kinesis::EndpointProvider] :endpoint_provider
390
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Kinesis::EndpointParameters`
394
+ # The endpoint provider used to resolve endpoints. Any object that responds to
395
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
396
+ # `Aws::Kinesis::EndpointParameters`.
391
397
  #
392
398
  # @option options [Float] :http_continue_timeout (1)
393
399
  # The number of seconds to wait for a 100-continue response before sending the
@@ -2834,7 +2840,7 @@ module Aws::Kinesis
2834
2840
  tracer: tracer
2835
2841
  )
2836
2842
  context[:gem_name] = 'aws-sdk-kinesis'
2837
- context[:gem_version] = '1.65.0'
2843
+ context[:gem_version] = '1.67.0'
2838
2844
  Seahorse::Client::Request.new(handlers, context)
2839
2845
  end
2840
2846
 
@@ -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,
@@ -15,11 +15,11 @@ module Aws::Kinesis
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::Kinesis::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::Kinesis::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::Kinesis::EndpointParameters`.
22
+ DOCS
23
23
  Aws::Kinesis::EndpointProvider.new
24
24
  end
25
25
 
@@ -40,11 +40,23 @@ 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
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
57
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
58
+ end
59
+
48
60
  def apply_endpoint_headers(context, headers)
49
61
  headers.each do |key, values|
50
62
  value = values
@@ -55,6 +55,6 @@ require_relative 'aws-sdk-kinesis/event_streams'
55
55
  # @!group service
56
56
  module Aws::Kinesis
57
57
 
58
- GEM_VERSION = '1.65.0'
58
+ GEM_VERSION = '1.67.0'
59
59
 
60
60
  end
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
data/sig/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
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.65.0
4
+ version: 1.67.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-10 00:00:00.000000000 Z
11
+ date: 2024-09-20 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.203.0
22
+ version: 3.207.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.203.0
32
+ version: 3.207.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement