aws-sdk-dynamodb 1.174.0 → 1.176.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +31 -1
- data/lib/aws-sdk-dynamodb/client_api.rb +10 -0
- data/lib/aws-sdk-dynamodb/endpoint_provider.rb +45 -24
- data/lib/aws-sdk-dynamodb/types.rb +76 -2
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/sig/client.rbs +7 -0
- data/sig/errors.rbs +34 -34
- data/sig/types.rbs +11 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 35697eb019066aa283304ec68458c74307923fde5ebe7419b45940cddf2ce657
|
|
4
|
+
data.tar.gz: 11faa1afeebfca6664772cbef077b77d898f19de9dda541006179384b9ed02fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59490f8bb5ed93283a5d1be8073e5d34e46e64aefb05008ac07283a2c4cac8d35c07cb4f2436a75557709b7af7e59ba29d96629950c21a8f51d3a4471851bf2c
|
|
7
|
+
data.tar.gz: e55467c983471dafa766a3546d7fdcda6adb717b603b2e5465acd215e446c837dfd167c5a0a49079cc8b43a05dd30bba498618d05b3b1cc7b326def06e3c6580
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.176.0 (2026-10-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Enable account endpoint generation for existing CN and GovCloud regions
|
|
8
|
+
|
|
9
|
+
1.175.0 (2026-09-30)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds support for filtering exported table data using FilterExpression, ProjectionExpression and KeyConditionExpression with ExportTableToPointInTime.
|
|
13
|
+
|
|
4
14
|
1.174.0 (2026-09-11)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.176.0
|
|
@@ -2879,6 +2879,13 @@ module Aws::DynamoDB
|
|
|
2879
2879
|
# resp.export_description.incremental_export_specification.export_from_time #=> Time
|
|
2880
2880
|
# resp.export_description.incremental_export_specification.export_to_time #=> Time
|
|
2881
2881
|
# resp.export_description.incremental_export_specification.export_view_type #=> String, one of "NEW_IMAGE", "NEW_AND_OLD_IMAGES"
|
|
2882
|
+
# resp.export_description.filter_specification.filter_expression #=> String
|
|
2883
|
+
# resp.export_description.filter_specification.projection_expression #=> String
|
|
2884
|
+
# resp.export_description.filter_specification.key_condition_expression #=> String
|
|
2885
|
+
# resp.export_description.filter_specification.expression_attribute_names #=> Hash
|
|
2886
|
+
# resp.export_description.filter_specification.expression_attribute_names["ExpressionAttributeNameVariable"] #=> String
|
|
2887
|
+
# resp.export_description.filter_specification.expression_attribute_values #=> Hash
|
|
2888
|
+
# resp.export_description.filter_specification.expression_attribute_values["ExpressionAttributeValueVariable"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
|
2882
2889
|
#
|
|
2883
2890
|
#
|
|
2884
2891
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -4010,6 +4017,11 @@ module Aws::DynamoDB
|
|
|
4010
4017
|
# Optional object containing the parameters specific to an incremental
|
|
4011
4018
|
# export.
|
|
4012
4019
|
#
|
|
4020
|
+
# @option params [Types::FilterSpecification] :filter_specification
|
|
4021
|
+
# The criteria used to filter which items are included in the
|
|
4022
|
+
# point-in-time export. When you specify this parameter, only items that
|
|
4023
|
+
# match the key conditions and filter expressions are exported.
|
|
4024
|
+
#
|
|
4013
4025
|
# @return [Types::ExportTableToPointInTimeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4014
4026
|
#
|
|
4015
4027
|
# * {Types::ExportTableToPointInTimeOutput#export_description #export_description} => Types::ExportDescription
|
|
@@ -4032,6 +4044,17 @@ module Aws::DynamoDB
|
|
|
4032
4044
|
# export_to_time: Time.now,
|
|
4033
4045
|
# export_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, NEW_AND_OLD_IMAGES
|
|
4034
4046
|
# },
|
|
4047
|
+
# filter_specification: {
|
|
4048
|
+
# filter_expression: "ConditionExpression",
|
|
4049
|
+
# projection_expression: "ProjectionExpression",
|
|
4050
|
+
# key_condition_expression: "KeyExpression",
|
|
4051
|
+
# expression_attribute_names: {
|
|
4052
|
+
# "ExpressionAttributeNameVariable" => "AttributeName",
|
|
4053
|
+
# },
|
|
4054
|
+
# expression_attribute_values: {
|
|
4055
|
+
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
|
4056
|
+
# },
|
|
4057
|
+
# },
|
|
4035
4058
|
# })
|
|
4036
4059
|
#
|
|
4037
4060
|
# @example Response structure
|
|
@@ -4059,6 +4082,13 @@ module Aws::DynamoDB
|
|
|
4059
4082
|
# resp.export_description.incremental_export_specification.export_from_time #=> Time
|
|
4060
4083
|
# resp.export_description.incremental_export_specification.export_to_time #=> Time
|
|
4061
4084
|
# resp.export_description.incremental_export_specification.export_view_type #=> String, one of "NEW_IMAGE", "NEW_AND_OLD_IMAGES"
|
|
4085
|
+
# resp.export_description.filter_specification.filter_expression #=> String
|
|
4086
|
+
# resp.export_description.filter_specification.projection_expression #=> String
|
|
4087
|
+
# resp.export_description.filter_specification.key_condition_expression #=> String
|
|
4088
|
+
# resp.export_description.filter_specification.expression_attribute_names #=> Hash
|
|
4089
|
+
# resp.export_description.filter_specification.expression_attribute_names["ExpressionAttributeNameVariable"] #=> String
|
|
4090
|
+
# resp.export_description.filter_specification.expression_attribute_values #=> Hash
|
|
4091
|
+
# resp.export_description.filter_specification.expression_attribute_values["ExpressionAttributeValueVariable"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
|
4062
4092
|
#
|
|
4063
4093
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTime AWS API Documentation
|
|
4064
4094
|
#
|
|
@@ -9277,7 +9307,7 @@ module Aws::DynamoDB
|
|
|
9277
9307
|
tracer: tracer
|
|
9278
9308
|
)
|
|
9279
9309
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
|
9280
|
-
context[:gem_version] = '1.
|
|
9310
|
+
context[:gem_version] = '1.176.0'
|
|
9281
9311
|
Seahorse::Client::Request.new(handlers, context)
|
|
9282
9312
|
end
|
|
9283
9313
|
|
|
@@ -201,6 +201,7 @@ module Aws::DynamoDB
|
|
|
201
201
|
FailureException = Shapes::StructureShape.new(name: 'FailureException')
|
|
202
202
|
FailureMessage = Shapes::StringShape.new(name: 'FailureMessage')
|
|
203
203
|
FilterConditionMap = Shapes::MapShape.new(name: 'FilterConditionMap')
|
|
204
|
+
FilterSpecification = Shapes::StructureShape.new(name: 'FilterSpecification')
|
|
204
205
|
Get = Shapes::StructureShape.new(name: 'Get')
|
|
205
206
|
GetItemInput = Shapes::StructureShape.new(name: 'GetItemInput')
|
|
206
207
|
GetItemOutput = Shapes::StructureShape.new(name: 'GetItemOutput')
|
|
@@ -1044,6 +1045,7 @@ module Aws::DynamoDB
|
|
|
1044
1045
|
ExportDescription.add_member(:item_count, Shapes::ShapeRef.new(shape: ItemCount, location_name: "ItemCount"))
|
|
1045
1046
|
ExportDescription.add_member(:export_type, Shapes::ShapeRef.new(shape: ExportType, location_name: "ExportType"))
|
|
1046
1047
|
ExportDescription.add_member(:incremental_export_specification, Shapes::ShapeRef.new(shape: IncrementalExportSpecification, location_name: "IncrementalExportSpecification"))
|
|
1048
|
+
ExportDescription.add_member(:filter_specification, Shapes::ShapeRef.new(shape: FilterSpecification, location_name: "FilterSpecification"))
|
|
1047
1049
|
ExportDescription.struct_class = Types::ExportDescription
|
|
1048
1050
|
|
|
1049
1051
|
ExportNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
@@ -1067,6 +1069,7 @@ module Aws::DynamoDB
|
|
|
1067
1069
|
ExportTableToPointInTimeInput.add_member(:export_format, Shapes::ShapeRef.new(shape: ExportFormat, location_name: "ExportFormat"))
|
|
1068
1070
|
ExportTableToPointInTimeInput.add_member(:export_type, Shapes::ShapeRef.new(shape: ExportType, location_name: "ExportType"))
|
|
1069
1071
|
ExportTableToPointInTimeInput.add_member(:incremental_export_specification, Shapes::ShapeRef.new(shape: IncrementalExportSpecification, location_name: "IncrementalExportSpecification"))
|
|
1072
|
+
ExportTableToPointInTimeInput.add_member(:filter_specification, Shapes::ShapeRef.new(shape: FilterSpecification, location_name: "FilterSpecification"))
|
|
1070
1073
|
ExportTableToPointInTimeInput.struct_class = Types::ExportTableToPointInTimeInput
|
|
1071
1074
|
|
|
1072
1075
|
ExportTableToPointInTimeOutput.add_member(:export_description, Shapes::ShapeRef.new(shape: ExportDescription, location_name: "ExportDescription"))
|
|
@@ -1085,6 +1088,13 @@ module Aws::DynamoDB
|
|
|
1085
1088
|
FilterConditionMap.key = Shapes::ShapeRef.new(shape: AttributeName)
|
|
1086
1089
|
FilterConditionMap.value = Shapes::ShapeRef.new(shape: Condition)
|
|
1087
1090
|
|
|
1091
|
+
FilterSpecification.add_member(:filter_expression, Shapes::ShapeRef.new(shape: ConditionExpression, location_name: "FilterExpression"))
|
|
1092
|
+
FilterSpecification.add_member(:projection_expression, Shapes::ShapeRef.new(shape: ProjectionExpression, location_name: "ProjectionExpression"))
|
|
1093
|
+
FilterSpecification.add_member(:key_condition_expression, Shapes::ShapeRef.new(shape: KeyExpression, location_name: "KeyConditionExpression"))
|
|
1094
|
+
FilterSpecification.add_member(:expression_attribute_names, Shapes::ShapeRef.new(shape: ExpressionAttributeNameMap, location_name: "ExpressionAttributeNames"))
|
|
1095
|
+
FilterSpecification.add_member(:expression_attribute_values, Shapes::ShapeRef.new(shape: ExpressionAttributeValueMap, location_name: "ExpressionAttributeValues"))
|
|
1096
|
+
FilterSpecification.struct_class = Types::FilterSpecification
|
|
1097
|
+
|
|
1088
1098
|
Get.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
|
1089
1099
|
Get.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName"))
|
|
1090
1100
|
Get.add_member(:projection_expression, Shapes::ShapeRef.new(shape: ProjectionExpression, location_name: "ProjectionExpression"))
|
|
@@ -50,6 +50,12 @@ module Aws::DynamoDB
|
|
|
50
50
|
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "required")
|
|
51
51
|
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"
|
|
52
52
|
end
|
|
53
|
+
if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-east-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-west-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "cn-north-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "cn-northwest-1"))
|
|
54
|
+
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
55
|
+
return Aws::Endpoints::Endpoint.new(url: "https://search-dynamodb-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
56
|
+
end
|
|
57
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dynamodb-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
58
|
+
end
|
|
53
59
|
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
54
60
|
return Aws::Endpoints::Endpoint.new(url: "https://search-dynamodb-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
55
61
|
end
|
|
@@ -59,17 +65,26 @@ module Aws::DynamoDB
|
|
|
59
65
|
end
|
|
60
66
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
|
61
67
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
|
68
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "required")
|
|
69
|
+
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"
|
|
70
|
+
end
|
|
62
71
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
|
63
|
-
if Aws::Endpoints::Matchers.
|
|
64
|
-
|
|
72
|
+
if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-east-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-west-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "cn-north-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "cn-northwest-1"))
|
|
73
|
+
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
74
|
+
return Aws::Endpoints::Endpoint.new(url: "https://search-dynamodb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
75
|
+
end
|
|
76
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dynamodb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
65
77
|
end
|
|
66
78
|
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
67
79
|
return Aws::Endpoints::Endpoint.new(url: "https://search-dynamodb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
68
80
|
end
|
|
69
81
|
return Aws::Endpoints::Endpoint.new(url: "https://dynamodb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
70
82
|
end
|
|
71
|
-
if Aws::Endpoints::Matchers.
|
|
72
|
-
|
|
83
|
+
if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-east-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-west-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "cn-north-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "cn-northwest-1"))
|
|
84
|
+
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
85
|
+
return Aws::Endpoints::Endpoint.new(url: "https://search-dynamodb-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
86
|
+
end
|
|
87
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dynamodb-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
73
88
|
end
|
|
74
89
|
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
75
90
|
return Aws::Endpoints::Endpoint.new(url: "https://search-dynamodb-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
@@ -80,19 +95,28 @@ module Aws::DynamoDB
|
|
|
80
95
|
end
|
|
81
96
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
82
97
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
|
|
83
|
-
if Aws::Endpoints::Matchers.
|
|
98
|
+
if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-east-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-west-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "cn-north-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "cn-northwest-1"))
|
|
99
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "required")
|
|
100
|
+
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this region"
|
|
101
|
+
end
|
|
102
|
+
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
103
|
+
return Aws::Endpoints::Endpoint.new(url: "https://search-dynamodb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
104
|
+
end
|
|
105
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dynamodb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
106
|
+
end
|
|
107
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)) && Aws::Endpoints::Matchers.set?(parameters.resource_arn) && (parsed_arn = Aws::Endpoints::Matchers.aws_parse_arn(parameters.resource_arn)) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_arn, "service"), "dynamodb") && Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(parsed_arn, "region"), false) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_arn, "region"), "#{parameters.region}") && Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(parsed_arn, "accountId"), false)
|
|
84
108
|
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
85
109
|
return Aws::Endpoints::Endpoint.new(url: "https://#{parsed_arn['accountId']}.search-ddb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"metricValues" => ["O"]}, metadata: { account_id_endpoint: false })
|
|
86
110
|
end
|
|
87
111
|
return Aws::Endpoints::Endpoint.new(url: "https://#{parsed_arn['accountId']}.ddb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"metricValues" => ["O"]}, metadata: { account_id_endpoint: false })
|
|
88
112
|
end
|
|
89
|
-
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.
|
|
113
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)) && Aws::Endpoints::Matchers.set?(parameters.resource_arn_list) && (first_arn = Aws::Endpoints::Matchers.attr(parameters.resource_arn_list, "[0]")) && (parsed_arn = Aws::Endpoints::Matchers.aws_parse_arn(first_arn)) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_arn, "service"), "dynamodb") && Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(parsed_arn, "region"), false) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_arn, "region"), "#{parameters.region}") && Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(parsed_arn, "accountId"), false)
|
|
90
114
|
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
91
115
|
return Aws::Endpoints::Endpoint.new(url: "https://#{parsed_arn['accountId']}.search-ddb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"metricValues" => ["O"]}, metadata: { account_id_endpoint: false })
|
|
92
116
|
end
|
|
93
117
|
return Aws::Endpoints::Endpoint.new(url: "https://#{parsed_arn['accountId']}.ddb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"metricValues" => ["O"]}, metadata: { account_id_endpoint: false })
|
|
94
118
|
end
|
|
95
|
-
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.
|
|
119
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)) && Aws::Endpoints::Matchers.set?(parameters.account_id)
|
|
96
120
|
if Aws::Endpoints::Matchers.valid_host_label?(parameters.account_id, false)
|
|
97
121
|
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
98
122
|
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.account_id}.search-ddb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"metricValues" => ["O"]}, metadata: { account_id_endpoint: true })
|
|
@@ -102,13 +126,7 @@ module Aws::DynamoDB
|
|
|
102
126
|
raise ArgumentError, "Credentials-sourced account ID parameter is invalid"
|
|
103
127
|
end
|
|
104
128
|
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "required")
|
|
105
|
-
|
|
106
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
|
|
107
|
-
raise ArgumentError, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded"
|
|
108
|
-
end
|
|
109
|
-
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition"
|
|
110
|
-
end
|
|
111
|
-
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"
|
|
129
|
+
raise ArgumentError, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded"
|
|
112
130
|
end
|
|
113
131
|
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
114
132
|
return Aws::Endpoints::Endpoint.new(url: "https://search-dynamodb.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
@@ -117,19 +135,28 @@ module Aws::DynamoDB
|
|
|
117
135
|
end
|
|
118
136
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
119
137
|
end
|
|
120
|
-
if Aws::Endpoints::Matchers.
|
|
138
|
+
if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-east-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-gov-west-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "cn-north-1")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.region, "cn-northwest-1"))
|
|
139
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "required")
|
|
140
|
+
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this region"
|
|
141
|
+
end
|
|
142
|
+
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
143
|
+
return Aws::Endpoints::Endpoint.new(url: "https://search-dynamodb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
144
|
+
end
|
|
145
|
+
return Aws::Endpoints::Endpoint.new(url: "https://dynamodb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
146
|
+
end
|
|
147
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)) && Aws::Endpoints::Matchers.set?(parameters.resource_arn) && (parsed_arn = Aws::Endpoints::Matchers.aws_parse_arn(parameters.resource_arn)) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_arn, "service"), "dynamodb") && Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(parsed_arn, "region"), false) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_arn, "region"), "#{parameters.region}") && Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(parsed_arn, "accountId"), false)
|
|
121
148
|
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
122
149
|
return Aws::Endpoints::Endpoint.new(url: "https://#{parsed_arn['accountId']}.search-ddb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"metricValues" => ["O"]}, metadata: { account_id_endpoint: false })
|
|
123
150
|
end
|
|
124
151
|
return Aws::Endpoints::Endpoint.new(url: "https://#{parsed_arn['accountId']}.ddb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"metricValues" => ["O"]}, metadata: { account_id_endpoint: false })
|
|
125
152
|
end
|
|
126
|
-
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.
|
|
153
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)) && Aws::Endpoints::Matchers.set?(parameters.resource_arn_list) && (first_arn = Aws::Endpoints::Matchers.attr(parameters.resource_arn_list, "[0]")) && (parsed_arn = Aws::Endpoints::Matchers.aws_parse_arn(first_arn)) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_arn, "service"), "dynamodb") && Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(parsed_arn, "region"), false) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(parsed_arn, "region"), "#{parameters.region}") && Aws::Endpoints::Matchers.valid_host_label?(Aws::Endpoints::Matchers.attr(parsed_arn, "accountId"), false)
|
|
127
154
|
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
128
155
|
return Aws::Endpoints::Endpoint.new(url: "https://#{parsed_arn['accountId']}.search-ddb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"metricValues" => ["O"]}, metadata: { account_id_endpoint: false })
|
|
129
156
|
end
|
|
130
157
|
return Aws::Endpoints::Endpoint.new(url: "https://#{parsed_arn['accountId']}.ddb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"metricValues" => ["O"]}, metadata: { account_id_endpoint: false })
|
|
131
158
|
end
|
|
132
|
-
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.
|
|
159
|
+
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "disabled")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)) && Aws::Endpoints::Matchers.set?(parameters.account_id)
|
|
133
160
|
if Aws::Endpoints::Matchers.valid_host_label?(parameters.account_id, false)
|
|
134
161
|
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
135
162
|
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.account_id}.search-ddb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"metricValues" => ["O"]}, metadata: { account_id_endpoint: true })
|
|
@@ -139,13 +166,7 @@ module Aws::DynamoDB
|
|
|
139
166
|
raise ArgumentError, "Credentials-sourced account ID parameter is invalid"
|
|
140
167
|
end
|
|
141
168
|
if Aws::Endpoints::Matchers.set?(parameters.account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(parameters.account_id_endpoint_mode, "required")
|
|
142
|
-
|
|
143
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
|
|
144
|
-
raise ArgumentError, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded"
|
|
145
|
-
end
|
|
146
|
-
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition"
|
|
147
|
-
end
|
|
148
|
-
raise ArgumentError, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"
|
|
169
|
+
raise ArgumentError, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded"
|
|
149
170
|
end
|
|
150
171
|
if Aws::Endpoints::Matchers.set?(parameters.is_search_operation) && Aws::Endpoints::Matchers.boolean_equals?(parameters.is_search_operation, true)
|
|
151
172
|
return Aws::Endpoints::Endpoint.new(url: "https://search-dynamodb.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}, metadata: { account_id_endpoint: false })
|
|
@@ -3825,6 +3825,12 @@ module Aws::DynamoDB
|
|
|
3825
3825
|
# export.
|
|
3826
3826
|
# @return [Types::IncrementalExportSpecification]
|
|
3827
3827
|
#
|
|
3828
|
+
# @!attribute [rw] filter_specification
|
|
3829
|
+
# The filter criteria applied to the export. When present, only items
|
|
3830
|
+
# that match the specified key conditions and filter expressions are
|
|
3831
|
+
# included in the export output.
|
|
3832
|
+
# @return [Types::FilterSpecification]
|
|
3833
|
+
#
|
|
3828
3834
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportDescription AWS API Documentation
|
|
3829
3835
|
#
|
|
3830
3836
|
class ExportDescription < Struct.new(
|
|
@@ -3848,7 +3854,8 @@ module Aws::DynamoDB
|
|
|
3848
3854
|
:billed_size_bytes,
|
|
3849
3855
|
:item_count,
|
|
3850
3856
|
:export_type,
|
|
3851
|
-
:incremental_export_specification
|
|
3857
|
+
:incremental_export_specification,
|
|
3858
|
+
:filter_specification)
|
|
3852
3859
|
SENSITIVE = []
|
|
3853
3860
|
include Aws::Structure
|
|
3854
3861
|
end
|
|
@@ -3971,6 +3978,12 @@ module Aws::DynamoDB
|
|
|
3971
3978
|
# export.
|
|
3972
3979
|
# @return [Types::IncrementalExportSpecification]
|
|
3973
3980
|
#
|
|
3981
|
+
# @!attribute [rw] filter_specification
|
|
3982
|
+
# The criteria used to filter which items are included in the
|
|
3983
|
+
# point-in-time export. When you specify this parameter, only items
|
|
3984
|
+
# that match the key conditions and filter expressions are exported.
|
|
3985
|
+
# @return [Types::FilterSpecification]
|
|
3986
|
+
#
|
|
3974
3987
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTimeInput AWS API Documentation
|
|
3975
3988
|
#
|
|
3976
3989
|
class ExportTableToPointInTimeInput < Struct.new(
|
|
@@ -3984,7 +3997,8 @@ module Aws::DynamoDB
|
|
|
3984
3997
|
:s3_sse_kms_key_id,
|
|
3985
3998
|
:export_format,
|
|
3986
3999
|
:export_type,
|
|
3987
|
-
:incremental_export_specification
|
|
4000
|
+
:incremental_export_specification,
|
|
4001
|
+
:filter_specification)
|
|
3988
4002
|
SENSITIVE = []
|
|
3989
4003
|
include Aws::Structure
|
|
3990
4004
|
end
|
|
@@ -4020,6 +4034,66 @@ module Aws::DynamoDB
|
|
|
4020
4034
|
include Aws::Structure
|
|
4021
4035
|
end
|
|
4022
4036
|
|
|
4037
|
+
# Contains the filter criteria used to limit which items are included in
|
|
4038
|
+
# an export. If you don't include this parameter, all items and
|
|
4039
|
+
# attributes are exported.
|
|
4040
|
+
#
|
|
4041
|
+
# @!attribute [rw] filter_expression
|
|
4042
|
+
# A condition that filters which items are included in the export.
|
|
4043
|
+
# This parameter uses the same syntax as `FilterExpression` in `Query`
|
|
4044
|
+
# and `Scan`. If you don't provide `KeyConditionExpression`, this
|
|
4045
|
+
# expression can also reference key attributes. If you don't specify
|
|
4046
|
+
# this parameter, all items are included in the export.
|
|
4047
|
+
# @return [String]
|
|
4048
|
+
#
|
|
4049
|
+
# @!attribute [rw] projection_expression
|
|
4050
|
+
# The attributes you want to retrieve for items included in the
|
|
4051
|
+
# export. Separate attribute names in the expression with commas. If
|
|
4052
|
+
# you don't specify this parameter, all attributes are returned.
|
|
4053
|
+
# @return [String]
|
|
4054
|
+
#
|
|
4055
|
+
# @!attribute [rw] key_condition_expression
|
|
4056
|
+
# A condition expression that filters items by key values. The
|
|
4057
|
+
# expression must test equality on a single partition key value and
|
|
4058
|
+
# can optionally compare a sort key value. This parameter uses the
|
|
4059
|
+
# same syntax as `KeyConditionExpression` in `Query`. When you provide
|
|
4060
|
+
# this parameter, `FilterExpression` can only reference non-key
|
|
4061
|
+
# attributes. If you don't specify this parameter, all items are
|
|
4062
|
+
# eligible for export.
|
|
4063
|
+
# @return [String]
|
|
4064
|
+
#
|
|
4065
|
+
# @!attribute [rw] expression_attribute_names
|
|
4066
|
+
# One or more substitution tokens for attribute names in an
|
|
4067
|
+
# expression. For more information, see [Expression Attribute
|
|
4068
|
+
# Names][1] in the Amazon DynamoDB Developer Guide.
|
|
4069
|
+
#
|
|
4070
|
+
#
|
|
4071
|
+
#
|
|
4072
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ExpressionAttributeNames.html
|
|
4073
|
+
# @return [Hash<String,String>]
|
|
4074
|
+
#
|
|
4075
|
+
# @!attribute [rw] expression_attribute_values
|
|
4076
|
+
# One or more values that can be substituted in an expression. For
|
|
4077
|
+
# more information, see [Expression Attribute Values][1] in the Amazon
|
|
4078
|
+
# DynamoDB Developer Guide.
|
|
4079
|
+
#
|
|
4080
|
+
#
|
|
4081
|
+
#
|
|
4082
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ExpressionAttributeValues.html
|
|
4083
|
+
# @return [Hash<String,Types::AttributeValue>]
|
|
4084
|
+
#
|
|
4085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/FilterSpecification AWS API Documentation
|
|
4086
|
+
#
|
|
4087
|
+
class FilterSpecification < Struct.new(
|
|
4088
|
+
:filter_expression,
|
|
4089
|
+
:projection_expression,
|
|
4090
|
+
:key_condition_expression,
|
|
4091
|
+
:expression_attribute_names,
|
|
4092
|
+
:expression_attribute_values)
|
|
4093
|
+
SENSITIVE = []
|
|
4094
|
+
include Aws::Structure
|
|
4095
|
+
end
|
|
4096
|
+
|
|
4023
4097
|
# Specifies an item and related attribute values to retrieve in a
|
|
4024
4098
|
# `TransactGetItem` object.
|
|
4025
4099
|
#
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -520,6 +520,13 @@ module Aws
|
|
|
520
520
|
export_from_time: ::Time?,
|
|
521
521
|
export_to_time: ::Time?,
|
|
522
522
|
export_view_type: ("NEW_IMAGE" | "NEW_AND_OLD_IMAGES")?
|
|
523
|
+
},
|
|
524
|
+
?filter_specification: {
|
|
525
|
+
filter_expression: ::String?,
|
|
526
|
+
projection_expression: ::String?,
|
|
527
|
+
key_condition_expression: ::String?,
|
|
528
|
+
expression_attribute_names: Hash[::String, ::String]?,
|
|
529
|
+
expression_attribute_values: Hash[::String, Params::attribute_value]?
|
|
523
530
|
}
|
|
524
531
|
) -> _ExportTableToPointInTimeResponseSuccess
|
|
525
532
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportTableToPointInTimeResponseSuccess
|
data/sig/errors.rbs
CHANGED
|
@@ -11,111 +11,111 @@ module Aws
|
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class BackupInUseException <
|
|
14
|
+
class BackupInUseException < ServiceError
|
|
15
15
|
def message: () -> ::String
|
|
16
16
|
end
|
|
17
|
-
class BackupNotFoundException <
|
|
17
|
+
class BackupNotFoundException < ServiceError
|
|
18
18
|
def message: () -> ::String
|
|
19
19
|
end
|
|
20
|
-
class ConditionalCheckFailedException <
|
|
20
|
+
class ConditionalCheckFailedException < ServiceError
|
|
21
21
|
def message: () -> ::String
|
|
22
22
|
def item: () -> ::String
|
|
23
23
|
end
|
|
24
|
-
class ContinuousBackupsUnavailableException <
|
|
24
|
+
class ContinuousBackupsUnavailableException < ServiceError
|
|
25
25
|
def message: () -> ::String
|
|
26
26
|
end
|
|
27
|
-
class DuplicateItemException <
|
|
27
|
+
class DuplicateItemException < ServiceError
|
|
28
28
|
def message: () -> ::String
|
|
29
29
|
end
|
|
30
|
-
class ExportConflictException <
|
|
30
|
+
class ExportConflictException < ServiceError
|
|
31
31
|
def message: () -> ::String
|
|
32
32
|
end
|
|
33
|
-
class ExportNotFoundException <
|
|
33
|
+
class ExportNotFoundException < ServiceError
|
|
34
34
|
def message: () -> ::String
|
|
35
35
|
end
|
|
36
|
-
class GlobalTableAlreadyExistsException <
|
|
36
|
+
class GlobalTableAlreadyExistsException < ServiceError
|
|
37
37
|
def message: () -> ::String
|
|
38
38
|
end
|
|
39
|
-
class GlobalTableNotFoundException <
|
|
39
|
+
class GlobalTableNotFoundException < ServiceError
|
|
40
40
|
def message: () -> ::String
|
|
41
41
|
end
|
|
42
|
-
class IdempotentParameterMismatchException <
|
|
42
|
+
class IdempotentParameterMismatchException < ServiceError
|
|
43
43
|
def message: () -> ::String
|
|
44
44
|
end
|
|
45
|
-
class ImportConflictException <
|
|
45
|
+
class ImportConflictException < ServiceError
|
|
46
46
|
def message: () -> ::String
|
|
47
47
|
end
|
|
48
|
-
class ImportNotFoundException <
|
|
48
|
+
class ImportNotFoundException < ServiceError
|
|
49
49
|
def message: () -> ::String
|
|
50
50
|
end
|
|
51
|
-
class IndexNotFoundException <
|
|
51
|
+
class IndexNotFoundException < ServiceError
|
|
52
52
|
def message: () -> ::String
|
|
53
53
|
end
|
|
54
|
-
class InternalServerError <
|
|
54
|
+
class InternalServerError < ServiceError
|
|
55
55
|
def message: () -> ::String
|
|
56
56
|
end
|
|
57
|
-
class InvalidExportTimeException <
|
|
57
|
+
class InvalidExportTimeException < ServiceError
|
|
58
58
|
def message: () -> ::String
|
|
59
59
|
end
|
|
60
|
-
class InvalidRestoreTimeException <
|
|
60
|
+
class InvalidRestoreTimeException < ServiceError
|
|
61
61
|
def message: () -> ::String
|
|
62
62
|
end
|
|
63
|
-
class ItemCollectionSizeLimitExceededException <
|
|
63
|
+
class ItemCollectionSizeLimitExceededException < ServiceError
|
|
64
64
|
def message: () -> ::String
|
|
65
65
|
end
|
|
66
|
-
class LimitExceededException <
|
|
66
|
+
class LimitExceededException < ServiceError
|
|
67
67
|
def message: () -> ::String
|
|
68
68
|
end
|
|
69
|
-
class PointInTimeRecoveryUnavailableException <
|
|
69
|
+
class PointInTimeRecoveryUnavailableException < ServiceError
|
|
70
70
|
def message: () -> ::String
|
|
71
71
|
end
|
|
72
|
-
class PolicyNotFoundException <
|
|
72
|
+
class PolicyNotFoundException < ServiceError
|
|
73
73
|
def message: () -> ::String
|
|
74
74
|
end
|
|
75
|
-
class ProvisionedThroughputExceededException <
|
|
75
|
+
class ProvisionedThroughputExceededException < ServiceError
|
|
76
76
|
def message: () -> ::String
|
|
77
77
|
def throttling_reasons: () -> ::String
|
|
78
78
|
end
|
|
79
|
-
class ReplicaAlreadyExistsException <
|
|
79
|
+
class ReplicaAlreadyExistsException < ServiceError
|
|
80
80
|
def message: () -> ::String
|
|
81
81
|
end
|
|
82
|
-
class ReplicaNotFoundException <
|
|
82
|
+
class ReplicaNotFoundException < ServiceError
|
|
83
83
|
def message: () -> ::String
|
|
84
84
|
end
|
|
85
|
-
class ReplicatedWriteConflictException <
|
|
85
|
+
class ReplicatedWriteConflictException < ServiceError
|
|
86
86
|
def message: () -> ::String
|
|
87
87
|
end
|
|
88
|
-
class RequestLimitExceeded <
|
|
88
|
+
class RequestLimitExceeded < ServiceError
|
|
89
89
|
def message: () -> ::String
|
|
90
90
|
def throttling_reasons: () -> ::String
|
|
91
91
|
end
|
|
92
|
-
class ResourceInUseException <
|
|
92
|
+
class ResourceInUseException < ServiceError
|
|
93
93
|
def message: () -> ::String
|
|
94
94
|
end
|
|
95
|
-
class ResourceNotFoundException <
|
|
95
|
+
class ResourceNotFoundException < ServiceError
|
|
96
96
|
def message: () -> ::String
|
|
97
97
|
end
|
|
98
|
-
class TableAlreadyExistsException <
|
|
98
|
+
class TableAlreadyExistsException < ServiceError
|
|
99
99
|
def message: () -> ::String
|
|
100
100
|
end
|
|
101
|
-
class TableInUseException <
|
|
101
|
+
class TableInUseException < ServiceError
|
|
102
102
|
def message: () -> ::String
|
|
103
103
|
end
|
|
104
|
-
class TableNotFoundException <
|
|
104
|
+
class TableNotFoundException < ServiceError
|
|
105
105
|
def message: () -> ::String
|
|
106
106
|
end
|
|
107
|
-
class ThrottlingException <
|
|
107
|
+
class ThrottlingException < ServiceError
|
|
108
108
|
def message: () -> ::String
|
|
109
109
|
def throttling_reasons: () -> ::String
|
|
110
110
|
end
|
|
111
|
-
class TransactionCanceledException <
|
|
111
|
+
class TransactionCanceledException < ServiceError
|
|
112
112
|
def message: () -> ::String
|
|
113
113
|
def cancellation_reasons: () -> ::String
|
|
114
114
|
end
|
|
115
|
-
class TransactionConflictException <
|
|
115
|
+
class TransactionConflictException < ServiceError
|
|
116
116
|
def message: () -> ::String
|
|
117
117
|
end
|
|
118
|
-
class TransactionInProgressException <
|
|
118
|
+
class TransactionInProgressException < ServiceError
|
|
119
119
|
def message: () -> ::String
|
|
120
120
|
end
|
|
121
121
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -672,6 +672,7 @@ module Aws::DynamoDB
|
|
|
672
672
|
attr_accessor item_count: ::Integer
|
|
673
673
|
attr_accessor export_type: ("FULL_EXPORT" | "INCREMENTAL_EXPORT")
|
|
674
674
|
attr_accessor incremental_export_specification: Types::IncrementalExportSpecification
|
|
675
|
+
attr_accessor filter_specification: Types::FilterSpecification
|
|
675
676
|
SENSITIVE: []
|
|
676
677
|
end
|
|
677
678
|
|
|
@@ -699,6 +700,7 @@ module Aws::DynamoDB
|
|
|
699
700
|
attr_accessor export_format: ("DYNAMODB_JSON" | "ION")
|
|
700
701
|
attr_accessor export_type: ("FULL_EXPORT" | "INCREMENTAL_EXPORT")
|
|
701
702
|
attr_accessor incremental_export_specification: Types::IncrementalExportSpecification
|
|
703
|
+
attr_accessor filter_specification: Types::FilterSpecification
|
|
702
704
|
SENSITIVE: []
|
|
703
705
|
end
|
|
704
706
|
|
|
@@ -713,6 +715,15 @@ module Aws::DynamoDB
|
|
|
713
715
|
SENSITIVE: []
|
|
714
716
|
end
|
|
715
717
|
|
|
718
|
+
class FilterSpecification
|
|
719
|
+
attr_accessor filter_expression: ::String
|
|
720
|
+
attr_accessor projection_expression: ::String
|
|
721
|
+
attr_accessor key_condition_expression: ::String
|
|
722
|
+
attr_accessor expression_attribute_names: ::Hash[::String, ::String]
|
|
723
|
+
attr_accessor expression_attribute_values: ::Hash[::String, Types::AttributeValue]
|
|
724
|
+
SENSITIVE: []
|
|
725
|
+
end
|
|
726
|
+
|
|
716
727
|
class Get
|
|
717
728
|
attr_accessor key: ::Hash[::String, Types::AttributeValue]
|
|
718
729
|
attr_accessor table_name: ::String
|
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.176.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.258.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.258.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|