aws-sdk-dynamodbstreams 1.11.0 → 1.12.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3eff2b01d40cebbda8b5a43cb815cfcb6db27b2
4
- data.tar.gz: afef1afe91c6638a9a042f35870deeca291fa887
3
+ metadata.gz: 73f0e4268c2e71328e385c9a332cc842633054bf
4
+ data.tar.gz: cb1b064a05b4d073267d769f2216571acf488053
5
5
  SHA512:
6
- metadata.gz: 242f9a4d04afbe6df8bab64b2a7d05ebaec6f2667ed4bb85d0a6af9f4af5e3b47d51c736419963be041a644387ec5a15e6adb30c366b2a9eeeed611c537d5844
7
- data.tar.gz: 764e2f73d46f31a69f5ad335886456010f1f0a9c6814a4b980b9b8a68db722e830ef281ae5151851d9712a36ad4906a88a89c0a80a1bf30bbe9cea84b55947b1
6
+ metadata.gz: da9307803230feac0104bcb222638d9a6ce90cd5a8a8d5f4b2f823ac73773a900499d657ec7ba058175eae94eca6cbd58423a6b52017bbd5a0e982bbcc1fc787
7
+ data.tar.gz: 2b76abfb6666543a8a1f94be646323e9740991e602166bd733bb7481bcd80d22d87af4ce6bbf0f5166009f27e050857e1488e84e2929bfc5998e16ad82a227e9
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-dynamodbstreams/customizations'
42
42
  # @service
43
43
  module Aws::DynamoDBStreams
44
44
 
45
- GEM_VERSION = '1.11.0'
45
+ GEM_VERSION = '1.12.0'
46
46
 
47
47
  end
@@ -710,7 +710,7 @@ module Aws::DynamoDBStreams
710
710
  params: params,
711
711
  config: config)
712
712
  context[:gem_name] = 'aws-sdk-dynamodbstreams'
713
- context[:gem_version] = '1.11.0'
713
+ context[:gem_version] = '1.12.0'
714
714
  Seahorse::Client::Request.new(handlers, context)
715
715
  end
716
716
 
@@ -91,6 +91,9 @@ module Aws::DynamoDBStreams
91
91
  DescribeStreamOutput.add_member(:stream_description, Shapes::ShapeRef.new(shape: StreamDescription, location_name: "StreamDescription"))
92
92
  DescribeStreamOutput.struct_class = Types::DescribeStreamOutput
93
93
 
94
+ ExpiredIteratorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
95
+ ExpiredIteratorException.struct_class = Types::ExpiredIteratorException
96
+
94
97
  GetRecordsInput.add_member(:shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, required: true, location_name: "ShardIterator"))
95
98
  GetRecordsInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "Limit"))
96
99
  GetRecordsInput.struct_class = Types::GetRecordsInput
@@ -112,12 +115,18 @@ module Aws::DynamoDBStreams
112
115
  Identity.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
113
116
  Identity.struct_class = Types::Identity
114
117
 
118
+ InternalServerError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
119
+ InternalServerError.struct_class = Types::InternalServerError
120
+
115
121
  KeySchema.member = Shapes::ShapeRef.new(shape: KeySchemaElement)
116
122
 
117
123
  KeySchemaElement.add_member(:attribute_name, Shapes::ShapeRef.new(shape: KeySchemaAttributeName, required: true, location_name: "AttributeName"))
118
124
  KeySchemaElement.add_member(:key_type, Shapes::ShapeRef.new(shape: KeyType, required: true, location_name: "KeyType"))
119
125
  KeySchemaElement.struct_class = Types::KeySchemaElement
120
126
 
127
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
128
+ LimitExceededException.struct_class = Types::LimitExceededException
129
+
121
130
  ListAttributeValue.member = Shapes::ShapeRef.new(shape: AttributeValue)
122
131
 
123
132
  ListStreamsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
@@ -145,6 +154,9 @@ module Aws::DynamoDBStreams
145
154
 
146
155
  RecordList.member = Shapes::ShapeRef.new(shape: Record)
147
156
 
157
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
158
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
159
+
148
160
  SequenceNumberRange.add_member(:starting_sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "StartingSequenceNumber"))
149
161
  SequenceNumberRange.add_member(:ending_sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "EndingSequenceNumber"))
150
162
  SequenceNumberRange.struct_class = Types::SequenceNumberRange
@@ -185,6 +197,9 @@ module Aws::DynamoDBStreams
185
197
 
186
198
  StringSetAttributeValue.member = Shapes::ShapeRef.new(shape: StringAttributeValue)
187
199
 
200
+ TrimmedDataAccessException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
201
+ TrimmedDataAccessException.struct_class = Types::TrimmedDataAccessException
202
+
188
203
 
189
204
  # @api private
190
205
  API = Seahorse::Model::Api.new.tap do |api|
@@ -10,5 +10,85 @@ module Aws::DynamoDBStreams
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::DynamoDBStreams::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 InternalServerError < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::DynamoDBStreams::Types::InternalServerError] 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 LimitExceededException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::DynamoDBStreams::Types::LimitExceededException] 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 ResourceNotFoundException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::DynamoDBStreams::Types::ResourceNotFoundException] 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 TrimmedDataAccessException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::DynamoDBStreams::Types::TrimmedDataAccessException] 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
@@ -124,6 +124,21 @@ module Aws::DynamoDBStreams
124
124
  include Aws::Structure
125
125
  end
126
126
 
127
+ # The shard iterator has expired and can no longer be used to retrieve
128
+ # stream records. A shard iterator expires 15 minutes after it is
129
+ # retrieved using the `GetShardIterator` action.
130
+ #
131
+ # @!attribute [rw] message
132
+ # The provided iterator exceeds the maximum age allowed.
133
+ # @return [String]
134
+ #
135
+ # @see http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/ExpiredIteratorException AWS API Documentation
136
+ #
137
+ class ExpiredIteratorException < Struct.new(
138
+ :message)
139
+ include Aws::Structure
140
+ end
141
+
127
142
  # Represents the input of a `GetRecords` operation.
128
143
  #
129
144
  # @note When making an API call, you may pass GetRecordsInput
@@ -265,6 +280,20 @@ module Aws::DynamoDBStreams
265
280
  include Aws::Structure
266
281
  end
267
282
 
283
+ # An error occurred on the server side.
284
+ #
285
+ # @!attribute [rw] message
286
+ # The server encountered an internal error trying to fulfill the
287
+ # request.
288
+ # @return [String]
289
+ #
290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/InternalServerError AWS API Documentation
291
+ #
292
+ class InternalServerError < Struct.new(
293
+ :message)
294
+ include Aws::Structure
295
+ end
296
+
268
297
  # Represents *a single element* of a key schema. A key schema specifies
269
298
  # the attributes that make up the primary key of a table, or the key
270
299
  # attributes of an index.
@@ -304,6 +333,28 @@ module Aws::DynamoDBStreams
304
333
  include Aws::Structure
305
334
  end
306
335
 
336
+ # Your request rate is too high. The AWS SDKs for DynamoDB automatically
337
+ # retry requests that receive this exception. Your request is eventually
338
+ # successful, unless your retry queue is too large to finish. Reduce the
339
+ # frequency of requests and use exponential backoff. For more
340
+ # information, go to [Error Retries and Exponential Backoff][1] in the
341
+ # *Amazon DynamoDB Developer Guide*.
342
+ #
343
+ #
344
+ #
345
+ # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#APIRetries
346
+ #
347
+ # @!attribute [rw] message
348
+ # Too many operations for a given subscriber.
349
+ # @return [String]
350
+ #
351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/LimitExceededException AWS API Documentation
352
+ #
353
+ class LimitExceededException < Struct.new(
354
+ :message)
355
+ include Aws::Structure
356
+ end
357
+
307
358
  # Represents the input of a `ListStreams` operation.
308
359
  #
309
360
  # @note When making an API call, you may pass ListStreamsInput
@@ -438,6 +489,19 @@ module Aws::DynamoDBStreams
438
489
  include Aws::Structure
439
490
  end
440
491
 
492
+ # The operation tried to access a nonexistent stream.
493
+ #
494
+ # @!attribute [rw] message
495
+ # The resource which is being requested does not exist.
496
+ # @return [String]
497
+ #
498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/ResourceNotFoundException AWS API Documentation
499
+ #
500
+ class ResourceNotFoundException < Struct.new(
501
+ :message)
502
+ include Aws::Structure
503
+ end
504
+
441
505
  # The beginning and ending sequence numbers for the stream records
442
506
  # contained within a shard.
443
507
  #
@@ -674,5 +738,32 @@ module Aws::DynamoDBStreams
674
738
  include Aws::Structure
675
739
  end
676
740
 
741
+ # The operation attempted to read past the oldest stream record in a
742
+ # shard.
743
+ #
744
+ # In DynamoDB Streams, there is a 24 hour limit on data retention.
745
+ # Stream records whose age exceeds this limit are subject to removal
746
+ # (trimming) from the stream. You might receive a
747
+ # TrimmedDataAccessException if:
748
+ #
749
+ # * You request a shard iterator with a sequence number older than the
750
+ # trim point (24 hours).
751
+ #
752
+ # * You obtain a shard iterator, but before you use the iterator in a
753
+ # `GetRecords` request, a stream record in the shard exceeds the 24
754
+ # hour period and is trimmed. This causes the iterator to access a
755
+ # record that no longer exists.
756
+ #
757
+ # @!attribute [rw] message
758
+ # "The data you are trying to access has been trimmed.
759
+ # @return [String]
760
+ #
761
+ # @see http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/TrimmedDataAccessException AWS API Documentation
762
+ #
763
+ class TrimmedDataAccessException < Struct.new(
764
+ :message)
765
+ include Aws::Structure
766
+ end
767
+
677
768
  end
678
769
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodbstreams
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.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-15 00:00:00.000000000 Z
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.52.1
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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement