aws-sdk-dynamodb 1.28.0 → 1.29.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: 7139163d4f25cc5b582a1345b996b541955ffaa1
4
- data.tar.gz: 1faa79bcb8b713ef0c1ac5fa380ed782b7e218e9
3
+ metadata.gz: 33abee419a8a73137d1877d52a551e451a24f72d
4
+ data.tar.gz: 540b965c956fed4fec7ad42786d27b9f6c83507e
5
5
  SHA512:
6
- metadata.gz: b47715f9860155d96151a541190bdc837fb31dbb11d2113adbdd1ca082dc144bbae6e4d335bf8b3accc8ca787d3f71537a0e35505ffbdb1279adec2aa4c12cdd
7
- data.tar.gz: 401435d8665eba9e5960b33cd7e10436a2297d7aaf26ee35a7b38d6d98fb202bc6918653d0e0571bdf8018405ed0c2e2ca31247352984ab9d06f1bedc2d17fb3
6
+ metadata.gz: 8a207683dc57bf8244ecb15c425d47c385292bc46d9ae198cddef63ecae91f82e7e23c49e8b683ab6e065f9779ce5d9853d4dfa5e8731d28f2371f1923a863c3
7
+ data.tar.gz: b741b0cb0ce82939a92dbf8845829df6300d11b75df54ecfbb34cf2ba6024705a75eb6abfd6907b5f50fcc8087fb65d3cce0fb5a8f56fffbe859693393cd1af2
@@ -44,6 +44,6 @@ require_relative 'aws-sdk-dynamodb/customizations'
44
44
  # @service
45
45
  module Aws::DynamoDB
46
46
 
47
- GEM_VERSION = '1.28.0'
47
+ GEM_VERSION = '1.29.0'
48
48
 
49
49
  end
@@ -5812,7 +5812,7 @@ module Aws::DynamoDB
5812
5812
  params: params,
5813
5813
  config: config)
5814
5814
  context[:gem_name] = 'aws-sdk-dynamodb'
5815
- context[:gem_version] = '1.28.0'
5815
+ context[:gem_version] = '1.29.0'
5816
5816
  Seahorse::Client::Request.new(handlers, context)
5817
5817
  end
5818
5818
 
@@ -405,6 +405,12 @@ module Aws::DynamoDB
405
405
  BackupDetails.add_member(:backup_expiry_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "BackupExpiryDateTime"))
406
406
  BackupDetails.struct_class = Types::BackupDetails
407
407
 
408
+ BackupInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
409
+ BackupInUseException.struct_class = Types::BackupInUseException
410
+
411
+ BackupNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
412
+ BackupNotFoundException.struct_class = Types::BackupNotFoundException
413
+
408
414
  BackupSummaries.member = Shapes::ShapeRef.new(shape: BackupSummary)
409
415
 
410
416
  BackupSummary.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
@@ -477,6 +483,9 @@ module Aws::DynamoDB
477
483
  ConditionCheck.add_member(:return_values_on_condition_check_failure, Shapes::ShapeRef.new(shape: ReturnValuesOnConditionCheckFailure, location_name: "ReturnValuesOnConditionCheckFailure"))
478
484
  ConditionCheck.struct_class = Types::ConditionCheck
479
485
 
486
+ ConditionalCheckFailedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
487
+ ConditionalCheckFailedException.struct_class = Types::ConditionalCheckFailedException
488
+
480
489
  ConsumedCapacity.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
481
490
  ConsumedCapacity.add_member(:capacity_units, Shapes::ShapeRef.new(shape: ConsumedCapacityUnits, location_name: "CapacityUnits"))
482
491
  ConsumedCapacity.add_member(:read_capacity_units, Shapes::ShapeRef.new(shape: ConsumedCapacityUnits, location_name: "ReadCapacityUnits"))
@@ -492,6 +501,9 @@ module Aws::DynamoDB
492
501
  ContinuousBackupsDescription.add_member(:point_in_time_recovery_description, Shapes::ShapeRef.new(shape: PointInTimeRecoveryDescription, location_name: "PointInTimeRecoveryDescription"))
493
502
  ContinuousBackupsDescription.struct_class = Types::ContinuousBackupsDescription
494
503
 
504
+ ContinuousBackupsUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
505
+ ContinuousBackupsUnavailableException.struct_class = Types::ContinuousBackupsUnavailableException
506
+
495
507
  CreateBackupInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
496
508
  CreateBackupInput.add_member(:backup_name, Shapes::ShapeRef.new(shape: BackupName, required: true, location_name: "BackupName"))
497
509
  CreateBackupInput.struct_class = Types::CreateBackupInput
@@ -709,6 +721,9 @@ module Aws::DynamoDB
709
721
  GlobalTable.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicaList, location_name: "ReplicationGroup"))
710
722
  GlobalTable.struct_class = Types::GlobalTable
711
723
 
724
+ GlobalTableAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
725
+ GlobalTableAlreadyExistsException.struct_class = Types::GlobalTableAlreadyExistsException
726
+
712
727
  GlobalTableDescription.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicaDescriptionList, location_name: "ReplicationGroup"))
713
728
  GlobalTableDescription.add_member(:global_table_arn, Shapes::ShapeRef.new(shape: GlobalTableArnString, location_name: "GlobalTableArn"))
714
729
  GlobalTableDescription.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationDateTime"))
@@ -725,6 +740,21 @@ module Aws::DynamoDB
725
740
 
726
741
  GlobalTableList.member = Shapes::ShapeRef.new(shape: GlobalTable)
727
742
 
743
+ GlobalTableNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
744
+ GlobalTableNotFoundException.struct_class = Types::GlobalTableNotFoundException
745
+
746
+ IdempotentParameterMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
747
+ IdempotentParameterMismatchException.struct_class = Types::IdempotentParameterMismatchException
748
+
749
+ IndexNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
750
+ IndexNotFoundException.struct_class = Types::IndexNotFoundException
751
+
752
+ InternalServerError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
753
+ InternalServerError.struct_class = Types::InternalServerError
754
+
755
+ InvalidRestoreTimeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
756
+ InvalidRestoreTimeException.struct_class = Types::InvalidRestoreTimeException
757
+
728
758
  ItemCollectionKeyAttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
729
759
  ItemCollectionKeyAttributeMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
730
760
 
@@ -739,6 +769,9 @@ module Aws::DynamoDB
739
769
 
740
770
  ItemCollectionSizeEstimateRange.member = Shapes::ShapeRef.new(shape: ItemCollectionSizeEstimateBound)
741
771
 
772
+ ItemCollectionSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
773
+ ItemCollectionSizeLimitExceededException.struct_class = Types::ItemCollectionSizeLimitExceededException
774
+
742
775
  ItemList.member = Shapes::ShapeRef.new(shape: AttributeMap)
743
776
 
744
777
  ItemResponse.add_member(:item, Shapes::ShapeRef.new(shape: AttributeMap, location_name: "Item"))
@@ -767,6 +800,9 @@ module Aws::DynamoDB
767
800
  KeysAndAttributes.add_member(:expression_attribute_names, Shapes::ShapeRef.new(shape: ExpressionAttributeNameMap, location_name: "ExpressionAttributeNames"))
768
801
  KeysAndAttributes.struct_class = Types::KeysAndAttributes
769
802
 
803
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
804
+ LimitExceededException.struct_class = Types::LimitExceededException
805
+
770
806
  ListAttributeValue.member = Shapes::ShapeRef.new(shape: AttributeValue)
771
807
 
772
808
  ListBackupsInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
@@ -845,6 +881,9 @@ module Aws::DynamoDB
845
881
  PointInTimeRecoverySpecification.add_member(:point_in_time_recovery_enabled, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "PointInTimeRecoveryEnabled"))
846
882
  PointInTimeRecoverySpecification.struct_class = Types::PointInTimeRecoverySpecification
847
883
 
884
+ PointInTimeRecoveryUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
885
+ PointInTimeRecoveryUnavailableException.struct_class = Types::PointInTimeRecoveryUnavailableException
886
+
848
887
  Projection.add_member(:projection_type, Shapes::ShapeRef.new(shape: ProjectionType, location_name: "ProjectionType"))
849
888
  Projection.add_member(:non_key_attributes, Shapes::ShapeRef.new(shape: NonKeyAttributeNameList, location_name: "NonKeyAttributes"))
850
889
  Projection.struct_class = Types::Projection
@@ -860,6 +899,9 @@ module Aws::DynamoDB
860
899
  ProvisionedThroughputDescription.add_member(:write_capacity_units, Shapes::ShapeRef.new(shape: NonNegativeLongObject, location_name: "WriteCapacityUnits"))
861
900
  ProvisionedThroughputDescription.struct_class = Types::ProvisionedThroughputDescription
862
901
 
902
+ ProvisionedThroughputExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
903
+ ProvisionedThroughputExceededException.struct_class = Types::ProvisionedThroughputExceededException
904
+
863
905
  Put.add_member(:item, Shapes::ShapeRef.new(shape: PutItemInputAttributeMap, required: true, location_name: "Item"))
864
906
  Put.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
865
907
  Put.add_member(:condition_expression, Shapes::ShapeRef.new(shape: ConditionExpression, location_name: "ConditionExpression"))
@@ -920,6 +962,9 @@ module Aws::DynamoDB
920
962
  Replica.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
921
963
  Replica.struct_class = Types::Replica
922
964
 
965
+ ReplicaAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
966
+ ReplicaAlreadyExistsException.struct_class = Types::ReplicaAlreadyExistsException
967
+
923
968
  ReplicaDescription.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
924
969
  ReplicaDescription.struct_class = Types::ReplicaDescription
925
970
 
@@ -944,6 +989,9 @@ module Aws::DynamoDB
944
989
 
945
990
  ReplicaList.member = Shapes::ShapeRef.new(shape: Replica)
946
991
 
992
+ ReplicaNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
993
+ ReplicaNotFoundException.struct_class = Types::ReplicaNotFoundException
994
+
947
995
  ReplicaSettingsDescription.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
948
996
  ReplicaSettingsDescription.add_member(:replica_status, Shapes::ShapeRef.new(shape: ReplicaStatus, location_name: "ReplicaStatus"))
949
997
  ReplicaSettingsDescription.add_member(:replica_billing_mode_summary, Shapes::ShapeRef.new(shape: BillingModeSummary, location_name: "ReplicaBillingModeSummary"))
@@ -970,6 +1018,15 @@ module Aws::DynamoDB
970
1018
 
971
1019
  ReplicaUpdateList.member = Shapes::ShapeRef.new(shape: ReplicaUpdate)
972
1020
 
1021
+ RequestLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1022
+ RequestLimitExceeded.struct_class = Types::RequestLimitExceeded
1023
+
1024
+ ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1025
+ ResourceInUseException.struct_class = Types::ResourceInUseException
1026
+
1027
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1028
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1029
+
973
1030
  RestoreSummary.add_member(:source_backup_arn, Shapes::ShapeRef.new(shape: BackupArn, location_name: "SourceBackupArn"))
974
1031
  RestoreSummary.add_member(:source_table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "SourceTableArn"))
975
1032
  RestoreSummary.add_member(:restore_date_time, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "RestoreDateTime"))
@@ -1054,6 +1111,9 @@ module Aws::DynamoDB
1054
1111
 
1055
1112
  StringSetAttributeValue.member = Shapes::ShapeRef.new(shape: StringAttributeValue)
1056
1113
 
1114
+ TableAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1115
+ TableAlreadyExistsException.struct_class = Types::TableAlreadyExistsException
1116
+
1057
1117
  TableDescription.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, location_name: "AttributeDefinitions"))
1058
1118
  TableDescription.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
1059
1119
  TableDescription.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, location_name: "KeySchema"))
@@ -1074,8 +1134,14 @@ module Aws::DynamoDB
1074
1134
  TableDescription.add_member(:sse_description, Shapes::ShapeRef.new(shape: SSEDescription, location_name: "SSEDescription"))
1075
1135
  TableDescription.struct_class = Types::TableDescription
1076
1136
 
1137
+ TableInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1138
+ TableInUseException.struct_class = Types::TableInUseException
1139
+
1077
1140
  TableNameList.member = Shapes::ShapeRef.new(shape: TableName)
1078
1141
 
1142
+ TableNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1143
+ TableNotFoundException.struct_class = Types::TableNotFoundException
1144
+
1079
1145
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKeyString, required: true, location_name: "Key"))
1080
1146
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValueString, required: true, location_name: "Value"))
1081
1147
  Tag.struct_class = Types::Tag
@@ -1127,6 +1193,16 @@ module Aws::DynamoDB
1127
1193
  TransactWriteItemsOutput.add_member(:item_collection_metrics, Shapes::ShapeRef.new(shape: ItemCollectionMetricsPerTable, location_name: "ItemCollectionMetrics"))
1128
1194
  TransactWriteItemsOutput.struct_class = Types::TransactWriteItemsOutput
1129
1195
 
1196
+ TransactionCanceledException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1197
+ TransactionCanceledException.add_member(:cancellation_reasons, Shapes::ShapeRef.new(shape: CancellationReasonList, location_name: "CancellationReasons"))
1198
+ TransactionCanceledException.struct_class = Types::TransactionCanceledException
1199
+
1200
+ TransactionConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1201
+ TransactionConflictException.struct_class = Types::TransactionConflictException
1202
+
1203
+ TransactionInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1204
+ TransactionInProgressException.struct_class = Types::TransactionInProgressException
1205
+
1130
1206
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
1131
1207
  UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
1132
1208
  UntagResourceInput.struct_class = Types::UntagResourceInput
@@ -10,5 +10,410 @@ module Aws::DynamoDB
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class BackupInUseException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::DynamoDB::Types::BackupInUseException] 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 BackupNotFoundException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::DynamoDB::Types::BackupNotFoundException] 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 ConditionalCheckFailedException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::DynamoDB::Types::ConditionalCheckFailedException] 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 ContinuousBackupsUnavailableException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::DynamoDB::Types::ContinuousBackupsUnavailableException] 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 GlobalTableAlreadyExistsException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::DynamoDB::Types::GlobalTableAlreadyExistsException] 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
+
93
+ class GlobalTableNotFoundException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::DynamoDB::Types::GlobalTableNotFoundException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class IdempotentParameterMismatchException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::DynamoDB::Types::IdempotentParameterMismatchException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class IndexNotFoundException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::DynamoDB::Types::IndexNotFoundException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
141
+ class InternalServerError < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::DynamoDB::Types::InternalServerError] data
146
+ def initialize(context, message, data = Aws::EmptyStructure.new)
147
+ super(context, message, data)
148
+ end
149
+
150
+ # @return [String]
151
+ def message
152
+ @message || @data[:message]
153
+ end
154
+
155
+ end
156
+
157
+ class InvalidRestoreTimeException < ServiceError
158
+
159
+ # @param [Seahorse::Client::RequestContext] context
160
+ # @param [String] message
161
+ # @param [Aws::DynamoDB::Types::InvalidRestoreTimeException] data
162
+ def initialize(context, message, data = Aws::EmptyStructure.new)
163
+ super(context, message, data)
164
+ end
165
+
166
+ # @return [String]
167
+ def message
168
+ @message || @data[:message]
169
+ end
170
+
171
+ end
172
+
173
+ class ItemCollectionSizeLimitExceededException < ServiceError
174
+
175
+ # @param [Seahorse::Client::RequestContext] context
176
+ # @param [String] message
177
+ # @param [Aws::DynamoDB::Types::ItemCollectionSizeLimitExceededException] data
178
+ def initialize(context, message, data = Aws::EmptyStructure.new)
179
+ super(context, message, data)
180
+ end
181
+
182
+ # @return [String]
183
+ def message
184
+ @message || @data[:message]
185
+ end
186
+
187
+ end
188
+
189
+ class LimitExceededException < ServiceError
190
+
191
+ # @param [Seahorse::Client::RequestContext] context
192
+ # @param [String] message
193
+ # @param [Aws::DynamoDB::Types::LimitExceededException] data
194
+ def initialize(context, message, data = Aws::EmptyStructure.new)
195
+ super(context, message, data)
196
+ end
197
+
198
+ # @return [String]
199
+ def message
200
+ @message || @data[:message]
201
+ end
202
+
203
+ end
204
+
205
+ class PointInTimeRecoveryUnavailableException < ServiceError
206
+
207
+ # @param [Seahorse::Client::RequestContext] context
208
+ # @param [String] message
209
+ # @param [Aws::DynamoDB::Types::PointInTimeRecoveryUnavailableException] data
210
+ def initialize(context, message, data = Aws::EmptyStructure.new)
211
+ super(context, message, data)
212
+ end
213
+
214
+ # @return [String]
215
+ def message
216
+ @message || @data[:message]
217
+ end
218
+
219
+ end
220
+
221
+ class ProvisionedThroughputExceededException < ServiceError
222
+
223
+ # @param [Seahorse::Client::RequestContext] context
224
+ # @param [String] message
225
+ # @param [Aws::DynamoDB::Types::ProvisionedThroughputExceededException] data
226
+ def initialize(context, message, data = Aws::EmptyStructure.new)
227
+ super(context, message, data)
228
+ end
229
+
230
+ # @return [String]
231
+ def message
232
+ @message || @data[:message]
233
+ end
234
+
235
+ end
236
+
237
+ class ReplicaAlreadyExistsException < ServiceError
238
+
239
+ # @param [Seahorse::Client::RequestContext] context
240
+ # @param [String] message
241
+ # @param [Aws::DynamoDB::Types::ReplicaAlreadyExistsException] data
242
+ def initialize(context, message, data = Aws::EmptyStructure.new)
243
+ super(context, message, data)
244
+ end
245
+
246
+ # @return [String]
247
+ def message
248
+ @message || @data[:message]
249
+ end
250
+
251
+ end
252
+
253
+ class ReplicaNotFoundException < ServiceError
254
+
255
+ # @param [Seahorse::Client::RequestContext] context
256
+ # @param [String] message
257
+ # @param [Aws::DynamoDB::Types::ReplicaNotFoundException] data
258
+ def initialize(context, message, data = Aws::EmptyStructure.new)
259
+ super(context, message, data)
260
+ end
261
+
262
+ # @return [String]
263
+ def message
264
+ @message || @data[:message]
265
+ end
266
+
267
+ end
268
+
269
+ class RequestLimitExceeded < ServiceError
270
+
271
+ # @param [Seahorse::Client::RequestContext] context
272
+ # @param [String] message
273
+ # @param [Aws::DynamoDB::Types::RequestLimitExceeded] data
274
+ def initialize(context, message, data = Aws::EmptyStructure.new)
275
+ super(context, message, data)
276
+ end
277
+
278
+ # @return [String]
279
+ def message
280
+ @message || @data[:message]
281
+ end
282
+
283
+ end
284
+
285
+ class ResourceInUseException < ServiceError
286
+
287
+ # @param [Seahorse::Client::RequestContext] context
288
+ # @param [String] message
289
+ # @param [Aws::DynamoDB::Types::ResourceInUseException] data
290
+ def initialize(context, message, data = Aws::EmptyStructure.new)
291
+ super(context, message, data)
292
+ end
293
+
294
+ # @return [String]
295
+ def message
296
+ @message || @data[:message]
297
+ end
298
+
299
+ end
300
+
301
+ class ResourceNotFoundException < ServiceError
302
+
303
+ # @param [Seahorse::Client::RequestContext] context
304
+ # @param [String] message
305
+ # @param [Aws::DynamoDB::Types::ResourceNotFoundException] data
306
+ def initialize(context, message, data = Aws::EmptyStructure.new)
307
+ super(context, message, data)
308
+ end
309
+
310
+ # @return [String]
311
+ def message
312
+ @message || @data[:message]
313
+ end
314
+
315
+ end
316
+
317
+ class TableAlreadyExistsException < ServiceError
318
+
319
+ # @param [Seahorse::Client::RequestContext] context
320
+ # @param [String] message
321
+ # @param [Aws::DynamoDB::Types::TableAlreadyExistsException] data
322
+ def initialize(context, message, data = Aws::EmptyStructure.new)
323
+ super(context, message, data)
324
+ end
325
+
326
+ # @return [String]
327
+ def message
328
+ @message || @data[:message]
329
+ end
330
+
331
+ end
332
+
333
+ class TableInUseException < ServiceError
334
+
335
+ # @param [Seahorse::Client::RequestContext] context
336
+ # @param [String] message
337
+ # @param [Aws::DynamoDB::Types::TableInUseException] data
338
+ def initialize(context, message, data = Aws::EmptyStructure.new)
339
+ super(context, message, data)
340
+ end
341
+
342
+ # @return [String]
343
+ def message
344
+ @message || @data[:message]
345
+ end
346
+
347
+ end
348
+
349
+ class TableNotFoundException < ServiceError
350
+
351
+ # @param [Seahorse::Client::RequestContext] context
352
+ # @param [String] message
353
+ # @param [Aws::DynamoDB::Types::TableNotFoundException] data
354
+ def initialize(context, message, data = Aws::EmptyStructure.new)
355
+ super(context, message, data)
356
+ end
357
+
358
+ # @return [String]
359
+ def message
360
+ @message || @data[:message]
361
+ end
362
+
363
+ end
364
+
365
+ class TransactionCanceledException < ServiceError
366
+
367
+ # @param [Seahorse::Client::RequestContext] context
368
+ # @param [String] message
369
+ # @param [Aws::DynamoDB::Types::TransactionCanceledException] data
370
+ def initialize(context, message, data = Aws::EmptyStructure.new)
371
+ super(context, message, data)
372
+ end
373
+
374
+ # @return [String]
375
+ def message
376
+ @message || @data[:message]
377
+ end
378
+
379
+ # @return [String]
380
+ def cancellation_reasons
381
+ @data[:cancellation_reasons]
382
+ end
383
+
384
+ end
385
+
386
+ class TransactionConflictException < ServiceError
387
+
388
+ # @param [Seahorse::Client::RequestContext] context
389
+ # @param [String] message
390
+ # @param [Aws::DynamoDB::Types::TransactionConflictException] data
391
+ def initialize(context, message, data = Aws::EmptyStructure.new)
392
+ super(context, message, data)
393
+ end
394
+
395
+ # @return [String]
396
+ def message
397
+ @message || @data[:message]
398
+ end
399
+
400
+ end
401
+
402
+ class TransactionInProgressException < ServiceError
403
+
404
+ # @param [Seahorse::Client::RequestContext] context
405
+ # @param [String] message
406
+ # @param [Aws::DynamoDB::Types::TransactionInProgressException] data
407
+ def initialize(context, message, data = Aws::EmptyStructure.new)
408
+ super(context, message, data)
409
+ end
410
+
411
+ # @return [String]
412
+ def message
413
+ @message || @data[:message]
414
+ end
415
+
416
+ end
417
+
13
418
  end
14
419
  end
@@ -606,6 +606,32 @@ module Aws::DynamoDB
606
606
  include Aws::Structure
607
607
  end
608
608
 
609
+ # There is another ongoing conflicting backup control plane operation on
610
+ # the table. The backup is either being created, deleted or restored to
611
+ # a table.
612
+ #
613
+ # @!attribute [rw] message
614
+ # @return [String]
615
+ #
616
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BackupInUseException AWS API Documentation
617
+ #
618
+ class BackupInUseException < Struct.new(
619
+ :message)
620
+ include Aws::Structure
621
+ end
622
+
623
+ # Backup not found for the given BackupARN.
624
+ #
625
+ # @!attribute [rw] message
626
+ # @return [String]
627
+ #
628
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BackupNotFoundException AWS API Documentation
629
+ #
630
+ class BackupNotFoundException < Struct.new(
631
+ :message)
632
+ include Aws::Structure
633
+ end
634
+
609
635
  # Contains details for the backup.
610
636
  #
611
637
  # @!attribute [rw] table_name
@@ -1424,6 +1450,19 @@ module Aws::DynamoDB
1424
1450
  include Aws::Structure
1425
1451
  end
1426
1452
 
1453
+ # A condition specified in the operation could not be evaluated.
1454
+ #
1455
+ # @!attribute [rw] message
1456
+ # The conditional request failed.
1457
+ # @return [String]
1458
+ #
1459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ConditionalCheckFailedException AWS API Documentation
1460
+ #
1461
+ class ConditionalCheckFailedException < Struct.new(
1462
+ :message)
1463
+ include Aws::Structure
1464
+ end
1465
+
1427
1466
  # The capacity units consumed by an operation. The data returned
1428
1467
  # includes the total provisioned throughput consumed, along with
1429
1468
  # statistics for the table and any indexes involved in the operation.
@@ -1500,6 +1539,18 @@ module Aws::DynamoDB
1500
1539
  include Aws::Structure
1501
1540
  end
1502
1541
 
1542
+ # Backups have not yet been enabled for this table.
1543
+ #
1544
+ # @!attribute [rw] message
1545
+ # @return [String]
1546
+ #
1547
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ContinuousBackupsUnavailableException AWS API Documentation
1548
+ #
1549
+ class ContinuousBackupsUnavailableException < Struct.new(
1550
+ :message)
1551
+ include Aws::Structure
1552
+ end
1553
+
1503
1554
  # @note When making an API call, you may pass CreateBackupInput
1504
1555
  # data as a hash:
1505
1556
  #
@@ -3540,6 +3591,18 @@ module Aws::DynamoDB
3540
3591
  include Aws::Structure
3541
3592
  end
3542
3593
 
3594
+ # The specified global table already exists.
3595
+ #
3596
+ # @!attribute [rw] message
3597
+ # @return [String]
3598
+ #
3599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTableAlreadyExistsException AWS API Documentation
3600
+ #
3601
+ class GlobalTableAlreadyExistsException < Struct.new(
3602
+ :message)
3603
+ include Aws::Structure
3604
+ end
3605
+
3543
3606
  # Contains details about the global table.
3544
3607
  #
3545
3608
  # @!attribute [rw] replication_group
@@ -3631,6 +3694,70 @@ module Aws::DynamoDB
3631
3694
  include Aws::Structure
3632
3695
  end
3633
3696
 
3697
+ # The specified global table does not exist.
3698
+ #
3699
+ # @!attribute [rw] message
3700
+ # @return [String]
3701
+ #
3702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTableNotFoundException AWS API Documentation
3703
+ #
3704
+ class GlobalTableNotFoundException < Struct.new(
3705
+ :message)
3706
+ include Aws::Structure
3707
+ end
3708
+
3709
+ # DynamoDB rejected the request because you retried a request with a
3710
+ # different payload but with an idempotent token that was already used.
3711
+ #
3712
+ # @!attribute [rw] message
3713
+ # @return [String]
3714
+ #
3715
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/IdempotentParameterMismatchException AWS API Documentation
3716
+ #
3717
+ class IdempotentParameterMismatchException < Struct.new(
3718
+ :message)
3719
+ include Aws::Structure
3720
+ end
3721
+
3722
+ # The operation tried to access a nonexistent index.
3723
+ #
3724
+ # @!attribute [rw] message
3725
+ # @return [String]
3726
+ #
3727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/IndexNotFoundException AWS API Documentation
3728
+ #
3729
+ class IndexNotFoundException < Struct.new(
3730
+ :message)
3731
+ include Aws::Structure
3732
+ end
3733
+
3734
+ # An error occurred on the server side.
3735
+ #
3736
+ # @!attribute [rw] message
3737
+ # The server encountered an internal error trying to fulfill the
3738
+ # request.
3739
+ # @return [String]
3740
+ #
3741
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/InternalServerError AWS API Documentation
3742
+ #
3743
+ class InternalServerError < Struct.new(
3744
+ :message)
3745
+ include Aws::Structure
3746
+ end
3747
+
3748
+ # An invalid restore time was specified. RestoreDateTime must be between
3749
+ # EarliestRestorableDateTime and LatestRestorableDateTime.
3750
+ #
3751
+ # @!attribute [rw] message
3752
+ # @return [String]
3753
+ #
3754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/InvalidRestoreTimeException AWS API Documentation
3755
+ #
3756
+ class InvalidRestoreTimeException < Struct.new(
3757
+ :message)
3758
+ include Aws::Structure
3759
+ end
3760
+
3634
3761
  # Information about item collections, if any, that were affected by the
3635
3762
  # operation. `ItemCollectionMetrics` is only returned if the request
3636
3763
  # asked for it. If the table does not have any local secondary indexes,
@@ -3661,6 +3788,21 @@ module Aws::DynamoDB
3661
3788
  include Aws::Structure
3662
3789
  end
3663
3790
 
3791
+ # An item collection is too large. This exception is only returned for
3792
+ # tables that have one or more local secondary indexes.
3793
+ #
3794
+ # @!attribute [rw] message
3795
+ # The total size of an item collection has exceeded the maximum limit
3796
+ # of 10 gigabytes.
3797
+ # @return [String]
3798
+ #
3799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ItemCollectionSizeLimitExceededException AWS API Documentation
3800
+ #
3801
+ class ItemCollectionSizeLimitExceededException < Struct.new(
3802
+ :message)
3803
+ include Aws::Structure
3804
+ end
3805
+
3664
3806
  # Details for the requested item.
3665
3807
  #
3666
3808
  # @!attribute [rw] item
@@ -3857,6 +3999,32 @@ module Aws::DynamoDB
3857
3999
  include Aws::Structure
3858
4000
  end
3859
4001
 
4002
+ # There is no limit to the number of daily on-demand backups that can be
4003
+ # taken.
4004
+ #
4005
+ # Up to 50 simultaneous table operations are allowed per account. These
4006
+ # operations include `CreateTable`, `UpdateTable`,
4007
+ # `DeleteTable`,`UpdateTimeToLive`, `RestoreTableFromBackup`, and
4008
+ # `RestoreTableToPointInTime`.
4009
+ #
4010
+ # The only exception is when you are creating a table with one or more
4011
+ # secondary indexes. You can have up to 25 such requests running at a
4012
+ # time; however, if the table or index specifications are complex,
4013
+ # DynamoDB might temporarily reduce the number of concurrent operations.
4014
+ #
4015
+ # There is a soft account limit of 256 tables.
4016
+ #
4017
+ # @!attribute [rw] message
4018
+ # Too many operations for a given subscriber.
4019
+ # @return [String]
4020
+ #
4021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LimitExceededException AWS API Documentation
4022
+ #
4023
+ class LimitExceededException < Struct.new(
4024
+ :message)
4025
+ include Aws::Structure
4026
+ end
4027
+
3860
4028
  # @note When making an API call, you may pass ListBackupsInput
3861
4029
  # data as a hash:
3862
4030
  #
@@ -4315,6 +4483,18 @@ module Aws::DynamoDB
4315
4483
  include Aws::Structure
4316
4484
  end
4317
4485
 
4486
+ # Point in time recovery has not yet been enabled for this source table.
4487
+ #
4488
+ # @!attribute [rw] message
4489
+ # @return [String]
4490
+ #
4491
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PointInTimeRecoveryUnavailableException AWS API Documentation
4492
+ #
4493
+ class PointInTimeRecoveryUnavailableException < Struct.new(
4494
+ :message)
4495
+ include Aws::Structure
4496
+ end
4497
+
4318
4498
  # Represents attributes that are copied (projected) from the table into
4319
4499
  # an index. These are in addition to the primary key attributes and
4320
4500
  # index key attributes, which are automatically projected.
@@ -4462,6 +4642,28 @@ module Aws::DynamoDB
4462
4642
  include Aws::Structure
4463
4643
  end
4464
4644
 
4645
+ # Your request rate is too high. The AWS SDKs for DynamoDB automatically
4646
+ # retry requests that receive this exception. Your request is eventually
4647
+ # successful, unless your retry queue is too large to finish. Reduce the
4648
+ # frequency of requests and use exponential backoff. For more
4649
+ # information, go to [Error Retries and Exponential Backoff][1] in the
4650
+ # *Amazon DynamoDB Developer Guide*.
4651
+ #
4652
+ #
4653
+ #
4654
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff
4655
+ #
4656
+ # @!attribute [rw] message
4657
+ # You exceeded your maximum allowed provisioned throughput.
4658
+ # @return [String]
4659
+ #
4660
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughputExceededException AWS API Documentation
4661
+ #
4662
+ class ProvisionedThroughputExceededException < Struct.new(
4663
+ :message)
4664
+ include Aws::Structure
4665
+ end
4666
+
4465
4667
  # Represents a request to perform a `PutItem` operation.
4466
4668
  #
4467
4669
  # @note When making an API call, you may pass Put
@@ -5402,6 +5604,18 @@ module Aws::DynamoDB
5402
5604
  include Aws::Structure
5403
5605
  end
5404
5606
 
5607
+ # The specified replica is already part of the global table.
5608
+ #
5609
+ # @!attribute [rw] message
5610
+ # @return [String]
5611
+ #
5612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaAlreadyExistsException AWS API Documentation
5613
+ #
5614
+ class ReplicaAlreadyExistsException < Struct.new(
5615
+ :message)
5616
+ include Aws::Structure
5617
+ end
5618
+
5405
5619
  # Contains the details of the replica.
5406
5620
  #
5407
5621
  # @!attribute [rw] region_name
@@ -5516,6 +5730,18 @@ module Aws::DynamoDB
5516
5730
  include Aws::Structure
5517
5731
  end
5518
5732
 
5733
+ # The specified replica is no longer part of the global table.
5734
+ #
5735
+ # @!attribute [rw] message
5736
+ # @return [String]
5737
+ #
5738
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaNotFoundException AWS API Documentation
5739
+ #
5740
+ class ReplicaNotFoundException < Struct.new(
5741
+ :message)
5742
+ include Aws::Structure
5743
+ end
5744
+
5519
5745
  # Represents the properties of a replica.
5520
5746
  #
5521
5747
  # @!attribute [rw] region_name
@@ -5707,6 +5933,54 @@ module Aws::DynamoDB
5707
5933
  include Aws::Structure
5708
5934
  end
5709
5935
 
5936
+ # Throughput exceeds the current throughput limit for your account.
5937
+ # Please contact AWS Support at [AWS Support][1] to request a limit
5938
+ # increase.
5939
+ #
5940
+ #
5941
+ #
5942
+ # [1]: https://docs.aws.amazon.com/https:/aws.amazon.com/support
5943
+ #
5944
+ # @!attribute [rw] message
5945
+ # @return [String]
5946
+ #
5947
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RequestLimitExceeded AWS API Documentation
5948
+ #
5949
+ class RequestLimitExceeded < Struct.new(
5950
+ :message)
5951
+ include Aws::Structure
5952
+ end
5953
+
5954
+ # The operation conflicts with the resource's availability. For
5955
+ # example, you attempted to recreate an existing table, or tried to
5956
+ # delete a table currently in the `CREATING` state.
5957
+ #
5958
+ # @!attribute [rw] message
5959
+ # The resource which is being attempted to be changed is in use.
5960
+ # @return [String]
5961
+ #
5962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ResourceInUseException AWS API Documentation
5963
+ #
5964
+ class ResourceInUseException < Struct.new(
5965
+ :message)
5966
+ include Aws::Structure
5967
+ end
5968
+
5969
+ # The operation tried to access a nonexistent table or index. The
5970
+ # resource might not be specified correctly, or its status might not be
5971
+ # `ACTIVE`.
5972
+ #
5973
+ # @!attribute [rw] message
5974
+ # The resource which is being requested does not exist.
5975
+ # @return [String]
5976
+ #
5977
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ResourceNotFoundException AWS API Documentation
5978
+ #
5979
+ class ResourceNotFoundException < Struct.new(
5980
+ :message)
5981
+ include Aws::Structure
5982
+ end
5983
+
5710
5984
  # Contains details for the restore.
5711
5985
  #
5712
5986
  # @!attribute [rw] source_backup_arn
@@ -6498,6 +6772,18 @@ module Aws::DynamoDB
6498
6772
  include Aws::Structure
6499
6773
  end
6500
6774
 
6775
+ # A target table with the specified name already exists.
6776
+ #
6777
+ # @!attribute [rw] message
6778
+ # @return [String]
6779
+ #
6780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableAlreadyExistsException AWS API Documentation
6781
+ #
6782
+ class TableAlreadyExistsException < Struct.new(
6783
+ :message)
6784
+ include Aws::Structure
6785
+ end
6786
+
6501
6787
  # Represents the properties of a table.
6502
6788
  #
6503
6789
  # @!attribute [rw] attribute_definitions
@@ -6775,6 +7061,32 @@ module Aws::DynamoDB
6775
7061
  include Aws::Structure
6776
7062
  end
6777
7063
 
7064
+ # A target table with the specified name is either being created or
7065
+ # deleted.
7066
+ #
7067
+ # @!attribute [rw] message
7068
+ # @return [String]
7069
+ #
7070
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableInUseException AWS API Documentation
7071
+ #
7072
+ class TableInUseException < Struct.new(
7073
+ :message)
7074
+ include Aws::Structure
7075
+ end
7076
+
7077
+ # A source table with the name `TableName` does not currently exist
7078
+ # within the subscriber's account.
7079
+ #
7080
+ # @!attribute [rw] message
7081
+ # @return [String]
7082
+ #
7083
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableNotFoundException AWS API Documentation
7084
+ #
7085
+ class TableNotFoundException < Struct.new(
7086
+ :message)
7087
+ include Aws::Structure
7088
+ end
7089
+
6778
7090
  # Describes a tag. A tag is a key-value pair. You can add up to 50 tags
6779
7091
  # to a single DynamoDB table.
6780
7092
  #
@@ -7253,6 +7565,84 @@ module Aws::DynamoDB
7253
7565
  include Aws::Structure
7254
7566
  end
7255
7567
 
7568
+ # The entire transaction request was rejected.
7569
+ #
7570
+ # DynamoDB rejects a `TransactWriteItems` request under the following
7571
+ # circumstances:
7572
+ #
7573
+ # * A condition in one of the condition expressions is not met.
7574
+ #
7575
+ # * A table in the `TransactWriteItems` request is in a different
7576
+ # account or region.
7577
+ #
7578
+ # * More than one action in the `TransactWriteItems` operation targets
7579
+ # the same item.
7580
+ #
7581
+ # * There is insufficient provisioned capacity for the transaction to be
7582
+ # completed.
7583
+ #
7584
+ # * An item size becomes too large (larger than 400 KB), or a local
7585
+ # secondary index (LSI) becomes too large, or a similar validation
7586
+ # error occurs because of changes made by the transaction.
7587
+ #
7588
+ # * There is a user error, such as an invalid data format.
7589
+ #
7590
+ # DynamoDB rejects a `TransactGetItems` request under the following
7591
+ # circumstances:
7592
+ #
7593
+ # * There is an ongoing `TransactGetItems` operation that conflicts with
7594
+ # a concurrent `PutItem`, `UpdateItem`, `DeleteItem` or
7595
+ # `TransactWriteItems` request. In this case the `TransactGetItems`
7596
+ # operation fails with a `TransactionCanceledException`.
7597
+ #
7598
+ # * A table in the `TransactGetItems` request is in a different account
7599
+ # or region.
7600
+ #
7601
+ # * There is insufficient provisioned capacity for the transaction to be
7602
+ # completed.
7603
+ #
7604
+ # * There is a user error, such as an invalid data format.
7605
+ #
7606
+ # @!attribute [rw] message
7607
+ # @return [String]
7608
+ #
7609
+ # @!attribute [rw] cancellation_reasons
7610
+ # A list of cancellation reasons.
7611
+ # @return [Array<Types::CancellationReason>]
7612
+ #
7613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TransactionCanceledException AWS API Documentation
7614
+ #
7615
+ class TransactionCanceledException < Struct.new(
7616
+ :message,
7617
+ :cancellation_reasons)
7618
+ include Aws::Structure
7619
+ end
7620
+
7621
+ # Operation was rejected because there is an ongoing transaction for the
7622
+ # item.
7623
+ #
7624
+ # @!attribute [rw] message
7625
+ # @return [String]
7626
+ #
7627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TransactionConflictException AWS API Documentation
7628
+ #
7629
+ class TransactionConflictException < Struct.new(
7630
+ :message)
7631
+ include Aws::Structure
7632
+ end
7633
+
7634
+ # The transaction with the given request token is already in progress.
7635
+ #
7636
+ # @!attribute [rw] message
7637
+ # @return [String]
7638
+ #
7639
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TransactionInProgressException AWS API Documentation
7640
+ #
7641
+ class TransactionInProgressException < Struct.new(
7642
+ :message)
7643
+ include Aws::Structure
7644
+ end
7645
+
7256
7646
  # @note When making an API call, you may pass UntagResourceInput
7257
7647
  # data as a hash:
7258
7648
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.0
4
+ version: 1.29.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