MCPcopy Create free account
hub / github.com/aws/aws-cli / _serialize

Method _serialize

awscli/botocore/serialize.py:240–253  ·  view source on GitHub ↗
(self, serialized, value, shape, prefix='')

Source from the content-addressed store, hash-verified

238 return serialized
239
240 def _serialize(self, serialized, value, shape, prefix=''):
241 # serialized: The dict that is incrementally added to with the
242 # final serialized parameters.
243 # value: The current user input value.
244 # shape: The shape object that describes the structure of the
245 # input.
246 # prefix: The incrementally built up prefix for the serialized
247 # key (i.e Foo.bar.members.1).
248 method = getattr(
249 self,
250 f'_serialize_type_{shape.type_name}',
251 self._default_serialize,
252 )
253 method(serialized, value, shape, prefix=prefix)
254
255 def _serialize_type_structure(self, serialized, value, shape, prefix=''):
256 members = shape.members

Callers 4

serialize_to_requestMethod · 0.95
_serialize_type_listMethod · 0.95
_serialize_type_mapMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected