/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { InitiateVaultLockResponse response = new InitiateVaultLockResponse(); if (context.ResponseData.IsHeaderPresent("x-amz-lock-id")) response.LockId = context.ResponseData.GetHeaderValue("x-amz-lock-id"); return response; }