aws-sdk-kinesis 1.15.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-kinesis.rb +1 -1
- data/lib/aws-sdk-kinesis/async_client.rb +1 -1
- data/lib/aws-sdk-kinesis/client.rb +1 -1
- data/lib/aws-sdk-kinesis/client_api.rb +15 -0
- data/lib/aws-sdk-kinesis/errors.rb +80 -0
- data/lib/aws-sdk-kinesis/types.rb +76 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2413c4ed1572840e47875e6d2c2f52269b75fe68
|
4
|
+
data.tar.gz: 7cebd31de5251223af3338a36cd1296ff26782ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 228d91b6d88332b8e0f57040f16565556be905d72ce95b74c627c5150bdb852da34f0bff56cfe39d485685cc97a7b7c05c09505c19d003e23f52848af832f268
|
7
|
+
data.tar.gz: 8f815f3b5d42f944a4d91cfa16bb6078f695e361870f146784ff5c28c64d66df7aa4dd313d64ae327a91626303c7831132e06c52c37187755318db1291b08eeb
|
data/lib/aws-sdk-kinesis.rb
CHANGED
@@ -473,7 +473,7 @@ module Aws::Kinesis
|
|
473
473
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
474
474
|
config: config)
|
475
475
|
context[:gem_name] = 'aws-sdk-kinesis'
|
476
|
-
context[:gem_version] = '1.
|
476
|
+
context[:gem_version] = '1.16.0'
|
477
477
|
Seahorse::Client::Request.new(handlers, context)
|
478
478
|
end
|
479
479
|
|
@@ -2129,7 +2129,7 @@ module Aws::Kinesis
|
|
2129
2129
|
params: params,
|
2130
2130
|
config: config)
|
2131
2131
|
context[:gem_name] = 'aws-sdk-kinesis'
|
2132
|
-
context[:gem_version] = '1.
|
2132
|
+
context[:gem_version] = '1.16.0'
|
2133
2133
|
Seahorse::Client::Request.new(handlers, context)
|
2134
2134
|
end
|
2135
2135
|
|
@@ -213,6 +213,12 @@ module Aws::Kinesis
|
|
213
213
|
EnhancedMonitoringOutput.add_member(:desired_shard_level_metrics, Shapes::ShapeRef.new(shape: MetricsNameList, location_name: "DesiredShardLevelMetrics"))
|
214
214
|
EnhancedMonitoringOutput.struct_class = Types::EnhancedMonitoringOutput
|
215
215
|
|
216
|
+
ExpiredIteratorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
217
|
+
ExpiredIteratorException.struct_class = Types::ExpiredIteratorException
|
218
|
+
|
219
|
+
ExpiredNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
220
|
+
ExpiredNextTokenException.struct_class = Types::ExpiredNextTokenException
|
221
|
+
|
216
222
|
GetRecordsInput.add_member(:shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, required: true, location_name: "ShardIterator"))
|
217
223
|
GetRecordsInput.add_member(:limit, Shapes::ShapeRef.new(shape: GetRecordsInputLimit, location_name: "Limit"))
|
218
224
|
GetRecordsInput.struct_class = Types::GetRecordsInput
|
@@ -243,6 +249,9 @@ module Aws::Kinesis
|
|
243
249
|
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
244
250
|
InternalFailureException.struct_class = Types::InternalFailureException
|
245
251
|
|
252
|
+
InvalidArgumentException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
253
|
+
InvalidArgumentException.struct_class = Types::InvalidArgumentException
|
254
|
+
|
246
255
|
KMSAccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
247
256
|
KMSAccessDeniedException.struct_class = Types::KMSAccessDeniedException
|
248
257
|
|
@@ -261,6 +270,9 @@ module Aws::Kinesis
|
|
261
270
|
KMSThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
262
271
|
KMSThrottlingException.struct_class = Types::KMSThrottlingException
|
263
272
|
|
273
|
+
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
274
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
275
|
+
|
264
276
|
ListShardsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
|
265
277
|
ListShardsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
266
278
|
ListShardsInput.add_member(:exclusive_start_shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "ExclusiveStartShardId"))
|
@@ -306,6 +318,9 @@ module Aws::Kinesis
|
|
306
318
|
|
307
319
|
MetricsNameList.member = Shapes::ShapeRef.new(shape: MetricsName)
|
308
320
|
|
321
|
+
ProvisionedThroughputExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
322
|
+
ProvisionedThroughputExceededException.struct_class = Types::ProvisionedThroughputExceededException
|
323
|
+
|
309
324
|
PutRecordInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
|
310
325
|
PutRecordInput.add_member(:data, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "Data"))
|
311
326
|
PutRecordInput.add_member(:partition_key, Shapes::ShapeRef.new(shape: PartitionKey, required: true, location_name: "PartitionKey"))
|
@@ -10,5 +10,85 @@ module Aws::Kinesis
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class ExpiredIteratorException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::Kinesis::Types::ExpiredIteratorException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class ExpiredNextTokenException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::Kinesis::Types::ExpiredNextTokenException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class InvalidArgumentException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::Kinesis::Types::InvalidArgumentException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class LimitExceededException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::Kinesis::Types::LimitExceededException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class ProvisionedThroughputExceededException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::Kinesis::Types::ProvisionedThroughputExceededException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
13
93
|
end
|
14
94
|
end
|
@@ -562,6 +562,31 @@ module Aws::Kinesis
|
|
562
562
|
include Aws::Structure
|
563
563
|
end
|
564
564
|
|
565
|
+
# The provided iterator exceeds the maximum age allowed.
|
566
|
+
#
|
567
|
+
# @!attribute [rw] message
|
568
|
+
# A message that provides information about the error.
|
569
|
+
# @return [String]
|
570
|
+
#
|
571
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ExpiredIteratorException AWS API Documentation
|
572
|
+
#
|
573
|
+
class ExpiredIteratorException < Struct.new(
|
574
|
+
:message)
|
575
|
+
include Aws::Structure
|
576
|
+
end
|
577
|
+
|
578
|
+
# The pagination token passed to the operation is expired.
|
579
|
+
#
|
580
|
+
# @!attribute [rw] message
|
581
|
+
# @return [String]
|
582
|
+
#
|
583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ExpiredNextTokenException AWS API Documentation
|
584
|
+
#
|
585
|
+
class ExpiredNextTokenException < Struct.new(
|
586
|
+
:message)
|
587
|
+
include Aws::Structure
|
588
|
+
end
|
589
|
+
|
565
590
|
# Represents the input for GetRecords.
|
566
591
|
#
|
567
592
|
# @note When making an API call, you may pass GetRecordsInput
|
@@ -766,6 +791,20 @@ module Aws::Kinesis
|
|
766
791
|
include Aws::Structure
|
767
792
|
end
|
768
793
|
|
794
|
+
# A specified parameter exceeds its restrictions, is not supported, or
|
795
|
+
# can't be used. For more information, see the returned message.
|
796
|
+
#
|
797
|
+
# @!attribute [rw] message
|
798
|
+
# A message that provides information about the error.
|
799
|
+
# @return [String]
|
800
|
+
#
|
801
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/InvalidArgumentException AWS API Documentation
|
802
|
+
#
|
803
|
+
class InvalidArgumentException < Struct.new(
|
804
|
+
:message)
|
805
|
+
include Aws::Structure
|
806
|
+
end
|
807
|
+
|
769
808
|
# The ciphertext references a key that doesn't exist or that you don't
|
770
809
|
# have access to.
|
771
810
|
#
|
@@ -866,6 +905,21 @@ module Aws::Kinesis
|
|
866
905
|
include Aws::Structure
|
867
906
|
end
|
868
907
|
|
908
|
+
# The requested resource exceeds the maximum number allowed, or the
|
909
|
+
# number of concurrent stream requests exceeds the maximum number
|
910
|
+
# allowed.
|
911
|
+
#
|
912
|
+
# @!attribute [rw] message
|
913
|
+
# A message that provides information about the error.
|
914
|
+
# @return [String]
|
915
|
+
#
|
916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/LimitExceededException AWS API Documentation
|
917
|
+
#
|
918
|
+
class LimitExceededException < Struct.new(
|
919
|
+
:message)
|
920
|
+
include Aws::Structure
|
921
|
+
end
|
922
|
+
|
869
923
|
# @note When making an API call, you may pass ListShardsInput
|
870
924
|
# data as a hash:
|
871
925
|
#
|
@@ -1229,6 +1283,28 @@ module Aws::Kinesis
|
|
1229
1283
|
include Aws::Structure
|
1230
1284
|
end
|
1231
1285
|
|
1286
|
+
# The request rate for the stream is too high, or the requested data is
|
1287
|
+
# too large for the available throughput. Reduce the frequency or size
|
1288
|
+
# of your requests. For more information, see [Streams Limits][1] in the
|
1289
|
+
# *Amazon Kinesis Data Streams Developer Guide*, and [Error Retries and
|
1290
|
+
# Exponential Backoff in AWS][2] in the *AWS General Reference*.
|
1291
|
+
#
|
1292
|
+
#
|
1293
|
+
#
|
1294
|
+
# [1]: http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html
|
1295
|
+
# [2]: http://docs.aws.amazon.com/general/latest/gr/api-retries.html
|
1296
|
+
#
|
1297
|
+
# @!attribute [rw] message
|
1298
|
+
# A message that provides information about the error.
|
1299
|
+
# @return [String]
|
1300
|
+
#
|
1301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ProvisionedThroughputExceededException AWS API Documentation
|
1302
|
+
#
|
1303
|
+
class ProvisionedThroughputExceededException < Struct.new(
|
1304
|
+
:message)
|
1305
|
+
include Aws::Structure
|
1306
|
+
end
|
1307
|
+
|
1232
1308
|
# Represents the input for `PutRecord`.
|
1233
1309
|
#
|
1234
1310
|
# @note When making an API call, you may pass PutRecordInput
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kinesis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.53.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|