Some protocols require a specific body to represent an empty payload. This allows subclasses to apply this conditionally.
(self, shape)
| 855 | pass |
| 856 | |
| 857 | def _requires_empty_body(self, shape): |
| 858 | """ |
| 859 | Some protocols require a specific body to represent an empty |
| 860 | payload. This allows subclasses to apply this conditionally. |
| 861 | """ |
| 862 | return False |
| 863 | |
| 864 | def _has_streaming_payload(self, payload, shape_members): |
| 865 | """Determine if payload is streaming (a blob or string).""" |