aws-sdk-dynamodb 1.60.0 → 1.80.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +100 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +659 -132
- data/lib/aws-sdk-dynamodb/client_api.rb +175 -0
- data/lib/aws-sdk-dynamodb/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-dynamodb/endpoint_provider.rb +122 -0
- data/lib/aws-sdk-dynamodb/endpoints.rb +757 -0
- data/lib/aws-sdk-dynamodb/errors.rb +32 -0
- data/lib/aws-sdk-dynamodb/plugins/endpoints.rb +174 -0
- data/lib/aws-sdk-dynamodb/resource.rb +8 -4
- data/lib/aws-sdk-dynamodb/table.rb +63 -38
- data/lib/aws-sdk-dynamodb/types.rb +858 -2054
- data/lib/aws-sdk-dynamodb.rb +5 -1
- metadata +12 -9
@@ -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')
|
@@ -370,7 +399,10 @@ module Aws::DynamoDB
|
|
370
399
|
TableAlreadyExistsException = Shapes::StructureShape.new(name: 'TableAlreadyExistsException')
|
371
400
|
TableArn = Shapes::StringShape.new(name: 'TableArn')
|
372
401
|
TableAutoScalingDescription = Shapes::StructureShape.new(name: 'TableAutoScalingDescription')
|
402
|
+
TableClass = Shapes::StringShape.new(name: 'TableClass')
|
403
|
+
TableClassSummary = Shapes::StructureShape.new(name: 'TableClassSummary')
|
373
404
|
TableCreationDateTime = Shapes::TimestampShape.new(name: 'TableCreationDateTime')
|
405
|
+
TableCreationParameters = Shapes::StructureShape.new(name: 'TableCreationParameters')
|
374
406
|
TableDescription = Shapes::StructureShape.new(name: 'TableDescription')
|
375
407
|
TableId = Shapes::StringShape.new(name: 'TableId')
|
376
408
|
TableInUseException = Shapes::StructureShape.new(name: 'TableInUseException')
|
@@ -534,9 +566,11 @@ module Aws::DynamoDB
|
|
534
566
|
BackupSummary.struct_class = Types::BackupSummary
|
535
567
|
|
536
568
|
BatchExecuteStatementInput.add_member(:statements, Shapes::ShapeRef.new(shape: PartiQLBatchRequest, required: true, location_name: "Statements"))
|
569
|
+
BatchExecuteStatementInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
|
537
570
|
BatchExecuteStatementInput.struct_class = Types::BatchExecuteStatementInput
|
538
571
|
|
539
572
|
BatchExecuteStatementOutput.add_member(:responses, Shapes::ShapeRef.new(shape: PartiQLBatchResponse, location_name: "Responses"))
|
573
|
+
BatchExecuteStatementOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacityMultiple, location_name: "ConsumedCapacity"))
|
540
574
|
BatchExecuteStatementOutput.struct_class = Types::BatchExecuteStatementOutput
|
541
575
|
|
542
576
|
BatchGetItemInput.add_member(:request_items, Shapes::ShapeRef.new(shape: BatchGetRequestMap, required: true, location_name: "RequestItems"))
|
@@ -668,6 +702,7 @@ module Aws::DynamoDB
|
|
668
702
|
CreateReplicationGroupMemberAction.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: KMSMasterKeyId, location_name: "KMSMasterKeyId"))
|
669
703
|
CreateReplicationGroupMemberAction.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
|
670
704
|
CreateReplicationGroupMemberAction.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexes"))
|
705
|
+
CreateReplicationGroupMemberAction.add_member(:table_class_override, Shapes::ShapeRef.new(shape: TableClass, location_name: "TableClassOverride"))
|
671
706
|
CreateReplicationGroupMemberAction.struct_class = Types::CreateReplicationGroupMemberAction
|
672
707
|
|
673
708
|
CreateTableInput.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, required: true, location_name: "AttributeDefinitions"))
|
@@ -680,11 +715,18 @@ module Aws::DynamoDB
|
|
680
715
|
CreateTableInput.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
|
681
716
|
CreateTableInput.add_member(:sse_specification, Shapes::ShapeRef.new(shape: SSESpecification, location_name: "SSESpecification"))
|
682
717
|
CreateTableInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
718
|
+
CreateTableInput.add_member(:table_class, Shapes::ShapeRef.new(shape: TableClass, location_name: "TableClass"))
|
683
719
|
CreateTableInput.struct_class = Types::CreateTableInput
|
684
720
|
|
685
721
|
CreateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
686
722
|
CreateTableOutput.struct_class = Types::CreateTableOutput
|
687
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
|
+
|
688
730
|
Delete.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
689
731
|
Delete.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
690
732
|
Delete.add_member(:condition_expression, Shapes::ShapeRef.new(shape: ConditionExpression, location_name: "ConditionExpression"))
|
@@ -782,6 +824,12 @@ module Aws::DynamoDB
|
|
782
824
|
DescribeGlobalTableSettingsOutput.add_member(:replica_settings, Shapes::ShapeRef.new(shape: ReplicaSettingsDescriptionList, location_name: "ReplicaSettings"))
|
783
825
|
DescribeGlobalTableSettingsOutput.struct_class = Types::DescribeGlobalTableSettingsOutput
|
784
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
|
+
|
785
833
|
DescribeKinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
786
834
|
DescribeKinesisStreamingDestinationInput.struct_class = Types::DescribeKinesisStreamingDestinationInput
|
787
835
|
|
@@ -828,17 +876,23 @@ module Aws::DynamoDB
|
|
828
876
|
ExecuteStatementInput.add_member(:parameters, Shapes::ShapeRef.new(shape: PreparedStatementParameters, location_name: "Parameters"))
|
829
877
|
ExecuteStatementInput.add_member(:consistent_read, Shapes::ShapeRef.new(shape: ConsistentRead, location_name: "ConsistentRead"))
|
830
878
|
ExecuteStatementInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PartiQLNextToken, location_name: "NextToken"))
|
879
|
+
ExecuteStatementInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
|
880
|
+
ExecuteStatementInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "Limit"))
|
831
881
|
ExecuteStatementInput.struct_class = Types::ExecuteStatementInput
|
832
882
|
|
833
883
|
ExecuteStatementOutput.add_member(:items, Shapes::ShapeRef.new(shape: ItemList, location_name: "Items"))
|
834
884
|
ExecuteStatementOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PartiQLNextToken, location_name: "NextToken"))
|
885
|
+
ExecuteStatementOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "ConsumedCapacity"))
|
886
|
+
ExecuteStatementOutput.add_member(:last_evaluated_key, Shapes::ShapeRef.new(shape: Key, location_name: "LastEvaluatedKey"))
|
835
887
|
ExecuteStatementOutput.struct_class = Types::ExecuteStatementOutput
|
836
888
|
|
837
889
|
ExecuteTransactionInput.add_member(:transact_statements, Shapes::ShapeRef.new(shape: ParameterizedStatements, required: true, location_name: "TransactStatements"))
|
838
890
|
ExecuteTransactionInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
891
|
+
ExecuteTransactionInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
|
839
892
|
ExecuteTransactionInput.struct_class = Types::ExecuteTransactionInput
|
840
893
|
|
841
894
|
ExecuteTransactionOutput.add_member(:responses, Shapes::ShapeRef.new(shape: ItemResponseList, location_name: "Responses"))
|
895
|
+
ExecuteTransactionOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacityMultiple, location_name: "ConsumedCapacity"))
|
842
896
|
ExecuteTransactionOutput.struct_class = Types::ExecuteTransactionOutput
|
843
897
|
|
844
898
|
ExpectedAttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
|
@@ -1000,9 +1054,62 @@ module Aws::DynamoDB
|
|
1000
1054
|
IdempotentParameterMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
1001
1055
|
IdempotentParameterMismatchException.struct_class = Types::IdempotentParameterMismatchException
|
1002
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
|
+
|
1003
1107
|
IndexNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1004
1108
|
IndexNotFoundException.struct_class = Types::IndexNotFoundException
|
1005
1109
|
|
1110
|
+
InputFormatOptions.add_member(:csv, Shapes::ShapeRef.new(shape: CsvOptions, location_name: "Csv"))
|
1111
|
+
InputFormatOptions.struct_class = Types::InputFormatOptions
|
1112
|
+
|
1006
1113
|
InternalServerError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1007
1114
|
InternalServerError.struct_class = Types::InternalServerError
|
1008
1115
|
|
@@ -1117,6 +1224,15 @@ module Aws::DynamoDB
|
|
1117
1224
|
ListGlobalTablesOutput.add_member(:last_evaluated_global_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "LastEvaluatedGlobalTableName"))
|
1118
1225
|
ListGlobalTablesOutput.struct_class = Types::ListGlobalTablesOutput
|
1119
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
|
+
|
1120
1236
|
ListTablesInput.add_member(:exclusive_start_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "ExclusiveStartTableName"))
|
1121
1237
|
ListTablesInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListTablesInputLimit, location_name: "Limit"))
|
1122
1238
|
ListTablesInput.struct_class = Types::ListTablesInput
|
@@ -1295,6 +1411,7 @@ module Aws::DynamoDB
|
|
1295
1411
|
ReplicaDescription.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
|
1296
1412
|
ReplicaDescription.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexDescriptionList, location_name: "GlobalSecondaryIndexes"))
|
1297
1413
|
ReplicaDescription.add_member(:replica_inaccessible_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "ReplicaInaccessibleDateTime"))
|
1414
|
+
ReplicaDescription.add_member(:replica_table_class_summary, Shapes::ShapeRef.new(shape: TableClassSummary, location_name: "ReplicaTableClassSummary"))
|
1298
1415
|
ReplicaDescription.struct_class = Types::ReplicaDescription
|
1299
1416
|
|
1300
1417
|
ReplicaDescriptionList.member = Shapes::ShapeRef.new(shape: ReplicaDescription)
|
@@ -1355,6 +1472,7 @@ module Aws::DynamoDB
|
|
1355
1472
|
ReplicaSettingsDescription.add_member(:replica_provisioned_write_capacity_units, Shapes::ShapeRef.new(shape: NonNegativeLongObject, location_name: "ReplicaProvisionedWriteCapacityUnits"))
|
1356
1473
|
ReplicaSettingsDescription.add_member(:replica_provisioned_write_capacity_auto_scaling_settings, Shapes::ShapeRef.new(shape: AutoScalingSettingsDescription, location_name: "ReplicaProvisionedWriteCapacityAutoScalingSettings"))
|
1357
1474
|
ReplicaSettingsDescription.add_member(:replica_global_secondary_index_settings, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexSettingsDescriptionList, location_name: "ReplicaGlobalSecondaryIndexSettings"))
|
1475
|
+
ReplicaSettingsDescription.add_member(:replica_table_class_summary, Shapes::ShapeRef.new(shape: TableClassSummary, location_name: "ReplicaTableClassSummary"))
|
1358
1476
|
ReplicaSettingsDescription.struct_class = Types::ReplicaSettingsDescription
|
1359
1477
|
|
1360
1478
|
ReplicaSettingsDescriptionList.member = Shapes::ShapeRef.new(shape: ReplicaSettingsDescription)
|
@@ -1363,6 +1481,7 @@ module Aws::DynamoDB
|
|
1363
1481
|
ReplicaSettingsUpdate.add_member(:replica_provisioned_read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ReplicaProvisionedReadCapacityUnits"))
|
1364
1482
|
ReplicaSettingsUpdate.add_member(:replica_provisioned_read_capacity_auto_scaling_settings_update, Shapes::ShapeRef.new(shape: AutoScalingSettingsUpdate, location_name: "ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate"))
|
1365
1483
|
ReplicaSettingsUpdate.add_member(:replica_global_secondary_index_settings_update, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexSettingsUpdateList, location_name: "ReplicaGlobalSecondaryIndexSettingsUpdate"))
|
1484
|
+
ReplicaSettingsUpdate.add_member(:replica_table_class, Shapes::ShapeRef.new(shape: TableClass, location_name: "ReplicaTableClass"))
|
1366
1485
|
ReplicaSettingsUpdate.struct_class = Types::ReplicaSettingsUpdate
|
1367
1486
|
|
1368
1487
|
ReplicaSettingsUpdateList.member = Shapes::ShapeRef.new(shape: ReplicaSettingsUpdate)
|
@@ -1422,6 +1541,11 @@ module Aws::DynamoDB
|
|
1422
1541
|
RestoreTableToPointInTimeOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
1423
1542
|
RestoreTableToPointInTimeOutput.struct_class = Types::RestoreTableToPointInTimeOutput
|
1424
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
|
+
|
1425
1549
|
SSEDescription.add_member(:status, Shapes::ShapeRef.new(shape: SSEStatus, location_name: "Status"))
|
1426
1550
|
SSEDescription.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "SSEType"))
|
1427
1551
|
SSEDescription.add_member(:kms_master_key_arn, Shapes::ShapeRef.new(shape: KMSMasterKeyArn, location_name: "KMSMasterKeyArn"))
|
@@ -1493,6 +1617,19 @@ module Aws::DynamoDB
|
|
1493
1617
|
TableAutoScalingDescription.add_member(:replicas, Shapes::ShapeRef.new(shape: ReplicaAutoScalingDescriptionList, location_name: "Replicas"))
|
1494
1618
|
TableAutoScalingDescription.struct_class = Types::TableAutoScalingDescription
|
1495
1619
|
|
1620
|
+
TableClassSummary.add_member(:table_class, Shapes::ShapeRef.new(shape: TableClass, location_name: "TableClass"))
|
1621
|
+
TableClassSummary.add_member(:last_update_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastUpdateDateTime"))
|
1622
|
+
TableClassSummary.struct_class = Types::TableClassSummary
|
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
|
+
|
1496
1633
|
TableDescription.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, location_name: "AttributeDefinitions"))
|
1497
1634
|
TableDescription.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
1498
1635
|
TableDescription.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, location_name: "KeySchema"))
|
@@ -1514,6 +1651,7 @@ module Aws::DynamoDB
|
|
1514
1651
|
TableDescription.add_member(:restore_summary, Shapes::ShapeRef.new(shape: RestoreSummary, location_name: "RestoreSummary"))
|
1515
1652
|
TableDescription.add_member(:sse_description, Shapes::ShapeRef.new(shape: SSEDescription, location_name: "SSEDescription"))
|
1516
1653
|
TableDescription.add_member(:archival_summary, Shapes::ShapeRef.new(shape: ArchivalSummary, location_name: "ArchivalSummary"))
|
1654
|
+
TableDescription.add_member(:table_class_summary, Shapes::ShapeRef.new(shape: TableClassSummary, location_name: "TableClassSummary"))
|
1517
1655
|
TableDescription.struct_class = Types::TableDescription
|
1518
1656
|
|
1519
1657
|
TableInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -1661,6 +1799,7 @@ module Aws::DynamoDB
|
|
1661
1799
|
UpdateReplicationGroupMemberAction.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: KMSMasterKeyId, location_name: "KMSMasterKeyId"))
|
1662
1800
|
UpdateReplicationGroupMemberAction.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
|
1663
1801
|
UpdateReplicationGroupMemberAction.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexes"))
|
1802
|
+
UpdateReplicationGroupMemberAction.add_member(:table_class_override, Shapes::ShapeRef.new(shape: TableClass, location_name: "TableClassOverride"))
|
1664
1803
|
UpdateReplicationGroupMemberAction.struct_class = Types::UpdateReplicationGroupMemberAction
|
1665
1804
|
|
1666
1805
|
UpdateTableInput.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, location_name: "AttributeDefinitions"))
|
@@ -1671,6 +1810,7 @@ module Aws::DynamoDB
|
|
1671
1810
|
UpdateTableInput.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
|
1672
1811
|
UpdateTableInput.add_member(:sse_specification, Shapes::ShapeRef.new(shape: SSESpecification, location_name: "SSESpecification"))
|
1673
1812
|
UpdateTableInput.add_member(:replica_updates, Shapes::ShapeRef.new(shape: ReplicationGroupUpdateList, location_name: "ReplicaUpdates"))
|
1813
|
+
UpdateTableInput.add_member(:table_class, Shapes::ShapeRef.new(shape: TableClass, location_name: "TableClass"))
|
1674
1814
|
UpdateTableInput.struct_class = Types::UpdateTableInput
|
1675
1815
|
|
1676
1816
|
UpdateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
@@ -1928,6 +2068,15 @@ module Aws::DynamoDB
|
|
1928
2068
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1929
2069
|
end)
|
1930
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
|
+
|
1931
2080
|
api.add_operation(:describe_kinesis_streaming_destination, Seahorse::Model::Operation.new.tap do |o|
|
1932
2081
|
o.name = "DescribeKinesisStreamingDestination"
|
1933
2082
|
o.http_method = "POST"
|
@@ -2072,6 +2221,17 @@ module Aws::DynamoDB
|
|
2072
2221
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2073
2222
|
end)
|
2074
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
|
+
|
2075
2235
|
api.add_operation(:list_backups, Seahorse::Model::Operation.new.tap do |o|
|
2076
2236
|
o.name = "ListBackups"
|
2077
2237
|
o.http_method = "POST"
|
@@ -2126,6 +2286,21 @@ module Aws::DynamoDB
|
|
2126
2286
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2127
2287
|
end)
|
2128
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
|
+
|
2129
2304
|
api.add_operation(:list_tables, Seahorse::Model::Operation.new.tap do |o|
|
2130
2305
|
o.name = "ListTables"
|
2131
2306
|
o.http_method = "POST"
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::DynamoDB
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
56
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
57
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
|
+
if self[:use_dual_stack].nil?
|
59
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
60
|
+
end
|
61
|
+
self[:use_fips] = options[:use_fips]
|
62
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
63
|
+
if self[:use_fips].nil?
|
64
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
65
|
+
end
|
66
|
+
self[:endpoint] = options[:endpoint]
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,122 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::DynamoDB
|
11
|
+
class EndpointProvider
|
12
|
+
def initialize(rule_set = nil)
|
13
|
+
@@rule_set ||= begin
|
14
|
+
endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
|
15
|
+
Aws::Endpoints::RuleSet.new(
|
16
|
+
version: endpoint_rules['version'],
|
17
|
+
service_id: endpoint_rules['serviceId'],
|
18
|
+
parameters: endpoint_rules['parameters'],
|
19
|
+
rules: endpoint_rules['rules']
|
20
|
+
)
|
21
|
+
end
|
22
|
+
@provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
|
23
|
+
end
|
24
|
+
|
25
|
+
def resolve_endpoint(parameters)
|
26
|
+
@provider.resolve_endpoint(parame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