public Request<GetTranscriptionJobRequest> marshall(GetTranscriptionJobRequest getTranscriptionJobRequest) { if (getTranscriptionJobRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { final ProtocolRequestMarshaller<GetTranscriptionJobRequest> protocolMarshaller = protocolFactory.createProtocolMarshaller(SDK_OPERATION_BINDING, getTranscriptionJobRequest); protocolMarshaller.startMarshalling(); GetTranscriptionJobRequestMarshaller.getInstance().marshall(getTranscriptionJobRequest, protocolMarshaller); return protocolMarshaller.finishMarshalling(); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetTranscriptionJobRequestMarshaller() .marshall(getTranscriptionJobRequest);