aws-sdk-dynamodb 1.73.0 → 1.76.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +333 -54
- data/lib/aws-sdk-dynamodb/client_api.rb +153 -0
- data/lib/aws-sdk-dynamodb/errors.rb +32 -0
- data/lib/aws-sdk-dynamodb/table.rb +28 -18
- data/lib/aws-sdk-dynamodb/types.rb +675 -38
- data/lib/aws-sdk-dynamodb.rb +1 -1
- metadata +4 -4
@@ -74,6 +74,7 @@ module Aws::DynamoDB
|
|
74
74
|
Capacity = Shapes::StructureShape.new(name: 'Capacity')
|
75
75
|
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
76
76
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
77
|
+
CloudWatchLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogGroupArn')
|
77
78
|
Code = Shapes::StringShape.new(name: 'Code')
|
78
79
|
ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
|
79
80
|
Condition = Shapes::StructureShape.new(name: 'Condition')
|
@@ -103,6 +104,10 @@ module Aws::DynamoDB
|
|
103
104
|
CreateReplicationGroupMemberAction = Shapes::StructureShape.new(name: 'CreateReplicationGroupMemberAction')
|
104
105
|
CreateTableInput = Shapes::StructureShape.new(name: 'CreateTableInput')
|
105
106
|
CreateTableOutput = Shapes::StructureShape.new(name: 'CreateTableOutput')
|
107
|
+
CsvDelimiter = Shapes::StringShape.new(name: 'CsvDelimiter')
|
108
|
+
CsvHeader = Shapes::StringShape.new(name: 'CsvHeader')
|
109
|
+
CsvHeaderList = Shapes::ListShape.new(name: 'CsvHeaderList')
|
110
|
+
CsvOptions = Shapes::StructureShape.new(name: 'CsvOptions')
|
106
111
|
Date = Shapes::TimestampShape.new(name: 'Date')
|
107
112
|
Delete = Shapes::StructureShape.new(name: 'Delete')
|
108
113
|
DeleteBackupInput = Shapes::StructureShape.new(name: 'DeleteBackupInput')
|
@@ -129,6 +134,8 @@ module Aws::DynamoDB
|
|
129
134
|
DescribeGlobalTableOutput = Shapes::StructureShape.new(name: 'DescribeGlobalTableOutput')
|
130
135
|
DescribeGlobalTableSettingsInput = Shapes::StructureShape.new(name: 'DescribeGlobalTableSettingsInput')
|
131
136
|
DescribeGlobalTableSettingsOutput = Shapes::StructureShape.new(name: 'DescribeGlobalTableSettingsOutput')
|
137
|
+
DescribeImportInput = Shapes::StructureShape.new(name: 'DescribeImportInput')
|
138
|
+
DescribeImportOutput = Shapes::StructureShape.new(name: 'DescribeImportOutput')
|
132
139
|
DescribeKinesisStreamingDestinationInput = Shapes::StructureShape.new(name: 'DescribeKinesisStreamingDestinationInput')
|
133
140
|
DescribeKinesisStreamingDestinationOutput = Shapes::StructureShape.new(name: 'DescribeKinesisStreamingDestinationOutput')
|
134
141
|
DescribeLimitsInput = Shapes::StructureShape.new(name: 'DescribeLimitsInput')
|
@@ -144,6 +151,7 @@ module Aws::DynamoDB
|
|
144
151
|
DuplicateItemException = Shapes::StructureShape.new(name: 'DuplicateItemException')
|
145
152
|
Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
|
146
153
|
Endpoints = Shapes::ListShape.new(name: 'Endpoints')
|
154
|
+
ErrorCount = Shapes::IntegerShape.new(name: 'ErrorCount')
|
147
155
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
148
156
|
ExceptionDescription = Shapes::StringShape.new(name: 'ExceptionDescription')
|
149
157
|
ExceptionName = Shapes::StringShape.new(name: 'ExceptionName')
|
@@ -199,9 +207,25 @@ module Aws::DynamoDB
|
|
199
207
|
GlobalTableNotFoundException = Shapes::StructureShape.new(name: 'GlobalTableNotFoundException')
|
200
208
|
GlobalTableStatus = Shapes::StringShape.new(name: 'GlobalTableStatus')
|
201
209
|
IdempotentParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotentParameterMismatchException')
|
210
|
+
ImportArn = Shapes::StringShape.new(name: 'ImportArn')
|
211
|
+
ImportConflictException = Shapes::StructureShape.new(name: 'ImportConflictException')
|
212
|
+
ImportEndTime = Shapes::TimestampShape.new(name: 'ImportEndTime')
|
213
|
+
ImportNextToken = Shapes::StringShape.new(name: 'ImportNextToken')
|
214
|
+
ImportNotFoundException = Shapes::StructureShape.new(name: 'ImportNotFoundException')
|
215
|
+
ImportStartTime = Shapes::TimestampShape.new(name: 'ImportStartTime')
|
216
|
+
ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
|
217
|
+
ImportSummary = Shapes::StructureShape.new(name: 'ImportSummary')
|
218
|
+
ImportSummaryList = Shapes::ListShape.new(name: 'ImportSummaryList')
|
219
|
+
ImportTableDescription = Shapes::StructureShape.new(name: 'ImportTableDescription')
|
220
|
+
ImportTableInput = Shapes::StructureShape.new(name: 'ImportTableInput')
|
221
|
+
ImportTableOutput = Shapes::StructureShape.new(name: 'ImportTableOutput')
|
222
|
+
ImportedItemCount = Shapes::IntegerShape.new(name: 'ImportedItemCount')
|
202
223
|
IndexName = Shapes::StringShape.new(name: 'IndexName')
|
203
224
|
IndexNotFoundException = Shapes::StructureShape.new(name: 'IndexNotFoundException')
|
204
225
|
IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
|
226
|
+
InputCompressionType = Shapes::StringShape.new(name: 'InputCompressionType')
|
227
|
+
InputFormat = Shapes::StringShape.new(name: 'InputFormat')
|
228
|
+
InputFormatOptions = Shapes::StructureShape.new(name: 'InputFormatOptions')
|
205
229
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
206
230
|
IntegerObject = Shapes::IntegerShape.new(name: 'IntegerObject')
|
207
231
|
InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
|
@@ -246,6 +270,9 @@ module Aws::DynamoDB
|
|
246
270
|
ListExportsOutput = Shapes::StructureShape.new(name: 'ListExportsOutput')
|
247
271
|
ListGlobalTablesInput = Shapes::StructureShape.new(name: 'ListGlobalTablesInput')
|
248
272
|
ListGlobalTablesOutput = Shapes::StructureShape.new(name: 'ListGlobalTablesOutput')
|
273
|
+
ListImportsInput = Shapes::StructureShape.new(name: 'ListImportsInput')
|
274
|
+
ListImportsMaxLimit = Shapes::IntegerShape.new(name: 'ListImportsMaxLimit')
|
275
|
+
ListImportsOutput = Shapes::StructureShape.new(name: 'ListImportsOutput')
|
249
276
|
ListTablesInput = Shapes::StructureShape.new(name: 'ListTablesInput')
|
250
277
|
ListTablesInputLimit = Shapes::IntegerShape.new(name: 'ListTablesInputLimit')
|
251
278
|
ListTablesOutput = Shapes::StructureShape.new(name: 'ListTablesOutput')
|
@@ -279,6 +306,7 @@ module Aws::DynamoDB
|
|
279
306
|
PositiveIntegerObject = Shapes::IntegerShape.new(name: 'PositiveIntegerObject')
|
280
307
|
PositiveLongObject = Shapes::IntegerShape.new(name: 'PositiveLongObject')
|
281
308
|
PreparedStatementParameters = Shapes::ListShape.new(name: 'PreparedStatementParameters')
|
309
|
+
ProcessedItemCount = Shapes::IntegerShape.new(name: 'ProcessedItemCount')
|
282
310
|
Projection = Shapes::StructureShape.new(name: 'Projection')
|
283
311
|
ProjectionExpression = Shapes::StringShape.new(name: 'ProjectionExpression')
|
284
312
|
ProjectionType = Shapes::StringShape.new(name: 'ProjectionType')
|
@@ -343,6 +371,7 @@ module Aws::DynamoDB
|
|
343
371
|
ReturnValuesOnConditionCheckFailure = Shapes::StringShape.new(name: 'ReturnValuesOnConditionCheckFailure')
|
344
372
|
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
345
373
|
S3BucketOwner = Shapes::StringShape.new(name: 'S3BucketOwner')
|
374
|
+
S3BucketSource = Shapes::StructureShape.new(name: 'S3BucketSource')
|
346
375
|
S3Prefix = Shapes::StringShape.new(name: 'S3Prefix')
|
347
376
|
S3SseAlgorithm = Shapes::StringShape.new(name: 'S3SseAlgorithm')
|
348
377
|
S3SseKmsKeyId = Shapes::StringShape.new(name: 'S3SseKmsKeyId')
|
@@ -373,6 +402,7 @@ module Aws::DynamoDB
|
|
373
402
|
TableClass = Shapes::StringShape.new(name: 'TableClass')
|
374
403
|
TableClassSummary = Shapes::StructureShape.new(name: 'TableClassSummary')
|
375
404
|
TableCreationDateTime = Shapes::TimestampShape.new(name: 'TableCreationDateTime')
|
405
|
+
TableCreationParameters = Shapes::StructureShape.new(name: 'TableCreationParameters')
|
376
406
|
TableDescription = Shapes::StructureShape.new(name: 'TableDescription')
|
377
407
|
TableId = Shapes::StringShape.new(name: 'TableId')
|
378
408
|
TableInUseException = Shapes::StructureShape.new(name: 'TableInUseException')
|
@@ -691,6 +721,12 @@ module Aws::DynamoDB
|
|
691
721
|
CreateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
692
722
|
CreateTableOutput.struct_class = Types::CreateTableOutput
|
693
723
|
|
724
|
+
CsvHeaderList.member = Shapes::ShapeRef.new(shape: CsvHeader)
|
725
|
+
|
726
|
+
CsvOptions.add_member(:delimiter, Shapes::ShapeRef.new(shape: CsvDelimiter, location_name: "Delimiter"))
|
727
|
+
CsvOptions.add_member(:header_list, Shapes::ShapeRef.new(shape: CsvHeaderList, location_name: "HeaderList"))
|
728
|
+
CsvOptions.struct_class = Types::CsvOptions
|
729
|
+
|
694
730
|
Delete.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
695
731
|
Delete.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
696
732
|
Delete.add_member(:condition_expression, Shapes::ShapeRef.new(shape: ConditionExpression, location_name: "ConditionExpression"))
|
@@ -788,6 +824,12 @@ module Aws::DynamoDB
|
|
788
824
|
DescribeGlobalTableSettingsOutput.add_member(:replica_settings, Shapes::ShapeRef.new(shape: ReplicaSettingsDescriptionList, location_name: "ReplicaSettings"))
|
789
825
|
DescribeGlobalTableSettingsOutput.struct_class = Types::DescribeGlobalTableSettingsOutput
|
790
826
|
|
827
|
+
DescribeImportInput.add_member(:import_arn, Shapes::ShapeRef.new(shape: ImportArn, required: true, location_name: "ImportArn"))
|
828
|
+
DescribeImportInput.struct_class = Types::DescribeImportInput
|
829
|
+
|
830
|
+
DescribeImportOutput.add_member(:import_table_description, Shapes::ShapeRef.new(shape: ImportTableDescription, required: true, location_name: "ImportTableDescription"))
|
831
|
+
DescribeImportOutput.struct_class = Types::DescribeImportOutput
|
832
|
+
|
791
833
|
DescribeKinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
792
834
|
DescribeKinesisStreamingDestinationInput.struct_class = Types::DescribeKinesisStreamingDestinationInput
|
793
835
|
|
@@ -1012,9 +1054,62 @@ module Aws::DynamoDB
|
|
1012
1054
|
IdempotentParameterMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
1013
1055
|
IdempotentParameterMismatchException.struct_class = Types::IdempotentParameterMismatchException
|
1014
1056
|
|
1057
|
+
ImportConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1058
|
+
ImportConflictException.struct_class = Types::ImportConflictException
|
1059
|
+
|
1060
|
+
ImportNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1061
|
+
ImportNotFoundException.struct_class = Types::ImportNotFoundException
|
1062
|
+
|
1063
|
+
ImportSummary.add_member(:import_arn, Shapes::ShapeRef.new(shape: ImportArn, location_name: "ImportArn"))
|
1064
|
+
ImportSummary.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "ImportStatus"))
|
1065
|
+
ImportSummary.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableArn"))
|
1066
|
+
ImportSummary.add_member(:s3_bucket_source, Shapes::ShapeRef.new(shape: S3BucketSource, location_name: "S3BucketSource"))
|
1067
|
+
ImportSummary.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogGroupArn, location_name: "CloudWatchLogGroupArn"))
|
1068
|
+
ImportSummary.add_member(:input_format, Shapes::ShapeRef.new(shape: InputFormat, location_name: "InputFormat"))
|
1069
|
+
ImportSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: ImportStartTime, location_name: "StartTime"))
|
1070
|
+
ImportSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: ImportEndTime, location_name: "EndTime"))
|
1071
|
+
ImportSummary.struct_class = Types::ImportSummary
|
1072
|
+
|
1073
|
+
ImportSummaryList.member = Shapes::ShapeRef.new(shape: ImportSummary)
|
1074
|
+
|
1075
|
+
ImportTableDescription.add_member(:import_arn, Shapes::ShapeRef.new(shape: ImportArn, location_name: "ImportArn"))
|
1076
|
+
ImportTableDescription.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "ImportStatus"))
|
1077
|
+
ImportTableDescription.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableArn"))
|
1078
|
+
ImportTableDescription.add_member(:table_id, Shapes::ShapeRef.new(shape: TableId, location_name: "TableId"))
|
1079
|
+
ImportTableDescription.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
|
1080
|
+
ImportTableDescription.add_member(:s3_bucket_source, Shapes::ShapeRef.new(shape: S3BucketSource, location_name: "S3BucketSource"))
|
1081
|
+
ImportTableDescription.add_member(:error_count, Shapes::ShapeRef.new(shape: ErrorCount, location_name: "ErrorCount"))
|
1082
|
+
ImportTableDescription.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogGroupArn, location_name: "CloudWatchLogGroupArn"))
|
1083
|
+
ImportTableDescription.add_member(:input_format, Shapes::ShapeRef.new(shape: InputFormat, location_name: "InputFormat"))
|
1084
|
+
ImportTableDescription.add_member(:input_format_options, Shapes::ShapeRef.new(shape: InputFormatOptions, location_name: "InputFormatOptions"))
|
1085
|
+
ImportTableDescription.add_member(:input_compression_type, Shapes::ShapeRef.new(shape: InputCompressionType, location_name: "InputCompressionType"))
|
1086
|
+
ImportTableDescription.add_member(:table_creation_parameters, Shapes::ShapeRef.new(shape: TableCreationParameters, location_name: "TableCreationParameters"))
|
1087
|
+
ImportTableDescription.add_member(:start_time, Shapes::ShapeRef.new(shape: ImportStartTime, location_name: "StartTime"))
|
1088
|
+
ImportTableDescription.add_member(:end_time, Shapes::ShapeRef.new(shape: ImportEndTime, location_name: "EndTime"))
|
1089
|
+
ImportTableDescription.add_member(:processed_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "ProcessedSizeBytes"))
|
1090
|
+
ImportTableDescription.add_member(:processed_item_count, Shapes::ShapeRef.new(shape: ProcessedItemCount, location_name: "ProcessedItemCount"))
|
1091
|
+
ImportTableDescription.add_member(:imported_item_count, Shapes::ShapeRef.new(shape: ImportedItemCount, location_name: "ImportedItemCount"))
|
1092
|
+
ImportTableDescription.add_member(:failure_code, Shapes::ShapeRef.new(shape: FailureCode, location_name: "FailureCode"))
|
1093
|
+
ImportTableDescription.add_member(:failure_message, Shapes::ShapeRef.new(shape: FailureMessage, location_name: "FailureMessage"))
|
1094
|
+
ImportTableDescription.struct_class = Types::ImportTableDescription
|
1095
|
+
|
1096
|
+
ImportTableInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
1097
|
+
ImportTableInput.add_member(:s3_bucket_source, Shapes::ShapeRef.new(shape: S3BucketSource, required: true, location_name: "S3BucketSource"))
|
1098
|
+
ImportTableInput.add_member(:input_format, Shapes::ShapeRef.new(shape: InputFormat, required: true, location_name: "InputFormat"))
|
1099
|
+
ImportTableInput.add_member(:input_format_options, Shapes::ShapeRef.new(shape: InputFormatOptions, location_name: "InputFormatOptions"))
|
1100
|
+
ImportTableInput.add_member(:input_compression_type, Shapes::ShapeRef.new(shape: InputCompressionType, location_name: "InputCompressionType"))
|
1101
|
+
ImportTableInput.add_member(:table_creation_parameters, Shapes::ShapeRef.new(shape: TableCreationParameters, required: true, location_name: "TableCreationParameters"))
|
1102
|
+
ImportTableInput.struct_class = Types::ImportTableInput
|
1103
|
+
|
1104
|
+
ImportTableOutput.add_member(:import_table_description, Shapes::ShapeRef.new(shape: ImportTableDescription, required: true, location_name: "ImportTableDescription"))
|
1105
|
+
ImportTableOutput.struct_class = Types::ImportTableOutput
|
1106
|
+
|
1015
1107
|
IndexNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1016
1108
|
IndexNotFoundException.struct_class = Types::IndexNotFoundException
|
1017
1109
|
|
1110
|
+
InputFormatOptions.add_member(:csv, Shapes::ShapeRef.new(shape: CsvOptions, location_name: "Csv"))
|
1111
|
+
InputFormatOptions.struct_class = Types::InputFormatOptions
|
1112
|
+
|
1018
1113
|
InternalServerError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1019
1114
|
InternalServerError.struct_class = Types::InternalServerError
|
1020
1115
|
|
@@ -1129,6 +1224,15 @@ module Aws::DynamoDB
|
|
1129
1224
|
ListGlobalTablesOutput.add_member(:last_evaluated_global_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "LastEvaluatedGlobalTableName"))
|
1130
1225
|
ListGlobalTablesOutput.struct_class = Types::ListGlobalTablesOutput
|
1131
1226
|
|
1227
|
+
ListImportsInput.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "TableArn"))
|
1228
|
+
ListImportsInput.add_member(:page_size, Shapes::ShapeRef.new(shape: ListImportsMaxLimit, location_name: "PageSize"))
|
1229
|
+
ListImportsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ImportNextToken, location_name: "NextToken"))
|
1230
|
+
ListImportsInput.struct_class = Types::ListImportsInput
|
1231
|
+
|
1232
|
+
ListImportsOutput.add_member(:import_summary_list, Shapes::ShapeRef.new(shape: ImportSummaryList, location_name: "ImportSummaryList"))
|
1233
|
+
ListImportsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: ImportNextToken, location_name: "NextToken"))
|
1234
|
+
ListImportsOutput.struct_class = Types::ListImportsOutput
|
1235
|
+
|
1132
1236
|
ListTablesInput.add_member(:exclusive_start_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "ExclusiveStartTableName"))
|
1133
1237
|
ListTablesInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListTablesInputLimit, location_name: "Limit"))
|
1134
1238
|
ListTablesInput.struct_class = Types::ListTablesInput
|
@@ -1437,6 +1541,11 @@ module Aws::DynamoDB
|
|
1437
1541
|
RestoreTableToPointInTimeOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
1438
1542
|
RestoreTableToPointInTimeOutput.struct_class = Types::RestoreTableToPointInTimeOutput
|
1439
1543
|
|
1544
|
+
S3BucketSource.add_member(:s3_bucket_owner, Shapes::ShapeRef.new(shape: S3BucketOwner, location_name: "S3BucketOwner"))
|
1545
|
+
S3BucketSource.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "S3Bucket"))
|
1546
|
+
S3BucketSource.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: S3Prefix, location_name: "S3KeyPrefix"))
|
1547
|
+
S3BucketSource.struct_class = Types::S3BucketSource
|
1548
|
+
|
1440
1549
|
SSEDescription.add_member(:status, Shapes::ShapeRef.new(shape: SSEStatus, location_name: "Status"))
|
1441
1550
|
SSEDescription.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "SSEType"))
|
1442
1551
|
SSEDescription.add_member(:kms_master_key_arn, Shapes::ShapeRef.new(shape: KMSMasterKeyArn, location_name: "KMSMasterKeyArn"))
|
@@ -1512,6 +1621,15 @@ module Aws::DynamoDB
|
|
1512
1621
|
TableClassSummary.add_member(:last_update_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastUpdateDateTime"))
|
1513
1622
|
TableClassSummary.struct_class = Types::TableClassSummary
|
1514
1623
|
|
1624
|
+
TableCreationParameters.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
1625
|
+
TableCreationParameters.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, required: true, location_name: "AttributeDefinitions"))
|
1626
|
+
TableCreationParameters.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, required: true, location_name: "KeySchema"))
|
1627
|
+
TableCreationParameters.add_member(:billing_mode, Shapes::ShapeRef.new(shape: BillingMode, location_name: "BillingMode"))
|
1628
|
+
TableCreationParameters.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, location_name: "ProvisionedThroughput"))
|
1629
|
+
TableCreationParameters.add_member(:sse_specification, Shapes::ShapeRef.new(shape: SSESpecification, location_name: "SSESpecification"))
|
1630
|
+
TableCreationParameters.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexes"))
|
1631
|
+
TableCreationParameters.struct_class = Types::TableCreationParameters
|
1632
|
+
|
1515
1633
|
TableDescription.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, location_name: "AttributeDefinitions"))
|
1516
1634
|
TableDescription.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
1517
1635
|
TableDescription.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, location_name: "KeySchema"))
|
@@ -1950,6 +2068,15 @@ module Aws::DynamoDB
|
|
1950
2068
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1951
2069
|
end)
|
1952
2070
|
|
2071
|
+
api.add_operation(:describe_import, Seahorse::Model::Operation.new.tap do |o|
|
2072
|
+
o.name = "DescribeImport"
|
2073
|
+
o.http_method = "POST"
|
2074
|
+
o.http_request_uri = "/"
|
2075
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeImportInput)
|
2076
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeImportOutput)
|
2077
|
+
o.errors << Shapes::ShapeRef.new(shape: ImportNotFoundException)
|
2078
|
+
end)
|
2079
|
+
|
1953
2080
|
api.add_operation(:describe_kinesis_streaming_destination, Seahorse::Model::Operation.new.tap do |o|
|
1954
2081
|
o.name = "DescribeKinesisStreamingDestination"
|
1955
2082
|
o.http_method = "POST"
|
@@ -2094,6 +2221,17 @@ module Aws::DynamoDB
|
|
2094
2221
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2095
2222
|
end)
|
2096
2223
|
|
2224
|
+
api.add_operation(:import_table, Seahorse::Model::Operation.new.tap do |o|
|
2225
|
+
o.name = "ImportTable"
|
2226
|
+
o.http_method = "POST"
|
2227
|
+
o.http_request_uri = "/"
|
2228
|
+
o.input = Shapes::ShapeRef.new(shape: ImportTableInput)
|
2229
|
+
o.output = Shapes::ShapeRef.new(shape: ImportTableOutput)
|
2230
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
2231
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2232
|
+
o.errors << Shapes::ShapeRef.new(shape: ImportConflictException)
|
2233
|
+
end)
|
2234
|
+
|
2097
2235
|
api.add_operation(:list_backups, Seahorse::Model::Operation.new.tap do |o|
|
2098
2236
|
o.name = "ListBackups"
|
2099
2237
|
o.http_method = "POST"
|
@@ -2148,6 +2286,21 @@ module Aws::DynamoDB
|
|
2148
2286
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2149
2287
|
end)
|
2150
2288
|
|
2289
|
+
api.add_operation(:list_imports, Seahorse::Model::Operation.new.tap do |o|
|
2290
|
+
o.name = "ListImports"
|
2291
|
+
o.http_method = "POST"
|
2292
|
+
o.http_request_uri = "/"
|
2293
|
+
o.input = Shapes::ShapeRef.new(shape: ListImportsInput)
|
2294
|
+
o.output = Shapes::ShapeRef.new(shape: ListImportsOutput)
|
2295
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2296
|
+
o[:pager] = Aws::Pager.new(
|
2297
|
+
limit_key: "page_size",
|
2298
|
+
tokens: {
|
2299
|
+
"next_token" => "next_token"
|
2300
|
+
}
|
2301
|
+
)
|
2302
|
+
end)
|
2303
|
+
|
2151
2304
|
api.add_operation(:list_tables, Seahorse::Model::Operation.new.tap do |o|
|
2152
2305
|
o.name = "ListTables"
|
2153
2306
|
o.http_method = "POST"
|
@@ -37,6 +37,8 @@ module Aws::DynamoDB
|
|
37
37
|
# * {GlobalTableAlreadyExistsException}
|
38
38
|
# * {GlobalTableNotFoundException}
|
39
39
|
# * {IdempotentParameterMismatchException}
|
40
|
+
# * {ImportConflictException}
|
41
|
+
# * {ImportNotFoundException}
|
40
42
|
# * {IndexNotFoundException}
|
41
43
|
# * {InternalServerError}
|
42
44
|
# * {InvalidExportTimeException}
|
@@ -213,6 +215,36 @@ module Aws::DynamoDB
|
|
213
215
|
end
|
214
216
|
end
|
215
217
|
|
218
|
+
class ImportConflictException < ServiceError
|
219
|
+
|
220
|
+
# @param [Seahorse::Client::RequestContext] context
|
221
|
+
# @param [String] message
|
222
|
+
# @param [Aws::DynamoDB::Types::ImportConflictException] data
|
223
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
224
|
+
super(context, message, data)
|
225
|
+
end
|
226
|
+
|
227
|
+
# @return [String]
|
228
|
+
def message
|
229
|
+
@message || @data[:message]
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
class ImportNotFoundException < ServiceError
|
234
|
+
|
235
|
+
# @param [Seahorse::Client::RequestContext] context
|
236
|
+
# @param [String] message
|
237
|
+
# @param [Aws::DynamoDB::Types::ImportNotFoundException] data
|
238
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
239
|
+
super(context, message, data)
|
240
|
+
end
|
241
|
+
|
242
|
+
# @return [String]
|
243
|
+
def message
|
244
|
+
@message || @data[:message]
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
216
248
|
class IndexNotFoundException < ServiceError
|
217
249
|
|
218
250
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -194,9 +194,9 @@ module Aws::DynamoDB
|
|
194
194
|
# * `NonKeyAttributes` - A list of one or more non-key attribute names
|
195
195
|
# that are projected into the secondary index. The total count of
|
196
196
|
# attributes provided in `NonKeyAttributes`, summed across all of
|
197
|
-
# the secondary indexes, must not exceed
|
198
|
-
# attribute into two different indexes, this counts as two
|
199
|
-
# attributes when determining the total.
|
197
|
+
# the secondary indexes, must not exceed 100. If you project the
|
198
|
+
# same attribute into two different indexes, this counts as two
|
199
|
+
# distinct attributes when determining the total.
|
200
200
|
#
|
201
201
|
# * `IndexSizeBytes` - Represents the total size of the index, in bytes.
|
202
202
|
# DynamoDB updates this value approximately every six hours. Recent
|
@@ -275,9 +275,9 @@ module Aws::DynamoDB
|
|
275
275
|
# * `NonKeyAttributes` - A list of one or more non-key attribute names
|
276
276
|
# that are projected into the secondary index. The total count of
|
277
277
|
# attributes provided in `NonKeyAttributes`, summed across all of
|
278
|
-
# the secondary indexes, must not exceed
|
279
|
-
# attribute into two different indexes, this counts as two
|
280
|
-
# attributes when determining the total.
|
278
|
+
# the secondary indexes, must not exceed 100. If you project the
|
279
|
+
# same attribute into two different indexes, this counts as two
|
280
|
+
# distinct attributes when determining the total.
|
281
281
|
#
|
282
282
|
# * `ProvisionedThroughput` - The provisioned throughput settings for
|
283
283
|
# the global secondary index, consisting of read and write capacity
|
@@ -569,6 +569,10 @@ module Aws::DynamoDB
|
|
569
569
|
#
|
570
570
|
# * `ALL_OLD` - The content of the old item is returned.
|
571
571
|
#
|
572
|
+
# There is no additional cost associated with requesting a return value
|
573
|
+
# aside from the small network and processing overhead of receiving a
|
574
|
+
# larger response. No read capacity units are consumed.
|
575
|
+
#
|
572
576
|
# <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
|
573
577
|
# however, `DeleteItem` does not recognize any values other than `NONE`
|
574
578
|
# or `ALL_OLD`.
|
@@ -897,6 +901,10 @@ module Aws::DynamoDB
|
|
897
901
|
#
|
898
902
|
# The values returned are strongly consistent.
|
899
903
|
#
|
904
|
+
# There is no additional cost associated with requesting a return value
|
905
|
+
# aside from the small network and processing overhead of receiving a
|
906
|
+
# larger response. No read capacity units are consumed.
|
907
|
+
#
|
900
908
|
# <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
|
901
909
|
# however, `PutItem` does not recognize any values other than `NONE` or
|
902
910
|
# `ALL_OLD`.
|
@@ -1097,8 +1105,9 @@ module Aws::DynamoDB
|
|
1097
1105
|
# matching items themselves.
|
1098
1106
|
#
|
1099
1107
|
# * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
|
1100
|
-
# `
|
1101
|
-
# `
|
1108
|
+
# `ProjectionExpression`. This return value is equivalent to
|
1109
|
+
# specifying `ProjectionExpression` without specifying any value for
|
1110
|
+
# `Select`.
|
1102
1111
|
#
|
1103
1112
|
# If you query or scan a local secondary index and request only
|
1104
1113
|
# attributes that are projected into that index, the operation will
|
@@ -1111,12 +1120,12 @@ module Aws::DynamoDB
|
|
1111
1120
|
# attributes that are projected into the index. Global secondary index
|
1112
1121
|
# queries cannot fetch attributes from the parent table.
|
1113
1122
|
#
|
1114
|
-
# If neither `Select` nor `
|
1123
|
+
# If neither `Select` nor `ProjectionExpression` are specified, DynamoDB
|
1115
1124
|
# defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
1116
1125
|
# `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
|
1117
|
-
# both `Select` and `
|
1126
|
+
# both `Select` and `ProjectionExpression` together in a single request,
|
1118
1127
|
# unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is
|
1119
|
-
# equivalent to specifying `
|
1128
|
+
# equivalent to specifying `ProjectionExpression` without any value for
|
1120
1129
|
# `Select`.)
|
1121
1130
|
#
|
1122
1131
|
# <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
|
@@ -1254,7 +1263,7 @@ module Aws::DynamoDB
|
|
1254
1263
|
#
|
1255
1264
|
#
|
1256
1265
|
#
|
1257
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#
|
1266
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
|
1258
1267
|
# @option options [String] :key_condition_expression
|
1259
1268
|
# The condition that specifies the key values for items to be retrieved
|
1260
1269
|
# by the `Query` action.
|
@@ -1501,8 +1510,9 @@ module Aws::DynamoDB
|
|
1501
1510
|
# matching items themselves.
|
1502
1511
|
#
|
1503
1512
|
# * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
|
1504
|
-
# `
|
1505
|
-
# `
|
1513
|
+
# `ProjectionExpression`. This return value is equivalent to
|
1514
|
+
# specifying `ProjectionExpression` without specifying any value for
|
1515
|
+
# `Select`.
|
1506
1516
|
#
|
1507
1517
|
# If you query or scan a local secondary index and request only
|
1508
1518
|
# attributes that are projected into that index, the operation reads
|
@@ -1515,12 +1525,12 @@ module Aws::DynamoDB
|
|
1515
1525
|
# attributes that are projected into the index. Global secondary index
|
1516
1526
|
# queries cannot fetch attributes from the parent table.
|
1517
1527
|
#
|
1518
|
-
# If neither `Select` nor `
|
1528
|
+
# If neither `Select` nor `ProjectionExpression` are specified, DynamoDB
|
1519
1529
|
# defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
1520
1530
|
# `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
|
1521
|
-
# both `Select` and `
|
1531
|
+
# both `Select` and `ProjectionExpression` together in a single request,
|
1522
1532
|
# unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is
|
1523
|
-
# equivalent to specifying `
|
1533
|
+
# equivalent to specifying `ProjectionExpression` without any value for
|
1524
1534
|
# `Select`.)
|
1525
1535
|
#
|
1526
1536
|
# <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
|
@@ -1633,7 +1643,7 @@ module Aws::DynamoDB
|
|
1633
1643
|
#
|
1634
1644
|
#
|
1635
1645
|
#
|
1636
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#
|
1646
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
|
1637
1647
|
# @option options [Hash<String,String>] :expression_attribute_names
|
1638
1648
|
# One or more substitution tokens for attribute names in an expression.
|
1639
1649
|
# The following are some use cases for using
|