code: public void marshall(GetDashboardEmbedUrlRequest getDashboardEmbedUrlRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (getDashboardEmbedUrlRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(getDashboardEmbedUrlRequest.getAwsAccountId(), AWSACCOUNTID_BINDING);
              protocolMarshaller.marshall(getDashboardEmbedUrlRequest.getDashboardId(), DASHBOARDID_BINDING);
              protocolMarshaller.marshall(getDashboardEmbedUrlRequest.getIdentityType(), IDENTITYTYPE_BINDING);
              protocolMarshaller.marshall(getDashboardEmbedUrlRequest.getSessionLifetimeInMinutes(), SESSIONLIFETIMEINMINUTES_BINDING);
              protocolMarshaller.marshall(getDashboardEmbedUrlRequest.getUndoRedoDisabled(), UNDOREDODISABLED_BINDING);
              protocolMarshaller.marshall(getDashboardEmbedUrlRequest.getResetDisabled(), RESETDISABLED_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.