BaseResponseUnmarshaller GetStructureUnmarshaller()
{
switch (this.Configuration.ServiceModel.Type)
{
case ServiceType.Rest_Json:
case ServiceType.Json:
return new JsonRPCStructureUnmarshaller();
case ServiceType.Query:
return new AWSQueryStructureUnmarshaller();
case ServiceType.Rest_Xml:
return new RestXmlStructureUnmarshaller();
default:
throw new Exception("No structure unmarshaller for service type: " + this.Configuration.ServiceModel.Type);
}
}