aws-sdk-kinesis 1.24.1 → 1.29.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.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -13,6 +15,8 @@ module Aws::Kinesis
13
15
 
14
16
  AddTagsToStreamInput = Shapes::StructureShape.new(name: 'AddTagsToStreamInput')
15
17
  BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
18
+ ChildShard = Shapes::StructureShape.new(name: 'ChildShard')
19
+ ChildShardList = Shapes::ListShape.new(name: 'ChildShardList')
16
20
  Consumer = Shapes::StructureShape.new(name: 'Consumer')
17
21
  ConsumerARN = Shapes::StringShape.new(name: 'ConsumerARN')
18
22
  ConsumerCountObject = Shapes::IntegerShape.new(name: 'ConsumerCountObject')
@@ -103,7 +107,10 @@ module Aws::Kinesis
103
107
  SequenceNumberRange = Shapes::StructureShape.new(name: 'SequenceNumberRange')
104
108
  Shard = Shapes::StructureShape.new(name: 'Shard')
105
109
  ShardCountObject = Shapes::IntegerShape.new(name: 'ShardCountObject')
110
+ ShardFilter = Shapes::StructureShape.new(name: 'ShardFilter')
111
+ ShardFilterType = Shapes::StringShape.new(name: 'ShardFilterType')
106
112
  ShardId = Shapes::StringShape.new(name: 'ShardId')
113
+ ShardIdList = Shapes::ListShape.new(name: 'ShardIdList')
107
114
  ShardIterator = Shapes::StringShape.new(name: 'ShardIterator')
108
115
  ShardIteratorType = Shapes::StringShape.new(name: 'ShardIteratorType')
109
116
  ShardList = Shapes::ListShape.new(name: 'ShardList')
@@ -135,6 +142,13 @@ module Aws::Kinesis
135
142
  AddTagsToStreamInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
136
143
  AddTagsToStreamInput.struct_class = Types::AddTagsToStreamInput
137
144
 
145
+ ChildShard.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
146
+ ChildShard.add_member(:parent_shards, Shapes::ShapeRef.new(shape: ShardIdList, required: true, location_name: "ParentShards"))
147
+ ChildShard.add_member(:hash_key_range, Shapes::ShapeRef.new(shape: HashKeyRange, required: true, location_name: "HashKeyRange"))
148
+ ChildShard.struct_class = Types::ChildShard
149
+
150
+ ChildShardList.member = Shapes::ShapeRef.new(shape: ChildShard)
151
+
138
152
  Consumer.add_member(:consumer_name, Shapes::ShapeRef.new(shape: ConsumerName, required: true, location_name: "ConsumerName"))
139
153
  Consumer.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: ConsumerARN, required: true, location_name: "ConsumerARN"))
140
154
  Consumer.add_member(:consumer_status, Shapes::ShapeRef.new(shape: ConsumerStatus, required: true, location_name: "ConsumerStatus"))
@@ -226,6 +240,7 @@ module Aws::Kinesis
226
240
  GetRecordsOutput.add_member(:records, Shapes::ShapeRef.new(shape: RecordList, required: true, location_name: "Records"))
227
241
  GetRecordsOutput.add_member(:next_shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, location_name: "NextShardIterator"))
228
242
  GetRecordsOutput.add_member(:millis_behind_latest, Shapes::ShapeRef.new(shape: MillisBehindLatest, location_name: "MillisBehindLatest"))
243
+ GetRecordsOutput.add_member(:child_shards, Shapes::ShapeRef.new(shape: ChildShardList, location_name: "ChildShards"))
229
244
  GetRecordsOutput.struct_class = Types::GetRecordsOutput
230
245
 
231
246
  GetShardIteratorInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
@@ -278,6 +293,7 @@ module Aws::Kinesis
278
293
  ListShardsInput.add_member(:exclusive_start_shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "ExclusiveStartShardId"))
279
294
  ListShardsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListShardsInputLimit, location_name: "MaxResults"))
280
295
  ListShardsInput.add_member(:stream_creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StreamCreationTimestamp"))
296
+ ListShardsInput.add_member(:shard_filter, Shapes::ShapeRef.new(shape: ShardFilter, location_name: "ShardFilter"))
281
297
  ListShardsInput.struct_class = Types::ListShardsInput
282
298
 
283
299
  ListShardsOutput.add_member(:shards, Shapes::ShapeRef.new(shape: ShardList, location_name: "Shards"))
@@ -394,6 +410,13 @@ module Aws::Kinesis
394
410
  Shard.add_member(:sequence_number_range, Shapes::ShapeRef.new(shape: SequenceNumberRange, required: true, location_name: "SequenceNumberRange"))
395
411
  Shard.struct_class = Types::Shard
396
412
 
413
+ ShardFilter.add_member(:type, Shapes::ShapeRef.new(shape: ShardFilterType, required: true, location_name: "Type"))
414
+ ShardFilter.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "ShardId"))
415
+ ShardFilter.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
416
+ ShardFilter.struct_class = Types::ShardFilter
417
+
418
+ ShardIdList.member = Shapes::ShapeRef.new(shape: ShardId)
419
+
397
420
  ShardList.member = Shapes::ShapeRef.new(shape: Shard)
398
421
 
399
422
  SplitShardInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
@@ -431,7 +454,7 @@ module Aws::Kinesis
431
454
  StreamDescriptionSummary.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
432
455
  StreamDescriptionSummary.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, required: true, location_name: "StreamARN"))
433
456
  StreamDescriptionSummary.add_member(:stream_status, Shapes::ShapeRef.new(shape: StreamStatus, required: true, location_name: "StreamStatus"))
434
- StreamDescriptionSummary.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "RetentionPeriodHours"))
457
+ StreamDescriptionSummary.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: RetentionPeriodHours, required: true, location_name: "RetentionPeriodHours"))
435
458
  StreamDescriptionSummary.add_member(:stream_creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StreamCreationTimestamp"))
436
459
  StreamDescriptionSummary.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoringList, required: true, location_name: "EnhancedMonitoring"))
437
460
  StreamDescriptionSummary.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
@@ -445,6 +468,7 @@ module Aws::Kinesis
445
468
  SubscribeToShardEvent.add_member(:records, Shapes::ShapeRef.new(shape: RecordList, required: true, location_name: "Records"))
446
469
  SubscribeToShardEvent.add_member(:continuation_sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, required: true, location_name: "ContinuationSequenceNumber"))
447
470
  SubscribeToShardEvent.add_member(:millis_behind_latest, Shapes::ShapeRef.new(shape: MillisBehindLatest, required: true, location_name: "MillisBehindLatest"))
471
+ SubscribeToShardEvent.add_member(:child_shards, Shapes::ShapeRef.new(shape: ChildShardList, location_name: "ChildShards"))
448
472
  SubscribeToShardEvent.struct_class = Types::SubscribeToShardEvent
449
473
 
450
474
  SubscribeToShardEventStream.add_member(:subscribe_to_shard_event, Shapes::ShapeRef.new(shape: SubscribeToShardEvent, required: true, event: true, location_name: "SubscribeToShardEvent"))
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # WARNING ABOUT GENERATED CODE
2
3
  #
3
4
  # This file is generated. See the contributing for info on making contributions:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -33,10 +35,33 @@ module Aws::Kinesis
33
35
  class AddTagsToStreamInput < Struct.new(
34
36
  :stream_name,
35
37
  :tags)
38
+ SENSITIVE = []
39
+ include Aws::Structure
40
+ end
41
+
42
+ # @!attribute [rw] shard_id
43
+ # @return [String]
44
+ #
45
+ # @!attribute [rw] parent_shards
46
+ # @return [Array<String>]
47
+ #
48
+ # @!attribute [rw] hash_key_range
49
+ # The range of possible hash key values for the shard, which is a set
50
+ # of ordered contiguous positive integers.
51
+ # @return [Types::HashKeyRange]
52
+ #
53
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ChildShard AWS API Documentation
54
+ #
55
+ class ChildShard < Struct.new(
56
+ :shard_id,
57
+ :parent_shards,
58
+ :hash_key_range)
59
+ SENSITIVE = []
36
60
  include Aws::Structure
37
61
  end
38
62
 
39
63
  # An object that represents the details of the consumer you registered.
64
+ # This type of object is returned by RegisterStreamConsumer.
40
65
  #
41
66
  # @!attribute [rw] consumer_name
42
67
  # The name of the consumer is something you choose when you register
@@ -68,10 +93,12 @@ module Aws::Kinesis
68
93
  :consumer_arn,
69
94
  :consumer_status,
70
95
  :consumer_creation_timestamp)
96
+ SENSITIVE = []
71
97
  include Aws::Structure
72
98
  end
73
99
 
74
- # An object that represents the details of a registered consumer.
100
+ # An object that represents the details of a registered consumer. This
101
+ # type of object is returned by DescribeStreamConsumer.
75
102
  #
76
103
  # @!attribute [rw] consumer_name
77
104
  # The name of the consumer is something you choose when you register
@@ -108,6 +135,7 @@ module Aws::Kinesis
108
135
  :consumer_status,
109
136
  :consumer_creation_timestamp,
110
137
  :stream_arn)
138
+ SENSITIVE = []
111
139
  include Aws::Structure
112
140
  end
113
141
 
@@ -133,8 +161,6 @@ module Aws::Kinesis
133
161
  # The number of shards that the stream will use. The throughput of the
134
162
  # stream is a function of the number of shards; more shards are
135
163
  # required for greater provisioned throughput.
136
- #
137
- # DefaultShardLimit;
138
164
  # @return [Integer]
139
165
  #
140
166
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStreamInput AWS API Documentation
@@ -142,6 +168,7 @@ module Aws::Kinesis
142
168
  class CreateStreamInput < Struct.new(
143
169
  :stream_name,
144
170
  :shard_count)
171
+ SENSITIVE = []
145
172
  include Aws::Structure
146
173
  end
147
174
 
@@ -169,6 +196,7 @@ module Aws::Kinesis
169
196
  class DecreaseStreamRetentionPeriodInput < Struct.new(
170
197
  :stream_name,
171
198
  :retention_period_hours)
199
+ SENSITIVE = []
172
200
  include Aws::Structure
173
201
  end
174
202
 
@@ -197,6 +225,7 @@ module Aws::Kinesis
197
225
  class DeleteStreamInput < Struct.new(
198
226
  :stream_name,
199
227
  :enforce_consumer_deletion)
228
+ SENSITIVE = []
200
229
  include Aws::Structure
201
230
  end
202
231
 
@@ -238,6 +267,7 @@ module Aws::Kinesis
238
267
  :stream_arn,
239
268
  :consumer_name,
240
269
  :consumer_arn)
270
+ SENSITIVE = []
241
271
  include Aws::Structure
242
272
  end
243
273
 
@@ -260,6 +290,7 @@ module Aws::Kinesis
260
290
  class DescribeLimitsOutput < Struct.new(
261
291
  :shard_limit,
262
292
  :open_shard_count)
293
+ SENSITIVE = []
263
294
  include Aws::Structure
264
295
  end
265
296
 
@@ -297,6 +328,7 @@ module Aws::Kinesis
297
328
  :stream_arn,
298
329
  :consumer_name,
299
330
  :consumer_arn)
331
+ SENSITIVE = []
300
332
  include Aws::Structure
301
333
  end
302
334
 
@@ -308,6 +340,7 @@ module Aws::Kinesis
308
340
  #
309
341
  class DescribeStreamConsumerOutput < Struct.new(
310
342
  :consumer_description)
343
+ SENSITIVE = []
311
344
  include Aws::Structure
312
345
  end
313
346
 
@@ -342,6 +375,7 @@ module Aws::Kinesis
342
375
  :stream_name,
343
376
  :limit,
344
377
  :exclusive_start_shard_id)
378
+ SENSITIVE = []
345
379
  include Aws::Structure
346
380
  end
347
381
 
@@ -357,6 +391,7 @@ module Aws::Kinesis
357
391
  #
358
392
  class DescribeStreamOutput < Struct.new(
359
393
  :stream_description)
394
+ SENSITIVE = []
360
395
  include Aws::Structure
361
396
  end
362
397
 
@@ -375,6 +410,7 @@ module Aws::Kinesis
375
410
  #
376
411
  class DescribeStreamSummaryInput < Struct.new(
377
412
  :stream_name)
413
+ SENSITIVE = []
378
414
  include Aws::Structure
379
415
  end
380
416
 
@@ -386,6 +422,7 @@ module Aws::Kinesis
386
422
  #
387
423
  class DescribeStreamSummaryOutput < Struct.new(
388
424
  :stream_description_summary)
425
+ SENSITIVE = []
389
426
  include Aws::Structure
390
427
  end
391
428
 
@@ -432,7 +469,7 @@ module Aws::Kinesis
432
469
  #
433
470
  #
434
471
  #
435
- # [1]: http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html
472
+ # [1]: https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html
436
473
  # @return [Array<String>]
437
474
  #
438
475
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoringInput AWS API Documentation
@@ -440,6 +477,7 @@ module Aws::Kinesis
440
477
  class DisableEnhancedMonitoringInput < Struct.new(
441
478
  :stream_name,
442
479
  :shard_level_metrics)
480
+ SENSITIVE = []
443
481
  include Aws::Structure
444
482
  end
445
483
 
@@ -485,7 +523,7 @@ module Aws::Kinesis
485
523
  #
486
524
  #
487
525
  #
488
- # [1]: http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html
526
+ # [1]: https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html
489
527
  # @return [Array<String>]
490
528
  #
491
529
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoringInput AWS API Documentation
@@ -493,6 +531,7 @@ module Aws::Kinesis
493
531
  class EnableEnhancedMonitoringInput < Struct.new(
494
532
  :stream_name,
495
533
  :shard_level_metrics)
534
+ SENSITIVE = []
496
535
  include Aws::Structure
497
536
  end
498
537
 
@@ -526,13 +565,14 @@ module Aws::Kinesis
526
565
  #
527
566
  #
528
567
  #
529
- # [1]: http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html
568
+ # [1]: https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html
530
569
  # @return [Array<String>]
531
570
  #
532
571
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnhancedMetrics AWS API Documentation
533
572
  #
534
573
  class EnhancedMetrics < Struct.new(
535
574
  :shard_level_metrics)
575
+ SENSITIVE = []
536
576
  include Aws::Structure
537
577
  end
538
578
 
@@ -559,6 +599,7 @@ module Aws::Kinesis
559
599
  :stream_name,
560
600
  :current_shard_level_metrics,
561
601
  :desired_shard_level_metrics)
602
+ SENSITIVE = []
562
603
  include Aws::Structure
563
604
  end
564
605
 
@@ -572,6 +613,7 @@ module Aws::Kinesis
572
613
  #
573
614
  class ExpiredIteratorException < Struct.new(
574
615
  :message)
616
+ SENSITIVE = []
575
617
  include Aws::Structure
576
618
  end
577
619
 
@@ -584,6 +626,7 @@ module Aws::Kinesis
584
626
  #
585
627
  class ExpiredNextTokenException < Struct.new(
586
628
  :message)
629
+ SENSITIVE = []
587
630
  include Aws::Structure
588
631
  end
589
632
 
@@ -606,7 +649,8 @@ module Aws::Kinesis
606
649
  # @!attribute [rw] limit
607
650
  # The maximum number of records to return. Specify a value of up to
608
651
  # 10,000. If you specify a value that is greater than 10,000,
609
- # GetRecords throws `InvalidArgumentException`.
652
+ # GetRecords throws `InvalidArgumentException`. The default value is
653
+ # 10,000.
610
654
  # @return [Integer]
611
655
  #
612
656
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecordsInput AWS API Documentation
@@ -614,6 +658,7 @@ module Aws::Kinesis
614
658
  class GetRecordsInput < Struct.new(
615
659
  :shard_iterator,
616
660
  :limit)
661
+ SENSITIVE = []
617
662
  include Aws::Structure
618
663
  end
619
664
 
@@ -636,12 +681,17 @@ module Aws::Kinesis
636
681
  # and there are no new records to process at this moment.
637
682
  # @return [Integer]
638
683
  #
684
+ # @!attribute [rw] child_shards
685
+ # @return [Array<Types::ChildShard>]
686
+ #
639
687
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecordsOutput AWS API Documentation
640
688
  #
641
689
  class GetRecordsOutput < Struct.new(
642
690
  :records,
643
691
  :next_shard_iterator,
644
- :millis_behind_latest)
692
+ :millis_behind_latest,
693
+ :child_shards)
694
+ SENSITIVE = []
645
695
  include Aws::Structure
646
696
  end
647
697
 
@@ -716,6 +766,7 @@ module Aws::Kinesis
716
766
  :shard_iterator_type,
717
767
  :starting_sequence_number,
718
768
  :timestamp)
769
+ SENSITIVE = []
719
770
  include Aws::Structure
720
771
  end
721
772
 
@@ -731,6 +782,7 @@ module Aws::Kinesis
731
782
  #
732
783
  class GetShardIteratorOutput < Struct.new(
733
784
  :shard_iterator)
785
+ SENSITIVE = []
734
786
  include Aws::Structure
735
787
  end
736
788
 
@@ -750,6 +802,7 @@ module Aws::Kinesis
750
802
  class HashKeyRange < Struct.new(
751
803
  :starting_hash_key,
752
804
  :ending_hash_key)
805
+ SENSITIVE = []
753
806
  include Aws::Structure
754
807
  end
755
808
 
@@ -777,9 +830,13 @@ module Aws::Kinesis
777
830
  class IncreaseStreamRetentionPeriodInput < Struct.new(
778
831
  :stream_name,
779
832
  :retention_period_hours)
833
+ SENSITIVE = []
780
834
  include Aws::Structure
781
835
  end
782
836
 
837
+ # The processing of the request failed because of an unknown error,
838
+ # exception, or failure.
839
+ #
783
840
  # @!attribute [rw] message
784
841
  # @return [String]
785
842
  #
@@ -788,6 +845,7 @@ module Aws::Kinesis
788
845
  class InternalFailureException < Struct.new(
789
846
  :message,
790
847
  :event_type)
848
+ SENSITIVE = []
791
849
  include Aws::Structure
792
850
  end
793
851
 
@@ -802,6 +860,7 @@ module Aws::Kinesis
802
860
  #
803
861
  class InvalidArgumentException < Struct.new(
804
862
  :message)
863
+ SENSITIVE = []
805
864
  include Aws::Structure
806
865
  end
807
866
 
@@ -817,6 +876,7 @@ module Aws::Kinesis
817
876
  class KMSAccessDeniedException < Struct.new(
818
877
  :message,
819
878
  :event_type)
879
+ SENSITIVE = []
820
880
  include Aws::Structure
821
881
  end
822
882
 
@@ -832,6 +892,7 @@ module Aws::Kinesis
832
892
  class KMSDisabledException < Struct.new(
833
893
  :message,
834
894
  :event_type)
895
+ SENSITIVE = []
835
896
  include Aws::Structure
836
897
  end
837
898
 
@@ -842,7 +903,7 @@ module Aws::Kinesis
842
903
  #
843
904
  #
844
905
  #
845
- # [1]: http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html
906
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html
846
907
  #
847
908
  # @!attribute [rw] message
848
909
  # A message that provides information about the error.
@@ -853,6 +914,7 @@ module Aws::Kinesis
853
914
  class KMSInvalidStateException < Struct.new(
854
915
  :message,
855
916
  :event_type)
917
+ SENSITIVE = []
856
918
  include Aws::Structure
857
919
  end
858
920
 
@@ -868,6 +930,7 @@ module Aws::Kinesis
868
930
  class KMSNotFoundException < Struct.new(
869
931
  :message,
870
932
  :event_type)
933
+ SENSITIVE = []
871
934
  include Aws::Structure
872
935
  end
873
936
 
@@ -882,6 +945,7 @@ module Aws::Kinesis
882
945
  class KMSOptInRequired < Struct.new(
883
946
  :message,
884
947
  :event_type)
948
+ SENSITIVE = []
885
949
  include Aws::Structure
886
950
  end
887
951
 
@@ -891,7 +955,7 @@ module Aws::Kinesis
891
955
  #
892
956
  #
893
957
  #
894
- # [1]: http://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second
958
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second
895
959
  #
896
960
  # @!attribute [rw] message
897
961
  # A message that provides information about the error.
@@ -902,6 +966,7 @@ module Aws::Kinesis
902
966
  class KMSThrottlingException < Struct.new(
903
967
  :message,
904
968
  :event_type)
969
+ SENSITIVE = []
905
970
  include Aws::Structure
906
971
  end
907
972
 
@@ -917,6 +982,7 @@ module Aws::Kinesis
917
982
  #
918
983
  class LimitExceededException < Struct.new(
919
984
  :message)
985
+ SENSITIVE = []
920
986
  include Aws::Structure
921
987
  end
922
988
 
@@ -929,6 +995,11 @@ module Aws::Kinesis
929
995
  # exclusive_start_shard_id: "ShardId",
930
996
  # max_results: 1,
931
997
  # stream_creation_timestamp: Time.now,
998
+ # shard_filter: {
999
+ # type: "AFTER_SHARD_ID", # required, accepts AFTER_SHARD_ID, AT_TRIM_HORIZON, FROM_TRIM_HORIZON, AT_LATEST, AT_TIMESTAMP, FROM_TIMESTAMP
1000
+ # shard_id: "ShardId",
1001
+ # timestamp: Time.now,
1002
+ # },
932
1003
  # }
933
1004
  #
934
1005
  # @!attribute [rw] stream_name
@@ -978,7 +1049,7 @@ module Aws::Kinesis
978
1049
  # @!attribute [rw] max_results
979
1050
  # The maximum number of shards to return in a single call to
980
1051
  # `ListShards`. The minimum value you can specify for this parameter
981
- # is 1, and the maximum is 1,000, which is also the default.
1052
+ # is 1, and the maximum is 10,000, which is also the default.
982
1053
  #
983
1054
  # When the number of shards to be listed is greater than the value of
984
1055
  # `MaxResults`, the response contains a `NextToken` value that you can
@@ -997,6 +1068,9 @@ module Aws::Kinesis
997
1068
  # parameter.
998
1069
  # @return [Time]
999
1070
  #
1071
+ # @!attribute [rw] shard_filter
1072
+ # @return [Types::ShardFilter]
1073
+ #
1000
1074
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListShardsInput AWS API Documentation
1001
1075
  #
1002
1076
  class ListShardsInput < Struct.new(
@@ -1004,7 +1078,9 @@ module Aws::Kinesis
1004
1078
  :next_token,
1005
1079
  :exclusive_start_shard_id,
1006
1080
  :max_results,
1007
- :stream_creation_timestamp)
1081
+ :stream_creation_timestamp,
1082
+ :shard_filter)
1083
+ SENSITIVE = []
1008
1084
  include Aws::Structure
1009
1085
  end
1010
1086
 
@@ -1037,6 +1113,7 @@ module Aws::Kinesis
1037
1113
  class ListShardsOutput < Struct.new(
1038
1114
  :shards,
1039
1115
  :next_token)
1116
+ SENSITIVE = []
1040
1117
  include Aws::Structure
1041
1118
  end
1042
1119
 
@@ -1112,6 +1189,7 @@ module Aws::Kinesis
1112
1189
  :next_token,
1113
1190
  :max_results,
1114
1191
  :stream_creation_timestamp)
1192
+ SENSITIVE = []
1115
1193
  include Aws::Structure
1116
1194
  end
1117
1195
 
@@ -1144,6 +1222,7 @@ module Aws::Kinesis
1144
1222
  class ListStreamConsumersOutput < Struct.new(
1145
1223
  :consumers,
1146
1224
  :next_token)
1225
+ SENSITIVE = []
1147
1226
  include Aws::Structure
1148
1227
  end
1149
1228
 
@@ -1170,6 +1249,7 @@ module Aws::Kinesis
1170
1249
  class ListStreamsInput < Struct.new(
1171
1250
  :limit,
1172
1251
  :exclusive_start_stream_name)
1252
+ SENSITIVE = []
1173
1253
  include Aws::Structure
1174
1254
  end
1175
1255
 
@@ -1189,6 +1269,7 @@ module Aws::Kinesis
1189
1269
  class ListStreamsOutput < Struct.new(
1190
1270
  :stream_names,
1191
1271
  :has_more_streams)
1272
+ SENSITIVE = []
1192
1273
  include Aws::Structure
1193
1274
  end
1194
1275
 
@@ -1226,6 +1307,7 @@ module Aws::Kinesis
1226
1307
  :stream_name,
1227
1308
  :exclusive_start_tag_key,
1228
1309
  :limit)
1310
+ SENSITIVE = []
1229
1311
  include Aws::Structure
1230
1312
  end
1231
1313
 
@@ -1247,6 +1329,7 @@ module Aws::Kinesis
1247
1329
  class ListTagsForStreamOutput < Struct.new(
1248
1330
  :tags,
1249
1331
  :has_more_tags)
1332
+ SENSITIVE = []
1250
1333
  include Aws::Structure
1251
1334
  end
1252
1335
 
@@ -1280,6 +1363,7 @@ module Aws::Kinesis
1280
1363
  :stream_name,
1281
1364
  :shard_to_merge,
1282
1365
  :adjacent_shard_to_merge)
1366
+ SENSITIVE = []
1283
1367
  include Aws::Structure
1284
1368
  end
1285
1369
 
@@ -1291,8 +1375,8 @@ module Aws::Kinesis
1291
1375
  #
1292
1376
  #
1293
1377
  #
1294
- # [1]: http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html
1295
- # [2]: http://docs.aws.amazon.com/general/latest/gr/api-retries.html
1378
+ # [1]: https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html
1379
+ # [2]: https://docs.aws.amazon.com/general/latest/gr/api-retries.html
1296
1380
  #
1297
1381
  # @!attribute [rw] message
1298
1382
  # A message that provides information about the error.
@@ -1302,6 +1386,7 @@ module Aws::Kinesis
1302
1386
  #
1303
1387
  class ProvisionedThroughputExceededException < Struct.new(
1304
1388
  :message)
1389
+ SENSITIVE = []
1305
1390
  include Aws::Structure
1306
1391
  end
1307
1392
 
@@ -1326,7 +1411,7 @@ module Aws::Kinesis
1326
1411
  # The data blob to put into the record, which is base64-encoded when
1327
1412
  # the blob is serialized. When the data blob (the payload before
1328
1413
  # base64-encoding) is added to the partition key size, the total size
1329
- # must not exceed the maximum record size (1 MB).
1414
+ # must not exceed the maximum record size (1 MiB).
1330
1415
  # @return [String]
1331
1416
  #
1332
1417
  # @!attribute [rw] partition_key
@@ -1363,6 +1448,7 @@ module Aws::Kinesis
1363
1448
  :partition_key,
1364
1449
  :explicit_hash_key,
1365
1450
  :sequence_number_for_ordering)
1451
+ SENSITIVE = []
1366
1452
  include Aws::Structure
1367
1453
  end
1368
1454
 
@@ -1395,6 +1481,7 @@ module Aws::Kinesis
1395
1481
  :shard_id,
1396
1482
  :sequence_number,
1397
1483
  :encryption_type)
1484
+ SENSITIVE = []
1398
1485
  include Aws::Structure
1399
1486
  end
1400
1487
 
@@ -1427,6 +1514,7 @@ module Aws::Kinesis
1427
1514
  class PutRecordsInput < Struct.new(
1428
1515
  :records,
1429
1516
  :stream_name)
1517
+ SENSITIVE = []
1430
1518
  include Aws::Structure
1431
1519
  end
1432
1520
 
@@ -1461,6 +1549,7 @@ module Aws::Kinesis
1461
1549
  :failed_record_count,
1462
1550
  :records,
1463
1551
  :encryption_type)
1552
+ SENSITIVE = []
1464
1553
  include Aws::Structure
1465
1554
  end
1466
1555
 
@@ -1479,7 +1568,7 @@ module Aws::Kinesis
1479
1568
  # The data blob to put into the record, which is base64-encoded when
1480
1569
  # the blob is serialized. When the data blob (the payload before
1481
1570
  # base64-encoding) is added to the partition key size, the total size
1482
- # must not exceed the maximum record size (1 MB).
1571
+ # must not exceed the maximum record size (1 MiB).
1483
1572
  # @return [String]
1484
1573
  #
1485
1574
  # @!attribute [rw] explicit_hash_key
@@ -1505,6 +1594,7 @@ module Aws::Kinesis
1505
1594
  :data,
1506
1595
  :explicit_hash_key,
1507
1596
  :partition_key)
1597
+ SENSITIVE = []
1508
1598
  include Aws::Structure
1509
1599
  end
1510
1600
 
@@ -1543,6 +1633,7 @@ module Aws::Kinesis
1543
1633
  :shard_id,
1544
1634
  :error_code,
1545
1635
  :error_message)
1636
+ SENSITIVE = []
1546
1637
  include Aws::Structure
1547
1638
  end
1548
1639
 
@@ -1562,7 +1653,7 @@ module Aws::Kinesis
1562
1653
  # Kinesis Data Streams, which does not inspect, interpret, or change
1563
1654
  # the data in the blob in any way. When the data blob (the payload
1564
1655
  # before base64-encoding) is added to the partition key size, the
1565
- # total size must not exceed the maximum record size (1 MB).
1656
+ # total size must not exceed the maximum record size (1 MiB).
1566
1657
  # @return [String]
1567
1658
  #
1568
1659
  # @!attribute [rw] partition_key
@@ -1587,6 +1678,7 @@ module Aws::Kinesis
1587
1678
  :data,
1588
1679
  :partition_key,
1589
1680
  :encryption_type)
1681
+ SENSITIVE = []
1590
1682
  include Aws::Structure
1591
1683
  end
1592
1684
 
@@ -1619,6 +1711,7 @@ module Aws::Kinesis
1619
1711
  class RegisterStreamConsumerInput < Struct.new(
1620
1712
  :stream_arn,
1621
1713
  :consumer_name)
1714
+ SENSITIVE = []
1622
1715
  include Aws::Structure
1623
1716
  end
1624
1717
 
@@ -1632,6 +1725,7 @@ module Aws::Kinesis
1632
1725
  #
1633
1726
  class RegisterStreamConsumerOutput < Struct.new(
1634
1727
  :consumer)
1728
+ SENSITIVE = []
1635
1729
  include Aws::Structure
1636
1730
  end
1637
1731
 
@@ -1659,6 +1753,7 @@ module Aws::Kinesis
1659
1753
  class RemoveTagsFromStreamInput < Struct.new(
1660
1754
  :stream_name,
1661
1755
  :tag_keys)
1756
+ SENSITIVE = []
1662
1757
  include Aws::Structure
1663
1758
  end
1664
1759
 
@@ -1674,6 +1769,7 @@ module Aws::Kinesis
1674
1769
  class ResourceInUseException < Struct.new(
1675
1770
  :message,
1676
1771
  :event_type)
1772
+ SENSITIVE = []
1677
1773
  include Aws::Structure
1678
1774
  end
1679
1775
 
@@ -1689,6 +1785,7 @@ module Aws::Kinesis
1689
1785
  class ResourceNotFoundException < Struct.new(
1690
1786
  :message,
1691
1787
  :event_type)
1788
+ SENSITIVE = []
1692
1789
  include Aws::Structure
1693
1790
  end
1694
1791
 
@@ -1708,6 +1805,7 @@ module Aws::Kinesis
1708
1805
  class SequenceNumberRange < Struct.new(
1709
1806
  :starting_sequence_number,
1710
1807
  :ending_sequence_number)
1808
+ SENSITIVE = []
1711
1809
  include Aws::Structure
1712
1810
  end
1713
1811
 
@@ -1742,6 +1840,35 @@ module Aws::Kinesis
1742
1840
  :adjacent_parent_shard_id,
1743
1841
  :hash_key_range,
1744
1842
  :sequence_number_range)
1843
+ SENSITIVE = []
1844
+ include Aws::Structure
1845
+ end
1846
+
1847
+ # @note When making an API call, you may pass ShardFilter
1848
+ # data as a hash:
1849
+ #
1850
+ # {
1851
+ # type: "AFTER_SHARD_ID", # required, accepts AFTER_SHARD_ID, AT_TRIM_HORIZON, FROM_TRIM_HORIZON, AT_LATEST, AT_TIMESTAMP, FROM_TIMESTAMP
1852
+ # shard_id: "ShardId",
1853
+ # timestamp: Time.now,
1854
+ # }
1855
+ #
1856
+ # @!attribute [rw] type
1857
+ # @return [String]
1858
+ #
1859
+ # @!attribute [rw] shard_id
1860
+ # @return [String]
1861
+ #
1862
+ # @!attribute [rw] timestamp
1863
+ # @return [Time]
1864
+ #
1865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ShardFilter AWS API Documentation
1866
+ #
1867
+ class ShardFilter < Struct.new(
1868
+ :type,
1869
+ :shard_id,
1870
+ :timestamp)
1871
+ SENSITIVE = []
1745
1872
  include Aws::Structure
1746
1873
  end
1747
1874
 
@@ -1781,6 +1908,7 @@ module Aws::Kinesis
1781
1908
  :stream_name,
1782
1909
  :shard_to_split,
1783
1910
  :new_starting_hash_key)
1911
+ SENSITIVE = []
1784
1912
  include Aws::Structure
1785
1913
  end
1786
1914
 
@@ -1828,6 +1956,7 @@ module Aws::Kinesis
1828
1956
  :stream_name,
1829
1957
  :encryption_type,
1830
1958
  :key_id)
1959
+ SENSITIVE = []
1831
1960
  include Aws::Structure
1832
1961
  end
1833
1962
 
@@ -1841,12 +1970,41 @@ module Aws::Kinesis
1841
1970
  # }
1842
1971
  #
1843
1972
  # @!attribute [rw] type
1973
+ # You can set the starting position to one of the following values:
1974
+ #
1975
+ # `AT_SEQUENCE_NUMBER`\: Start streaming from the position denoted by
1976
+ # the sequence number specified in the `SequenceNumber` field.
1977
+ #
1978
+ # `AFTER_SEQUENCE_NUMBER`\: Start streaming right after the position
1979
+ # denoted by the sequence number specified in the `SequenceNumber`
1980
+ # field.
1981
+ #
1982
+ # `AT_TIMESTAMP`\: Start streaming from the position denoted by the
1983
+ # time stamp specified in the `Timestamp` field.
1984
+ #
1985
+ # `TRIM_HORIZON`\: Start streaming at the last untrimmed record in the
1986
+ # shard, which is the oldest data record in the shard.
1987
+ #
1988
+ # `LATEST`\: Start streaming just after the most recent record in the
1989
+ # shard, so that you always read the most recent data in the shard.
1844
1990
  # @return [String]
1845
1991
  #
1846
1992
  # @!attribute [rw] sequence_number
1993
+ # The sequence number of the data record in the shard from which to
1994
+ # start streaming. To specify a sequence number, set
1995
+ # `StartingPosition` to `AT_SEQUENCE_NUMBER` or
1996
+ # `AFTER_SEQUENCE_NUMBER`.
1847
1997
  # @return [String]
1848
1998
  #
1849
1999
  # @!attribute [rw] timestamp
2000
+ # The time stamp of the data record from which to start reading. To
2001
+ # specify a time stamp, set `StartingPosition` to `Type AT_TIMESTAMP`.
2002
+ # A time stamp is the Unix epoch date with precision in milliseconds.
2003
+ # For example, `2016-04-04T19:58:46.480-00:00` or `1459799926.480`. If
2004
+ # a record with this exact time stamp does not exist, records will be
2005
+ # streamed from the next (later) record. If the time stamp is older
2006
+ # than the current trim horizon, records will be streamed from the
2007
+ # oldest untrimmed data record (`TRIM_HORIZON`).
1850
2008
  # @return [Time]
1851
2009
  #
1852
2010
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StartingPosition AWS API Documentation
@@ -1855,6 +2013,7 @@ module Aws::Kinesis
1855
2013
  :type,
1856
2014
  :sequence_number,
1857
2015
  :timestamp)
2016
+ SENSITIVE = []
1858
2017
  include Aws::Structure
1859
2018
  end
1860
2019
 
@@ -1902,6 +2061,7 @@ module Aws::Kinesis
1902
2061
  :stream_name,
1903
2062
  :encryption_type,
1904
2063
  :key_id)
2064
+ SENSITIVE = []
1905
2065
  include Aws::Structure
1906
2066
  end
1907
2067
 
@@ -1945,7 +2105,8 @@ module Aws::Kinesis
1945
2105
  # @return [Boolean]
1946
2106
  #
1947
2107
  # @!attribute [rw] retention_period_hours
1948
- # The current retention period, in hours.
2108
+ # The current retention period, in hours. Minimum value of 24. Maximum
2109
+ # value of 168.
1949
2110
  # @return [Integer]
1950
2111
  #
1951
2112
  # @!attribute [rw] stream_creation_timestamp
@@ -2000,6 +2161,7 @@ module Aws::Kinesis
2000
2161
  :enhanced_monitoring,
2001
2162
  :encryption_type,
2002
2163
  :key_id)
2164
+ SENSITIVE = []
2003
2165
  include Aws::Structure
2004
2166
  end
2005
2167
 
@@ -2095,18 +2257,22 @@ module Aws::Kinesis
2095
2257
  :key_id,
2096
2258
  :open_shard_count,
2097
2259
  :consumer_count)
2260
+ SENSITIVE = []
2098
2261
  include Aws::Structure
2099
2262
  end
2100
2263
 
2101
2264
  # After you call SubscribeToShard, Kinesis Data Streams sends events of
2102
- # this type to your consumer.
2265
+ # this type over an HTTP/2 connection to your consumer.
2103
2266
  #
2104
2267
  # @!attribute [rw] records
2105
2268
  # @return [Array<Types::Record>]
2106
2269
  #
2107
2270
  # @!attribute [rw] continuation_sequence_number
2108
- # Use this as `StartingSequenceNumber` in the next call to
2109
- # SubscribeToShard.
2271
+ # Use this as `SequenceNumber` in the next call to SubscribeToShard,
2272
+ # with `StartingPosition` set to `AT_SEQUENCE_NUMBER` or
2273
+ # `AFTER_SEQUENCE_NUMBER`. Use `ContinuationSequenceNumber` for
2274
+ # checkpointing because it captures your shard progress even when no
2275
+ # data is written to the shard.
2110
2276
  # @return [String]
2111
2277
  #
2112
2278
  # @!attribute [rw] millis_behind_latest
@@ -2116,13 +2282,18 @@ module Aws::Kinesis
2116
2282
  # there are no new records to process at this moment.
2117
2283
  # @return [Integer]
2118
2284
  #
2285
+ # @!attribute [rw] child_shards
2286
+ # @return [Array<Types::ChildShard>]
2287
+ #
2119
2288
  # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SubscribeToShardEvent AWS API Documentation
2120
2289
  #
2121
2290
  class SubscribeToShardEvent < Struct.new(
2122
2291
  :records,
2123
2292
  :continuation_sequence_number,
2124
2293
  :millis_behind_latest,
2294
+ :child_shards,
2125
2295
  :event_type)
2296
+ SENSITIVE = []
2126
2297
  include Aws::Structure
2127
2298
  end
2128
2299
 
@@ -2158,6 +2329,7 @@ module Aws::Kinesis
2158
2329
  :consumer_arn,
2159
2330
  :shard_id,
2160
2331
  :starting_position)
2332
+ SENSITIVE = []
2161
2333
  include Aws::Structure
2162
2334
  end
2163
2335
 
@@ -2170,6 +2342,7 @@ module Aws::Kinesis
2170
2342
  #
2171
2343
  class SubscribeToShardOutput < Struct.new(
2172
2344
  :event_stream)
2345
+ SENSITIVE = []
2173
2346
  include Aws::Structure
2174
2347
  end
2175
2348
 
@@ -2192,6 +2365,7 @@ module Aws::Kinesis
2192
2365
  class Tag < Struct.new(
2193
2366
  :key,
2194
2367
  :value)
2368
+ SENSITIVE = []
2195
2369
  include Aws::Structure
2196
2370
  end
2197
2371
 
@@ -2209,7 +2383,20 @@ module Aws::Kinesis
2209
2383
  # @return [String]
2210
2384
  #
2211
2385
  # @!attribute [rw] target_shard_count
2212
- # The new number of shards.
2386
+ # The new number of shards. This value has the following default
2387
+ # limits. By default, you cannot do the following:
2388
+ #
2389
+ # * Set this value to more than double your current shard count for a
2390
+ # stream.
2391
+ #
2392
+ # * Set this value below half your current shard count for a stream.
2393
+ #
2394
+ # * Set this value to more than 500 shards in a stream (the default
2395
+ # limit for shard count per stream is 500 per account per region),
2396
+ # unless you request a limit increase.
2397
+ #
2398
+ # * Scale a stream with more than 500 shards down unless you set this
2399
+ # value to less than 500 shards.
2213
2400
  # @return [Integer]
2214
2401
  #
2215
2402
  # @!attribute [rw] scaling_type
@@ -2222,6 +2409,7 @@ module Aws::Kinesis
2222
2409
  :stream_name,
2223
2410
  :target_shard_count,
2224
2411
  :scaling_type)
2412
+ SENSITIVE = []
2225
2413
  include Aws::Structure
2226
2414
  end
2227
2415
 
@@ -2243,9 +2431,14 @@ module Aws::Kinesis
2243
2431
  :stream_name,
2244
2432
  :current_shard_count,
2245
2433
  :target_shard_count)
2434
+ SENSITIVE = []
2246
2435
  include Aws::Structure
2247
2436
  end
2248
2437
 
2438
+ # This is a tagged union for all of the types of events an enhanced
2439
+ # fan-out consumer can receive over HTTP/2 after a call to
2440
+ # SubscribeToShard.
2441
+ #
2249
2442
  # EventStream is an Enumerator of Events.
2250
2443
  # #event_types #=> Array, returns all modeled event types in the stream
2251
2444
  #