aws-sdk-kinesis 1.105.0 → 1.106.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kinesis/async_client.rb +6 -1
- data/lib/aws-sdk-kinesis/client.rb +35 -11
- data/lib/aws-sdk-kinesis/client_api.rb +14 -0
- data/lib/aws-sdk-kinesis/errors.rb +16 -0
- data/lib/aws-sdk-kinesis/types.rb +64 -17
- data/lib/aws-sdk-kinesis.rb +1 -1
- data/sig/async_client.rbs +2 -1
- data/sig/client.rbs +8 -4
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9e50ce283da52c3e238932eadde32d1fedb18637c358a811b9fe6b5c1545f26
|
|
4
|
+
data.tar.gz: 8a55380af04279b58daaae9abf64fbb0a0fc3572baeaf739605b8285da10214a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b956c464a737018ed7a530149b7ef0ff1c351a168083b3bbd014e7ac976e0388b9b64b3cf6ab35f19b00df6775afe684e4f46304edbe2948a3a1093f905dc6aa
|
|
7
|
+
data.tar.gz: 521106f4513e4170f586635980dbf00fadacbf5884e2fba080d38b31349aa2dc3d27ef6c112a64addc8fda89176b642dcae026dd881b5f017a7e238f0b098e23
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.106.0 (2026-09-01)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon Kinesis Data Streams now supports a dry run feature for data-plane APIs to validate the permissions and request parameters. If all checks complete successfully, the API returns a 'DryRunOperationException', confirming the request would have succeeded without the 'DryRun' parameter.
|
|
8
|
+
|
|
4
9
|
1.105.0 (2026-08-31)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.106.0
|
|
@@ -475,6 +475,10 @@ module Aws::Kinesis
|
|
|
475
475
|
# The starting position in the data stream from which to start
|
|
476
476
|
# streaming.
|
|
477
477
|
#
|
|
478
|
+
# @option params [Boolean] :dry_run
|
|
479
|
+
# Checks if your request will succeed. `DryRun` is an optional
|
|
480
|
+
# parameter.
|
|
481
|
+
#
|
|
478
482
|
# @return [Types::SubscribeToShardOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
479
483
|
#
|
|
480
484
|
# * {Types::SubscribeToShardOutput#event_stream #event_stream} => Types::SubscribeToShardEventStream
|
|
@@ -660,6 +664,7 @@ module Aws::Kinesis
|
|
|
660
664
|
# sequence_number: "SequenceNumber",
|
|
661
665
|
# timestamp: Time.now,
|
|
662
666
|
# },
|
|
667
|
+
# dry_run: false,
|
|
663
668
|
# })
|
|
664
669
|
# # => Seahorse::Client::AsyncResponse
|
|
665
670
|
# async_resp.wait
|
|
@@ -756,7 +761,7 @@ module Aws::Kinesis
|
|
|
756
761
|
tracer: tracer
|
|
757
762
|
)
|
|
758
763
|
context[:gem_name] = 'aws-sdk-kinesis'
|
|
759
|
-
context[:gem_version] = '1.
|
|
764
|
+
context[:gem_version] = '1.106.0'
|
|
760
765
|
Seahorse::Client::Request.new(handlers, context)
|
|
761
766
|
end
|
|
762
767
|
|
|
@@ -561,6 +561,10 @@ module Aws::Kinesis
|
|
|
561
561
|
# You must specify either `S3DestinationConfiguration` or
|
|
562
562
|
# `S3TablesDestinationConfiguration`, but not both.
|
|
563
563
|
#
|
|
564
|
+
# To use this operation, you must have permission to pass the specified
|
|
565
|
+
# service execution IAM role to Amazon Kinesis Data Streams (the
|
|
566
|
+
# `iam:PassRole` permission on that role).
|
|
567
|
+
#
|
|
564
568
|
# Creating a channel is an asynchronous operation. Upon receiving the
|
|
565
569
|
# request, Amazon Kinesis Data Streams returns immediately with the
|
|
566
570
|
# channel in the `CREATING` state. After provisioning is complete,
|
|
@@ -570,8 +574,8 @@ module Aws::Kinesis
|
|
|
570
574
|
# This operation is only supported for data streams with the on-demand
|
|
571
575
|
# capacity mode.
|
|
572
576
|
#
|
|
573
|
-
# This
|
|
574
|
-
# Amazon Web Services account. Exceeding 5 TPS results in a
|
|
577
|
+
# This operation has a call limit of 5 transactions per second (TPS) for
|
|
578
|
+
# each Amazon Web Services account. Exceeding 5 TPS results in a
|
|
575
579
|
# `LimitExceededException`.
|
|
576
580
|
#
|
|
577
581
|
# @option params [required, String] :channel_name
|
|
@@ -1106,8 +1110,8 @@ module Aws::Kinesis
|
|
|
1106
1110
|
# stream, first delete all channels attached to it. To find them, use
|
|
1107
1111
|
# ListChannels with a stream filter.
|
|
1108
1112
|
#
|
|
1109
|
-
# This
|
|
1110
|
-
# Amazon Web Services account. Exceeding 5 TPS results in a
|
|
1113
|
+
# This operation has a call limit of 5 transactions per second (TPS) for
|
|
1114
|
+
# each Amazon Web Services account. Exceeding 5 TPS results in a
|
|
1111
1115
|
# `LimitExceededException`.
|
|
1112
1116
|
#
|
|
1113
1117
|
# @option params [required, String] :channel_arn
|
|
@@ -1323,8 +1327,8 @@ module Aws::Kinesis
|
|
|
1323
1327
|
# after creation, or to diagnose a channel in the `FAILED` state by
|
|
1324
1328
|
# reading the `ChannelStatusReason`.
|
|
1325
1329
|
#
|
|
1326
|
-
# This
|
|
1327
|
-
# Amazon Web Services account. Exceeding 5 TPS results in a
|
|
1330
|
+
# This operation has a call limit of 5 transactions per second (TPS) for
|
|
1331
|
+
# each Amazon Web Services account. Exceeding 5 TPS results in a
|
|
1328
1332
|
# `LimitExceededException`.
|
|
1329
1333
|
#
|
|
1330
1334
|
# @option params [required, String] :channel_arn
|
|
@@ -1993,6 +1997,10 @@ module Aws::Kinesis
|
|
|
1993
1997
|
# @option params [String] :stream_id
|
|
1994
1998
|
# Not Implemented. Reserved for future use.
|
|
1995
1999
|
#
|
|
2000
|
+
# @option params [Boolean] :dry_run
|
|
2001
|
+
# Checks if your request will succeed. `DryRun` is an optional
|
|
2002
|
+
# parameter.
|
|
2003
|
+
#
|
|
1996
2004
|
# @return [Types::GetRecordsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1997
2005
|
#
|
|
1998
2006
|
# * {Types::GetRecordsOutput#records #records} => Array<Types::Record>
|
|
@@ -2007,6 +2015,7 @@ module Aws::Kinesis
|
|
|
2007
2015
|
# limit: 1,
|
|
2008
2016
|
# stream_arn: "StreamARN",
|
|
2009
2017
|
# stream_id: "StreamId",
|
|
2018
|
+
# dry_run: false,
|
|
2010
2019
|
# })
|
|
2011
2020
|
#
|
|
2012
2021
|
# @example Response structure
|
|
@@ -2177,6 +2186,10 @@ module Aws::Kinesis
|
|
|
2177
2186
|
# @option params [String] :stream_id
|
|
2178
2187
|
# Not Implemented. Reserved for future use.
|
|
2179
2188
|
#
|
|
2189
|
+
# @option params [Boolean] :dry_run
|
|
2190
|
+
# Checks if your request will succeed. `DryRun` is an optional
|
|
2191
|
+
# parameter.
|
|
2192
|
+
#
|
|
2180
2193
|
# @return [Types::GetShardIteratorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2181
2194
|
#
|
|
2182
2195
|
# * {Types::GetShardIteratorOutput#shard_iterator #shard_iterator} => String
|
|
@@ -2191,6 +2204,7 @@ module Aws::Kinesis
|
|
|
2191
2204
|
# timestamp: Time.now,
|
|
2192
2205
|
# stream_arn: "StreamARN",
|
|
2193
2206
|
# stream_id: "StreamId",
|
|
2207
|
+
# dry_run: false,
|
|
2194
2208
|
# })
|
|
2195
2209
|
#
|
|
2196
2210
|
# @example Response structure
|
|
@@ -2266,8 +2280,8 @@ module Aws::Kinesis
|
|
|
2266
2280
|
# Use this operation to find channels before deleting a stream, or to
|
|
2267
2281
|
# audit the channels configured in an Amazon Web Services Region.
|
|
2268
2282
|
#
|
|
2269
|
-
# This
|
|
2270
|
-
# Amazon Web Services account. Exceeding 5 TPS results in a
|
|
2283
|
+
# This operation has a call limit of 5 transactions per second (TPS) for
|
|
2284
|
+
# each Amazon Web Services account. Exceeding 5 TPS results in a
|
|
2271
2285
|
# `LimitExceededException`.
|
|
2272
2286
|
#
|
|
2273
2287
|
# @option params [Array<Types::StreamFilter>] :stream_filter
|
|
@@ -2998,6 +3012,10 @@ module Aws::Kinesis
|
|
|
2998
3012
|
# @option params [String] :stream_id
|
|
2999
3013
|
# Not Implemented. Reserved for future use.
|
|
3000
3014
|
#
|
|
3015
|
+
# @option params [Boolean] :dry_run
|
|
3016
|
+
# Checks if your request will succeed. `DryRun` is an optional
|
|
3017
|
+
# parameter.
|
|
3018
|
+
#
|
|
3001
3019
|
# @return [Types::PutRecordOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3002
3020
|
#
|
|
3003
3021
|
# * {Types::PutRecordOutput#shard_id #shard_id} => String
|
|
@@ -3014,6 +3032,7 @@ module Aws::Kinesis
|
|
|
3014
3032
|
# sequence_number_for_ordering: "SequenceNumber",
|
|
3015
3033
|
# stream_arn: "StreamARN",
|
|
3016
3034
|
# stream_id: "StreamId",
|
|
3035
|
+
# dry_run: false,
|
|
3017
3036
|
# })
|
|
3018
3037
|
#
|
|
3019
3038
|
# @example Response structure
|
|
@@ -3130,6 +3149,10 @@ module Aws::Kinesis
|
|
|
3130
3149
|
# @option params [String] :stream_id
|
|
3131
3150
|
# Not Implemented. Reserved for future use.
|
|
3132
3151
|
#
|
|
3152
|
+
# @option params [Boolean] :dry_run
|
|
3153
|
+
# Checks if your request will succeed. `DryRun` is an optional
|
|
3154
|
+
# parameter.
|
|
3155
|
+
#
|
|
3133
3156
|
# @return [Types::PutRecordsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3134
3157
|
#
|
|
3135
3158
|
# * {Types::PutRecordsOutput#failed_record_count #failed_record_count} => Integer
|
|
@@ -3149,6 +3172,7 @@ module Aws::Kinesis
|
|
|
3149
3172
|
# stream_name: "StreamName",
|
|
3150
3173
|
# stream_arn: "StreamARN",
|
|
3151
3174
|
# stream_id: "StreamId",
|
|
3175
|
+
# dry_run: false,
|
|
3152
3176
|
# })
|
|
3153
3177
|
#
|
|
3154
3178
|
# @example Response structure
|
|
@@ -3763,8 +3787,8 @@ module Aws::Kinesis
|
|
|
3763
3787
|
# Amazon Kinesis Data Streams sets the channel back to the `ACTIVE`
|
|
3764
3788
|
# state.
|
|
3765
3789
|
#
|
|
3766
|
-
# This
|
|
3767
|
-
# Amazon Web Services account. Exceeding 5 TPS results in a
|
|
3790
|
+
# This operation has a call limit of 5 transactions per second (TPS) for
|
|
3791
|
+
# each Amazon Web Services account. Exceeding 5 TPS results in a
|
|
3768
3792
|
# `LimitExceededException`.
|
|
3769
3793
|
#
|
|
3770
3794
|
# @option params [required, String] :channel_arn
|
|
@@ -4236,7 +4260,7 @@ module Aws::Kinesis
|
|
|
4236
4260
|
tracer: tracer
|
|
4237
4261
|
)
|
|
4238
4262
|
context[:gem_name] = 'aws-sdk-kinesis'
|
|
4239
|
-
context[:gem_version] = '1.
|
|
4263
|
+
context[:gem_version] = '1.106.0'
|
|
4240
4264
|
Seahorse::Client::Request.new(handlers, context)
|
|
4241
4265
|
end
|
|
4242
4266
|
|
|
@@ -76,6 +76,7 @@ module Aws::Kinesis
|
|
|
76
76
|
DescribeStreamSummaryInput = Shapes::StructureShape.new(name: 'DescribeStreamSummaryInput')
|
|
77
77
|
DescribeStreamSummaryOutput = Shapes::StructureShape.new(name: 'DescribeStreamSummaryOutput')
|
|
78
78
|
DisableEnhancedMonitoringInput = Shapes::StructureShape.new(name: 'DisableEnhancedMonitoringInput')
|
|
79
|
+
DryRunOperationException = Shapes::StructureShape.new(name: 'DryRunOperationException')
|
|
79
80
|
EnableEnhancedMonitoringInput = Shapes::StructureShape.new(name: 'EnableEnhancedMonitoringInput')
|
|
80
81
|
EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
|
|
81
82
|
EnhancedMetrics = Shapes::StructureShape.new(name: 'EnhancedMetrics')
|
|
@@ -440,6 +441,9 @@ module Aws::Kinesis
|
|
|
440
441
|
DisableEnhancedMonitoringInput.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "StreamId", metadata: {"contextParam" => {"name" => "StreamId"}}))
|
|
441
442
|
DisableEnhancedMonitoringInput.struct_class = Types::DisableEnhancedMonitoringInput
|
|
442
443
|
|
|
444
|
+
DryRunOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
445
|
+
DryRunOperationException.struct_class = Types::DryRunOperationException
|
|
446
|
+
|
|
443
447
|
EnableEnhancedMonitoringInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
|
|
444
448
|
EnableEnhancedMonitoringInput.add_member(:shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, required: true, location_name: "ShardLevelMetrics"))
|
|
445
449
|
EnableEnhancedMonitoringInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam" => {"name" => "StreamARN"}}))
|
|
@@ -467,6 +471,7 @@ module Aws::Kinesis
|
|
|
467
471
|
GetRecordsInput.add_member(:limit, Shapes::ShapeRef.new(shape: GetRecordsInputLimit, location_name: "Limit"))
|
|
468
472
|
GetRecordsInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam" => {"name" => "StreamARN"}}))
|
|
469
473
|
GetRecordsInput.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "StreamId", metadata: {"contextParam" => {"name" => "StreamId"}}))
|
|
474
|
+
GetRecordsInput.add_member(:dry_run, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "DryRun"))
|
|
470
475
|
GetRecordsInput.struct_class = Types::GetRecordsInput
|
|
471
476
|
|
|
472
477
|
GetRecordsOutput.add_member(:records, Shapes::ShapeRef.new(shape: RecordList, required: true, location_name: "Records"))
|
|
@@ -489,6 +494,7 @@ module Aws::Kinesis
|
|
|
489
494
|
GetShardIteratorInput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
|
490
495
|
GetShardIteratorInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam" => {"name" => "StreamARN"}}))
|
|
491
496
|
GetShardIteratorInput.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "StreamId", metadata: {"contextParam" => {"name" => "StreamId"}}))
|
|
497
|
+
GetShardIteratorInput.add_member(:dry_run, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "DryRun"))
|
|
492
498
|
GetShardIteratorInput.struct_class = Types::GetShardIteratorInput
|
|
493
499
|
|
|
494
500
|
GetShardIteratorOutput.add_member(:shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, location_name: "ShardIterator"))
|
|
@@ -631,6 +637,7 @@ module Aws::Kinesis
|
|
|
631
637
|
PutRecordInput.add_member(:sequence_number_for_ordering, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "SequenceNumberForOrdering"))
|
|
632
638
|
PutRecordInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam" => {"name" => "StreamARN"}}))
|
|
633
639
|
PutRecordInput.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "StreamId", metadata: {"contextParam" => {"name" => "StreamId"}}))
|
|
640
|
+
PutRecordInput.add_member(:dry_run, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "DryRun"))
|
|
634
641
|
PutRecordInput.struct_class = Types::PutRecordInput
|
|
635
642
|
|
|
636
643
|
PutRecordOutput.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
|
|
@@ -642,6 +649,7 @@ module Aws::Kinesis
|
|
|
642
649
|
PutRecordsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
|
|
643
650
|
PutRecordsInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamARN, location_name: "StreamARN", metadata: {"contextParam" => {"name" => "StreamARN"}}))
|
|
644
651
|
PutRecordsInput.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "StreamId", metadata: {"contextParam" => {"name" => "StreamId"}}))
|
|
652
|
+
PutRecordsInput.add_member(:dry_run, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "DryRun"))
|
|
645
653
|
PutRecordsInput.struct_class = Types::PutRecordsInput
|
|
646
654
|
|
|
647
655
|
PutRecordsOutput.add_member(:failed_record_count, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "FailedRecordCount"))
|
|
@@ -863,6 +871,7 @@ module Aws::Kinesis
|
|
|
863
871
|
SubscribeToShardInput.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "StreamId", metadata: {"contextParam" => {"name" => "StreamId"}}))
|
|
864
872
|
SubscribeToShardInput.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
|
|
865
873
|
SubscribeToShardInput.add_member(:starting_position, Shapes::ShapeRef.new(shape: StartingPosition, required: true, location_name: "StartingPosition"))
|
|
874
|
+
SubscribeToShardInput.add_member(:dry_run, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "DryRun"))
|
|
866
875
|
SubscribeToShardInput.struct_class = Types::SubscribeToShardInput
|
|
867
876
|
|
|
868
877
|
SubscribeToShardOutput.add_member(:event_stream, Shapes::ShapeRef.new(shape: SubscribeToShardEventStream, required: true, eventstream: true, location_name: "EventStream"))
|
|
@@ -1193,6 +1202,7 @@ module Aws::Kinesis
|
|
|
1193
1202
|
o.errors << Shapes::ShapeRef.new(shape: KMSThrottlingException)
|
|
1194
1203
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1195
1204
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
|
1205
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
|
1196
1206
|
end)
|
|
1197
1207
|
|
|
1198
1208
|
api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1219,6 +1229,7 @@ module Aws::Kinesis
|
|
|
1219
1229
|
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
|
1220
1230
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1221
1231
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
|
1232
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
|
1222
1233
|
end)
|
|
1223
1234
|
|
|
1224
1235
|
api.add_operation(:increase_stream_retention_period, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1360,6 +1371,7 @@ module Aws::Kinesis
|
|
|
1360
1371
|
o.errors << Shapes::ShapeRef.new(shape: KMSThrottlingException)
|
|
1361
1372
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1362
1373
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
|
1374
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
|
1363
1375
|
end)
|
|
1364
1376
|
|
|
1365
1377
|
api.add_operation(:put_records, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1379,6 +1391,7 @@ module Aws::Kinesis
|
|
|
1379
1391
|
o.errors << Shapes::ShapeRef.new(shape: KMSThrottlingException)
|
|
1380
1392
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1381
1393
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
|
1394
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
|
1382
1395
|
end)
|
|
1383
1396
|
|
|
1384
1397
|
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1476,6 +1489,7 @@ module Aws::Kinesis
|
|
|
1476
1489
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
1477
1490
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
1478
1491
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1492
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
|
1479
1493
|
o.async = true
|
|
1480
1494
|
end)
|
|
1481
1495
|
|
|
@@ -28,6 +28,7 @@ module Aws::Kinesis
|
|
|
28
28
|
#
|
|
29
29
|
# ## Error Classes
|
|
30
30
|
# * {AccessDeniedException}
|
|
31
|
+
# * {DryRunOperationException}
|
|
31
32
|
# * {ExpiredIteratorException}
|
|
32
33
|
# * {ExpiredNextTokenException}
|
|
33
34
|
# * {InvalidArgumentException}
|
|
@@ -56,6 +57,21 @@ module Aws::Kinesis
|
|
|
56
57
|
end
|
|
57
58
|
end
|
|
58
59
|
|
|
60
|
+
class DryRunOperationException < ServiceError
|
|
61
|
+
|
|
62
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
63
|
+
# @param [String] message
|
|
64
|
+
# @param [Aws::Kinesis::Types::DryRunOperationException] data
|
|
65
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
66
|
+
super(context, message, data)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# @return [String]
|
|
70
|
+
def message
|
|
71
|
+
@message || @data[:message]
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
59
75
|
class ExpiredIteratorException < ServiceError
|
|
60
76
|
|
|
61
77
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -72,13 +72,13 @@ module Aws::Kinesis
|
|
|
72
72
|
# @!attribute [rw] channel_status
|
|
73
73
|
# The current status of the channel. Valid values:
|
|
74
74
|
#
|
|
75
|
-
# * `CREATING`
|
|
75
|
+
# * `CREATING` - The channel is being created.
|
|
76
76
|
#
|
|
77
|
-
# * `ACTIVE`
|
|
77
|
+
# * `ACTIVE` - The channel is ready to deliver records.
|
|
78
78
|
#
|
|
79
|
-
# * `UPDATING`
|
|
79
|
+
# * `UPDATING` - The channel configuration is being updated.
|
|
80
80
|
#
|
|
81
|
-
# * `DELETING`
|
|
81
|
+
# * `DELETING` - The channel is being deleted.
|
|
82
82
|
#
|
|
83
83
|
# * `FAILED` - See `ChannelStatusReason` for the failure cause.
|
|
84
84
|
# @return [String]
|
|
@@ -139,7 +139,8 @@ module Aws::Kinesis
|
|
|
139
139
|
include Aws::Structure
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
-
#
|
|
142
|
+
# Specifies the Amazon Web Services KMS key that Amazon Kinesis Data
|
|
143
|
+
# Streams uses to encrypt data delivered to the channel's destination.
|
|
143
144
|
#
|
|
144
145
|
# @!attribute [rw] encryption_type
|
|
145
146
|
# The encryption type. The only valid value is `KMS`.
|
|
@@ -269,13 +270,13 @@ module Aws::Kinesis
|
|
|
269
270
|
# @!attribute [rw] channel_status
|
|
270
271
|
# The current status of the channel. Valid values:
|
|
271
272
|
#
|
|
272
|
-
# * `CREATING`
|
|
273
|
+
# * `CREATING` - The channel is being created.
|
|
273
274
|
#
|
|
274
|
-
# * `ACTIVE`
|
|
275
|
+
# * `ACTIVE` - The channel is ready to deliver records.
|
|
275
276
|
#
|
|
276
|
-
# * `UPDATING`
|
|
277
|
+
# * `UPDATING` - The channel configuration is being updated.
|
|
277
278
|
#
|
|
278
|
-
# * `DELETING`
|
|
279
|
+
# * `DELETING` - The channel is being deleted.
|
|
279
280
|
#
|
|
280
281
|
# * `FAILED` - See `ChannelStatusReason` for the failure cause.
|
|
281
282
|
# @return [String]
|
|
@@ -1031,6 +1032,19 @@ module Aws::Kinesis
|
|
|
1031
1032
|
include Aws::Structure
|
|
1032
1033
|
end
|
|
1033
1034
|
|
|
1035
|
+
# The request was rejected because the DryRun parameter was specified.
|
|
1036
|
+
#
|
|
1037
|
+
# @!attribute [rw] message
|
|
1038
|
+
# @return [String]
|
|
1039
|
+
#
|
|
1040
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DryRunOperationException AWS API Documentation
|
|
1041
|
+
#
|
|
1042
|
+
class DryRunOperationException < Struct.new(
|
|
1043
|
+
:message)
|
|
1044
|
+
SENSITIVE = []
|
|
1045
|
+
include Aws::Structure
|
|
1046
|
+
end
|
|
1047
|
+
|
|
1034
1048
|
# Represents the input for EnableEnhancedMonitoring.
|
|
1035
1049
|
#
|
|
1036
1050
|
# @!attribute [rw] stream_name
|
|
@@ -1210,13 +1224,19 @@ module Aws::Kinesis
|
|
|
1210
1224
|
# Not Implemented. Reserved for future use.
|
|
1211
1225
|
# @return [String]
|
|
1212
1226
|
#
|
|
1227
|
+
# @!attribute [rw] dry_run
|
|
1228
|
+
# Checks if your request will succeed. `DryRun` is an optional
|
|
1229
|
+
# parameter.
|
|
1230
|
+
# @return [Boolean]
|
|
1231
|
+
#
|
|
1213
1232
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecordsInput AWS API Documentation
|
|
1214
1233
|
#
|
|
1215
1234
|
class GetRecordsInput < Struct.new(
|
|
1216
1235
|
:shard_iterator,
|
|
1217
1236
|
:limit,
|
|
1218
1237
|
:stream_arn,
|
|
1219
|
-
:stream_id
|
|
1238
|
+
:stream_id,
|
|
1239
|
+
:dry_run)
|
|
1220
1240
|
SENSITIVE = []
|
|
1221
1241
|
include Aws::Structure
|
|
1222
1242
|
end
|
|
@@ -1346,6 +1366,11 @@ module Aws::Kinesis
|
|
|
1346
1366
|
# Not Implemented. Reserved for future use.
|
|
1347
1367
|
# @return [String]
|
|
1348
1368
|
#
|
|
1369
|
+
# @!attribute [rw] dry_run
|
|
1370
|
+
# Checks if your request will succeed. `DryRun` is an optional
|
|
1371
|
+
# parameter.
|
|
1372
|
+
# @return [Boolean]
|
|
1373
|
+
#
|
|
1349
1374
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIteratorInput AWS API Documentation
|
|
1350
1375
|
#
|
|
1351
1376
|
class GetShardIteratorInput < Struct.new(
|
|
@@ -1355,7 +1380,8 @@ module Aws::Kinesis
|
|
|
1355
1380
|
:starting_sequence_number,
|
|
1356
1381
|
:timestamp,
|
|
1357
1382
|
:stream_arn,
|
|
1358
|
-
:stream_id
|
|
1383
|
+
:stream_id,
|
|
1384
|
+
:dry_run)
|
|
1359
1385
|
SENSITIVE = []
|
|
1360
1386
|
include Aws::Structure
|
|
1361
1387
|
end
|
|
@@ -2224,6 +2250,11 @@ module Aws::Kinesis
|
|
|
2224
2250
|
# Not Implemented. Reserved for future use.
|
|
2225
2251
|
# @return [String]
|
|
2226
2252
|
#
|
|
2253
|
+
# @!attribute [rw] dry_run
|
|
2254
|
+
# Checks if your request will succeed. `DryRun` is an optional
|
|
2255
|
+
# parameter.
|
|
2256
|
+
# @return [Boolean]
|
|
2257
|
+
#
|
|
2227
2258
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordInput AWS API Documentation
|
|
2228
2259
|
#
|
|
2229
2260
|
class PutRecordInput < Struct.new(
|
|
@@ -2233,7 +2264,8 @@ module Aws::Kinesis
|
|
|
2233
2264
|
:explicit_hash_key,
|
|
2234
2265
|
:sequence_number_for_ordering,
|
|
2235
2266
|
:stream_arn,
|
|
2236
|
-
:stream_id
|
|
2267
|
+
:stream_id,
|
|
2268
|
+
:dry_run)
|
|
2237
2269
|
SENSITIVE = []
|
|
2238
2270
|
include Aws::Structure
|
|
2239
2271
|
end
|
|
@@ -2289,13 +2321,19 @@ module Aws::Kinesis
|
|
|
2289
2321
|
# Not Implemented. Reserved for future use.
|
|
2290
2322
|
# @return [String]
|
|
2291
2323
|
#
|
|
2324
|
+
# @!attribute [rw] dry_run
|
|
2325
|
+
# Checks if your request will succeed. `DryRun` is an optional
|
|
2326
|
+
# parameter.
|
|
2327
|
+
# @return [Boolean]
|
|
2328
|
+
#
|
|
2292
2329
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsInput AWS API Documentation
|
|
2293
2330
|
#
|
|
2294
2331
|
class PutRecordsInput < Struct.new(
|
|
2295
2332
|
:records,
|
|
2296
2333
|
:stream_name,
|
|
2297
2334
|
:stream_arn,
|
|
2298
|
-
:stream_id
|
|
2335
|
+
:stream_id,
|
|
2336
|
+
:dry_run)
|
|
2299
2337
|
SENSITIVE = []
|
|
2300
2338
|
include Aws::Structure
|
|
2301
2339
|
end
|
|
@@ -2717,11 +2755,14 @@ module Aws::Kinesis
|
|
|
2717
2755
|
# @!attribute [rw] storage_class
|
|
2718
2756
|
# The Amazon S3 storage class for delivered objects. Valid values:
|
|
2719
2757
|
#
|
|
2720
|
-
# * `STANDARD`
|
|
2758
|
+
# * `STANDARD` - Default storage class for frequently accessed data.
|
|
2759
|
+
# (default)
|
|
2721
2760
|
#
|
|
2722
|
-
# * `INTELLIGENT_TIERING`
|
|
2761
|
+
# * `INTELLIGENT_TIERING` - Automatically moves objects to the most
|
|
2762
|
+
# cost-effective access tier based on usage patterns.
|
|
2723
2763
|
#
|
|
2724
|
-
# * `GLACIER_IR`
|
|
2764
|
+
# * `GLACIER_IR` - Low-cost storage for rarely accessed data that
|
|
2765
|
+
# requires millisecond retrieval.
|
|
2725
2766
|
# @return [String]
|
|
2726
2767
|
#
|
|
2727
2768
|
# @!attribute [rw] compression_type
|
|
@@ -3530,13 +3571,19 @@ module Aws::Kinesis
|
|
|
3530
3571
|
# streaming.
|
|
3531
3572
|
# @return [Types::StartingPosition]
|
|
3532
3573
|
#
|
|
3574
|
+
# @!attribute [rw] dry_run
|
|
3575
|
+
# Checks if your request will succeed. `DryRun` is an optional
|
|
3576
|
+
# parameter.
|
|
3577
|
+
# @return [Boolean]
|
|
3578
|
+
#
|
|
3533
3579
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SubscribeToShardInput AWS API Documentation
|
|
3534
3580
|
#
|
|
3535
3581
|
class SubscribeToShardInput < Struct.new(
|
|
3536
3582
|
:consumer_arn,
|
|
3537
3583
|
:stream_id,
|
|
3538
3584
|
:shard_id,
|
|
3539
|
-
:starting_position
|
|
3585
|
+
:starting_position,
|
|
3586
|
+
:dry_run)
|
|
3540
3587
|
SENSITIVE = []
|
|
3541
3588
|
include Aws::Structure
|
|
3542
3589
|
end
|
data/lib/aws-sdk-kinesis.rb
CHANGED
data/sig/async_client.rbs
CHANGED
|
@@ -82,7 +82,8 @@ module Aws
|
|
|
82
82
|
type: ("AT_SEQUENCE_NUMBER" | "AFTER_SEQUENCE_NUMBER" | "TRIM_HORIZON" | "LATEST" | "AT_TIMESTAMP"),
|
|
83
83
|
sequence_number: ::String?,
|
|
84
84
|
timestamp: ::Time?
|
|
85
|
-
}
|
|
85
|
+
},
|
|
86
|
+
?dry_run: bool
|
|
86
87
|
) -> _SubscribeToShardResponseSuccess
|
|
87
88
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubscribeToShardResponseSuccess
|
|
88
89
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -332,7 +332,8 @@ module Aws
|
|
|
332
332
|
shard_iterator: ::String,
|
|
333
333
|
?limit: ::Integer,
|
|
334
334
|
?stream_arn: ::String,
|
|
335
|
-
?stream_id: ::String
|
|
335
|
+
?stream_id: ::String,
|
|
336
|
+
?dry_run: bool
|
|
336
337
|
) -> _GetRecordsResponseSuccess
|
|
337
338
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecordsResponseSuccess
|
|
338
339
|
|
|
@@ -359,7 +360,8 @@ module Aws
|
|
|
359
360
|
?starting_sequence_number: ::String,
|
|
360
361
|
?timestamp: ::Time,
|
|
361
362
|
?stream_arn: ::String,
|
|
362
|
-
?stream_id: ::String
|
|
363
|
+
?stream_id: ::String,
|
|
364
|
+
?dry_run: bool
|
|
363
365
|
) -> _GetShardIteratorResponseSuccess
|
|
364
366
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetShardIteratorResponseSuccess
|
|
365
367
|
|
|
@@ -492,7 +494,8 @@ module Aws
|
|
|
492
494
|
?explicit_hash_key: ::String,
|
|
493
495
|
?sequence_number_for_ordering: ::String,
|
|
494
496
|
?stream_arn: ::String,
|
|
495
|
-
?stream_id: ::String
|
|
497
|
+
?stream_id: ::String,
|
|
498
|
+
?dry_run: bool
|
|
496
499
|
) -> _PutRecordResponseSuccess
|
|
497
500
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRecordResponseSuccess
|
|
498
501
|
|
|
@@ -513,7 +516,8 @@ module Aws
|
|
|
513
516
|
],
|
|
514
517
|
?stream_name: ::String,
|
|
515
518
|
?stream_arn: ::String,
|
|
516
|
-
?stream_id: ::String
|
|
519
|
+
?stream_id: ::String,
|
|
520
|
+
?dry_run: bool
|
|
517
521
|
) -> _PutRecordsResponseSuccess
|
|
518
522
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRecordsResponseSuccess
|
|
519
523
|
|
data/sig/errors.rbs
CHANGED
|
@@ -14,6 +14,9 @@ module Aws
|
|
|
14
14
|
class AccessDeniedException < ::Aws::Errors::ServiceError
|
|
15
15
|
def message: () -> ::String
|
|
16
16
|
end
|
|
17
|
+
class DryRunOperationException < ::Aws::Errors::ServiceError
|
|
18
|
+
def message: () -> ::String
|
|
19
|
+
end
|
|
17
20
|
class ExpiredIteratorException < ::Aws::Errors::ServiceError
|
|
18
21
|
def message: () -> ::String
|
|
19
22
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -269,6 +269,11 @@ module Aws::Kinesis
|
|
|
269
269
|
SENSITIVE: []
|
|
270
270
|
end
|
|
271
271
|
|
|
272
|
+
class DryRunOperationException
|
|
273
|
+
attr_accessor message: ::String
|
|
274
|
+
SENSITIVE: []
|
|
275
|
+
end
|
|
276
|
+
|
|
272
277
|
class EnableEnhancedMonitoringInput
|
|
273
278
|
attr_accessor stream_name: ::String
|
|
274
279
|
attr_accessor shard_level_metrics: ::Array[("IncomingBytes" | "IncomingRecords" | "OutgoingBytes" | "OutgoingRecords" | "WriteProvisionedThroughputExceeded" | "ReadProvisionedThroughputExceeded" | "IteratorAgeMilliseconds" | "ALL")]
|
|
@@ -305,6 +310,7 @@ module Aws::Kinesis
|
|
|
305
310
|
attr_accessor limit: ::Integer
|
|
306
311
|
attr_accessor stream_arn: ::String
|
|
307
312
|
attr_accessor stream_id: ::String
|
|
313
|
+
attr_accessor dry_run: bool
|
|
308
314
|
SENSITIVE: []
|
|
309
315
|
end
|
|
310
316
|
|
|
@@ -335,6 +341,7 @@ module Aws::Kinesis
|
|
|
335
341
|
attr_accessor timestamp: ::Time
|
|
336
342
|
attr_accessor stream_arn: ::String
|
|
337
343
|
attr_accessor stream_id: ::String
|
|
344
|
+
attr_accessor dry_run: bool
|
|
338
345
|
SENSITIVE: []
|
|
339
346
|
end
|
|
340
347
|
|
|
@@ -542,6 +549,7 @@ module Aws::Kinesis
|
|
|
542
549
|
attr_accessor sequence_number_for_ordering: ::String
|
|
543
550
|
attr_accessor stream_arn: ::String
|
|
544
551
|
attr_accessor stream_id: ::String
|
|
552
|
+
attr_accessor dry_run: bool
|
|
545
553
|
SENSITIVE: []
|
|
546
554
|
end
|
|
547
555
|
|
|
@@ -557,6 +565,7 @@ module Aws::Kinesis
|
|
|
557
565
|
attr_accessor stream_name: ::String
|
|
558
566
|
attr_accessor stream_arn: ::String
|
|
559
567
|
attr_accessor stream_id: ::String
|
|
568
|
+
attr_accessor dry_run: bool
|
|
560
569
|
SENSITIVE: []
|
|
561
570
|
end
|
|
562
571
|
|
|
@@ -817,6 +826,7 @@ module Aws::Kinesis
|
|
|
817
826
|
attr_accessor stream_id: ::String
|
|
818
827
|
attr_accessor shard_id: ::String
|
|
819
828
|
attr_accessor starting_position: Types::StartingPosition
|
|
829
|
+
attr_accessor dry_run: bool
|
|
820
830
|
SENSITIVE: []
|
|
821
831
|
end
|
|
822
832
|
|