aws-sdk-dynamodb 1.180.0 → 1.181.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +273 -5
- data/lib/aws-sdk-dynamodb/client_api.rb +191 -0
- data/lib/aws-sdk-dynamodb/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-dynamodb/endpoints.rb +33 -0
- data/lib/aws-sdk-dynamodb/types.rb +553 -4
- data/lib/aws-sdk-dynamodb/waiters.rb +58 -0
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/sig/client.rbs +66 -1
- data/sig/types.rbs +122 -0
- data/sig/waiters.rbs +10 -0
- metadata +3 -3
data/sig/client.rbs
CHANGED
|
@@ -146,6 +146,17 @@ module Aws
|
|
|
146
146
|
) -> _BatchWriteItemResponseSuccess
|
|
147
147
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchWriteItemResponseSuccess
|
|
148
148
|
|
|
149
|
+
interface _CancelBulkOperationResponseSuccess
|
|
150
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelBulkOperationOutput]
|
|
151
|
+
def bulk_operation_arn: () -> ::String
|
|
152
|
+
def bulk_operation_status: () -> ("IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "CANCELLING" | "CANCELLED" | "FAILED")
|
|
153
|
+
end
|
|
154
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#cancel_bulk_operation-instance_method
|
|
155
|
+
def cancel_bulk_operation: (
|
|
156
|
+
bulk_operation_arn: ::String
|
|
157
|
+
) -> _CancelBulkOperationResponseSuccess
|
|
158
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelBulkOperationResponseSuccess
|
|
159
|
+
|
|
149
160
|
interface _CreateBackupResponseSuccess
|
|
150
161
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateBackupOutput]
|
|
151
162
|
def backup_details: () -> Types::BackupDetails
|
|
@@ -299,6 +310,16 @@ module Aws
|
|
|
299
310
|
) -> _DescribeBackupResponseSuccess
|
|
300
311
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBackupResponseSuccess
|
|
301
312
|
|
|
313
|
+
interface _DescribeBulkOperationResponseSuccess
|
|
314
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBulkOperationOutput]
|
|
315
|
+
def bulk_operation_description: () -> Types::BulkOperationDescription
|
|
316
|
+
end
|
|
317
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_bulk_operation-instance_method
|
|
318
|
+
def describe_bulk_operation: (
|
|
319
|
+
bulk_operation_arn: ::String
|
|
320
|
+
) -> _DescribeBulkOperationResponseSuccess
|
|
321
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBulkOperationResponseSuccess
|
|
322
|
+
|
|
302
323
|
interface _DescribeContinuousBackupsResponseSuccess
|
|
303
324
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeContinuousBackupsOutput]
|
|
304
325
|
def continuous_backups_description: () -> Types::ContinuousBackupsDescription
|
|
@@ -634,6 +655,18 @@ module Aws
|
|
|
634
655
|
) -> _ListBackupsResponseSuccess
|
|
635
656
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBackupsResponseSuccess
|
|
636
657
|
|
|
658
|
+
interface _ListBulkOperationsResponseSuccess
|
|
659
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBulkOperationsOutput]
|
|
660
|
+
def bulk_operations_summary_list: () -> ::Array[Types::BulkOperationSummary]
|
|
661
|
+
def next_token: () -> ::String
|
|
662
|
+
end
|
|
663
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#list_bulk_operations-instance_method
|
|
664
|
+
def list_bulk_operations: (
|
|
665
|
+
?max_results: ::Integer,
|
|
666
|
+
?next_token: ::String
|
|
667
|
+
) -> _ListBulkOperationsResponseSuccess
|
|
668
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBulkOperationsResponseSuccess
|
|
669
|
+
|
|
637
670
|
interface _ListContributorInsightsResponseSuccess
|
|
638
671
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListContributorInsightsOutput]
|
|
639
672
|
def contributor_insights_summaries: () -> ::Array[Types::ContributorInsightsSummary]
|
|
@@ -894,6 +927,34 @@ module Aws
|
|
|
894
927
|
) -> _SearchVectorsResponseSuccess
|
|
895
928
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchVectorsResponseSuccess
|
|
896
929
|
|
|
930
|
+
interface _StartBulkPutItemsResponseSuccess
|
|
931
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartBulkPutItemsOutput]
|
|
932
|
+
def bulk_operation_description: () -> Types::BulkOperationDescription
|
|
933
|
+
end
|
|
934
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#start_bulk_put_items-instance_method
|
|
935
|
+
def start_bulk_put_items: (
|
|
936
|
+
?client_token: ::String,
|
|
937
|
+
input_s3_configuration: {
|
|
938
|
+
s3_bucket_owner: ::String?,
|
|
939
|
+
s3_bucket: ::String,
|
|
940
|
+
s3_key_prefix: ::String?,
|
|
941
|
+
input_format: ("DYNAMODB_JSON" | "ION"),
|
|
942
|
+
input_compression_type: ("GZIP" | "ZSTD" | "NONE")?
|
|
943
|
+
},
|
|
944
|
+
output_s3_configuration: {
|
|
945
|
+
s3_bucket_owner: ::String?,
|
|
946
|
+
s3_bucket: ::String?,
|
|
947
|
+
s3_key_prefix: ::String?,
|
|
948
|
+
s3_sse_algorithm: ("AES256" | "KMS")?,
|
|
949
|
+
s3_sse_kms_key_id: ::String?,
|
|
950
|
+
output_type: Array[("ERROR" | "CONDITION_CHECK_FAILURE")]
|
|
951
|
+
},
|
|
952
|
+
table_name: ::String,
|
|
953
|
+
?max_write_request_units: ::Integer,
|
|
954
|
+
?performance_tier: ("STANDARD" | "ACCELERATED")
|
|
955
|
+
) -> _StartBulkPutItemsResponseSuccess
|
|
956
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBulkPutItemsResponseSuccess
|
|
957
|
+
|
|
897
958
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#tag_resource-instance_method
|
|
898
959
|
def tag_resource: (
|
|
899
960
|
resource_arn: ::String,
|
|
@@ -1322,7 +1383,11 @@ module Aws
|
|
|
1322
1383
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTimeToLiveResponseSuccess
|
|
1323
1384
|
|
|
1324
1385
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#wait_until-instance_method
|
|
1325
|
-
def wait_until: (:
|
|
1386
|
+
def wait_until: (:bulk_operation_completed waiter_name,
|
|
1387
|
+
bulk_operation_arn: ::String
|
|
1388
|
+
) -> Client::_DescribeBulkOperationResponseSuccess
|
|
1389
|
+
| (:bulk_operation_completed waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeBulkOperationResponseSuccess
|
|
1390
|
+
| (:contributor_insights_enabled waiter_name,
|
|
1326
1391
|
table_name: ::String,
|
|
1327
1392
|
?index_name: ::String
|
|
1328
1393
|
) -> Client::_DescribeContributorInsightsResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -196,6 +196,72 @@ module Aws::DynamoDB
|
|
|
196
196
|
SENSITIVE: []
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
+
class BulkOperationBytes
|
|
200
|
+
attr_accessor bulk_put_bytes: ::Integer
|
|
201
|
+
SENSITIVE: []
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
class BulkOperationDescription
|
|
205
|
+
attr_accessor bulk_operation_arn: ::String
|
|
206
|
+
attr_accessor bulk_operation_status: ("IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "CANCELLING" | "CANCELLED" | "FAILED")
|
|
207
|
+
attr_accessor table_details: ::Array[Types::BulkOperationTableDetail]
|
|
208
|
+
attr_accessor client_token: ::String
|
|
209
|
+
attr_accessor input_s3_configuration: Types::InputS3Configuration
|
|
210
|
+
attr_accessor output_s3_configuration: Types::OutputS3Configuration
|
|
211
|
+
attr_accessor start_time: ::Time
|
|
212
|
+
attr_accessor end_time: ::Time
|
|
213
|
+
attr_accessor processed_item_count: ::Integer
|
|
214
|
+
attr_accessor processed_input_bytes: ::Integer
|
|
215
|
+
attr_accessor total_input_bytes: ::Integer
|
|
216
|
+
attr_accessor bulk_operation_usage: ::Array[Types::BulkOperationUsage]
|
|
217
|
+
attr_accessor failed_item_count: ::Integer
|
|
218
|
+
attr_accessor failure_code: ::String
|
|
219
|
+
attr_accessor failure_message: ::String
|
|
220
|
+
attr_accessor max_write_request_units: ::Integer
|
|
221
|
+
attr_accessor performance_tier: ("STANDARD" | "ACCELERATED")
|
|
222
|
+
SENSITIVE: []
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
class BulkOperationSummary
|
|
226
|
+
attr_accessor bulk_operation_arn: ::String
|
|
227
|
+
attr_accessor bulk_operation_status: ("IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "CANCELLING" | "CANCELLED" | "FAILED")
|
|
228
|
+
attr_accessor start_time: ::Time
|
|
229
|
+
attr_accessor end_time: ::Time
|
|
230
|
+
SENSITIVE: []
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
class BulkOperationTableDetail
|
|
234
|
+
attr_accessor table_name: ::String
|
|
235
|
+
attr_accessor table_id: ::String
|
|
236
|
+
SENSITIVE: []
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
class BulkOperationUsage
|
|
240
|
+
attr_accessor table_name: ::String
|
|
241
|
+
attr_accessor bulk_put_bytes: ::Integer
|
|
242
|
+
attr_accessor table: Types::BulkOperationBytes
|
|
243
|
+
attr_accessor local_secondary_indexes: ::Hash[::String, Types::BulkOperationBytes]
|
|
244
|
+
attr_accessor global_secondary_indexes: ::Hash[::String, Types::BulkOperationBytes]
|
|
245
|
+
attr_accessor vector_indexes: ::Hash[::String, Types::BulkOperationVectorBytes]
|
|
246
|
+
SENSITIVE: []
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
class BulkOperationVectorBytes
|
|
250
|
+
attr_accessor bulk_put_vector_bytes: ::Integer
|
|
251
|
+
SENSITIVE: []
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
class CancelBulkOperationInput
|
|
255
|
+
attr_accessor bulk_operation_arn: ::String
|
|
256
|
+
SENSITIVE: []
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
class CancelBulkOperationOutput
|
|
260
|
+
attr_accessor bulk_operation_arn: ::String
|
|
261
|
+
attr_accessor bulk_operation_status: ("IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "CANCELLING" | "CANCELLED" | "FAILED")
|
|
262
|
+
SENSITIVE: []
|
|
263
|
+
end
|
|
264
|
+
|
|
199
265
|
class CancellationReason
|
|
200
266
|
attr_accessor item: ::Hash[::String, Types::AttributeValue]
|
|
201
267
|
attr_accessor code: ::String
|
|
@@ -461,6 +527,16 @@ module Aws::DynamoDB
|
|
|
461
527
|
SENSITIVE: []
|
|
462
528
|
end
|
|
463
529
|
|
|
530
|
+
class DescribeBulkOperationInput
|
|
531
|
+
attr_accessor bulk_operation_arn: ::String
|
|
532
|
+
SENSITIVE: []
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
class DescribeBulkOperationOutput
|
|
536
|
+
attr_accessor bulk_operation_description: Types::BulkOperationDescription
|
|
537
|
+
SENSITIVE: []
|
|
538
|
+
end
|
|
539
|
+
|
|
464
540
|
class DescribeContinuousBackupsInput
|
|
465
541
|
attr_accessor table_name: ::String
|
|
466
542
|
SENSITIVE: []
|
|
@@ -946,6 +1022,15 @@ module Aws::DynamoDB
|
|
|
946
1022
|
SENSITIVE: []
|
|
947
1023
|
end
|
|
948
1024
|
|
|
1025
|
+
class InputS3Configuration
|
|
1026
|
+
attr_accessor s3_bucket_owner: ::String
|
|
1027
|
+
attr_accessor s3_bucket: ::String
|
|
1028
|
+
attr_accessor s3_key_prefix: ::String
|
|
1029
|
+
attr_accessor input_format: ("DYNAMODB_JSON" | "ION")
|
|
1030
|
+
attr_accessor input_compression_type: ("GZIP" | "ZSTD" | "NONE")
|
|
1031
|
+
SENSITIVE: []
|
|
1032
|
+
end
|
|
1033
|
+
|
|
949
1034
|
class InternalServerError
|
|
950
1035
|
attr_accessor message: ::String
|
|
951
1036
|
SENSITIVE: []
|
|
@@ -1036,6 +1121,18 @@ module Aws::DynamoDB
|
|
|
1036
1121
|
SENSITIVE: []
|
|
1037
1122
|
end
|
|
1038
1123
|
|
|
1124
|
+
class ListBulkOperationsInput
|
|
1125
|
+
attr_accessor max_results: ::Integer
|
|
1126
|
+
attr_accessor next_token: ::String
|
|
1127
|
+
SENSITIVE: []
|
|
1128
|
+
end
|
|
1129
|
+
|
|
1130
|
+
class ListBulkOperationsOutput
|
|
1131
|
+
attr_accessor bulk_operations_summary_list: ::Array[Types::BulkOperationSummary]
|
|
1132
|
+
attr_accessor next_token: ::String
|
|
1133
|
+
SENSITIVE: []
|
|
1134
|
+
end
|
|
1135
|
+
|
|
1039
1136
|
class ListContributorInsightsInput
|
|
1040
1137
|
attr_accessor table_name: ::String
|
|
1041
1138
|
attr_accessor next_token: ::String
|
|
@@ -1147,6 +1244,16 @@ module Aws::DynamoDB
|
|
|
1147
1244
|
SENSITIVE: []
|
|
1148
1245
|
end
|
|
1149
1246
|
|
|
1247
|
+
class OutputS3Configuration
|
|
1248
|
+
attr_accessor s3_bucket_owner: ::String
|
|
1249
|
+
attr_accessor s3_bucket: ::String
|
|
1250
|
+
attr_accessor s3_key_prefix: ::String
|
|
1251
|
+
attr_accessor s3_sse_algorithm: ("AES256" | "KMS")
|
|
1252
|
+
attr_accessor s3_sse_kms_key_id: ::String
|
|
1253
|
+
attr_accessor output_type: ::Array[("ERROR" | "CONDITION_CHECK_FAILURE")]
|
|
1254
|
+
SENSITIVE: []
|
|
1255
|
+
end
|
|
1256
|
+
|
|
1150
1257
|
class ParameterizedStatement
|
|
1151
1258
|
attr_accessor statement: ::String
|
|
1152
1259
|
attr_accessor parameters: ::Array[Types::AttributeValue]
|
|
@@ -1594,6 +1701,21 @@ module Aws::DynamoDB
|
|
|
1594
1701
|
SENSITIVE: []
|
|
1595
1702
|
end
|
|
1596
1703
|
|
|
1704
|
+
class StartBulkPutItemsInput
|
|
1705
|
+
attr_accessor client_token: ::String
|
|
1706
|
+
attr_accessor input_s3_configuration: Types::InputS3Configuration
|
|
1707
|
+
attr_accessor output_s3_configuration: Types::OutputS3Configuration
|
|
1708
|
+
attr_accessor table_name: ::String
|
|
1709
|
+
attr_accessor max_write_request_units: ::Integer
|
|
1710
|
+
attr_accessor performance_tier: ("STANDARD" | "ACCELERATED")
|
|
1711
|
+
SENSITIVE: []
|
|
1712
|
+
end
|
|
1713
|
+
|
|
1714
|
+
class StartBulkPutItemsOutput
|
|
1715
|
+
attr_accessor bulk_operation_description: Types::BulkOperationDescription
|
|
1716
|
+
SENSITIVE: []
|
|
1717
|
+
end
|
|
1718
|
+
|
|
1597
1719
|
class StreamSpecification
|
|
1598
1720
|
attr_accessor stream_enabled: bool
|
|
1599
1721
|
attr_accessor stream_view_type: ("NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY")
|
data/sig/waiters.rbs
CHANGED
|
@@ -9,6 +9,16 @@ module Aws
|
|
|
9
9
|
module DynamoDB
|
|
10
10
|
module Waiters
|
|
11
11
|
|
|
12
|
+
class BulkOperationCompleted
|
|
13
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
|
14
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
15
|
+
|
|
16
|
+
def wait: (
|
|
17
|
+
bulk_operation_arn: ::String
|
|
18
|
+
) -> Client::_DescribeBulkOperationResponseSuccess
|
|
19
|
+
| (Hash[Symbol, untyped]) -> Client::_DescribeBulkOperationResponseSuccess
|
|
20
|
+
end
|
|
21
|
+
|
|
12
22
|
class ContributorInsightsEnabled
|
|
13
23
|
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
|
14
24
|
| (?Hash[Symbol, untyped]) -> void
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-dynamodb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.181.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.264.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.264.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|