code: public void marshall(UpdateProfileRequest updateProfileRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (updateProfileRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(updateProfileRequest.getProfileArn(), PROFILEARN_BINDING);
              protocolMarshaller.marshall(updateProfileRequest.getProfileName(), PROFILENAME_BINDING);
              protocolMarshaller.marshall(updateProfileRequest.getIsDefault(), ISDEFAULT_BINDING);
              protocolMarshaller.marshall(updateProfileRequest.getTimezone(), TIMEZONE_BINDING);
              protocolMarshaller.marshall(updateProfileRequest.getAddress(), ADDRESS_BINDING);
              protocolMarshaller.marshall(updateProfileRequest.getDistanceUnit(), DISTANCEUNIT_BINDING);
              protocolMarshaller.marshall(updateProfileRequest.getTemperatureUnit(), TEMPERATUREUNIT_BINDING);
              protocolMarshaller.marshall(updateProfileRequest.getWakeWord(), WAKEWORD_BINDING);
              protocolMarshaller.marshall(updateProfileRequest.getSetupModeDisabled(), SETUPMODEDISABLED_BINDING);
              protocolMarshaller.marshall(updateProfileRequest.getMaxVolumeLimit(), MAXVOLUMELIMIT_BINDING);
              protocolMarshaller.marshall(updateProfileRequest.getPSTNEnabled(), PSTNENABLED_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.