aws-sdk-kinesis 1.53.0 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/resource.rbs ADDED
@@ -0,0 +1,83 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Kinesis
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Kinesis/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?event_stream_handler: Proc,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?input_event_stream_handler: Proc,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?output_event_stream_handler: Proc,
43
+ ?profile: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?retry_backoff: Proc,
46
+ ?retry_base_delay: Float,
47
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
48
+ ?retry_limit: Integer,
49
+ ?retry_max_delay: Integer,
50
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
51
+ ?sdk_ua_app_id: String,
52
+ ?secret_access_key: String,
53
+ ?session_token: String,
54
+ ?simple_json: bool,
55
+ ?stub_responses: untyped,
56
+ ?token_provider: untyped,
57
+ ?use_dualstack_endpoint: bool,
58
+ ?use_fips_endpoint: bool,
59
+ ?validate_params: bool,
60
+ ?endpoint_provider: untyped,
61
+ ?http_proxy: String,
62
+ ?http_open_timeout: (Float | Integer),
63
+ ?http_read_timeout: (Float | Integer),
64
+ ?http_idle_timeout: (Float | Integer),
65
+ ?http_continue_timeout: (Float | Integer),
66
+ ?ssl_timeout: (Float | Integer | nil),
67
+ ?http_wire_trace: bool,
68
+ ?ssl_verify_peer: bool,
69
+ ?ssl_ca_bundle: String,
70
+ ?ssl_ca_directory: String,
71
+ ?ssl_ca_store: String,
72
+ ?on_chunk_received: Proc,
73
+ ?on_chunk_sent: Proc,
74
+ ?raise_response_errors: bool
75
+ ) -> void
76
+ | (?Hash[Symbol, untyped]) -> void
77
+
78
+ def client: () -> Client
79
+
80
+
81
+ end
82
+ end
83
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,588 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Kinesis
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AddTagsToStreamInput
17
+ attr_accessor stream_name: ::String
18
+ attr_accessor tags: ::Hash[::String, ::String]
19
+ attr_accessor stream_arn: ::String
20
+ SENSITIVE: []
21
+ end
22
+
23
+ class ChildShard
24
+ attr_accessor shard_id: ::String
25
+ attr_accessor parent_shards: ::Array[::String]
26
+ attr_accessor hash_key_range: Types::HashKeyRange
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class Consumer
31
+ attr_accessor consumer_name: ::String
32
+ attr_accessor consumer_arn: ::String
33
+ attr_accessor consumer_status: ("CREATING" | "DELETING" | "ACTIVE")
34
+ attr_accessor consumer_creation_timestamp: ::Time
35
+ SENSITIVE: []
36
+ end
37
+
38
+ class ConsumerDescription
39
+ attr_accessor consumer_name: ::String
40
+ attr_accessor consumer_arn: ::String
41
+ attr_accessor consumer_status: ("CREATING" | "DELETING" | "ACTIVE")
42
+ attr_accessor consumer_creation_timestamp: ::Time
43
+ attr_accessor stream_arn: ::String
44
+ SENSITIVE: []
45
+ end
46
+
47
+ class CreateStreamInput
48
+ attr_accessor stream_name: ::String
49
+ attr_accessor shard_count: ::Integer
50
+ attr_accessor stream_mode_details: Types::StreamModeDetails
51
+ SENSITIVE: []
52
+ end
53
+
54
+ class DecreaseStreamRetentionPeriodInput
55
+ attr_accessor stream_name: ::String
56
+ attr_accessor retention_period_hours: ::Integer
57
+ attr_accessor stream_arn: ::String
58
+ SENSITIVE: []
59
+ end
60
+
61
+ class DeleteResourcePolicyInput
62
+ attr_accessor resource_arn: ::String
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class DeleteStreamInput
67
+ attr_accessor stream_name: ::String
68
+ attr_accessor enforce_consumer_deletion: bool
69
+ attr_accessor stream_arn: ::String
70
+ SENSITIVE: []
71
+ end
72
+
73
+ class DeregisterStreamConsumerInput
74
+ attr_accessor stream_arn: ::String
75
+ attr_accessor consumer_name: ::String
76
+ attr_accessor consumer_arn: ::String
77
+ SENSITIVE: []
78
+ end
79
+
80
+ class DescribeLimitsInput < Aws::EmptyStructure
81
+ end
82
+
83
+ class DescribeLimitsOutput
84
+ attr_accessor shard_limit: ::Integer
85
+ attr_accessor open_shard_count: ::Integer
86
+ attr_accessor on_demand_stream_count: ::Integer
87
+ attr_accessor on_demand_stream_count_limit: ::Integer
88
+ SENSITIVE: []
89
+ end
90
+
91
+ class DescribeStreamConsumerInput
92
+ attr_accessor stream_arn: ::String
93
+ attr_accessor consumer_name: ::String
94
+ attr_accessor consumer_arn: ::String
95
+ SENSITIVE: []
96
+ end
97
+
98
+ class DescribeStreamConsumerOutput
99
+ attr_accessor consumer_description: Types::ConsumerDescription
100
+ SENSITIVE: []
101
+ end
102
+
103
+ class DescribeStreamInput
104
+ attr_accessor stream_name: ::String
105
+ attr_accessor limit: ::Integer
106
+ attr_accessor exclusive_start_shard_id: ::String
107
+ attr_accessor stream_arn: ::String
108
+ SENSITIVE: []
109
+ end
110
+
111
+ class DescribeStreamOutput
112
+ attr_accessor stream_description: Types::StreamDescription
113
+ SENSITIVE: []
114
+ end
115
+
116
+ class DescribeStreamSummaryInput
117
+ attr_accessor stream_name: ::String
118
+ attr_accessor stream_arn: ::String
119
+ SENSITIVE: []
120
+ end
121
+
122
+ class DescribeStreamSummaryOutput
123
+ attr_accessor stream_description_summary: Types::StreamDescriptionSummary
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class DisableEnhancedMonitoringInput
128
+ attr_accessor stream_name: ::String
129
+ attr_accessor shard_level_metrics: ::Array[("IncomingBytes" | "IncomingRecords" | "OutgoingBytes" | "OutgoingRecords" | "WriteProvisionedThroughputExceeded" | "ReadProvisionedThroughputExceeded" | "IteratorAgeMilliseconds" | "ALL")]
130
+ attr_accessor stream_arn: ::String
131
+ SENSITIVE: []
132
+ end
133
+
134
+ class EnableEnhancedMonitoringInput
135
+ attr_accessor stream_name: ::String
136
+ attr_accessor shard_level_metrics: ::Array[("IncomingBytes" | "IncomingRecords" | "OutgoingBytes" | "OutgoingRecords" | "WriteProvisionedThroughputExceeded" | "ReadProvisionedThroughputExceeded" | "IteratorAgeMilliseconds" | "ALL")]
137
+ attr_accessor stream_arn: ::String
138
+ SENSITIVE: []
139
+ end
140
+
141
+ class EnhancedMetrics
142
+ attr_accessor shard_level_metrics: ::Array[("IncomingBytes" | "IncomingRecords" | "OutgoingBytes" | "OutgoingRecords" | "WriteProvisionedThroughputExceeded" | "ReadProvisionedThroughputExceeded" | "IteratorAgeMilliseconds" | "ALL")]
143
+ SENSITIVE: []
144
+ end
145
+
146
+ class EnhancedMonitoringOutput
147
+ attr_accessor stream_name: ::String
148
+ attr_accessor current_shard_level_metrics: ::Array[("IncomingBytes" | "IncomingRecords" | "OutgoingBytes" | "OutgoingRecords" | "WriteProvisionedThroughputExceeded" | "ReadProvisionedThroughputExceeded" | "IteratorAgeMilliseconds" | "ALL")]
149
+ attr_accessor desired_shard_level_metrics: ::Array[("IncomingBytes" | "IncomingRecords" | "OutgoingBytes" | "OutgoingRecords" | "WriteProvisionedThroughputExceeded" | "ReadProvisionedThroughputExceeded" | "IteratorAgeMilliseconds" | "ALL")]
150
+ attr_accessor stream_arn: ::String
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class ExpiredIteratorException
155
+ attr_accessor message: ::String
156
+ SENSITIVE: []
157
+ end
158
+
159
+ class ExpiredNextTokenException
160
+ attr_accessor message: ::String
161
+ SENSITIVE: []
162
+ end
163
+
164
+ class GetRecordsInput
165
+ attr_accessor shard_iterator: ::String
166
+ attr_accessor limit: ::Integer
167
+ attr_accessor stream_arn: ::String
168
+ SENSITIVE: []
169
+ end
170
+
171
+ class GetRecordsOutput
172
+ attr_accessor records: ::Array[Types::Record]
173
+ attr_accessor next_shard_iterator: ::String
174
+ attr_accessor millis_behind_latest: ::Integer
175
+ attr_accessor child_shards: ::Array[Types::ChildShard]
176
+ SENSITIVE: []
177
+ end
178
+
179
+ class GetResourcePolicyInput
180
+ attr_accessor resource_arn: ::String
181
+ SENSITIVE: []
182
+ end
183
+
184
+ class GetResourcePolicyOutput
185
+ attr_accessor policy: ::String
186
+ SENSITIVE: []
187
+ end
188
+
189
+ class GetShardIteratorInput
190
+ attr_accessor stream_name: ::String
191
+ attr_accessor shard_id: ::String
192
+ attr_accessor shard_iterator_type: ("AT_SEQUENCE_NUMBER" | "AFTER_SEQUENCE_NUMBER" | "TRIM_HORIZON" | "LATEST" | "AT_TIMESTAMP")
193
+ attr_accessor starting_sequence_number: ::String
194
+ attr_accessor timestamp: ::Time
195
+ attr_accessor stream_arn: ::String
196
+ SENSITIVE: []
197
+ end
198
+
199
+ class GetShardIteratorOutput
200
+ attr_accessor shard_iterator: ::String
201
+ SENSITIVE: []
202
+ end
203
+
204
+ class HashKeyRange
205
+ attr_accessor starting_hash_key: ::String
206
+ attr_accessor ending_hash_key: ::String
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class IncreaseStreamRetentionPeriodInput
211
+ attr_accessor stream_name: ::String
212
+ attr_accessor retention_period_hours: ::Integer
213
+ attr_accessor stream_arn: ::String
214
+ SENSITIVE: []
215
+ end
216
+
217
+ class InternalFailureException
218
+ attr_accessor message: ::String
219
+ attr_accessor event_type: untyped
220
+ SENSITIVE: []
221
+ end
222
+
223
+ class InvalidArgumentException
224
+ attr_accessor message: ::String
225
+ SENSITIVE: []
226
+ end
227
+
228
+ class KMSAccessDeniedException
229
+ attr_accessor message: ::String
230
+ attr_accessor event_type: untyped
231
+ SENSITIVE: []
232
+ end
233
+
234
+ class KMSDisabledException
235
+ attr_accessor message: ::String
236
+ attr_accessor event_type: untyped
237
+ SENSITIVE: []
238
+ end
239
+
240
+ class KMSInvalidStateException
241
+ attr_accessor message: ::String
242
+ attr_accessor event_type: untyped
243
+ SENSITIVE: []
244
+ end
245
+
246
+ class KMSNotFoundException
247
+ attr_accessor message: ::String
248
+ attr_accessor event_type: untyped
249
+ SENSITIVE: []
250
+ end
251
+
252
+ class KMSOptInRequired
253
+ attr_accessor message: ::String
254
+ attr_accessor event_type: untyped
255
+ SENSITIVE: []
256
+ end
257
+
258
+ class KMSThrottlingException
259
+ attr_accessor message: ::String
260
+ attr_accessor event_type: untyped
261
+ SENSITIVE: []
262
+ end
263
+
264
+ class LimitExceededException
265
+ attr_accessor message: ::String
266
+ SENSITIVE: []
267
+ end
268
+
269
+ class ListShardsInput
270
+ attr_accessor stream_name: ::String
271
+ attr_accessor next_token: ::String
272
+ attr_accessor exclusive_start_shard_id: ::String
273
+ attr_accessor max_results: ::Integer
274
+ attr_accessor stream_creation_timestamp: ::Time
275
+ attr_accessor shard_filter: Types::ShardFilter
276
+ attr_accessor stream_arn: ::String
277
+ SENSITIVE: []
278
+ end
279
+
280
+ class ListShardsOutput
281
+ attr_accessor shards: ::Array[Types::Shard]
282
+ attr_accessor next_token: ::String
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class ListStreamConsumersInput
287
+ attr_accessor stream_arn: ::String
288
+ attr_accessor next_token: ::String
289
+ attr_accessor max_results: ::Integer
290
+ attr_accessor stream_creation_timestamp: ::Time
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class ListStreamConsumersOutput
295
+ attr_accessor consumers: ::Array[Types::Consumer]
296
+ attr_accessor next_token: ::String
297
+ SENSITIVE: []
298
+ end
299
+
300
+ class ListStreamsInput
301
+ attr_accessor limit: ::Integer
302
+ attr_accessor exclusive_start_stream_name: ::String
303
+ attr_accessor next_token: ::String
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class ListStreamsOutput
308
+ attr_accessor stream_names: ::Array[::String]
309
+ attr_accessor has_more_streams: bool
310
+ attr_accessor next_token: ::String
311
+ attr_accessor stream_summaries: ::Array[Types::StreamSummary]
312
+ SENSITIVE: []
313
+ end
314
+
315
+ class ListTagsForStreamInput
316
+ attr_accessor stream_name: ::String
317
+ attr_accessor exclusive_start_tag_key: ::String
318
+ attr_accessor limit: ::Integer
319
+ attr_accessor stream_arn: ::String
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class ListTagsForStreamOutput
324
+ attr_accessor tags: ::Array[Types::Tag]
325
+ attr_accessor has_more_tags: bool
326
+ SENSITIVE: []
327
+ end
328
+
329
+ class MergeShardsInput
330
+ attr_accessor stream_name: ::String
331
+ attr_accessor shard_to_merge: ::String
332
+ attr_accessor adjacent_shard_to_merge: ::String
333
+ attr_accessor stream_arn: ::String
334
+ SENSITIVE: []
335
+ end
336
+
337
+ class ProvisionedThroughputExceededException
338
+ attr_accessor message: ::String
339
+ SENSITIVE: []
340
+ end
341
+
342
+ class PutRecordInput
343
+ attr_accessor stream_name: ::String
344
+ attr_accessor data: ::String
345
+ attr_accessor partition_key: ::String
346
+ attr_accessor explicit_hash_key: ::String
347
+ attr_accessor sequence_number_for_ordering: ::String
348
+ attr_accessor stream_arn: ::String
349
+ SENSITIVE: []
350
+ end
351
+
352
+ class PutRecordOutput
353
+ attr_accessor shard_id: ::String
354
+ attr_accessor sequence_number: ::String
355
+ attr_accessor encryption_type: ("NONE" | "KMS")
356
+ SENSITIVE: []
357
+ end
358
+
359
+ class PutRecordsInput
360
+ attr_accessor records: ::Array[Types::PutRecordsRequestEntry]
361
+ attr_accessor stream_name: ::String
362
+ attr_accessor stream_arn: ::String
363
+ SENSITIVE: []
364
+ end
365
+
366
+ class PutRecordsOutput
367
+ attr_accessor failed_record_count: ::Integer
368
+ attr_accessor records: ::Array[Types::PutRecordsResultEntry]
369
+ attr_accessor encryption_type: ("NONE" | "KMS")
370
+ SENSITIVE: []
371
+ end
372
+
373
+ class PutRecordsRequestEntry
374
+ attr_accessor data: ::String
375
+ attr_accessor explicit_hash_key: ::String
376
+ attr_accessor partition_key: ::String
377
+ SENSITIVE: []
378
+ end
379
+
380
+ class PutRecordsResultEntry
381
+ attr_accessor sequence_number: ::String
382
+ attr_accessor shard_id: ::String
383
+ attr_accessor error_code: ::String
384
+ attr_accessor error_message: ::String
385
+ SENSITIVE: []
386
+ end
387
+
388
+ class PutResourcePolicyInput
389
+ attr_accessor resource_arn: ::String
390
+ attr_accessor policy: ::String
391
+ SENSITIVE: []
392
+ end
393
+
394
+ class Record
395
+ attr_accessor sequence_number: ::String
396
+ attr_accessor approximate_arrival_timestamp: ::Time
397
+ attr_accessor data: ::String
398
+ attr_accessor partition_key: ::String
399
+ attr_accessor encryption_type: ("NONE" | "KMS")
400
+ SENSITIVE: []
401
+ end
402
+
403
+ class RegisterStreamConsumerInput
404
+ attr_accessor stream_arn: ::String
405
+ attr_accessor consumer_name: ::String
406
+ SENSITIVE: []
407
+ end
408
+
409
+ class RegisterStreamConsumerOutput
410
+ attr_accessor consumer: Types::Consumer
411
+ SENSITIVE: []
412
+ end
413
+
414
+ class RemoveTagsFromStreamInput
415
+ attr_accessor stream_name: ::String
416
+ attr_accessor tag_keys: ::Array[::String]
417
+ attr_accessor stream_arn: ::String
418
+ SENSITIVE: []
419
+ end
420
+
421
+ class ResourceInUseException
422
+ attr_accessor message: ::String
423
+ attr_accessor event_type: untyped
424
+ SENSITIVE: []
425
+ end
426
+
427
+ class ResourceNotFoundException
428
+ attr_accessor message: ::String
429
+ attr_accessor event_type: untyped
430
+ SENSITIVE: []
431
+ end
432
+
433
+ class SequenceNumberRange
434
+ attr_accessor starting_sequence_number: ::String
435
+ attr_accessor ending_sequence_number: ::String
436
+ SENSITIVE: []
437
+ end
438
+
439
+ class Shard
440
+ attr_accessor shard_id: ::String
441
+ attr_accessor parent_shard_id: ::String
442
+ attr_accessor adjacent_parent_shard_id: ::String
443
+ attr_accessor hash_key_range: Types::HashKeyRange
444
+ attr_accessor sequence_number_range: Types::SequenceNumberRange
445
+ SENSITIVE: []
446
+ end
447
+
448
+ class ShardFilter
449
+ attr_accessor type: ("AFTER_SHARD_ID" | "AT_TRIM_HORIZON" | "FROM_TRIM_HORIZON" | "AT_LATEST" | "AT_TIMESTAMP" | "FROM_TIMESTAMP")
450
+ attr_accessor shard_id: ::String
451
+ attr_accessor timestamp: ::Time
452
+ SENSITIVE: []
453
+ end
454
+
455
+ class SplitShardInput
456
+ attr_accessor stream_name: ::String
457
+ attr_accessor shard_to_split: ::String
458
+ attr_accessor new_starting_hash_key: ::String
459
+ attr_accessor stream_arn: ::String
460
+ SENSITIVE: []
461
+ end
462
+
463
+ class StartStreamEncryptionInput
464
+ attr_accessor stream_name: ::String
465
+ attr_accessor encryption_type: ("NONE" | "KMS")
466
+ attr_accessor key_id: ::String
467
+ attr_accessor stream_arn: ::String
468
+ SENSITIVE: []
469
+ end
470
+
471
+ class StartingPosition
472
+ attr_accessor type: ("AT_SEQUENCE_NUMBER" | "AFTER_SEQUENCE_NUMBER" | "TRIM_HORIZON" | "LATEST" | "AT_TIMESTAMP")
473
+ attr_accessor sequence_number: ::String
474
+ attr_accessor timestamp: ::Time
475
+ SENSITIVE: []
476
+ end
477
+
478
+ class StopStreamEncryptionInput
479
+ attr_accessor stream_name: ::String
480
+ attr_accessor encryption_type: ("NONE" | "KMS")
481
+ attr_accessor key_id: ::String
482
+ attr_accessor stream_arn: ::String
483
+ SENSITIVE: []
484
+ end
485
+
486
+ class StreamDescription
487
+ attr_accessor stream_name: ::String
488
+ attr_accessor stream_arn: ::String
489
+ attr_accessor stream_status: ("CREATING" | "DELETING" | "ACTIVE" | "UPDATING")
490
+ attr_accessor stream_mode_details: Types::StreamModeDetails
491
+ attr_accessor shards: ::Array[Types::Shard]
492
+ attr_accessor has_more_shards: bool
493
+ attr_accessor retention_period_hours: ::Integer
494
+ attr_accessor stream_creation_timestamp: ::Time
495
+ attr_accessor enhanced_monitoring: ::Array[Types::EnhancedMetrics]
496
+ attr_accessor encryption_type: ("NONE" | "KMS")
497
+ attr_accessor key_id: ::String
498
+ SENSITIVE: []
499
+ end
500
+
501
+ class StreamDescriptionSummary
502
+ attr_accessor stream_name: ::String
503
+ attr_accessor stream_arn: ::String
504
+ attr_accessor stream_status: ("CREATING" | "DELETING" | "ACTIVE" | "UPDATING")
505
+ attr_accessor stream_mode_details: Types::StreamModeDetails
506
+ attr_accessor retention_period_hours: ::Integer
507
+ attr_accessor stream_creation_timestamp: ::Time
508
+ attr_accessor enhanced_monitoring: ::Array[Types::EnhancedMetrics]
509
+ attr_accessor encryption_type: ("NONE" | "KMS")
510
+ attr_accessor key_id: ::String
511
+ attr_accessor open_shard_count: ::Integer
512
+ attr_accessor consumer_count: ::Integer
513
+ SENSITIVE: []
514
+ end
515
+
516
+ class StreamModeDetails
517
+ attr_accessor stream_mode: ("PROVISIONED" | "ON_DEMAND")
518
+ SENSITIVE: []
519
+ end
520
+
521
+ class StreamSummary
522
+ attr_accessor stream_name: ::String
523
+ attr_accessor stream_arn: ::String
524
+ attr_accessor stream_status: ("CREATING" | "DELETING" | "ACTIVE" | "UPDATING")
525
+ attr_accessor stream_mode_details: Types::StreamModeDetails
526
+ attr_accessor stream_creation_timestamp: ::Time
527
+ SENSITIVE: []
528
+ end
529
+
530
+ class SubscribeToShardEvent
531
+ attr_accessor records: ::Array[Types::Record]
532
+ attr_accessor continuation_sequence_number: ::String
533
+ attr_accessor millis_behind_latest: ::Integer
534
+ attr_accessor child_shards: ::Array[Types::ChildShard]
535
+ attr_accessor event_type: untyped
536
+ SENSITIVE: []
537
+ end
538
+
539
+ class SubscribeToShardInput
540
+ attr_accessor consumer_arn: ::String
541
+ attr_accessor shard_id: ::String
542
+ attr_accessor starting_position: Types::StartingPosition
543
+ SENSITIVE: []
544
+ end
545
+
546
+ class SubscribeToShardOutput
547
+ attr_accessor event_stream: Types::SubscribeToShardEventStream
548
+ SENSITIVE: []
549
+ end
550
+
551
+ class Tag
552
+ attr_accessor key: ::String
553
+ attr_accessor value: ::String
554
+ SENSITIVE: []
555
+ end
556
+
557
+ class UpdateShardCountInput
558
+ attr_accessor stream_name: ::String
559
+ attr_accessor target_shard_count: ::Integer
560
+ attr_accessor scaling_type: ("UNIFORM_SCALING")
561
+ attr_accessor stream_arn: ::String
562
+ SENSITIVE: []
563
+ end
564
+
565
+ class UpdateShardCountOutput
566
+ attr_accessor stream_name: ::String
567
+ attr_accessor current_shard_count: ::Integer
568
+ attr_accessor target_shard_count: ::Integer
569
+ attr_accessor stream_arn: ::String
570
+ SENSITIVE: []
571
+ end
572
+
573
+ class UpdateStreamModeInput
574
+ attr_accessor stream_arn: ::String
575
+ attr_accessor stream_mode_details: Types::StreamModeDetails
576
+ SENSITIVE: []
577
+ end
578
+
579
+ class ValidationException
580
+ attr_accessor message: ::String
581
+ SENSITIVE: []
582
+ end
583
+
584
+ class SubscribeToShardEventStream < Enumerator[untyped, untyped]
585
+ def event_types: () -> [:subscribe_to_shard_event, :resource_not_found_exception, :resource_in_use_exception, :kms_disabled_exception, :kms_invalid_state_exception, :kms_access_denied_exception, :kms_not_found_exception, :kms_opt_in_required, :kms_throttling_exception, :internal_failure_exception]
586
+ end
587
+ end
588
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,39 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Kinesis
10
+ module Waiters
11
+
12
+ class StreamExists
13
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
14
+ | (?Hash[Symbol, untyped]) -> void
15
+
16
+ def wait: (
17
+ ?stream_name: ::String,
18
+ ?limit: ::Integer,
19
+ ?exclusive_start_shard_id: ::String,
20
+ ?stream_arn: ::String
21
+ ) -> Client::_DescribeStreamResponseSuccess
22
+ | (?Hash[Symbol, untyped]) -> Client::_DescribeStreamResponseSuccess
23
+ end
24
+
25
+ class StreamNotExists
26
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
27
+ | (?Hash[Symbol, untyped]) -> void
28
+
29
+ def wait: (
30
+ ?stream_name: ::String,
31
+ ?limit: ::Integer,
32
+ ?exclusive_start_shard_id: ::String,
33
+ ?stream_arn: ::String
34
+ ) -> Client::_DescribeStreamResponseSuccess
35
+ | (?Hash[Symbol, untyped]) -> Client::_DescribeStreamResponseSuccess
36
+ end
37
+ end
38
+ end
39
+ end