code: public void marshall(UpdateDevicePoolRequest updateDevicePoolRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (updateDevicePoolRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(updateDevicePoolRequest.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(updateDevicePoolRequest.getName(), NAME_BINDING);
              protocolMarshaller.marshall(updateDevicePoolRequest.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(updateDevicePoolRequest.getRules(), RULES_BINDING);
              protocolMarshaller.marshall(updateDevicePoolRequest.getMaxDevices(), MAXDEVICES_BINDING);
              protocolMarshaller.marshall(updateDevicePoolRequest.getClearMaxDevices(), CLEARMAXDEVICES_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.