aws-sdk-dynamodb 1.166.0 → 1.167.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9dab2e6b093bb2b8706d0b9f405ea7316e89ae6c636ad2b9bc683283565499f
4
- data.tar.gz: cc7e37ec8f1aca4436fe6eae04add65d659b5149992f67dc6721c3015a6c98d1
3
+ metadata.gz: 78719eddc7de7a0bd072a698545edaa98bcb5050fc96c675f6da90f268bab7b2
4
+ data.tar.gz: a7a379e38e84ebbbf5c6e58ae875aa86a8ed9a7a5aba4f712bbbc2e3c43a9033
5
5
  SHA512:
6
- metadata.gz: fd3514c42df90e2f895a731dade9500d804454ea1d192e73c8b149b6350815535b5d9b4db3a7dd581d1e40d18dc6f9ed03ca6828857985a50a793e7f5644b33d
7
- data.tar.gz: 132a444cbf99bd076f94d90c8700767096f28a52eacfa839c9ff1961c1d51fb7f78fb37924223cf9c1a0a5b5b238e77a6f1e84950c9298df5402530ff4c2d1e9
6
+ metadata.gz: 9597c0d77d159c4206ddaa409ace1219b90758402ce4915facf7945c3ffa98fa597b440f3667663a7f0a3f92383d5ff36d1d554da1dc06f1ae5d779ecf77d9fa
7
+ data.tar.gz: 9b73735722b078a56eff1e2190424c8c977a84f36d2f3baa182d71a2e6eb1317dc4ef49ba8ee6d4417b17ad4d7054fdbf48f3ba6043b4aac54e952f566e38f9f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.167.0 (2026-05-19)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.166.0 (2026-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.166.0
1
+ 1.167.0
@@ -8754,7 +8754,7 @@ module Aws::DynamoDB
8754
8754
  tracer: tracer
8755
8755
  )
8756
8756
  context[:gem_name] = 'aws-sdk-dynamodb'
8757
- context[:gem_version] = '1.166.0'
8757
+ context[:gem_version] = '1.167.0'
8758
8758
  Seahorse::Client::Request.new(handlers, context)
8759
8759
  end
8760
8760
 
@@ -56,7 +56,7 @@ module Aws::DynamoDB
56
56
  autoload :Endpoints, 'aws-sdk-dynamodb/endpoints'
57
57
  autoload :Table, 'aws-sdk-dynamodb/table'
58
58
 
59
- GEM_VERSION = '1.166.0'
59
+ GEM_VERSION = '1.167.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -92,10 +92,10 @@ module Aws
92
92
  statements: Array[
93
93
  {
94
94
  statement: ::String,
95
- parameters: Array[untyped]?,
95
+ parameters: Array[Params::attribute_value]?,
96
96
  consistent_read: bool?,
97
97
  return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")?
98
- },
98
+ }
99
99
  ],
100
100
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE")
101
101
  ) -> _BatchExecuteStatementResponseSuccess
@@ -111,7 +111,7 @@ module Aws
111
111
  def batch_get_item: (
112
112
  request_items: Hash[::String, {
113
113
  keys: Array[
114
- Hash[::String, untyped],
114
+ Hash[::String, Params::attribute_value]
115
115
  ],
116
116
  attributes_to_get: Array[::String]?,
117
117
  consistent_read: bool?,
@@ -133,12 +133,12 @@ module Aws
133
133
  request_items: Hash[::String, Array[
134
134
  {
135
135
  put_request: {
136
- item: Hash[::String, untyped]
136
+ item: Hash[::String, Params::attribute_value]
137
137
  }?,
138
138
  delete_request: {
139
- key: Hash[::String, untyped]
139
+ key: Hash[::String, Params::attribute_value]
140
140
  }?
141
- },
141
+ }
142
142
  ]],
143
143
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
144
144
  ?return_item_collection_metrics: ("SIZE" | "NONE")
@@ -166,7 +166,7 @@ module Aws
166
166
  replication_group: Array[
167
167
  {
168
168
  region_name: ::String?
169
- },
169
+ }
170
170
  ]
171
171
  ) -> _CreateGlobalTableResponseSuccess
172
172
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGlobalTableResponseSuccess
@@ -181,56 +181,20 @@ module Aws
181
181
  {
182
182
  attribute_name: ::String,
183
183
  attribute_type: ("S" | "N" | "B")
184
- },
184
+ }
185
185
  ],
186
186
  table_name: ::String,
187
187
  ?key_schema: Array[
188
188
  {
189
189
  attribute_name: ::String,
190
190
  key_type: ("HASH" | "RANGE")
191
- },
191
+ }
192
192
  ],
193
193
  ?local_secondary_indexes: Array[
194
- {
195
- index_name: ::String,
196
- key_schema: Array[
197
- {
198
- attribute_name: ::String,
199
- key_type: ("HASH" | "RANGE")
200
- },
201
- ],
202
- projection: {
203
- projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
204
- non_key_attributes: Array[::String]?
205
- }
206
- },
194
+ Params::local_secondary_index
207
195
  ],
208
196
  ?global_secondary_indexes: Array[
209
- {
210
- index_name: ::String,
211
- key_schema: Array[
212
- {
213
- attribute_name: ::String,
214
- key_type: ("HASH" | "RANGE")
215
- },
216
- ],
217
- projection: {
218
- projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
219
- non_key_attributes: Array[::String]?
220
- },
221
- provisioned_throughput: {
222
- read_capacity_units: ::Integer,
223
- write_capacity_units: ::Integer
224
- }?,
225
- on_demand_throughput: {
226
- max_read_request_units: ::Integer?,
227
- max_write_request_units: ::Integer?
228
- }?,
229
- warm_throughput: {
230
- read_units_per_second: ::Integer?,
231
- write_units_per_second: ::Integer?
232
- }?
233
- },
197
+ Params::global_secondary_index
234
198
  ],
235
199
  ?billing_mode: ("PROVISIONED" | "PAY_PER_REQUEST"),
236
200
  ?provisioned_throughput: {
@@ -250,7 +214,7 @@ module Aws
250
214
  {
251
215
  key: ::String,
252
216
  value: ::String
253
- },
217
+ }
254
218
  ],
255
219
  ?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
256
220
  ?deletion_protection_enabled: bool,
@@ -287,20 +251,15 @@ module Aws
287
251
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#delete_item-instance_method
288
252
  def delete_item: (
289
253
  table_name: ::String,
290
- key: Hash[::String, untyped],
291
- ?expected: Hash[::String, {
292
- value: untyped?,
293
- exists: bool?,
294
- comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")?,
295
- attribute_value_list: Array[untyped]?
296
- }],
254
+ key: Hash[::String, Params::attribute_value],
255
+ ?expected: Hash[::String, Params::expected_attribute_value],
297
256
  ?conditional_operator: ("AND" | "OR"),
298
257
  ?return_values: ("NONE" | "ALL_OLD" | "UPDATED_OLD" | "ALL_NEW" | "UPDATED_NEW"),
299
258
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
300
259
  ?return_item_collection_metrics: ("SIZE" | "NONE"),
301
260
  ?condition_expression: ::String,
302
261
  ?expression_attribute_names: Hash[::String, ::String],
303
- ?expression_attribute_values: Hash[::String, untyped],
262
+ ?expression_attribute_values: Hash[::String, Params::attribute_value],
304
263
  ?return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")
305
264
  ) -> _DeleteItemResponseSuccess
306
265
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteItemResponseSuccess
@@ -510,7 +469,7 @@ module Aws
510
469
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#execute_statement-instance_method
511
470
  def execute_statement: (
512
471
  statement: ::String,
513
- ?parameters: Array[untyped],
472
+ ?parameters: Array[Params::attribute_value],
514
473
  ?consistent_read: bool,
515
474
  ?next_token: ::String,
516
475
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
@@ -529,9 +488,9 @@ module Aws
529
488
  transact_statements: Array[
530
489
  {
531
490
  statement: ::String,
532
- parameters: Array[untyped]?,
491
+ parameters: Array[Params::attribute_value]?,
533
492
  return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")?
534
- },
493
+ }
535
494
  ],
536
495
  ?client_request_token: ::String,
537
496
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE")
@@ -570,7 +529,7 @@ module Aws
570
529
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#get_item-instance_method
571
530
  def get_item: (
572
531
  table_name: ::String,
573
- key: Hash[::String, untyped],
532
+ key: Hash[::String, Params::attribute_value],
574
533
  ?attributes_to_get: Array[::String],
575
534
  ?consistent_read: bool,
576
535
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
@@ -616,13 +575,13 @@ module Aws
616
575
  {
617
576
  attribute_name: ::String,
618
577
  attribute_type: ("S" | "N" | "B")
619
- },
578
+ }
620
579
  ],
621
580
  key_schema: Array[
622
581
  {
623
582
  attribute_name: ::String,
624
583
  key_type: ("HASH" | "RANGE")
625
- },
584
+ }
626
585
  ],
627
586
  billing_mode: ("PROVISIONED" | "PAY_PER_REQUEST")?,
628
587
  provisioned_throughput: {
@@ -639,31 +598,7 @@ module Aws
639
598
  kms_master_key_id: ::String?
640
599
  }?,
641
600
  global_secondary_indexes: Array[
642
- {
643
- index_name: ::String,
644
- key_schema: Array[
645
- {
646
- attribute_name: ::String,
647
- key_type: ("HASH" | "RANGE")
648
- },
649
- ],
650
- projection: {
651
- projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
652
- non_key_attributes: Array[::String]?
653
- },
654
- provisioned_throughput: {
655
- read_capacity_units: ::Integer,
656
- write_capacity_units: ::Integer
657
- }?,
658
- on_demand_throughput: {
659
- max_read_request_units: ::Integer?,
660
- max_write_request_units: ::Integer?
661
- }?,
662
- warm_throughput: {
663
- read_units_per_second: ::Integer?,
664
- write_units_per_second: ::Integer?
665
- }?
666
- },
601
+ Params::global_secondary_index
667
602
  ]?
668
603
  }
669
604
  ) -> _ImportTableResponseSuccess
@@ -770,20 +705,15 @@ module Aws
770
705
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#put_item-instance_method
771
706
  def put_item: (
772
707
  table_name: ::String,
773
- item: Hash[::String, untyped],
774
- ?expected: Hash[::String, {
775
- value: untyped?,
776
- exists: bool?,
777
- comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")?,
778
- attribute_value_list: Array[untyped]?
779
- }],
708
+ item: Hash[::String, Params::attribute_value],
709
+ ?expected: Hash[::String, Params::expected_attribute_value],
780
710
  ?return_values: ("NONE" | "ALL_OLD" | "UPDATED_OLD" | "ALL_NEW" | "UPDATED_NEW"),
781
711
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
782
712
  ?return_item_collection_metrics: ("SIZE" | "NONE"),
783
713
  ?conditional_operator: ("AND" | "OR"),
784
714
  ?condition_expression: ::String,
785
715
  ?expression_attribute_names: Hash[::String, ::String],
786
- ?expression_attribute_values: Hash[::String, untyped],
716
+ ?expression_attribute_values: Hash[::String, Params::attribute_value],
787
717
  ?return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")
788
718
  ) -> _PutItemResponseSuccess
789
719
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutItemResponseSuccess
@@ -817,23 +747,17 @@ module Aws
817
747
  ?attributes_to_get: Array[::String],
818
748
  ?limit: ::Integer,
819
749
  ?consistent_read: bool,
820
- ?key_conditions: Hash[::String, {
821
- attribute_value_list: Array[untyped]?,
822
- comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")
823
- }],
824
- ?query_filter: Hash[::String, {
825
- attribute_value_list: Array[untyped]?,
826
- comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")
827
- }],
750
+ ?key_conditions: Hash[::String, Params::condition],
751
+ ?query_filter: Hash[::String, Params::condition],
828
752
  ?conditional_operator: ("AND" | "OR"),
829
753
  ?scan_index_forward: bool,
830
- ?exclusive_start_key: Hash[::String, untyped],
754
+ ?exclusive_start_key: Hash[::String, Params::attribute_value],
831
755
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
832
756
  ?projection_expression: ::String,
833
757
  ?filter_expression: ::String,
834
758
  ?key_condition_expression: ::String,
835
759
  ?expression_attribute_names: Hash[::String, ::String],
836
- ?expression_attribute_values: Hash[::String, untyped]
760
+ ?expression_attribute_values: Hash[::String, Params::attribute_value]
837
761
  ) -> _QueryResponseSuccess
838
762
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _QueryResponseSuccess
839
763
 
@@ -847,46 +771,10 @@ module Aws
847
771
  backup_arn: ::String,
848
772
  ?billing_mode_override: ("PROVISIONED" | "PAY_PER_REQUEST"),
849
773
  ?global_secondary_index_override: Array[
850
- {
851
- index_name: ::String,
852
- key_schema: Array[
853
- {
854
- attribute_name: ::String,
855
- key_type: ("HASH" | "RANGE")
856
- },
857
- ],
858
- projection: {
859
- projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
860
- non_key_attributes: Array[::String]?
861
- },
862
- provisioned_throughput: {
863
- read_capacity_units: ::Integer,
864
- write_capacity_units: ::Integer
865
- }?,
866
- on_demand_throughput: {
867
- max_read_request_units: ::Integer?,
868
- max_write_request_units: ::Integer?
869
- }?,
870
- warm_throughput: {
871
- read_units_per_second: ::Integer?,
872
- write_units_per_second: ::Integer?
873
- }?
874
- },
774
+ Params::global_secondary_index
875
775
  ],
876
776
  ?local_secondary_index_override: Array[
877
- {
878
- index_name: ::String,
879
- key_schema: Array[
880
- {
881
- attribute_name: ::String,
882
- key_type: ("HASH" | "RANGE")
883
- },
884
- ],
885
- projection: {
886
- projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
887
- non_key_attributes: Array[::String]?
888
- }
889
- },
777
+ Params::local_secondary_index
890
778
  ],
891
779
  ?provisioned_throughput_override: {
892
780
  read_capacity_units: ::Integer,
@@ -917,46 +805,10 @@ module Aws
917
805
  ?restore_date_time: ::Time,
918
806
  ?billing_mode_override: ("PROVISIONED" | "PAY_PER_REQUEST"),
919
807
  ?global_secondary_index_override: Array[
920
- {
921
- index_name: ::String,
922
- key_schema: Array[
923
- {
924
- attribute_name: ::String,
925
- key_type: ("HASH" | "RANGE")
926
- },
927
- ],
928
- projection: {
929
- projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
930
- non_key_attributes: Array[::String]?
931
- },
932
- provisioned_throughput: {
933
- read_capacity_units: ::Integer,
934
- write_capacity_units: ::Integer
935
- }?,
936
- on_demand_throughput: {
937
- max_read_request_units: ::Integer?,
938
- max_write_request_units: ::Integer?
939
- }?,
940
- warm_throughput: {
941
- read_units_per_second: ::Integer?,
942
- write_units_per_second: ::Integer?
943
- }?
944
- },
808
+ Params::global_secondary_index
945
809
  ],
946
810
  ?local_secondary_index_override: Array[
947
- {
948
- index_name: ::String,
949
- key_schema: Array[
950
- {
951
- attribute_name: ::String,
952
- key_type: ("HASH" | "RANGE")
953
- },
954
- ],
955
- projection: {
956
- projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
957
- non_key_attributes: Array[::String]?
958
- }
959
- },
811
+ Params::local_secondary_index
960
812
  ],
961
813
  ?provisioned_throughput_override: {
962
814
  read_capacity_units: ::Integer,
@@ -989,19 +841,16 @@ module Aws
989
841
  ?attributes_to_get: Array[::String],
990
842
  ?limit: ::Integer,
991
843
  ?select: ("ALL_ATTRIBUTES" | "ALL_PROJECTED_ATTRIBUTES" | "SPECIFIC_ATTRIBUTES" | "COUNT"),
992
- ?scan_filter: Hash[::String, {
993
- attribute_value_list: Array[untyped]?,
994
- comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")
995
- }],
844
+ ?scan_filter: Hash[::String, Params::condition],
996
845
  ?conditional_operator: ("AND" | "OR"),
997
- ?exclusive_start_key: Hash[::String, untyped],
846
+ ?exclusive_start_key: Hash[::String, Params::attribute_value],
998
847
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
999
848
  ?total_segments: ::Integer,
1000
849
  ?segment: ::Integer,
1001
850
  ?projection_expression: ::String,
1002
851
  ?filter_expression: ::String,
1003
852
  ?expression_attribute_names: Hash[::String, ::String],
1004
- ?expression_attribute_values: Hash[::String, untyped],
853
+ ?expression_attribute_values: Hash[::String, Params::attribute_value],
1005
854
  ?consistent_read: bool
1006
855
  ) -> _ScanResponseSuccess
1007
856
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ScanResponseSuccess
@@ -1013,7 +862,7 @@ module Aws
1013
862
  {
1014
863
  key: ::String,
1015
864
  value: ::String
1016
- },
865
+ }
1017
866
  ]
1018
867
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1019
868
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -1028,12 +877,12 @@ module Aws
1028
877
  transact_items: Array[
1029
878
  {
1030
879
  get: {
1031
- key: Hash[::String, untyped],
880
+ key: Hash[::String, Params::attribute_value],
1032
881
  table_name: ::String,
1033
882
  projection_expression: ::String?,
1034
883
  expression_attribute_names: Hash[::String, ::String]?
1035
884
  }
1036
- },
885
+ }
1037
886
  ],
1038
887
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE")
1039
888
  ) -> _TransactGetItemsResponseSuccess
@@ -1049,39 +898,39 @@ module Aws
1049
898
  transact_items: Array[
1050
899
  {
1051
900
  condition_check: {
1052
- key: Hash[::String, untyped],
901
+ key: Hash[::String, Params::attribute_value],
1053
902
  table_name: ::String,
1054
903
  condition_expression: ::String,
1055
904
  expression_attribute_names: Hash[::String, ::String]?,
1056
- expression_attribute_values: Hash[::String, untyped]?,
905
+ expression_attribute_values: Hash[::String, Params::attribute_value]?,
1057
906
  return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")?
1058
907
  }?,
1059
908
  put: {
1060
- item: Hash[::String, untyped],
909
+ item: Hash[::String, Params::attribute_value],
1061
910
  table_name: ::String,
1062
911
  condition_expression: ::String?,
1063
912
  expression_attribute_names: Hash[::String, ::String]?,
1064
- expression_attribute_values: Hash[::String, untyped]?,
913
+ expression_attribute_values: Hash[::String, Params::attribute_value]?,
1065
914
  return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")?
1066
915
  }?,
1067
916
  delete: {
1068
- key: Hash[::String, untyped],
917
+ key: Hash[::String, Params::attribute_value],
1069
918
  table_name: ::String,
1070
919
  condition_expression: ::String?,
1071
920
  expression_attribute_names: Hash[::String, ::String]?,
1072
- expression_attribute_values: Hash[::String, untyped]?,
921
+ expression_attribute_values: Hash[::String, Params::attribute_value]?,
1073
922
  return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")?
1074
923
  }?,
1075
924
  update: {
1076
- key: Hash[::String, untyped],
925
+ key: Hash[::String, Params::attribute_value],
1077
926
  update_expression: ::String,
1078
927
  table_name: ::String,
1079
928
  condition_expression: ::String?,
1080
929
  expression_attribute_names: Hash[::String, ::String]?,
1081
- expression_attribute_values: Hash[::String, untyped]?,
930
+ expression_attribute_values: Hash[::String, Params::attribute_value]?,
1082
931
  return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")?
1083
932
  }?
1084
- },
933
+ }
1085
934
  ],
1086
935
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
1087
936
  ?return_item_collection_metrics: ("SIZE" | "NONE"),
@@ -1141,7 +990,7 @@ module Aws
1141
990
  delete: {
1142
991
  region_name: ::String
1143
992
  }?
1144
- },
993
+ }
1145
994
  ]
1146
995
  ) -> _UpdateGlobalTableResponseSuccess
1147
996
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGlobalTableResponseSuccess
@@ -1156,84 +1005,28 @@ module Aws
1156
1005
  global_table_name: ::String,
1157
1006
  ?global_table_billing_mode: ("PROVISIONED" | "PAY_PER_REQUEST"),
1158
1007
  ?global_table_provisioned_write_capacity_units: ::Integer,
1159
- ?global_table_provisioned_write_capacity_auto_scaling_settings_update: {
1160
- minimum_units: ::Integer?,
1161
- maximum_units: ::Integer?,
1162
- auto_scaling_disabled: bool?,
1163
- auto_scaling_role_arn: ::String?,
1164
- scaling_policy_update: {
1165
- policy_name: ::String?,
1166
- target_tracking_scaling_policy_configuration: {
1167
- disable_scale_in: bool?,
1168
- scale_in_cooldown: ::Integer?,
1169
- scale_out_cooldown: ::Integer?,
1170
- target_value: ::Float
1171
- }
1172
- }?
1173
- },
1008
+ ?global_table_provisioned_write_capacity_auto_scaling_settings_update: Params::auto_scaling_settings_update,
1174
1009
  ?global_table_global_secondary_index_settings_update: Array[
1175
1010
  {
1176
1011
  index_name: ::String,
1177
1012
  provisioned_write_capacity_units: ::Integer?,
1178
- provisioned_write_capacity_auto_scaling_settings_update: {
1179
- minimum_units: ::Integer?,
1180
- maximum_units: ::Integer?,
1181
- auto_scaling_disabled: bool?,
1182
- auto_scaling_role_arn: ::String?,
1183
- scaling_policy_update: {
1184
- policy_name: ::String?,
1185
- target_tracking_scaling_policy_configuration: {
1186
- disable_scale_in: bool?,
1187
- scale_in_cooldown: ::Integer?,
1188
- scale_out_cooldown: ::Integer?,
1189
- target_value: ::Float
1190
- }
1191
- }?
1192
- }?
1193
- },
1013
+ provisioned_write_capacity_auto_scaling_settings_update: Params::auto_scaling_settings_update?
1014
+ }
1194
1015
  ],
1195
1016
  ?replica_settings_update: Array[
1196
1017
  {
1197
1018
  region_name: ::String,
1198
1019
  replica_provisioned_read_capacity_units: ::Integer?,
1199
- replica_provisioned_read_capacity_auto_scaling_settings_update: {
1200
- minimum_units: ::Integer?,
1201
- maximum_units: ::Integer?,
1202
- auto_scaling_disabled: bool?,
1203
- auto_scaling_role_arn: ::String?,
1204
- scaling_policy_update: {
1205
- policy_name: ::String?,
1206
- target_tracking_scaling_policy_configuration: {
1207
- disable_scale_in: bool?,
1208
- scale_in_cooldown: ::Integer?,
1209
- scale_out_cooldown: ::Integer?,
1210
- target_value: ::Float
1211
- }
1212
- }?
1213
- }?,
1020
+ replica_provisioned_read_capacity_auto_scaling_settings_update: Params::auto_scaling_settings_update?,
1214
1021
  replica_global_secondary_index_settings_update: Array[
1215
1022
  {
1216
1023
  index_name: ::String,
1217
1024
  provisioned_read_capacity_units: ::Integer?,
1218
- provisioned_read_capacity_auto_scaling_settings_update: {
1219
- minimum_units: ::Integer?,
1220
- maximum_units: ::Integer?,
1221
- auto_scaling_disabled: bool?,
1222
- auto_scaling_role_arn: ::String?,
1223
- scaling_policy_update: {
1224
- policy_name: ::String?,
1225
- target_tracking_scaling_policy_configuration: {
1226
- disable_scale_in: bool?,
1227
- scale_in_cooldown: ::Integer?,
1228
- scale_out_cooldown: ::Integer?,
1229
- target_value: ::Float
1230
- }
1231
- }?
1232
- }?
1233
- },
1025
+ provisioned_read_capacity_auto_scaling_settings_update: Params::auto_scaling_settings_update?
1026
+ }
1234
1027
  ]?,
1235
1028
  replica_table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")?
1236
- },
1029
+ }
1237
1030
  ]
1238
1031
  ) -> _UpdateGlobalTableSettingsResponseSuccess
1239
1032
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGlobalTableSettingsResponseSuccess
@@ -1247,17 +1040,12 @@ module Aws
1247
1040
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#update_item-instance_method
1248
1041
  def update_item: (
1249
1042
  table_name: ::String,
1250
- key: Hash[::String, untyped],
1043
+ key: Hash[::String, Params::attribute_value],
1251
1044
  ?attribute_updates: Hash[::String, {
1252
- value: untyped?,
1045
+ value: Params::attribute_value?,
1253
1046
  action: ("ADD" | "PUT" | "DELETE")?
1254
1047
  }],
1255
- ?expected: Hash[::String, {
1256
- value: untyped?,
1257
- exists: bool?,
1258
- comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")?,
1259
- attribute_value_list: Array[untyped]?
1260
- }],
1048
+ ?expected: Hash[::String, Params::expected_attribute_value],
1261
1049
  ?conditional_operator: ("AND" | "OR"),
1262
1050
  ?return_values: ("NONE" | "ALL_OLD" | "UPDATED_OLD" | "ALL_NEW" | "UPDATED_NEW"),
1263
1051
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
@@ -1265,7 +1053,7 @@ module Aws
1265
1053
  ?update_expression: ::String,
1266
1054
  ?condition_expression: ::String,
1267
1055
  ?expression_attribute_names: Hash[::String, ::String],
1268
- ?expression_attribute_values: Hash[::String, untyped],
1056
+ ?expression_attribute_values: Hash[::String, Params::attribute_value],
1269
1057
  ?return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")
1270
1058
  ) -> _UpdateItemResponseSuccess
1271
1059
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateItemResponseSuccess
@@ -1297,7 +1085,7 @@ module Aws
1297
1085
  {
1298
1086
  attribute_name: ::String,
1299
1087
  attribute_type: ("S" | "N" | "B")
1300
- },
1088
+ }
1301
1089
  ],
1302
1090
  table_name: ::String,
1303
1091
  ?billing_mode: ("PROVISIONED" | "PAY_PER_REQUEST"),
@@ -1328,7 +1116,7 @@ module Aws
1328
1116
  {
1329
1117
  attribute_name: ::String,
1330
1118
  key_type: ("HASH" | "RANGE")
1331
- },
1119
+ }
1332
1120
  ],
1333
1121
  projection: {
1334
1122
  projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
@@ -1350,7 +1138,7 @@ module Aws
1350
1138
  delete: {
1351
1139
  index_name: ::String
1352
1140
  }?
1353
- },
1141
+ }
1354
1142
  ],
1355
1143
  ?stream_specification: {
1356
1144
  stream_enabled: bool,
@@ -1373,15 +1161,7 @@ module Aws
1373
1161
  max_read_request_units: ::Integer?
1374
1162
  }?,
1375
1163
  global_secondary_indexes: Array[
1376
- {
1377
- index_name: ::String,
1378
- provisioned_throughput_override: {
1379
- read_capacity_units: ::Integer?
1380
- }?,
1381
- on_demand_throughput_override: {
1382
- max_read_request_units: ::Integer?
1383
- }?
1384
- },
1164
+ Params::replica_global_secondary_index
1385
1165
  ]?,
1386
1166
  table_class_override: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")?
1387
1167
  }?,
@@ -1395,22 +1175,14 @@ module Aws
1395
1175
  max_read_request_units: ::Integer?
1396
1176
  }?,
1397
1177
  global_secondary_indexes: Array[
1398
- {
1399
- index_name: ::String,
1400
- provisioned_throughput_override: {
1401
- read_capacity_units: ::Integer?
1402
- }?,
1403
- on_demand_throughput_override: {
1404
- max_read_request_units: ::Integer?
1405
- }?
1406
- },
1178
+ Params::replica_global_secondary_index
1407
1179
  ]?,
1408
1180
  table_class_override: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")?
1409
1181
  }?,
1410
1182
  delete: {
1411
1183
  region_name: ::String
1412
1184
  }?
1413
- },
1185
+ }
1414
1186
  ],
1415
1187
  ?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
1416
1188
  ?deletion_protection_enabled: bool,
@@ -1423,7 +1195,7 @@ module Aws
1423
1195
  delete: {
1424
1196
  region_name: ::String
1425
1197
  }?
1426
- },
1198
+ }
1427
1199
  ],
1428
1200
  ?on_demand_throughput: {
1429
1201
  max_read_request_units: ::Integer?,
@@ -1446,78 +1218,22 @@ module Aws
1446
1218
  ?global_secondary_index_updates: Array[
1447
1219
  {
1448
1220
  index_name: ::String?,
1449
- provisioned_write_capacity_auto_scaling_update: {
1450
- minimum_units: ::Integer?,
1451
- maximum_units: ::Integer?,
1452
- auto_scaling_disabled: bool?,
1453
- auto_scaling_role_arn: ::String?,
1454
- scaling_policy_update: {
1455
- policy_name: ::String?,
1456
- target_tracking_scaling_policy_configuration: {
1457
- disable_scale_in: bool?,
1458
- scale_in_cooldown: ::Integer?,
1459
- scale_out_cooldown: ::Integer?,
1460
- target_value: ::Float
1461
- }
1462
- }?
1463
- }?
1464
- },
1221
+ provisioned_write_capacity_auto_scaling_update: Params::auto_scaling_settings_update?
1222
+ }
1465
1223
  ],
1466
1224
  table_name: ::String,
1467
- ?provisioned_write_capacity_auto_scaling_update: {
1468
- minimum_units: ::Integer?,
1469
- maximum_units: ::Integer?,
1470
- auto_scaling_disabled: bool?,
1471
- auto_scaling_role_arn: ::String?,
1472
- scaling_policy_update: {
1473
- policy_name: ::String?,
1474
- target_tracking_scaling_policy_configuration: {
1475
- disable_scale_in: bool?,
1476
- scale_in_cooldown: ::Integer?,
1477
- scale_out_cooldown: ::Integer?,
1478
- target_value: ::Float
1479
- }
1480
- }?
1481
- },
1225
+ ?provisioned_write_capacity_auto_scaling_update: Params::auto_scaling_settings_update,
1482
1226
  ?replica_updates: Array[
1483
1227
  {
1484
1228
  region_name: ::String,
1485
1229
  replica_global_secondary_index_updates: Array[
1486
1230
  {
1487
1231
  index_name: ::String?,
1488
- provisioned_read_capacity_auto_scaling_update: {
1489
- minimum_units: ::Integer?,
1490
- maximum_units: ::Integer?,
1491
- auto_scaling_disabled: bool?,
1492
- auto_scaling_role_arn: ::String?,
1493
- scaling_policy_update: {
1494
- policy_name: ::String?,
1495
- target_tracking_scaling_policy_configuration: {
1496
- disable_scale_in: bool?,
1497
- scale_in_cooldown: ::Integer?,
1498
- scale_out_cooldown: ::Integer?,
1499
- target_value: ::Float
1500
- }
1501
- }?
1502
- }?
1503
- },
1232
+ provisioned_read_capacity_auto_scaling_update: Params::auto_scaling_settings_update?
1233
+ }
1504
1234
  ]?,
1505
- replica_provisioned_read_capacity_auto_scaling_update: {
1506
- minimum_units: ::Integer?,
1507
- maximum_units: ::Integer?,
1508
- auto_scaling_disabled: bool?,
1509
- auto_scaling_role_arn: ::String?,
1510
- scaling_policy_update: {
1511
- policy_name: ::String?,
1512
- target_tracking_scaling_policy_configuration: {
1513
- disable_scale_in: bool?,
1514
- scale_in_cooldown: ::Integer?,
1515
- scale_out_cooldown: ::Integer?,
1516
- target_value: ::Float
1517
- }
1518
- }?
1519
- }?
1520
- },
1235
+ replica_provisioned_read_capacity_auto_scaling_update: Params::auto_scaling_settings_update?
1236
+ }
1521
1237
  ]
1522
1238
  ) -> _UpdateTableReplicaAutoScalingResponseSuccess
1523
1239
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableReplicaAutoScalingResponseSuccess
data/sig/params.rbs ADDED
@@ -0,0 +1,106 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module DynamoDB
10
+ module Params
11
+ type attribute_value = {
12
+ s: ::String?,
13
+ n: ::String?,
14
+ b: ::String?,
15
+ ss: Array[::String]?,
16
+ ns: Array[::String]?,
17
+ bs: Array[::String]?,
18
+ m: Hash[::String, untyped]?,
19
+ l: Array[untyped]?,
20
+ null: bool?,
21
+ bool: bool?
22
+ }
23
+
24
+ type local_secondary_index = {
25
+ index_name: ::String,
26
+ key_schema: Array[
27
+ {
28
+ attribute_name: ::String,
29
+ key_type: ("HASH" | "RANGE")
30
+ }
31
+ ],
32
+ projection: {
33
+ projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
34
+ non_key_attributes: Array[::String]?
35
+ }
36
+ }
37
+
38
+ type global_secondary_index = {
39
+ index_name: ::String,
40
+ key_schema: Array[
41
+ {
42
+ attribute_name: ::String,
43
+ key_type: ("HASH" | "RANGE")
44
+ }
45
+ ],
46
+ projection: {
47
+ projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
48
+ non_key_attributes: Array[::String]?
49
+ },
50
+ provisioned_throughput: {
51
+ read_capacity_units: ::Integer,
52
+ write_capacity_units: ::Integer
53
+ }?,
54
+ on_demand_throughput: {
55
+ max_read_request_units: ::Integer?,
56
+ max_write_request_units: ::Integer?
57
+ }?,
58
+ warm_throughput: {
59
+ read_units_per_second: ::Integer?,
60
+ write_units_per_second: ::Integer?
61
+ }?
62
+ }
63
+
64
+ type expected_attribute_value = {
65
+ value: Params::attribute_value?,
66
+ exists: bool?,
67
+ comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")?,
68
+ attribute_value_list: Array[Params::attribute_value]?
69
+ }
70
+
71
+ type condition = {
72
+ attribute_value_list: Array[Params::attribute_value]?,
73
+ comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")
74
+ }
75
+
76
+ type auto_scaling_policy_update = {
77
+ policy_name: ::String?,
78
+ target_tracking_scaling_policy_configuration: {
79
+ disable_scale_in: bool?,
80
+ scale_in_cooldown: ::Integer?,
81
+ scale_out_cooldown: ::Integer?,
82
+ target_value: ::Float
83
+ }
84
+ }
85
+
86
+ type auto_scaling_settings_update = {
87
+ minimum_units: ::Integer?,
88
+ maximum_units: ::Integer?,
89
+ auto_scaling_disabled: bool?,
90
+ auto_scaling_role_arn: ::String?,
91
+ scaling_policy_update: Params::auto_scaling_policy_update?
92
+ }
93
+
94
+ type replica_global_secondary_index = {
95
+ index_name: ::String,
96
+ provisioned_throughput_override: {
97
+ read_capacity_units: ::Integer?
98
+ }?,
99
+ on_demand_throughput_override: {
100
+ max_read_request_units: ::Integer?
101
+ }?
102
+ }
103
+
104
+ end
105
+ end
106
+ end
data/sig/resource.rbs CHANGED
@@ -88,7 +88,7 @@ module Aws
88
88
  def batch_get_item: (
89
89
  request_items: Hash[::String, {
90
90
  keys: Array[
91
- Hash[::String, untyped],
91
+ Hash[::String, untyped]
92
92
  ],
93
93
  attributes_to_get: Array[::String]?,
94
94
  consistent_read: bool?,
@@ -109,7 +109,7 @@ module Aws
109
109
  delete_request: {
110
110
  key: Hash[::String, untyped]
111
111
  }?
112
- },
112
+ }
113
113
  ]],
114
114
  ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
115
115
  ?return_item_collection_metrics: ("SIZE" | "NONE")
@@ -122,14 +122,14 @@ module Aws
122
122
  {
123
123
  attribute_name: ::String,
124
124
  attribute_type: ("S" | "N" | "B")
125
- },
125
+ }
126
126
  ],
127
127
  table_name: ::String,
128
128
  ?key_schema: Array[
129
129
  {
130
130
  attribute_name: ::String,
131
131
  key_type: ("HASH" | "RANGE")
132
- },
132
+ }
133
133
  ],
134
134
  ?local_secondary_indexes: Array[
135
135
  {
@@ -138,13 +138,13 @@ module Aws
138
138
  {
139
139
  attribute_name: ::String,
140
140
  key_type: ("HASH" | "RANGE")
141
- },
141
+ }
142
142
  ],
143
143
  projection: {
144
144
  projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
145
145
  non_key_attributes: Array[::String]?
146
146
  }
147
- },
147
+ }
148
148
  ],
149
149
  ?global_secondary_indexes: Array[
150
150
  {
@@ -153,7 +153,7 @@ module Aws
153
153
  {
154
154
  attribute_name: ::String,
155
155
  key_type: ("HASH" | "RANGE")
156
- },
156
+ }
157
157
  ],
158
158
  projection: {
159
159
  projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
@@ -171,7 +171,7 @@ module Aws
171
171
  read_units_per_second: ::Integer?,
172
172
  write_units_per_second: ::Integer?
173
173
  }?
174
- },
174
+ }
175
175
  ],
176
176
  ?billing_mode: ("PROVISIONED" | "PAY_PER_REQUEST"),
177
177
  ?provisioned_throughput: {
@@ -191,7 +191,7 @@ module Aws
191
191
  {
192
192
  key: ::String,
193
193
  value: ::String
194
- },
194
+ }
195
195
  ],
196
196
  ?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
197
197
  ?deletion_protection_enabled: bool,
data/sig/table.rbs CHANGED
@@ -224,7 +224,7 @@ module Aws
224
224
  {
225
225
  attribute_name: ::String,
226
226
  attribute_type: ("S" | "N" | "B")
227
- },
227
+ }
228
228
  ],
229
229
  ?billing_mode: ("PROVISIONED" | "PAY_PER_REQUEST"),
230
230
  ?provisioned_throughput: {
@@ -254,7 +254,7 @@ module Aws
254
254
  {
255
255
  attribute_name: ::String,
256
256
  key_type: ("HASH" | "RANGE")
257
- },
257
+ }
258
258
  ],
259
259
  projection: {
260
260
  projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
@@ -276,7 +276,7 @@ module Aws
276
276
  delete: {
277
277
  index_name: ::String
278
278
  }?
279
- },
279
+ }
280
280
  ],
281
281
  ?stream_specification: {
282
282
  stream_enabled: bool,
@@ -307,7 +307,7 @@ module Aws
307
307
  on_demand_throughput_override: {
308
308
  max_read_request_units: ::Integer?
309
309
  }?
310
- },
310
+ }
311
311
  ]?,
312
312
  table_class_override: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")?
313
313
  }?,
@@ -329,14 +329,14 @@ module Aws
329
329
  on_demand_throughput_override: {
330
330
  max_read_request_units: ::Integer?
331
331
  }?
332
- },
332
+ }
333
333
  ]?,
334
334
  table_class_override: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")?
335
335
  }?,
336
336
  delete: {
337
337
  region_name: ::String
338
338
  }?
339
- },
339
+ }
340
340
  ],
341
341
  ?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
342
342
  ?deletion_protection_enabled: bool,
@@ -349,7 +349,7 @@ module Aws
349
349
  delete: {
350
350
  region_name: ::String
351
351
  }?
352
- },
352
+ }
353
353
  ],
354
354
  ?on_demand_throughput: {
355
355
  max_read_request_units: ::Integer?,
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.166.0
4
+ version: 1.167.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -74,6 +74,7 @@ files:
74
74
  - lib/aws-sdk-dynamodb/waiters.rb
75
75
  - sig/client.rbs
76
76
  - sig/errors.rbs
77
+ - sig/params.rbs
77
78
  - sig/resource.rbs
78
79
  - sig/table.rbs
79
80
  - sig/types.rbs