File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
lib/aws-sdk-dynamodb/plugins Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1
1
Unreleased Changes
2
2
------------------
3
3
4
+ * Issue - Improve ` SimpleAttributes ` documentation.
5
+
4
6
1.131.0 (2024-12-03)
5
7
------------------
6
8
Original file line number Diff line number Diff line change @@ -13,6 +13,30 @@ module Plugins
13
13
#
14
14
# ddb = Aws::DynamoDB::Client.new(simple_attributes: false)
15
15
#
16
+ # Members are marshalled using the following objects:
17
+ #
18
+ # * `Hash` or `#to_h` => `:m`
19
+ # * `Array` => `:l`
20
+ # * `String` or `Symbol` or `#to_str` => `:s`
21
+ # * `Numeric` => `:n`
22
+ # * `StringIO` or `IO` => `:b`
23
+ # * `Set<Object>` => `:ss` or `:ns` or `:bs`
24
+ # * `true` or `false` => `:bool`
25
+ # * `nil` => `:null`
26
+ #
27
+ # Members are unmarshalled into the following objects:
28
+ #
29
+ # * `:m` => `Hash`
30
+ # * `:l` => `Array`
31
+ # * `:s` => `String`
32
+ # * `:n` => `BigDecimal`
33
+ # * `:b` => `StringIO`
34
+ # * `:null` => `nil`
35
+ # * `:bool` => `true` or `false`
36
+ # * `:ss` => `Set<String>`
37
+ # * `:ns` => `Set<BigDecimal>`
38
+ # * `:bs` => `Set<StringIO>`
39
+ #
16
40
# ## Input Examples
17
41
#
18
42
# With this plugin **enabled**, `simple_attributes: true`:
@@ -101,6 +125,8 @@ class SimpleAttributes < Seahorse::Client::Plugin
101
125
Disabling this option requires that all attribute values have
102
126
their types specified, e.g. `{ s: 'abc' }` instead of simply
103
127
`'abc'`.
128
+
129
+ See {Aws::DynamoDB::Plugins::SimpleAttributes} for more information.
104
130
DOCS
105
131
) do |config |
106
132
!config . simple_json
You can’t perform that action at this time.
0 commit comments