aws-sdk-dynamodb 1.174.0 → 1.175.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 +31 -1
- data/lib/aws-sdk-dynamodb/client_api.rb +10 -0
- data/lib/aws-sdk-dynamodb/endpoint_provider.rb +1 -1
- 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/types.rbs +11 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e40e2d90193c4021aa01bd0b943af823016a49ebf5fdd8b30010926679618310
|
|
4
|
+
data.tar.gz: 0be08dfccf3069dac130227e1bb89415a9665f9f625562c4caef2f4d5e42e159
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 193b7c53999f72f4078b18257fad145f9874554db7be57bfce58398ab1cb5cefd6179001031d04253367f09b43c60260d0d4c59d05d27ee3d183bd33ec750c94
|
|
7
|
+
data.tar.gz: ca3709820dceecd625605a24bdfcab2d8b3065ebdb90af018487cddbbcddd3255558b253cd66e17fb0bcf025039ffcb1a56de6496e9d16ed4edce23d5d1c1175
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.175.0 (2026-09-30)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for filtering exported table data using FilterExpression, ProjectionExpression and KeyConditionExpression with ExportTableToPointInTime.
|
|
8
|
+
|
|
4
9
|
1.174.0 (2026-09-11)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.175.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.175.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"))
|
|
@@ -43,7 +43,7 @@ module Aws::DynamoDB
|
|
|
43
43
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
44
44
|
raise ArgumentError, "Invalid Configuration: Dualstack and local endpoint are not supported"
|
|
45
45
|
end
|
|
46
|
-
return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes" => [{"signingRegion" => "us-east-1", "
|
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes" => [{"signingRegion" => "us-east-1", "signingName" => "dynamodb", "name" => "sigv4"}]}, metadata: { account_id_endpoint: false })
|
|
47
47
|
end
|
|
48
48
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
49
49
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) && Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
|
|
@@ -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/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
|