aws-sdk-kinesis 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,533 +1,531 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module Kinesis
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- AddTagsToStreamInput = Shapes::StructureShape.new(name: 'AddTagsToStreamInput')
16
- BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
17
- CreateStreamInput = Shapes::StructureShape.new(name: 'CreateStreamInput')
18
- Data = Shapes::BlobShape.new(name: 'Data')
19
- DecreaseStreamRetentionPeriodInput = Shapes::StructureShape.new(name: 'DecreaseStreamRetentionPeriodInput')
20
- DeleteStreamInput = Shapes::StructureShape.new(name: 'DeleteStreamInput')
21
- DescribeLimitsInput = Shapes::StructureShape.new(name: 'DescribeLimitsInput')
22
- DescribeLimitsOutput = Shapes::StructureShape.new(name: 'DescribeLimitsOutput')
23
- DescribeStreamInput = Shapes::StructureShape.new(name: 'DescribeStreamInput')
24
- DescribeStreamInputLimit = Shapes::IntegerShape.new(name: 'DescribeStreamInputLimit')
25
- DescribeStreamOutput = Shapes::StructureShape.new(name: 'DescribeStreamOutput')
26
- DisableEnhancedMonitoringInput = Shapes::StructureShape.new(name: 'DisableEnhancedMonitoringInput')
27
- EnableEnhancedMonitoringInput = Shapes::StructureShape.new(name: 'EnableEnhancedMonitoringInput')
28
- EnhancedMetrics = Shapes::StructureShape.new(name: 'EnhancedMetrics')
29
- EnhancedMonitoringList = Shapes::ListShape.new(name: 'EnhancedMonitoringList')
30
- EnhancedMonitoringOutput = Shapes::StructureShape.new(name: 'EnhancedMonitoringOutput')
31
- ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
32
- ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
33
- ExpiredIteratorException = Shapes::StructureShape.new(name: 'ExpiredIteratorException')
34
- GetRecordsInput = Shapes::StructureShape.new(name: 'GetRecordsInput')
35
- GetRecordsInputLimit = Shapes::IntegerShape.new(name: 'GetRecordsInputLimit')
36
- GetRecordsOutput = Shapes::StructureShape.new(name: 'GetRecordsOutput')
37
- GetShardIteratorInput = Shapes::StructureShape.new(name: 'GetShardIteratorInput')
38
- GetShardIteratorOutput = Shapes::StructureShape.new(name: 'GetShardIteratorOutput')
39
- HashKey = Shapes::StringShape.new(name: 'HashKey')
40
- HashKeyRange = Shapes::StructureShape.new(name: 'HashKeyRange')
41
- IncreaseStreamRetentionPeriodInput = Shapes::StructureShape.new(name: 'IncreaseStreamRetentionPeriodInput')
42
- InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
43
- LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
44
- ListStreamsInput = Shapes::StructureShape.new(name: 'ListStreamsInput')
45
- ListStreamsInputLimit = Shapes::IntegerShape.new(name: 'ListStreamsInputLimit')
46
- ListStreamsOutput = Shapes::StructureShape.new(name: 'ListStreamsOutput')
47
- ListTagsForStreamInput = Shapes::StructureShape.new(name: 'ListTagsForStreamInput')
48
- ListTagsForStreamInputLimit = Shapes::IntegerShape.new(name: 'ListTagsForStreamInputLimit')
49
- ListTagsForStreamOutput = Shapes::StructureShape.new(name: 'ListTagsForStreamOutput')
50
- MergeShardsInput = Shapes::StructureShape.new(name: 'MergeShardsInput')
51
- MetricsName = Shapes::StringShape.new(name: 'MetricsName')
52
- MetricsNameList = Shapes::ListShape.new(name: 'MetricsNameList')
53
- MillisBehindLatest = Shapes::IntegerShape.new(name: 'MillisBehindLatest')
54
- PartitionKey = Shapes::StringShape.new(name: 'PartitionKey')
55
- PositiveIntegerObject = Shapes::IntegerShape.new(name: 'PositiveIntegerObject')
56
- ProvisionedThroughputExceededException = Shapes::StructureShape.new(name: 'ProvisionedThroughputExceededException')
57
- PutRecordInput = Shapes::StructureShape.new(name: 'PutRecordInput')
58
- PutRecordOutput = Shapes::StructureShape.new(name: 'PutRecordOutput')
59
- PutRecordsInput = Shapes::StructureShape.new(name: 'PutRecordsInput')
60
- PutRecordsOutput = Shapes::StructureShape.new(name: 'PutRecordsOutput')
61
- PutRecordsRequestEntry = Shapes::StructureShape.new(name: 'PutRecordsRequestEntry')
62
- PutRecordsRequestEntryList = Shapes::ListShape.new(name: 'PutRecordsRequestEntryList')
63
- PutRecordsResultEntry = Shapes::StructureShape.new(name: 'PutRecordsResultEntry')
64
- PutRecordsResultEntryList = Shapes::ListShape.new(name: 'PutRecordsResultEntryList')
65
- Record = Shapes::StructureShape.new(name: 'Record')
66
- RecordList = Shapes::ListShape.new(name: 'RecordList')
67
- RemoveTagsFromStreamInput = Shapes::StructureShape.new(name: 'RemoveTagsFromStreamInput')
68
- ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
69
- ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
70
- ScalingType = Shapes::StringShape.new(name: 'ScalingType')
71
- SequenceNumber = Shapes::StringShape.new(name: 'SequenceNumber')
72
- SequenceNumberRange = Shapes::StructureShape.new(name: 'SequenceNumberRange')
73
- Shard = Shapes::StructureShape.new(name: 'Shard')
74
- ShardCountObject = Shapes::IntegerShape.new(name: 'ShardCountObject')
75
- ShardId = Shapes::StringShape.new(name: 'ShardId')
76
- ShardIterator = Shapes::StringShape.new(name: 'ShardIterator')
77
- ShardIteratorType = Shapes::StringShape.new(name: 'ShardIteratorType')
78
- ShardList = Shapes::ListShape.new(name: 'ShardList')
79
- SplitShardInput = Shapes::StructureShape.new(name: 'SplitShardInput')
80
- StreamARN = Shapes::StringShape.new(name: 'StreamARN')
81
- StreamDescription = Shapes::StructureShape.new(name: 'StreamDescription')
82
- StreamName = Shapes::StringShape.new(name: 'StreamName')
83
- StreamNameList = Shapes::ListShape.new(name: 'StreamNameList')
84
- StreamStatus = Shapes::StringShape.new(name: 'StreamStatus')
85
- Tag = Shapes::StructureShape.new(name: 'Tag')
86
- TagKey = Shapes::StringShape.new(name: 'TagKey')
87
- TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
88
- TagList = Shapes::ListShape.new(name: 'TagList')
89
- TagMap = Shapes::MapShape.new(name: 'TagMap')
90
- TagValue = Shapes::StringShape.new(name: 'TagValue')
91
- Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
92
- UpdateShardCountInput = Shapes::StructureShape.new(name: 'UpdateShardCountInput')
93
- UpdateShardCountOutput = Shapes::StructureShape.new(name: 'UpdateShardCountOutput')
94
-
95
- AddTagsToStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
96
- AddTagsToStreamInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
97
- AddTagsToStreamInput.struct_class = Types::AddTagsToStreamInput
98
-
99
- CreateStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
100
- CreateStreamInput.add_member(:shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "ShardCount"))
101
- CreateStreamInput.struct_class = Types::CreateStreamInput
102
-
103
- DecreaseStreamRetentionPeriodInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
104
- DecreaseStreamRetentionPeriodInput.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "RetentionPeriodHours"))
105
- DecreaseStreamRetentionPeriodInput.struct_class = Types::DecreaseStreamRetentionPeriodInput
106
-
107
- DeleteStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
108
- DeleteStreamInput.struct_class = Types::DeleteStreamInput
109
-
110
- DescribeLimitsInput.struct_class = Types::DescribeLimitsInput
111
-
112
- DescribeLimitsOutput.add_member(:shard_limit, Shapes::ShapeRef.new(shape: ShardCountObject, required: true, location_name: "ShardLimit"))
113
- DescribeLimitsOutput.add_member(:open_shard_count, Shapes::ShapeRef.new(shape: ShardCountObject, required: true, location_name: "OpenShardCount"))
114
- DescribeLimitsOutput.struct_class = Types::DescribeLimitsOutput
115
-
116
- DescribeStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
117
- DescribeStreamInput.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeStreamInputLimit, location_name: "Limit"))
118
- DescribeStreamInput.add_member(:exclusive_start_shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "ExclusiveStartShardId"))
119
- DescribeStreamInput.struct_class = Types::DescribeStreamInput
120
-
121
- DescribeStreamOutput.add_member(:stream_description, Shapes::ShapeRef.new(shape: StreamDescription, required: true, location_name: "StreamDescription"))
122
- DescribeStreamOutput.struct_class = Types::DescribeStreamOutput
123
-
124
- DisableEnhancedMonitoringInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
125
- DisableEnhancedMonitoringInput.add_member(:shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, required: true, location_name: "ShardLevelMetrics"))
126
- DisableEnhancedMonitoringInput.struct_class = Types::DisableEnhancedMonitoringInput
127
-
128
- EnableEnhancedMonitoringInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
129
- EnableEnhancedMonitoringInput.add_member(:shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, required: true, location_name: "ShardLevelMetrics"))
130
- EnableEnhancedMonitoringInput.struct_class = Types::EnableEnhancedMonitoringInput
131
-
132
- EnhancedMetrics.add_member(:shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, location_name: "ShardLevelMetrics"))
133
- EnhancedMetrics.struct_class = Types::EnhancedMetrics
134
-
135
- EnhancedMonitoringList.member = Shapes::ShapeRef.new(shape: EnhancedMetrics)
136
-
137
- EnhancedMonitoringOutput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
138
- EnhancedMonitoringOutput.add_member(:current_shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, location_name: "CurrentShardLevelMetrics"))
139
- EnhancedMonitoringOutput.add_member(:desired_shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, location_name: "DesiredShardLevelMetrics"))
140
- EnhancedMonitoringOutput.struct_class = Types::EnhancedMonitoringOutput
141
-
142
- GetRecordsInput.add_member(:shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, required: true, location_name: "ShardIterator"))
143
- GetRecordsInput.add_member(:limit, Shapes::ShapeRef.new(shape: GetRecordsInputLimit, location_name: "Limit"))
144
- GetRecordsInput.struct_class = Types::GetRecordsInput
145
-
146
- GetRecordsOutput.add_member(:records, Shapes::ShapeRef.new(shape: RecordList, required: true, location_name: "Records"))
147
- GetRecordsOutput.add_member(:next_shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, location_name: "NextShardIterator"))
148
- GetRecordsOutput.add_member(:millis_behind_latest, Shapes::ShapeRef.new(shape: MillisBehindLatest, location_name: "MillisBehindLatest"))
149
- GetRecordsOutput.struct_class = Types::GetRecordsOutput
150
-
151
- GetShardIteratorInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
152
- GetShardIteratorInput.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
153
- GetShardIteratorInput.add_member(:shard_iterator_type, Shapes::ShapeRef.new(shape: ShardIteratorType, required: true, location_name: "ShardIteratorType"))
154
- GetShardIteratorInput.add_member(:starting_sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "StartingSequenceNumber"))
155
- GetShardIteratorInput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
156
- GetShardIteratorInput.struct_class = Types::GetShardIteratorInput
157
-
158
- GetShardIteratorOutput.add_member(:shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, location_name: "ShardIterator"))
159
- GetShardIteratorOutput.struct_class = Types::GetShardIteratorOutput
160
-
161
- HashKeyRange.add_member(:starting_hash_key, Shapes::ShapeRef.new(shape: HashKey, required: true, location_name: "StartingHashKey"))
162
- HashKeyRange.add_member(:ending_hash_key, Shapes::ShapeRef.new(shape: HashKey, required: true, location_name: "EndingHashKey"))
163
- HashKeyRange.struct_class = Types::HashKeyRange
164
-
165
- IncreaseStreamRetentionPeriodInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
166
- IncreaseStreamRetentionPeriodInput.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "RetentionPeriodHours"))
167
- IncreaseStreamRetentionPeriodInput.struct_class = Types::IncreaseStreamRetentionPeriodInput
168
-
169
- ListStreamsInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListStreamsInputLimit, location_name: "Limit"))
170
- ListStreamsInput.add_member(:exclusive_start_stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "ExclusiveStartStreamName"))
171
- ListStreamsInput.struct_class = Types::ListStreamsInput
172
-
173
- ListStreamsOutput.add_member(:stream_names, Shapes::ShapeRef.new(shape: StreamNameList, required: true, location_name: "StreamNames"))
174
- ListStreamsOutput.add_member(:has_more_streams, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "HasMoreStreams"))
175
- ListStreamsOutput.struct_class = Types::ListStreamsOutput
176
-
177
- ListTagsForStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
178
- ListTagsForStreamInput.add_member(:exclusive_start_tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "ExclusiveStartTagKey"))
179
- ListTagsForStreamInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListTagsForStreamInputLimit, location_name: "Limit"))
180
- ListTagsForStreamInput.struct_class = Types::ListTagsForStreamInput
181
-
182
- ListTagsForStreamOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
183
- ListTagsForStreamOutput.add_member(:has_more_tags, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "HasMoreTags"))
184
- ListTagsForStreamOutput.struct_class = Types::ListTagsForStreamOutput
185
-
186
- MergeShardsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
187
- MergeShardsInput.add_member(:shard_to_merge, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardToMerge"))
188
- MergeShardsInput.add_member(:adjacent_shard_to_merge, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "AdjacentShardToMerge"))
189
- MergeShardsInput.struct_class = Types::MergeShardsInput
8
+ module Aws::Kinesis
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AddTagsToStreamInput = Shapes::StructureShape.new(name: 'AddTagsToStreamInput')
15
+ BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
16
+ CreateStreamInput = Shapes::StructureShape.new(name: 'CreateStreamInput')
17
+ Data = Shapes::BlobShape.new(name: 'Data')
18
+ DecreaseStreamRetentionPeriodInput = Shapes::StructureShape.new(name: 'DecreaseStreamRetentionPeriodInput')
19
+ DeleteStreamInput = Shapes::StructureShape.new(name: 'DeleteStreamInput')
20
+ DescribeLimitsInput = Shapes::StructureShape.new(name: 'DescribeLimitsInput')
21
+ DescribeLimitsOutput = Shapes::StructureShape.new(name: 'DescribeLimitsOutput')
22
+ DescribeStreamInput = Shapes::StructureShape.new(name: 'DescribeStreamInput')
23
+ DescribeStreamInputLimit = Shapes::IntegerShape.new(name: 'DescribeStreamInputLimit')
24
+ DescribeStreamOutput = Shapes::StructureShape.new(name: 'DescribeStreamOutput')
25
+ DisableEnhancedMonitoringInput = Shapes::StructureShape.new(name: 'DisableEnhancedMonitoringInput')
26
+ EnableEnhancedMonitoringInput = Shapes::StructureShape.new(name: 'EnableEnhancedMonitoringInput')
27
+ EnhancedMetrics = Shapes::StructureShape.new(name: 'EnhancedMetrics')
28
+ EnhancedMonitoringList = Shapes::ListShape.new(name: 'EnhancedMonitoringList')
29
+ EnhancedMonitoringOutput = Shapes::StructureShape.new(name: 'EnhancedMonitoringOutput')
30
+ ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
31
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
32
+ ExpiredIteratorException = Shapes::StructureShape.new(name: 'ExpiredIteratorException')
33
+ GetRecordsInput = Shapes::StructureShape.new(name: 'GetRecordsInput')
34
+ GetRecordsInputLimit = Shapes::IntegerShape.new(name: 'GetRecordsInputLimit')
35
+ GetRecordsOutput = Shapes::StructureShape.new(name: 'GetRecordsOutput')
36
+ GetShardIteratorInput = Shapes::StructureShape.new(name: 'GetShardIteratorInput')
37
+ GetShardIteratorOutput = Shapes::StructureShape.new(name: 'GetShardIteratorOutput')
38
+ HashKey = Shapes::StringShape.new(name: 'HashKey')
39
+ HashKeyRange = Shapes::StructureShape.new(name: 'HashKeyRange')
40
+ IncreaseStreamRetentionPeriodInput = Shapes::StructureShape.new(name: 'IncreaseStreamRetentionPeriodInput')
41
+ InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
42
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
43
+ ListStreamsInput = Shapes::StructureShape.new(name: 'ListStreamsInput')
44
+ ListStreamsInputLimit = Shapes::IntegerShape.new(name: 'ListStreamsInputLimit')
45
+ ListStreamsOutput = Shapes::StructureShape.new(name: 'ListStreamsOutput')
46
+ ListTagsForStreamInput = Shapes::StructureShape.new(name: 'ListTagsForStreamInput')
47
+ ListTagsForStreamInputLimit = Shapes::IntegerShape.new(name: 'ListTagsForStreamInputLimit')
48
+ ListTagsForStreamOutput = Shapes::StructureShape.new(name: 'ListTagsForStreamOutput')
49
+ MergeShardsInput = Shapes::StructureShape.new(name: 'MergeShardsInput')
50
+ MetricsName = Shapes::StringShape.new(name: 'MetricsName')
51
+ MetricsNameList = Shapes::ListShape.new(name: 'MetricsNameList')
52
+ MillisBehindLatest = Shapes::IntegerShape.new(name: 'MillisBehindLatest')
53
+ PartitionKey = Shapes::StringShape.new(name: 'PartitionKey')
54
+ PositiveIntegerObject = Shapes::IntegerShape.new(name: 'PositiveIntegerObject')
55
+ ProvisionedThroughputExceededException = Shapes::StructureShape.new(name: 'ProvisionedThroughputExceededException')
56
+ PutRecordInput = Shapes::StructureShape.new(name: 'PutRecordInput')
57
+ PutRecordOutput = Shapes::StructureShape.new(name: 'PutRecordOutput')
58
+ PutRecordsInput = Shapes::StructureShape.new(name: 'PutRecordsInput')
59
+ PutRecordsOutput = Shapes::StructureShape.new(name: 'PutRecordsOutput')
60
+ PutRecordsRequestEntry = Shapes::StructureShape.new(name: 'PutRecordsRequestEntry')
61
+ PutRecordsRequestEntryList = Shapes::ListShape.new(name: 'PutRecordsRequestEntryList')
62
+ PutRecordsResultEntry = Shapes::StructureShape.new(name: 'PutRecordsResultEntry')
63
+ PutRecordsResultEntryList = Shapes::ListShape.new(name: 'PutRecordsResultEntryList')
64
+ Record = Shapes::StructureShape.new(name: 'Record')
65
+ RecordList = Shapes::ListShape.new(name: 'RecordList')
66
+ RemoveTagsFromStreamInput = Shapes::StructureShape.new(name: 'RemoveTagsFromStreamInput')
67
+ ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
68
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
69
+ ScalingType = Shapes::StringShape.new(name: 'ScalingType')
70
+ SequenceNumber = Shapes::StringShape.new(name: 'SequenceNumber')
71
+ SequenceNumberRange = Shapes::StructureShape.new(name: 'SequenceNumberRange')
72
+ Shard = Shapes::StructureShape.new(name: 'Shard')
73
+ ShardCountObject = Shapes::IntegerShape.new(name: 'ShardCountObject')
74
+ ShardId = Shapes::StringShape.new(name: 'ShardId')
75
+ ShardIterator = Shapes::StringShape.new(name: 'ShardIterator')
76
+ ShardIteratorType = Shapes::StringShape.new(name: 'ShardIteratorType')
77
+ ShardList = Shapes::ListShape.new(name: 'ShardList')
78
+ SplitShardInput = Shapes::StructureShape.new(name: 'SplitShardInput')
79
+ StreamARN = Shapes::StringShape.new(name: 'StreamARN')
80
+ StreamDescription = Shapes::StructureShape.new(name: 'StreamDescription')
81
+ StreamName = Shapes::StringShape.new(name: 'StreamName')
82
+ StreamNameList = Shapes::ListShape.new(name: 'StreamNameList')
83
+ StreamStatus = Shapes::StringShape.new(name: 'StreamStatus')
84
+ Tag = Shapes::StructureShape.new(name: 'Tag')
85
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
86
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
87
+ TagList = Shapes::ListShape.new(name: 'TagList')
88
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
89
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
90
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
91
+ UpdateShardCountInput = Shapes::StructureShape.new(name: 'UpdateShardCountInput')
92
+ UpdateShardCountOutput = Shapes::StructureShape.new(name: 'UpdateShardCountOutput')
93
+
94
+ AddTagsToStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
95
+ AddTagsToStreamInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
96
+ AddTagsToStreamInput.struct_class = Types::AddTagsToStreamInput
97
+
98
+ CreateStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
99
+ CreateStreamInput.add_member(:shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "ShardCount"))
100
+ CreateStreamInput.struct_class = Types::CreateStreamInput
101
+
102
+ DecreaseStreamRetentionPeriodInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
103
+ DecreaseStreamRetentionPeriodInput.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "RetentionPeriodHours"))
104
+ DecreaseStreamRetentionPeriodInput.struct_class = Types::DecreaseStreamRetentionPeriodInput
105
+
106
+ DeleteStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
107
+ DeleteStreamInput.struct_class = Types::DeleteStreamInput
108
+
109
+ DescribeLimitsInput.struct_class = Types::DescribeLimitsInput
110
+
111
+ DescribeLimitsOutput.add_member(:shard_limit, Shapes::ShapeRef.new(shape: ShardCountObject, required: true, location_name: "ShardLimit"))
112
+ DescribeLimitsOutput.add_member(:open_shard_count, Shapes::ShapeRef.new(shape: ShardCountObject, required: true, location_name: "OpenShardCount"))
113
+ DescribeLimitsOutput.struct_class = Types::DescribeLimitsOutput
114
+
115
+ DescribeStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
116
+ DescribeStreamInput.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeStreamInputLimit, location_name: "Limit"))
117
+ DescribeStreamInput.add_member(:exclusive_start_shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "ExclusiveStartShardId"))
118
+ DescribeStreamInput.struct_class = Types::DescribeStreamInput
119
+
120
+ DescribeStreamOutput.add_member(:stream_description, Shapes::ShapeRef.new(shape: StreamDescription, required: true, location_name: "StreamDescription"))
121
+ DescribeStreamOutput.struct_class = Types::DescribeStreamOutput
122
+
123
+ DisableEnhancedMonitoringInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
124
+ DisableEnhancedMonitoringInput.add_member(:shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, required: true, location_name: "ShardLevelMetrics"))
125
+ DisableEnhancedMonitoringInput.struct_class = Types::DisableEnhancedMonitoringInput
126
+
127
+ EnableEnhancedMonitoringInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
128
+ EnableEnhancedMonitoringInput.add_member(:shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, required: true, location_name: "ShardLevelMetrics"))
129
+ EnableEnhancedMonitoringInput.struct_class = Types::EnableEnhancedMonitoringInput
130
+
131
+ EnhancedMetrics.add_member(:shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, location_name: "ShardLevelMetrics"))
132
+ EnhancedMetrics.struct_class = Types::EnhancedMetrics
133
+
134
+ EnhancedMonitoringList.member = Shapes::ShapeRef.new(shape: EnhancedMetrics)
135
+
136
+ EnhancedMonitoringOutput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
137
+ EnhancedMonitoringOutput.add_member(:current_shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, location_name: "CurrentShardLevelMetrics"))
138
+ EnhancedMonitoringOutput.add_member(:desired_shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, location_name: "DesiredShardLevelMetrics"))
139
+ EnhancedMonitoringOutput.struct_class = Types::EnhancedMonitoringOutput
140
+
141
+ GetRecordsInput.add_member(:shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, required: true, location_name: "ShardIterator"))
142
+ GetRecordsInput.add_member(:limit, Shapes::ShapeRef.new(shape: GetRecordsInputLimit, location_name: "Limit"))
143
+ GetRecordsInput.struct_class = Types::GetRecordsInput
144
+
145
+ GetRecordsOutput.add_member(:records, Shapes::ShapeRef.new(shape: RecordList, required: true, location_name: "Records"))
146
+ GetRecordsOutput.add_member(:next_shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, location_name: "NextShardIterator"))
147
+ GetRecordsOutput.add_member(:millis_behind_latest, Shapes::ShapeRef.new(shape: MillisBehindLatest, location_name: "MillisBehindLatest"))
148
+ GetRecordsOutput.struct_class = Types::GetRecordsOutput
149
+
150
+ GetShardIteratorInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
151
+ GetShardIteratorInput.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
152
+ GetShardIteratorInput.add_member(:shard_iterator_type, Shapes::ShapeRef.new(shape: ShardIteratorType, required: true, location_name: "ShardIteratorType"))
153
+ GetShardIteratorInput.add_member(:starting_sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "StartingSequenceNumber"))
154
+ GetShardIteratorInput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
155
+ GetShardIteratorInput.struct_class = Types::GetShardIteratorInput
156
+
157
+ GetShardIteratorOutput.add_member(:shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, location_name: "ShardIterator"))
158
+ GetShardIteratorOutput.struct_class = Types::GetShardIteratorOutput
159
+
160
+ HashKeyRange.add_member(:starting_hash_key, Shapes::ShapeRef.new(shape: HashKey, required: true, location_name: "StartingHashKey"))
161
+ HashKeyRange.add_member(:ending_hash_key, Shapes::ShapeRef.new(shape: HashKey, required: true, location_name: "EndingHashKey"))
162
+ HashKeyRange.struct_class = Types::HashKeyRange
163
+
164
+ IncreaseStreamRetentionPeriodInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
165
+ IncreaseStreamRetentionPeriodInput.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "RetentionPeriodHours"))
166
+ IncreaseStreamRetentionPeriodInput.struct_class = Types::IncreaseStreamRetentionPeriodInput
167
+
168
+ ListStreamsInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListStreamsInputLimit, location_name: "Limit"))
169
+ ListStreamsInput.add_member(:exclusive_start_stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "ExclusiveStartStreamName"))
170
+ ListStreamsInput.struct_class = Types::ListStreamsInput
171
+
172
+ ListStreamsOutput.add_member(:stream_names, Shapes::ShapeRef.new(shape: StreamNameList, required: true, location_name: "StreamNames"))
173
+ ListStreamsOutput.add_member(:has_more_streams, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "HasMoreStreams"))
174
+ ListStreamsOutput.struct_class = Types::ListStreamsOutput
175
+
176
+ ListTagsForStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
177
+ ListTagsForStreamInput.add_member(:exclusive_start_tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "ExclusiveStartTagKey"))
178
+ ListTagsForStreamInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListTagsForStreamInputLimit, location_name: "Limit"))
179
+ ListTagsForStreamInput.struct_class = Types::ListTagsForStreamInput
180
+
181
+ ListTagsForStreamOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
182
+ ListTagsForStreamOutput.add_member(:has_more_tags, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "HasMoreTags"))
183
+ ListTagsForStreamOutput.struct_class = Types::ListTagsForStreamOutput
184
+
185
+ MergeShardsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
186
+ MergeShardsInput.add_member(:shard_to_merge, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardToMerge"))
187
+ MergeShardsInput.add_member(:adjacent_shard_to_merge, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "AdjacentShardToMerge"))
188
+ MergeShardsInput.struct_class = Types::MergeShardsInput
189
+
190
+ MetricsNameList.member = Shapes::ShapeRef.new(shape: MetricsName)
191
+
192
+ PutRecordInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
193
+ PutRecordInput.add_member(:data, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "Data"))
194
+ PutRecordInput.add_member(:partition_key, Shapes::ShapeRef.new(shape: PartitionKey, required: true, location_name: "PartitionKey"))
195
+ PutRecordInput.add_member(:explicit_hash_key, Shapes::ShapeRef.new(shape: HashKey, location_name: "ExplicitHashKey"))
196
+ PutRecordInput.add_member(:sequence_number_for_ordering, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "SequenceNumberForOrdering"))
197
+ PutRecordInput.struct_class = Types::PutRecordInput
198
+
199
+ PutRecordOutput.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
200
+ PutRecordOutput.add_member(:sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, required: true, location_name: "SequenceNumber"))
201
+ PutRecordOutput.struct_class = Types::PutRecordOutput
202
+
203
+ PutRecordsInput.add_member(:records, Shapes::ShapeRef.new(shape: PutRecordsRequestEntryList, required: true, location_name: "Records"))
204
+ PutRecordsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
205
+ PutRecordsInput.struct_class = Types::PutRecordsInput
206
+
207
+ PutRecordsOutput.add_member(:failed_record_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "FailedRecordCount"))
208
+ PutRecordsOutput.add_member(:records, Shapes::ShapeRef.new(shape: PutRecordsResultEntryList, required: true, location_name: "Records"))
209
+ PutRecordsOutput.struct_class = Types::PutRecordsOutput
210
+
211
+ PutRecordsRequestEntry.add_member(:data, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "Data"))
212
+ PutRecordsRequestEntry.add_member(:explicit_hash_key, Shapes::ShapeRef.new(shape: HashKey, location_name: "ExplicitHashKey"))
213
+ PutRecordsRequestEntry.add_member(:partition_key, Shapes::ShapeRef.new(shape: PartitionKey, required: true, location_name: "PartitionKey"))
214
+ PutRecordsRequestEntry.struct_class = Types::PutRecordsRequestEntry
215
+
216
+ PutRecordsRequestEntryList.member = Shapes::ShapeRef.new(shape: PutRecordsRequestEntry)
217
+
218
+ PutRecordsResultEntry.add_member(:sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "SequenceNumber"))
219
+ PutRecordsResultEntry.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "ShardId"))
220
+ PutRecordsResultEntry.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
221
+ PutRecordsResultEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
222
+ PutRecordsResultEntry.struct_class = Types::PutRecordsResultEntry
223
+
224
+ PutRecordsResultEntryList.member = Shapes::ShapeRef.new(shape: PutRecordsResultEntry)
225
+
226
+ Record.add_member(:sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, required: true, location_name: "SequenceNumber"))
227
+ Record.add_member(:approximate_arrival_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ApproximateArrivalTimestamp"))
228
+ Record.add_member(:data, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "Data"))
229
+ Record.add_member(:partition_key, Shapes::ShapeRef.new(shape: PartitionKey, required: true, location_name: "PartitionKey"))
230
+ Record.struct_class = Types::Record
190
231
 
191
- MetricsNameList.member = Shapes::ShapeRef.new(shape: MetricsName)
232
+ RecordList.member = Shapes::ShapeRef.new(shape: Record)
192
233
 
193
- PutRecordInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
194
- PutRecordInput.add_member(:data, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "Data"))
195
- PutRecordInput.add_member(:partition_key, Shapes::ShapeRef.new(shape: PartitionKey, required: true, location_name: "PartitionKey"))
196
- PutRecordInput.add_member(:explicit_hash_key, Shapes::ShapeRef.new(shape: HashKey, location_name: "ExplicitHashKey"))
197
- PutRecordInput.add_member(:sequence_number_for_ordering, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "SequenceNumberForOrdering"))
198
- PutRecordInput.struct_class = Types::PutRecordInput
234
+ RemoveTagsFromStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
235
+ RemoveTagsFromStreamInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
236
+ RemoveTagsFromStreamInput.struct_class = Types::RemoveTagsFromStreamInput
237
+
238
+ SequenceNumberRange.add_member(:starting_sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, required: true, location_name: "StartingSequenceNumber"))
239
+ SequenceNumberRange.add_member(:ending_sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "EndingSequenceNumber"))
240
+ SequenceNumberRange.struct_class = Types::SequenceNumberRange
241
+
242
+ Shard.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
243
+ Shard.add_member(:parent_shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "ParentShardId"))
244
+ Shard.add_member(:adjacent_parent_shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "AdjacentParentShardId"))
245
+ Shard.add_member(:hash_key_range, Shapes::ShapeRef.new(shape: HashKeyRange, required: true, location_name: "HashKeyRange"))
246
+ Shard.add_member(:sequence_number_range, Shapes::ShapeRef.new(shape: SequenceNumberRange, required: true, location_name: "SequenceNumberRange"))
247
+ Shard.struct_class = Types::Shard
199
248
 
200
- PutRecordOutput.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
201
- PutRecordOutput.add_member(:sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, required: true, location_name: "SequenceNumber"))
202
- PutRecordOutput.struct_class = Types::PutRecordOutput
203
-
204
- PutRecordsInput.add_member(:records, Shapes::ShapeRef.new(shape: PutRecordsRequestEntryList, required: true, location_name: "Records"))
205
- PutRecordsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
206
- PutRecordsInput.struct_class = Types::PutRecordsInput
207
-
208
- PutRecordsOutput.add_member(:failed_record_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "FailedRecordCount"))
209
- PutRecordsOutput.add_member(:records, Shapes::ShapeRef.new(shape: PutRecordsResultEntryList, required: true, location_name: "Records"))
210
- PutRecordsOutput.struct_class = Types::PutRecordsOutput
211
-
212
- PutRecordsRequestEntry.add_member(:data, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "Data"))
213
- PutRecordsRequestEntry.add_member(:explicit_hash_key, Shapes::ShapeRef.new(shape: HashKey, location_name: "ExplicitHashKey"))
214
- PutRecordsRequestEntry.add_member(:partition_key, Shapes::ShapeRef.new(shape: PartitionKey, required: true, location_name: "PartitionKey"))
215
- PutRecordsRequestEntry.struct_class = Types::PutRecordsRequestEntry
216
-
217
- PutRecordsRequestEntryList.member = Shapes::ShapeRef.new(shape: PutRecordsRequestEntry)
218
-
219
- PutRecordsResultEntry.add_member(:sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "SequenceNumber"))
220
- PutRecordsResultEntry.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "ShardId"))
221
- PutRecordsResultEntry.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
222
- PutRecordsResultEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
223
- PutRecordsResultEntry.struct_class = Types::PutRecordsResultEntry
224
-
225
- PutRecordsResultEntryList.member = Shapes::ShapeRef.new(shape: PutRecordsResultEntry)
226
-
227
- Record.add_member(:sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, required: true, location_name: "SequenceNumber"))
228
- Record.add_member(:approximate_arrival_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ApproximateArrivalTimestamp"))
229
- Record.add_member(:data, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "Data"))
230
- Record.add_member(:partition_key, Shapes::ShapeRef.new(shape: PartitionKey, required: true, location_name: "PartitionKey"))
231
- Record.struct_class = Types::Record
232
-
233
- RecordList.member = Shapes::ShapeRef.new(shape: Record)
234
-
235
- RemoveTagsFromStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
236
- RemoveTagsFromStreamInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
237
- RemoveTagsFromStreamInput.struct_class = Types::RemoveTagsFromStreamInput
238
-
239
- SequenceNumberRange.add_member(:starting_sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, required: true, location_name: "StartingSequenceNumber"))
240
- SequenceNumberRange.add_member(:ending_sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "EndingSequenceNumber"))
241
- SequenceNumberRange.struct_class = Types::SequenceNumberRange
242
-
243
- Shard.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
244
- Shard.add_member(:parent_shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "ParentShardId"))
245
- Shard.add_member(:adjacent_parent_shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "AdjacentParentShardId"))
246
- Shard.add_member(:hash_key_range, Shapes::ShapeRef.new(shape: HashKeyRange, required: true, location_name: "HashKeyRange"))
247
- Shard.add_member(:sequence_number_range, Shapes::ShapeRef.new(shape: SequenceNumberRange, required: true, location_name: "SequenceNumberRange"))
248
- Shard.struct_class = Types::Shard
249
-
250
- ShardList.member = Shapes::ShapeRef.new(shape: Shard)
251
-
252
- SplitShardInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
253
- SplitShardInput.add_member(:shard_to_split, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardToSplit"))
254
- SplitShardInput.add_member(:new_starting_hash_key, Shapes::ShapeRef.new(shape: HashKey, required: true, location_name: "NewStartingHashKey"))
255
- SplitShardInput.struct_class = Types::SplitShardInput
256
-
257
- StreamDescription.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
258
- StreamDescription.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, required: true, location_name: "StreamARN"))
259
- StreamDescription.add_member(:stream_status, Shapes::ShapeRef.new(shape: StreamStatus, required: true, location_name: "StreamStatus"))
260
- StreamDescription.add_member(:shards, Shapes::ShapeRef.new(shape: ShardList, required: true, location_name: "Shards"))
261
- StreamDescription.add_member(:has_more_shards, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "HasMoreShards"))
262
- StreamDescription.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "RetentionPeriodHours"))
263
- StreamDescription.add_member(:stream_creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StreamCreationTimestamp"))
264
- StreamDescription.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoringList, required: true, location_name: "EnhancedMonitoring"))
265
- StreamDescription.struct_class = Types::StreamDescription
266
-
267
- StreamNameList.member = Shapes::ShapeRef.new(shape: StreamName)
268
-
269
- Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
270
- Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
271
- Tag.struct_class = Types::Tag
272
-
273
- TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
274
-
275
- TagList.member = Shapes::ShapeRef.new(shape: Tag)
276
-
277
- TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
278
- TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
279
-
280
- UpdateShardCountInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
281
- UpdateShardCountInput.add_member(:target_shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "TargetShardCount"))
282
- UpdateShardCountInput.add_member(:scaling_type, Shapes::ShapeRef.new(shape: ScalingType, required: true, location_name: "ScalingType"))
283
- UpdateShardCountInput.struct_class = Types::UpdateShardCountInput
284
-
285
- UpdateShardCountOutput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
286
- UpdateShardCountOutput.add_member(:current_shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "CurrentShardCount"))
287
- UpdateShardCountOutput.add_member(:target_shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "TargetShardCount"))
288
- UpdateShardCountOutput.struct_class = Types::UpdateShardCountOutput
289
-
290
-
291
- # @api private
292
- API = Seahorse::Model::Api.new.tap do |api|
293
-
294
- api.version = "2013-12-02"
295
-
296
- api.metadata = {
297
- "endpointPrefix" => "kinesis",
298
- "jsonVersion" => "1.1",
299
- "protocol" => "json",
300
- "serviceFullName" => "Amazon Kinesis",
301
- "signatureVersion" => "v4",
302
- "targetPrefix" => "Kinesis_20131202",
303
- }
304
-
305
- api.add_operation(:add_tags_to_stream, Seahorse::Model::Operation.new.tap do |o|
306
- o.name = "AddTagsToStream"
307
- o.http_method = "POST"
308
- o.http_request_uri = "/"
309
- o.input = Shapes::ShapeRef.new(shape: AddTagsToStreamInput)
310
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
311
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
312
- o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
313
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
314
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
315
- end)
316
-
317
- api.add_operation(:create_stream, Seahorse::Model::Operation.new.tap do |o|
318
- o.name = "CreateStream"
319
- o.http_method = "POST"
320
- o.http_request_uri = "/"
321
- o.input = Shapes::ShapeRef.new(shape: CreateStreamInput)
322
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
323
- o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
324
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
325
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
326
- end)
327
-
328
- api.add_operation(:decrease_stream_retention_period, Seahorse::Model::Operation.new.tap do |o|
329
- o.name = "DecreaseStreamRetentionPeriod"
330
- o.http_method = "POST"
331
- o.http_request_uri = "/"
332
- o.input = Shapes::ShapeRef.new(shape: DecreaseStreamRetentionPeriodInput)
333
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
334
- o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
335
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
336
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
337
- end)
338
-
339
- api.add_operation(:delete_stream, Seahorse::Model::Operation.new.tap do |o|
340
- o.name = "DeleteStream"
341
- o.http_method = "POST"
342
- o.http_request_uri = "/"
343
- o.input = Shapes::ShapeRef.new(shape: DeleteStreamInput)
344
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
345
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
346
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
347
- end)
348
-
349
- api.add_operation(:describe_limits, Seahorse::Model::Operation.new.tap do |o|
350
- o.name = "DescribeLimits"
351
- o.http_method = "POST"
352
- o.http_request_uri = "/"
353
- o.input = Shapes::ShapeRef.new(shape: DescribeLimitsInput)
354
- o.output = Shapes::ShapeRef.new(shape: DescribeLimitsOutput)
355
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
356
- end)
357
-
358
- api.add_operation(:describe_stream, Seahorse::Model::Operation.new.tap do |o|
359
- o.name = "DescribeStream"
360
- o.http_method = "POST"
361
- o.http_request_uri = "/"
362
- o.input = Shapes::ShapeRef.new(shape: DescribeStreamInput)
363
- o.output = Shapes::ShapeRef.new(shape: DescribeStreamOutput)
364
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
365
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
366
- o[:pager] = Aws::Pager.new(
367
- more_results: "stream_description.has_more_shards",
368
- limit_key: "limit",
369
- tokens: {
370
- "stream_description.shards[-1].shard_id" => "exclusive_start_shard_id"
371
- }
372
- )
373
- end)
374
-
375
- api.add_operation(:disable_enhanced_monitoring, Seahorse::Model::Operation.new.tap do |o|
376
- o.name = "DisableEnhancedMonitoring"
377
- o.http_method = "POST"
378
- o.http_request_uri = "/"
379
- o.input = Shapes::ShapeRef.new(shape: DisableEnhancedMonitoringInput)
380
- o.output = Shapes::ShapeRef.new(shape: EnhancedMonitoringOutput)
381
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
382
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
383
- o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
384
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
385
- end)
386
-
387
- api.add_operation(:enable_enhanced_monitoring, Seahorse::Model::Operation.new.tap do |o|
388
- o.name = "EnableEnhancedMonitoring"
389
- o.http_method = "POST"
390
- o.http_request_uri = "/"
391
- o.input = Shapes::ShapeRef.new(shape: EnableEnhancedMonitoringInput)
392
- o.output = Shapes::ShapeRef.new(shape: EnhancedMonitoringOutput)
393
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
394
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
395
- o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
396
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
397
- end)
398
-
399
- api.add_operation(:get_records, Seahorse::Model::Operation.new.tap do |o|
400
- o.name = "GetRecords"
401
- o.http_method = "POST"
402
- o.http_request_uri = "/"
403
- o.input = Shapes::ShapeRef.new(shape: GetRecordsInput)
404
- o.output = Shapes::ShapeRef.new(shape: GetRecordsOutput)
405
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
406
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
407
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
408
- o.errors << Shapes::ShapeRef.new(shape: ExpiredIteratorException)
409
- end)
410
-
411
- api.add_operation(:get_shard_iterator, Seahorse::Model::Operation.new.tap do |o|
412
- o.name = "GetShardIterator"
413
- o.http_method = "POST"
414
- o.http_request_uri = "/"
415
- o.input = Shapes::ShapeRef.new(shape: GetShardIteratorInput)
416
- o.output = Shapes::ShapeRef.new(shape: GetShardIteratorOutput)
417
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
418
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
419
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
420
- end)
421
-
422
- api.add_operation(:increase_stream_retention_period, Seahorse::Model::Operation.new.tap do |o|
423
- o.name = "IncreaseStreamRetentionPeriod"
424
- o.http_method = "POST"
425
- o.http_request_uri = "/"
426
- o.input = Shapes::ShapeRef.new(shape: IncreaseStreamRetentionPeriodInput)
427
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
428
- o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
429
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
430
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
431
- end)
432
-
433
- api.add_operation(:list_streams, Seahorse::Model::Operation.new.tap do |o|
434
- o.name = "ListStreams"
435
- o.http_method = "POST"
436
- o.http_request_uri = "/"
437
- o.input = Shapes::ShapeRef.new(shape: ListStreamsInput)
438
- o.output = Shapes::ShapeRef.new(shape: ListStreamsOutput)
439
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
440
- o[:pager] = Aws::Pager.new(
441
- more_results: "has_more_streams",
442
- limit_key: "limit",
443
- tokens: {
444
- "stream_names[-1]" => "exclusive_start_stream_name"
445
- }
446
- )
447
- end)
448
-
449
- api.add_operation(:list_tags_for_stream, Seahorse::Model::Operation.new.tap do |o|
450
- o.name = "ListTagsForStream"
451
- o.http_method = "POST"
452
- o.http_request_uri = "/"
453
- o.input = Shapes::ShapeRef.new(shape: ListTagsForStreamInput)
454
- o.output = Shapes::ShapeRef.new(shape: ListTagsForStreamOutput)
455
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
456
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
457
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
458
- end)
459
-
460
- api.add_operation(:merge_shards, Seahorse::Model::Operation.new.tap do |o|
461
- o.name = "MergeShards"
462
- o.http_method = "POST"
463
- o.http_request_uri = "/"
464
- o.input = Shapes::ShapeRef.new(shape: MergeShardsInput)
465
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
466
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
467
- o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
468
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
469
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
470
- end)
471
-
472
- api.add_operation(:put_record, Seahorse::Model::Operation.new.tap do |o|
473
- o.name = "PutRecord"
474
- o.http_method = "POST"
475
- o.http_request_uri = "/"
476
- o.input = Shapes::ShapeRef.new(shape: PutRecordInput)
477
- o.output = Shapes::ShapeRef.new(shape: PutRecordOutput)
478
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
479
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
480
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
481
- end)
482
-
483
- api.add_operation(:put_records, Seahorse::Model::Operation.new.tap do |o|
484
- o.name = "PutRecords"
485
- o.http_method = "POST"
486
- o.http_request_uri = "/"
487
- o.input = Shapes::ShapeRef.new(shape: PutRecordsInput)
488
- o.output = Shapes::ShapeRef.new(shape: PutRecordsOutput)
489
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
490
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
491
- o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
492
- end)
493
-
494
- api.add_operation(:remove_tags_from_stream, Seahorse::Model::Operation.new.tap do |o|
495
- o.name = "RemoveTagsFromStream"
496
- o.http_method = "POST"
497
- o.http_request_uri = "/"
498
- o.input = Shapes::ShapeRef.new(shape: RemoveTagsFromStreamInput)
499
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
500
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
501
- o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
502
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
503
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
504
- end)
505
-
506
- api.add_operation(:split_shard, Seahorse::Model::Operation.new.tap do |o|
507
- o.name = "SplitShard"
508
- o.http_method = "POST"
509
- o.http_request_uri = "/"
510
- o.input = Shapes::ShapeRef.new(shape: SplitShardInput)
511
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
512
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
513
- o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
514
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
515
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
516
- end)
517
-
518
- api.add_operation(:update_shard_count, Seahorse::Model::Operation.new.tap do |o|
519
- o.name = "UpdateShardCount"
520
- o.http_method = "POST"
521
- o.http_request_uri = "/"
522
- o.input = Shapes::ShapeRef.new(shape: UpdateShardCountInput)
523
- o.output = Shapes::ShapeRef.new(shape: UpdateShardCountOutput)
524
- o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
525
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
526
- o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
527
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
528
- end)
529
- end
249
+ ShardList.member = Shapes::ShapeRef.new(shape: Shard)
250
+
251
+ SplitShardInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
252
+ SplitShardInput.add_member(:shard_to_split, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardToSplit"))
253
+ SplitShardInput.add_member(:new_starting_hash_key, Shapes::ShapeRef.new(shape: HashKey, required: true, location_name: "NewStartingHashKey"))
254
+ SplitShardInput.struct_class = Types::SplitShardInput
530
255
 
256
+ StreamDescription.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
257
+ StreamDescription.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, required: true, location_name: "StreamARN"))
258
+ StreamDescription.add_member(:stream_status, Shapes::ShapeRef.new(shape: StreamStatus, required: true, location_name: "StreamStatus"))
259
+ StreamDescription.add_member(:shards, Shapes::ShapeRef.new(shape: ShardList, required: true, location_name: "Shards"))
260
+ StreamDescription.add_member(:has_more_shards, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "HasMoreShards"))
261
+ StreamDescription.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "RetentionPeriodHours"))
262
+ StreamDescription.add_member(:stream_creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StreamCreationTimestamp"))
263
+ StreamDescription.add_member(:enhanced_monitoring, Shapes::ShapeRef.new(shape: EnhancedMonitoringList, required: true, location_name: "EnhancedMonitoring"))
264
+ StreamDescription.struct_class = Types::StreamDescription
265
+
266
+ StreamNameList.member = Shapes::ShapeRef.new(shape: StreamName)
267
+
268
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
269
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
270
+ Tag.struct_class = Types::Tag
271
+
272
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
273
+
274
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
275
+
276
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
277
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
278
+
279
+ UpdateShardCountInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
280
+ UpdateShardCountInput.add_member(:target_shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "TargetShardCount"))
281
+ UpdateShardCountInput.add_member(:scaling_type, Shapes::ShapeRef.new(shape: ScalingType, required: true, location_name: "ScalingType"))
282
+ UpdateShardCountInput.struct_class = Types::UpdateShardCountInput
283
+
284
+ UpdateShardCountOutput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
285
+ UpdateShardCountOutput.add_member(:current_shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "CurrentShardCount"))
286
+ UpdateShardCountOutput.add_member(:target_shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "TargetShardCount"))
287
+ UpdateShardCountOutput.struct_class = Types::UpdateShardCountOutput
288
+
289
+
290
+ # @api private
291
+ API = Seahorse::Model::Api.new.tap do |api|
292
+
293
+ api.version = "2013-12-02"
294
+
295
+ api.metadata = {
296
+ "endpointPrefix" => "kinesis",
297
+ "jsonVersion" => "1.1",
298
+ "protocol" => "json",
299
+ "serviceFullName" => "Amazon Kinesis",
300
+ "signatureVersion" => "v4",
301
+ "targetPrefix" => "Kinesis_20131202",
302
+ }
303
+
304
+ api.add_operation(:add_tags_to_stream, Seahorse::Model::Operation.new.tap do |o|
305
+ o.name = "AddTagsToStream"
306
+ o.http_method = "POST"
307
+ o.http_request_uri = "/"
308
+ o.input = Shapes::ShapeRef.new(shape: AddTagsToStreamInput)
309
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
310
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
311
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
312
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
313
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
314
+ end)
315
+
316
+ api.add_operation(:create_stream, Seahorse::Model::Operation.new.tap do |o|
317
+ o.name = "CreateStream"
318
+ o.http_method = "POST"
319
+ o.http_request_uri = "/"
320
+ o.input = Shapes::ShapeRef.new(shape: CreateStreamInput)
321
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
322
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
323
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
324
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
325
+ end)
326
+
327
+ api.add_operation(:decrease_stream_retention_period, Seahorse::Model::Operation.new.tap do |o|
328
+ o.name = "DecreaseStreamRetentionPeriod"
329
+ o.http_method = "POST"
330
+ o.http_request_uri = "/"
331
+ o.input = Shapes::ShapeRef.new(shape: DecreaseStreamRetentionPeriodInput)
332
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
333
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
334
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
335
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
336
+ end)
337
+
338
+ api.add_operation(:delete_stream, Seahorse::Model::Operation.new.tap do |o|
339
+ o.name = "DeleteStream"
340
+ o.http_method = "POST"
341
+ o.http_request_uri = "/"
342
+ o.input = Shapes::ShapeRef.new(shape: DeleteStreamInput)
343
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
344
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
345
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
346
+ end)
347
+
348
+ api.add_operation(:describe_limits, Seahorse::Model::Operation.new.tap do |o|
349
+ o.name = "DescribeLimits"
350
+ o.http_method = "POST"
351
+ o.http_request_uri = "/"
352
+ o.input = Shapes::ShapeRef.new(shape: DescribeLimitsInput)
353
+ o.output = Shapes::ShapeRef.new(shape: DescribeLimitsOutput)
354
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
355
+ end)
356
+
357
+ api.add_operation(:describe_stream, Seahorse::Model::Operation.new.tap do |o|
358
+ o.name = "DescribeStream"
359
+ o.http_method = "POST"
360
+ o.http_request_uri = "/"
361
+ o.input = Shapes::ShapeRef.new(shape: DescribeStreamInput)
362
+ o.output = Shapes::ShapeRef.new(shape: DescribeStreamOutput)
363
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
364
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
365
+ o[:pager] = Aws::Pager.new(
366
+ more_results: "stream_description.has_more_shards",
367
+ limit_key: "limit",
368
+ tokens: {
369
+ "stream_description.shards[-1].shard_id" => "exclusive_start_shard_id"
370
+ }
371
+ )
372
+ end)
373
+
374
+ api.add_operation(:disable_enhanced_monitoring, Seahorse::Model::Operation.new.tap do |o|
375
+ o.name = "DisableEnhancedMonitoring"
376
+ o.http_method = "POST"
377
+ o.http_request_uri = "/"
378
+ o.input = Shapes::ShapeRef.new(shape: DisableEnhancedMonitoringInput)
379
+ o.output = Shapes::ShapeRef.new(shape: EnhancedMonitoringOutput)
380
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
381
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
382
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
383
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
384
+ end)
385
+
386
+ api.add_operation(:enable_enhanced_monitoring, Seahorse::Model::Operation.new.tap do |o|
387
+ o.name = "EnableEnhancedMonitoring"
388
+ o.http_method = "POST"
389
+ o.http_request_uri = "/"
390
+ o.input = Shapes::ShapeRef.new(shape: EnableEnhancedMonitoringInput)
391
+ o.output = Shapes::ShapeRef.new(shape: EnhancedMonitoringOutput)
392
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
393
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
394
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
395
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
396
+ end)
397
+
398
+ api.add_operation(:get_records, Seahorse::Model::Operation.new.tap do |o|
399
+ o.name = "GetRecords"
400
+ o.http_method = "POST"
401
+ o.http_request_uri = "/"
402
+ o.input = Shapes::ShapeRef.new(shape: GetRecordsInput)
403
+ o.output = Shapes::ShapeRef.new(shape: GetRecordsOutput)
404
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
405
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
406
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
407
+ o.errors << Shapes::ShapeRef.new(shape: ExpiredIteratorException)
408
+ end)
409
+
410
+ api.add_operation(:get_shard_iterator, Seahorse::Model::Operation.new.tap do |o|
411
+ o.name = "GetShardIterator"
412
+ o.http_method = "POST"
413
+ o.http_request_uri = "/"
414
+ o.input = Shapes::ShapeRef.new(shape: GetShardIteratorInput)
415
+ o.output = Shapes::ShapeRef.new(shape: GetShardIteratorOutput)
416
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
417
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
418
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
419
+ end)
420
+
421
+ api.add_operation(:increase_stream_retention_period, Seahorse::Model::Operation.new.tap do |o|
422
+ o.name = "IncreaseStreamRetentionPeriod"
423
+ o.http_method = "POST"
424
+ o.http_request_uri = "/"
425
+ o.input = Shapes::ShapeRef.new(shape: IncreaseStreamRetentionPeriodInput)
426
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
427
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
428
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
429
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
430
+ end)
431
+
432
+ api.add_operation(:list_streams, Seahorse::Model::Operation.new.tap do |o|
433
+ o.name = "ListStreams"
434
+ o.http_method = "POST"
435
+ o.http_request_uri = "/"
436
+ o.input = Shapes::ShapeRef.new(shape: ListStreamsInput)
437
+ o.output = Shapes::ShapeRef.new(shape: ListStreamsOutput)
438
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
439
+ o[:pager] = Aws::Pager.new(
440
+ more_results: "has_more_streams",
441
+ limit_key: "limit",
442
+ tokens: {
443
+ "stream_names[-1]" => "exclusive_start_stream_name"
444
+ }
445
+ )
446
+ end)
447
+
448
+ api.add_operation(:list_tags_for_stream, Seahorse::Model::Operation.new.tap do |o|
449
+ o.name = "ListTagsForStream"
450
+ o.http_method = "POST"
451
+ o.http_request_uri = "/"
452
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForStreamInput)
453
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForStreamOutput)
454
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
455
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
456
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
457
+ end)
458
+
459
+ api.add_operation(:merge_shards, Seahorse::Model::Operation.new.tap do |o|
460
+ o.name = "MergeShards"
461
+ o.http_method = "POST"
462
+ o.http_request_uri = "/"
463
+ o.input = Shapes::ShapeRef.new(shape: MergeShardsInput)
464
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
465
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
466
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
467
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
468
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
469
+ end)
470
+
471
+ api.add_operation(:put_record, Seahorse::Model::Operation.new.tap do |o|
472
+ o.name = "PutRecord"
473
+ o.http_method = "POST"
474
+ o.http_request_uri = "/"
475
+ o.input = Shapes::ShapeRef.new(shape: PutRecordInput)
476
+ o.output = Shapes::ShapeRef.new(shape: PutRecordOutput)
477
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
478
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
479
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
480
+ end)
481
+
482
+ api.add_operation(:put_records, Seahorse::Model::Operation.new.tap do |o|
483
+ o.name = "PutRecords"
484
+ o.http_method = "POST"
485
+ o.http_request_uri = "/"
486
+ o.input = Shapes::ShapeRef.new(shape: PutRecordsInput)
487
+ o.output = Shapes::ShapeRef.new(shape: PutRecordsOutput)
488
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
489
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
490
+ o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
491
+ end)
492
+
493
+ api.add_operation(:remove_tags_from_stream, Seahorse::Model::Operation.new.tap do |o|
494
+ o.name = "RemoveTagsFromStream"
495
+ o.http_method = "POST"
496
+ o.http_request_uri = "/"
497
+ o.input = Shapes::ShapeRef.new(shape: RemoveTagsFromStreamInput)
498
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
499
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
500
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
501
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
502
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
503
+ end)
504
+
505
+ api.add_operation(:split_shard, Seahorse::Model::Operation.new.tap do |o|
506
+ o.name = "SplitShard"
507
+ o.http_method = "POST"
508
+ o.http_request_uri = "/"
509
+ o.input = Shapes::ShapeRef.new(shape: SplitShardInput)
510
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
511
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
512
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
513
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
514
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
515
+ end)
516
+
517
+ api.add_operation(:update_shard_count, Seahorse::Model::Operation.new.tap do |o|
518
+ o.name = "UpdateShardCount"
519
+ o.http_method = "POST"
520
+ o.http_request_uri = "/"
521
+ o.input = Shapes::ShapeRef.new(shape: UpdateShardCountInput)
522
+ o.output = Shapes::ShapeRef.new(shape: UpdateShardCountOutput)
523
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
524
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
525
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
526
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
527
+ end)
531
528
  end
529
+
532
530
  end
533
531
  end