code: public void marshall(UpdateInputRequest updateInputRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (updateInputRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(updateInputRequest.getDestinations(), DESTINATIONS_BINDING);
              protocolMarshaller.marshall(updateInputRequest.getInputId(), INPUTID_BINDING);
              protocolMarshaller.marshall(updateInputRequest.getInputSecurityGroups(), INPUTSECURITYGROUPS_BINDING);
              protocolMarshaller.marshall(updateInputRequest.getMediaConnectFlows(), MEDIACONNECTFLOWS_BINDING);
              protocolMarshaller.marshall(updateInputRequest.getName(), NAME_BINDING);
              protocolMarshaller.marshall(updateInputRequest.getRoleArn(), ROLEARN_BINDING);
              protocolMarshaller.marshall(updateInputRequest.getSources(), SOURCES_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.