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