docs: public void marshall(Stack stack, ProtocolMarshaller protocolMarshaller) {
  
          if (stack == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(stack.getStackId(), STACKID_BINDING);
              protocolMarshaller.marshall(stack.getName(), NAME_BINDING);
              protocolMarshaller.marshall(stack.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(stack.getRegion(), REGION_BINDING);
              protocolMarshaller.marshall(stack.getVpcId(), VPCID_BINDING);
              protocolMarshaller.marshall(stack.getAttributes(), ATTRIBUTES_BINDING);
              protocolMarshaller.marshall(stack.getServiceRoleArn(), SERVICEROLEARN_BINDING);
              protocolMarshaller.marshall(stack.getDefaultInstanceProfileArn(), DEFAULTINSTANCEPROFILEARN_BINDING);
              protocolMarshaller.marshall(stack.getDefaultOs(), DEFAULTOS_BINDING);
              protocolMarshaller.marshall(stack.getHostnameTheme(), HOSTNAMETHEME_BINDING);
              protocolMarshaller.marshall(stack.getDefaultAvailabilityZone(), DEFAULTAVAILABILITYZONE_BINDING);
              protocolMarshaller.marshall(stack.getDefaultSubnetId(), DEFAULTSUBNETID_BINDING);
              protocolMarshaller.marshall(stack.getCustomJson(), CUSTOMJSON_BINDING);
              protocolMarshaller.marshall(stack.getConfigurationManager(), CONFIGURATIONMANAGER_BINDING);
              protocolMarshaller.marshall(stack.getChefConfiguration(), CHEFCONFIGURATION_BINDING);
              protocolMarshaller.marshall(stack.getUseCustomCookbooks(), USECUSTOMCOOKBOOKS_BINDING);
              protocolMarshaller.marshall(stack.getUseOpsworksSecurityGroups(), USEOPSWORKSSECURITYGROUPS_BINDING);
              protocolMarshaller.marshall(stack.getCustomCookbooksSource(), CUSTOMCOOKBOOKSSOURCE_BINDING);
              protocolMarshaller.marshall(stack.getDefaultSshKeyName(), DEFAULTSSHKEYNAME_BINDING);
              protocolMarshaller.marshall(stack.getCreatedAt(), CREATEDAT_BINDING);
              protocolMarshaller.marshall(stack.getDefaultRootDeviceType(), DEFAULTROOTDEVICETYPE_BINDING);
              protocolMarshaller.marshall(stack.getAgentVersion(), AGENTVERSION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }