回答編集履歴
1
ソースの修正
test
CHANGED
@@ -124,4 +124,106 @@
|
|
124
124
|
|
125
125
|
print(json.dumps(create_put_item(event), indent=4))
|
126
126
|
|
127
|
+
'''
|
128
|
+
|
129
|
+
{
|
130
|
+
|
131
|
+
"TableName": "frend",
|
132
|
+
|
133
|
+
"Item": [
|
134
|
+
|
135
|
+
{
|
136
|
+
|
137
|
+
"name": {
|
138
|
+
|
139
|
+
"S": "boyfrend"
|
140
|
+
|
141
|
+
},
|
142
|
+
|
143
|
+
"frendname": {
|
144
|
+
|
145
|
+
"S": "Tom"
|
146
|
+
|
147
|
+
},
|
148
|
+
|
149
|
+
"age": {
|
150
|
+
|
151
|
+
"S": "18"
|
152
|
+
|
153
|
+
}
|
154
|
+
|
155
|
+
},
|
156
|
+
|
157
|
+
{
|
158
|
+
|
159
|
+
"name": {
|
160
|
+
|
161
|
+
"S": "boyfrend"
|
162
|
+
|
163
|
+
},
|
164
|
+
|
165
|
+
"frendname": {
|
166
|
+
|
167
|
+
"S": "Takashi"
|
168
|
+
|
169
|
+
},
|
170
|
+
|
171
|
+
"age": {
|
172
|
+
|
173
|
+
"S": "18"
|
174
|
+
|
175
|
+
}
|
176
|
+
|
177
|
+
},
|
178
|
+
|
179
|
+
{
|
180
|
+
|
181
|
+
"name": {
|
182
|
+
|
183
|
+
"S": "girlfrend"
|
184
|
+
|
185
|
+
},
|
186
|
+
|
187
|
+
"frendname": {
|
188
|
+
|
189
|
+
"S": "mari"
|
190
|
+
|
191
|
+
},
|
192
|
+
|
193
|
+
"age": {
|
194
|
+
|
195
|
+
"S": "18"
|
196
|
+
|
197
|
+
}
|
198
|
+
|
199
|
+
},
|
200
|
+
|
201
|
+
{
|
202
|
+
|
203
|
+
"name": {
|
204
|
+
|
205
|
+
"S": "girlfrend"
|
206
|
+
|
207
|
+
},
|
208
|
+
|
209
|
+
"frendname": {
|
210
|
+
|
211
|
+
"S": "yuki"
|
212
|
+
|
213
|
+
},
|
214
|
+
|
215
|
+
"age": {
|
216
|
+
|
217
|
+
"S": "18"
|
218
|
+
|
219
|
+
}
|
220
|
+
|
221
|
+
}
|
222
|
+
|
223
|
+
]
|
224
|
+
|
225
|
+
}
|
226
|
+
|
227
|
+
'''
|
228
|
+
|
127
229
|
```
|