code: public void marshall(S3DestinationConfiguration s3DestinationConfiguration, ProtocolMarshaller protocolMarshaller) {
  
          if (s3DestinationConfiguration == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(s3DestinationConfiguration.getRoleARN(), ROLEARN_BINDING);
              protocolMarshaller.marshall(s3DestinationConfiguration.getBucketARN(), BUCKETARN_BINDING);
              protocolMarshaller.marshall(s3DestinationConfiguration.getPrefix(), PREFIX_BINDING);
              protocolMarshaller.marshall(s3DestinationConfiguration.getErrorOutputPrefix(), ERROROUTPUTPREFIX_BINDING);
              protocolMarshaller.marshall(s3DestinationConfiguration.getBufferingHints(), BUFFERINGHINTS_BINDING);
              protocolMarshaller.marshall(s3DestinationConfiguration.getCompressionFormat(), COMPRESSIONFORMAT_BINDING);
              protocolMarshaller.marshall(s3DestinationConfiguration.getEncryptionConfiguration(), ENCRYPTIONCONFIGURATION_BINDING);
              protocolMarshaller.marshall(s3DestinationConfiguration.getCloudWatchLoggingOptions(), CLOUDWATCHLOGGINGOPTIONS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.