class Aws::RestBodyHandler
def build_body(context)
def build_body(context) input = context.operation.input case when input.nil? nil when streaming?(input) context.params[input.payload] when input.payload if params = context.params[input.payload] serialize_params(input.payload_member, params) end else params = body_params(input, context.params) serialize_params(input, params) unless params.empty? end end