docs: public void marshall(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate, ProtocolMarshaller protocolMarshaller) {
  
          if (elasticsearchDestinationUpdate == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(elasticsearchDestinationUpdate.getRoleARN(), ROLEARN_BINDING);
              protocolMarshaller.marshall(elasticsearchDestinationUpdate.getDomainARN(), DOMAINARN_BINDING);
              protocolMarshaller.marshall(elasticsearchDestinationUpdate.getIndexName(), INDEXNAME_BINDING);
              protocolMarshaller.marshall(elasticsearchDestinationUpdate.getTypeName(), TYPENAME_BINDING);
              protocolMarshaller.marshall(elasticsearchDestinationUpdate.getIndexRotationPeriod(), INDEXROTATIONPERIOD_BINDING);
              protocolMarshaller.marshall(elasticsearchDestinationUpdate.getBufferingHints(), BUFFERINGHINTS_BINDING);
              protocolMarshaller.marshall(elasticsearchDestinationUpdate.getRetryOptions(), RETRYOPTIONS_BINDING);
              protocolMarshaller.marshall(elasticsearchDestinationUpdate.getS3Update(), S3UPDATE_BINDING);
              protocolMarshaller.marshall(elasticsearchDestinationUpdate.getProcessingConfiguration(), PROCESSINGCONFIGURATION_BINDING);
              protocolMarshaller.marshall(elasticsearchDestinationUpdate.getCloudWatchLoggingOptions(), CLOUDWATCHLOGGINGOPTIONS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }