docs: public void marshall(Resource resource, ProtocolMarshaller protocolMarshaller) {
  
          if (resource == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(resource.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(resource.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(resource.getResourceShareArn(), RESOURCESHAREARN_BINDING);
              protocolMarshaller.marshall(resource.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(resource.getStatusMessage(), STATUSMESSAGE_BINDING);
              protocolMarshaller.marshall(resource.getCreationTime(), CREATIONTIME_BINDING);
              protocolMarshaller.marshall(resource.getLastUpdatedTime(), LASTUPDATEDTIME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }