aws-sdk-dynamodb 1.125.0 → 1.126.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: b14d107b16722f19154de104bc48c697a24fe84bf7ed7231bf0147082d5d1c29
4
- data.tar.gz: 56e50bda44499c55138c21b51db77196f9a164da263cf3f518513e6f05c6f235
3
+ metadata.gz: 50888caa758bf93d0dbe11026be26acf981cfc75a62c17fc15c60bbf77ca523a
4
+ data.tar.gz: c39a4da533810fdb5905c7c39e026b4f0f55ea59d36a187a50caf06a866e31cf
5
5
  SHA512:
6
- metadata.gz: 84c4686e07110f39f98bc8a2b7eefc6b46ffd7d541a9d7e0f655aeb7c19fa08ac31dd51ab0d9d1821f449ecc57a37122550fcd1767500ce47f143503cdf0e41c
7
- data.tar.gz: 9eeb87114142f92ab1107a801c79d73b13947a30c238874b1614967dce81a24febd30889b61b6ab1edc2ea4bd344b2d63dd7dbfe32e299c3742374d2fddd9e9c
6
+ metadata.gz: 8112f6090a4a65fea8d29da396075c87ae2b9359e6bb5f9691ffdc51b9d26bbc4e5768b9528ee8bab4b78a5d6d0801c77769c3e7946008c144a45aaaecab1ce6
7
+ data.tar.gz: e57234635040a36ffea12b19565d922bd836a8e6bb4058fce6e71a4231c50381e279be858c6e80d2e6a170f3c2b1555781280bc16786dd8b183fdf82c178b1cf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.126.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.125.0 (2024-09-24)
5
10
  ------------------
6
11
 
@@ -14,7 +19,7 @@ Unreleased Changes
14
19
  1.123.0 (2024-09-20)
15
20
  ------------------
16
21
 
17
- * Feature - Generate account endpoint for DynamoDB requests when the account ID is available
22
+ * Feature - Generate and use AWS-account-based endpoints for DynamoDB requests when the account ID is available. The new endpoint URL pattern will be https://<account-id>.ddb.<region>.amazonaws.com. See the documentation for details: https://docs.aws.amazon.com/sdkref/latest/guide/feature-account-endpoints.html
18
23
 
19
24
  1.122.0 (2024-09-11)
20
25
  ------------------
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.125.0
1
+ 1.126.0
@@ -8436,7 +8436,7 @@ module Aws::DynamoDB
8436
8436
  tracer: tracer
8437
8437
  )
8438
8438
  context[:gem_name] = 'aws-sdk-dynamodb'
8439
- context[:gem_version] = '1.125.0'
8439
+ context[:gem_version] = '1.126.0'
8440
8440
  Seahorse::Client::Request.new(handlers, context)
8441
8441
  end
8442
8442
 
@@ -66,17 +66,22 @@ module Aws::DynamoDB
66
66
  self[:region] = options[:region]
67
67
  self[:use_dual_stack] = options[:use_dual_stack]
68
68
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
69
- if self[:use_dual_stack].nil?
70
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
71
- end
72
69
  self[:use_fips] = options[:use_fips]
73
70
  self[:use_fips] = false if self[:use_fips].nil?
74
- if self[:use_fips].nil?
75
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
76
- end
77
71
  self[:endpoint] = options[:endpoint]
78
72
  self[:account_id] = options[:account_id]
79
73
  self[:account_id_endpoint_mode] = options[:account_id_endpoint_mode]
80
74
  end
75
+
76
+ def self.create(config, options={})
77
+ new({
78
+ region: config.region,
79
+ use_dual_stack: config.use_dualstack_endpoint,
80
+ use_fips: config.use_fips_endpoint,
81
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
82
+ account_id: config.credentials.credentials.account_id,
83
+ account_id_endpoint_mode: config.account_id_endpoint_mode,
84
+ }.merge(options))
85
+ end
81
86
  end
82
87
  end
@@ -12,746 +12,9 @@ module Aws::DynamoDB
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class BatchExecuteStatement
16
- def self.build(context)
17
- Aws::DynamoDB::EndpointParameters.new(
18
- region: context.config.region,
19
- use_dual_stack: context.config.use_dualstack_endpoint,
20
- use_fips: context.config.use_fips_endpoint,
21
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
- account_id: context.config.credentials.credentials.account_id,
23
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
24
- )
25
- end
26
- end
27
-
28
- class BatchGetItem
29
- def self.build(context)
30
- Aws::DynamoDB::EndpointParameters.new(
31
- region: context.config.region,
32
- use_dual_stack: context.config.use_dualstack_endpoint,
33
- use_fips: context.config.use_fips_endpoint,
34
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
35
- account_id: context.config.credentials.credentials.account_id,
36
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
37
- )
38
- end
39
- end
40
-
41
- class BatchWriteItem
42
- def self.build(context)
43
- Aws::DynamoDB::EndpointParameters.new(
44
- region: context.config.region,
45
- use_dual_stack: context.config.use_dualstack_endpoint,
46
- use_fips: context.config.use_fips_endpoint,
47
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
48
- account_id: context.config.credentials.credentials.account_id,
49
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
50
- )
51
- end
52
- end
53
-
54
- class CreateBackup
55
- def self.build(context)
56
- Aws::DynamoDB::EndpointParameters.new(
57
- region: context.config.region,
58
- use_dual_stack: context.config.use_dualstack_endpoint,
59
- use_fips: context.config.use_fips_endpoint,
60
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
61
- account_id: context.config.credentials.credentials.account_id,
62
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
63
- )
64
- end
65
- end
66
-
67
- class CreateGlobalTable
68
- def self.build(context)
69
- Aws::DynamoDB::EndpointParameters.new(
70
- region: context.config.region,
71
- use_dual_stack: context.config.use_dualstack_endpoint,
72
- use_fips: context.config.use_fips_endpoint,
73
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
74
- account_id: context.config.credentials.credentials.account_id,
75
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
76
- )
77
- end
78
- end
79
-
80
- class CreateTable
81
- def self.build(context)
82
- Aws::DynamoDB::EndpointParameters.new(
83
- region: context.config.region,
84
- use_dual_stack: context.config.use_dualstack_endpoint,
85
- use_fips: context.config.use_fips_endpoint,
86
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
87
- account_id: context.config.credentials.credentials.account_id,
88
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
89
- )
90
- end
91
- end
92
-
93
- class DeleteBackup
94
- def self.build(context)
95
- Aws::DynamoDB::EndpointParameters.new(
96
- region: context.config.region,
97
- use_dual_stack: context.config.use_dualstack_endpoint,
98
- use_fips: context.config.use_fips_endpoint,
99
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
100
- account_id: context.config.credentials.credentials.account_id,
101
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
102
- )
103
- end
104
- end
105
-
106
- class DeleteItem
107
- def self.build(context)
108
- Aws::DynamoDB::EndpointParameters.new(
109
- region: context.config.region,
110
- use_dual_stack: context.config.use_dualstack_endpoint,
111
- use_fips: context.config.use_fips_endpoint,
112
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
113
- account_id: context.config.credentials.credentials.account_id,
114
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
115
- )
116
- end
117
- end
118
-
119
- class DeleteResourcePolicy
120
- def self.build(context)
121
- Aws::DynamoDB::EndpointParameters.new(
122
- region: context.config.region,
123
- use_dual_stack: context.config.use_dualstack_endpoint,
124
- use_fips: context.config.use_fips_endpoint,
125
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
126
- account_id: context.config.credentials.credentials.account_id,
127
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
128
- )
129
- end
130
- end
131
-
132
- class DeleteTable
133
- def self.build(context)
134
- Aws::DynamoDB::EndpointParameters.new(
135
- region: context.config.region,
136
- use_dual_stack: context.config.use_dualstack_endpoint,
137
- use_fips: context.config.use_fips_endpoint,
138
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
139
- account_id: context.config.credentials.credentials.account_id,
140
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
141
- )
142
- end
143
- end
144
-
145
- class DescribeBackup
146
- def self.build(context)
147
- Aws::DynamoDB::EndpointParameters.new(
148
- region: context.config.region,
149
- use_dual_stack: context.config.use_dualstack_endpoint,
150
- use_fips: context.config.use_fips_endpoint,
151
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
152
- account_id: context.config.credentials.credentials.account_id,
153
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
154
- )
155
- end
156
- end
157
-
158
- class DescribeContinuousBackups
159
- def self.build(context)
160
- Aws::DynamoDB::EndpointParameters.new(
161
- region: context.config.region,
162
- use_dual_stack: context.config.use_dualstack_endpoint,
163
- use_fips: context.config.use_fips_endpoint,
164
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
165
- account_id: context.config.credentials.credentials.account_id,
166
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
167
- )
168
- end
169
- end
170
-
171
- class DescribeContributorInsights
172
- def self.build(context)
173
- Aws::DynamoDB::EndpointParameters.new(
174
- region: context.config.region,
175
- use_dual_stack: context.config.use_dualstack_endpoint,
176
- use_fips: context.config.use_fips_endpoint,
177
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
178
- account_id: context.config.credentials.credentials.account_id,
179
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
180
- )
181
- end
182
- end
183
-
184
- class DescribeEndpoints
185
- def self.build(context)
186
- Aws::DynamoDB::EndpointParameters.new(
187
- region: context.config.region,
188
- use_dual_stack: context.config.use_dualstack_endpoint,
189
- use_fips: context.config.use_fips_endpoint,
190
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
191
- account_id: context.config.credentials.credentials.account_id,
192
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
193
- )
194
- end
195
- end
196
-
197
- class DescribeExport
198
- def self.build(context)
199
- Aws::DynamoDB::EndpointParameters.new(
200
- region: context.config.region,
201
- use_dual_stack: context.config.use_dualstack_endpoint,
202
- use_fips: context.config.use_fips_endpoint,
203
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
204
- account_id: context.config.credentials.credentials.account_id,
205
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
206
- )
207
- end
208
- end
209
-
210
- class DescribeGlobalTable
211
- def self.build(context)
212
- Aws::DynamoDB::EndpointParameters.new(
213
- region: context.config.region,
214
- use_dual_stack: context.config.use_dualstack_endpoint,
215
- use_fips: context.config.use_fips_endpoint,
216
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
217
- account_id: context.config.credentials.credentials.account_id,
218
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
219
- )
220
- end
221
- end
222
-
223
- class DescribeGlobalTableSettings
224
- def self.build(context)
225
- Aws::DynamoDB::EndpointParameters.new(
226
- region: context.config.region,
227
- use_dual_stack: context.config.use_dualstack_endpoint,
228
- use_fips: context.config.use_fips_endpoint,
229
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
230
- account_id: context.config.credentials.credentials.account_id,
231
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
232
- )
233
- end
234
- end
235
-
236
- class DescribeImport
237
- def self.build(context)
238
- Aws::DynamoDB::EndpointParameters.new(
239
- region: context.config.region,
240
- use_dual_stack: context.config.use_dualstack_endpoint,
241
- use_fips: context.config.use_fips_endpoint,
242
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
243
- account_id: context.config.credentials.credentials.account_id,
244
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
245
- )
246
- end
247
- end
248
-
249
- class DescribeKinesisStreamingDestination
250
- def self.build(context)
251
- Aws::DynamoDB::EndpointParameters.new(
252
- region: context.config.region,
253
- use_dual_stack: context.config.use_dualstack_endpoint,
254
- use_fips: context.config.use_fips_endpoint,
255
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
256
- account_id: context.config.credentials.credentials.account_id,
257
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
258
- )
259
- end
260
- end
261
-
262
- class DescribeLimits
263
- def self.build(context)
264
- Aws::DynamoDB::EndpointParameters.new(
265
- region: context.config.region,
266
- use_dual_stack: context.config.use_dualstack_endpoint,
267
- use_fips: context.config.use_fips_endpoint,
268
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
269
- account_id: context.config.credentials.credentials.account_id,
270
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
271
- )
272
- end
273
- end
274
-
275
- class DescribeTable
276
- def self.build(context)
277
- Aws::DynamoDB::EndpointParameters.new(
278
- region: context.config.region,
279
- use_dual_stack: context.config.use_dualstack_endpoint,
280
- use_fips: context.config.use_fips_endpoint,
281
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
282
- account_id: context.config.credentials.credentials.account_id,
283
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
284
- )
285
- end
286
- end
287
-
288
- class DescribeTableReplicaAutoScaling
289
- def self.build(context)
290
- Aws::DynamoDB::EndpointParameters.new(
291
- region: context.config.region,
292
- use_dual_stack: context.config.use_dualstack_endpoint,
293
- use_fips: context.config.use_fips_endpoint,
294
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
295
- account_id: context.config.credentials.credentials.account_id,
296
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
297
- )
298
- end
299
- end
300
-
301
- class DescribeTimeToLive
302
- def self.build(context)
303
- Aws::DynamoDB::EndpointParameters.new(
304
- region: context.config.region,
305
- use_dual_stack: context.config.use_dualstack_endpoint,
306
- use_fips: context.config.use_fips_endpoint,
307
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
308
- account_id: context.config.credentials.credentials.account_id,
309
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
310
- )
311
- end
312
- end
313
-
314
- class DisableKinesisStreamingDestination
315
- def self.build(context)
316
- Aws::DynamoDB::EndpointParameters.new(
317
- region: context.config.region,
318
- use_dual_stack: context.config.use_dualstack_endpoint,
319
- use_fips: context.config.use_fips_endpoint,
320
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
321
- account_id: context.config.credentials.credentials.account_id,
322
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
323
- )
324
- end
325
- end
326
-
327
- class EnableKinesisStreamingDestination
328
- def self.build(context)
329
- Aws::DynamoDB::EndpointParameters.new(
330
- region: context.config.region,
331
- use_dual_stack: context.config.use_dualstack_endpoint,
332
- use_fips: context.config.use_fips_endpoint,
333
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
334
- account_id: context.config.credentials.credentials.account_id,
335
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
336
- )
337
- end
338
- end
339
-
340
- class ExecuteStatement
341
- def self.build(context)
342
- Aws::DynamoDB::EndpointParameters.new(
343
- region: context.config.region,
344
- use_dual_stack: context.config.use_dualstack_endpoint,
345
- use_fips: context.config.use_fips_endpoint,
346
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
347
- account_id: context.config.credentials.credentials.account_id,
348
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
349
- )
350
- end
351
- end
352
-
353
- class ExecuteTransaction
354
- def self.build(context)
355
- Aws::DynamoDB::EndpointParameters.new(
356
- region: context.config.region,
357
- use_dual_stack: context.config.use_dualstack_endpoint,
358
- use_fips: context.config.use_fips_endpoint,
359
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
360
- account_id: context.config.credentials.credentials.account_id,
361
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
362
- )
363
- end
364
- end
365
-
366
- class ExportTableToPointInTime
367
- def self.build(context)
368
- Aws::DynamoDB::EndpointParameters.new(
369
- region: context.config.region,
370
- use_dual_stack: context.config.use_dualstack_endpoint,
371
- use_fips: context.config.use_fips_endpoint,
372
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
373
- account_id: context.config.credentials.credentials.account_id,
374
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
375
- )
376
- end
377
- end
378
-
379
- class GetItem
380
- def self.build(context)
381
- Aws::DynamoDB::EndpointParameters.new(
382
- region: context.config.region,
383
- use_dual_stack: context.config.use_dualstack_endpoint,
384
- use_fips: context.config.use_fips_endpoint,
385
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
386
- account_id: context.config.credentials.credentials.account_id,
387
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
388
- )
389
- end
390
- end
391
-
392
- class GetResourcePolicy
393
- def self.build(context)
394
- Aws::DynamoDB::EndpointParameters.new(
395
- region: context.config.region,
396
- use_dual_stack: context.config.use_dualstack_endpoint,
397
- use_fips: context.config.use_fips_endpoint,
398
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
399
- account_id: context.config.credentials.credentials.account_id,
400
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
401
- )
402
- end
403
- end
404
-
405
- class ImportTable
406
- def self.build(context)
407
- Aws::DynamoDB::EndpointParameters.new(
408
- region: context.config.region,
409
- use_dual_stack: context.config.use_dualstack_endpoint,
410
- use_fips: context.config.use_fips_endpoint,
411
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
412
- account_id: context.config.credentials.credentials.account_id,
413
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
414
- )
415
- end
416
- end
417
-
418
- class ListBackups
419
- def self.build(context)
420
- Aws::DynamoDB::EndpointParameters.new(
421
- region: context.config.region,
422
- use_dual_stack: context.config.use_dualstack_endpoint,
423
- use_fips: context.config.use_fips_endpoint,
424
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
425
- account_id: context.config.credentials.credentials.account_id,
426
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
427
- )
428
- end
429
- end
430
-
431
- class ListContributorInsights
432
- def self.build(context)
433
- Aws::DynamoDB::EndpointParameters.new(
434
- region: context.config.region,
435
- use_dual_stack: context.config.use_dualstack_endpoint,
436
- use_fips: context.config.use_fips_endpoint,
437
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
438
- account_id: context.config.credentials.credentials.account_id,
439
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
440
- )
441
- end
442
- end
443
-
444
- class ListExports
445
- def self.build(context)
446
- Aws::DynamoDB::EndpointParameters.new(
447
- region: context.config.region,
448
- use_dual_stack: context.config.use_dualstack_endpoint,
449
- use_fips: context.config.use_fips_endpoint,
450
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
451
- account_id: context.config.credentials.credentials.account_id,
452
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
453
- )
454
- end
455
- end
456
-
457
- class ListGlobalTables
458
- def self.build(context)
459
- Aws::DynamoDB::EndpointParameters.new(
460
- region: context.config.region,
461
- use_dual_stack: context.config.use_dualstack_endpoint,
462
- use_fips: context.config.use_fips_endpoint,
463
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
464
- account_id: context.config.credentials.credentials.account_id,
465
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
466
- )
467
- end
468
- end
469
-
470
- class ListImports
471
- def self.build(context)
472
- Aws::DynamoDB::EndpointParameters.new(
473
- region: context.config.region,
474
- use_dual_stack: context.config.use_dualstack_endpoint,
475
- use_fips: context.config.use_fips_endpoint,
476
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
477
- account_id: context.config.credentials.credentials.account_id,
478
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
479
- )
480
- end
481
- end
482
-
483
- class ListTables
484
- def self.build(context)
485
- Aws::DynamoDB::EndpointParameters.new(
486
- region: context.config.region,
487
- use_dual_stack: context.config.use_dualstack_endpoint,
488
- use_fips: context.config.use_fips_endpoint,
489
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
490
- account_id: context.config.credentials.credentials.account_id,
491
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
492
- )
493
- end
494
- end
495
-
496
- class ListTagsOfResource
497
- def self.build(context)
498
- Aws::DynamoDB::EndpointParameters.new(
499
- region: context.config.region,
500
- use_dual_stack: context.config.use_dualstack_endpoint,
501
- use_fips: context.config.use_fips_endpoint,
502
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
503
- account_id: context.config.credentials.credentials.account_id,
504
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
505
- )
506
- end
507
- end
508
-
509
- class PutItem
510
- def self.build(context)
511
- Aws::DynamoDB::EndpointParameters.new(
512
- region: context.config.region,
513
- use_dual_stack: context.config.use_dualstack_endpoint,
514
- use_fips: context.config.use_fips_endpoint,
515
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
516
- account_id: context.config.credentials.credentials.account_id,
517
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
518
- )
519
- end
520
- end
521
-
522
- class PutResourcePolicy
523
- def self.build(context)
524
- Aws::DynamoDB::EndpointParameters.new(
525
- region: context.config.region,
526
- use_dual_stack: context.config.use_dualstack_endpoint,
527
- use_fips: context.config.use_fips_endpoint,
528
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
529
- account_id: context.config.credentials.credentials.account_id,
530
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
531
- )
532
- end
533
- end
534
-
535
- class Query
536
- def self.build(context)
537
- Aws::DynamoDB::EndpointParameters.new(
538
- region: context.config.region,
539
- use_dual_stack: context.config.use_dualstack_endpoint,
540
- use_fips: context.config.use_fips_endpoint,
541
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
542
- account_id: context.config.credentials.credentials.account_id,
543
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
544
- )
545
- end
546
- end
547
-
548
- class RestoreTableFromBackup
549
- def self.build(context)
550
- Aws::DynamoDB::EndpointParameters.new(
551
- region: context.config.region,
552
- use_dual_stack: context.config.use_dualstack_endpoint,
553
- use_fips: context.config.use_fips_endpoint,
554
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
555
- account_id: context.config.credentials.credentials.account_id,
556
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
557
- )
558
- end
559
- end
560
-
561
- class RestoreTableToPointInTime
562
- def self.build(context)
563
- Aws::DynamoDB::EndpointParameters.new(
564
- region: context.config.region,
565
- use_dual_stack: context.config.use_dualstack_endpoint,
566
- use_fips: context.config.use_fips_endpoint,
567
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
568
- account_id: context.config.credentials.credentials.account_id,
569
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
570
- )
571
- end
572
- end
573
-
574
- class Scan
575
- def self.build(context)
576
- Aws::DynamoDB::EndpointParameters.new(
577
- region: context.config.region,
578
- use_dual_stack: context.config.use_dualstack_endpoint,
579
- use_fips: context.config.use_fips_endpoint,
580
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
581
- account_id: context.config.credentials.credentials.account_id,
582
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
583
- )
584
- end
585
- end
586
-
587
- class TagResource
588
- def self.build(context)
589
- Aws::DynamoDB::EndpointParameters.new(
590
- region: context.config.region,
591
- use_dual_stack: context.config.use_dualstack_endpoint,
592
- use_fips: context.config.use_fips_endpoint,
593
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
594
- account_id: context.config.credentials.credentials.account_id,
595
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
596
- )
597
- end
598
- end
599
-
600
- class TransactGetItems
601
- def self.build(context)
602
- Aws::DynamoDB::EndpointParameters.new(
603
- region: context.config.region,
604
- use_dual_stack: context.config.use_dualstack_endpoint,
605
- use_fips: context.config.use_fips_endpoint,
606
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
607
- account_id: context.config.credentials.credentials.account_id,
608
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
609
- )
610
- end
611
- end
612
-
613
- class TransactWriteItems
614
- def self.build(context)
615
- Aws::DynamoDB::EndpointParameters.new(
616
- region: context.config.region,
617
- use_dual_stack: context.config.use_dualstack_endpoint,
618
- use_fips: context.config.use_fips_endpoint,
619
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
620
- account_id: context.config.credentials.credentials.account_id,
621
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
622
- )
623
- end
624
- end
625
-
626
- class UntagResource
627
- def self.build(context)
628
- Aws::DynamoDB::EndpointParameters.new(
629
- region: context.config.region,
630
- use_dual_stack: context.config.use_dualstack_endpoint,
631
- use_fips: context.config.use_fips_endpoint,
632
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
633
- account_id: context.config.credentials.credentials.account_id,
634
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
635
- )
636
- end
637
- end
638
-
639
- class UpdateContinuousBackups
640
- def self.build(context)
641
- Aws::DynamoDB::EndpointParameters.new(
642
- region: context.config.region,
643
- use_dual_stack: context.config.use_dualstack_endpoint,
644
- use_fips: context.config.use_fips_endpoint,
645
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
646
- account_id: context.config.credentials.credentials.account_id,
647
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
648
- )
649
- end
650
- end
651
-
652
- class UpdateContributorInsights
653
- def self.build(context)
654
- Aws::DynamoDB::EndpointParameters.new(
655
- region: context.config.region,
656
- use_dual_stack: context.config.use_dualstack_endpoint,
657
- use_fips: context.config.use_fips_endpoint,
658
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
659
- account_id: context.config.credentials.credentials.account_id,
660
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
661
- )
662
- end
663
- end
664
-
665
- class UpdateGlobalTable
666
- def self.build(context)
667
- Aws::DynamoDB::EndpointParameters.new(
668
- region: context.config.region,
669
- use_dual_stack: context.config.use_dualstack_endpoint,
670
- use_fips: context.config.use_fips_endpoint,
671
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
672
- account_id: context.config.credentials.credentials.account_id,
673
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
674
- )
675
- end
676
- end
677
-
678
- class UpdateGlobalTableSettings
679
- def self.build(context)
680
- Aws::DynamoDB::EndpointParameters.new(
681
- region: context.config.region,
682
- use_dual_stack: context.config.use_dualstack_endpoint,
683
- use_fips: context.config.use_fips_endpoint,
684
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
685
- account_id: context.config.credentials.credentials.account_id,
686
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
687
- )
688
- end
689
- end
690
-
691
- class UpdateItem
692
- def self.build(context)
693
- Aws::DynamoDB::EndpointParameters.new(
694
- region: context.config.region,
695
- use_dual_stack: context.config.use_dualstack_endpoint,
696
- use_fips: context.config.use_fips_endpoint,
697
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
698
- account_id: context.config.credentials.credentials.account_id,
699
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
700
- )
701
- end
702
- end
703
15
 
704
- class UpdateKinesisStreamingDestination
705
- def self.build(context)
706
- Aws::DynamoDB::EndpointParameters.new(
707
- region: context.config.region,
708
- use_dual_stack: context.config.use_dualstack_endpoint,
709
- use_fips: context.config.use_fips_endpoint,
710
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
711
- account_id: context.config.credentials.credentials.account_id,
712
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
713
- )
714
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::DynamoDB::EndpointParameters.create(context.config)
715
18
  end
716
-
717
- class UpdateTable
718
- def self.build(context)
719
- Aws::DynamoDB::EndpointParameters.new(
720
- region: context.config.region,
721
- use_dual_stack: context.config.use_dualstack_endpoint,
722
- use_fips: context.config.use_fips_endpoint,
723
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
724
- account_id: context.config.credentials.credentials.account_id,
725
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
726
- )
727
- end
728
- end
729
-
730
- class UpdateTableReplicaAutoScaling
731
- def self.build(context)
732
- Aws::DynamoDB::EndpointParameters.new(
733
- region: context.config.region,
734
- use_dual_stack: context.config.use_dualstack_endpoint,
735
- use_fips: context.config.use_fips_endpoint,
736
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
737
- account_id: context.config.credentials.credentials.account_id,
738
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
739
- )
740
- end
741
- end
742
-
743
- class UpdateTimeToLive
744
- def self.build(context)
745
- Aws::DynamoDB::EndpointParameters.new(
746
- region: context.config.region,
747
- use_dual_stack: context.config.use_dualstack_endpoint,
748
- use_fips: context.config.use_fips_endpoint,
749
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
750
- account_id: context.config.credentials.credentials.account_id,
751
- account_id_endpoint_mode: context.config.account_id_endpoint_mode,
752
- )
753
- end
754
- end
755
-
756
19
  end
757
20
  end
@@ -44,7 +44,7 @@ The account ID endpoint mode to use. This can be one of the following values:
44
44
  class Handler < Seahorse::Client::Handler
45
45
  def call(context)
46
46
  unless context[:discovered_endpoint]
47
- params = parameters_for_operation(context)
47
+ params = Aws::DynamoDB::Endpoints.parameters_for_operation(context)
48
48
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
49
49
 
50
50
  context.http_request.endpoint = endpoint.url
@@ -92,125 +92,6 @@ The account ID endpoint mode to use. This can be one of the following values:
92
92
  context.http_request.headers[key] = value
93
93
  end
94
94
  end
95
-
96
- def parameters_for_operation(context)
97
- case context.operation_name
98
- when :batch_execute_statement
99
- Aws::DynamoDB::Endpoints::BatchExecuteStatement.build(context)
100
- when :batch_get_item
101
- Aws::DynamoDB::Endpoints::BatchGetItem.build(context)
102
- when :batch_write_item
103
- Aws::DynamoDB::Endpoints::BatchWriteItem.build(context)
104
- when :create_backup
105
- Aws::DynamoDB::Endpoints::CreateBackup.build(context)
106
- when :create_global_table
107
- Aws::DynamoDB::Endpoints::CreateGlobalTable.build(context)
108
- when :create_table
109
- Aws::DynamoDB::Endpoints::CreateTable.build(context)
110
- when :delete_backup
111
- Aws::DynamoDB::Endpoints::DeleteBackup.build(context)
112
- when :delete_item
113
- Aws::DynamoDB::Endpoints::DeleteItem.build(context)
114
- when :delete_resource_policy
115
- Aws::DynamoDB::Endpoints::DeleteResourcePolicy.build(context)
116
- when :delete_table
117
- Aws::DynamoDB::Endpoints::DeleteTable.build(context)
118
- when :describe_backup
119
- Aws::DynamoDB::Endpoints::DescribeBackup.build(context)
120
- when :describe_continuous_backups
121
- Aws::DynamoDB::Endpoints::DescribeContinuousBackups.build(context)
122
- when :describe_contributor_insights
123
- Aws::DynamoDB::Endpoints::DescribeContributorInsights.build(context)
124
- when :describe_endpoints
125
- Aws::DynamoDB::Endpoints::DescribeEndpoints.build(context)
126
- when :describe_export
127
- Aws::DynamoDB::Endpoints::DescribeExport.build(context)
128
- when :describe_global_table
129
- Aws::DynamoDB::Endpoints::DescribeGlobalTable.build(context)
130
- when :describe_global_table_settings
131
- Aws::DynamoDB::Endpoints::DescribeGlobalTableSettings.build(context)
132
- when :describe_import
133
- Aws::DynamoDB::Endpoints::DescribeImport.build(context)
134
- when :describe_kinesis_streaming_destination
135
- Aws::DynamoDB::Endpoints::DescribeKinesisStreamingDestination.build(context)
136
- when :describe_limits
137
- Aws::DynamoDB::Endpoints::DescribeLimits.build(context)
138
- when :describe_table
139
- Aws::DynamoDB::Endpoints::DescribeTable.build(context)
140
- when :describe_table_replica_auto_scaling
141
- Aws::DynamoDB::Endpoints::DescribeTableReplicaAutoScaling.build(context)
142
- when :describe_time_to_live
143
- Aws::DynamoDB::Endpoints::DescribeTimeToLive.build(context)
144
- when :disable_kinesis_streaming_destination
145
- Aws::DynamoDB::Endpoints::DisableKinesisStreamingDestination.build(context)
146
- when :enable_kinesis_streaming_destination
147
- Aws::DynamoDB::Endpoints::EnableKinesisStreamingDestination.build(context)
148
- when :execute_statement
149
- Aws::DynamoDB::Endpoints::ExecuteStatement.build(context)
150
- when :execute_transaction
151
- Aws::DynamoDB::Endpoints::ExecuteTransaction.build(context)
152
- when :export_table_to_point_in_time
153
- Aws::DynamoDB::Endpoints::ExportTableToPointInTime.build(context)
154
- when :get_item
155
- Aws::DynamoDB::Endpoints::GetItem.build(context)
156
- when :get_resource_policy
157
- Aws::DynamoDB::Endpoints::GetResourcePolicy.build(context)
158
- when :import_table
159
- Aws::DynamoDB::Endpoints::ImportTable.build(context)
160
- when :list_backups
161
- Aws::DynamoDB::Endpoints::ListBackups.build(context)
162
- when :list_contributor_insights
163
- Aws::DynamoDB::Endpoints::ListContributorInsights.build(context)
164
- when :list_exports
165
- Aws::DynamoDB::Endpoints::ListExports.build(context)
166
- when :list_global_tables
167
- Aws::DynamoDB::Endpoints::ListGlobalTables.build(context)
168
- when :list_imports
169
- Aws::DynamoDB::Endpoints::ListImports.build(context)
170
- when :list_tables
171
- Aws::DynamoDB::Endpoints::ListTables.build(context)
172
- when :list_tags_of_resource
173
- Aws::DynamoDB::Endpoints::ListTagsOfResource.build(context)
174
- when :put_item
175
- Aws::DynamoDB::Endpoints::PutItem.build(context)
176
- when :put_resource_policy
177
- Aws::DynamoDB::Endpoints::PutResourcePolicy.build(context)
178
- when :query
179
- Aws::DynamoDB::Endpoints::Query.build(context)
180
- when :restore_table_from_backup
181
- Aws::DynamoDB::Endpoints::RestoreTableFromBackup.build(context)
182
- when :restore_table_to_point_in_time
183
- Aws::DynamoDB::Endpoints::RestoreTableToPointInTime.build(context)
184
- when :scan
185
- Aws::DynamoDB::Endpoints::Scan.build(context)
186
- when :tag_resource
187
- Aws::DynamoDB::Endpoints::TagResource.build(context)
188
- when :transact_get_items
189
- Aws::DynamoDB::Endpoints::TransactGetItems.build(context)
190
- when :transact_write_items
191
- Aws::DynamoDB::Endpoints::TransactWriteItems.build(context)
192
- when :untag_resource
193
- Aws::DynamoDB::Endpoints::UntagResource.build(context)
194
- when :update_continuous_backups
195
- Aws::DynamoDB::Endpoints::UpdateContinuousBackups.build(context)
196
- when :update_contributor_insights
197
- Aws::DynamoDB::Endpoints::UpdateContributorInsights.build(context)
198
- when :update_global_table
199
- Aws::DynamoDB::Endpoints::UpdateGlobalTable.build(context)
200
- when :update_global_table_settings
201
- Aws::DynamoDB::Endpoints::UpdateGlobalTableSettings.build(context)
202
- when :update_item
203
- Aws::DynamoDB::Endpoints::UpdateItem.build(context)
204
- when :update_kinesis_streaming_destination
205
- Aws::DynamoDB::Endpoints::UpdateKinesisStreamingDestination.build(context)
206
- when :update_table
207
- Aws::DynamoDB::Endpoints::UpdateTable.build(context)
208
- when :update_table_replica_auto_scaling
209
- Aws::DynamoDB::Endpoints::UpdateTableReplicaAutoScaling.build(context)
210
- when :update_time_to_live
211
- Aws::DynamoDB::Endpoints::UpdateTimeToLive.build(context)
212
- end
213
- end
214
95
  end
215
96
 
216
97
  def add_handlers(handlers, _config)
@@ -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.125.0'
59
+ GEM_VERSION = '1.126.0'
60
60
 
61
61
  end
62
62
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.125.0
4
+ version: 1.126.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement