aws-sdk-kinesis 1.41.0 → 1.43.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.
@@ -13,6 +13,7 @@ module Aws::Kinesis
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
17
  AddTagsToStreamInput = Shapes::StructureShape.new(name: 'AddTagsToStreamInput')
17
18
  BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
18
19
  ChildShard = Shapes::StructureShape.new(name: 'ChildShard')
@@ -128,6 +129,8 @@ module Aws::Kinesis
128
129
  StreamName = Shapes::StringShape.new(name: 'StreamName')
129
130
  StreamNameList = Shapes::ListShape.new(name: 'StreamNameList')
130
131
  StreamStatus = Shapes::StringShape.new(name: 'StreamStatus')
132
+ StreamSummary = Shapes::StructureShape.new(name: 'StreamSummary')
133
+ StreamSummaryList = Shapes::ListShape.new(name: 'StreamSummaryList')
131
134
  SubscribeToShardEvent = Shapes::StructureShape.new(name: 'SubscribeToShardEvent')
132
135
  SubscribeToShardEventStream = Shapes::StructureShape.new(name: 'SubscribeToShardEventStream')
133
136
  SubscribeToShardInput = Shapes::StructureShape.new(name: 'SubscribeToShardInput')
@@ -144,8 +147,12 @@ module Aws::Kinesis
144
147
  UpdateStreamModeInput = Shapes::StructureShape.new(name: 'UpdateStreamModeInput')
145
148
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
146
149
 
147
- AddTagsToStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
150
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
151
+ AccessDeniedException.struct_class = Types::AccessDeniedException
152
+
153
+ AddTagsToStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
148
154
  AddTagsToStreamInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
155
+ AddTagsToStreamInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
149
156
  AddTagsToStreamInput.struct_class = Types::AddTagsToStreamInput
150
157
 
151
158
  ChildShard.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
@@ -175,17 +182,19 @@ module Aws::Kinesis
175
182
  CreateStreamInput.add_member(:stream_mode_details, Shapes::ShapeRef.new(shape: StreamModeDetails, location_name: "StreamModeDetails"))
176
183
  CreateStreamInput.struct_class = Types::CreateStreamInput
177
184
 
178
- DecreaseStreamRetentionPeriodInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
185
+ DecreaseStreamRetentionPeriodInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
179
186
  DecreaseStreamRetentionPeriodInput.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: RetentionPeriodHours, required: true, location_name: "RetentionPeriodHours"))
187
+ DecreaseStreamRetentionPeriodInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
180
188
  DecreaseStreamRetentionPeriodInput.struct_class = Types::DecreaseStreamRetentionPeriodInput
181
189
 
182
- DeleteStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
190
+ DeleteStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
183
191
  DeleteStreamInput.add_member(:enforce_consumer_deletion, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnforceConsumerDeletion"))
192
+ DeleteStreamInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
184
193
  DeleteStreamInput.struct_class = Types::DeleteStreamInput
185
194
 
186
- DeregisterStreamConsumerInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN"))
195
+ DeregisterStreamConsumerInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
187
196
  DeregisterStreamConsumerInput.add_member(:consumer_name, Shapes::ShapeRef.new(shape: ConsumerName, location_name: "ConsumerName"))
188
- DeregisterStreamConsumerInput.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: ConsumerARN, location_name: "ConsumerARN"))
197
+ DeregisterStreamConsumerInput.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: ConsumerARN, location_name: "ConsumerARN", metadata: {"contextParam"=>{"name"=>"ConsumerARN"}}))
189
198
  DeregisterStreamConsumerInput.struct_class = Types::DeregisterStreamConsumerInput
190
199
 
191
200
  DescribeLimitsInput.struct_class = Types::DescribeLimitsInput
@@ -196,34 +205,38 @@ module Aws::Kinesis
196
205
  DescribeLimitsOutput.add_member(:on_demand_stream_count_limit, Shapes::ShapeRef.new(shape: OnDemandStreamCountLimitObject, required: true, location_name: "OnDemandStreamCountLimit"))
197
206
  DescribeLimitsOutput.struct_class = Types::DescribeLimitsOutput
198
207
 
199
- DescribeStreamConsumerInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN"))
208
+ DescribeStreamConsumerInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
200
209
  DescribeStreamConsumerInput.add_member(:consumer_name, Shapes::ShapeRef.new(shape: ConsumerName, location_name: "ConsumerName"))
201
- DescribeStreamConsumerInput.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: ConsumerARN, location_name: "ConsumerARN"))
210
+ DescribeStreamConsumerInput.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: ConsumerARN, location_name: "ConsumerARN", metadata: {"contextParam"=>{"name"=>"ConsumerARN"}}))
202
211
  DescribeStreamConsumerInput.struct_class = Types::DescribeStreamConsumerInput
203
212
 
204
213
  DescribeStreamConsumerOutput.add_member(:consumer_description, Shapes::ShapeRef.new(shape: ConsumerDescription, required: true, location_name: "ConsumerDescription"))
205
214
  DescribeStreamConsumerOutput.struct_class = Types::DescribeStreamConsumerOutput
206
215
 
207
- DescribeStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
216
+ DescribeStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
208
217
  DescribeStreamInput.add_member(:limit, Shapes::ShapeRef.new(shape: DescribeStreamInputLimit, location_name: "Limit"))
209
218
  DescribeStreamInput.add_member(:exclusive_start_shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "ExclusiveStartShardId"))
219
+ DescribeStreamInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
210
220
  DescribeStreamInput.struct_class = Types::DescribeStreamInput
211
221
 
212
222
  DescribeStreamOutput.add_member(:stream_description, Shapes::ShapeRef.new(shape: StreamDescription, required: true, location_name: "StreamDescription"))
213
223
  DescribeStreamOutput.struct_class = Types::DescribeStreamOutput
214
224
 
215
- DescribeStreamSummaryInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
225
+ DescribeStreamSummaryInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
226
+ DescribeStreamSummaryInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
216
227
  DescribeStreamSummaryInput.struct_class = Types::DescribeStreamSummaryInput
217
228
 
218
229
  DescribeStreamSummaryOutput.add_member(:stream_description_summary, Shapes::ShapeRef.new(shape: StreamDescriptionSummary, required: true, location_name: "StreamDescriptionSummary"))
219
230
  DescribeStreamSummaryOutput.struct_class = Types::DescribeStreamSummaryOutput
220
231
 
221
- DisableEnhancedMonitoringInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
232
+ DisableEnhancedMonitoringInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
222
233
  DisableEnhancedMonitoringInput.add_member(:shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, required: true, location_name: "ShardLevelMetrics"))
234
+ DisableEnhancedMonitoringInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
223
235
  DisableEnhancedMonitoringInput.struct_class = Types::DisableEnhancedMonitoringInput
224
236
 
225
- EnableEnhancedMonitoringInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
237
+ EnableEnhancedMonitoringInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
226
238
  EnableEnhancedMonitoringInput.add_member(:shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, required: true, location_name: "ShardLevelMetrics"))
239
+ EnableEnhancedMonitoringInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
227
240
  EnableEnhancedMonitoringInput.struct_class = Types::EnableEnhancedMonitoringInput
228
241
 
229
242
  EnhancedMetrics.add_member(:shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, location_name: "ShardLevelMetrics"))
@@ -234,6 +247,7 @@ module Aws::Kinesis
234
247
  EnhancedMonitoringOutput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
235
248
  EnhancedMonitoringOutput.add_member(:current_shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, location_name: "CurrentShardLevelMetrics"))
236
249
  EnhancedMonitoringOutput.add_member(:desired_shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, location_name: "DesiredShardLevelMetrics"))
250
+ EnhancedMonitoringOutput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN"))
237
251
  EnhancedMonitoringOutput.struct_class = Types::EnhancedMonitoringOutput
238
252
 
239
253
  ExpiredIteratorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -244,6 +258,7 @@ module Aws::Kinesis
244
258
 
245
259
  GetRecordsInput.add_member(:shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, required: true, location_name: "ShardIterator"))
246
260
  GetRecordsInput.add_member(:limit, Shapes::ShapeRef.new(shape: GetRecordsInputLimit, location_name: "Limit"))
261
+ GetRecordsInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
247
262
  GetRecordsInput.struct_class = Types::GetRecordsInput
248
263
 
249
264
  GetRecordsOutput.add_member(:records, Shapes::ShapeRef.new(shape: RecordList, required: true, location_name: "Records"))
@@ -252,11 +267,12 @@ module Aws::Kinesis
252
267
  GetRecordsOutput.add_member(:child_shards, Shapes::ShapeRef.new(shape: ChildShardList, location_name: "ChildShards"))
253
268
  GetRecordsOutput.struct_class = Types::GetRecordsOutput
254
269
 
255
- GetShardIteratorInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
270
+ GetShardIteratorInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
256
271
  GetShardIteratorInput.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
257
272
  GetShardIteratorInput.add_member(:shard_iterator_type, Shapes::ShapeRef.new(shape: ShardIteratorType, required: true, location_name: "ShardIteratorType"))
258
273
  GetShardIteratorInput.add_member(:starting_sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "StartingSequenceNumber"))
259
274
  GetShardIteratorInput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
275
+ GetShardIteratorInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
260
276
  GetShardIteratorInput.struct_class = Types::GetShardIteratorInput
261
277
 
262
278
  GetShardIteratorOutput.add_member(:shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, location_name: "ShardIterator"))
@@ -266,8 +282,9 @@ module Aws::Kinesis
266
282
  HashKeyRange.add_member(:ending_hash_key, Shapes::ShapeRef.new(shape: HashKey, required: true, location_name: "EndingHashKey"))
267
283
  HashKeyRange.struct_class = Types::HashKeyRange
268
284
 
269
- IncreaseStreamRetentionPeriodInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
285
+ IncreaseStreamRetentionPeriodInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
270
286
  IncreaseStreamRetentionPeriodInput.add_member(:retention_period_hours, Shapes::ShapeRef.new(shape: RetentionPeriodHours, required: true, location_name: "RetentionPeriodHours"))
287
+ IncreaseStreamRetentionPeriodInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
271
288
  IncreaseStreamRetentionPeriodInput.struct_class = Types::IncreaseStreamRetentionPeriodInput
272
289
 
273
290
  InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -303,13 +320,14 @@ module Aws::Kinesis
303
320
  ListShardsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListShardsInputLimit, location_name: "MaxResults"))
304
321
  ListShardsInput.add_member(:stream_creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StreamCreationTimestamp"))
305
322
  ListShardsInput.add_member(:shard_filter, Shapes::ShapeRef.new(shape: ShardFilter, location_name: "ShardFilter"))
323
+ ListShardsInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
306
324
  ListShardsInput.struct_class = Types::ListShardsInput
307
325
 
308
326
  ListShardsOutput.add_member(:shards, Shapes::ShapeRef.new(shape: ShardList, location_name: "Shards"))
309
327
  ListShardsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
310
328
  ListShardsOutput.struct_class = Types::ListShardsOutput
311
329
 
312
- ListStreamConsumersInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, required: true, location_name: "StreamARN"))
330
+ ListStreamConsumersInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, required: true, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
313
331
  ListStreamConsumersInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
314
332
  ListStreamConsumersInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListStreamConsumersInputLimit, location_name: "MaxResults"))
315
333
  ListStreamConsumersInput.add_member(:stream_creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StreamCreationTimestamp"))
@@ -321,24 +339,29 @@ module Aws::Kinesis
321
339
 
322
340
  ListStreamsInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListStreamsInputLimit, location_name: "Limit"))
323
341
  ListStreamsInput.add_member(:exclusive_start_stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "ExclusiveStartStreamName"))
342
+ ListStreamsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
324
343
  ListStreamsInput.struct_class = Types::ListStreamsInput
325
344
 
326
345
  ListStreamsOutput.add_member(:stream_names, Shapes::ShapeRef.new(shape: StreamNameList, required: true, location_name: "StreamNames"))
327
346
  ListStreamsOutput.add_member(:has_more_streams, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "HasMoreStreams"))
347
+ ListStreamsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
348
+ ListStreamsOutput.add_member(:stream_summaries, Shapes::ShapeRef.new(shape: StreamSummaryList, location_name: "StreamSummaries"))
328
349
  ListStreamsOutput.struct_class = Types::ListStreamsOutput
329
350
 
330
- ListTagsForStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
351
+ ListTagsForStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
331
352
  ListTagsForStreamInput.add_member(:exclusive_start_tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "ExclusiveStartTagKey"))
332
353
  ListTagsForStreamInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListTagsForStreamInputLimit, location_name: "Limit"))
354
+ ListTagsForStreamInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
333
355
  ListTagsForStreamInput.struct_class = Types::ListTagsForStreamInput
334
356
 
335
357
  ListTagsForStreamOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
336
358
  ListTagsForStreamOutput.add_member(:has_more_tags, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "HasMoreTags"))
337
359
  ListTagsForStreamOutput.struct_class = Types::ListTagsForStreamOutput
338
360
 
339
- MergeShardsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
361
+ MergeShardsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
340
362
  MergeShardsInput.add_member(:shard_to_merge, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardToMerge"))
341
363
  MergeShardsInput.add_member(:adjacent_shard_to_merge, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "AdjacentShardToMerge"))
364
+ MergeShardsInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
342
365
  MergeShardsInput.struct_class = Types::MergeShardsInput
343
366
 
344
367
  MetricsNameList.member = Shapes::ShapeRef.new(shape: MetricsName)
@@ -346,11 +369,12 @@ module Aws::Kinesis
346
369
  ProvisionedThroughputExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
347
370
  ProvisionedThroughputExceededException.struct_class = Types::ProvisionedThroughputExceededException
348
371
 
349
- PutRecordInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
372
+ PutRecordInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
350
373
  PutRecordInput.add_member(:data, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "Data"))
351
374
  PutRecordInput.add_member(:partition_key, Shapes::ShapeRef.new(shape: PartitionKey, required: true, location_name: "PartitionKey"))
352
375
  PutRecordInput.add_member(:explicit_hash_key, Shapes::ShapeRef.new(shape: HashKey, location_name: "ExplicitHashKey"))
353
376
  PutRecordInput.add_member(:sequence_number_for_ordering, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "SequenceNumberForOrdering"))
377
+ PutRecordInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
354
378
  PutRecordInput.struct_class = Types::PutRecordInput
355
379
 
356
380
  PutRecordOutput.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
@@ -359,7 +383,8 @@ module Aws::Kinesis
359
383
  PutRecordOutput.struct_class = Types::PutRecordOutput
360
384
 
361
385
  PutRecordsInput.add_member(:records, Shapes::ShapeRef.new(shape: PutRecordsRequestEntryList, required: true, location_name: "Records"))
362
- PutRecordsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
386
+ PutRecordsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
387
+ PutRecordsInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
363
388
  PutRecordsInput.struct_class = Types::PutRecordsInput
364
389
 
365
390
  PutRecordsOutput.add_member(:failed_record_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "FailedRecordCount"))
@@ -391,15 +416,16 @@ module Aws::Kinesis
391
416
 
392
417
  RecordList.member = Shapes::ShapeRef.new(shape: Record)
393
418
 
394
- RegisterStreamConsumerInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, required: true, location_name: "StreamARN"))
419
+ RegisterStreamConsumerInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, required: true, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
395
420
  RegisterStreamConsumerInput.add_member(:consumer_name, Shapes::ShapeRef.new(shape: ConsumerName, required: true, location_name: "ConsumerName"))
396
421
  RegisterStreamConsumerInput.struct_class = Types::RegisterStreamConsumerInput
397
422
 
398
423
  RegisterStreamConsumerOutput.add_member(:consumer, Shapes::ShapeRef.new(shape: Consumer, required: true, location_name: "Consumer"))
399
424
  RegisterStreamConsumerOutput.struct_class = Types::RegisterStreamConsumerOutput
400
425
 
401
- RemoveTagsFromStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
426
+ RemoveTagsFromStreamInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
402
427
  RemoveTagsFromStreamInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
428
+ RemoveTagsFromStreamInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
403
429
  RemoveTagsFromStreamInput.struct_class = Types::RemoveTagsFromStreamInput
404
430
 
405
431
  ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -428,14 +454,16 @@ module Aws::Kinesis
428
454
 
429
455
  ShardList.member = Shapes::ShapeRef.new(shape: Shard)
430
456
 
431
- SplitShardInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
457
+ SplitShardInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
432
458
  SplitShardInput.add_member(:shard_to_split, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardToSplit"))
433
459
  SplitShardInput.add_member(:new_starting_hash_key, Shapes::ShapeRef.new(shape: HashKey, required: true, location_name: "NewStartingHashKey"))
460
+ SplitShardInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
434
461
  SplitShardInput.struct_class = Types::SplitShardInput
435
462
 
436
- StartStreamEncryptionInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
463
+ StartStreamEncryptionInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
437
464
  StartStreamEncryptionInput.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "EncryptionType"))
438
465
  StartStreamEncryptionInput.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyId, required: true, location_name: "KeyId"))
466
+ StartStreamEncryptionInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
439
467
  StartStreamEncryptionInput.struct_class = Types::StartStreamEncryptionInput
440
468
 
441
469
  StartingPosition.add_member(:type, Shapes::ShapeRef.new(shape: ShardIteratorType, required: true, location_name: "Type"))
@@ -443,9 +471,10 @@ module Aws::Kinesis
443
471
  StartingPosition.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
444
472
  StartingPosition.struct_class = Types::StartingPosition
445
473
 
446
- StopStreamEncryptionInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
474
+ StopStreamEncryptionInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
447
475
  StopStreamEncryptionInput.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "EncryptionType"))
448
476
  StopStreamEncryptionInput.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyId, required: true, location_name: "KeyId"))
477
+ StopStreamEncryptionInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
449
478
  StopStreamEncryptionInput.struct_class = Types::StopStreamEncryptionInput
450
479
 
451
480
  StreamDescription.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
@@ -479,6 +508,15 @@ module Aws::Kinesis
479
508
 
480
509
  StreamNameList.member = Shapes::ShapeRef.new(shape: StreamName)
481
510
 
511
+ StreamSummary.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
512
+ StreamSummary.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, required: true, location_name: "StreamARN"))
513
+ StreamSummary.add_member(:stream_status, Shapes::ShapeRef.new(shape: StreamStatus, required: true, location_name: "StreamStatus"))
514
+ StreamSummary.add_member(:stream_mode_details, Shapes::ShapeRef.new(shape: StreamModeDetails, location_name: "StreamModeDetails"))
515
+ StreamSummary.add_member(:stream_creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StreamCreationTimestamp"))
516
+ StreamSummary.struct_class = Types::StreamSummary
517
+
518
+ StreamSummaryList.member = Shapes::ShapeRef.new(shape: StreamSummary)
519
+
482
520
  SubscribeToShardEvent.add_member(:records, Shapes::ShapeRef.new(shape: RecordList, required: true, location_name: "Records"))
483
521
  SubscribeToShardEvent.add_member(:continuation_sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, required: true, location_name: "ContinuationSequenceNumber"))
484
522
  SubscribeToShardEvent.add_member(:millis_behind_latest, Shapes::ShapeRef.new(shape: MillisBehindLatest, required: true, location_name: "MillisBehindLatest"))
@@ -497,7 +535,7 @@ module Aws::Kinesis
497
535
  SubscribeToShardEventStream.add_member(:internal_failure_exception, Shapes::ShapeRef.new(shape: InternalFailureException, event: true, location_name: "InternalFailureException"))
498
536
  SubscribeToShardEventStream.struct_class = Types::SubscribeToShardEventStream
499
537
 
500
- SubscribeToShardInput.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: ConsumerARN, required: true, location_name: "ConsumerARN"))
538
+ SubscribeToShardInput.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: ConsumerARN, required: true, location_name: "ConsumerARN", metadata: {"contextParam"=>{"name"=>"ConsumerARN"}}))
501
539
  SubscribeToShardInput.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
502
540
  SubscribeToShardInput.add_member(:starting_position, Shapes::ShapeRef.new(shape: StartingPosition, required: true, location_name: "StartingPosition"))
503
541
  SubscribeToShardInput.struct_class = Types::SubscribeToShardInput
@@ -516,17 +554,19 @@ module Aws::Kinesis
516
554
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
517
555
  TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
518
556
 
519
- UpdateShardCountInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
557
+ UpdateShardCountInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
520
558
  UpdateShardCountInput.add_member(:target_shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, required: true, location_name: "TargetShardCount"))
521
559
  UpdateShardCountInput.add_member(:scaling_type, Shapes::ShapeRef.new(shape: ScalingType, required: true, location_name: "ScalingType"))
560
+ UpdateShardCountInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
522
561
  UpdateShardCountInput.struct_class = Types::UpdateShardCountInput
523
562
 
524
563
  UpdateShardCountOutput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
525
564
  UpdateShardCountOutput.add_member(:current_shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "CurrentShardCount"))
526
565
  UpdateShardCountOutput.add_member(:target_shard_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "TargetShardCount"))
566
+ UpdateShardCountOutput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN"))
527
567
  UpdateShardCountOutput.struct_class = Types::UpdateShardCountOutput
528
568
 
529
- UpdateStreamModeInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, required: true, location_name: "StreamARN"))
569
+ UpdateStreamModeInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, required: true, location_name: "StreamARN", metadata: {"contextParam"=>{"name"=>"StreamARN"}}))
530
570
  UpdateStreamModeInput.add_member(:stream_mode_details, Shapes::ShapeRef.new(shape: StreamModeDetails, required: true, location_name: "StreamModeDetails"))
531
571
  UpdateStreamModeInput.struct_class = Types::UpdateStreamModeInput
532
572
 
@@ -563,6 +603,7 @@ module Aws::Kinesis
563
603
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
564
604
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
565
605
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
606
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
566
607
  end)
567
608
 
568
609
  api.add_operation(:create_stream, Seahorse::Model::Operation.new.tap do |o|
@@ -586,6 +627,7 @@ module Aws::Kinesis
586
627
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
587
628
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
588
629
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
630
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
589
631
  end)
590
632
 
591
633
  api.add_operation(:delete_stream, Seahorse::Model::Operation.new.tap do |o|
@@ -597,6 +639,8 @@ module Aws::Kinesis
597
639
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
598
640
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
599
641
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
642
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
643
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
600
644
  end)
601
645
 
602
646
  api.add_operation(:deregister_stream_consumer, Seahorse::Model::Operation.new.tap do |o|
@@ -627,6 +671,8 @@ module Aws::Kinesis
627
671
  o.output = Shapes::ShapeRef.new(shape: DescribeStreamOutput)
628
672
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
629
673
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
674
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
675
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
630
676
  o[:pager] = Aws::Pager.new(
631
677
  more_results: "stream_description.has_more_shards",
632
678
  limit_key: "limit",
@@ -655,6 +701,8 @@ module Aws::Kinesis
655
701
  o.output = Shapes::ShapeRef.new(shape: DescribeStreamSummaryOutput)
656
702
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
657
703
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
704
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
705
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
658
706
  end)
659
707
 
660
708
  api.add_operation(:disable_enhanced_monitoring, Seahorse::Model::Operation.new.tap do |o|
@@ -667,6 +715,7 @@ module Aws::Kinesis
667
715
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
668
716
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
669
717
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
718
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
670
719
  end)
671
720
 
672
721
  api.add_operation(:enable_enhanced_monitoring, Seahorse::Model::Operation.new.tap do |o|
@@ -679,6 +728,7 @@ module Aws::Kinesis
679
728
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
680
729
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
681
730
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
731
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
682
732
  end)
683
733
 
684
734
  api.add_operation(:get_records, Seahorse::Model::Operation.new.tap do |o|
@@ -697,6 +747,7 @@ module Aws::Kinesis
697
747
  o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
698
748
  o.errors << Shapes::ShapeRef.new(shape: KMSOptInRequired)
699
749
  o.errors << Shapes::ShapeRef.new(shape: KMSThrottlingException)
750
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
700
751
  end)
701
752
 
702
753
  api.add_operation(:get_shard_iterator, Seahorse::Model::Operation.new.tap do |o|
@@ -708,6 +759,7 @@ module Aws::Kinesis
708
759
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
709
760
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
710
761
  o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
762
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
711
763
  end)
712
764
 
713
765
  api.add_operation(:increase_stream_retention_period, Seahorse::Model::Operation.new.tap do |o|
@@ -720,6 +772,7 @@ module Aws::Kinesis
720
772
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
721
773
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
722
774
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
775
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
723
776
  end)
724
777
 
725
778
  api.add_operation(:list_shards, Seahorse::Model::Operation.new.tap do |o|
@@ -733,6 +786,7 @@ module Aws::Kinesis
733
786
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
734
787
  o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
735
788
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
789
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
736
790
  end)
737
791
 
738
792
  api.add_operation(:list_stream_consumers, Seahorse::Model::Operation.new.tap do |o|
@@ -761,11 +815,13 @@ module Aws::Kinesis
761
815
  o.input = Shapes::ShapeRef.new(shape: ListStreamsInput)
762
816
  o.output = Shapes::ShapeRef.new(shape: ListStreamsOutput)
763
817
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
818
+ o.errors << Shapes::ShapeRef.new(shape: ExpiredNextTokenException)
819
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
764
820
  o[:pager] = Aws::Pager.new(
765
821
  more_results: "has_more_streams",
766
822
  limit_key: "limit",
767
823
  tokens: {
768
- "stream_names[-1]" => "exclusive_start_stream_name"
824
+ "next_token" => "next_token"
769
825
  }
770
826
  )
771
827
  end)
@@ -779,6 +835,7 @@ module Aws::Kinesis
779
835
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
780
836
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
781
837
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
838
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
782
839
  end)
783
840
 
784
841
  api.add_operation(:merge_shards, Seahorse::Model::Operation.new.tap do |o|
@@ -792,6 +849,7 @@ module Aws::Kinesis
792
849
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
793
850
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
794
851
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
852
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
795
853
  end)
796
854
 
797
855
  api.add_operation(:put_record, Seahorse::Model::Operation.new.tap do |o|
@@ -809,6 +867,7 @@ module Aws::Kinesis
809
867
  o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
810
868
  o.errors << Shapes::ShapeRef.new(shape: KMSOptInRequired)
811
869
  o.errors << Shapes::ShapeRef.new(shape: KMSThrottlingException)
870
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
812
871
  end)
813
872
 
814
873
  api.add_operation(:put_records, Seahorse::Model::Operation.new.tap do |o|
@@ -826,6 +885,7 @@ module Aws::Kinesis
826
885
  o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
827
886
  o.errors << Shapes::ShapeRef.new(shape: KMSOptInRequired)
828
887
  o.errors << Shapes::ShapeRef.new(shape: KMSThrottlingException)
888
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
829
889
  end)
830
890
 
831
891
  api.add_operation(:register_stream_consumer, Seahorse::Model::Operation.new.tap do |o|
@@ -850,6 +910,7 @@ module Aws::Kinesis
850
910
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
851
911
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
852
912
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
913
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
853
914
  end)
854
915
 
855
916
  api.add_operation(:split_shard, Seahorse::Model::Operation.new.tap do |o|
@@ -863,6 +924,7 @@ module Aws::Kinesis
863
924
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
864
925
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
865
926
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
927
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
866
928
  end)
867
929
 
868
930
  api.add_operation(:start_stream_encryption, Seahorse::Model::Operation.new.tap do |o|
@@ -881,6 +943,7 @@ module Aws::Kinesis
881
943
  o.errors << Shapes::ShapeRef.new(shape: KMSNotFoundException)
882
944
  o.errors << Shapes::ShapeRef.new(shape: KMSOptInRequired)
883
945
  o.errors << Shapes::ShapeRef.new(shape: KMSThrottlingException)
946
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
884
947
  end)
885
948
 
886
949
  api.add_operation(:stop_stream_encryption, Seahorse::Model::Operation.new.tap do |o|
@@ -893,6 +956,7 @@ module Aws::Kinesis
893
956
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
894
957
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
895
958
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
959
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
896
960
  end)
897
961
 
898
962
  api.add_operation(:subscribe_to_shard, Seahorse::Model::Operation.new.tap do |o|
@@ -905,6 +969,7 @@ module Aws::Kinesis
905
969
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
906
970
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
907
971
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
972
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
908
973
  o.async = true
909
974
  end)
910
975
 
@@ -919,6 +984,7 @@ module Aws::Kinesis
919
984
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
920
985
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
921
986
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
987
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
922
988
  end)
923
989
 
924
990
  api.add_operation(:update_stream_mode, Seahorse::Model::Operation.new.tap do |o|
@@ -0,0 +1,93 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Kinesis
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ # @!attribute stream_arn
34
+ # The ARN of the Kinesis stream
35
+ #
36
+ # @return [String]
37
+ #
38
+ # @!attribute operation_type
39
+ # Internal parameter to distinguish between Control/Data plane API and accordingly generate control/data plane endpoint
40
+ #
41
+ # @return [String]
42
+ #
43
+ # @!attribute consumer_arn
44
+ # The ARN of the Kinesis consumer
45
+ #
46
+ # @return [String]
47
+ #
48
+ EndpointParameters = Struct.new(
49
+ :region,
50
+ :use_dual_stack,
51
+ :use_fips,
52
+ :endpoint,
53
+ :stream_arn,
54
+ :operation_type,
55
+ :consumer_arn,
56
+ ) do
57
+ include Aws::Structure
58
+
59
+ # @api private
60
+ class << self
61
+ PARAM_MAP = {
62
+ 'Region' => :region,
63
+ 'UseDualStack' => :use_dual_stack,
64
+ 'UseFIPS' => :use_fips,
65
+ 'Endpoint' => :endpoint,
66
+ 'StreamARN' => :stream_arn,
67
+ 'OperationType' => :operation_type,
68
+ 'ConsumerARN' => :consumer_arn,
69
+ }.freeze
70
+ end
71
+
72
+ def initialize(options = {})
73
+ self[:region] = options[:region]
74
+ if self[:region].nil?
75
+ raise ArgumentError, "Missing required EndpointParameter: :region"
76
+ end
77
+ self[:use_dual_stack] = options[:use_dual_stack]
78
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
79
+ if self[:use_dual_stack].nil?
80
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
81
+ end
82
+ self[:use_fips] = options[:use_fips]
83
+ self[:use_fips] = false if self[:use_fips].nil?
84
+ if self[:use_fips].nil?
85
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
86
+ end
87
+ self[:endpoint] = options[:endpoint]
88
+ self[:stream_arn] = options[:stream_arn]
89
+ self[:operation_type] = options[:operation_type]
90
+ self[:consumer_arn] = options[:consumer_arn]
91
+ end
92
+ end
93
+ end